summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr18801.s
blob: ac3377dc6201ec913bc95dd0d91aa1cb7edb5517 (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:
	mov	$foo, %eax
	ret
	.type   selector, %gnu_indirect_function
	.globl	_start
_start:
	mov	$selector, %eax
	call	*%eax
	ret
	.section	.note.GNU-stack,"",@progbits