summaryrefslogtreecommitdiff
path: root/test/MC/ARM/elf-jump24-fixup.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ARM/elf-jump24-fixup.s')
-rw-r--r--test/MC/ARM/elf-jump24-fixup.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/MC/ARM/elf-jump24-fixup.s b/test/MC/ARM/elf-jump24-fixup.s
new file mode 100644
index 0000000000..75a4b869dc
--- /dev/null
+++ b/test/MC/ARM/elf-jump24-fixup.s
@@ -0,0 +1,9 @@
+@ RUN: llvm-mc %s -triple=thumbv7-linux-gnueabi -filetype=obj -o - < %s | llvm-objdump -r - | FileCheck %s
+ .syntax unified
+ .text
+ .code 16
+ .thumb_func
+foo:
+ b.w bar
+
+@ CHECK: {{[0-9]+}} R_ARM_THM_JUMP24 bar