1        .section .text.foo,"ax",@progbits
2        .type foo, @function
3foo:
4        .global foo
5        movl ifunc@GOTPCREL(%rip), %eax
6        movl ifunc(%rip), %eax
7	call ifunc@PLT
8	call ifunc
9        movl xxx(%rip), %eax
10        ret
11
12        .section .text.bar,"ax",@progbits
13        .type bar, @function
14bar:
15        .global bar
16        ret
17
18        .section .text.ifunc,"ax",@progbits
19        .type ifunc, @gnu_indirect_function
20ifunc:
21        ret
22
23        .section .data.foo,"aw",@progbits
24xxx:
25	.quad ifunc
26