HomeFreeBSD

riscv: implement kernel ifunc resolution

Description

riscv: implement kernel ifunc resolution

This completes the set of architectures implementing this feature.

Move the calls to sched_instance_select() and link_elf_ireloc() later in
initriscv(), after identify_cpu(0). There will be more information
available to any resolver functions at this time.

Reviewed by: imp, kib
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55082

Details

Provenance
mhorneAuthored on Feb 5 2026, 4:11 PM
Reviewer
imp
Differential Revision
D55082: riscv: implement kernel ifunc resolution
Parents
rG157d6664aeb8: diff: Correctly declare tests
Branches
Unknown
Tags
Unknown