From: Ulrich Drepper Date: Mon, 11 Jul 2005 15:48:29 +0000 (+0000) Subject: (pthread_rwlock_t): Make sure __flags are located at offset 48 from the X-Git-Tag: upstream/2.20~3636^2~1030 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e582e2ddcf4c681d0b0e6bed0ecb706b30382e27;p=platform%2Fupstream%2Flinaro-glibc.git (pthread_rwlock_t): Make sure __flags are located at offset 48 from the start of the structure. --- diff --git a/sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h b/sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h index d13d6e8..86b4703 100644 --- a/sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h +++ b/sysdeps/unix/sysv/linux/alpha/nptl/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;