old-cross-binutils/ld/testsuite/ld-srec/sr2.c
Ian Lance Taylor 1b09c02b17 * ld-srec/srec.exp: New tests.
* ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files.
	* lib/ld.exp (ld_simple_link): Discard warnings about not being
	able to find the entry symbol.
1995-11-15 22:44:56 +00:00

18 lines
181 B
C

/* This file is compiled and linked into the S-record format. */
int e1;
int e2 = 1;
int
fn1 (s)
char *s;
{
return s[e1];
}
int
fn2 (s)
char *s;
{
return s[e2];
}