summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-nds32/diff.s
blob: a2844b7c82a2b604c4635484f8d5cc69d6451ec2 (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	_start
	.global	WORD
	.global	HALF
	.global	BYTE
	.global	ULEB128
.text
_start:
	nop
.L0:
	l.w	$r0, WORD
	.zero	122
.L1:
	nop

.section	code, "ax"
FOO:
	ret

.data
WORD:
	.word		.L1-.L0
HALF:
	.half		.L1-.L0
BYTE:
	.byte		.L1-.L0
ULEB128:
	.uleb128	.L1-.L0
ULEB128_2:
	.uleb128	.L1-.L0
	.align 2
PAD:
	.long		0