Linux: Consolidate typesizes.h
commit929ea132b43dbec93e5f4d28f316d37ede91a635
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Wed, 19 Oct 2022 22:14:32 +0000 (19 19:14 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 7 Dec 2022 17:41:21 +0000 (7 14:41 -0300)
treef1bf9085e96736710acb133d1b8ff1cb56b0b304
parent9d53dc48e885da95b60a12c1cbbce8d3ca5d7598
Linux: Consolidate typesizes.h

The generic (sysdeps/unix/sysv/linux/generic/bits/typesizes.h) and
default (bits/typesizes.h) differs in two fields:

                    bits/typesizes.h    Linux generic
__NLINK_T_TYPE      __UWORD_TYPE        __U32_TYPE
__BLKSIZE_T_TYPE    __SLONGWORD_TYPE    __S32_TYPE

Sinceit leads to different C++ mangling names, the default typesize.h
is copied for the requires archtiectures and the generic is make the
default Linux one.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
sysdeps/unix/sysv/linux/arm/bits/typesizes.h [copied from sysdeps/unix/sysv/linux/generic/bits/typesizes.h with 53% similarity]
sysdeps/unix/sysv/linux/bits/typesizes.h [copied from sysdeps/unix/sysv/linux/generic/bits/typesizes.h with 100% similarity]
sysdeps/unix/sysv/linux/hppa/bits/typesizes.h [copied from sysdeps/unix/sysv/linux/generic/bits/typesizes.h with 53% similarity]
sysdeps/unix/sysv/linux/ia64/bits/typesizes.h [copied from sysdeps/unix/sysv/linux/generic/bits/typesizes.h with 61% similarity]
sysdeps/unix/sysv/linux/m68k/bits/typesizes.h [copied from sysdeps/unix/sysv/linux/generic/bits/typesizes.h with 53% similarity]
sysdeps/unix/sysv/linux/microblaze/bits/typesizes.h [copied from sysdeps/unix/sysv/linux/generic/bits/typesizes.h with 53% similarity]
sysdeps/unix/sysv/linux/mips/bits/typesizes.h [copied from sysdeps/unix/sysv/linux/generic/bits/typesizes.h with 68% similarity]
sysdeps/unix/sysv/linux/powerpc/bits/typesizes.h [copied from sysdeps/unix/sysv/linux/generic/bits/typesizes.h with 68% similarity]
sysdeps/unix/sysv/linux/sh/bits/typesizes.h [moved from sysdeps/unix/sysv/linux/generic/bits/typesizes.h with 53% similarity]