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] - Rev 82

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

#pragma weak main_hidden_data
extern int main_hidden_data;
asm (".hidden main_hidden_data");
 
#pragma weak main_hidden_func
extern int main_hidden_func ();
asm (".hidden main_hidden_func");
 
int
_start (void)
{
  int ret = 0;
 
  if (&main_hidden_data != 0)
    ret = 1;
  if (main_hidden_func != 0)
    ret = 1;
 
  return ret;
}
 
int
__start (void)
{
  return _start ();
}
 

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.