diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-28 22:19:04 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-28 22:19:04 +0000 |
commit | 3b7ed8712599efbecd92f4d68398fb7a593aef75 (patch) | |
tree | d8dea4cd2be3b50dd7706387988c3ddace21dd55 /nptl/sysdeps/unix | |
parent | b25a62a8a36541b12e8452224bb2e71f83ade815 (diff) | |
download | glibc-3b7ed8712599efbecd92f4d68398fb7a593aef75.tar glibc-3b7ed8712599efbecd92f4d68398fb7a593aef75.tar.gz glibc-3b7ed8712599efbecd92f4d68398fb7a593aef75.tar.bz2 glibc-3b7ed8712599efbecd92f4d68398fb7a593aef75.zip |
Update.
2002-12-28 Ulrich Drepper <drepper@redhat.com>
* misc/sys/cdefs.h (__attribute_deprecated__): New #define.
Diffstat (limited to 'nptl/sysdeps/unix')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/Versions | 5 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c | 19 |
2 files changed, 4 insertions, 20 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/Versions b/nptl/sysdeps/unix/sysv/linux/Versions index 8fea097e43..d18255521c 100644 --- a/nptl/sysdeps/unix/sysv/linux/Versions +++ b/nptl/sysdeps/unix/sysv/linux/Versions @@ -1,6 +1,9 @@ libc { + GLIBC_2.3.2 { + __register_atfork; + } GLIBC_PRIVATE { - __register_atfork; __libc_pthread_init; + __libc_pthread_init; __libc_current_sigrtmin_private; __libc_current_sigrtmax_private; __libc_allocate_rtsig_private; } diff --git a/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c b/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c index 87c97343b0..fdda78bc20 100644 --- a/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c +++ b/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c @@ -52,23 +52,4 @@ __libc_pthread_init (ptr, reclaim, functions) memcpy (&__libc_pthread_functions, functions, sizeof (__libc_pthread_functions)); #endif - - /* We have a macro which is used in asm code describing data layout. - Make sure it does not get out of date. */ - if (offsetof (struct pthread, header.data.multiple_threads) - != MULTIPLE_THREADS_OFFSET) - { -#define str_n_len(str) str, sizeof (str) - 1 - __libc_write (STDERR_FILENO, - str_n_len ("*** MULTIPLE_THREADS_OFFSET out of date\n")); - _exit (1); - } -#ifdef SYSINFO_OFFSET - if (offsetof (struct pthread, header.data.sysinfo) != SYSINFO_OFFSET) - { - __libc_write (STDERR_FILENO, - str_n_len ("*** SYSINFO_OFFSET out of date\n")); - _exit (1); - } -#endif } |