#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)
Change History (2)
comment:1 Changed on 11/08/05 at 02:43:46 by strauman
Owner: | changed from joel to till |
---|---|
Status: | assigned → closed |
Changed on 12/03/06 at 13:31:12 by strauman
Attachment: | ppc-r1-from-frame.diff added |
---|
ppc-r1-from-frame.diff
Note: See
TracTickets for help on using
tickets.
State-Changed-From-To: open->closed
State-Changed-Why: applied to 4.6 branch and head