diff options
Diffstat (limited to 'ld/testsuite/ld-riscv-elf/ifunc-seperate-resolver.s')
-rw-r--r-- | ld/testsuite/ld-riscv-elf/ifunc-seperate-resolver.s | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-riscv-elf/ifunc-seperate-resolver.s b/ld/testsuite/ld-riscv-elf/ifunc-seperate-resolver.s new file mode 100644 index 00000000000..a2228473422 --- /dev/null +++ b/ld/testsuite/ld-riscv-elf/ifunc-seperate-resolver.s @@ -0,0 +1,11 @@ + .text + + .type foo_resolver, @function +foo_resolver: + ret + .size foo_resolver, .-foo_resolver + + # The ifunc `foo` is called by the ifunc-caller. + .globl foo + .type foo, %gnu_indirect_function + .set foo, foo_resolver |