Don't hardcode offset of .shstrtab section
[deliverable/binutils-gdb.git] / ld / testsuite / ld-sh / sh64 / rel-2.s
1 ! Relative linking, second file.
2
3 ! fileFsectionN, with F in rel-F.s, and N in:
4 ! 1 - Same file and section.
5 ! 2 - Same file, different section.
6 ! 3 - Other file, same section.
7 ! 4 - Other file, other section.
8
9 .mode SHmedia
10 .text
11 .global start2
12 start2:
13 nop
14 .global file2text1
15 file2text1:
16 nop
17 movi file2text1 & 65535,r10
18 .global file2text2
19 file2text2:
20 movi file2data2 & 65535,r20
21 .global file2text3
22 file2text3:
23 movi file1text3 & 65535,r20
24 .global file2text4
25 file2text4:
26 movi file1data4 & 65535,r20
27 movi unresolved1 & 65535,r30
28 movi unresolved3 & 65535,r30
29
30 .data
31 .long 0
32 .global file2data1
33 file2data1:
34 .long 0
35 .long file2data1
36 .global file2data2
37 file2data2:
38 .long file2text2
39 .global file2data3
40 file2data3:
41 .long file1data3
42 .global file2data4
43 file2data4:
44 .long file1text4
45 .long unresolved2
46 .long unresolved4
This page took 0.064698 seconds and 4 git commands to generate.