summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-ifunc/ifunc-4-local-x86.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-ifunc/ifunc-4-local-x86.s')
-rw-r--r--binutils-2.21/ld/testsuite/ld-ifunc/ifunc-4-local-x86.s18
1 files changed, 18 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-ifunc/ifunc-4-local-x86.s b/binutils-2.21/ld/testsuite/ld-ifunc/ifunc-4-local-x86.s
new file mode 100644
index 0000000..4f72d7f
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-ifunc/ifunc-4-local-x86.s
@@ -0,0 +1,18 @@
+ .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 foo
+ movl $foo,%eax