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

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

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

	.section xx,"aR",unique,0
	.byte 1