[llvm-commits] [llvm] r101778 - /llvm/trunk/include/llvm/Support/ELF.h
Dan Gohman
gohman at apple.com
Mon Apr 19 08:40:15 PDT 2010
Author: djg
Date: Mon Apr 19 10:40:15 2010
New Revision: 101778
URL: http://llvm.org/viewvc/llvm-project?rev=101778&view=rev
Log:
Add a few more ELF bits.
Modified:
llvm/trunk/include/llvm/Support/ELF.h
Modified: llvm/trunk/include/llvm/Support/ELF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ELF.h?rev=101778&r1=101777&r2=101778&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ELF.h (original)
+++ llvm/trunk/include/llvm/Support/ELF.h Mon Apr 19 10:40:15 2010
@@ -99,6 +99,12 @@
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 @@
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)
More information about the llvm-commits
mailing list