diff options
-rw-r--r-- | lld/test/ELF/linkerscript/expr-invalid-sec.test | 2 | ||||
-rw-r--r-- | lld/test/ELF/linkerscript/locationcountererr.test | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lld/test/ELF/linkerscript/expr-invalid-sec.test b/lld/test/ELF/linkerscript/expr-invalid-sec.test index 9abfc1308a6..946062a0c57 100644 --- a/lld/test/ELF/linkerscript/expr-invalid-sec.test +++ b/lld/test/ELF/linkerscript/expr-invalid-sec.test @@ -2,7 +2,7 @@ # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t.o # RUN: not ld.lld -o %t.so --script %s %t.o -shared 2>&1 | FileCheck %s -# CHECK: error: {{.*}}.s:8: at least one side of the expression must be absolute +# CHECK: error: {{.*}}.test:8: at least one side of the expression must be absolute SECTIONS { foo = ADDR(.text) + ADDR(.text); diff --git a/lld/test/ELF/linkerscript/locationcountererr.test b/lld/test/ELF/linkerscript/locationcountererr.test index 3311e4555ae..6a1b21319c5 100644 --- a/lld/test/ELF/linkerscript/locationcountererr.test +++ b/lld/test/ELF/linkerscript/locationcountererr.test @@ -1,7 +1,7 @@ # REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t # RUN: not ld.lld %t --script %s -o %t1 2>&1 | FileCheck %s -# CHECK: {{.*}}.s:8: unable to move location counter backward for: .text +# CHECK: {{.*}}.test:8: unable to move location counter backward for: .text SECTIONS { .text 0x2000 : { |