Page MenuHomeFreeBSD

Fix thread creation in PowerPC64 ELFv2 processes.
ClosedPublic

Authored by bdragon on Nov 25 2018, 9:18 AM.
Referenced Files
Unknown Object (File)
Wed, Aug 6, 3:12 PM
Unknown Object (File)
Mon, Aug 4, 8:21 AM
Unknown Object (File)
Thu, Jul 24, 12:10 PM
Unknown Object (File)
Jul 7 2025, 12:34 PM
Unknown Object (File)
Jul 7 2025, 5:37 AM
Unknown Object (File)
Jul 5 2025, 10:31 AM
Unknown Object (File)
Jul 1 2025, 9:07 PM
Unknown Object (File)
Jun 27 2025, 8:19 PM
Subscribers

Details

Summary

Currently, the upcall used to create threads assumes ELFv1.

Instead, we should check which sysentvec is in use on the process and act accordingly.

This makes ELFv2 threaded processes work.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

bdragon edited the summary of this revision. (Show Details)

Fix ABI violation that was causing crash on thread exit.

This revision is now accepted and ready to land.Nov 27 2018, 4:20 AM
This revision was automatically updated to reflect the committed changes.