]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-riscv-elf/ifunc-reloc-call-01.s
RISC-V: Support GNU indirect functions.
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-riscv-elf / ifunc-reloc-call-01.s
1 .text
2
3 .type foo_resolver, @function
4 foo_resolver:
5 ret
6 .size foo_resolver, .-foo_resolver
7
8 .globl foo
9 .type foo, %gnu_indirect_function
10 .set foo, foo_resolver
11
12 .globl bar
13 .type bar, @function
14 bar:
15 call foo
16 ret
17 .size bar, .-bar