OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-elfvers/] [vers7a.c] - Rev 332

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

/*
 * Test supplied by Ulrich.  Verify that we can correctly force 'a'
 * to local scope.
 */
int
__a_internal (int e)
{
  return e + 10;
}
 
int
__b_internal (int e)
{
  return e + 42;
}
 
asm (".symver __a_internal,hide_a@@VERS_1");
asm (".symver __b_internal,show_b@@VERS_1");
 

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.