]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-arm/farcall-group4.s
Imported binutils-2.20
[msp430-binutils.git] / ld / testsuite / ld-arm / farcall-group4.s
diff --git a/ld/testsuite/ld-arm/farcall-group4.s b/ld/testsuite/ld-arm/farcall-group4.s
new file mode 100644 (file)
index 0000000..17f503b
--- /dev/null
@@ -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