summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2003-01-04 22:07:48 +0000
committerjake <jake@FreeBSD.org>2003-01-04 22:07:48 +0000
commita307536f906cea2e4ba4d10d51b320520f1a30c1 (patch)
tree343968325cabcf3b367593c41e6e0ce573592013 /sys/conf
parentfdbb382f1cbb42ab486d1f7812f0f78c0317b799 (diff)
downloadFreeBSD-src-a307536f906cea2e4ba4d10d51b320520f1a30c1.zip
FreeBSD-src-a307536f906cea2e4ba4d10d51b320520f1a30c1.tar.gz
Improve the way that an elf image activator for an alternate word size is
included in the kernel. Include imgact_elf.c in conf/files, instead of both imgact_elf32.c and imgact_elf64.c, which will use the default word size for an architecture as defined in machine/elf.h. Architectures that wish to build an additional image activator for an alternate word size can include either imgact_elf32.c or imgact_elf64.c in files.${ARCH}, which allows it to be dependent on MD options instead of solely on architecture. Glanced at by: peter
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files4
-rw-r--r--sys/conf/files.ia641
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 61a9221..99e6c5d 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -966,9 +966,7 @@ isofs/cd9660/cd9660_rrip.c optional cd9660
isofs/cd9660/cd9660_util.c optional cd9660
isofs/cd9660/cd9660_vfsops.c optional cd9660
isofs/cd9660/cd9660_vnops.c optional cd9660
-kern/imgact_elf32.c standard
-kern/imgact_elf64.c standard
-kern/imgact_elfN.c standard
+kern/imgact_elf.c standard
kern/imgact_shell.c standard
kern/inflate.c optional gzip
kern/init_main.c standard
diff --git a/sys/conf/files.ia64 b/sys/conf/files.ia64
index 3e50191..e3417eb 100644
--- a/sys/conf/files.ia64
+++ b/sys/conf/files.ia64
@@ -109,6 +109,7 @@ isa/ppc.c optional ppc
isa/psm.c optional psm
isa/syscons_isa.c optional sc
isa/vga_isa.c optional vga
+kern/imgact_elf32.c optional ia32
kern/subr_diskmbr.c standard
libkern/ia64/bswap16.S standard
libkern/ia64/bswap32.S standard
OpenPOWER on IntegriCloud