[v2,0/5] Remove Linux generic sysdep

Message ID 20221207212246.2384051-1-adhemerval.zanella@linaro.org
Headers
Series Remove Linux generic sysdep |

Message

Adhemerval Zanella Netto Dec. 7, 2022, 9:22 p.m. UTC
  With recent BZ#29657, where struct stat were not adapted for 64 time
because I forgot that generic folder is not always used for ports with
default 64 bit time_t; it seems better to finish the generic
integration and make the Linux default implementation the de-facto
"generic" implementation.

Changes for v2:
- Fixed sparc32 getsockname and getpeername kernel definition.
- Added epoll_create and inotify_init Makefile rules.
- Expanded commits messages.

Adhemerval Zanella (5):
  Linux: Move wordsize-32 Version to default
  Linux: Assume and consolidate getsockname wire-up syscall
  Linux: Assume and consolidate getpeername wire-up syscall
  Linux: Remove unused generic Makefile
  Linux: Remove generic Implies

 sysdeps/unix/sysv/linux/Makefile                     |  2 ++
 sysdeps/unix/sysv/linux/Versions                     |  3 +++
 sysdeps/unix/sysv/linux/aarch64/Implies              |  1 -
 sysdeps/unix/sysv/linux/arc/Implies                  |  2 --
 sysdeps/unix/sysv/linux/arm/Versions                 |  3 ---
 sysdeps/unix/sysv/linux/csky/Implies                 |  2 --
 sysdeps/unix/sysv/linux/generic/Makefile             |  3 ---
 sysdeps/unix/sysv/linux/generic/README               | 11 -----------
 sysdeps/unix/sysv/linux/generic/syscalls.list        |  5 -----
 sysdeps/unix/sysv/linux/generic/wordsize-32/Versions |  5 -----
 sysdeps/unix/sysv/linux/getpeername.c                |  7 +------
 sysdeps/unix/sysv/linux/getsockname.c                |  7 +------
 sysdeps/unix/sysv/linux/hppa/Versions                |  3 ---
 sysdeps/unix/sysv/linux/i386/Versions                |  4 ----
 sysdeps/unix/sysv/linux/i386/kernel-features.h       |  8 ++------
 sysdeps/unix/sysv/linux/kernel-features.h            |  2 ++
 sysdeps/unix/sysv/linux/loongarch/lp64/Implies       |  1 -
 sysdeps/unix/sysv/linux/m68k/Versions                |  3 ---
 sysdeps/unix/sysv/linux/m68k/kernel-features.h       |  8 ++------
 sysdeps/unix/sysv/linux/microblaze/Versions          |  5 -----
 sysdeps/unix/sysv/linux/microblaze/kernel-features.h |  2 --
 sysdeps/unix/sysv/linux/mips/Versions                |  3 ---
 sysdeps/unix/sysv/linux/nios2/Implies                |  2 --
 sysdeps/unix/sysv/linux/or1k/Implies                 |  2 --
 sysdeps/unix/sysv/linux/powerpc/kernel-features.h    |  2 --
 sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions   |  3 ---
 sysdeps/unix/sysv/linux/riscv/rv32/Implies           |  2 --
 sysdeps/unix/sysv/linux/riscv/rv64/Implies           |  1 -
 sysdeps/unix/sysv/linux/s390/kernel-features.h       |  8 ++------
 sysdeps/unix/sysv/linux/s390/s390-32/Versions        |  3 ---
 sysdeps/unix/sysv/linux/sh/Versions                  |  3 ---
 sysdeps/unix/sysv/linux/sh/kernel-features.h         |  2 --
 sysdeps/unix/sysv/linux/sparc/kernel-features.h      |  7 +++++++
 sysdeps/unix/sysv/linux/sparc/sparc32/Versions       |  3 ---
 sysdeps/unix/sysv/linux/syscalls.list                |  2 --
 35 files changed, 22 insertions(+), 108 deletions(-)
 delete mode 100644 sysdeps/unix/sysv/linux/generic/Makefile
 delete mode 100644 sysdeps/unix/sysv/linux/generic/README
 delete mode 100644 sysdeps/unix/sysv/linux/generic/syscalls.list
 delete mode 100644 sysdeps/unix/sysv/linux/generic/wordsize-32/Versions
 delete mode 100644 sysdeps/unix/sysv/linux/microblaze/Versions
  

Comments

Carlos O'Donell Feb. 19, 2023, 9:29 p.m. UTC | #1
On 12/7/22 16:22, Adhemerval Zanella wrote:
> With recent BZ#29657, where struct stat were not adapted for 64 time
> because I forgot that generic folder is not always used for ports with
> default 64 bit time_t; it seems better to finish the generic
> integration and make the Linux default implementation the de-facto
> "generic" implementation.

I reviewed the oustanding patches and I think this is ready to go in.

I suggest:
- Post v3 with my rb+tb carried forward (requires a rebase of one patch).
- Push v3.
- Mark v2 as superseded.
 
> Changes for v2:
> - Fixed sparc32 getsockname and getpeername kernel definition.
> - Added epoll_create and inotify_init Makefile rules.
> - Expanded commits messages.
> 
> Adhemerval Zanella (5):
>   Linux: Move wordsize-32 Version to default
>   Linux: Assume and consolidate getsockname wire-up syscall
>   Linux: Assume and consolidate getpeername wire-up syscall
>   Linux: Remove unused generic Makefile
>   Linux: Remove generic Implies
> 
>  sysdeps/unix/sysv/linux/Makefile                     |  2 ++
>  sysdeps/unix/sysv/linux/Versions                     |  3 +++
>  sysdeps/unix/sysv/linux/aarch64/Implies              |  1 -
>  sysdeps/unix/sysv/linux/arc/Implies                  |  2 --
>  sysdeps/unix/sysv/linux/arm/Versions                 |  3 ---
>  sysdeps/unix/sysv/linux/csky/Implies                 |  2 --
>  sysdeps/unix/sysv/linux/generic/Makefile             |  3 ---
>  sysdeps/unix/sysv/linux/generic/README               | 11 -----------
>  sysdeps/unix/sysv/linux/generic/syscalls.list        |  5 -----
>  sysdeps/unix/sysv/linux/generic/wordsize-32/Versions |  5 -----
>  sysdeps/unix/sysv/linux/getpeername.c                |  7 +------
>  sysdeps/unix/sysv/linux/getsockname.c                |  7 +------
>  sysdeps/unix/sysv/linux/hppa/Versions                |  3 ---
>  sysdeps/unix/sysv/linux/i386/Versions                |  4 ----
>  sysdeps/unix/sysv/linux/i386/kernel-features.h       |  8 ++------
>  sysdeps/unix/sysv/linux/kernel-features.h            |  2 ++
>  sysdeps/unix/sysv/linux/loongarch/lp64/Implies       |  1 -
>  sysdeps/unix/sysv/linux/m68k/Versions                |  3 ---
>  sysdeps/unix/sysv/linux/m68k/kernel-features.h       |  8 ++------
>  sysdeps/unix/sysv/linux/microblaze/Versions          |  5 -----
>  sysdeps/unix/sysv/linux/microblaze/kernel-features.h |  2 --
>  sysdeps/unix/sysv/linux/mips/Versions                |  3 ---
>  sysdeps/unix/sysv/linux/nios2/Implies                |  2 --
>  sysdeps/unix/sysv/linux/or1k/Implies                 |  2 --
>  sysdeps/unix/sysv/linux/powerpc/kernel-features.h    |  2 --
>  sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions   |  3 ---
>  sysdeps/unix/sysv/linux/riscv/rv32/Implies           |  2 --
>  sysdeps/unix/sysv/linux/riscv/rv64/Implies           |  1 -
>  sysdeps/unix/sysv/linux/s390/kernel-features.h       |  8 ++------
>  sysdeps/unix/sysv/linux/s390/s390-32/Versions        |  3 ---
>  sysdeps/unix/sysv/linux/sh/Versions                  |  3 ---
>  sysdeps/unix/sysv/linux/sh/kernel-features.h         |  2 --
>  sysdeps/unix/sysv/linux/sparc/kernel-features.h      |  7 +++++++
>  sysdeps/unix/sysv/linux/sparc/sparc32/Versions       |  3 ---
>  sysdeps/unix/sysv/linux/syscalls.list                |  2 --
>  35 files changed, 22 insertions(+), 108 deletions(-)
>  delete mode 100644 sysdeps/unix/sysv/linux/generic/Makefile
>  delete mode 100644 sysdeps/unix/sysv/linux/generic/README
>  delete mode 100644 sysdeps/unix/sysv/linux/generic/syscalls.list
>  delete mode 100644 sysdeps/unix/sysv/linux/generic/wordsize-32/Versions
>  delete mode 100644 sysdeps/unix/sysv/linux/microblaze/Versions
>