aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr19609-1.s
blob: 91cc13038c192cb1678506fbb05980d5762aefd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
	.text
	.weak bar
	.globl	_start
	.type	_start, @function
_start:
	cmp	bar@GOTPCREL(%rip), %rax
	cmp	bar@GOTPCREL(%rip), %ecx
	cmp	bar@GOTPCREL(%rip), %r11
	cmp	bar@GOTPCREL(%rip), %r12d

	mov	bar@GOTPCREL(%rip), %rax
	mov	bar@GOTPCREL(%rip), %ecx
	mov	bar@GOTPCREL(%rip), %r11
	mov	bar@GOTPCREL(%rip), %r12d

	test	%rax, bar@GOTPCREL(%rip)
	test	%ecx, bar@GOTPCREL(%rip)
	test	%r11, bar@GOTPCREL(%rip)
	test	%r12d, bar@GOTPCREL(%rip)
	.size	_start, .-_start