summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr20244-2.s
blob: 283815a9e7e53371b95a2bc69d308df0af1d702d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
	.text
	.globl	foo
	.type	foo, @gnu_indirect_function
foo:
	ret
	.text
	.type	bar, @gnu_indirect_function
bar:
	ret
	.globl	_start
	.type	_start, @function
_start:
	call	*foo@GOT
	jmp	*bar@GOT
	movl	$0, bar@GOT
	cmpl	$0, foo@GOT
	movl	$bar@GOT, %ecx