aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-frv/fdpic5.s
blob: f4d466a82e034fb8c8fffe13df1a795115c7140b (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
	.text
	.weak _start
_start:
	.global F5
	.type F5,@function
F5:
	call	UF0
	addi	gr15, #got12(UF1), gr0
	
	setlos	#gotlo(UF2), gr0
	
	setlo	#gotlo(UF3), gr0
	sethi	#gothi(UF3), gr0

	addi	gr15, #gotfuncdesc12(UF4), gr0

	setlos	#gotfuncdesclo(UF5), gr0

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

	addi	gr15, #gotofffuncdesc12(UF7), gr0

	setlos	#gotofffuncdesclo(UF8), gr0

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

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

	.data
	.global D5
D5:
	.word	UD0
	
	.picptr funcdesc(UFb)
	.word	UFb