From 5af8f421b6412e52530608097e39d2602195629f Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 19 Apr 2010 15:40:15 +0000 Subject: [PATCH] Add a few more ELF bits. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101778 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/ELF.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h index e747c7a74eb..d09db3998c4 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)