Tell crunchide to deal with arm elf binaries as well.

Rescue can now be built for arm.
This commit is contained in:
Olivier Houchard 2004-06-06 16:01:36 +00:00
parent bed16055e7
commit ed575be468
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130155

View File

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