diff options
author | Jack Carter <jcarter@mips.com> | 2013-02-19 22:04:37 +0000 |
---|---|---|
committer | Jack Carter <jcarter@mips.com> | 2013-02-19 22:04:37 +0000 |
commit | ccb3c9c2702f548fd0a7d60a622e6f4fdf0940e7 (patch) | |
tree | 556f256ab66e53b6ec305af8bb61ad5d337383af /include | |
parent | ba6f722d6a80efeacb69c12f9322d858affb4d2b (diff) | |
download | external_llvm-ccb3c9c2702f548fd0a7d60a622e6f4fdf0940e7.zip external_llvm-ccb3c9c2702f548fd0a7d60a622e6f4fdf0940e7.tar.gz external_llvm-ccb3c9c2702f548fd0a7d60a622e6f4fdf0940e7.tar.bz2 |
ELF symbol table field st_other support,
excluding visibility bits.
Mips (MicroMips) specific STO handling .
The st_other field settig for STO_MIPS_MICROMIPS
Contributer: Zoran Jovanovic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/ELF.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h index 2fe1d1b..62f5f32 100644 --- a/include/llvm/Support/ELF.h +++ b/include/llvm/Support/ELF.h @@ -738,6 +738,10 @@ enum { EF_MIPS_NOREORDER = 0x00000001, // Don't reorder instructions EF_MIPS_PIC = 0x00000002, // Position independent code EF_MIPS_CPIC = 0x00000004, // Call object with Position independent code + //ARCH_ASE + EF_MIPS_MICROMIPS = 0x02000000, // microMIPS + //ARCH + EF_MIPS_ARCH = 0xf0000000, // Mask for applying EF_MIPS_ARCH_ variant EF_MIPS_ARCH_1 = 0x00000000, // MIPS1 instruction set EF_MIPS_ARCH_2 = 0x10000000, // MIPS2 instruction set EF_MIPS_ARCH_3 = 0x20000000, // MIPS3 instruction set @@ -746,9 +750,7 @@ enum { EF_MIPS_ARCH_32 = 0x50000000, // MIPS32 instruction set per linux not elf.h EF_MIPS_ARCH_64 = 0x60000000, // MIPS64 instruction set per linux not elf.h EF_MIPS_ARCH_32R2 = 0x70000000, // mips32r2 - EF_MIPS_ARCH_64R2 = 0x80000000, // mips64r2 - EF_MIPS_ARCH = 0xf0000000, // Mask for applying EF_MIPS_ARCH_ variant - EF_MIPS_MICROMIPS = 0x02000000 // microMIPS + EF_MIPS_ARCH_64R2 = 0x80000000 // mips64r2 }; // ELF Relocation types for Mips @@ -809,6 +811,11 @@ enum { R_MIPS_NUM = 218 }; +// Special values for the st_other field in the symbol table entry for MIPS. +enum { + STO_MIPS_MICROMIPS = 0x80 // MIPS Specific ISA for MicroMips +}; + // Hexagon Specific e_flags // Release 5 ABI enum { |