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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-elfvers/] [vers7a.c] - Blame information for rev 156

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/*
2
 * Test supplied by Ulrich.  Verify that we can correctly force 'a'
3
 * to local scope.
4
 */
5
int
6
__a_internal (int e)
7
{
8
  return e + 10;
9
}
10
 
11
int
12
__b_internal (int e)
13
{
14
  return e + 42;
15
}
16
 
17
asm (".symver __a_internal,hide_a@@VERS_1");
18
asm (".symver __b_internal,show_b@@VERS_1");

powered by: WebSVN 2.1.0

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