Set OSABI field back to 0 (SysV), to avoid interoperability problems
[nacl-binutils.git] / ld / testsuite / ld-frv / fdpic4.s
blob795ae45516eb22cc4c5c47c4e05cef5edd1a6fa5
1 .text
2 .weak _start
3 _start:
4 .global F4
5 .type F4,@function
6 F4:
7 call PF0
8 .global PF0
9 .protected PF0
10 .global PF1
11 .protected PF1
12 .global PF2
13 .protected PF2
14 .global PF3
15 .protected PF3
16 .global PF4
17 .protected PF4
18 .global PF5
19 .protected PF5
20 .global PF6
21 .protected PF6
22 .global PF7
23 .protected PF7
24 .global PF8
25 .protected PF8
26 .global PF9
27 .protected PF9
28 .global PFa
29 .protected PFa
30 .global PFb
31 .protected PFb
32 .global PFc
33 .protected PFc
34 PF0:
35 PF1:
36 PF2:
37 PF3:
38 PF4:
39 PF5:
40 PF6:
41 PF7:
42 PF8:
43 PF9:
44 PFa:
45 PFb:
46 PFc:
47 addi gr15, #got12(PF1), gr0
49 setlos #gotlo(PF2), gr0
51 setlo #gotlo(PF3), gr0
52 sethi #gothi(PF3), gr0
54 addi gr15, #gotfuncdesc12(PF4), gr0
56 setlos #gotfuncdesclo(PF5), gr0
58 setlo #gotfuncdesclo(PF6), gr0
59 sethi #gotfuncdeschi(PF6), gr0
61 addi gr15, #gotofffuncdesc12(PF7), gr0
63 setlos #gotofffuncdesclo(PF8), gr0
65 setlo #gotofffuncdesclo(PF9), gr0
66 sethi #gotofffuncdeschi(PF9), gr0
68 addi gr15, #gotoff12(PD1), gr0
70 setlos #gotofflo(PD2), gr0
72 setlo #gotofflo(PD3), gr0
73 sethi #gotoffhi(PD3), gr0
75 setlo #gotlo(PD4), gr0
76 sethi #gothi(PD4), gr0
78 .data
79 .global D4
80 D4:
81 .word PD0
83 .global PD0
84 .protected PD0
85 .global PD1
86 .protected PD1
87 .global PD2
88 .protected PD2
89 .global PD3
90 .protected PD3
91 .global PD4
92 .protected PD4
93 PD0:
94 PD1:
95 PD2:
96 PD3:
97 PD4:
98 .picptr funcdesc(PFb)
99 .word PFb