glibc/sysdeps
Adhemerval Zanella 94a62cc55a nptl: Add default pthreadtypes-arch.h
This patch adds a default pthreadtypes-arch.h, the idea is to simpify
new ports inclusion and an override is required only if the architecture
adds some arch-specific extensions or requirement.

The default values on the new generic header are based on current
architecture define value and they are not optimal compared to current
code requirements as below.

  - On 64 bits __SIZEOF_PTHREAD_BARRIER_T is defined as 32 while is
    sizeof (struct pthread_barrier) is 20 bytes.

  - On 32 bits __SIZEOF_PTHREAD_ATTR_T is defined as 36 while
    sizeof (struct pthread_attr) is 32.

The default values are not changed so the generic header could be
used by some architectures.

Checked with a build on affected abis.

Change-Id: Ie0cd586258a2650f715c1af0c9fe4e7063b0409a
2019-11-26 13:53:36 +00:00
..
aarch64 nptl: Add struct_rwlock.h 2019-11-26 13:53:36 +00:00
alpha nptl: Add default pthreadtypes-arch.h 2019-11-26 13:53:36 +00:00
arm nptl: Add default pthreadtypes-arch.h 2019-11-26 13:53:36 +00:00
csky nptl: Add default pthreadtypes-arch.h 2019-11-26 13:53:36 +00:00
generic Enable inlining issignalingf within glibc 2019-11-21 09:39:48 -06:00
gnu Add TCP_TX_DELAY from Linux 5.3 to netinet/tcp.h. 2019-09-27 13:37:36 +00:00
hppa nptl: Add struct_rwlock.h 2019-11-26 13:53:36 +00:00
htl time: Introduce function to check correctness of nanoseconds value 2019-10-27 21:49:25 +01:00
hurd Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
i386 nptl: Add tests for internal pthread_rwlock_t offsets 2019-11-26 13:53:36 +00:00
ia64 nptl: Add default pthreadtypes-arch.h 2019-11-26 13:53:36 +00:00
ieee754 ldbl-128ibm-compat: Add wide character scanning functions 2019-11-22 18:13:20 -03:00
init_array Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
m68k nptl: Add struct_rwlock.h 2019-11-26 13:53:36 +00:00
mach hurd: Suppress GCC 10 -Warray-bounds warning in init-first.c [BZ #25097] 2019-11-16 15:40:59 +01:00
microblaze nptl: Add default pthreadtypes-arch.h 2019-11-26 13:53:36 +00:00
mips nptl: Add struct_rwlock.h 2019-11-26 13:53:36 +00:00
nios2 nptl: Add struct_rwlock.h 2019-11-26 13:53:36 +00:00
nptl nptl: Add default pthreadtypes-arch.h 2019-11-26 13:53:36 +00:00
posix sysdeps/posix/getaddrinfo: Return early on invalid address family 2019-11-26 10:19:33 +01:00
powerpc nptl: Add default pthreadtypes-arch.h 2019-11-26 13:53:36 +00:00
pthread Change most internal uses of __gettimeofday to __clock_gettime. 2019-10-30 17:04:10 -03:00
riscv nptl: Add struct_rwlock.h 2019-11-26 13:53:36 +00:00
s390 nptl: Add default pthreadtypes-arch.h 2019-11-26 13:53:36 +00:00
sh nptl: Add default pthreadtypes-arch.h 2019-11-26 13:53:36 +00:00
sparc nptl: Add default pthreadtypes-arch.h 2019-11-26 13:53:36 +00:00
unix nptl: Add struct_rwlock.h 2019-11-26 13:53:36 +00:00
wordsize-32 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
wordsize-64 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
x86 nptl: Add struct_rwlock.h 2019-11-26 13:53:36 +00:00
x86_64 nptl: Add tests for internal pthread_rwlock_t offsets 2019-11-26 13:53:36 +00:00