summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-riscv-elf/ifunc-reloc-call-02.s
blob: e493c47341a73c20684d46fbc2e48a520f7d3954 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
	.text

	.type	foo_resolver, @function
foo_resolver:
	ret
	.size	foo_resolver, .-foo_resolver

	.globl	foo
	.type	foo, %gnu_indirect_function
	.set	foo, foo_resolver

	.globl	bar
	.type	bar, @function
bar:
	call	foo@plt
	call	foo
	ret
	.size	bar, .-bar