]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-i386/protected2.s
Imported binutils-2.20
[msp430-binutils.git] / ld / testsuite / ld-i386 / protected2.s
diff --git a/ld/testsuite/ld-i386/protected2.s b/ld/testsuite/ld-i386/protected2.s
new file mode 100644 (file)
index 0000000..61e5aec
--- /dev/null
@@ -0,0 +1,13 @@
+       .text
+.globl foo
+       .protected      foo
+       .type   foo, @function
+foo:
+       ret
+       .size   foo, .-foo
+.globl bar
+       .type   bar, @function
+bar:
+       call    foo
+       ret
+       .size   bar, .-bar