HomeFreeBSD

powerpc: Fix ELFv2 JMP_SLOT relocation fixup

Description

powerpc: Fix ELFv2 JMP_SLOT relocation fixup

The jump slot is a function pointer, not a descriptor pointer, in ELFv2. Just
write the pointer itself over, not the contents of the pointer, which would be
the first instruction of the function.

Details

Provenance
jhibbitsAuthored on Dec 6 2018, 4:30 AM
Parents
rG7c4f1a1c5ac0: powerpc/powermac: Fix macgpio(4) child interrupt resource handling
Branches
Unknown
Tags
Unknown

Event Timeline