diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2001-01-01 21:56:57 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-01-01 21:56:57 +0000 |
commit | 68a2ed01fd075239be40735b2b094475182d1138 (patch) | |
tree | 39c1ab965b664c714df86e6c8b2ddc5519e196c5 /sys/sys/elf_common.h | |
parent | a0ff0188c20c055cc56a82fc47f9a324b6efb8ed (diff) | |
download | src-68a2ed01fd075239be40735b2b094475182d1138.tar.gz src-68a2ed01fd075239be40735b2b094475182d1138.zip |
Update the e_machine values to include x86-64, PowerPC and [Strong]ARM;
and fix the Sparc values. Also update the ELFOSABI list while I'm here.
Notes
Notes:
svn path=/head/; revision=70567
Diffstat (limited to 'sys/sys/elf_common.h')
-rw-r--r-- | sys/sys/elf_common.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h index 43b58b786274..e7db690c99a6 100644 --- a/sys/sys/elf_common.h +++ b/sys/sys/elf_common.h @@ -95,6 +95,8 @@ typedef struct { #define ELFOSABI_IRIX 8 /* IRIX */ #define ELFOSABI_FREEBSD 9 /* FreeBSD */ #define ELFOSABI_TRU64 10 /* TRU64 UNIX */ +#define ELFOSABI_MODESTO 11 /* Novell Modesto */ +#define ELFOSABI_OPENBSD 12 /* OpenBSD */ #define ELFOSABI_ARM 97 /* ARM */ #define ELFOSABI_STANDALONE 255 /* Standalone (embedded) application */ @@ -122,13 +124,18 @@ typedef struct { #define EM_860 7 /* Intel i860. */ #define EM_MIPS 8 /* MIPS R3000 Big-Endian only */ -/* Extensions */ -#define EM_MIPS_RS4_BE 10 /* MIPS R4000 Big-Endian */ -#define EM_SPARC64 11 /* SPARC v9 64-bit unoffical */ +/* Extensions. This list is not complete. */ +#define EM_S370 9 /* IBM System/370 */ +#define EM_MIPS_RS4_BE 10 /* MIPS R4000 Big-Endian */ /* Depreciated */ #define EM_PARISC 15 /* HPPA */ -#define EM_PPC 20 /* PowerPC */ +#define EM_SPARC32PLUS 18 /* SPARC v8plus */ +#define EM_PPC 20 /* PowerPC 32-bit */ +#define EM_PPC64 21 /* PowerPC 64-bit */ +#define EM_ARM 40 /* ARM */ +#define EM_SPARCV9 43 /* SPARC v9 64-bit */ #define EM_IA_64 50 /* Intel IA-46 Processor */ -#define EM_ALPHA 0x9026 /* Alpha */ +#define EM_X86_64 62 /* Advanced Micro Devices x86-64 */ +#define EM_ALPHA 0x9026 /* Alpha (written in the absence of an ABI */ /* Special section indexes. */ #define SHN_UNDEF 0 /* Undefined, missing, irrelevant. */ |