diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-07-11 15:49:23 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-07-11 15:49:23 +0000 |
commit | 553185e2b0be6f37fef5ffed4ce8aba2ceaf1f29 (patch) | |
tree | 75b95753a127f4502828d23dd1383732c2563e5b | |
parent | 46c818b312539f81c6cc470d1f40dd83691345c6 (diff) | |
download | glibc-553185e2b0be6f37fef5ffed4ce8aba2ceaf1f29.tar.gz glibc-553185e2b0be6f37fef5ffed4ce8aba2ceaf1f29.tar.xz glibc-553185e2b0be6f37fef5ffed4ce8aba2ceaf1f29.zip |
* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_rwlock_t):
Make sure __flags are located at offset 48 from the start of the structure.
-rw-r--r-- | nptl/ChangeLog | 6 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index b42003a7c9..d04cc016f1 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +2005-07-11 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_rwlock_t): + Make sure __flags are located at offset 48 from the start of the + structure. + 2005-07-02 Roland McGrath <roland@redhat.com> * Makeconfig: Comment fix. diff --git a/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h index d13d6e86a4..86b47037e4 100644 --- a/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h @@ -1,5 +1,5 @@ /* Machine-specific pthread type layouts. Alpha version. - Copyright (C) 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -117,8 +117,9 @@ typedef union unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; - - unsigned int __reserved[6]; + int __pad1; + unsigned long int __pad2; + unsigned long int __pad3; /* FLAGS must stay at this position in the structure to maintain binary compatibility. */ unsigned int __flags; |