Teach crunchide(1) about PPC ELF64.
This commit is contained in:
parent
6dcc706bc5
commit
8a10bad25e
@ -10,7 +10,7 @@ CFLAGS+=-DNLIST_AOUT
|
||||
SRCS+= exec_aout.c
|
||||
.endif
|
||||
|
||||
.if ${TARGET_ARCH} == ia64 || \
|
||||
.if ${TARGET_ARCH} == ia64 || ${TARGET_ARCH} == powerpc64 || \
|
||||
${TARGET_ARCH} == sparc64 || ${TARGET_ARCH} == amd64
|
||||
CFLAGS+=-DNLIST_ELF64
|
||||
SRCS+= exec_elf64.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
|
||||
|
Loading…
Reference in New Issue
Block a user