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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [ppc/] [test1elf.asm] - Blame information for rev 156

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

Line No. Rev Author Line
1 38 julius
dnl divert(-1)
2
ifdef(`ELF64',
3
`       define(`WORD',`.llong')
4
        define(`LDW',`ld')')
5
ifdef(`ELF32',
6
`       define(`WORD',`.long')
7
        define(`LDW',`lwz')')
8
dnl divert(0) dnl
9
 
10
define(`nl',`
11
') nl nl nl nl nl nl
12
 
13
        .section        ".data"
14
dsym0:  WORD    0xdeadbeef
15
dsym1:
16
 
17
ifdef(`ELF64',`
18
        .section        ".toc"
19
.L_tsym0:
20
        .tc     ignored0[TC],dsym0
21
.L_tsym1:
22
        .tc     ignored1[TC],dsym1
23
.L_tsym2:
24
        .tc     ignored2[TC],usym0
25
.L_tsym3:
26
        .tc     ignored3[TC],usym1
27
.L_tsym4:
28
        .tc     ignored4[TC],esym0
29
.L_tsym5:
30
        .tc     ignored5[TC],esym1
31
')
32
 
33
        .section        ".text"
34
        LDW     3,dsym0@l(3)
35
        LDW     3,dsym1@l(3)
36
        LDW     3,usym0@l(3)
37
        LDW     3,usym1@l(3)
38
        LDW     3,esym0@l(3)
39
        LDW     3,esym1@l(3)
40
 
41
ifdef(`ELF64',`
42
        LDW     3,.L_tsym0@toc(2)
43
        LDW     3,.L_tsym1@toc(2)
44
        LDW     3,.L_tsym2@toc(2)
45
        LDW     3,.L_tsym3@toc(2)
46
        LDW     3,.L_tsym4@toc(2)
47
        LDW     3,.L_tsym5@toc(2)
48
 
49
        lis     4,.L_tsym5@toc@ha
50
        LDW     3,.L_tsym5@toc@l(2)
51
')
52
 
53
        li      3,dsym1-dsym0
54
        li      3,dsym0-dsym1
55
        li      3,usym1-usym0
56
        li      3,usym0-usym1
57
        li      3,dsym0-usym0
58
        li      3,usym0-dsym0
59
 
60
        li      3,dsym0@l
61
        li      3,dsym0@h
62
        li      3,dsym0@ha
63
ifdef(`ELF64',`
64
        li      3,dsym0@higher
65
        li      3,dsym0@highera
66
        li      3,dsym0@highest
67
        li      3,dsym0@highesta
68
')
69
 
70
        li      3,usym0-usym1@l
71
        li      3,usym0-usym1@h
72
        li      3,usym0-usym1@ha
73
ifdef(`ELF64',`
74
        li      3,usym0-usym1@higher
75
        li      3,usym0-usym1@highera
76
        li      3,usym0-usym1@highest
77
        li      3,usym0-usym1@highesta
78
')
79
 
80
        LDW     3,dsym1-dsym0@l(4)
81
 
82
        LDW     3,.text@l(0)
83
 
84
        .section        ".data"
85
usym0:  WORD    0xcafebabe
86
usym1:
87
 
88
datpt:  .long   jk-.+10000000
89
dat0:   .long   jk-dat1
90
dat1:   .long   jk-dat1
91
dat2:   .long   jk-dat1
92
ifdef(`ELF64',`
93
dat3:   .llong  jk-dat1
94
dat4:   .llong  jk-dat1
95
')

powered by: WebSVN 2.1.0

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