[llvm] r222651 - [Mips] Update MIPS relocations list

Simon Atanasyan simon at atanasyan.com
Mon Nov 24 06:17:33 PST 2014


Author: atanasyan
Date: Mon Nov 24 08:17:33 2014
New Revision: 222651

URL: http://llvm.org/viewvc/llvm-project?rev=222651&view=rev
Log:
[Mips] Update MIPS relocations list

No functional changes.

Modified:
    llvm/trunk/include/llvm/Support/ELFRelocs/Mips.def

Modified: llvm/trunk/include/llvm/Support/ELFRelocs/Mips.def
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ELFRelocs/Mips.def?rev=222651&r1=222650&r2=222651&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ELFRelocs/Mips.def (original)
+++ llvm/trunk/include/llvm/Support/ELFRelocs/Mips.def Mon Nov 24 08:17:33 2014
@@ -18,6 +18,7 @@ ELF_RELOC(R_MIPS_CALL16,             11)
 ELF_RELOC(R_MIPS_GPREL32,            12)
 ELF_RELOC(R_MIPS_UNUSED1,            13)
 ELF_RELOC(R_MIPS_UNUSED2,            14)
+ELF_RELOC(R_MIPS_UNUSED3,            15)
 ELF_RELOC(R_MIPS_SHIFT5,             16)
 ELF_RELOC(R_MIPS_SHIFT6,             17)
 ELF_RELOC(R_MIPS_64,                 18)
@@ -60,25 +61,52 @@ ELF_RELOC(R_MIPS_PC18_S3,            62)
 ELF_RELOC(R_MIPS_PC19_S2,            63)
 ELF_RELOC(R_MIPS_PCHI16,             64)
 ELF_RELOC(R_MIPS_PCLO16,             65)
+ELF_RELOC(R_MIPS16_26,               100)
+ELF_RELOC(R_MIPS16_GPREL,            101)
 ELF_RELOC(R_MIPS16_GOT16,            102)
+ELF_RELOC(R_MIPS16_CALL16,           103)
 ELF_RELOC(R_MIPS16_HI16,             104)
 ELF_RELOC(R_MIPS16_LO16,             105)
+ELF_RELOC(R_MIPS16_TLS_GD,           106)
+ELF_RELOC(R_MIPS16_TLS_LDM,          107)
+ELF_RELOC(R_MIPS16_TLS_DTPREL_HI16,  108)
+ELF_RELOC(R_MIPS16_TLS_DTPREL_LO16,  109)
+ELF_RELOC(R_MIPS16_TLS_GOTTPREL,     110)
+ELF_RELOC(R_MIPS16_TLS_TPREL_HI16,   111)
+ELF_RELOC(R_MIPS16_TLS_TPREL_LO16,   112)
 ELF_RELOC(R_MIPS_COPY,               126)
 ELF_RELOC(R_MIPS_JUMP_SLOT,          127)
 ELF_RELOC(R_MICROMIPS_26_S1,         133)
 ELF_RELOC(R_MICROMIPS_HI16,          134)
 ELF_RELOC(R_MICROMIPS_LO16,          135)
+ELF_RELOC(R_MICROMIPS_GPREL16,       136)
+ELF_RELOC(R_MICROMIPS_LITERAL,       137)
 ELF_RELOC(R_MICROMIPS_GOT16,         138)
+ELF_RELOC(R_MICROMIPS_PC7_S1,        139)
+ELF_RELOC(R_MICROMIPS_PC10_S1,       140)
 ELF_RELOC(R_MICROMIPS_PC16_S1,       141)
 ELF_RELOC(R_MICROMIPS_CALL16,        142)
 ELF_RELOC(R_MICROMIPS_GOT_DISP,      145)
 ELF_RELOC(R_MICROMIPS_GOT_PAGE,      146)
 ELF_RELOC(R_MICROMIPS_GOT_OFST,      147)
+ELF_RELOC(R_MICROMIPS_GOT_HI16,      148)
+ELF_RELOC(R_MICROMIPS_GOT_LO16,      149)
+ELF_RELOC(R_MICROMIPS_SUB,           150)
+ELF_RELOC(R_MICROMIPS_HIGHER,        151)
+ELF_RELOC(R_MICROMIPS_HIGHEST,       152)
+ELF_RELOC(R_MICROMIPS_CALL_HI16,     153)
+ELF_RELOC(R_MICROMIPS_CALL_LO16,     154)
+ELF_RELOC(R_MICROMIPS_SCN_DISP,      155)
+ELF_RELOC(R_MICROMIPS_JALR,          156)
+ELF_RELOC(R_MICROMIPS_HI0_LO16,      157)
 ELF_RELOC(R_MICROMIPS_TLS_GD,           162)
 ELF_RELOC(R_MICROMIPS_TLS_LDM,          163)
 ELF_RELOC(R_MICROMIPS_TLS_DTPREL_HI16,  164)
 ELF_RELOC(R_MICROMIPS_TLS_DTPREL_LO16,  165)
+ELF_RELOC(R_MICROMIPS_TLS_GOTTPREL,     166)
 ELF_RELOC(R_MICROMIPS_TLS_TPREL_HI16,   169)
 ELF_RELOC(R_MICROMIPS_TLS_TPREL_LO16,   170)
+ELF_RELOC(R_MICROMIPS_GPREL7_S2,        172)
+ELF_RELOC(R_MICROMIPS_PC23_S2,          173)
 ELF_RELOC(R_MIPS_NUM,                218)
 ELF_RELOC(R_MIPS_PC32,               248)





More information about the llvm-commits mailing list