Sign in
gnu
/
binutils-gdb
/
047ab79212fa6e8e17503d38f2a813546ea17bf2
/
.
/
ld
/
testsuite
/
ld-riscv-elf
/
ifunc-seperate-caller-pcrel.s
blob: 2d29bcd121b0df63e6b6d727c8ee8bd0575c788c [
file
] [
log
] [
blame
]
.text
# Call the IFUNC `foo` which is defined in the other modules.
.globl foo
.type foo
,
%
function
.globl main
.type main
,
@
function
main
:
.L1
:
auipc x1
,
%pcrel_hi
(
foo
)
addi x1
,
x1
,
%pcrel_lo
(
.L1
)
ret
.size main
,
.
-
main