This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi, There is a forgotten patch for the SH processor without FPU. Sorry for my carelessness. kaz -- 2000-11-07 Kazumoto Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/sh4/bits/setjmp.h: New file. * sysdeps/sh/bits/setjmp.h: Changes for no FPU case. --- /dev/null Wed May 6 05:32:27 1998 +++ sysdeps/sh/sh4/bits/setjmp.h Tue Nov 7 09:18:51 2000 @@ -0,0 +1,2 @@ +#define HAVE_FPU +#include <sysdeps/sh/bits/setjmp.h> Index: bits/setjmp.h =================================================================== RCS file: /cvs/glibc/libc/sysdeps/sh/bits/setjmp.h,v retrieving revision 1.1 diff -u -r1.1 setjmp.h --- setjmp.h 2000/06/13 01:00:45 1.1 +++ setjmp.h 2000/11/07 00:18:05 @@ -34,15 +34,21 @@ /* The global pointer. */ void * __gbr; +#ifdef HAVE_FPU /* Floating point status register. */ int __fpscr; /* Callee-saved floating point registers fr12 through fr15. */ int __fpregs[4]; +#endif } __jmp_buf[1]; #endif +#ifdef HAVE_FPU #define JB_SIZE (4 * 15) +#else +#define JB_SIZE (4 * 10) +#endif /* Test if longjmp to JMPBUF would unwind the frame containing a local variable at ADDRESS. */
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |