[llvm] r175338 - [ELF] Add STN_UNDEF.

Michael J. Spencer bigcheesegs at gmail.com
Fri Feb 15 17:56:36 PST 2013


Author: mspencer
Date: Fri Feb 15 19:56:36 2013
New Revision: 175338

URL: http://llvm.org/viewvc/llvm-project?rev=175338&view=rev
Log:
[ELF] Add STN_UNDEF.

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=175338&r1=175337&r2=175338&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ELF.h (original)
+++ llvm/trunk/include/llvm/Support/ELF.h Fri Feb 15 19:56:36 2013
@@ -1172,6 +1172,11 @@ enum {
   STV_PROTECTED = 3   // Visible in other components but not preemptable
 };
 
+// Symbol number.
+enum {
+  STN_UNDEF = 0
+};
+
 // 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