summaryrefslogtreecommitdiffstats
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
commitf54f8ff0945f9405ecb10fb67d0bf2ffab5304fb (patch)
tree34ac736a487ab1db5940d6220ac3fc20e4f4a565
parent883b44e7d0120e5afdc69f90fcee3dc15abb9d86 (diff)
downloadbcm5719-llvm-f54f8ff0945f9405ecb10fb67d0bf2ffab5304fb.tar.gz
bcm5719-llvm-f54f8ff0945f9405ecb10fb67d0bf2ffab5304fb.zip
[Mips] Add more special values for the st_other field in the symbol
table entry for MIPS. llvm-svn: 206716
-rw-r--r--llvm/include/llvm/Support/ELF.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/ELF.h b/llvm/include/llvm/Support/ELF.h
index 9448a820bfb..a5a45b4b0b2 100644
--- a/llvm/include/llvm/Support/ELF.h
+++ b/llvm/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
OpenPOWER on IntegriCloud