Date: Sat, 28 Aug 2004 23:03:05 +0000 (UTC) From: Ian Dowse <iedowse@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/common Makefile.inc bootstrap.h load_elf.c reloc_elf.c reloc_elf32.c reloc_elf64.c Message-ID: <200408282303.i7SN35FI025253@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408282303.i7SN35FI025253>