RISC-V: Support GNU indirect functions.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-riscv-elf / ifunc-seperate-caller-pcrel.s
1 .text
2
3 # Call the IFUNC `foo` which is defined in the other modules.
4 .globl foo
5 .type foo, %function
6
7 .globl main
8 .type main, @function
9 main:
10 .L1:
11 auipc x1, %pcrel_hi (foo)
12 addi x1, x1, %pcrel_lo (.L1)
13 ret
14 .size main, .-main
This page took 0.032468 seconds and 4 git commands to generate.