diff options
Diffstat (limited to 'test/ELF/znotext-plt-relocations-protected.s')
-rw-r--r-- | test/ELF/znotext-plt-relocations-protected.s | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/ELF/znotext-plt-relocations-protected.s b/test/ELF/znotext-plt-relocations-protected.s index 4fd8065a2873d..37724e74db22d 100644 --- a/test/ELF/znotext-plt-relocations-protected.s +++ b/test/ELF/znotext-plt-relocations-protected.s @@ -4,7 +4,12 @@ # RUN: ld.lld %t2.o -o %t2.so -shared # RUN: not ld.lld -z notext %t.o %t2.so -o /dev/null 2>&1 | FileCheck %s -# CHECK: error: cannot preempt symbol: foo +# CHECK: error: cannot preempt symbol: foo +# CHECK-NEXT: >>> defined in {{.*}}2.so +# CHECK-NEXT: >>> referenced by test.cpp +# CHECK-NEXT: >>> {{.*}}.o:(.text+0x0) + +.file "test.cpp" .global _start _start: |