aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr20244-1.s
blob: f22ce62fbc78365b069280d778c39503dd391331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
	.data
	.type	bar, @object
bar:
	.byte	1
	.size	bar, .-bar
	.globl	foo
	.type	foo, @object
foo:
	.byte	1
	.size	foo, .-foo
	.text
	.globl	_start
	.type	_start, @function
_start:
	movl	$0, bar@GOT
	cmpl	$0, foo@GOT
	movl	$bar@GOT, %ecx