aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pru/reloc_symbol.s
blob: 160a824b3e4d9177cfcf709970fb57852a10e105 (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
	.text
	.section .init0, "x"
	.global _start
_start:

# byte aligned
	.align 0
	.byte byte_sym

# short aligned
	.align 1
	.short short_sym

# word aligned
	.align 2
	.long  long_sym

# now lets try some unaligned words and halfwords
	.byte byte_sym
	.2byte short_sym
	.4byte  long_sym

#	.align 2
#	nop