* elf32-m32c.c (m32c_offset_for_reloc): Fix local symbol
[binutils.git] / ld / testsuite / ld-frv / fdpic8.s
blob037250fae8c2c43bc867f766c4713e7ea6745483
1 .text
2 .weak _start
3 _start:
4 .global F8
5 .type F8,@function
6 F8:
7 call GF0+4
8 .global GF0
9 .global GF1
10 .global GF2
11 .global GF3
12 .global GF4
13 .global GF5
14 .global GF6
15 .global GF7
16 .global GF8
17 .global GF9
18 .global GFa
19 .global GFb
20 .global GFc
21 GF0:
22 GF1:
23 GF2:
24 GF3:
25 GF4:
26 GF5:
27 GF6:
28 GF7:
29 GF8:
30 GF9:
31 GFa:
32 GFb:
33 GFc:
34 addi gr15, #got12(GF1+4), gr0
36 setlos #gotlo(GF2+4), gr0
38 setlo #gotlo(GF3+4), gr0
39 sethi #gothi(GF3+4), gr0
41 addi gr15, #gotfuncdesc12(GF4+4), gr0
43 setlos #gotfuncdesclo(GF5+4), gr0
45 setlo #gotfuncdesclo(GF6+4), gr0
46 sethi #gotfuncdeschi(GF6+4), gr0
48 addi gr15, #gotofffuncdesc12(GF7+4), gr0
50 setlos #gotofffuncdesclo(GF8+4), gr0
52 setlo #gotofffuncdesclo(GF9+4), gr0
53 sethi #gotofffuncdeschi(GF9+4), gr0
55 addi gr15, #gotoff12(GD1+4), gr0
57 setlos #gotofflo(GD2+4), gr0
59 setlo #gotofflo(GD3+4), gr0
60 sethi #gotoffhi(GD3+4), gr0
62 setlo #gotlo(GD4+4), gr0
63 sethi #gothi(GD4+4), gr0
65 .data
66 .global D8
67 D8:
68 .word GD0+4
70 .global GD0
71 .global GD1
72 .global GD2
73 .global GD3
74 .global GD4
75 GD0:
76 GD1:
77 GD2:
78 GD3:
79 GD4:
80 .picptr funcdesc(GFb+4)
81 .word GFb+4