HomeFreeBSD

Handle non-PLT GNU IFUNC relocations in rtld

Description

Handle non-PLT GNU IFUNC relocations in rtld

In the last IFUNC related changes to rtld, the code that handled non-PLT
GNU IFUNC relocations ended up getting lost. This could leave some
relocations unhandled, causing crashes or misbehavior. This change restores
the handling of these relocations, but now together with the other IFUNC
relocations, allowing resolvers to reference external symbols.

Reviewed by: kib
MFC after: 2 weeks
Sponsored by: Eldorado Research Institute (eldorado.org.br)
Differential Revision: https://reviews.freebsd.org/D25550

Details

Provenance
luporlAuthored on
Reviewer
kib
Differential Revision
D25550: Handle non-PLT GNU IFUNC relocations in rtld
Parents
rS362957: Fix description of the "\$" sequence for PS1
Branches
Unknown
Tags
Unknown