[lld] r279775 - Fix test corresponding to change r279770

Hemant Kulkarni via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 25 13:43:49 PDT 2016


Author: khemant
Date: Thu Aug 25 15:43:49 2016
New Revision: 279775

URL: http://llvm.org/viewvc/llvm-project?rev=279775&view=rev
Log:
Fix test corresponding to change r279770

Modified:
    lld/trunk/test/ELF/arm-target1.s
    lld/trunk/test/ELF/mips-npic-call-pic.s

Modified: lld/trunk/test/ELF/arm-target1.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-target1.s?rev=279775&r1=279774&r2=279775&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-target1.s (original)
+++ lld/trunk/test/ELF/arm-target1.s Thu Aug 25 15:43:49 2016
@@ -19,7 +19,7 @@
 
 // RELATIVE: Disassembly of section .text:
 // RELATIVE: $d.0:
-// RELATIVE:     1000:       04 00 00 00     andeq   r0, r0, r4
+// RELATIVE:     1000:       04 00 00 00     .word   0x00000004
 // RELATIVE: SYMBOL TABLE:
 // RELATIVE: 00001004         .text           00000000 patatino
 

Modified: lld/trunk/test/ELF/mips-npic-call-pic.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-npic-call-pic.s?rev=279775&r1=279774&r2=279775&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-npic-call-pic.s (original)
+++ lld/trunk/test/ELF/mips-npic-call-pic.s Thu Aug 25 15:43:49 2016
@@ -56,20 +56,15 @@
 # CHECK-NEXT:    20078:       00 00 00 00     nop
 # CHECK-NEXT:    2007c:       00 00 00 00     nop
 #
-# CHECK:      fpic:
-# CHECK-NEXT:    20080:       00 00 00 00     nop
-# CHECK-NEXT:    20084:       00 00 00 00     nop
-# CHECK-NEXT:    20088:       00 00 00 00     nop
-# CHECK-NEXT:    2008c:       00 00 00 00     nop
-#
-# CHECK:      fnpic:
-# CHECK-NEXT:    20090:       00 00 00 00     nop
-# CHECK-NEXT:    20094:       00 00 00 00     nop
-# CHECK-NEXT:    20098:       00 00 00 00     nop
-# CHECK-NEXT:    2009c:       00 00 00 00     nop
-# CHECK-NEXT:    200a0:       3c 19 00 02     lui     $25, 2
-# CHECK-NEXT:    200a4:       08 00 80 20     j       131200 <fpic>
-# CHECK-NEXT:    200a8:       27 39 00 80     addiu   $25, $25, 128
+#CHECK:       fpic:
+#CHECK-NEXT:    20080:	 00 00 00 00 00 00 00 00         ........
+#CHECK-NEXT:    20088:	 00 00 00 00 00 00 00 00         
+
+#CHECK:       fnpic:
+#CHECK-NEXT:    20090:	 00 00 00 00 00 00 00 00         ........
+#CHECK-NEXT:    20098:	 00 00 00 00 00 00 00 00         ........
+#CHECK-NEXT:    200a0:	 3c 19 00 02 08 00 80 20         <...... 
+#CHECK-NEXT:    200a8:	 27 39 00 80 00 00 00 00         
 
 # Make sure tha thunks are created properly no matter how
 # objects are laid out.
@@ -117,21 +112,15 @@
 # REVERSE-NEXT:    20078:       0c 00 80 24     jal     131216 <fnpic>
 # REVERSE-NEXT:    2007c:       00 00 00 00     nop
 #
-# REVERSE:      fpic:
-# REVERSE-NEXT:    20080:       00 00 00 00     nop
-# REVERSE-NEXT:    20084:       00 00 00 00     nop
-# REVERSE-NEXT:    20088:       00 00 00 00     nop
-# REVERSE-NEXT:    2008c:       00 00 00 00     nop
-#
-# REVERSE:      fnpic:
-# REVERSE-NEXT:    20090:       00 00 00 00     nop
-# REVERSE-NEXT:    20094:       00 00 00 00     nop
-# REVERSE-NEXT:    20098:       00 00 00 00     nop
-# REVERSE-NEXT:    2009c:       00 00 00 00     nop
-# REVERSE-NEXT:    200a0:       3c 19 00 02     lui     $25, 2
-# REVERSE-NEXT:    200a4:       08 00 80 20     j       131200 <fpic>
-# REVERSE-NEXT:    200a8:       27 39 00 80     addiu   $25, $25, 128
-# REVERSE-NEXT:    200ac:       00 00 00 00     nop
+#REVERSE:       fpic:
+#REVERSE-NEXT:    20080:	 00 00 00 00 00 00 00 00         ........
+#REVERSE-NEXT:    20088:	 00 00 00 00 00 00 00 00         
+#
+#REVERSE:       fnpic:
+#REVERSE-NEXT:    20090:	 00 00 00 00 00 00 00 00         ........
+#REVERSE-NEXT:    20098:	 00 00 00 00 00 00 00 00         ........
+#REVERSE-NEXT:    200a0:	 3c 19 00 02 08 00 80 20         <...... 
+#REVERSE-NEXT:    200a8:	 27 39 00 80 00 00 00 00         
 
   .text
   .globl __start




More information about the llvm-commits mailing list