Add a few more ELF bits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101778 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2010-04-19 15:40:15 +00:00
parent a5370f11d9
commit 5af8f421b6

View File

@ -99,6 +99,12 @@ enum {
ET_HIPROC = 0xffff // Processor-specific ET_HIPROC = 0xffff // Processor-specific
}; };
// Versioning
enum {
EV_NONE = 0,
EV_CURRENT = 1
};
// Machine architectures // Machine architectures
enum { enum {
EM_NONE = 0, // No machine EM_NONE = 0, // No machine
@ -129,6 +135,11 @@ enum {
ELFDATA2MSB = 2 // Big-endian object file ELFDATA2MSB = 2 // Big-endian object file
}; };
// OS ABI identification -- unused.
enum {
ELFOSABI_NONE = 0
};
// Section header. // Section header.
struct Elf32_Shdr { struct Elf32_Shdr {
Elf32_Word sh_name; // Section name (index into string table) Elf32_Word sh_name; // Section name (index into string table)