diff options
Diffstat (limited to 'lld/test/ELF/linkerscript/subalign.s')
-rw-r--r-- | lld/test/ELF/linkerscript/subalign.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/test/ELF/linkerscript/subalign.s b/lld/test/ELF/linkerscript/subalign.s index 8d8420c0f77a..bf812d17bb87 100644 --- a/lld/test/ELF/linkerscript/subalign.s +++ b/lld/test/ELF/linkerscript/subalign.s @@ -3,7 +3,7 @@ # RUN: echo "SECTIONS { .aaa : { *(.aaa.*) } }" > %t1.script # RUN: ld.lld -o %t1 --script %t1.script %t1.o -# RUN: llvm-objdump -s %t1 | FileCheck -check-prefix=NOALIGN %s +# RUN: llvm-objdump -s %t1 | FileCheck --check-prefix=NOALIGN %s # NOALIGN: Contents of section .aaa: # NOALIGN-NEXT: 01000000 00000000 00000000 00000000 # NOALIGN-NEXT: 00000000 00000000 00000000 00000000 @@ -17,7 +17,7 @@ # RUN: echo "SECTIONS { .aaa : SUBALIGN(1) { *(.aaa.*) } }" > %t2.script # RUN: ld.lld -o %t2 --script %t2.script %t1.o -# RUN: llvm-objdump -s %t2 | FileCheck -check-prefix=SUBALIGN %s +# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=SUBALIGN %s # SUBALIGN: Contents of section .aaa: # SUBALIGN: 01000000 00000000 02000000 00000000 # SUBALIGN: 03000000 00000000 04000000 00000000 @@ -32,7 +32,7 @@ ## Test we are able to link with zero alignment, this is consistent with bfd 2.26.1. # RUN: echo "SECTIONS { .aaa : SUBALIGN(0) { *(.aaa*) } }" > %t4.script # RUN: ld.lld %t1.o --script %t4.script -o %t4 -# RUN: llvm-objdump -s %t4 | FileCheck -check-prefix=SUBALIGN %s +# RUN: llvm-objdump -s %t4 | FileCheck --check-prefix=SUBALIGN %s ## Test we fail gracefuly when alignment value is not a power of 2. # RUN: echo "SECTIONS { .aaa : SUBALIGN(3) { *(.aaa*) } }" > %t5.script |