From 7da168bf21c16a91b5c6482eb71f43bd1b1e6c54 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 3 May 2003 05:05:57 +0000 Subject: 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. --- nptl/ChangeLog | 11 +++++++++++ nptl/sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h | 5 +++-- nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h | 4 ++-- nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h | 4 ++-- nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h | 4 ++-- 5 files changed, 20 insertions(+), 8 deletions(-) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 777e61e5e0..111304ebaa 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 d3a5c91545..e2391a7907 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 fb4533633d..9569ba5534 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 13dccc66dc..3ebaeb9391 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 b1d9cb5248..47d856cae4 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; -- cgit 1.4.1