summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/Makefile.inc
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2004-08-29 00:48:42 +0000
committeriedowse <iedowse@FreeBSD.org>2004-08-29 00:48:42 +0000
commit0d52a8d8ca171566ed4578aaf8dd3343be846472 (patch)
treed04731906dfe0de532e3945f9198eb4997fa6836 /sys/boot/common/Makefile.inc
parent95dd728f5ca86b8ad7346a25bb7375eac27169e9 (diff)
downloadFreeBSD-src-0d52a8d8ca171566ed4578aaf8dd3343be846472.zip
FreeBSD-src-0d52a8d8ca171566ed4578aaf8dd3343be846472.tar.gz
Add the loader side of support for preloading ELF relocatable object
format modules, which are currently only used on the amd64 platform. This initial implementation just parses enough of the module to allow it to extract dependencies and load all the bits into the right place in memory, so the kernel must still do the full relocation and linking. The details of the loaded sections are passed to the kernel by supplying a copy of the ELF section header table as module metadata with the MODINFOMD_SHDR tag.
Diffstat (limited to 'sys/boot/common/Makefile.inc')
-rw-r--r--sys/boot/common/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/common/Makefile.inc b/sys/boot/common/Makefile.inc
index 945a1a7..4a67376 100644
--- a/sys/boot/common/Makefile.inc
+++ b/sys/boot/common/Makefile.inc
@@ -5,7 +5,7 @@ SRCS+= interp_backslash.c interp_parse.c ls.c misc.c
SRCS+= module.c panic.c
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
-SRCS+= load_elf32.c load_elf64.c
+SRCS+= load_elf32.c load_elf32_obj.c load_elf64.c load_elf64_obj.c
SRCS+= reloc_elf32.c reloc_elf64.c
.endif
.if ${MACHINE_ARCH} == "powerpc"
OpenPOWER on IntegriCloud