Page MenuHomeFreeBSD

[PowerPC] Fix *context on ELFv2
ClosedPublic

Authored by bdragon on Nov 16 2019, 8:11 PM.
Referenced Files
Unknown Object (File)
Wed, Oct 29, 12:53 PM
Unknown Object (File)
Tue, Oct 28, 1:26 AM
Unknown Object (File)
Tue, Oct 28, 1:26 AM
Unknown Object (File)
Tue, Oct 28, 1:26 AM
Unknown Object (File)
Mon, Oct 27, 7:31 PM
Unknown Object (File)
Wed, Oct 22, 9:55 PM
Unknown Object (File)
Sun, Oct 19, 10:33 PM
Unknown Object (File)
Sep 30 2025, 12:07 AM
Subscribers

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 - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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.