Page MenuHomeFreeBSD

[PowerPC] Fix *context on ELFv2
ClosedPublic

Authored by bdragon on Nov 16 2019, 8:11 PM.
Referenced Files
Unknown Object (File)
Sun, Dec 28, 4:09 AM
Unknown Object (File)
Dec 10 2025, 10:05 PM
Unknown Object (File)
Nov 29 2025, 6:10 PM
Unknown Object (File)
Nov 27 2025, 2:40 AM
Unknown Object (File)
Nov 26 2025, 4:01 PM
Unknown Object (File)
Nov 24 2025, 8:29 PM
Unknown Object (File)
Nov 23 2025, 5:17 AM
Unknown Object (File)
Nov 21 2025, 10:38 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.