crunchide: Restore local EM_AARCH64 constant for bootstrapping

Most of the EM_* constants are available in all supported host branches,
but EM_AARCH64 was added relatively recently. Add it back to fix
building HEAD on 10.x.

Noticed by:	adrian, jmallett
This commit is contained in:
Ed Maste 2015-04-30 23:48:05 +00:00
parent e845dfe9bf
commit 66137b66a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282291

View File

@ -178,6 +178,9 @@ 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;
case EM_ARM: break;
case EM_MIPS: break;