aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sh/sh4/__longjmp.S
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-02-18 15:49:44 +0000
committerJakub Jelinek <jakub@redhat.com>2009-02-18 15:49:44 +0000
commitcf22c5c9b3a4a6cc81a269d49d2324b5df084d74 (patch)
treeca7e374c348baf4e6510329f3f271eca4eb5419f /sysdeps/sh/sh4/__longjmp.S
parent73c5dd45bc405428148ee740cac61a1279fe57d4 (diff)
downloadglibc-cf22c5c9b3a4a6cc81a269d49d2324b5df084d74.tar
glibc-cf22c5c9b3a4a6cc81a269d49d2324b5df084d74.tar.gz
glibc-cf22c5c9b3a4a6cc81a269d49d2324b5df084d74.tar.bz2
glibc-cf22c5c9b3a4a6cc81a269d49d2324b5df084d74.zip
Updated to fedora-glibc-20090218T1534
Diffstat (limited to 'sysdeps/sh/sh4/__longjmp.S')
-rw-r--r--sysdeps/sh/sh4/__longjmp.S7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/sh/sh4/__longjmp.S b/sysdeps/sh/sh4/__longjmp.S
index 320a7d11f7..2fd137bcba 100644
--- a/sysdeps/sh/sh4/__longjmp.S
+++ b/sysdeps/sh/sh4/__longjmp.S
@@ -1,5 +1,5 @@
/* longjmp for SH.
- Copyright (C) 1999, 2000, 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2005, 2006, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -52,6 +52,7 @@ ENTRY (__longjmp)
mov.l @r4+, r15
lds.l @r4+, pr
#endif
+#ifdef __SH_FPU_ANY__
ldc.l @r4+, gbr
lds.l @r4+, fpscr
fmov.s @r4+, fr12
@@ -59,4 +60,8 @@ ENTRY (__longjmp)
fmov.s @r4+, fr14
rts
fmov.s @r4+, fr15
+#else
+ rts
+ ldc.l @r4+, gbr
+#endif /* !__SH_FPU_ANY__ */
END (__longjmp)