summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr27491-2.s
blob: a0975ff42c50c5f64102635769feb484380948dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
	.weak __start_xx
	.weak __stop_xx

	.text
	.global foo
foo:
	movq	__start_xx@gotpcrel(%rip), %rax
	movq	__stop_xx@gotpcrel(%rip), %rax
	leaq	bar1(%rip), %rax
	leaq	bar2(%rip), %rax

	.section xx,"a",unique,0
	.byte 0
bar1:
	.byte 0
bar2:
	.byte 0

	.section xx,"a",unique,1
	.byte 1