[lld] r350824 - [LLD][ELF] - Fix the test cases after r350823.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 10 06:57:25 PST 2019


Author: grimar
Date: Thu Jan 10 06:57:25 2019
New Revision: 350824

URL: http://llvm.org/viewvc/llvm-project?rev=350824&view=rev
Log:
[LLD][ELF] - Fix the test cases after r350823.

r350823 changed the output of the llvm-objdump.

Modified:
    lld/trunk/test/ELF/mips-micro-jal.s
    lld/trunk/test/ELF/relocation-size-shared.s
    lld/trunk/test/ELF/relocation-size.s

Modified: lld/trunk/test/ELF/mips-micro-jal.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-micro-jal.s?rev=350824&r1=350823&r2=350824&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-micro-jal.s (original)
+++ lld/trunk/test/ELF/mips-micro-jal.s Thu Jan 10 06:57:25 2019
@@ -57,9 +57,7 @@
 # EB-NEXT:    20022:       45 f9           jalrs16 $25
 # EB-NEXT:    20024:       0f 83           move    $gp, $3
 # EB-NEXT:    20026:       0c 00           nop
-# EB-NEXT:    20028:       00 00 00 00     nop
-# EB-NEXT:    2002c:       00 00 00 00     nop
-
+# EB-NEXT:                 ...
 # EB-NEXT:    20030:       79 00 3f f7     addiupc $2, 65500
 # EB-NEXT:    20034:       ff 22 00 00     lw      $25, 0($2)
 # EB-NEXT:    20038:       45 99           jr16    $25
@@ -76,9 +74,7 @@
 # EL-NEXT:    20022:       f9 45           jalrs16 $25
 # EL-NEXT:    20024:       83 0f           move    $gp, $3
 # EL-NEXT:    20026:       00 0c           nop
-# EL-NEXT:    20028:       00 00 00 00     nop
-# EL-NEXT:    2002c:       00 00 00 00     nop
-
+# EL-NEXT:                 ...
 # EL-NEXT:    20030:       00 79 f7 3f     addiupc $2, 65500
 # EL-NEXT:    20034:       22 ff 00 00     lw      $25, 0($2)
 # EL-NEXT:    20038:       99 45           jr16    $25
@@ -127,9 +123,7 @@
 # MIXED-NEXT:    20032:       45 f9           jalrs16 $25
 # MIXED-NEXT:    20034:       0f 83           move    $gp, $3
 # MIXED-NEXT:    20036:       0c 00           nop
-# MIXED-NEXT:    20038:       00 00 00 00     nop
-# MIXED-NEXT:    2003c:       00 00 00 00     nop
-
+# MIXED-NEXT:                 ...
 # MIXED-NEXT:    20040:       79 00 3f f3     addiupc $2, 65484
 # MIXED-NEXT:    20044:       ff 22 00 00     lw      $25, 0($2)
 # MIXED-NEXT:    20048:       45 99           jr16    $25

Modified: lld/trunk/test/ELF/relocation-size-shared.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocation-size-shared.s?rev=350824&r1=350823&r2=350824&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocation-size-shared.s (original)
+++ lld/trunk/test/ELF/relocation-size-shared.s Thu Jan 10 06:57:25 2019
@@ -28,20 +28,7 @@
 // DISASM-NEXT: 20100c: 00 00
 // DISASM-NEXT: 20100e: 00 00
 // DISASM-NEXT: 201010: 1b 00
-// DISASM-NEXT: 201012: 00 00
-// DISASM-NEXT: 201014: 00 00
-// DISASM-NEXT: 201016: 00 00
-// DISASM-NEXT: 201018: 00 00
-// DISASM-NEXT: 20101a: 00 00
-// DISASM-NEXT: 20101c: 00 00
-// DISASM-NEXT: 20101e: 00 00
-// DISASM-NEXT: 201020: 00 00
-// DISASM-NEXT: 201022: 00 00
-// DISASM-NEXT: 201024: 00 00
-// DISASM-NEXT: 201026: 00 00
-// DISASM-NEXT: 201028: 00 00
-// DISASM-NEXT: 20102a: 00 00
-// DISASM-NEXT: 20102c: 00 00
+// DISASM-NEXT: ...
 // DISASM-NEXT: 20102e: 00 00
 // DISASM:      _start:
 // DISASM-NEXT: 201030: 8b 04 25 19 00 00 00 movl 25, %eax

Modified: lld/trunk/test/ELF/relocation-size.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocation-size.s?rev=350824&r1=350823&r2=350824&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocation-size.s (original)
+++ lld/trunk/test/ELF/relocation-size.s Thu Jan 10 06:57:25 2019
@@ -57,18 +57,7 @@
 
 // DISASMSHARED:      Disassembly of section test:
 // DISASMSHARED-NEXT: _data:
-// DISASMSHARED-NEXT: 1000: 00 00
-// DISASMSHARED-NEXT: 1002: 00 00
-// DISASMSHARED-NEXT: 1004: 00 00
-// DISASMSHARED-NEXT: 1006: 00 00
-// DISASMSHARED-NEXT: 1008: 00 00
-// DISASMSHARED-NEXT: 100a: 00 00
-// DISASMSHARED-NEXT: 100c: 00 00
-// DISASMSHARED-NEXT: 100e: 00 00
-// DISASMSHARED-NEXT: 1010: 00 00
-// DISASMSHARED-NEXT: 1012: 00 00
-// DISASMSHARED-NEXT: 1014: 00 00
-// DISASMSHARED-NEXT: 1016: 00 00
+// DISASMSHARED-NEXT: ...
 // DISASMSHARED-NEXT: 1018: 19 00
 // DISASMSHARED-NEXT: 101a: 00 00
 // DISASMSHARED-NEXT: 101c: 00 00




More information about the llvm-commits mailing list