From patchwork Mon Nov 8 18:41:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 47232 Return-Path: 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 A05C33858020 for ; Mon, 8 Nov 2021 18:42:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A05C33858020 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1636396943; bh=gsjhKX4ZofcFqyIjP2uL6tUGoXz+h+YeMlciwrA2Tl8=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=oB86tUZm7izrvRWOcMOD4m+2Vg8LxizDBYT5hitWlOqYmI7b1sKMzddI/BZK8dsHR QzKP5ctsTiIs0rqRqHSt5bYFYhLfC/PzEHCd1YlqtlvoUMKwOdGfssytM3TalBCOLL Db6kOm68bp0ScUqjyQucSUynZSoBUGZkzjpWrLuQ= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by sourceware.org (Postfix) with ESMTPS id A14963858425 for ; Mon, 8 Nov 2021 18:41:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A14963858425 Received: by mail-pg1-x52a.google.com with SMTP id r28so15953369pga.0 for ; Mon, 08 Nov 2021 10:41:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=gsjhKX4ZofcFqyIjP2uL6tUGoXz+h+YeMlciwrA2Tl8=; b=dsAfoPFji8GYaWS6p/42nnA08v8T/rojny2j9d0uf4AfyztC2ds8dysM25KmdYJ+5P ma4hXvcB2uGKyzvEyU6N2Djn7tRs2k5yhhlYWPrIp7FXCLboxFQJPWKsOmVXNOmzBfZH Pp1x68OQ+BQ/ZqIi0LcSdcfltxhhb5sz2I1b6z1sbu4K5qA75la3Sgcx9zY+6gxTjSqB EFzvMHxT/ylbo6PXLLtmO0UdSKyPTUUiW0avLFduOJIfR7vF9PurHF1IjTLXbwr8yYNA XY6gDp/3YvY+bsPZcgYJFCrqZo5H+zGNfikkyTJzOYICXI92kPzIcz3WLaYN7zH052c/ Z0vA== X-Gm-Message-State: AOAM531bvo/WyMAqlV59WYEymTpgHF8MVF1nMTeo8U19wLXAkgkMMo6g X4ny7EvYPLTADruXmWj/c7C8xjPyFuc= X-Google-Smtp-Source: ABdhPJwhK8mQRPB12NaPcM0UNDQbbud4DfwpqFezuixy7A8BeSzLJPqs9qHFV+8yr2Ed0L4bK2z+uQ== X-Received: by 2002:a05:6a00:230e:b0:44c:4f2d:9b00 with SMTP id h14-20020a056a00230e00b0044c4f2d9b00mr83879708pfh.24.1636396915468; Mon, 08 Nov 2021 10:41:55 -0800 (PST) Received: from gnu-cfl-2.localdomain ([2607:fb90:a63f:468b:b937:402b:0:c66]) by smtp.gmail.com with ESMTPSA id c8sm13466152pgn.72.2021.11.08.10.41.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Nov 2021 10:41:55 -0800 (PST) Received: from gnu-cfl-2.lan (localhost [IPv6:::1]) by gnu-cfl-2.localdomain (Postfix) with ESMTP id 0F0811A0138 for ; Mon, 8 Nov 2021 10:41:54 -0800 (PST) To: libc-alpha@sourceware.org Subject: [PATCH v2] Remove the unused +make-deps/s-proto.S/s-proto-cancel.S Date: Mon, 8 Nov 2021 10:41:53 -0800 Message-Id: <20211108184153.2137212-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 X-Spam-Status: No, score=-3031.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "H.J. Lu via Libc-alpha" From: "H.J. Lu" Reply-To: "H.J. Lu" Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" Since commit d73f5331ce5370ca5a879229e3842f5de98689cd Author: Roland McGrath Date: Fri May 2 02:20:45 2003 +0000 2003-05-01 Roland McGrath dependency is generated by passing -MD -MF to compiler. Remove the unused +make-deps, s-proto.S and s-proto-cancel.S. --- Makerules | 9 --------- benchtests/strcoll-inputs/filelist#en_US.UTF-8 | 2 -- sysdeps/unix/Makefile | 4 ---- sysdeps/unix/s-proto-cancel.S | 5 ----- sysdeps/unix/s-proto.S | 4 ---- 5 files changed, 24 deletions(-) delete mode 100644 sysdeps/unix/s-proto-cancel.S delete mode 100644 sysdeps/unix/s-proto.S diff --git a/Makerules b/Makerules index 3503605a8e..8db0ca1296 100644 --- a/Makerules +++ b/Makerules @@ -459,15 +459,6 @@ compile-stdin.c = $(COMPILE.c) -o $@ -x c - $(compile-mkdep-flags) # get the wrong predefines. S-CPPFLAGS = -DASSEMBLER $(asm-CPPFLAGS) -define +make-deps -$(make-target-directory) -$(+mkdep) $< $(if $(filter %.c,$<),$(CFLAGS)) \ - $(CPPFLAGS) $($(patsubst .%,%,$(suffix $( $(@:.d=.T) -mv -f $(@:.d=.T) $@ -endef - ifneq (,$(objpfx)) # Continuation lines here are dangerous because they introduce spaces! define sed-remove-objpfx diff --git a/benchtests/strcoll-inputs/filelist#en_US.UTF-8 b/benchtests/strcoll-inputs/filelist#en_US.UTF-8 index 197700ec90..c62cad2042 100644 --- a/benchtests/strcoll-inputs/filelist#en_US.UTF-8 +++ b/benchtests/strcoll-inputs/filelist#en_US.UTF-8 @@ -393,7 +393,6 @@ dbl2mpn.c mrand48.c sysdeps unix -s-proto-cancel.S getlogin.c clock_nanosleep.c sockatmark.c @@ -474,7 +473,6 @@ cmsg_nxthdr.c wait3.c gtty.c tcsetpgrp.c -s-proto.S sysv linux check-cpuset.h diff --git a/sysdeps/unix/Makefile b/sysdeps/unix/Makefile index 2ee3be7237..582baa4bd8 100644 --- a/sysdeps/unix/Makefile +++ b/sysdeps/unix/Makefile @@ -104,10 +104,6 @@ $(common-objpfx)sysd-syscalls: $(..)sysdeps/unix/make-syscalls.sh \ mv -f $@T $@ endif -$(common-objpfx)s-%.d: $(..)sysdeps/unix/s-%.S \ - $(wildcard $(+sysdep_dirs:%=%/syscalls.list)) - $(+make-deps) - postclean-generated += sysd-syscalls endif diff --git a/sysdeps/unix/s-proto-cancel.S b/sysdeps/unix/s-proto-cancel.S deleted file mode 100644 index 042be3c8df..0000000000 --- a/sysdeps/unix/s-proto-cancel.S +++ /dev/null @@ -1,5 +0,0 @@ -/* This file exists just to have its dependencies determined. - Those dependencies are then used for the objects of the cancellable - system calls. */ - -#include diff --git a/sysdeps/unix/s-proto.S b/sysdeps/unix/s-proto.S deleted file mode 100644 index 52a197036c..0000000000 --- a/sysdeps/unix/s-proto.S +++ /dev/null @@ -1,4 +0,0 @@ -/* This file exists just to have its dependencies determined. - Those dependencies are then used for the simple system call objects. */ - -#include