mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 20:21:07 +00:00
Update.
2002-12-31 Ulrich Drepper <drepper@redhat.com> * malloc/thread-m.h [SHARED] (thread_atfork): Assume __dso_handle is available. * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Re-add
This commit is contained in:
parent
a4baf360be
commit
6d6ee629af
@ -1,3 +1,8 @@
|
||||
2002-12-31 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* malloc/thread-m.h [SHARED] (thread_atfork): Assume __dso_handle
|
||||
is available.
|
||||
|
||||
2002-12-31 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
|
||||
@ -9,7 +14,7 @@
|
||||
* sysdeps/unix/sysv/linux/kernel_stat.h
|
||||
(_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.
|
||||
|
||||
* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Readd
|
||||
* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Re-add
|
||||
__unused[1-3] since they're needed by some platforms. Handle
|
||||
_HAVE_STAT_NSEC and _HAVE_STAT_NSEC64.
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-12-31 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/fork.h: Add libc_hidden_proto for
|
||||
__register_atfork.
|
||||
* sysdeps/unix/sysv/linux/register-atfork.c: Add libc_hidden_def
|
||||
for __register_atfork.
|
||||
|
||||
2002-12-31 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/i386/i686/pt-machine.h: Use __ASSEMBLER__ instead of
|
||||
|
@ -53,6 +53,7 @@ extern int __register_atfork (void (*__prepare) (void),
|
||||
void (*__parent) (void),
|
||||
void (*__child) (void),
|
||||
void *dso_handle);
|
||||
libc_hidden_proto (__register_atfork)
|
||||
|
||||
#ifndef ARCH_FORK
|
||||
# define ARCH_FORK() INLINE_SYSCALL (fork, 0)
|
||||
|
@ -85,3 +85,4 @@ __register_atfork (prepare, parent, child, dso_handle)
|
||||
|
||||
return 0;
|
||||
}
|
||||
libc_hidden_def (__register_atfork)
|
||||
|
@ -77,9 +77,14 @@ extern void *__dso_handle __attribute__ ((__weak__));
|
||||
|
||||
#include <fork.h>
|
||||
|
||||
#define thread_atfork(prepare, parent, child) \
|
||||
#ifdef SHARED
|
||||
# define thread_atfork(prepare, parent, child) \
|
||||
__register_atfork (prepare, parent, child, __dso_handle)
|
||||
#else
|
||||
# define thread_atfork(prepare, parent, child) \
|
||||
__register_atfork (prepare, parent, child, \
|
||||
&__dso_handle == NULL ? NULL : __dso_handle)
|
||||
#endif
|
||||
|
||||
#elif defined(MUTEX_INITIALIZER)
|
||||
/* Assume hurd, with cthreads */
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-12-31 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/fork.h: Add libc_hidden_proto for
|
||||
__register_atfork.
|
||||
* sysdeps/unix/sysv/linux/register-atfork.c: Add libc_hidden_def
|
||||
for __register_atfork.
|
||||
|
||||
2002-12-31 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Use __ASSEMBLER__
|
||||
|
@ -54,3 +54,4 @@ extern int __register_atfork (void (*__prepare) (void),
|
||||
void (*__parent) (void),
|
||||
void (*__child) (void),
|
||||
void *dso_handle);
|
||||
libc_hidden_proto (__register_atfork)
|
||||
|
@ -85,3 +85,4 @@ __register_atfork (prepare, parent, child, dso_handle)
|
||||
|
||||
return 0;
|
||||
}
|
||||
libc_hidden_def (__register_atfork)
|
||||
|
Loading…
Reference in New Issue
Block a user