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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [m32r/] [pic.s] - Blame information for rev 832

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

Line No. Rev Author Line
1 38 julius
        .section .text
2
# R_M32R_GOTPC24
3
pic_gotpc:
4
        bl.s .+4
5
        ld24 r12,#_GLOBAL_OFFSET_TABLE_
6
        add r12,lr
7
 
8
# R_M32R_GOTPC_HI_ULO
9
# R_M32R_GOTPC_HI_SLO
10
# R_M32R_GOTPC_LO
11
pic_gotpc_slo:
12
        bl.s .+4
13
        seth r12,#shigh(_GLOBAL_OFFSET_TABLE_)
14
        add3 r12,r12,#low(_GLOBAL_OFFSET_TABLE_+4)
15
        add r12,lr
16
 
17
pic_gotpc_ulo:
18
        bl.s .+4
19
        seth r12,#high(_GLOBAL_OFFSET_TABLE_)
20
        or3 r12,r12,#low(_GLOBAL_OFFSET_TABLE_+4)
21
        add r12,lr
22
 
23
# R_M32R_GOT24
24
pic_got:
25
        .global sym
26
        ld24 r0,#sym
27
 
28
# R_M32R_GOT16_HI_ULO
29
# R_M32R_GOT16_HI_SLO
30
# R_M32R_GOT16_LO
31
pic_got16:
32
        .global sym2
33
        seth r12,#shigh(sym2)
34
        add3 r12,r12,#low(sym2+4)
35
        seth r12,#high(sym2)
36
        or3 r12,r12,#low(sym2+4)
37
 
38
# R_M32R_26_PLTREL
39
pic_plt:
40
        .global func
41
        bl func
42
 
43
        .end

powered by: WebSVN 2.1.0

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