summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2014-04-20 21:05:36 +0000
committerSimon Atanasyan <simon@atanasyan.com>2014-04-20 21:05:36 +0000
commit8612f6be58d0769bab8a1a7201304ece8fca50d1 (patch)
treee5c1f5d57f25eb218c0cd65dfa82307808338608 /include
parent1eed8904e8bdb7dbeaa412d5b176f7668ec5b59b (diff)
downloadllvm-8612f6be58d0769bab8a1a7201304ece8fca50d1.tar.gz
llvm-8612f6be58d0769bab8a1a7201304ece8fca50d1.tar.bz2
llvm-8612f6be58d0769bab8a1a7201304ece8fca50d1.tar.xz
[Mips] Add more special values for the st_other field in the symbol
table entry for MIPS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206716 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/ELF.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h
index 9448a820bf..a5a45b4b0b 100644
--- a/include/llvm/Support/ELF.h
+++ b/include/llvm/Support/ELF.h
@@ -907,7 +907,11 @@ enum {
// Special values for the st_other field in the symbol table entry for MIPS.
enum {
- STO_MIPS_MICROMIPS = 0x80 // MIPS Specific ISA for MicroMips
+ STO_MIPS_OPTIONAL = 0x04, // Symbol whose definition is optional
+ STO_MIPS_PLT = 0x08, // PLT entry related dynamic table record
+ STO_MIPS_PIC = 0x20, // PIC func in an object mixes PIC/non-PIC
+ STO_MIPS_MICROMIPS = 0x80, // MIPS Specific ISA for MicroMips
+ STO_MIPS_MIPS16 = 0xf0 // MIPS Specific ISA for Mips16
};
// Hexagon Specific e_flags