1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-20 15:43:16 +00:00

Add support to crunchide for handling AArch64 (arm64) ELF files.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Andrew Turner 2015-01-06 20:10:42 +00:00
parent 2ce1242309
commit 5667872e2f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276764

View File

@ -174,6 +174,10 @@ ELFNAMEEND(check)(int fd, const char *fn)
switch (xe16toh(eh.e_machine)) {
case EM_386: break;
case EM_ALPHA: break;
#ifndef EM_AARCH64
#define EM_AARCH64 183
#endif
case EM_AARCH64: break;
#ifndef EM_ARM
#define EM_ARM 40
#endif