(root)/
binutils-2.41/
ld/
testsuite/
ld-ifunc/
ifunc-common-1b.c
       1  void alt (void) { }
       2  
       3  void foo (void);
       4  void * foo_ifunc (void) __asm__ ("foo");
       5  __asm__(".type foo, %gnu_indirect_function");
       6  __asm__(".weak foo");
       7  
       8  void *
       9  foo_ifunc (void)
      10  {
      11    return alt;
      12  }