summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-srec/sr2.c
blob: 5736cfa468d7035af384dbbb56f6cdf028ce6966 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* 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];
}