summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr19031b.S
blob: ccc91258729d6642c5eb80c4bec312a71b5853bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
	.text
	.globl g
	.type g, @function
g:
	movq f@GOTPCREL(%rip), %rax
	retq

	.globl h
	.type h, @function
h:
	leaq zed, %rax
	movslq zed, %rbx
	addq %rbx, %rax
	retq

	.data
zed:
        .long f - .