From f685acc2680dd4c763e317926cc1aa6571820518 Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 2 Sep 2001 12:23:08 +0000 Subject: For ia64, set the default elf brand to be FreeBSD. This is temporarily necessary only for as long as we're using a linux toolchain. --- sys/kern/imgact_elf.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys') diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index 031520f..6157650 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -458,7 +458,11 @@ fail: /* * non static, as it can be overridden by start_init() */ +#ifdef __ia64__ +int fallback_elf_brand = ELFOSABI_FREEBSD; +#else int fallback_elf_brand = -1; +#endif SYSCTL_INT(_kern, OID_AUTO, fallback_elf_brand, CTLFLAG_RW, &fallback_elf_brand, -1, "ELF brand of last resort"); -- cgit v1.1