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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [testsuite/] [ld-elfvsb/] [test.c] - Blame information for rev 147

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

Line No. Rev Author Line
1 59 khays
#pragma weak main_hidden_data
2
extern int main_hidden_data;
3
asm (".hidden main_hidden_data");
4
 
5
#pragma weak main_hidden_func
6
extern int main_hidden_func ();
7
asm (".hidden main_hidden_func");
8
 
9
int
10
_start (void)
11
{
12
  int ret = 0;
13
 
14
  if (&main_hidden_data != 0)
15
    ret = 1;
16
  if (main_hidden_func != 0)
17
    ret = 1;
18
 
19
  return ret;
20
}
21
 
22
int
23
__start (void)
24
{
25
  return _start ();
26
}

powered by: WebSVN 2.1.0

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