cvs commit: src/sys/boot/common Makefile.inc bootstrap.h load_elf.c reloc_elf.c reloc_elf32.c reloc_elf64.c

Ian Dowse iedowse at FreeBSD.org
Sat Aug 28 16:03:06 PDT 2004


iedowse     2004-08-28 23:03:05 UTC

  FreeBSD src repository

  Modified files:
    sys/boot/common      Makefile.inc bootstrap.h load_elf.c 
  Added files:
    sys/boot/common      reloc_elf.c reloc_elf32.c reloc_elf64.c 
  Log:
  Separate out the ELF relocation code from the ELF loader, and add
  better relocation support for the amd64 and i386 platforms. This
  should not result in any change in functionality, but moves a step
  towards supporting the relocatable object file modules on amd64.
  
  The same hack/trick as load_elf*.c uses is used here to simultaneously
  support both elf32 and elf64 on amd64 and i386.
  
  Revision  Changes    Path
  1.18      +3 -2      src/sys/boot/common/Makefile.inc
  1.40      +10 -0     src/sys/boot/common/bootstrap.h
  1.32      +70 -33    src/sys/boot/common/load_elf.c
  1.1       +199 -0    src/sys/boot/common/reloc_elf.c (new)
  1.1       +6 -0      src/sys/boot/common/reloc_elf32.c (new)
  1.1       +6 -0      src/sys/boot/common/reloc_elf64.c (new)


More information about the cvs-src mailing list