aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr18801.s
blob: 16d36dabe0ac93a75bd9a00bcc925ad0d3774043 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
	.text
	.type   selector, %function
foo:
	movl	$0, %eax
	ret
selector:
	movabs	$foo, %rax
	ret
	.type   selector, %gnu_indirect_function
	.globl	_start
_start:
	movabs	$selector, %rax
	call	*%rax
	ret
	.section	.note.GNU-stack,"",@progbits