aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ifunc/ifunc-2-local-x86-64.s
blob: 4137ff1e10d833fe7b424cbd860b47c2999733a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
	.type foo, %gnu_indirect_function
	.global __GI_foo
	.hidden __GI_foo
	.set __GI_foo, foo
	.text
.globl foo
	.type	foo, @function
foo:
	ret
	.size	foo, .-foo
.globl bar
	.type	bar, @function
bar:
	call	__GI_foo
	leaq	__GI_foo(%rip), %rax
	ret
	.size	bar, .-bar