OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-sh/] [sh64/] [rel-1.s] - Blame information for rev 818

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
! 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.
4
 
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.
10
 
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
31
 
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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.