HomeFreeBSD

rtld/powerpc: Fix _rtld_bind_start for powerpcspe

Description

rtld/powerpc: Fix _rtld_bind_start for powerpcspe

Summary:
We need to save off the full 64-bit register, not just the low 32 bits,
of all registers getting saved off in _rtld_bind_start. Additionally,
we need to save off the other SPE registers (SPEFSCR and accumulator),
so that their program state is not affected by the PLT resolver.

Reviewed by: bdragon
Differential Revision: https://reviews.freebsd.org/D22520

Details

Provenance
jhibbitsAuthored on
Reviewer
bdragon
Differential Revision
D22520: rtld/powerpc: Fix _rtld_bind_start for powerpcspe
Parents
rS355044: MFC r354978:
Branches
Unknown
Tags
Unknown