HomeFreeBSD

Skip IRELATIVE relocations when loader processes ELF files.

Description

Skip IRELATIVE relocations when loader processes ELF files.

ifuncs can be only called in the (early boot) kernel environment, so
postpone resolving until early stage of the kernel boot. This commit
is performed in advance to make loaders on most machines updated
before ifuncs appear in the kernels.

Reviewed by: emaste, jhb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D13838

Details

Provenance
kibAuthored on
Reviewer
emaste
Differential Revision
D13838: Implement ifunc support for x86, use it to enable SMAP on amd64.
Parents
rS327821: Softlink inodes can own buffers with dependencies.
Branches
Unknown
Tags
Unknown