diff options
author | Fangrui Song <i@maskray.me> | 2024-05-12 21:15:36 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2024-05-12 21:15:36 -0700 |
commit | b1f04d57f5818914d7db506985e2932f217844bd (patch) | |
tree | 9bd355e44ae464ebdf17a54804407d45e063fd9e /lld/test | |
parent | 22213d58832e8fce344a7222ed705e4c7f4eb6b1 (diff) | |
download | llvm-b1f04d57f5818914d7db506985e2932f217844bd.zip llvm-b1f04d57f5818914d7db506985e2932f217844bd.tar.gz llvm-b1f04d57f5818914d7db506985e2932f217844bd.tar.bz2 |
[ELF,test] Fix typo in check prefixes
Diffstat (limited to 'lld/test')
-rw-r--r-- | lld/test/ELF/aarch64-thunk-reuse2.s | 2 | ||||
-rw-r--r-- | lld/test/ELF/linkerscript/orphan-phdrs2.test | 2 | ||||
-rw-r--r-- | lld/test/ELF/mips-got-page-script.s | 52 | ||||
-rw-r--r-- | lld/test/ELF/ttext-tdata-tbss.s | 12 |
4 files changed, 34 insertions, 34 deletions
diff --git a/lld/test/ELF/aarch64-thunk-reuse2.s b/lld/test/ELF/aarch64-thunk-reuse2.s index e9dd385..c2cfee6 100644 --- a/lld/test/ELF/aarch64-thunk-reuse2.s +++ b/lld/test/ELF/aarch64-thunk-reuse2.s @@ -14,7 +14,7 @@ # CHECK: <__AArch64ADRPThunk_>: # CHECK-NEXT: 8010708: adrp x16, 0x10000 # CHECK-NEXT: add x16, x16, #1792 -# CHECk-NEXT: br x16 +# CHECK-NEXT: br x16 # CHECK-LABEL: <high>: # CHECK-NEXT: 8010714: bl 0x8010708 <__AArch64ADRPThunk_> # CHECK-NEXT: b 0x8010708 <__AArch64ADRPThunk_> diff --git a/lld/test/ELF/linkerscript/orphan-phdrs2.test b/lld/test/ELF/linkerscript/orphan-phdrs2.test index c302e0e..d75c76d 100644 --- a/lld/test/ELF/linkerscript/orphan-phdrs2.test +++ b/lld/test/ELF/linkerscript/orphan-phdrs2.test @@ -12,7 +12,7 @@ # CHECK-NEXT: Type {{.*}} Flg Align # CHECK-NEXT: LOAD {{.*}} R E 0x # CHECK-NEXT: LOAD {{.*}} RW 0x -# CHECK-MEXT: LOAD {{.*}} R 0x +# CHECK-NEXT: LOAD {{.*}} R 0x # CHECK: Segment Sections... # CHECK-NEXT: 00 .text {{$}} diff --git a/lld/test/ELF/mips-got-page-script.s b/lld/test/ELF/mips-got-page-script.s index 4055fb6..3caf5cc 100644 --- a/lld/test/ELF/mips-got-page-script.s +++ b/lld/test/ELF/mips-got-page-script.s @@ -19,32 +19,32 @@ # CHECK-NEXT: Value: 0x40000 # CHECK: Local entries [ -# CHECK-BEXT: Entry { -# CHECK-BEXT: Address: -# CHECK-BEXT: Access: -# CHECK-BEXT: Initial: 0x10000 -# CHECK-BEXT: } -# CHECK-BEXT: Entry { -# CHECK-BEXT: Address: -# CHECK-BEXT: Access: -# CHECK-BEXT: Initial: 0x20000 -# CHECK-BEXT: } -# CHECK-BEXT: Entry { -# CHECK-BEXT: Address: -# CHECK-BEXT: Access: -# CHECK-BEXT: Initial: 0x30000 -# CHECK-BEXT: } -# CHECK-BEXT: Entry { -# CHECK-BEXT: Address: -# CHECK-BEXT: Access: -# CHECK-BEXT: Initial: 0x40000 -# CHECK-BEXT: } -# CHECK-BEXT: Entry { -# CHECK-BEXT: Address: -# CHECK-BEXT: Access: -# CHECK-BEXT: Initial: 0x50000 -# CHECK-BEXT: } -# CHECK-BEXT: ] +# CHECK-NEXT: Entry { +# CHECK-NEXT: Address: +# CHECK-NEXT: Access: +# CHECK-NEXT: Initial: 0x10000 +# CHECK-NEXT: } +# CHECK-NEXT: Entry { +# CHECK-NEXT: Address: +# CHECK-NEXT: Access: +# CHECK-NEXT: Initial: 0x20000 +# CHECK-NEXT: } +# CHECK-NEXT: Entry { +# CHECK-NEXT: Address: +# CHECK-NEXT: Access: +# CHECK-NEXT: Initial: 0x30000 +# CHECK-NEXT: } +# CHECK-NEXT: Entry { +# CHECK-NEXT: Address: +# CHECK-NEXT: Access: +# CHECK-NEXT: Initial: 0x40000 +# CHECK-NEXT: } +# CHECK-NEXT: Entry { +# CHECK-NEXT: Address: +# CHECK-NEXT: Access: +# CHECK-NEXT: Initial: 0x50000 +# CHECK-NEXT: } +# CHECK-NEXT: ] .option pic2 .text diff --git a/lld/test/ELF/ttext-tdata-tbss.s b/lld/test/ELF/ttext-tdata-tbss.s index fb9c4d5..c8254d6 100644 --- a/lld/test/ELF/ttext-tdata-tbss.s +++ b/lld/test/ELF/ttext-tdata-tbss.s @@ -42,13 +42,13 @@ # USER2-NEXT: LOAD 0x001000 0x0000000000001000 ## With .text well above 200000 we don't need to change the image base -# RUN: ld.lld -Ttext 0x201000 %t.o -o %t4 +# RUN: ld.lld -Ttext 0x201000 -z separate-loadable-segments %t.o -o %t4 # RUN: llvm-readelf -S -l %t4 | FileCheck %s --check-prefix=USER3 -# USER3: .text PROGBITS 0000000000201000 001000 000001 -# USER3-NEX: .rodata PROGBITS 0000000000202000 002000 000008 -# USER3-NEX: .aw PROGBITS 0000000000203000 003000 000008 -# USER3-NEX: .data PROGBITS 0000000000203008 003008 000008 -# USER3-NEX: .bss NOBITS 0000000000203010 003010 000008 +# USER3: .text PROGBITS 0000000000201000 001000 000001 +# USER3-NEXT: .rodata PROGBITS 0000000000202000 002000 000008 +# USER3-NEXT: .aw PROGBITS 0000000000203000 003000 000008 +# USER3-NEXT: .data PROGBITS 0000000000203008 003008 000008 +# USER3-NEXT: .bss NOBITS 0000000000203010 003010 000008 # USER3: Type # USER3-NEXT: PHDR 0x000040 0x0000000000200040 # USER3-NEXT: LOAD 0x000000 0x0000000000200000 |