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/] [vers21.c] - Blame information for rev 156

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
__asm__(".symver _old_foo,foo@VERS.0");
2
__asm__(".symver _old_bar,bar@VERS.0");
3
__asm__(".symver _old_foobar,foobar@VERS.0");
4
__asm__(".weak  _old_bar");
5
 
6
int
7
bar ()
8
{
9
  return 1;
10
}
11
 
12
int
13
_old_bar ()
14
{
15
  return bar ();
16
}
17
 
18
int
19
foo ()
20
{
21
  return 2;
22
}
23
 
24
int
25
_old_foo ()
26
{
27
  return foo ();
28
}
29
 
30
int _old_foobar = -1;
31
 
32
int foobar = 1;

powered by: WebSVN 2.1.0

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