1 /* Test 3 STT_GNU_IFUNC symbols. */
5 int global __attribute__ ((visibility ("protected"))) = -1;
25 void * foo1_ifunc (void) __asm__ ("foo1");
26 __asm__(".type foo1, %gnu_indirect_function");
31 return ifunc_sel (one, minus_one, zero);
34 void * foo2_ifunc (void) __asm__ ("foo2");
35 __asm__(".type foo2, %gnu_indirect_function");
40 return ifunc_sel (minus_one, one, zero);
43 void * foo3_ifunc (void) __asm__ ("foo3");
44 __asm__(".type foo3, %gnu_indirect_function");
49 return ifunc_sel (one, zero, minus_one);