1 /* Test STT_GNU_IFUNC symbols without direct function call. */
23 void * foo_ifunc (void) __asm__ ("foo");
24 __asm__(".type foo, %gnu_indirect_function");
40 void * foo_hidden_ifunc (void) __asm__ ("foo_hidden");
41 __asm__(".type foo_hidden, %gnu_indirect_function");
44 foo_hidden_ifunc (void)
57 void * foo_protected_ifunc (void) __asm__ ("foo_protected");
58 __asm__(".type foo_protected, %gnu_indirect_function");
61 foo_protected_ifunc (void)
74 /* Test hidden indirect function. */
75 __asm__(".hidden foo_hidden");
77 /* Test protected indirect function. */
78 __asm__(".protected foo_protected");