aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/ifunc-2.s
blob: da350df63158ae75b58b6d46df78470fc37fe0cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
	.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:
	bl	__GI_foo
        adrp    x0, __GI_foo
        add     x0, x0, :lo12:__GI_foo
	ret
	.size	bar, .-bar