summaryrefslogtreecommitdiffstats
path: root/sys/kern/imgact_elf.c
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2005-05-24 22:21:44 +0000
committercognet <cognet@FreeBSD.org>2005-05-24 22:21:44 +0000
commit9bcd47137c7156356e0688f42e92aaaa24e1f9e4 (patch)
treef3cf257d2c9db0ecec77d7533e4cdb774adc070a /sys/kern/imgact_elf.c
parentc29fa0b7e542d787931812239f21727e0ff423c4 (diff)
downloadFreeBSD-src-9bcd47137c7156356e0688f42e92aaaa24e1f9e4.zip
FreeBSD-src-9bcd47137c7156356e0688f42e92aaaa24e1f9e4.tar.gz
Don't set the default of kern.fallback_elf_brand to FreeBSD for arm, as
binutils now do the job for us
Diffstat (limited to 'sys/kern/imgact_elf.c')
-rw-r--r--sys/kern/imgact_elf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c
index c81bbb9..9f46c97 100644
--- a/sys/kern/imgact_elf.c
+++ b/sys/kern/imgact_elf.c
@@ -82,11 +82,7 @@ static int __CONCAT(exec_, __elfN(imgact))(struct image_params *imgp);
SYSCTL_NODE(_kern, OID_AUTO, __CONCAT(elf, __ELF_WORD_SIZE), CTLFLAG_RW, 0,
"");
-#ifdef __arm__
-int __elfN(fallback_brand) = 9;
-#else
int __elfN(fallback_brand) = -1;
-#endif
SYSCTL_INT(__CONCAT(_kern_elf, __ELF_WORD_SIZE), OID_AUTO,
fallback_brand, CTLFLAG_RW, &__elfN(fallback_brand), 0,
__XSTRING(__CONCAT(ELF, __ELF_WORD_SIZE)) " brand of last resort");
OpenPOWER on IntegriCloud