11 static int minus_one (void) { return -1; }
12 static int zero (void) { return 0; }
14 void * library_func2_ifunc (void) __asm__ ("library_func2");
15 void * library_func2_ifunc (void) { return global
? minus_one
: zero
; }
16 __asm__(".type library_func2, %gnu_indirect_function");
18 extern int library_func2 (int);
19 extern __typeof (library_func2
) library_func2
__asm__ ("__GI_library_func2");
21 __asm__(".global __GI_library_func2");
22 __asm__(".hidden __GI_library_func2");
23 __asm__("__GI_library_func2 = library_func2");
28 return library_func2 (x
);
31 #else /* WITHOUT_IFUNC */