mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 21:19:54 +00:00
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.
19 lines
181 B
C
19 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];
|
|
}
|