diff options
author | obrien <obrien@FreeBSD.org> | 2008-09-03 16:21:28 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2008-09-03 16:21:28 +0000 |
commit | 96ab9f7e27219a4c78c8ea714fe01b029d3c3abf (patch) | |
tree | cbc09a125a4e25a5a655313fdb18c13c80fa2f39 /usr.sbin/crunch/crunchide/exec_elf32.c | |
parent | f2f831ec34bac2f429c2d4f0cca67bd7a0e549d8 (diff) | |
download | FreeBSD-src-96ab9f7e27219a4c78c8ea714fe01b029d3c3abf.zip FreeBSD-src-96ab9f7e27219a4c78c8ea714fe01b029d3c3abf.tar.gz |
Introduce crunchide to the ELF e_machine MIPS values.
Diffstat (limited to 'usr.sbin/crunch/crunchide/exec_elf32.c')
-rw-r--r-- | usr.sbin/crunch/crunchide/exec_elf32.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/crunch/crunchide/exec_elf32.c b/usr.sbin/crunch/crunchide/exec_elf32.c index 25207d2..1081ad8 100644 --- a/usr.sbin/crunch/crunchide/exec_elf32.c +++ b/usr.sbin/crunch/crunchide/exec_elf32.c @@ -160,6 +160,14 @@ ELFNAMEEND(check)(int fd, const char *fn) #define EM_ARM 40 #endif case EM_ARM: break; +#ifndef EM_MIPS +#define EM_MIPS 8 +#endif +#ifndef EM_MIPS_RS4_BE /* same as EM_MIPS_RS3_LE */ +#define EM_MIPS_RS4_BE 10 +#endif + case EM_MIPS: break; + case /* EM_MIPS_RS3_LE */ EM_MIPS_RS4_BE: break; #ifndef EM_IA_64 #define EM_IA_64 50 #endif |