darling-gdb/ld/testsuite/ld-srec/sr1.c
Ian Lance Taylor 12bfa0bcf5 * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.
* ld-srec/sr1.c (V_SPILL, V_FILL): Define.
	* ld-srec/sr3.cc: Likewise.
1995-11-27 19:39:09 +00:00

38 lines
442 B
C

/* 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;
}
int
__main ()
{
}
/* V_SPILL and V_FILL are used by a29k-amd-udi. */
int
V_SPILL ()
{
}
int
V_FILL ()
{
}