mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
[BZ #2644]
2006-05-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: Make sure functions pointer is reloaded after pthread_cancel_init calls. [BZ #2644] * sysdeps/pthread/unwind-forcedunwind.c: Make sure functions pointers are reloaded after pthread_cancel_init calls.
This commit is contained in:
parent
4461cf48cf
commit
3142b1ac55
16
NEWS
16
NEWS
@ -1,4 +1,4 @@
|
|||||||
GNU C Library NEWS -- history of user-visible changes. 2006-05-01
|
GNU C Library NEWS -- history of user-visible changes. 2006-05-07
|
||||||
Copyright (C) 1992-2002,2003,2004,2005,2006 Free Software Foundation, Inc.
|
Copyright (C) 1992-2002,2003,2004,2005,2006 Free Software Foundation, Inc.
|
||||||
See the end for copying conditions.
|
See the end for copying conditions.
|
||||||
|
|
||||||
@ -10,10 +10,24 @@ Version 2.5
|
|||||||
* For Linux, the sorting of addresses returned by getaddrinfo now also
|
* For Linux, the sorting of addresses returned by getaddrinfo now also
|
||||||
handles rules 3 and 7 from RFC 3484. Implemented by Ulrich Drepper.
|
handles rules 3 and 7 from RFC 3484. Implemented by Ulrich Drepper.
|
||||||
|
|
||||||
|
* Allow system admin to configure getaddrinfo with the /etc/gai.conf file.
|
||||||
|
Implemented by Ulrich Drepper.
|
||||||
|
|
||||||
* New Linux interfaces: splice, tee, sync_file_range, vmsplace.
|
* New Linux interfaces: splice, tee, sync_file_range, vmsplace.
|
||||||
|
|
||||||
* New iconv module for MIK. Contributed by Alexander Shopov.
|
* New iconv module for MIK. Contributed by Alexander Shopov.
|
||||||
|
|
||||||
|
* For sites with broken group and/or passwd database, the auto-propagate
|
||||||
|
option of nscd can prevent creating ID lookup entries from the results
|
||||||
|
of a name lookup and vice versa. This usually is no problem but some
|
||||||
|
site might have problems with default behavior.
|
||||||
|
Implemented by Ulrich Drepper.
|
||||||
|
|
||||||
|
* Iterating over entire database in NIS and NIS+ can be slow. With the
|
||||||
|
SETENT_BATCH_READ option in /etc/default/nss a system admin can decide
|
||||||
|
to trade time for memory. The entire database will be read at once.
|
||||||
|
Implemented by Ulrich Drepper.
|
||||||
|
|
||||||
|
|
||||||
Version 2.4
|
Version 2.4
|
||||||
|
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
2006-05-07 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: Make sure
|
||||||
|
functions pointer is reloaded after pthread_cancel_init calls.
|
||||||
|
|
||||||
|
[BZ #2644]
|
||||||
|
* sysdeps/pthread/unwind-forcedunwind.c: Make sure functions
|
||||||
|
pointers are reloaded after pthread_cancel_init calls.
|
||||||
|
|
||||||
2006-05-01 Ulrich Drepper <drepper@redhat.com>
|
2006-05-01 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/pthread/allocalim.h (__libc_use_alloca): Mark with
|
* sysdeps/pthread/allocalim.h (__libc_use_alloca): Mark with
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
/* Copyright (C) 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Jakub Jelinek <jakub@redhat.com>.
|
Contributed by Jakub Jelinek <jakub@redhat.com>.
|
||||||
|
|
||||||
@ -22,13 +22,13 @@
|
|||||||
#include <unwind.h>
|
#include <unwind.h>
|
||||||
#include <pthreadP.h>
|
#include <pthreadP.h>
|
||||||
|
|
||||||
static void (*libgcc_s_resume) (struct _Unwind_Exception *exc);
|
static void (*volatile libgcc_s_resume) (struct _Unwind_Exception *exc);
|
||||||
static _Unwind_Reason_Code (*libgcc_s_personality)
|
static _Unwind_Reason_Code (*volatile libgcc_s_personality)
|
||||||
(int, _Unwind_Action, _Unwind_Exception_Class, struct _Unwind_Exception *,
|
(int, _Unwind_Action, _Unwind_Exception_Class, struct _Unwind_Exception *,
|
||||||
struct _Unwind_Context *);
|
struct _Unwind_Context *);
|
||||||
static _Unwind_Reason_Code (*libgcc_s_forcedunwind)
|
static _Unwind_Reason_Code (*volatile libgcc_s_forcedunwind)
|
||||||
(struct _Unwind_Exception *, _Unwind_Stop_Fn, void *);
|
(struct _Unwind_Exception *, _Unwind_Stop_Fn, void *);
|
||||||
static _Unwind_Word (*libgcc_s_getcfa) (struct _Unwind_Context *);
|
static _Unwind_Word (*volatile libgcc_s_getcfa) (struct _Unwind_Context *);
|
||||||
|
|
||||||
void
|
void
|
||||||
pthread_cancel_init (void)
|
pthread_cancel_init (void)
|
||||||
@ -67,7 +67,11 @@ void
|
|||||||
_Unwind_Resume (struct _Unwind_Exception *exc)
|
_Unwind_Resume (struct _Unwind_Exception *exc)
|
||||||
{
|
{
|
||||||
if (__builtin_expect (libgcc_s_resume == NULL, 0))
|
if (__builtin_expect (libgcc_s_resume == NULL, 0))
|
||||||
pthread_cancel_init ();
|
{
|
||||||
|
pthread_cancel_init ();
|
||||||
|
/* The function pointer has changed, ensure we reload it. */
|
||||||
|
asm volatile ("" : "+m" (libgcc_s_resume));
|
||||||
|
}
|
||||||
libgcc_s_resume (exc);
|
libgcc_s_resume (exc);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -78,7 +82,11 @@ __gcc_personality_v0 (int version, _Unwind_Action actions,
|
|||||||
struct _Unwind_Context *context)
|
struct _Unwind_Context *context)
|
||||||
{
|
{
|
||||||
if (__builtin_expect (libgcc_s_personality == NULL, 0))
|
if (__builtin_expect (libgcc_s_personality == NULL, 0))
|
||||||
pthread_cancel_init ();
|
{
|
||||||
|
pthread_cancel_init ();
|
||||||
|
/* The function pointer has changed, ensure we reload it. */
|
||||||
|
asm volatile ("" : "+m" (libgcc_s_personality));
|
||||||
|
}
|
||||||
return libgcc_s_personality (version, actions, exception_class,
|
return libgcc_s_personality (version, actions, exception_class,
|
||||||
ue_header, context);
|
ue_header, context);
|
||||||
}
|
}
|
||||||
@ -88,7 +96,11 @@ _Unwind_ForcedUnwind (struct _Unwind_Exception *exc, _Unwind_Stop_Fn stop,
|
|||||||
void *stop_argument)
|
void *stop_argument)
|
||||||
{
|
{
|
||||||
if (__builtin_expect (libgcc_s_forcedunwind == NULL, 0))
|
if (__builtin_expect (libgcc_s_forcedunwind == NULL, 0))
|
||||||
pthread_cancel_init ();
|
{
|
||||||
|
pthread_cancel_init ();
|
||||||
|
/* The function pointer has changed, ensure we reload it. */
|
||||||
|
asm volatile ("" : "+m" (libgcc_s_forcedunwind));
|
||||||
|
}
|
||||||
return libgcc_s_forcedunwind (exc, stop, stop_argument);
|
return libgcc_s_forcedunwind (exc, stop, stop_argument);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -96,6 +108,10 @@ _Unwind_Word
|
|||||||
_Unwind_GetCFA (struct _Unwind_Context *context)
|
_Unwind_GetCFA (struct _Unwind_Context *context)
|
||||||
{
|
{
|
||||||
if (__builtin_expect (libgcc_s_getcfa == NULL, 0))
|
if (__builtin_expect (libgcc_s_getcfa == NULL, 0))
|
||||||
pthread_cancel_init ();
|
{
|
||||||
|
pthread_cancel_init ();
|
||||||
|
/* The function pointer has changed, ensure we reload it. */
|
||||||
|
asm volatile ("" : "+m" (libgcc_s_getcfa));
|
||||||
|
}
|
||||||
return libgcc_s_getcfa (context);
|
return libgcc_s_getcfa (context);
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2003 Free Software Foundation, Inc.
|
/* Copyright (C) 2003, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Jakub Jelinek <jakub@redhat.com>.
|
Contributed by Jakub Jelinek <jakub@redhat.com>.
|
||||||
|
|
||||||
@ -33,6 +33,10 @@ _Unwind_Word
|
|||||||
_Unwind_GetBSP (struct _Unwind_Context *context)
|
_Unwind_GetBSP (struct _Unwind_Context *context)
|
||||||
{
|
{
|
||||||
if (__builtin_expect (libgcc_s_getbsp == NULL, 0))
|
if (__builtin_expect (libgcc_s_getbsp == NULL, 0))
|
||||||
pthread_cancel_init ();
|
{
|
||||||
|
pthread_cancel_init ();
|
||||||
|
/* The function pointer has changed, ensure we reload it. */
|
||||||
|
asm volatile ("" : "+m" (libgcc_s_getbsp));
|
||||||
|
}
|
||||||
return libgcc_s_getbsp (context);
|
return libgcc_s_getbsp (context);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user