diff options
author | cognet <cognet@FreeBSD.org> | 2004-06-06 16:01:36 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2004-06-06 16:01:36 +0000 |
commit | b8f049c42bbd06586a1eca9429a26eafdcbe0f85 (patch) | |
tree | 4da392debca27400018b304b76d89d1e3bf61861 /usr.sbin/crunch/crunchide/exec_elf32.c | |
parent | 4d005d5de6afd2749db13555889d766937dde7b5 (diff) | |
download | FreeBSD-src-b8f049c42bbd06586a1eca9429a26eafdcbe0f85.zip FreeBSD-src-b8f049c42bbd06586a1eca9429a26eafdcbe0f85.tar.gz |
Tell crunchide to deal with arm elf binaries as well.
Rescue can now be built for arm.
Diffstat (limited to 'usr.sbin/crunch/crunchide/exec_elf32.c')
-rw-r--r-- | usr.sbin/crunch/crunchide/exec_elf32.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/crunch/crunchide/exec_elf32.c b/usr.sbin/crunch/crunchide/exec_elf32.c index 72dbdc9..5558b1c 100644 --- a/usr.sbin/crunch/crunchide/exec_elf32.c +++ b/usr.sbin/crunch/crunchide/exec_elf32.c @@ -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 |