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)
Tue, Apr 16, 11:37 AM
Unknown Object (File)
Tue, Apr 16, 3:52 AM
Unknown Object (File)
Sun, Mar 24, 10:19 AM
Unknown Object (File)
Dec 22 2023, 11:06 PM
Unknown Object (File)
Dec 13 2023, 3:38 AM
Unknown Object (File)
Sep 24 2023, 10:15 AM
Unknown Object (File)
Jun 15 2023, 7:07 PM
Unknown Object (File)
Jun 3 2023, 7:48 AM
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.