Initial s390x relocation support (#515)
[pyelftools.git] / test / testfiles_for_readelf / s390x-relocs.c
1 /* This source was compiled for s390x.
2 gcc -c -o s390x-relocs.o.elf s390x-relocs.c -g
3 */
4
5 extern struct {
6 int i, j;
7 } data;
8
9 extern int bar (void);
10
11 int
12 foo (int a)
13 {
14 data.i += a;
15 data.j -= bar();
16 }