diff options
author | obrien <obrien@FreeBSD.org> | 2003-07-22 00:19:40 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-07-22 00:19:40 +0000 |
commit | ba36ddb07d75f5227ec82f0bdff03f40de79b482 (patch) | |
tree | 7234af463facd1c48ad7094893a143ea5614167c /usr.sbin/crunch/crunchide/exec_elf32.c | |
parent | f362d83f28aa785a737e4c9d9958d7dddfc4f37e (diff) | |
download | FreeBSD-src-ba36ddb07d75f5227ec82f0bdff03f40de79b482.zip FreeBSD-src-ba36ddb07d75f5227ec82f0bdff03f40de79b482.tar.gz |
Teach crunchide(1) about PowerPC ELF.
PR: 54526
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
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 950d557..363dd0c 100644 --- a/usr.sbin/crunch/crunchide/exec_elf32.c +++ b/usr.sbin/crunch/crunchide/exec_elf32.c @@ -160,6 +160,10 @@ ELFNAMEEND(check)(int fd, const char *fn) #define EM_IA_64 50 #endif case EM_IA_64: break; +#ifndef EM_PPC +#define EM_PPC 20 +#endif + case EM_PPC: break; #ifndef EM_SPARCV9 #define EM_SPARCV9 43 #endif |