• 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
vmlinux.lds.h 924 Bytes