From 881f12ee0b1fc9612f26e5ed871626995af581e7 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 19 Sep 2016 18:58:30 +0000 Subject: [PATCH] Don't CHECK the addresses. NFC That is not what this test is about. This reduces changes in another patch that changes layout. llvm-svn: 281929 --- lld/test/ELF/linkerscript/excludefile.s | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/lld/test/ELF/linkerscript/excludefile.s b/lld/test/ELF/linkerscript/excludefile.s index 565851d..8a15435 100644 --- a/lld/test/ELF/linkerscript/excludefile.s +++ b/lld/test/ELF/linkerscript/excludefile.s @@ -11,15 +11,15 @@ # CHECK: Disassembly of section .text: # CHECK: _start: -# CHECK: 120: 48 c7 c0 3c 00 00 00 movq $60, %rax -# CHECK: 127: 48 c7 c7 2a 00 00 00 movq $42, %rdi -# CHECK: 12e: 00 00 addb %al, (%rax) +# CHECK-NEXT: : 48 c7 c0 3c 00 00 00 movq $60, %rax +# CHECK-NEXT: : 48 c7 c7 2a 00 00 00 movq $42, %rdi +# CHECK-NEXT: : 00 00 addb %al, (%rax) # CHECK: _potato: -# CHECK: 130: 90 nop -# CHECK: 131: 90 nop -# CHECK: 132: 00 00 addb %al, (%rax) +# CHECK-NEXT: : 90 nop +# CHECK-NEXT: : 90 nop +# CHECK-NEXT: : 00 00 addb %al, (%rax) # CHECK: tomato: -# CHECK: 134: b8 01 00 00 00 movl $1, %eax +# CHECK-NEXT: : b8 01 00 00 00 movl $1, %eax # RUN: echo "SECTIONS { .patatino : \ # RUN: { KEEP(*(EXCLUDE_FILE(*notinclude) .text)) } }" \ @@ -29,15 +29,15 @@ # EXCLUDE: Disassembly of section .patatino: # EXCLUDE: _start: -# EXCLUDE: 120: 48 c7 c0 3c 00 00 00 movq $60, %rax -# EXCLUDE: 127: 48 c7 c7 2a 00 00 00 movq $42, %rdi -# EXCLUDE: 12e: 00 00 addb %al, (%rax) +# EXCLUDE-NEXT: : 48 c7 c0 3c 00 00 00 movq $60, %rax +# EXCLUDE-NEXT: : 48 c7 c7 2a 00 00 00 movq $42, %rdi +# EXCLUDE-NEXT: : 00 00 addb %al, (%rax) # EXCLUDE: _potato: -# EXCLUDE: 130: 90 nop -# EXCLUDE: 131: 90 nop +# EXCLUDE-NEXT: : 90 nop +# EXCLUDE-NEXT: : 90 nop # EXCLUDE: Disassembly of section .text: # EXCLUDE: tomato: -# EXCLUDE: 134: b8 01 00 00 00 movl $1, %eax +# EXCLUDE-NEXT: : b8 01 00 00 00 movl $1, %eax .section .text .globl _start -- 2.7.4