diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2010-07-16 07:48:07 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2010-07-16 07:48:07 +0000 |
commit | 53621a1a7376cba5d0a22c12a171933eb8c6d3f6 (patch) | |
tree | c723d24b92a81fe2b9b97334ff0367497d92b023 | |
parent | 31a0a4318b24208231d67cb122922ad18651d266 (diff) | |
download | external_llvm-53621a1a7376cba5d0a22c12a171933eb8c6d3f6.zip external_llvm-53621a1a7376cba5d0a22c12a171933eb8c6d3f6.tar.gz external_llvm-53621a1a7376cba5d0a22c12a171933eb8c6d3f6.tar.bz2 |
A few more minor additions to ELF.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108519 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Support/ELF.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h index 6f939e7..93180b8 100644 --- a/include/llvm/Support/ELF.h +++ b/include/llvm/Support/ELF.h @@ -339,10 +339,19 @@ enum { STT_FUNC = 2, // Symbol is executable code (function, etc.) STT_SECTION = 3, // Symbol refers to a section STT_FILE = 4, // Local, absolute symbol that refers to a file + STT_COMMON = 5, // An uninitialised common block + STT_TLS = 6, // Thread local data object STT_LOPROC = 13, // Lowest processor-specific symbol type STT_HIPROC = 15 // Highest processor-specific symbol type }; +enum { + STV_DEFAULT = 0, // Visibility is specified by binding type + STV_INTERNAL = 1, // Defined by processor supplements + STV_HIDDEN = 2, // Not visible to other components + STV_PROTECTED = 3 // Visible in other components but not preemptable +}; + // Relocation entry, without explicit addend. struct Elf32_Rel { Elf32_Addr r_offset; // Location (file byte offset, or program virtual addr) |