Upload Tizen:Base source
[external/binutils.git] / ld / testsuite / ld-frv / fdpic1.s
1         .text
2         .weak _start
3 _start:
4         .global F1
5         .type F1,@function
6 F1:
7         call    .F0
8
9 .F0:
10 .F1:
11 .F2:
12 .F3:
13 .F4:
14 .F5:
15 .F6:
16 .F7:
17 .F8:
18 .F9:
19 .Fa:
20 .Fb:
21 .Fc:
22         addi    gr15, #got12(.F1), gr0
23         
24         setlos  #gotlo(.F2), gr0
25         
26         setlo   #gotlo(.F3), gr0
27         sethi   #gothi(.F3), gr0
28
29         addi    gr15, #gotfuncdesc12(.F4), gr0
30
31         setlos  #gotfuncdesclo(.F5), gr0
32
33         setlo   #gotfuncdesclo(.F6), gr0
34         sethi   #gotfuncdeschi(.F6), gr0
35
36         addi    gr15, #gotofffuncdesc12(.F7), gr0
37
38         setlos  #gotofffuncdesclo(.F8), gr0
39
40         setlo   #gotofffuncdesclo(.F9), gr0
41         sethi   #gotofffuncdeschi(.F9), gr0
42
43         addi    gr15, #gotoff12(.D1), gr0
44         
45         setlos  #gotofflo(.D2), gr0
46
47         setlo   #gotofflo(.D3), gr0
48         sethi   #gotoffhi(.D3), gr0
49
50         setlo   #gotlo(.D4), gr0
51         sethi   #gothi(.D4), gr0
52
53         .data
54         .global D1
55 D1:
56         .word   .D0
57         .section .data.rel.local
58 .D0:
59 .D1:
60 .D2:
61 .D3:
62 .D4:
63         .picptr funcdesc(.Fb)
64         .word   .Fb