diff options
Diffstat (limited to 'test/ELF/copy-rel-pie-error.s')
-rw-r--r-- | test/ELF/copy-rel-pie-error.s | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/ELF/copy-rel-pie-error.s b/test/ELF/copy-rel-pie-error.s index 7cb6700ef9f33..6f7677e25e3a9 100644 --- a/test/ELF/copy-rel-pie-error.s +++ b/test/ELF/copy-rel-pie-error.s @@ -3,8 +3,13 @@ // RUN: ld.lld %t2.o -o %t2.so -shared // RUN: not ld.lld %t.o %t2.so -o %t.exe -pie 2>&1 | FileCheck %s -// CHECK: {{.*}}.o:(.text+0x0): can't create dynamic relocation R_X86_64_64 against symbol 'bar' defined in {{.*}}.so -// CHECK: {{.*}}.o:(.text+0x8): can't create dynamic relocation R_X86_64_64 against symbol 'foo' defined in {{.*}}.so +// CHECK: can't create dynamic relocation R_X86_64_64 against symbol: bar +// CHECK: >>> defined in {{.*}}.so +// CHECK: >>> referenced by {{.*}}.o:(.text+0x0) + +// CHECK: can't create dynamic relocation R_X86_64_64 against symbol: foo +// CHECK: >>> defined in {{.*}}.so +// CHECK: >>> referenced by {{.*}}.o:(.text+0x8) .global _start _start: |