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

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