Add AMD64 support.

This commit is contained in:
Peter Wemm 2003-06-03 01:37:32 +00:00
parent 49d5015da8
commit 8e81109e14
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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: