aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ifunc/ifunc-21-i386.s
blob: e1af10615a9df63107f7cafef8c5d07f4ad8b436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
	.text
	.type start,"function"
	.global start
start:
	.type _start,"function"
	.global _start
_start:
	.type __start,"function"
	.global __start
__start:
	.type __start,"function"
	call	.L6
.L6:
	popl	%ebx
	addl	$_GLOBAL_OFFSET_TABLE_+[.-.L6], %ebx
	mov	foo@GOT(%ebx), %eax
	mov	bar@GOT(%ebx), %eax
	.type	foo, %gnu_indirect_function
foo:
	ret
	.type	bar, %function
bar:
	ret