aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-frv/fdpic6.s
blob: cd8e1d0e35831204fb0d13d69ab79ad51453b74f (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
	.text
	.weak _start
_start:
	.weak WF0
	.weak WF1
	.weak WF2
	.weak WF3
	.weak WF4
	.weak WF5
	.weak WF6
	.weak WF7
	.weak WF8
	.weak WF9
	.weak WFb
	.weak WD0
	.weak WD1
	.weak WD2
	.global F6
	.type F6,@function
F6:
	call	WF0
	addi	gr15, #got12(WF1), gr0
	
	setlos	#gotlo(WF2), gr0
	
	setlo	#gotlo(WF3), gr0
	sethi	#gothi(WF3), gr0

	addi	gr15, #gotfuncdesc12(WF4), gr0

	setlos	#gotfuncdesclo(WF5), gr0

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

	addi	gr15, #gotofffuncdesc12(WF7), gr0

	setlos	#gotofffuncdesclo(WF8), gr0

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

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

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

	.data
	.global D6
D6:
	.word	WD0
	
	.picptr funcdesc(WFb)
	.word	WFb