diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-07-10 19:04:43 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2003-07-10 19:04:43 +0000 |
commit | 18072a4fe5f4d2b4e39d7ddf1f599b6041a3afd0 (patch) | |
tree | 07f020a9aed722750201656d50f61a869e1caa6f /newlib/libc/include | |
parent | 1e6a9a8cced164fee0b5b34d2055b97ea320e0ed (diff) | |
download | cygnal-18072a4fe5f4d2b4e39d7ddf1f599b6041a3afd0.tar.gz cygnal-18072a4fe5f4d2b4e39d7ddf1f599b6041a3afd0.tar.bz2 cygnal-18072a4fe5f4d2b4e39d7ddf1f599b6041a3afd0.zip |
2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
* libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
* libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
restore callee-saved FP registers.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r-- | newlib/libc/include/machine/setjmp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/include/machine/setjmp.h b/newlib/libc/include/machine/setjmp.h index 7f08a017a..e6d5e3944 100644 --- a/newlib/libc/include/machine/setjmp.h +++ b/newlib/libc/include/machine/setjmp.h @@ -135,9 +135,13 @@ typedef int jmp_buf[_JBLEN]; #endif #if defined(__mn10300__) || defined(__mn10200__) +#ifdef __AM33_2__ +#define _JBLEN 26 +#else /* A guess */ #define _JBLEN 10 #endif +#endif #ifdef __v850 /* I think our setjmp is saving 15 regs at the moment. Gives us one word |