diff options
Diffstat (limited to 'ld/testsuite/ld-x86-64/protected2.s')
-rw-r--r-- | ld/testsuite/ld-x86-64/protected2.s | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/protected2.s b/ld/testsuite/ld-x86-64/protected2.s new file mode 100644 index 0000000..61e5aec --- /dev/null +++ b/ld/testsuite/ld-x86-64/protected2.s @@ -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 |