Fix compile time warning message in linker testsuite test.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-ifunc / ifunc-11-i386.s
CommitLineData
bb1cb422
L
1 .section .text.foo,"ax",@progbits
2 .type foo, @function
3foo:
4 .global foo
5 movl ifunc@GOT(%ecx), %eax
3db2e7dd 6 movl ifunc@GOTOFF(%ecx), %eax
bb1cb422
L
7 call ifunc@PLT
8 call ifunc
3db2e7dd
L
9 movl xxx@GOT(%ecx), %eax
10 movl xxx, %eax
bb1cb422
L
11 ret
12
13 .section .text.bar,"ax",@progbits
14 .type bar, @function
15bar:
16 .global bar
17 ret
18
19 .section .text.ifunc,"ax",@progbits
20 .type ifunc, @gnu_indirect_function
3db2e7dd 21 .global ifunc
bb1cb422
L
22ifunc:
23 ret
3db2e7dd
L
24
25 .section .data.foo,"aw",@progbits
26xxx:
27 .long ifunc
This page took 0.305488 seconds and 4 git commands to generate.