aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-gc/start3.s
blob: 0e720ba3fb04e3cba7044059a26d46a2580ac01e (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
	.text
	.global _start
_start:
	.dc.a foo
 .ifdef UNDERSCORE
	.dc.a ___start_xx, ___stop_xx
 .else
	.dc.a __start_xx, __stop_xx
 .endif

	.section .text,"axG",%progbits,foo_group
	.global foo
foo:
	.dc.a 0

	.section xx,"aG",%progbits,foo_group
	.global foo_xx
foo_xx:
	.dc.a 1

	.section .text,"axG",%progbits,bar_group
	.global bar
bar:
	.dc.a 2

	.section xx,"aG",%progbits,bar_group
	.global bar_xx
bar_xx:
	.dc.a 3