glibc/sysdeps/unix/sysv/linux/alpha/bits
Joseph Myers 2a4b25fad8 Use common bits/shm.h for more architectures.
sysdeps/unix/sysv/linux/bits/shm.h has padding after time fields in
struct shmid_ds unconditionally, and thus is only suitable for 32-bit
architectures (no 64-bit configurations use this file);
sysdeps/unix/sysv/linux/generic/bits/shm.h is substantively the same,
except that the padding is conditioned on __WORDSIZE == 32, and so it
can be used for 64-bit architectures as well.

This patch adds the conditionals to
sysdeps/unix/sysv/linux/bits/shm.h.  The linux/generic/ version is
then no longer needed and so is removed, as are the alpha and s390
versions which are also no longer needed.  The other
architecture-specific versions have different padding, layout, types
or SHMLBA definitions and so are still needed after this change.

This is essentially the same change for bits/shm.h as the bits/msq.h
patch and the bits/sem.h patch.  However, the details of the padding
variations for the architectures that aren't changed are not all the
same between msqid_ds, shmid_ds and semid_ds.

Tested with build-many-glibcs.py.

	* sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
	(struct shmid_ds): Condition padding after time fields on
	[__WORDSIZE == 32].
	* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
	* sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2018-10-10 00:56:17 +00:00
..
a.out.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
dirent.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
elfclass.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
epoll.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
errno.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
eventfd.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fcntl.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
inotify.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ioctls.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ipc.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
local_lim.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mman.h Add MAP_FIXED_NOREPLACE from Linux 4.17 to bits/mman.h. 2018-06-05 11:04:46 +00:00
netdb.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
procfs-prregset.h Complete sys/procfs.h unification. 2018-09-25 16:50:30 +00:00
procfs.h Complete sys/procfs.h unification. 2018-09-25 16:50:30 +00:00
resource.h Alpha: Fix the RLIM_INFINITY and RLIM64_INFINITY constants 2018-01-05 20:34:10 +01:00
semaphore.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigaction.h hurd: Fix includability of <hurd/signal.h> in all standards 2018-03-05 22:50:29 +01:00
signalfd.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
signum.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigstack.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
socket_type.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
stat.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
statfs.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
termios.h Define XTABS to TAB3 on alpha to match Linux 4.16. 2018-04-20 19:52:02 +00:00
timerfd.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
typesizes.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
wordsize.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00