file config.texi was initially added on branch binutils-2_17-branch.
[binutils.git] / ld / testsuite / ld-sh / sh64 / rel-1.s
blob6cf18ca0dd635bf6a5c381d88dfa2ab3ffe84977
1 ! Relative linking, simple files with global symbols but nothing really
2 ! strange. Reference from same and other file to .text and .data in
3 ! different combinations.
5 ! fileFsectionN, with F in rel-F.s, and N in:
6 ! 1 - Same file and section.
7 ! 2 - Same file, different section.
8 ! 3 - Other file, same section.
9 ! 4 - Other file, other section.
11 .mode SHmedia
12 .text
13 .global start
14 start:
15 nop
16 .global file1text1
17 file1text1:
18 nop
19 movi file1text1 & 65535,r10
20 .global file1text2
21 file1text2:
22 movi file1data2 & 65535,r20
23 .global file1text3
24 file1text3:
25 movi file2text3 & 65535,r20
26 .global file1text4
27 file1text4:
28 movi file2data4 & 65535,r20
29 movi unresolved1 & 65535,r40
30 movi unresolved6 & 65535,r30
32 .data
33 .long 0
34 .global file1data1
35 file1data1:
36 .long 0
37 .long file1data1
38 .global file1data2
39 file1data2:
40 .long file1text2
41 .global file1data3
42 file1data3:
43 .long file2data3
44 .global file1data4
45 file1data4:
46 .long file2text4
47 .long unresolved2
48 .long unresolved5