aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/no-plt-extern1b.S
blob: 74389f87ec3efe469cc9925813f6d5fd56728885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
	.text
	.p2align 4,,15
	.globl	get_func
	.type	get_func, @function
get_func:
	movl	func@GOT, %eax
	ret
	.size	get_func, .-get_func
	.p2align 4,,15
	.globl	call_func
	.type	call_func, @function
call_func:
	jmp	*func@GOT
	.size	call_func, .-call_func
	.globl	func_p
	.data
	.align 4
	.type	func_p, @object
	.size	func_p, 4
func_p:
	.long	func
	.section	.note.GNU-stack,"",@progbits