aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-nios2/reloc_symbol.s
blob: fa7ac955458ad46d007717e650fddaa0cf18cec8 (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
.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