aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sh/sh4
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-23 01:14:33 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-23 01:14:33 +0000
commitdebafa10bcf2dd52392739a3aa6aff54f044fcd8 (patch)
tree240ca8bbac50b355a462ab971f6cf328abd446fe /sysdeps/sh/sh4
parentd43f10e715f476fe389f49a83d665c57baa07497 (diff)
downloadglibc-debafa10bcf2dd52392739a3aa6aff54f044fcd8.tar
glibc-debafa10bcf2dd52392739a3aa6aff54f044fcd8.tar.gz
glibc-debafa10bcf2dd52392739a3aa6aff54f044fcd8.tar.bz2
glibc-debafa10bcf2dd52392739a3aa6aff54f044fcd8.zip
* stdio-common/printf.h: Add missing const to register_printf_modifier.
* stdio-common/reg-modifier.c: Likewise. 2009-04-22 Andrew Stubbs <ams@codesourcery.com> * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Adjust JB_SIZE when there is no FPU.
Diffstat (limited to 'sysdeps/sh/sh4')
-rw-r--r--sysdeps/sh/sh4/setjmp.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/sh/sh4/setjmp.S b/sysdeps/sh/sh4/setjmp.S
index 03f0b08dcd..9d8fab7a99 100644
--- a/sysdeps/sh/sh4/setjmp.S
+++ b/sysdeps/sh/sh4/setjmp.S
@@ -22,13 +22,15 @@
ENTRY (__sigsetjmp)
/* Save registers */
- add #JB_SIZE, r4
#ifdef __SH_FPU_ANY__
+ add #JB_SIZE, r4
fmov.s fr15, @-r4
fmov.s fr14, @-r4
fmov.s fr13, @-r4
fmov.s fr12, @-r4
sts.l fpscr, @-r4
+#else
+ add #(JB_SIZE - 4 * 5), r4
#endif /* __SH_FPU_ANY__ */
stc.l gbr, @-r4
#ifdef PTR_MANGLE