From: Roland McGrath Date: Sun, 4 Dec 1994 18:07:13 +0000 (+0000) Subject: Implement __sigsetjmp instead of __setjmp; call __sigsetjmp_aux instead of X-Git-Tag: upstream/2.30~10627^2~4021 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5eb42c5555850c121b614c3433916b6dff0b2c3;p=external%2Fglibc.git Implement __sigsetjmp instead of __setjmp; call __sigsetjmp_aux instead of __setjmp_aux. --- diff --git a/sysdeps/alpha/setjmp.S b/sysdeps/alpha/setjmp.S index 3880d0f..50d75ff 100644 --- a/sysdeps/alpha/setjmp.S +++ b/sysdeps/alpha/setjmp.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1992 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1994 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 @@ -18,12 +18,12 @@ Cambridge, MA 02139, USA. */ #include -/* The function __setjmp_aux saves all the registers, but it can't +/* The function __sigsetjmp_aux saves all the registers, but it can't reliably access the stack or frame pointers, so we pass them in as extra arguments. */ -ENTRY (__setjmp) - lda $27, __setjmp_aux /* Load address to jump to. */ +ENTRY (__sigsetjmp) + lda $27, __sigsetjmp_aux/* Load address to jump to. */ bis $15, $15, $17 /* Pass FP as 2nd arg. */ bis $30, $30, $18 /* Pass SP as 3nd arg. */ - jmp $31, ($27), __setjmp_aux /* Call __setjmp_aux. */ - .end __setjmp + jmp $31, ($27), __sigsetjmp_aux /* Call __sigsetjmp_aux. */ + .end __sigsetjmp diff --git a/sysdeps/mips/setjmp.S b/sysdeps/mips/setjmp.S index 485811e..fc61e34 100644 --- a/sysdeps/mips/setjmp.S +++ b/sysdeps/mips/setjmp.S @@ -18,15 +18,14 @@ Cambridge, MA 02139, USA. */ #include -/* The function __setjmp_aux saves all the registers, but it can't +/* The function __sigsetjmp_aux saves all the registers, but it can't reliably access the stack or frame pointers, so we pass them in as extra arguments. */ -ENTRY (__setjmp) +ENTRY (__sigsetjmp) move a1, sp #ifdef __sgi__ move a2, fp #else move a2, $fp #endif - j __setjmp_aux - + j __sigsetjmp_aux