From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id A8711396D804; Wed, 21 Oct 2020 17:18:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A8711396D804 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Jon TURNEY To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: gendef generates sigfe.s and cygwin.def X-Act-Checkin: newlib-cygwin X-Git-Author: Jon Turney X-Git-Refname: refs/heads/master X-Git-Oldrev: b5bc608b3265eba10e78e54cc2c3f51929c61287 X-Git-Newrev: 74a164f1c162645f4389bbd9edb2f89a630853af Message-Id: <20201021171855.A8711396D804@sourceware.org> Date: Wed, 21 Oct 2020 17:18:55 +0000 (GMT) X-BeenThere: cygwin-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2020 17:18:55 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=74a164f1c162645f4389bbd9edb2f89a630853af commit 74a164f1c162645f4389bbd9edb2f89a630853af Author: Jon Turney Date: Mon Oct 12 16:59:02 2020 +0100 Cygwin: gendef generates sigfe.s and cygwin.def Express that gendef generates sigfe.s and cygwin.def in a slightly less nutty way. Diff: --- winsup/cygwin/Makefile.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index a56a311b8..70e38ead6 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -785,16 +785,13 @@ $(VERSION_OFILES): version.cc Makefile: ${srcdir}/Makefile.in /bin/sh ./config.status -$(DEF_FILE): gendef $(srcdir)/$(TLSOFFSETS_H) $(DIN_FILE) - $(word 1,$^) --cpu=${target_cpu} --output-def=$@ --tlsoffsets=$(word 2,$^) $(wordlist 3,99,$^) +$(DEF_FILE) sigfe.s: gendef $(srcdir)/$(TLSOFFSETS_H) $(DIN_FILE) + $(word 1,$^) --cpu=${target_cpu} --output-def=$(DEF_FILE) --tlsoffsets=$(word 2,$^) $(wordlist 3,4,$^) $(srcdir)/$(TLSOFFSETS_H): gentls_offsets cygtls.h $^ $@ $(target_cpu) $(COMPILE.cc) -c || rm $@ sigfe.s: $(DEF_FILE) - @[ -s $@ ] || \ - { rm -f $(DEF_FILE); $(MAKE) -s -j1 $(DEF_FILE); }; \ - [ -s $@ ] && touch $@ sigfe.o: sigfe.s $(srcdir)/$(TLSOFFSETS_H) $(CC) ${CFLAGS} -c -o $@ $<