aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/mov2.s
blob: 95e474f030930d129f2786e5db4bfb76d233dd09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
	.section	my_section,"aw",@progbits
	.long	0x12345678
	.text
	.globl	foo
	.type	foo, @function
foo:
	ret
	.size	foo, .-foo
	.globl	_start
	.type	_start, @function
_start:
	movq	foo@GOTPCREL+1(%rip), %rax
	movq	__start_my_section@GOTPCREL+1(%rip), %rax
	movq	__stop_my_section@GOTPCREL+1(%rip), %rax
	.size	_start, .-_start