[llvm] r206716 - [Mips] Add more special values for the st_other field in the symbol

Simon Atanasyan simon at atanasyan.com
Sun Apr 20 14:05:36 PDT 2014


Author: atanasyan
Date: Sun Apr 20 16:05:36 2014
New Revision: 206716

URL: http://llvm.org/viewvc/llvm-project?rev=206716&view=rev
Log:
[Mips] Add more special values for the st_other field in the symbol
table entry for MIPS.

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=206716&r1=206715&r2=206716&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ELF.h (original)
+++ llvm/trunk/include/llvm/Support/ELF.h Sun Apr 20 16:05:36 2014
@@ -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





More information about the llvm-commits mailing list