Ppc fixes #11
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ariadne/libucontext#11
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "ppc-fixes"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
This fixes a number of issues in the PPC32/PPC64 ports.
makecontext
, particularly for PPC64.getcontext
at least cannot be correctly written in C. If it spills its return address to the stack, it can be clobbered before the context is restored withsetcontext
orswapcontext
. This results in the second return fromgetcontext
returning to the wrong location.