summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-arm/callweak-2.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-arm/callweak-2.s')
-rw-r--r--binutils-2.21/ld/testsuite/ld-arm/callweak-2.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-arm/callweak-2.s b/binutils-2.21/ld/testsuite/ld-arm/callweak-2.s
new file mode 100644
index 0000000..af4f026
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-arm/callweak-2.s
@@ -0,0 +1,17 @@
+ .syntax unified
+ .arch armv6t2
+ .weak bar
+ .section .far, "ax", %progbits
+ .global _start
+ .type _start, %function
+_start:
+ bl bar
+ bleq bar
+ .thumb
+ .type foo, %function
+ .thumb_func
+foo:
+ bl bar
+ movs r0, #0
+ bl bar
+ bx lr