1b09c02b17
* 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.
18 lines
181 B
C
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];
|
|
}
|