From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1039) id CC8B23858436; Wed, 10 Nov 2021 12:55:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CC8B23858436 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: H.J. Lu To: glibc-cvs@sourceware.org Subject: [glibc] Remove the unused +mkdep/+make-deps/s-proto.S/s-proto-cancel.S X-Act-Checkin: glibc X-Git-Author: H.J. Lu X-Git-Refname: refs/heads/master X-Git-Oldrev: 824dd3ec4922fbb9a34c62f4829e7817cc60e29a X-Git-Newrev: 0bd356df1afb0591470499813d4ebae9bcedd6a6 Message-Id: <20211110125526.CC8B23858436@sourceware.org> Date: Wed, 10 Nov 2021 12:55:26 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2021 12:55:26 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0bd356df1afb0591470499813d4ebae9bcedd6a6 commit 0bd356df1afb0591470499813d4ebae9bcedd6a6 Author: H.J. Lu Date: Sat Nov 6 06:46:43 2021 -0700 Remove the unused +mkdep/+make-deps/s-proto.S/s-proto-cancel.S 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 +mkdep, +make-deps, s-proto.S and s-proto-cancel.S. This fixes BZ #28554. Diff: --- Makeconfig | 7 ------- Makerules | 9 --------- sysdeps/unix/Makefile | 4 ---- sysdeps/unix/s-proto-cancel.S | 5 ----- sysdeps/unix/s-proto.S | 4 ---- 5 files changed, 29 deletions(-) diff --git a/Makeconfig b/Makeconfig index 2fa0884b4e..3fa2f13003 100644 --- a/Makeconfig +++ b/Makeconfig @@ -873,13 +873,6 @@ define elide-stack-protector $(if $(filter $(@F),$(patsubst %,%$(1),$(2))), $(no-stack-protector)) endef -# This is the program that generates makefile dependencies from C source files. -# The -MP flag tells GCC >= 3.2 (which we now require) to produce dummy -# targets for headers so that removed headers don't break the build. -ifndef +mkdep -+mkdep = $(CC) -M -MP -endif - # The program that makes Emacs-style TAGS files. ETAGS := etags 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/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