aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ifunc/ifunc-8a-i386.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-ifunc/ifunc-8a-i386.s')
-rw-r--r--ld/testsuite/ld-ifunc/ifunc-8a-i386.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-ifunc/ifunc-8a-i386.s b/ld/testsuite/ld-ifunc/ifunc-8a-i386.s
new file mode 100644
index 0000000..9d42d0e
--- /dev/null
+++ b/ld/testsuite/ld-ifunc/ifunc-8a-i386.s
@@ -0,0 +1,16 @@
+ .text
+ .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
+ mov foo@GOT(%ebx), %eax