aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/farcall-group4.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/farcall-group4.s')
-rw-r--r--ld/testsuite/ld-arm/farcall-group4.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/farcall-group4.s b/ld/testsuite/ld-arm/farcall-group4.s
new file mode 100644
index 0000000..17f503b
--- /dev/null
+++ b/ld/testsuite/ld-arm/farcall-group4.s
@@ -0,0 +1,13 @@
+@ Test to ensure that ARM calls exceeding 32Mb generate stubs,
+@ and that a large input section forces stub insertion before its
+@ contribution.
+
+ .text
+myfunc:
+ .space 0x2000000
+ bl bar
+
+ .section .far, "xa"
+ .global bar
+bar:
+ bx lr