summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gold/testsuite/arm_cortex_a8_blx.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gold/testsuite/arm_cortex_a8_blx.s')
-rw-r--r--binutils-2.25/gold/testsuite/arm_cortex_a8_blx.s33
1 files changed, 33 insertions, 0 deletions
diff --git a/binutils-2.25/gold/testsuite/arm_cortex_a8_blx.s b/binutils-2.25/gold/testsuite/arm_cortex_a8_blx.s
new file mode 100644
index 00000000..c323d250
--- /dev/null
+++ b/binutils-2.25/gold/testsuite/arm_cortex_a8_blx.s
@@ -0,0 +1,33 @@
+ .syntax unified
+ .cpu cortex-a8
+
+ .text
+ .align 12
+
+_start:
+ .type _start,%function
+ bx lr
+ .size _start,.-_start
+
+ .align 8
+ .global _func
+ .type _func,%function
+_func:
+ bx lr
+ .size _func,.-_func
+
+ .align 11
+ .space 2042
+
+ .align 1
+ .thumb
+ .global _test
+ .type _test,%function
+_test:
+ add.w r0, r0, 0
+ blx _func
+ .size _test,.-_test
+
+# We have no mapping symbols for stubs. This make the disassembler
+# list the stub correctly in ARM mode.
+ .arm