From patchwork Tue Jul 3 01:50:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 938313 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QU0CaMYn"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="kKUfE8iz"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41KRtl4pk1z9s3C for ; Tue, 3 Jul 2018 11:51:43 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=1QZ4FQanpQltvwVlAV+/CEWqibBgdrA84sCj5Z/ESKg=; b=QU0CaMYnpUMoDA+yQEfboH4xgM 075aBr3NVxDEoyeLPo942/Bl2qdzXeDUEfYETmQZD834IJIWp+csHij1+IE0+KXaEpEQjt96Jdng9 K+NK/uVduL5szu7tk5El0Cy5zo+F/9DVewsF/qiDaOH+Ouo7RWzpAvZvxHlXsUgJdbinvkB0O6weg u2+rqM9zbAZlTYAoRJA+j9zePGNhFxN8Z/v7048pLaOqzYMMXPfKEyFUkCjVn03ZYjk0Qbbs0Nbc4 cp5r4KtaeomdHoSgZPRnVgEv+8opLR6XnBahNl2zZQcwn3Gc33hAp4EJp/HG3F3E4pJX+QgZaaKwj QHzMBNDA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1faATe-0003hf-Hm; Tue, 03 Jul 2018 01:51:34 +0000 Received: from conuserg-09.nifty.com ([210.131.2.76]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1faATa-0003g0-D9 for linux-um@lists.infradead.org; Tue, 03 Jul 2018 01:51:32 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id w631oqZn012779; Tue, 3 Jul 2018 10:50:53 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com w631oqZn012779 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1530582654; bh=hqA5lf2vt9WOsT8uvEDcMBaVtWUE7n2nyAf1Ul9+cbE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kKUfE8izk/tAIjpDjGUVr/7NCROd1NPJZcJ2OtYlKpEgRl1TuZl/R2AG47WKJIwpk Hwo26vLDlavAtkYBE4JpAhQbOxeGjkoZQSWYBwIAc8jTZ0YSgR5x2C3D31wjGo0bYB 9zcSlHbaQium0Td0z6nAU1GUQ//NzI/RB1oalCr4XUpFTntXQoqoS+j82sfvIylaCu xwjoL9R09wNYoBGARovWSOzsMCJUL6dIyLjHg1id+zeoTS4YO/o/siS+cxZSliB/bs 86yRA20v0vStQORhhf1ErZEEFv7h856eyyEXli8QoO3rIEgRgp7Q5tp4wBTEANcPOV HVL4URlU4ORBQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Ingo Molnar , Thomas Gleixner , x86@kernel.org Subject: [PATCH 1/2] x86/build/vdso: remove unused vdso-syms.lds Date: Tue, 3 Jul 2018 10:50:13 +0900 Message-Id: <1530582614-5173-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1530582614-5173-1-git-send-email-yamada.masahiro@socionext.com> References: <1530582614-5173-1-git-send-email-yamada.masahiro@socionext.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180702_185130_847305_D8F7CBE7 X-CRM114-Status: UNSURE ( 7.96 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.0 (+) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (1.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [210.131.2.76 listed in list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Weinberger , Jeff Dike , linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, Masahiro Yamada , "H. Peter Anvin" MIME-Version: 1.0 Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This file contains symbol values, and was originally linked into vmlinux, but I have no idea what it was actually used for. Since commit 827880ec260b ("x86/um: thin archives build fix"), it is not even linked. Now it is completely orphan, and no problem has been reported. It is a proof that this file was not needed in the first place. Signed-off-by: Masahiro Yamada Acked-by: Richard Weinberger Acked-by: Ingo Molnar --- arch/x86/um/vdso/.gitignore | 1 - arch/x86/um/vdso/Makefile | 16 ---------------- 2 files changed, 17 deletions(-) diff --git a/arch/x86/um/vdso/.gitignore b/arch/x86/um/vdso/.gitignore index 9cac6d0..f8b69d8 100644 --- a/arch/x86/um/vdso/.gitignore +++ b/arch/x86/um/vdso/.gitignore @@ -1,2 +1 @@ -vdso-syms.lds vdso.lds diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile index b2d6967..822ccdb 100644 --- a/arch/x86/um/vdso/Makefile +++ b/arch/x86/um/vdso/Makefile @@ -53,22 +53,6 @@ $(vobjs): KBUILD_CFLAGS += $(CFL) CFLAGS_REMOVE_vdso-note.o = -pg -fprofile-arcs -ftest-coverage CFLAGS_REMOVE_um_vdso.o = -pg -fprofile-arcs -ftest-coverage -targets += vdso-syms.lds -extra-$(VDSO64-y) += vdso-syms.lds - -# -# Match symbols in the DSO that look like VDSO*; produce a file of constants. -# -sed-vdsosym := -e 's/^00*/0/' \ - -e 's/^\([0-9a-fA-F]*\) . \(VDSO[a-zA-Z0-9_]*\)$$/\2 = 0x\1;/p' -quiet_cmd_vdsosym = VDSOSYM $@ -define cmd_vdsosym - $(NM) $< | LC_ALL=C sed -n $(sed-vdsosym) | LC_ALL=C sort > $@ -endef - -$(obj)/%-syms.lds: $(obj)/%.so.dbg FORCE - $(call if_changed,vdsosym) - # # The DSO images are built using a special linker script. #