diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-17 02:03:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-17 02:03:18 +0000 |
commit | bd499a3b46304d4900a6a6ba809f9b7f2c5a4afa (patch) | |
tree | 375cd9b66d7216238f0033c6e6a88e4ba11298d7 /nptl/forward.c | |
parent | 64ab2317a89b3965e7d7230bb99cfc99a61f895f (diff) | |
download | glibc-bd499a3b46304d4900a6a6ba809f9b7f2c5a4afa.zip glibc-bd499a3b46304d4900a6a6ba809f9b7f2c5a4afa.tar.gz glibc-bd499a3b46304d4900a6a6ba809f9b7f2c5a4afa.tar.bz2 |
Update.
2002-12-17 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/socket.S: Use SINGLE_THREAD_P
macro instead of comparing %gs:MULTIPLE_THREADS_OFFSET directly.
* iconvdata/iso-ir-165.c: Likewise.
* iconvdata/jis0208.c: Likewise.
* iconvdata/jis0212.c: Likewise.
Diffstat (limited to 'nptl/forward.c')
-rw-r--r-- | nptl/forward.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/nptl/forward.c b/nptl/forward.c index e178136..e68b9b1 100644 --- a/nptl/forward.c +++ b/nptl/forward.c @@ -30,7 +30,7 @@ struct pthread_functions __libc_pthread_functions attribute_hidden; #if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_3_2) -# define FORWARD3(name, rettype, decl, params, defaction, version) \ +# define FORWARD4(name, export, rettype, decl, params, defaction, version) \ rettype \ __noexport_##name decl \ { \ @@ -39,7 +39,10 @@ __noexport_##name decl \ \ return __libc_pthread_functions.ptr_##name params; \ } \ -compat_symbol (libc, __noexport_##name, name, version) +compat_symbol (libc, __noexport_##name, export, version) + +# define FORWARD3(name, rettype, decl, params, defaction, version) \ + FORWARD4 (name, name, rettype, decl, params, defaction, version) # define FORWARD2(name, decl, params, defretval, version) \ FORWARD3 (name, int, decl, params, return defretval, version) @@ -50,7 +53,13 @@ compat_symbol (libc, __noexport_##name, name, version) FORWARD (pthread_attr_destroy, (pthread_attr_t *attr), (attr), 0); -FORWARD2 (pthread_attr_init, (pthread_attr_t *attr), (attr), 0, GLIBC_2_1); +#if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_1) +FORWARD4 (pthread_attr_init_2_0, pthread_attr_init, int, + (pthread_attr_t *attr), (attr), 0, GLIBC_2_0); +#endif + +FORWARD4 (pthread_attr_init_2_1, pthread_attr_init, int, + (pthread_attr_t *attr), (attr), 0, GLIBC_2_1); FORWARD (pthread_attr_getdetachstate, (const pthread_attr_t *attr, int *detachstate), (attr, detachstate), |