diff options
Diffstat (limited to 'ld/testsuite/ld-i386/protected1.s')
-rw-r--r-- | ld/testsuite/ld-i386/protected1.s | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/protected1.s b/ld/testsuite/ld-i386/protected1.s new file mode 100644 index 0000000..2edaeb2 --- /dev/null +++ b/ld/testsuite/ld-i386/protected1.s @@ -0,0 +1,13 @@ + .text +.globl foo + .protected foo + .type foo, @function +foo: + ret + .size foo, .-foo +.globl bar + .type bar, @function +bar: + leal foo@GOTOFF(%ecx), %eax + ret + .size bar, .-bar |