diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2015-05-26 15:21:52 -0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2015-05-26 15:21:52 -0400 |
commit | 3d4342d19389c433b85eaeb383ae924d918fa0c6 (patch) | |
tree | 6ebd53aa6e239266a9dc7ab76b6e251c7282b007 /libgloss/or1k/exceptions-asm.S | |
parent | f4d7fbe5a1cd2e53ac2bfc3e96be38d3f2d1e650 (diff) | |
download | cygnal-3d4342d19389c433b85eaeb383ae924d918fa0c6.tar.gz cygnal-3d4342d19389c433b85eaeb383ae924d918fa0c6.tar.bz2 cygnal-3d4342d19389c433b85eaeb383ae924d918fa0c6.zip |
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
Diffstat (limited to 'libgloss/or1k/exceptions-asm.S')
-rw-r--r-- | libgloss/or1k/exceptions-asm.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/or1k/exceptions-asm.S b/libgloss/or1k/exceptions-asm.S index 7248683f5..762a509a9 100644 --- a/libgloss/or1k/exceptions-asm.S +++ b/libgloss/or1k/exceptions-asm.S @@ -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 |