Page MenuHomeFreeBSD

Fix thread creation in PowerPC64 ELFv2 processes.

Authored by bdragon on Nov 25 2018, 9:18 AM.



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

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

bdragon created this revision.Nov 25 2018, 9:18 AM
bdragon updated this revision to Diff 51098.Nov 26 2018, 6:25 AM
bdragon edited the summary of this revision. (Show Details)

Fix ABI violation that was causing crash on thread exit.

jhibbits accepted this revision.Nov 27 2018, 4:20 AM


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.