Add a few more ELF bits.
authorDan Gohman <gohman@apple.com>
Mon, 19 Apr 2010 15:40:15 +0000 (15:40 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 19 Apr 2010 15:40:15 +0000 (15:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101778 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/ELF.h

index e747c7a74eb90a9ddec5469852ca64f758614cb6..d09db3998c4596eab6879b600ab8cef8c2e9c448 100644 (file)
@@ -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)