diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2009-09-30 15:40:23 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2009-09-30 15:40:23 +0000 |
commit | 7ae8efaf2900de04894ce21f75e40031639c505c (patch) | |
tree | ccc6d9fbca8f6b1717914f300ceabbf9b96d40c2 /ports/sysdeps/m68k | |
parent | 71da3315b161cfa17dafd12ed2b048da3af3dcd4 (diff) | |
download | eglibc2-7ae8efaf2900de04894ce21f75e40031639c505c.tar.gz |
Merge changes between r8915 and r9028 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@9029 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'ports/sysdeps/m68k')
-rw-r--r-- | ports/sysdeps/m68k/__longjmp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ports/sysdeps/m68k/__longjmp.c b/ports/sysdeps/m68k/__longjmp.c index 7d876a7a1..5ba2478c0 100644 --- a/ports/sysdeps/m68k/__longjmp.c +++ b/ports/sysdeps/m68k/__longjmp.c @@ -1,4 +1,5 @@ -/* Copyright (C) 1991, 92, 93, 94, 95, 97 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1997, 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 @@ -27,6 +28,10 @@ __longjmp (__jmp_buf env, int val) /* This restores the FP and SP that setjmp's caller had, and puts the return address into A0 and VAL into D0. */ +#ifdef CHECK_SP + CHECK_SP (env[0].__sp); +#endif + #if defined(__HAVE_68881__) || defined(__HAVE_FPU__) /* Restore the floating-point registers. */ asm volatile("fmovem%.x %0, %/fp0-%/fp7" : |