From patchwork Tue Dec 6 21:48:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 18249 Received: (qmail 57475 invoked by alias); 6 Dec 2016 21:49:01 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 57420 invoked by uid 89); 6 Dec 2016 21:48:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy=capital, a, Full X-HELO: mail-qk0-f196.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4so2jRXgtcPnT8r6Zmn58W3iCKj8dK4cpo0SFBUunWw=; b=d0YFUwvtuaKdDKKzPXFHI8BhP073uGYMZ2oGylnhntD1UC3Bzy007rWP3PhtZ20l4e C/5AD/9M6hWIzKJj96aL8y5jcwHE8bFJV7nTiBwUoHJtmlj/YTNLHIOboeCgTIdhUipy rZUgQfL/su3NHHadFRzjUzWvulcnWAM6dHxJirvb79n18Kic7asrBs23vP8GkUhkY855 RnIlZDdTsjh0iBfZrlqYG9kczex4QIJWBCh2aKMIFMis58qW13B28vv75Kuys2Ls9jEP CXeIyG3Q9d1AiOoyS0uGOQDo1i9Cx6EV37o+t/t+Xkw4YsKbY+CMODmvez3/uREZ6qu+ zkZw== X-Gm-Message-State: AKaTC03Qq/RCgIntnj7sR/cSyRiHuX1MY4g3V/fNEyH0l61seKr60xtbxCLKldNd/lokd0cRQjYYImoKpYBA4A== X-Received: by 10.55.18.145 with SMTP id 17mr54773149qks.34.1481060926888; Tue, 06 Dec 2016 13:48:46 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: "H.J. Lu" Date: Tue, 6 Dec 2016 13:48:46 -0800 Message-ID: Subject: Re: [PATCH] Install libm.a as linker script [BZ #20539] To: Andrew Senkevich Cc: Andreas Schwab , libc-alpha On Tue, Dec 6, 2016 at 7:49 AM, Andrew Senkevich wrote: > 2016-12-06 18:21 GMT+03:00 Andreas Schwab : >> On Dez 06 2016, Andrew Senkevich wrote: >> >>> 2016-12-06 17:17 GMT+03:00 Andreas Schwab : >>>> On Dez 06 2016, Andrew Senkevich wrote: >>>> >>>>> +2016-12-06 Andrew Senkevich >>>>> + >>>>> + [BZ #20539] >>>>> + * math/Makefile (install-lib-ldscripts): added libm.a. >>>>> + ($(inst_libdir)/libm.a): added rule for installation as linker script. >>>>> + * Makerules (install-lib.a): filter out install-lib-ldscripts. >>>> >>>> ChangeLog entries should be in present tense, and written as full >>>> sentences. >>> >>> Which sentence is not full? >> >> Full sentences start with a capital. > > Oh yes of course, fixed. > > > -- > WBR, > Andrew diff --git a/Makerules b/Makerules index e865782..573c074 100644 --- a/Makerules +++ b/Makerules @@ -1190,7 +1190,8 @@ $(addprefix $(inst_sbindir)/,$(install-sbin)): \ $(do-install-program) endif ifdef install-lib -install-lib.a := $(filter lib%.a,$(install-lib)) +install-lib.a := $(filter-out libm.a,$(filter lib%.a,$(install-lib))) +install-lib.a := $(filter-out $(install-lib-ldscripts),$(install-lib.a)) Need to filler out libm.a separately since it is in install-lib-ldscripts already.