From 0552376cc8330ee9ae2ee0eacc8ecfa4a53f3d20 Mon Sep 17 00:00:00 2001 From: George Rimar Date: Thu, 10 Jan 2019 14:57:25 +0000 Subject: [PATCH] [LLD][ELF] - Fix the test cases after r350823. r350823 changed the output of the llvm-objdump. llvm-svn: 350824 --- lld/test/ELF/mips-micro-jal.s | 12 +++--------- lld/test/ELF/relocation-size-shared.s | 15 +-------------- lld/test/ELF/relocation-size.s | 13 +------------ 3 files changed, 5 insertions(+), 35 deletions(-) diff --git a/lld/test/ELF/mips-micro-jal.s b/lld/test/ELF/mips-micro-jal.s index 18d41cf..f41d7dc 100644 --- a/lld/test/ELF/mips-micro-jal.s +++ b/lld/test/ELF/mips-micro-jal.s @@ -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 diff --git a/lld/test/ELF/relocation-size-shared.s b/lld/test/ELF/relocation-size-shared.s index f60f092..1aa2222 100644 --- a/lld/test/ELF/relocation-size-shared.s +++ b/lld/test/ELF/relocation-size-shared.s @@ -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 diff --git a/lld/test/ELF/relocation-size.s b/lld/test/ELF/relocation-size.s index 525b1e1..c2554a4 100644 --- a/lld/test/ELF/relocation-size.s +++ b/lld/test/ELF/relocation-size.s @@ -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 -- 2.7.4