aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-frv/fdpic1.s
blob: fa8aa4824280e8c53f9da584d2df10733b28cf0e (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
	.text
	.weak _start
_start:
	.global F1
	.type F1,@function
F1:
	call	.F0

.F0:
.F1:
.F2:
.F3:
.F4:
.F5:
.F6:
.F7:
.F8:
.F9:
.Fa:
.Fb:
.Fc:
	addi	gr15, #got12(.F1), gr0
	
	setlos	#gotlo(.F2), gr0
	
	setlo	#gotlo(.F3), gr0
	sethi	#gothi(.F3), gr0

	addi	gr15, #gotfuncdesc12(.F4), gr0

	setlos	#gotfuncdesclo(.F5), gr0

	setlo	#gotfuncdesclo(.F6), gr0
	sethi	#gotfuncdeschi(.F6), gr0

	addi	gr15, #gotofffuncdesc12(.F7), gr0

	setlos	#gotofffuncdesclo(.F8), gr0

	setlo	#gotofffuncdesclo(.F9), gr0
	sethi	#gotofffuncdeschi(.F9), gr0

	addi	gr15, #gotoff12(.D1), gr0
	
	setlos	#gotofflo(.D2), gr0

	setlo	#gotofflo(.D3), gr0
	sethi	#gotoffhi(.D3), gr0

	setlo	#gotlo(.D4), gr0
	sethi	#gothi(.D4), gr0

	.data
	.global D1
D1:
	.word	.D0
	.section .data.rel.local
.D0:
.D1:
.D2:
.D3:
.D4:
	.picptr funcdesc(.Fb)
	.word	.Fb
	.section	.note.GNU-stack