]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-arm/thumb2-bl-undefweak.s
Imported binutils-2.20
[msp430-binutils.git] / ld / testsuite / ld-arm / thumb2-bl-undefweak.s
diff --git a/ld/testsuite/ld-arm/thumb2-bl-undefweak.s b/ld/testsuite/ld-arm/thumb2-bl-undefweak.s
new file mode 100644 (file)
index 0000000..5e70eea
--- /dev/null
@@ -0,0 +1,10 @@
+@ Test that calls to undefined weak functions resolve to call through
+@ the PLT in shared libraries.
+
+       .arch armv7
+       .syntax unified
+       .text
+       .thumb_func
+foo:
+       bl bar
+       .weak bar