1. 16 Jan, 2003 4 commits
    • Kai Germaschewski's avatar
      kbuild: kallsyms cleanup · 89f97c42
      Kai Germaschewski authored
      There's no need to alias the kallsyms-related symbols to a dummy
      variable, we can as well just do the sanity check against NULL.
      89f97c42
    • Kai Germaschewski's avatar
      kbuild: Make asm-generic/vmlinux.lds.h usable for IA-64 · 8db9d338
      Kai Germaschewski authored
        Allow for different LMA vs VMA (logical/virtual memory address).
        IA-64 uses the LMA to tell the bootloader the physical location
        of the image, whereas the VMA as always represents the address the
        image gets mapped to.
        
        The default (used for non IA-64) is LMA == VMA, which is what
        the linker previously assumed anyway.
        
      Also:
      o remove duplicate .rodata1 section
      o __vermagic doesn't need its own section in vmlinux, it can
        just go into .rodata
      o .kstrtab hasn't been used since the introduction of the new
        module loader, so it should be deleted from the linker scripts
        as well (except for arch/um, which does not seem up to date
        w.r.t the new module loader yet)
      o The kallsyms mechanism has changed to not need its own section,
        so again the references in the linker scripts can go away
      8db9d338
    • Kai Germaschewski's avatar
      kbuild/modules: Save space on symbol list · 7bf6b27c
      Kai Germaschewski authored
      The current code reserves 60 bytes for the symbol string of every
      exported symbol, unnecessarily wasting kernel memory since most symbols
      are much shorter. We revert to the 2.4 solution where the actual strings
      are saved out of line and only the pointers are kept.
      
      The latest module-init-tools already handle this case, people who are
      using older versions need to update to make sure depmod works
      properly.
      
      Saves 80 KB in vmlinux with my .config.
      7bf6b27c
    • Kai Germaschewski's avatar
      kbuild: fix broken kallsyms on non-x86 archs · 11aa9341
      Kai Germaschewski authored
      From: James Bottomley <James.Bottomley@steeleye.com>
        
      kallsyms is broken in parisc on 2.5.56 again because of assembler syntax
      subtleties.  This is the offending line:
        
      printf("\t.byte 0x%02x ; .asciz\t\"%s\"\n"
        
      Note the `;' separating the two statements.  On some platforms `;' is a
      comment in assembly code, and thus the following .asciz is ignored.
      11aa9341
  2. 15 Jan, 2003 9 commits
  3. 17 Jan, 2003 4 commits
  4. 16 Jan, 2003 1 commit
  5. 15 Jan, 2003 22 commits