aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-19 15:40:15 +0000
committerDan Gohman <gohman@apple.com>2010-04-19 15:40:15 +0000
commit5af8f421b6412e52530608097e39d2602195629f (patch)
tree340dff850238c28630f8695fd52d2505c15caa79 /include/llvm
parenta5370f11d9c27b2cb37fa61eb29eb56356582978 (diff)
downloadexternal_llvm-5af8f421b6412e52530608097e39d2602195629f.zip
external_llvm-5af8f421b6412e52530608097e39d2602195629f.tar.gz
external_llvm-5af8f421b6412e52530608097e39d2602195629f.tar.bz2
Add a few more ELF bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101778 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Support/ELF.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h
index e747c7a..d09db39 100644
--- a/include/llvm/Support/ELF.h
+++ b/include/llvm/Support/ELF.h
@@ -99,6 +99,12 @@ enum {
ET_HIPROC = 0xffff // Processor-specific
};
+// Versioning
+enum {
+ EV_NONE = 0,
+ EV_CURRENT = 1
+};
+
// Machine architectures
enum {
EM_NONE = 0, // No machine
@@ -129,6 +135,11 @@ enum {
ELFDATA2MSB = 2 // Big-endian object file
};
+// OS ABI identification -- unused.
+enum {
+ ELFOSABI_NONE = 0
+};
+
// Section header.
struct Elf32_Shdr {
Elf32_Word sh_name; // Section name (index into string table)