Fix exception stack frame for or1k

- We do not need a red zone here, as we do not operate on the current
  stack, but always use the clear exception stack. Also reserve two
  extra words for the context to store EPCR and ESR.

    * or1k/crt0.S: Fix exception stack frame
    * or1k/exception-asm.S: ditto
This commit is contained in:
Jeff Johnston
2015-05-26 15:21:52 -04:00
committed by Corinna Vinschen
parent 132030fcf2
commit a6342974b0
3 changed files with 8 additions and 3 deletions

View File

@ -24,7 +24,7 @@
*/
/* -------------------------------------------------------------------------- */
// Warning - this must be the same as specified in crt0.S
#define EXCEPTION_STACK_SIZE 128+128
#define EXCEPTION_STACK_SIZE 136
.extern _or1k_exception_handler_table