about summary refs log tree commit diff
path: root/sysdeps/mips/__longjmp.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-01-11 17:13:22 +0000
committerAndreas Jaeger <aj@suse.de>2000-01-11 17:13:22 +0000
commitaa20086398ab68b271757a7750f317b667c9cbe6 (patch)
tree5668c7a51c79e4c5311b9a3bfaef9a7f9c4e3b72 /sysdeps/mips/__longjmp.c
parent22d12a6939e624dde180c8462d884a6063e56112 (diff)
downloadglibc-aa20086398ab68b271757a7750f317b667c9cbe6.tar.gz
glibc-aa20086398ab68b271757a7750f317b667c9cbe6.tar.xz
glibc-aa20086398ab68b271757a7750f317b667c9cbe6.zip
Update.
2000-01-11  Andreas Schwab  <schwab@suse.de>

	* sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
	infinite loop to avoid pulling in stdio in the dynamic linker.
Diffstat (limited to 'sysdeps/mips/__longjmp.c')
-rw-r--r--sysdeps/mips/__longjmp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/mips/__longjmp.c b/sysdeps/mips/__longjmp.c
index 9b4c1e14e0..e9ef5cff3d 100644
--- a/sysdeps/mips/__longjmp.c
+++ b/sysdeps/mips/__longjmp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995, 1997, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
@@ -79,5 +79,6 @@ __longjmp (env, val_arg)
 
   asm volatile ("j $31");
 
-  abort ();
+  /* Avoid `volatile function does return' warnings.  */
+  for (;;);
 }