summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-frv/fdpic3.s
blob: f867b93d9a7a7bc163f06ce4def9bd14741a9fbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
	.text
	.weak _start
_start:
	.global F3
	.type F3,@function
F3:
	call	HF0
	.global HF0
	.hidden HF0
	.global HF1
	.hidden HF1
	.global HF2
	.hidden HF2
	.global HF3
	.hidden HF3
	.global HF4
	.hidden HF4
	.global HF5
	.hidden HF5
	.global HF6
	.hidden HF6
	.global HF7
	.hidden HF7
	.global HF8
	.hidden HF8
	.global HF9
	.hidden HF9
	.global HFa
	.hidden HFa
	.global HFb
	.hidden HFb
	.global HFc
	.hidden HFc
HF0:
HF1:
HF2:
HF3:
HF4:
HF5:
HF6:
HF7:
HF8:
HF9:
HFa:
HFb:
HFc:
	addi	gr15, #got12(HF1), gr0
	
	setlos	#gotlo(HF2), gr0
	
	setlo	#gotlo(HF3), gr0
	sethi	#gothi(HF3), gr0

	addi	gr15, #gotfuncdesc12(HF4), gr0

	setlos	#gotfuncdesclo(HF5), gr0

	setlo	#gotfuncdesclo(HF6), gr0
	sethi	#gotfuncdeschi(HF6), gr0

	addi	gr15, #gotofffuncdesc12(HF7), gr0

	setlos	#gotofffuncdesclo(HF8), gr0

	setlo	#gotofffuncdesclo(HF9), gr0
	sethi	#gotofffuncdeschi(HF9), gr0

	addi	gr15, #gotoff12(HD1), gr0
	
	setlos	#gotofflo(HD2), gr0

	setlo	#gotofflo(HD3), gr0
	sethi	#gotoffhi(HD3), gr0

	setlo	#gotlo(HD4), gr0
	sethi	#gothi(HD4), gr0

	.data
	.global D3
D3:
	.word	HD0
	
	.global HD0
	.hidden HD0
	.global HD1
	.hidden HD1
	.global HD2
	.hidden HD2
	.global HD3
	.hidden HD3
	.global HD4
	.hidden HD4
HD0:
HD1:
HD2:
HD3:
HD4:
	.picptr funcdesc(HFb)
	.word	HFb