]> sourceware.org Git - glibc.git/commit
semaphore: consolidate arch headers into a generic one
authorVineet Gupta <vgupta@synopsys.com>
Tue, 5 May 2020 19:53:41 +0000 (12:53 -0700)
committerVineet Gupta <vgupta@synopsys.com>
Wed, 6 May 2020 20:07:12 +0000 (13:07 -0700)
commit1270fbaaeebe642db335fccaaf98c82e6647cc0d
treeee000a76b8b7c0c22ea9270df02e82d5eeae42c6
parent99a327f801f7dbc8ca33b202718ef5bd0bf02ba5
semaphore: consolidate arch headers into a generic one

This consolidates the copy-pasted arch specific semaphore header into
single version (based on s390) which suffices 32-bit and and 64-bit
arch/ABI based on the canonical WORDSIZE.

For now I've left out arches which use alternate defines to choose for
32 vs 64-bit builds (aarch64, mips) which in theory can also use the same
header.

Passes build-many for
  aarch64-linux-gnu arm-linux-gnueabi arm-linux-gnueabihf
  riscv64-linux-gnu-rv64imac-lp64 riscv64-linux-gnu-rv64imafdc-lp64
  x86_64-linux-gnu microblaze-linux-gnu nios2-linux-gnu

Suggested-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
13 files changed:
sysdeps/arm/nptl/bits/semaphore.h [deleted file]
sysdeps/csky/nptl/bits/semaphore.h [deleted file]
sysdeps/hppa/nptl/bits/semaphore.h [deleted file]
sysdeps/ia64/nptl/bits/semaphore.h [deleted file]
sysdeps/microblaze/nptl/bits/semaphore.h [deleted file]
sysdeps/nios2/nptl/bits/semaphore.h [deleted file]
sysdeps/riscv/nptl/bits/semaphore.h [deleted file]
sysdeps/s390/nptl/bits/semaphore.h [deleted file]
sysdeps/sh/nptl/bits/semaphore.h [deleted file]
sysdeps/sparc/nptl/bits/semaphore.h [deleted file]
sysdeps/unix/sysv/linux/alpha/bits/semaphore.h [deleted file]
sysdeps/unix/sysv/linux/bits/semaphore.h [moved from sysdeps/x86/bits/semaphore.h with 90% similarity]
sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h [deleted file]
This page took 0.051536 seconds and 5 git commands to generate.