glibc/sysdeps/mips
Adhemerval Zanella 7df8af43ad nptl: Add struct_rwlock.h
This patch adds a new generic __pthread_rwlock_arch_t definition meant
to be used by new ports.  Its layout mimics the current usage on some
64 bits ports and it allows some ports to use the generic definition.
The arch __pthread_rwlock_arch_t definition is moved from
pthreadtypes-arch.h to another arch-specific header (struct_rwlock.h).

Also the static intialization macro for pthread_rwlock_t is set to use
an arch defined on (__PTHREAD_RWLOCK_INITIALIZER) which simplifies its
implementation.

The default pthread_rwlock_t layout differs from current ports with:

  1. Internal layout is the same for 32 bits and 64 bits.

  2. Internal flag is an unsigned short so it should not required
     additional padding to align for word boundary (if it is the case
     for the ABI).

Checked with a build on affected abis.

Change-Id: I776a6a986c23199929d28a3dcd30272db21cd1d0
2019-11-26 13:53:36 +00:00
..
bits Split up endian.h to minimize exposure of BYTE_ORDER. 2019-10-01 14:54:46 -07:00
fpu Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ieee754 Split up endian.h to minimize exposure of BYTE_ORDER. 2019-10-01 14:54:46 -07:00
include/sys Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mips32 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mips64 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nofpu
nptl nptl: Add struct_rwlock.h 2019-11-26 13:53:36 +00:00
sys Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
__longjmp.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
abort-instr.h
add_n.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
addmul_1.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
atomic-machine.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
bsd-_setjmp.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
bsd-setjmp.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
configure
configure.ac
dl-dtprocnum.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-machine-reject-phdr.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-machine.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-procinfo.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-procinfo.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-tls.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-trampoline.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fpregdef.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fpu_control.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
gccframe.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Implies
jmpbuf-unwind.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ldbl-classify-compat.h
ldsodefs.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
libc-tls.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
linkmap.h MIPS support for GNU hash 2019-08-29 20:11:42 +00:00
localplt.data
lshift.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
machine-gmon.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Makefile
math-tests-snan-payload.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memcpy.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memset.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memusage.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mul_1.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nan-high-order-bit.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
preconfigure
regdef.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
rshift.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
setjmp_aux.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
setjmp.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sgidefs.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sotruss-lib.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
stackinfo.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
start.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strcmp.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sub_n.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
submul_1.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tininess.h
tls-macros.h
tst-abi-fp32mod.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-abi-fp64amod.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-abi-fp64mod.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-abi-fpxxmod.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-abi-fpxxomod.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-abi-interlink.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-audit.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-mode-switch-1.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-mode-switch-2.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-mode-switch-3.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-undefined-weak-lib.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-undefined-weak.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00