summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/farcall-data.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/farcall-data.s')
-rw-r--r--ld/testsuite/ld-arm/farcall-data.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/farcall-data.s b/ld/testsuite/ld-arm/farcall-data.s
new file mode 100644
index 0000000..ed66199
--- /dev/null
+++ b/ld/testsuite/ld-arm/farcall-data.s
@@ -0,0 +1,14 @@
+ .syntax unified
+ .text
+ .global _start
+ .type _start, %function
+_start:
+ b far
+
+.section .after
+after:
+ .word 0x11111111
+
+ .section .far, "ax"
+ .type far, %function
+far: bx lr