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, Nov 24, 1:47 PM
Unknown Object (File)
Nov 6 2024, 3:18 PM
Unknown Object (File)
Nov 6 2024, 2:34 PM
Unknown Object (File)
Oct 22 2024, 11:45 PM
Unknown Object (File)
Oct 4 2024, 11:39 PM
Unknown Object (File)
Oct 2 2024, 4:11 PM
Unknown Object (File)
Oct 2 2024, 5:37 AM
Unknown Object (File)
Oct 1 2024, 1: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 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.