summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/fix-arm1176.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/fix-arm1176.s')
-rw-r--r--ld/testsuite/ld-arm/fix-arm1176.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/fix-arm1176.s b/ld/testsuite/ld-arm/fix-arm1176.s
new file mode 100644
index 0000000..96e0328
--- /dev/null
+++ b/ld/testsuite/ld-arm/fix-arm1176.s
@@ -0,0 +1,15 @@
+ .syntax unified
+ .globl _start
+ .globl func_to_branch_to
+
+ .arm
+ .text
+func_to_branch_to:
+ bx lr
+
+ .thumb
+ .section .foo, "xa"
+ .thumb_func
+_start:
+ bl func_to_branch_to
+