(root)/
binutils-2.41/
gold/
testsuite/
ifuncmod6.c
       1  /* Test STT_GNU_IFUNC symbol reference in a shared library.  */
       2  
       3  extern int foo (void);
       4  
       5  typedef int (*foo_p) (void);
       6  
       7  extern foo_p get_foo_p (void);
       8  extern int call_foo (void);
       9  
      10  extern foo_p foo_ptr;
      11  
      12  foo_p
      13  get_foo_p (void)
      14  {
      15    return foo_ptr;
      16  }
      17  
      18  int
      19  call_foo (void)
      20  {
      21    return foo ();
      22  }