HomeFreeBSD

powerpc: Kernel fixes for ppc32 and powerpcspe w/ lld

Description

powerpc: Kernel fixes for ppc32 and powerpcspe w/ lld

Fix wrong section ordering that was causing a ".got is not contiguous with
other relro sections" lld error. This also brings ldscript.powerpc and
ldscript.powerpcspe closer to ldscript.powerpc64.

Also, remove unnecessary text relocs from the ppc32 AIM trap code.

Approved by: jhibbits (mentor)
Differential Revision: https://reviews.freebsd.org/D22349

Details

Committed
bdragonNov 14 2019, 4:34 AM
Differential Revision
D22349: [PowerPC] Kernel fixes for ppc32 lld
Parents
rS354700: armv6 soft float build fixed
Branches
Unknown
Tags
Unknown