diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-07-10 22:06:51 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-07-10 22:06:51 +0000 |
commit | 589ff2378cad2b5b2e1664e13571747b67a5dd02 (patch) | |
tree | d2fd812a8008998b43c2678f2a13c9a6770cb72a /usr.sbin/crunch/crunchide/exec_elf32.c | |
parent | 8de20561d12d5af97aef21a7f381219089f823c0 (diff) | |
download | FreeBSD-src-589ff2378cad2b5b2e1664e13571747b67a5dd02.zip FreeBSD-src-589ff2378cad2b5b2e1664e13571747b67a5dd02.tar.gz |
Teach crunchide(1) about PPC ELF64.
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 1081ad8..ed84fc4 100644 --- a/usr.sbin/crunch/crunchide/exec_elf32.c +++ b/usr.sbin/crunch/crunchide/exec_elf32.c @@ -176,6 +176,10 @@ ELFNAMEEND(check)(int fd, const char *fn) #define EM_PPC 20 #endif case EM_PPC: break; +#ifndef EM_PPC64 +#define EM_PPC64 21 +#endif + case EM_PPC64: break; #ifndef EM_SPARCV9 #define EM_SPARCV9 43 #endif |