diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2009-04-30 21:37:18 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2009-04-30 21:37:18 +0000 |
commit | 83282eed328491591df00fb1628356f12c79b03e (patch) | |
tree | e6b002c31c92aef589274ff978a0d26e25c22a5f /libc/sysdeps/sh | |
parent | 08bd8d2970f4bde7e1b33c34d4bd2f590fd938a8 (diff) | |
download | eglibc2-83282eed328491591df00fb1628356f12c79b03e.tar.gz |
Merge changes between r8303 and r8393 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@8394 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/sysdeps/sh')
-rw-r--r-- | libc/sysdeps/sh/sh4/setjmp.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/sh/sh4/setjmp.S b/libc/sysdeps/sh/sh4/setjmp.S index 03f0b08dc..9d8fab7a9 100644 --- a/libc/sysdeps/sh/sh4/setjmp.S +++ b/libc/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 |