Set OSABI field back to 0 (SysV), to avoid interoperability problems
[nacl-binutils.git] / ld / testsuite / ld-frv / fdpic1.s
blob29f7fff8703974f886060d2a734114d3b4bdac72
1 .text
2 .weak _start
3 _start:
4 .global F1
5 .type F1,@function
6 F1:
7 call .F0
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
24 setlos #gotlo(.F2), gr0
26 setlo #gotlo(.F3), gr0
27 sethi #gothi(.F3), gr0
29 addi gr15, #gotfuncdesc12(.F4), gr0
31 setlos #gotfuncdesclo(.F5), gr0
33 setlo #gotfuncdesclo(.F6), gr0
34 sethi #gotfuncdeschi(.F6), gr0
36 addi gr15, #gotofffuncdesc12(.F7), gr0
38 setlos #gotofffuncdesclo(.F8), gr0
40 setlo #gotofffuncdesclo(.F9), gr0
41 sethi #gotofffuncdeschi(.F9), gr0
43 addi gr15, #gotoff12(.D1), gr0
45 setlos #gotofflo(.D2), gr0
47 setlo #gotofflo(.D3), gr0
48 sethi #gotoffhi(.D3), gr0
50 setlo #gotlo(.D4), gr0
51 sethi #gothi(.D4), gr0
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