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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-srec/] [sr1.c] - Rev 825

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

/* This file is compiled and linked into the S-record format.  */
 
extern int e1;
extern int e2;
int i;
int j = 1;
static int k;
static int l = 1;
static char ab[] = "This is a string constant";
 
extern int fn1 ();
extern int fn2 ();
 
int
main ()
{
  fn1 (ab);
  fn2 ("static string constant");
  return e1 + e2 + i + j + k + l;
}
 
void
__main ()
{
}
 

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.