Page MenuHomeFreeBSD

[PowerPC] Fix *context on ELFv2
ClosedPublic

Authored by bdragon on Nov 16 2019, 8:11 PM.
Referenced Files
Unknown Object (File)
Tue, Sep 30, 12:07 AM
Unknown Object (File)
Sep 16 2025, 11:22 AM
Unknown Object (File)
Sep 8 2025, 3:49 AM
Unknown Object (File)
Jul 8 2025, 5:39 AM
Unknown Object (File)
Jun 27 2025, 4:47 AM
Unknown Object (File)
Jun 15 2025, 9:47 AM
Unknown Object (File)
Jun 15 2025, 7:54 AM
Unknown Object (File)
Jun 13 2025, 10:17 PM
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.