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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [sh/] [sh64/] [datal-2.s] - Blame information for rev 856

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
! Check "datalabel" qualifier.
2
! This is the most simple use; references to local symbols where it is
3
! completely redundant.  Code tests are for SHcompact mode.
4
 
5
        .mode SHcompact
6
        .text
7
start:
8
        mova datalabel litpool1,r0
9
start1:
10
        mova datalabel litpool2 + 44,r0
11
start2:
12
        nop
13
        nop
14
litpool1:
15
        .long datalabel myrodata1
16
litpool2:
17
        .long datalabel myrodata2 + 20
18
        .long DATALABEL start1
19
        .long datalabel start2+42
20
        .long DataLabel $
21
        .long datalabel $+20
22
 
23
        .section .rodata
24
        .long datalabel foo4
25
myrodata1:
26
        .long DataLabel foo5 + 56
27
        .global myrodata2
28
myrodata2:
29
        .long datalabel $
30
        .long datalabel $+20
31
 
32
        .data
33
        .long DATALABEL myrodata2
34
foo:
35
        .long datalabel $
36
        .global foo2
37
foo2:
38
        .long datalabel $+20
39
        .global foo3
40
foo3:
41
        .long DataLabel foo2
42
foo4:
43
        .long datalabel foo3+20
44
foo5:
45
        .long DATALABEL start1
46
        .long datalabel start2+20

powered by: WebSVN 2.1.0

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