diff options
author | Matt Fleming <matt@console-pimps.org> | 2010-07-06 18:36:57 +0000 |
---|---|---|
committer | Matt Fleming <matt@console-pimps.org> | 2010-07-06 18:36:57 +0000 |
commit | e07cc5dab102c0f8c3f66c2703c95e547d6bf1c6 (patch) | |
tree | fa68ec38423101d2a640d935ff4abbec6ced4635 /include | |
parent | 894339e19fbb45a729008decd1d050ee518589a4 (diff) | |
download | external_llvm-e07cc5dab102c0f8c3f66c2703c95e547d6bf1c6.zip external_llvm-e07cc5dab102c0f8c3f66c2703c95e547d6bf1c6.tar.gz external_llvm-e07cc5dab102c0f8c3f66c2703c95e547d6bf1c6.tar.bz2 |
Add some more ELF OSABI values as found in the System V Application
Binary Interface specification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/ELF.h | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h index d09db39..b3d10e9 100644 --- a/include/llvm/Support/ELF.h +++ b/include/llvm/Support/ELF.h @@ -135,9 +135,28 @@ enum { ELFDATA2MSB = 2 // Big-endian object file }; -// OS ABI identification -- unused. +// OS ABI identification. enum { - ELFOSABI_NONE = 0 + ELFOSABI_NONE = 0, // UNIX System V ABI + ELFOSABI_HPUX = 1, // HP-UX operating system + ELFOSABI_NETBSD = 2, // NetBSD + ELFOSABI_LINUX = 3, // GNU/Linux + ELFOSABI_HURD = 4, // GNU/Hurd + ELFOSABI_SOLARIS = 6, // Solaris + ELFOSABI_AIX = 7, // AIX + ELFOSABI_IRIX = 8, // IRIX + ELFOSABI_FREEBSD = 9, // FreeBSD + ELFOSABI_TRU64 = 10, // TRU64 UNIX + ELFOSABI_MODESTO = 11, // Novell Modesto + ELFOSABI_OPENBSD = 12, // OpenBSD + ELFOSABI_OPENVMS = 13, // OpenVMS + ELFOSABI_NSK = 14, // Hewlett-Packard Non-Stop Kernel + ELFOSABI_AROS = 15, // AROS + ELFOSABI_FENIXOS = 16, // FenixOS + ELFOSABI_C6000_ELFABI = 64, // Bare-metal TMS320C6000 + ELFOSABI_C6000_LINUX = 65, // Linux TMS320C6000 + ELFOSABI_ARM = 97, // ARM + ELFOSABI_STANDALONE = 255 // Standalone (embedded) application }; // Section header. |