[Mips] Update MIPS relocations list
authorSimon Atanasyan <simon@atanasyan.com>
Mon, 24 Nov 2014 14:17:33 +0000 (14:17 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Mon, 24 Nov 2014 14:17:33 +0000 (14:17 +0000)
No functional changes.

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

include/llvm/Support/ELFRelocs/Mips.def

index 6bee91a4dc97782455a108425fecd5e8ff9ffae5..dc573464dcf2e478837cbe81165cefd7d5e2fbf0 100644 (file)
@@ -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)