aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/relocation-relative-absolute.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/relocation-relative-absolute.s')
-rw-r--r--test/ELF/relocation-relative-absolute.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ELF/relocation-relative-absolute.s b/test/ELF/relocation-relative-absolute.s
index e1636c734a88..2a343fddca76 100644
--- a/test/ELF/relocation-relative-absolute.s
+++ b/test/ELF/relocation-relative-absolute.s
@@ -7,6 +7,8 @@
.globl _start
_start:
-# CHECK: {{.*}}input1.o:(.text+0x1): relocation R_X86_64_PLT32 cannot refer to absolute symbol 'answer' defined in {{.*}}input2.o
+# CHECK: error: relocation R_X86_64_PLT32 cannot refer to absolute symbol: answer
+# CHECK-NEXT: >>> defined in {{.*}}input2.o
+# CHECK-NEXT: >>> referenced by {{.*}}o:(.text+0x1)
call answer@PLT