aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/mov2.s
blob: 3fa06ceec8eb4e4755d6936aae4af5f92e88dcce (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:
	movl	foo@GOT+1(%ecx), %eax
	movl	__start_my_section@GOT+1(%ecx), %eax
	movl	__stop_my_section@GOT+1(%ecx), %eax
	.size	_start, .-_start