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)
Sun, May 10, 6:55 PM
Unknown Object (File)
Fri, May 8, 8:06 PM
Unknown Object (File)
Fri, May 1, 10:24 PM
Unknown Object (File)
Fri, Apr 24, 5:11 AM
Unknown Object (File)
Thu, Apr 23, 8:37 PM
Unknown Object (File)
Tue, Apr 21, 11:06 AM
Unknown Object (File)
Sun, Apr 19, 9:10 PM
Unknown Object (File)
Sun, Apr 19, 12:02 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 Not Applicable
Unit
Tests Not Applicable

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.