On arm, set the default elf brand to FreeBSD, until the binutils do it for us.
This commit is contained in:
parent
9e3a79d517
commit
e0370a187c
@ -82,7 +82,11 @@ 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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user