summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ELF/bad-expr2.s
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/ELF/bad-expr2.s')
-rw-r--r--llvm/test/MC/ELF/bad-expr2.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/MC/ELF/bad-expr2.s b/llvm/test/MC/ELF/bad-expr2.s
index dad7431b13c..1ca8e90c76f 100644
--- a/llvm/test/MC/ELF/bad-expr2.s
+++ b/llvm/test/MC/ELF/bad-expr2.s
@@ -1,7 +1,7 @@
// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null \
// RUN: 2>&1 | FileCheck %s
-// CHECK: [[@LINE+2]]:{{[0-9]+}}: error: No relocation available to represent this relative expression
+// CHECK: [[@LINE+2]]:{{[0-9]+}}: error: Cannot represent a difference across sections
// CHECK-NEXT: call foo - bar
call foo - bar
OpenPOWER on IntegriCloud