1 /* Test local STT_GNU_IFUNC symbols:
3 1. Direct function call.
10 extern int foo (void);
18 static void * __attribute__ ((used
)) foo_ifunc (void) __asm__ ("foo");
19 __asm__(".type foo, %gnu_indirect_function");
22 __attribute__ ((used
))
25 return ifunc_one (one
);
28 typedef int (*foo_p
) (void);
30 extern foo_p
__attribute__ ((noinline
)) get_foo_p (void);
31 extern foo_p
__attribute__ ((noinline
)) get_foo (void);
36 __attribute__ ((noinline
))
43 __attribute__ ((noinline
))
68 if ((*foo_ptr
) () != -30)
This page took 0.030944 seconds and 4 git commands to generate.