1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00

Remove support for being compiled under OABI. We don't support that

any more, so this is just dead code.

Differential Revision: https://reviews.freebsd.org/D2419
This commit is contained in:
Warner Losh 2015-05-02 03:01:03 +00:00
parent 93c9677b94
commit 3fd9c15ab5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282334

View File

@ -105,7 +105,6 @@ elf32_arm_abi_supported(struct image_params *imgp)
{
const Elf_Ehdr *hdr = (const Elf_Ehdr *)imgp->image_header;
#ifdef __ARM_EABI__
/*
* When configured for EABI, FreeBSD supports EABI vesions 4 and 5.
*/
@ -115,17 +114,6 @@ elf32_arm_abi_supported(struct image_params *imgp)
EF_ARM_EABI_VERSION(hdr->e_flags), imgp->args->fname);
return (FALSE);
}
#else
/*
* When configured for OABI, that's all we do, so reject EABI binaries.
*/
if (EF_ARM_EABI_VERSION(hdr->e_flags) != EF_ARM_EABI_VERSION_UNKNOWN) {
if (bootverbose)
uprintf("Attempting to execute EABI binary (rev %d) image %s",
EF_ARM_EABI_VERSION(hdr->e_flags), imgp->args->fname);
return (FALSE);
}
#endif
return (TRUE);
}