Add AMD64 support.
This commit is contained in:
parent
49d5015da8
commit
8e81109e14
@ -11,7 +11,7 @@ SRCS+= exec_aout.c
|
||||
.endif
|
||||
|
||||
.if ${TARGET_ARCH} == alpha || ${TARGET_ARCH} == ia64 || \
|
||||
${TARGET_ARCH} == sparc64
|
||||
${TARGET_ARCH} == sparc64 || ${TARGET_ARCH} == amd64
|
||||
CFLAGS+=-DNLIST_ELF64
|
||||
SRCS+= exec_elf64.c
|
||||
exec_elf64.o: exec_elf32.c
|
||||
|
@ -164,6 +164,10 @@ ELFNAMEEND(check)(int fd, const char *fn)
|
||||
#define EM_SPARCV9 43
|
||||
#endif
|
||||
case EM_SPARCV9: break;
|
||||
#ifndef EM_X86_64
|
||||
#define EM_X86_64 62
|
||||
#endif
|
||||
case EM_X86_64: break;
|
||||
/* ELFDEFNNAME(MACHDEP_ID_CASES) */
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user