[lld] r240263 - [Mips] Fix test case - do not use R_MIPS_GPREL32 against external symbols

Simon Atanasyan simon at atanasyan.com
Mon Jun 22 02:26:25 PDT 2015


Author: atanasyan
Date: Mon Jun 22 04:26:25 2015
New Revision: 240263

URL: http://llvm.org/viewvc/llvm-project?rev=240263&view=rev
Log:
[Mips] Fix test case - do not use R_MIPS_GPREL32 against external symbols

No functional changes.

Modified:
    lld/trunk/test/elf/Mips/rel-gprel32-64.test

Modified: lld/trunk/test/elf/Mips/rel-gprel32-64.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/Mips/rel-gprel32-64.test?rev=240263&r1=240262&r2=240263&view=diff
==============================================================================
--- lld/trunk/test/elf/Mips/rel-gprel32-64.test (original)
+++ lld/trunk/test/elf/Mips/rel-gprel32-64.test Mon Jun 22 04:26:25 2015
@@ -13,7 +13,7 @@
 # CHECK-NEXT:  1200001a0 c871ffff ffffffff c871ffff c871ffff
 # CHECK-NEXT:  1200001b0 c871ffff ffffffff 00000000 00000000
 
-# SYM: 00000001200001b8 T LT1
+# SYM: 00000001200001b8 t LT1
 # SYM: 0000000120001000 ? _GLOBAL_OFFSET_TABLE_
 
 # RUN: lld -flavor gnu -target mips64el -shared -o %t.so %t.o
@@ -69,13 +69,13 @@ Symbols:
     - Name:            .text
       Type:            STT_SECTION
       Section:         .text
-
-  Global:
     - Name:            LT1
       Type:            STT_FUNC
       Section:         .text
       Value:           0x18
       Size:            0x8
+
+  Global:
     - Name:            T0
       Type:            STT_FUNC
       Section:         .text





More information about the llvm-commits mailing list