summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-tic6x/shlib-2.s
blob: 3d786dd298bed62c3cde2522555a96f2d2fcfa9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
	.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