[llvm-commits] [llvm] r108519 - /llvm/trunk/include/llvm/Support/ELF.h
Eli Friedman
eli.friedman at gmail.com
Fri Jul 16 00:48:07 PDT 2010
Author: efriedma
Date: Fri Jul 16 02:48:07 2010
New Revision: 108519
URL: http://llvm.org/viewvc/llvm-project?rev=108519&view=rev
Log:
A few more minor additions to ELF.h.
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=108519&r1=108518&r2=108519&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ELF.h (original)
+++ llvm/trunk/include/llvm/Support/ELF.h Fri Jul 16 02:48:07 2010
@@ -339,10 +339,19 @@
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)
More information about the llvm-commits
mailing list