aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-tic6x/shlib-2.s
blob: e6eba01c93a5e3646e2f5aa844f7ef4de5df0159 (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
	.weak a
	.weak b

	.text
	.nocmp
	.align	2
	.global	sub
	.type	sub, @function
sub:
		sub	.d2	B15, 16, B15
		stw	.d2t1	A4, *+B15(12)
		ldw	.d2t1	*+B15(12), A0
		nop	4
		add	.d1	A0, 10, A0
		mv	.d1	A0, A4
		add	.d2	B15, 16, B15
		ret	.s2	B3
		ldw .d2t2 *+B14($GOT(a)), B6
		ldw .d2t2 *+B14($GOT(b)), B7
		ldw .d2t2 *+B14($GOT(c)), B8
		ldw .d2t2 *+B14(c), B9
		nop	1
	.size	sub, .-sub
	.section	.note.GNU-stack