[Mips] Add more special values for the st_other field in the symbol
authorSimon Atanasyan <simon@atanasyan.com>
Sun, 20 Apr 2014 21:05:36 +0000 (21:05 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Sun, 20 Apr 2014 21:05:36 +0000 (21:05 +0000)
table entry for MIPS.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206716 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/ELF.h

index 9448a820bfb4f4fa23c5236485a0b29c2c590dc6..a5a45b4b0b237ac818c8a2d4154b374739211090 100644 (file)
@@ -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