aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-msp430-elf/reloc-lo-430x.s
blob: 8709e797d14ad8028462828ba4a6d9dd0a053cff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.text
	.balign 2
	.global	foo
	.type	foo, @function
foo:
  MOV.W	#lo (P), R8
	RETA
	.size	foo, .-foo

	.balign 2
	.global	main
	.type	main, @function
main:
	CALLA	#foo
.L4:
	BRA	#.L4
	.size	main, .-main
	.section	.bss,"aw",@nobits
	.balign 2
	.global	P
P:
	.zero 4