diff options
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-ifunc/ifunc-5-local-i386.s')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-ifunc/ifunc-5-local-i386.s | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-ifunc/ifunc-5-local-i386.s b/binutils-2.21/ld/testsuite/ld-ifunc/ifunc-5-local-i386.s new file mode 100644 index 0000000..d7bb5cf --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-ifunc/ifunc-5-local-i386.s @@ -0,0 +1,22 @@ + .text + .type foo, %gnu_indirect_function + .type foo, @function +foo: + ret + .size foo, .-foo + .type start,"function" + .global start +start: + .type _start,"function" + .global _start +_start: + .type __start,"function" + .global __start +__start: + .type __start,"function" + call .L6 +.L6: + popl %ebx + addl $_GLOBAL_OFFSET_TABLE_+[.-.L6], %ebx + call foo@PLT + leal foo@GOT(%ebx), %eax |