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:
parent
2ce1242309
commit
5667872e2f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276764
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user