From: Ulrich Drepper Date: Fri, 8 Aug 1997 00:34:35 +0000 (+0000) Subject: Replace call to abort by infinite loop, to avoid dragging stdio into X-Git-Tag: cvs/glibc-2_0_5pre2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c58fe9a2dcf8758c48a6835918d9f6c2eda66042;p=thirdparty%2Fglibc.git Replace call to abort by infinite loop, to avoid dragging stdio into the dynamic linker. --- diff --git a/sysdeps/m68k/__longjmp.c b/sysdeps/m68k/__longjmp.c index 92dd803c170..e6ec43c4655 100644 --- a/sysdeps/m68k/__longjmp.c +++ b/sysdeps/m68k/__longjmp.c @@ -1,20 +1,20 @@ -/* Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. -This file is part of the GNU C Library. +/* Copyright (C) 1991, 92, 93, 94, 95, 97 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 -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #include #include @@ -50,6 +50,6 @@ __longjmp (__jmp_buf env, int val) because this code always jumps out anyway. */ ); - /* This call avoids `volatile function does return' warnings. */ - abort (); + /* Avoid `volatile function does return' warnings. */ + for (;;); }