diff options
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-i386/protected1.s')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-i386/protected1.s | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-i386/protected1.s b/binutils-2.21/ld/testsuite/ld-i386/protected1.s new file mode 100644 index 0000000..2edaeb2 --- /dev/null +++ b/binutils-2.21/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 |