aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-msp430-elf/upper-input-sections.s
blob: c816f30248013750da4b39415db4292306b7f2cf (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
33
.text
	.balign 2
  .section .upper.text,"ax",@progbits
	.global	foo
	.type	foo, @function
foo:
  MOV.W	#42, R8
	RETA
	.size	foo, .-foo

	.balign 2
	.global	main
	.type	main, @function
main:
	CALLA	#foo
.L4:
	BRA	#.L4
	.size	main, .-main
	.section	.upper.bss,"aw",@nobits
	.balign 2
	.global	P
P:
	.zero 4
	.section	.upper.data,"aw",@progbits
	.balign 2
	.global	Q
Q:
	.long 4
	.section	.upper.rodata,"aw",@progbits
	.balign 2
	.global	R
R:
	.word 8