]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-arm/callweak-2.s
Merge commit 'upstream/2.20'
[msp430-binutils.git] / ld / testsuite / ld-arm / callweak-2.s
diff --git a/ld/testsuite/ld-arm/callweak-2.s b/ld/testsuite/ld-arm/callweak-2.s
new file mode 100644 (file)
index 0000000..af4f026
--- /dev/null
@@ -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