summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/gotpcrel1d.S
blob: 4b0149992699d30213c9201fdfd76f059261c9da (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
	.text
	.globl	bar
	.type	bar, @function
bar:
	leaq	__FUNCTION__.2215(%rip), %rdi
	jmp   *puts@GOTPCREL(%rip)
	.size	bar, .-bar
	.globl	plt
	.type	plt, @function
plt:
	leaq	__FUNCTION__.2219(%rip), %rdi
	subq	$8, %rsp
	call   *puts@GOTPCREL(%rip)
	leaq	__FUNCTION__.2219(%rip), %rdi
	addq	$8, %rsp
	jmp	*puts@GOTPCREL(%rip)
	.size	plt, .-plt
	.section	.rodata
	.type	__FUNCTION__.2219, @object
	.size	__FUNCTION__.2219, 4
__FUNCTION__.2219:
	.string	"plt"
	.type	__FUNCTION__.2215, @object
	.size	__FUNCTION__.2215, 4
__FUNCTION__.2215:
	.string	"bar"