mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 02:03:35 +08:00
nptl: Document the reason why __kind in pthread_mutex_t is part of the ABI
This commit is contained in:
parent
5ffc980589
commit
c74940f2a7
33
ChangeLog
33
ChangeLog
@ -1,3 +1,36 @@
|
||||
2016-11-07 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||
Document ABI exposure of the __kind offset.
|
||||
* sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||
Mention reason for the __kind offset exposure in the ABI.
|
||||
* sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||
Likewise.
|
||||
* sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||
Likewise.
|
||||
* sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||
Likewise.
|
||||
* sysdeps/microblaze/nptl/bits/pthreadtypes.h
|
||||
(struct __pthread_mutex_s): Likewise.
|
||||
* sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||
Likewise.
|
||||
* sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||
Likewise.
|
||||
* sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||
Likewise.
|
||||
* sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||
Likewise.
|
||||
* sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||
Likewise.
|
||||
* sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||
Likewise.
|
||||
* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
|
||||
(struct __pthread_mutex_s): Likewise.
|
||||
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
|
||||
(struct __pthread_mutex_s): Likewise.
|
||||
* sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
|
||||
Likewise.
|
||||
|
||||
2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
|
||||
|
||||
* test-skeleton.c: Document do_test usage.
|
||||
|
@ -65,6 +65,8 @@ typedef union
|
||||
unsigned int __count;
|
||||
int __owner;
|
||||
unsigned int __nusers;
|
||||
/* KIND must stay at this position in the structure to maintain
|
||||
binary compatibility with static initializers. */
|
||||
int __kind;
|
||||
int __spins;
|
||||
__pthread_list_t __list;
|
||||
|
@ -64,7 +64,7 @@ typedef union
|
||||
unsigned int __count;
|
||||
int __owner;
|
||||
/* KIND must stay at this position in the structure to maintain
|
||||
binary compatibility. */
|
||||
binary compatibility with static initializers. */
|
||||
int __kind;
|
||||
unsigned int __nusers;
|
||||
__extension__ union
|
||||
|
@ -71,7 +71,7 @@ typedef union
|
||||
unsigned int __count;
|
||||
int __owner;
|
||||
/* KIND must stay at this position in the structure to maintain
|
||||
binary compatibility. */
|
||||
binary compatibility with static initializers. */
|
||||
int __kind;
|
||||
/* The old 4-word 16-byte aligned lock. This is initalized
|
||||
to all ones by the Linuxthreads PTHREAD_MUTEX_INITIALIZER.
|
||||
|
@ -64,7 +64,7 @@ typedef union
|
||||
int __owner;
|
||||
unsigned int __nusers;
|
||||
/* KIND must stay at this position in the structure to maintain
|
||||
binary compatibility. */
|
||||
binary compatibility with static initializers. */
|
||||
int __kind;
|
||||
int __spins;
|
||||
__pthread_list_t __list;
|
||||
|
@ -64,7 +64,7 @@ typedef union
|
||||
unsigned int __count;
|
||||
int __owner;
|
||||
/* KIND must stay at this position in the structure to maintain
|
||||
binary compatibility. */
|
||||
binary compatibility with static initializers. */
|
||||
int __kind;
|
||||
unsigned int __nusers;
|
||||
__extension__ union
|
||||
|
@ -63,7 +63,7 @@ typedef union
|
||||
unsigned int __count;
|
||||
int __owner;
|
||||
/* KIND must stay at this position in the structure to maintain
|
||||
binary compatibility. */
|
||||
binary compatibility with static initializers. */
|
||||
int __kind;
|
||||
unsigned int __nusers;
|
||||
__extension__ union
|
||||
|
@ -87,7 +87,7 @@ typedef union
|
||||
unsigned int __nusers;
|
||||
#endif
|
||||
/* KIND must stay at this position in the structure to maintain
|
||||
binary compatibility. */
|
||||
binary compatibility with static initializers. */
|
||||
int __kind;
|
||||
#if _MIPS_SIM == _ABI64
|
||||
int __spins;
|
||||
|
@ -64,7 +64,7 @@ typedef union
|
||||
unsigned int __count;
|
||||
int __owner;
|
||||
/* KIND must stay at this position in the structure to maintain
|
||||
binary compatibility. */
|
||||
binary compatibility with static initializers. */
|
||||
int __kind;
|
||||
unsigned int __nusers;
|
||||
__extension__ union
|
||||
|
@ -86,7 +86,7 @@ typedef union
|
||||
unsigned int __nusers;
|
||||
#endif
|
||||
/* KIND must stay at this position in the structure to maintain
|
||||
binary compatibility. */
|
||||
binary compatibility with static initializers. */
|
||||
int __kind;
|
||||
#if __WORDSIZE == 64
|
||||
# ifdef ENABLE_LOCK_ELISION
|
||||
|
@ -64,7 +64,7 @@ typedef union
|
||||
unsigned int __count;
|
||||
int __owner;
|
||||
/* KIND must stay at this position in the structure to maintain
|
||||
binary compatibility. */
|
||||
binary compatibility with static initializers. */
|
||||
int __kind;
|
||||
unsigned int __nusers;
|
||||
__extension__ union
|
||||
|
@ -87,7 +87,7 @@ typedef union
|
||||
unsigned int __nusers;
|
||||
#endif
|
||||
/* KIND must stay at this position in the structure to maintain
|
||||
binary compatibility. */
|
||||
binary compatibility with static initializers. */
|
||||
int __kind;
|
||||
#if __WORDSIZE == 64
|
||||
int __spins;
|
||||
|
@ -87,7 +87,7 @@ typedef union
|
||||
unsigned int __nusers;
|
||||
#endif
|
||||
/* KIND must stay at this position in the structure to maintain
|
||||
binary compatibility. */
|
||||
binary compatibility with static initializers. */
|
||||
int __kind;
|
||||
#if __WORDSIZE == 64
|
||||
int __spins;
|
||||
|
@ -63,7 +63,7 @@ typedef union
|
||||
int __owner;
|
||||
unsigned int __nusers;
|
||||
/* KIND must stay at this position in the structure to maintain
|
||||
binary compatibility. */
|
||||
binary compatibility with static initializers. */
|
||||
int __kind;
|
||||
int __spins;
|
||||
__pthread_list_t __list;
|
||||
|
@ -87,7 +87,7 @@ typedef union
|
||||
unsigned int __nusers;
|
||||
#endif
|
||||
/* KIND must stay at this position in the structure to maintain
|
||||
binary compatibility. */
|
||||
binary compatibility with static initializers. */
|
||||
int __kind;
|
||||
#if __WORDSIZE == 64
|
||||
short __spins;
|
||||
|
@ -98,7 +98,7 @@ typedef union
|
||||
unsigned int __nusers;
|
||||
#endif
|
||||
/* KIND must stay at this position in the structure to maintain
|
||||
binary compatibility. */
|
||||
binary compatibility with static initializers. */
|
||||
int __kind;
|
||||
#ifdef __x86_64__
|
||||
short __spins;
|
||||
|
Loading…
Reference in New Issue
Block a user