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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [testsuite/] [ld-elfvers/] [vers21.c] - Blame information for rev 58

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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