Page MenuHomeFreeBSD

[PowerPC] Fix *context on ELFv2
ClosedPublic

Authored by bdragon on Nov 16 2019, 8:11 PM.

Details

Summary

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

With this, we now pass the libthr test suite.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

bdragon created this revision.Nov 16 2019, 8:11 PM
jhibbits accepted this revision.Nov 16 2019, 8:17 PM
This revision is now accepted and ready to land.Nov 16 2019, 8:17 PM
This revision was automatically updated to reflect the committed changes.