HomeFreeBSD

[PowerPC] Fix *context on ELFv2

Description

[PowerPC] Fix *context on ELFv2

Due to ELFv1 specific code in _ctx_start.S and makecontext.c, userspace
context switching was completely broken on ELFv2.

With this change, we now pass the libthr test suite.

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

Details

Provenance
bdragonAuthored on
Differential Revision
D22421: [PowerPC] Fix *context on ELFv2
Parents
rS354779: Actually hook CAM_IO_STATS up to the build
Branches
Unknown
Tags
Unknown