]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/tic80/relocs1.c
2002-10-04 Michael Snyder <msnyder@redhat.com>
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / tic80 / relocs1.c
1 extern int xfunc (int y);
2
3 static int sfunc (int y)
4 {
5 xfunc (y);
6 }
7
8 int gfunc (int y)
9 {
10 sfunc (y);
11 }
12
13 int branches (int y)
14 {
15 int z;
16
17 for (z = y; z < y + 10; z++)
18 {
19 if (z & 0x1)
20 {
21 gfunc (z);
22 }
23 else
24 {
25 xfunc (z);
26 }
27 }
28 }