summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2013-02-16 01:56:36 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2013-02-16 01:56:36 +0000
commit344232c17931bb2c2a06b1cb33716b0b17f393fa (patch)
treec928cd8a77eec9541a4ad203edd996ee492cb3c9
parent7a168161de4b25f1c3d3bee9b2ac2b543c46cea3 (diff)
downloadbcm5719-llvm-344232c17931bb2c2a06b1cb33716b0b17f393fa.tar.gz
bcm5719-llvm-344232c17931bb2c2a06b1cb33716b0b17f393fa.zip
[ELF] Add STN_UNDEF.
llvm-svn: 175338
-rw-r--r--llvm/include/llvm/Support/ELF.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/ELF.h b/llvm/include/llvm/Support/ELF.h
index 3522ab41f34..2fe1d1bbd0c 100644
--- a/llvm/include/llvm/Support/ELF.h
+++ b/llvm/include/llvm/Support/ELF.h
@@ -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)
OpenPOWER on IntegriCloud