summaryrefslogtreecommitdiffstats
path: root/lld/test/elf2/aarch64-jump26-error.s
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/elf2/aarch64-jump26-error.s')
-rw-r--r--lld/test/elf2/aarch64-jump26-error.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/lld/test/elf2/aarch64-jump26-error.s b/lld/test/elf2/aarch64-jump26-error.s
new file mode 100644
index 00000000000..3fbfb1b6696
--- /dev/null
+++ b/lld/test/elf2/aarch64-jump26-error.s
@@ -0,0 +1,9 @@
+// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-freebsd %S/Inputs/abs.s -o %tabs
+// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-freebsd %s -o %t
+// RUN: not ld.lld2 -shared %t %tabs -o %t2 2>&1 | FileCheck %s
+// REQUIRES: aarch64
+
+.text
+ b big
+
+// CHECK: R_AARCH64_JUMP26 out of range
OpenPOWER on IntegriCloud