aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr20800a.S
blob: 95024e280e5b488fbba72f2e4af27d0e95dcf792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
	.text
	.globl	main
	.type	main, @function
main:
.L2:
	leaq	.L2(%rip), %rax
	movabsq	$_GLOBAL_OFFSET_TABLE_-.L2, %r11
	movabsq	$bar@PLTOFF, %rdx
	pushq	%r15
	addq	%r11, %rax
	movq	%rax, %r15
	addq	%rax, %rdx
	call	*%rdx
	xorl	%eax, %eax
	popq	%r15
	ret
	.size	main, .-main
	.section	.note.GNU-stack