Message ID | 20221207212246.2384051-1-adhemerval.zanella@linaro.org |
---|---|
Headers |
Return-Path: <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CC89C38369C1 for <patchwork@sourceware.org>; Wed, 7 Dec 2022 21:23:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CC89C38369C1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1670448193; bh=DywkMJH8qUDXd0wRPcIPYXFeGa3j8peJTSP9goL5tSs=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=sqvsVlihemyJO9ktB/y+v981VmGULO6/GL3K63ZHl6SKX0TqRlCv+cs0g1EkDHEoK NxvCs7Z8JrVvIYGZYpEv6PweC1A5BF7mFcqXacrt3sPoCCI872b90R7kNy72TJUNrv UcMzOyDCAVvSnsVzyADrFw/jQheIXBXmsbFzb05I= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-oa1-x30.google.com (mail-oa1-x30.google.com [IPv6:2001:4860:4864:20::30]) by sourceware.org (Postfix) with ESMTPS id 0649F383554D for <libc-alpha@sourceware.org>; Wed, 7 Dec 2022 21:22:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0649F383554D Received: by mail-oa1-x30.google.com with SMTP id 586e51a60fabf-12c8312131fso22885735fac.4 for <libc-alpha@sourceware.org>; Wed, 07 Dec 2022 13:22:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DywkMJH8qUDXd0wRPcIPYXFeGa3j8peJTSP9goL5tSs=; b=Y8OQntMEO8+WR1rtGTsjFutlz0qA/0kNUQ2p9TTr4jMFyu9NBU9halPjcGHxgBskIS GlF/UKNZvbK4GjKMbiVrCwnCgsYnXMZ4h3Q8SoWloSIGqxeAKay/T0zMlJzT3ctTpiTU N3DXqDZ/HS351gmambgG+5oUWU2OswtNp6eZ21QFvVvHCEDQsKzQTuMN2/YcGMb95x49 biMlNX8BQ/W3XQ0C7H4yflqktwPfCZlo7f+UFWN+9cITsKjI038PdDjWYotym5WmzYgO EYmiPttq/0ACoCf0an9PdQlfdBgT7l7M4ZndQKUHD7jsh2Dt47xlqT1HEiQLtEE8R3FK kjkg== X-Gm-Message-State: ANoB5pmpw/nxT5hd6iJrdRfMYyLANFvjr/S3xGt206sKUblKVQKFecKn wQy+P1rDK63HJwhMHLMeHSx2xtGNbzG9Lcic4rQ= X-Google-Smtp-Source: AA0mqf7a6I8JosPozMu4ehhJ2QC2FfZu236MvOVshHojoBTPC+t+hYtOmNk5tl7/mxvUK1rUAzlp0g== X-Received: by 2002:a05:6870:7025:b0:144:8004:1b42 with SMTP id u37-20020a056870702500b0014480041b42mr10050564oae.105.1670448170114; Wed, 07 Dec 2022 13:22:50 -0800 (PST) Received: from mandiga.. ([2804:1b3:a7c2:6793:2c6f:f2fc:30ca:36c1]) by smtp.gmail.com with ESMTPSA id n189-20020aca59c6000000b0035a64076e0bsm9870305oib.37.2022.12.07.13.22.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 13:22:49 -0800 (PST) To: libc-alpha@sourceware.org, Carlos O'Donell <carlos@redhat.com> Subject: [PATCH v2 0/5] Remove Linux generic sysdep Date: Wed, 7 Dec 2022 18:22:41 -0300 Message-Id: <20221207212246.2384051-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Adhemerval Zanella via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Adhemerval Zanella <adhemerval.zanella@linaro.org> Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> |
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
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 >