From patchwork Tue May 15 02:52:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 135810 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp413450lji; Mon, 14 May 2018 19:53:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqeC4SQU2PPkKLFE+k0diHboX9WZ7Np/004M9jrqNQhXt7rntrCSxdigZYXL9d+Z3K7Qfol X-Received: by 2002:a65:6553:: with SMTP id a19-v6mr10300577pgw.3.1526352826948; Mon, 14 May 2018 19:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526352826; cv=none; d=google.com; s=arc-20160816; b=XKN+iGKfxuJMFWPgNtyxUTluEWZNNAZkTr/ElV7mCkFktR+utCmprRqI7dFQ5OWkLV mF0ryYVnYIY/Av6qKZ3cRasaqua8SnanLLiFdjbu3Qru1DCRdPjjNsc/8XMRBnfxcD5h HKveccZED0+P6AGIRafkUDgnCDCX/tJSAwCE+tY9za+zuCrajk4gDpM25f7KU8Zno/ZZ LVJgd14o7lq0olWpOm5p3sO7loZ+i5dBQnHrTW156SZ53/E1Y/YJS7P6S3ak41sqx30x KwY2C5cyH+KLvcn9bsSNDgC0dHALtCDhHtQir9acuQUPkE84ZQ2/tdRS5tPYU/UpLpBH C1xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=2UHMsV0PbQpD2GXGpjLO29Go9kcQ+lE2Hb3BWk4/R/Q=; b=Ae4l+1R/K8VtHJ9xXsuui9ioxMV3FqSbuNh4vBQTUExEPsuGm7juo6yzPWsQTC0JTs t/S+X9JiJG7M5vuTB6frFc/llNctb0O6siIOT1mWd48PjCXwMqjL63OjvoRElfr1dP04 11375SWHubQoHQ5UAEUj7QyjHwQFzWUeh5UhK+vgtcqgoRxEYFr1WVOJMA33R5qQ1t+4 4/obChFtj/i0ANrcV0wXtV2WGx+kBUhqhc4qe6qqIl9r69PQRpYZhmBtoIMPKH2weQ2h yeZSVk5WP3kei4ZpnXuGPs5wcHqxxnKYK5VqG+bj4KZXzBOWiJwVv52WyPQxW7TfJBiw Yyrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=pyXxnDxE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3-v6si8579944pgc.229.2018.05.14.19.53.46; Mon, 14 May 2018 19:53:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=pyXxnDxE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752125AbeEOCxo (ORCPT + 29 others); Mon, 14 May 2018 22:53:44 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:47957 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752031AbeEOCxn (ORCPT ); Mon, 14 May 2018 22:53:43 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id w4F2qVSt002191; Tue, 15 May 2018 11:52:32 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com w4F2qVSt002191 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1526352752; bh=2UHMsV0PbQpD2GXGpjLO29Go9kcQ+lE2Hb3BWk4/R/Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pyXxnDxEsogWLUe+kUq2je/bcseD23oT65ualGAowxsDx72Qpdp/T1GWzWB5M7Uik sySvTArNZJFhPmy+TgMRPtclrUZaf/mjcLw4A4yuFwOl/fP2piLBJf34KbDcWDr7fi tlmE1I5nwBKSIRhnbdoYfBvzGHh80G4b1CXHUNYZuTMv6jTPvmCcaDR3CBDX9Kv/qo icBBE3b4a0DieWJufJnozGVNyBwiud+Ijx36yJEGJclx4oqXcL8JloWO6Uhn+GABA5 He3XEqbA7p16CjrpLpdDaZfkAgew1DtltdN8Kzji93jx/sn+CjSL+enmA32dACcOwi j5dXPDAHB6WfA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Ingo Molnar , Thomas Gleixner , x86@kernel.org Cc: Masahiro Yamada , "H. Peter Anvin" , linux-kernel@vger.kernel.org, Andy Lutomirski Subject: [PATCH 1/3] x86/build: vdso: remove unused $(vobjs-nox32) in Makefile Date: Tue, 15 May 2018 11:52:22 +0900 Message-Id: <1526352744-28229-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1526352744-28229-1-git-send-email-yamada.masahiro@socionext.com> References: <1526352744-28229-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit bfad381c0d1e ("x86/vdso: Improve the fake section headers"), $(vobjs-nox32) is empty. Therefore, $(vobjs64-for-x32) is the same as $(vobjs-y). Signed-off-by: Masahiro Yamada --- arch/x86/entry/vdso/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) -- 2.7.4 diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile index d998a48..2988506 100644 --- a/arch/x86/entry/vdso/Makefile +++ b/arch/x86/entry/vdso/Makefile @@ -100,11 +100,8 @@ VDSO_LDFLAGS_vdsox32.lds = -Wl,-m,elf32_x86_64 \ -Wl,-z,max-page-size=4096 \ -Wl,-z,common-page-size=4096 -# 64-bit objects to re-brand as x32 -vobjs64-for-x32 := $(filter-out $(vobjs-nox32),$(vobjs-y)) - # x32-rebranded versions -vobjx32s-y := $(vobjs64-for-x32:.o=-x32.o) +vobjx32s-y := $(vobjs-y:.o=-x32.o) # same thing, but in the output directory vobjx32s := $(foreach F,$(vobjx32s-y),$(obj)/$F) From patchwork Tue May 15 02:52:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 135812 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp413603lji; Mon, 14 May 2018 19:54:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrhjZtTtVKP36vixUBailSVWJgdFKd6idtPytnpuzQDO8N6pmicLV5tprmmxq3w1u76SRLa X-Received: by 2002:a65:4d8a:: with SMTP id p10-v6mr10482492pgq.21.1526352840120; Mon, 14 May 2018 19:54:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526352840; cv=none; d=google.com; s=arc-20160816; b=vemMr/BTZSjG0cMMs3pa1IZaghoj7ltPBHlKjE/zqpLHuD9g86S+++lVa6B1TBQirz r6TudQYQTpif5Wm1V8RW47AsvVaB205D7K5kThXH8n4XWx1O4Ir1IMg0CsgSp5KUFKBM zvDWsFjuM2d/8LbBiCg61CSYmwt/ojTQ7M3PQ/iyYDOegIGdpZEN3wNWsu077U11qL8B 3RSHRA5hO20ejLTpvQQq9tvFQWwlXrP4LFvFNM0YMeosBRdkbhe4j88L+Xs7AY7Aji7d Hsdkj4M0jSg32yDftF35XZXFK74nADEJMkAr+Bpcs7GHIyseKvEWUbE6lvpAkeVOc70f xDVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=yIULNy7PPQJD4JWXFV3ywdLNyqqx0H2bIb7wgUFuvs0=; b=0MsgGMrB2cZuzhwx9CjJ0W+nTWrXTZwKPstuldyWlGu2OQcEhtvzFqRiH1cRf91ZlG kITD3sQU8SQoh3MdGX2qZzzekcZPYjqpUJ/V1TY4gdmx5XrLaQJ9yynGfEbKIJRhYuNV tU4IUzT79gMT0f05iZjPcz3AT+y3OQtukfX+lcHFbXDpe1eowcb+sYRMw3xO/N8vxVmm SvDt4DII+byGWZJwTMDMoVkItF4F+u88flt/fqLooQ9LWQ0e8upwpMDuVaGJpoG7wjiq K9ugGVynFS4SlOLlDlz7TxRwL6GtT+iOnuGnGAr22MxaeNpzJgA6IHfwNKsbbVWDmlZB 8hJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=xk+b+TJT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u7-v6si10969785plq.160.2018.05.14.19.53.59; Mon, 14 May 2018 19:54:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=xk+b+TJT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752284AbeEOCx4 (ORCPT + 29 others); Mon, 14 May 2018 22:53:56 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:48183 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752031AbeEOCxv (ORCPT ); Mon, 14 May 2018 22:53:51 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id w4F2qVSu002191; Tue, 15 May 2018 11:52:33 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com w4F2qVSu002191 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1526352753; bh=yIULNy7PPQJD4JWXFV3ywdLNyqqx0H2bIb7wgUFuvs0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xk+b+TJT8DWP2+judgutlcaOUnXkZJdlSG9vhzXkPANQQz5dyDVWydmAzN06x+lpi eFT1/gytLhwTusDpOkW82rNpzZaig3X35DvgqzufIXRd3yZcQbHkG7z9Nq/UwOKXQQ kRfzNbgniVDahqPzmsU4bBQkjgpnj6WOIzixnHnP2DGueRN0SBGOZu82/TsbOIR3ks fp1L0O6ejwEzYDq5UI+y8a7mpvkoQjHxkru1ysbwsc0qRbtBtY2+eYL6Fvm9w2eieG YYk3fL15xJWvGh1srAkOApu+e/h/ElyK3tIRY1YuPnbMFfxXE3ZLBcRo7eUoJne5WX 6FHbYi4wleFTg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Ingo Molnar , Thomas Gleixner , x86@kernel.org Cc: Masahiro Yamada , "H. Peter Anvin" , user-mode-linux-user@lists.sourceforge.net, user-mode-linux-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Richard Weinberger , Andy Lutomirski , Jeff Dike Subject: [PATCH 2/3] x86/build: vdso: remove unnecessary export in Makefile Date: Tue, 15 May 2018 11:52:23 +0900 Message-Id: <1526352744-28229-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1526352744-28229-1-git-send-email-yamada.masahiro@socionext.com> References: <1526352744-28229-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CPPFLAGS_vdso.lds is assigned and referenced internally in each Makefile. No need to export it. Signed-off-by: Masahiro Yamada --- arch/x86/entry/vdso/Makefile | 2 +- arch/x86/um/vdso/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile index 2988506..690df4c 100644 --- a/arch/x86/entry/vdso/Makefile +++ b/arch/x86/entry/vdso/Makefile @@ -44,7 +44,7 @@ obj-y += $(vdso_img_objs) targets += $(vdso_img_cfiles) targets += $(vdso_img_sodbg) $(vdso_img-y:%=vdso%.so) -export CPPFLAGS_vdso.lds += -P -C +CPPFLAGS_vdso.lds += -P -C VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ -Wl,--no-undefined \ diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile index 426681e..3af55cd 100644 --- a/arch/x86/um/vdso/Makefile +++ b/arch/x86/um/vdso/Makefile @@ -23,7 +23,7 @@ $(obj)/vdso.o: $(obj)/vdso.so targets += vdso.so vdso.so.dbg vdso.lds $(vobjs-y) -export CPPFLAGS_vdso.lds += -P -C +CPPFLAGS_vdso.lds += -P -C VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096 From patchwork Tue May 15 02:52:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 135813 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp413728lji; Mon, 14 May 2018 19:54:10 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqOR7vTJFJT8DQ+Ua5x1HecdN2JsQP5u1qeegTmC1xZk5UuLS1D17C8PWiUBgb6ME7ug08w X-Received: by 2002:aa7:83c7:: with SMTP id j7-v6mr13029957pfn.50.1526352850393; Mon, 14 May 2018 19:54:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526352850; cv=none; d=google.com; s=arc-20160816; b=cD+pv9RdWfrI6y60OdYa9J2nzTMpM0F3j0H1sCM2QbKCD838H1izMz2E6BtVLQxjV9 eWvAE9ybPiWv3fepkjS6sWOPTHZ5x/WEAYzfx2NK6CXw/HpHG3AmBZRmQ5zGOI6cmaMG nGlLiZb2qhCIacKH8L+6hpvSzs2BaehUL2JGKReZancDm7ioT+JW7oJukp4cXwaKuyGS C6/WtmAaddkefUfDd9xeJjRFWG+PUbguEIK82md5gg7dqs/oAYk2UGXzkp/WRWsKNyC1 AyRD1Oo+WHQACm9NJEtkPieExglvQpmyfvkfrF0uuys8Pz3SkJMs++swXg6HbAXSnnMX /YaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=UE0etjuhjiNWU3Tk9dEbl9FFlCDGTMCvMRC7h77e3tA=; b=BhoD7b4C0BwiRO/11EWAX0Gm02VwpC6sjKOBfga86LGy5jtHnzASz0CUKT413PI6ZY Hc4mRI+MXkP/BoKLhJtKFwC7ebi7kWendcAfw4Y5SCueKHTywKcqVd39RIHcLlZofPcC avN+yH61omxAMfo3yPnMUXZvCmMe1AwQUQgJPrjblU73SNPRKESh+aC7/f9GQFNx691o 0j1NxFY2ksU2FbrEL2LzZO3XhDQDhhVaTcYraYjGPVCdcy5czJ3MBv2IZ2wqEr47L1dH yHfX8AXduFq/5l4wO+1yJULpJ2LAc6dNMgEc51p2wn8MnoX8GpCAbgni7VTTICVZaWSA tmGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=lKdlUwa4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1-v6si4267504pgr.402.2018.05.14.19.54.10; Mon, 14 May 2018 19:54:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=lKdlUwa4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752247AbeEOCxy (ORCPT + 29 others); Mon, 14 May 2018 22:53:54 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:48189 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752057AbeEOCxv (ORCPT ); Mon, 14 May 2018 22:53:51 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id w4F2qVSv002191; Tue, 15 May 2018 11:52:34 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com w4F2qVSv002191 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1526352754; bh=UE0etjuhjiNWU3Tk9dEbl9FFlCDGTMCvMRC7h77e3tA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lKdlUwa4jbDyZi8C/BvQVC7o4NImvBeX35B6P9qUNzzs88nvuxRQW4c9QdO53jsY1 q8J8e0dQ3DWcPPs8blb0EoKSF0/TjObjcZqryJnss75EmCcA4fEelAiTFhDTsDWUiD clI8OzY3TdxWPmSld1KwbPsLiem1Fe0sm4nQp11xDwH49w2iIekXyhssx3ddp0/Bt4 LAV1pX4MxJ6Ln4IZekdElQaU4QkFazwk5fzOOuNx0EfEEKbq4JLR5Xguo7Tp+yt6Fs Ji0DJhpMQCQY7qxxOjYn7qR7Q5ztrdqmpOKVzi+thX6QA0Lx49lyKUTm9HVxzdILwC z1XMEya8cUniQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Ingo Molnar , Thomas Gleixner , x86@kernel.org Cc: Masahiro Yamada , "H. Peter Anvin" , user-mode-linux-user@lists.sourceforge.net, user-mode-linux-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Richard Weinberger , Andy Lutomirski , Jeff Dike Subject: [PATCH 3/3] x86/build: vdso: put generated linker scripts to $(obj)/ Date: Tue, 15 May 2018 11:52:24 +0900 Message-Id: <1526352744-28229-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1526352744-28229-1-git-send-email-yamada.masahiro@socionext.com> References: <1526352744-28229-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Let's put generated files to $(obj)/ rather than $(src)/ although this is just a matter of taste because both are the same. Signed-off-by: Masahiro Yamada --- arch/x86/entry/vdso/Makefile | 4 ++-- arch/x86/um/vdso/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.7.4 diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile index 690df4c..261802b 100644 --- a/arch/x86/entry/vdso/Makefile +++ b/arch/x86/entry/vdso/Makefile @@ -51,7 +51,7 @@ VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096 \ $(DISABLE_LTO) -$(obj)/vdso64.so.dbg: $(src)/vdso.lds $(vobjs) FORCE +$(obj)/vdso64.so.dbg: $(obj)/vdso.lds $(vobjs) FORCE $(call if_changed,vdso) HOST_EXTRACFLAGS += -I$(srctree)/tools/include -I$(srctree)/include/uapi -I$(srctree)/arch/$(SUBARCH)/include/uapi @@ -119,7 +119,7 @@ $(obj)/%.so: OBJCOPYFLAGS := -S $(obj)/%.so: $(obj)/%.so.dbg $(call if_changed,objcopy) -$(obj)/vdsox32.so.dbg: $(src)/vdsox32.lds $(vobjx32s) FORCE +$(obj)/vdsox32.so.dbg: $(obj)/vdsox32.lds $(vobjx32s) FORCE $(call if_changed,vdso) CPPFLAGS_vdso32.lds = $(CPPFLAGS_vdso.lds) diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile index 3af55cd..822ccdb 100644 --- a/arch/x86/um/vdso/Makefile +++ b/arch/x86/um/vdso/Makefile @@ -30,7 +30,7 @@ VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ $(obj)/vdso.o: $(src)/vdso.S $(obj)/vdso.so -$(obj)/vdso.so.dbg: $(src)/vdso.lds $(vobjs) FORCE +$(obj)/vdso.so.dbg: $(obj)/vdso.lds $(vobjs) FORCE $(call if_changed,vdso) $(obj)/%.so: OBJCOPYFLAGS := -S