[mips] Remove R_MIPS_GOT which isn't used and shares the same number as R_MIPS_GOT16
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 31 Mar 2014 14:47:41 +0000 (14:47 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 31 Mar 2014 14:47:41 +0000 (14:47 +0000)
Unlike my previous commit, don't try to remove the corresponding VK_Mips_GOT yet
even though it shares the same assembly text since that is used.

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

include/llvm/Support/ELF.h
test/MC/Mips/xgot.s

index f7fa1f5cc87dbfc19acb06fca5588b3fd67caf45..2ac4259143663e2dc8a260ad2e32550d1d105321 100644 (file)
@@ -839,7 +839,6 @@ enum {
   R_MIPS_GPREL16           =  7,
   R_MIPS_LITERAL           =  8,
   R_MIPS_GOT16             =  9,
-  R_MIPS_GOT               =  9,
   R_MIPS_PC16              = 10,
   R_MIPS_CALL16            = 11,
   R_MIPS_GPREL32           = 12,
index e9c2eaa587a92f74047bcec5ec051c18d281e8d8..ec564c617a3528132532dfbea7ce3f31313e80f6 100644 (file)
@@ -13,7 +13,7 @@
 // CHECK:     0x{{[0-9,A-F]+}} R_MIPS_GOT_LO16
 // CHECK:     0x{{[0-9,A-F]+}} R_MIPS_CALL_HI16
 // CHECK:     0x{{[0-9,A-F]+}} R_MIPS_CALL_LO16
-// CHECK:     0x{{[0-9,A-F]+}} R_MIPS_GOT
+// CHECK:     0x{{[0-9,A-F]+}} R_MIPS_GOT16
 // CHECK:     0x{{[0-9,A-F]+}} R_MIPS_LO16
 // CHECK: ]