From patchwork Sat Jun 23 16:41:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 139766 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2162506lji; Sat, 23 Jun 2018 09:44:02 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKrZGXYCE92vcbyQ7ly5QM1xoza7taFNNQTyTpCJgYnPxZ7ZrQ+9aWgbeGi3kmRAwskb7de X-Received: by 2002:a62:d74d:: with SMTP id v13-v6mr6541741pfl.0.1529772242373; Sat, 23 Jun 2018 09:44:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529772242; cv=none; d=google.com; s=arc-20160816; b=J/oPgaGCGBjyOElFO6WbEdMvN1zZMW6Z+VHyrzobBVZjKmhZIA/BI0b1h5vo+w102I Tj6kfpehVKqBEzgKXbqnfbfLfg6VzXr+6VY2nxAYepESvYP6zeQw5tVNXU+VaHhxsAZF 135yw4imK7EvE074KgX7UY2KGb0ouFdcGp3+2YUGoYgaYaxBK7YjT0CeTRd3lKwMFXv4 vlDe7rYx6E+5wNgUj/L7CAdmn+h1AjcziEFXd/GjiKWCgfjU4JTXqzKdz9s/sN2k3pES AKz+IEIV24OduYBVEA/EMVe26L/XHDzjNWd9MhAeKKwp3YP9Kjuiv7DSsKqwOE58xrQy 56nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=Tq+ihuRFKS2KJB0zTsioIiuEW99Wj4YG1jqp6VL+k2k=; b=FGOfNMjkDZut7X+nrbNYuAmCuz+30qse7KwiR+tiHj4fRJqoc2NBCA60JRpLTmSanU MG9nxY+8XZSLiC289u7qqW3muBHv5u7C18GUpQigvfBHqqThmfoAHN5YNrJPSW/ZHQxr b2EtwmaNMpL4swV/wGI7GxYBQWJtA1N1IphLBJYvoOw6xXERrdwiAaE+WhP2g7T1AVnr 6qgzv3mIKxp+x/v8yneNfG2P0LPB5eJdlxF/g/WgNRYaU8/cJVle+cOqFWFw5Od/3UKx Ig4/eveXTC8XZXUnoSDazBWQGtyEEz4rRmAmdvWuuycQqvLj69HiOaHwhBeOwWfliW0z it6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=re2my31u; 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 z16-v6si9883179pfj.337.2018.06.23.09.44.02; Sat, 23 Jun 2018 09:44:02 -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=re2my31u; 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 S1751894AbeFWQn7 (ORCPT + 31 others); Sat, 23 Jun 2018 12:43:59 -0400 Received: from conuserg-10.nifty.com ([210.131.2.77]:56975 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751813AbeFWQn6 (ORCPT ); Sat, 23 Jun 2018 12:43:58 -0400 Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-10.nifty.com with ESMTP id w5NGgBU5024126; Sun, 24 Jun 2018 01:42:12 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com w5NGgBU5024126 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1529772133; bh=Tq+ihuRFKS2KJB0zTsioIiuEW99Wj4YG1jqp6VL+k2k=; h=From:To:Cc:Subject:Date:From; b=re2my31uD8pymaxDdFYUCB0lNiwPBt18UifM36afqJ1xEd1aS7YGHO8+ehRBOyCf/ fBeHCxUSwvnKp62jK5H/q+zei53u3R8fHKTHy2v6AjjPZj4bKeG9L1kBx0rbOg2RHH wEwps7qGJwR2KoWiFcHzTMN5HlXa5HRtGsdguTExgOuDxRHioEWbA9sAs3ANmGUqLl lf/i6sVVDk5ZaNCsFCORrs4usjsKVBmrxNv6NZ3q/jpZz5Y0CtNnlZSgJk2W8Nv7SJ 9fAEPLts+5xEfGdhzpmY9Jlu6MLousZaiBPowMX1f9CeNeJGp1pUFI8298Alrqaedt cvsHAXBRoz7fw== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Nicholas Piggin , Masahiro Yamada , Randy Dunlap , Dominik Brodowski , Kees Cook , linux-kernel@vger.kernel.org, Thomas Gleixner , Frederic Weisbecker , "Peter Zijlstra (Intel)" , Ingo Molnar , Mathieu Desnoyers Subject: [PATCH] kbuild: reword help of LD_DEAD_CODE_DATA_ELIMINATION Date: Sun, 24 Jun 2018 01:41:51 +0900 Message-Id: <1529772111-5780-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit 5d20ee3192a5 ("kbuild: Allow LD_DEAD_CODE_DATA_ELIMINATION to be selectable if enabled"), HAVE_LD_DEAD_CODE_DATA_ELIMINATION is supposed to be selected by architectures that are capable of this functionality. LD_DEAD_CODE_DATA_ELIMINATION is now users' selection. Update the help message. Signed-off-by: Masahiro Yamada --- init/Kconfig | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) -- 2.7.4 diff --git a/init/Kconfig b/init/Kconfig index fde3d09..041f3a0 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1051,10 +1051,9 @@ config LD_DEAD_CODE_DATA_ELIMINATION depends on HAVE_LD_DEAD_CODE_DATA_ELIMINATION depends on EXPERT help - Select this if the architecture wants to do dead code and - data elimination with the linker by compiling with - -ffunction-sections -fdata-sections, and linking with - --gc-sections. + Enable this if you want to do dead code and data elimination with + the linker by compiling with -ffunction-sections -fdata-sections, + and linking with --gc-sections. This can reduce on disk and in-memory size of the kernel code and static data, particularly for small configs and