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

Subversion Repositories openrisc

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

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.