1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00

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.
This commit is contained in:
Peter Wemm 2001-09-02 12:23:08 +00:00
parent 02de199140
commit ef4181d98e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82789

View File

@ -458,7 +458,11 @@ elf_load_file(struct proc *p, const char *file, u_long *addr, u_long *entry)
/*
* 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");