From: Ulrich Drepper Date: Sat, 3 May 2003 05:05:57 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_3_3~773 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7da168bf21c16a91b5c6482eb71f43bd1b1e6c54;p=thirdparty%2Fglibc.git Update. 2003-05-02 Ulrich Drepper * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_condattr_t): Size is only an int, don't use long for alignment. (pthread_mutexattr_t): Likewise. (pthread_barrierattr_t): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. --- diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 777e61e5e07..111304ebaac 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,14 @@ +2003-05-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + (pthread_condattr_t): Size is only an int, don't use long for + alignment. + (pthread_mutexattr_t): Likewise. + (pthread_barrierattr_t): Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. + 2003-05-01 Ulrich Drepper * sysdeps/i386/tls.h: Define THREAD_ID. diff --git a/nptl/sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h index d3a5c915451..e2391a79079 100644 --- a/nptl/sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h @@ -63,7 +63,7 @@ typedef union typedef union { char __size[__SIZEOF_PTHREAD_MUTEXATTR_T]; - long int __align; + int __align; } pthread_mutexattr_t; @@ -78,6 +78,7 @@ typedef union unsigned long long int __total_seq; unsigned long long int __wakeup_seq; unsigned long long int __woken_seq; + void *__mutex; } __data; char __size[__SIZEOF_PTHREAD_COND_T]; long int __align; @@ -86,7 +87,7 @@ typedef union typedef union { char __size[__SIZEOF_PTHREAD_CONDATTR_T]; - long int __align; + int __align; } pthread_condattr_t; diff --git a/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h index fb4533633d2..9569ba5534b 100644 --- a/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h @@ -78,7 +78,7 @@ typedef union typedef union { char __size[__SIZEOF_PTHREAD_MUTEXATTR_T]; - long int __align; + int __align; } pthread_mutexattr_t; @@ -101,7 +101,7 @@ typedef union typedef union { char __size[__SIZEOF_PTHREAD_CONDATTR_T]; - long int __align; + int __align; } pthread_condattr_t; diff --git a/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h index 13dccc66dc2..3ebaeb93913 100644 --- a/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h @@ -77,7 +77,7 @@ typedef union typedef union { char __size[__SIZEOF_PTHREAD_MUTEXATTR_T]; - long int __align; + int __align; } pthread_mutexattr_t; @@ -100,7 +100,7 @@ typedef union typedef union { char __size[__SIZEOF_PTHREAD_CONDATTR_T]; - long int __align; + int __align; } pthread_condattr_t; diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h index b1d9cb5248a..47d856cae40 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h @@ -63,7 +63,7 @@ typedef union typedef union { char __size[__SIZEOF_PTHREAD_MUTEXATTR_T]; - long int __align; + int __align; } pthread_mutexattr_t; @@ -86,7 +86,7 @@ typedef union typedef union { char __size[__SIZEOF_PTHREAD_CONDATTR_T]; - long int __align; + int __align; } pthread_condattr_t;