2005-12-17 Ulrich Drepper <drepper@redhat.com>
+ * elf/dl-error.c (_dl_signal_error): Use __longjmp instead of longjmp.
+ * elf/dl-minimal.c (longjmp): Remove definition.
+
* sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp.
2005-12-14 Thorsten Kukuk <kukuk@suse.de>
lcatch->errstring = _dl_out_of_memory;
lcatch->malloced = false;
}
- longjmp (lcatch->env, errcode ?: -1);
+ /* We do not restore the signal mask because none was saved. */
+ __longjmp (lcatch->env, errcode ?: -1);
}
else
{
/* Minimal replacements for basic facilities used in the dynamic linker.
- Copyright (C) 1995-1998,2000-2002,2004 Free Software Foundation, Inc.
+ Copyright (C) 1995-1998,2000-2002,2004,2005 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
env[0].__mask_was_saved = 0;
return 0;
}
-
-void weak_function
-longjmp (jmp_buf env, int val)
-{
- __longjmp (env[0].__jmpbuf, val);
-}
\f
/* Define our own version of the internal function used by strerror. We
only provide the messages for some common errors. This avoids pulling