OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gold/] [testsuite/] [ifuncmod6.c] - Rev 158

Go to most recent revision | Compare with Previous | Blame | View Log

/* Test STT_GNU_IFUNC symbol reference in a shared library.  */
 
extern int foo (void);
 
typedef int (*foo_p) (void);
 
extern foo_p get_foo_p (void);
extern foo_p get_foo (void);
 
foo_p foo_ptr = foo;
 
foo_p
get_foo_p (void)
{
  return foo_ptr;
}
 
foo_p
get_foo (void)
{
  return foo;
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.