summaryrefslogtreecommitdiffstats
path: root/binutils-2.24/gold/testsuite/arm_farcall_thumb_thumb.s
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2014-03-26 11:03:35 -0700
committerBen Cheng <bccheng@google.com>2014-03-26 11:03:35 -0700
commit09797ba54abf3683ea66eedddf6afbe7653f9cb9 (patch)
tree8030b2ed79c7463c89d6da294782e9d503c84f50 /binutils-2.24/gold/testsuite/arm_farcall_thumb_thumb.s
parent5a2caf34e4995860baf405552163df288000b7bf (diff)
downloadtoolchain_binutils-09797ba54abf3683ea66eedddf6afbe7653f9cb9.tar.gz
toolchain_binutils-09797ba54abf3683ea66eedddf6afbe7653f9cb9.tar.bz2
toolchain_binutils-09797ba54abf3683ea66eedddf6afbe7653f9cb9.zip
Initial checkin of binutils 2.24.
Change-Id: I0dfcbae6608dded6c3586bf5f4ac27e9612e70a2
Diffstat (limited to 'binutils-2.24/gold/testsuite/arm_farcall_thumb_thumb.s')
-rw-r--r--binutils-2.24/gold/testsuite/arm_farcall_thumb_thumb.s19
1 files changed, 19 insertions, 0 deletions
diff --git a/binutils-2.24/gold/testsuite/arm_farcall_thumb_thumb.s b/binutils-2.24/gold/testsuite/arm_farcall_thumb_thumb.s
new file mode 100644
index 00000000..650b1a6b
--- /dev/null
+++ b/binutils-2.24/gold/testsuite/arm_farcall_thumb_thumb.s
@@ -0,0 +1,19 @@
+@ Test to ensure that a Thumb to Thumb call exceeding 4Mb generates a stub.
+
+ .global _start
+ .syntax unified
+
+@ We will place the section .text at 0x1000.
+
+ .text
+ .thumb_func
+_start:
+ bl bar
+
+@ We will place the section .foo at 0x02001014.
+
+ .section .foo, "xa"
+ .thumb_func
+bar:
+ bx lr
+