summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr23854.s
blob: 565e747be0d7fce15cb9eed3257cd556bd971fa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
	.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:
	adcw	bar@GOT(%ecx), %ax
	addw	bar@GOT(%ecx), %bx
	andw	bar@GOT(%ecx), %cx
	cmpw	bar@GOT(%ecx), %dx
	orw	bar@GOT(%ecx), %di
	sbbw	bar@GOT(%ecx), %si
	subw	bar@GOT(%ecx), %bp
	xorw	bar@GOT(%ecx), %sp
	testw	%cx, bar@GOT(%ecx)
	adcw	foo@GOT(%ecx), %ax
	addw	foo@GOT(%ecx), %bx
	andw	foo@GOT(%ecx), %cx
	cmpw	foo@GOT(%ecx), %dx
	orw	foo@GOT(%ecx), %di
	sbbw	foo@GOT(%ecx), %si
	subw	foo@GOT(%ecx), %bp
	xorw	foo@GOT(%ecx), %sp
	testw	%cx, foo@GOT(%ecx)
	.size	_start, .-_start