aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-tic6x/shlib-app-1.s
blob: 3bb00079f8309fe7fe3851215097191453525aae (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
	.global a
	.text
	.nocmp
fish:
	ldw .d2t2 *+B14($DSBT_index(__c6xabi_DSBT_BASE)), B14
	callp .s2 sub0, B3
	b .s2 sub0
	callp .s2 fish, B3
	b .s2 fish
	ldw .d2t2 *+B14(a), B4
	ldw .d2t2 *+B14(b), B5
	ldw .d2t2 *+B14($GOT(a)), B6
	ldw .d2t2 *+B14($GOT(b)), B6
	mvkl .s1 $DPR_GOT(a), A4
	mvkh .s1 $DPR_GOT(a), A4
	mvkl .s1 $DPR_GOT(b), A5
	mvkh .s1 $DPR_GOT(b), A5
	.global	b
	.section	.neardata,"aw",@progbits
	.align	2
	.type	b, @object
	.size	b, 4
b:
	.long	0x12345678
	.weak	g1
	.weak	g2
	.type	w, @object
	.size	w, 8
w:
	.long	g1
	.long	g2
	.section	.note.GNU-stack