#834 closed defect (fixed)

PPC BSP exception handler stack popping fix

Reported by: strauman Owned by: strauman
Priority: lowest Milestone: 2
Component: bsps Version: 4.6
Severity: normal Keywords:
Cc: bugs@… Blocked By:
Blocking:

Description

The PPC ('new') exception handler pops the exception frame by adding a fixed offset (frame size) to the stack pointer (r1). If the exception handler modifies the stack (e.g., gdb does this when 'pushing a dummy frame') this algorithm is incorrect.
The fix reloads r1/SP from the info stored in the exception frame itself.

Release:
4.6.2

Attachments (1)

ppc-r1-from-frame.diff (898 bytes) - added by strauman on Dec 3, 2006 at 1:31:12 PM.
ppc-r1-from-frame.diff

Download all attachments as: .zip

Change History (2)

comment:1 Changed on Nov 8, 2005 at 2:43:46 AM by strauman

Owner: changed from joel to till
Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: applied to 4.6 branch and head

Changed on Dec 3, 2006 at 1:31:12 PM by strauman

Attachment: ppc-r1-from-frame.diff added

ppc-r1-from-frame.diff

Note: See TracTickets for help on using tickets.