Page MenuHomeFreeBSD

[PowerPC] Fix *context on ELFv2
ClosedPublic

Authored by bdragon on Nov 16 2019, 8:11 PM.
Referenced Files
F151243174: D22421.id64468.diff
Tue, Apr 7, 2:01 AM
F151234008: D22421.id64468.diff
Tue, Apr 7, 12:50 AM
Unknown Object (File)
Sun, Apr 5, 6:19 AM
Unknown Object (File)
Fri, Apr 3, 6:16 AM
Unknown Object (File)
Sat, Mar 21, 1:18 PM
Unknown Object (File)
Sat, Mar 21, 7:13 AM
Unknown Object (File)
Fri, Mar 20, 8:16 PM
Unknown Object (File)
Mar 5 2026, 8:08 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.