aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ifunc/ifunc-22-i386.s
blob: 2e3202d4a81749824ab8a0d36997acc1be81e113 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
	.text
	.type start,"function"
	.global start
start:
	.type _start,"function"
	.global _start
_start:
	.type __start,"function"
	.global __start
__start:
	.type __start,"function"
	call	*foo@GOT(%ebx)
	jmp	*foo@GOT(%ebx)
	add	foo@GOT(%ebx), %eax
	mov	foo@GOT(%ebx), %eax
	test	%eax, foo@GOT(%ebx)
	mov	bar@GOT(%ebx), %eax
	.global	foo
	.type	foo, %gnu_indirect_function
foo:
	ret
	.type	bar, %function
bar:
	ret