Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp4851977ybh; Tue, 6 Aug 2019 19:33:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqzATlDCsXbodNZNUGiNBriVDhB7dh7CPqV6Al4prmlaS1DY4kr8hMzc6ojclbyVNNriiHia X-Received: by 2002:a17:90a:8985:: with SMTP id v5mr6078874pjn.136.1565145237641; Tue, 06 Aug 2019 19:33:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565145237; cv=none; d=google.com; s=arc-20160816; b=qYWPtG9UzcYlItFBZdgPlnKlIF7050goF+No5+SW70HiSpqcAgbXLYEbLInzsdhJA+ NvEDHEDBxRVYnkF9ByQgaAOwcPKMU9LIEftvf7LGBp2PQcVBVgEabtzRHMTfpjcwCBOr VbiFPzzxVj4NbhzR14bMS1eQkKj3n5HMLStZc7Vz/aw1KitqCR2tVM3XTCYMLgd9ZU7X 1qZkHEXFaGpCVKoPWA56/sVxO9tdN5KSyZ9Y/JQD2qNjMzXGSVlMBEiavf53UmVKOzsU nwo8Gxfu7BnC+ggyLl9j3ueKMm5O6B8jkkIcIuwotIDacQKjAAr7hd2KSpfNR/Ks9Rjk ttxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=73kK1zWf1zgSwM0Qiy8U03aVhSxNqlnQVY5Ux1NQO3A=; b=ZYDUdAHM9nzKoJc1T5hHcTBG9RRYkZVDUt0SH6hNoPrzeEQXPWG+yLJozhvAMUufNs oWGbpeEBwUI3vAdqNSWUGkHVKDStVOZb/hWDs4zb3r8OCJIjXYayv1gTFdI/4Fd5ugDV VPisDn3yWTgYQRch0DCEcGq0h8PBWGE3gifCCd+XNRFjMlJnNc2XYAsUC+YvtF2tYmx2 dd+IpTePYi+mRWKcC1gv9iLHCN5lNucopmYtKyVhuqkbjKWP6V6JNMBGDXbgzjVnsPDa dzcUHX5/lzBFLo8Fr4/J7p/Jg5/HWc6LdcbysnMMTDvhWjQn94OZ0WJVbUooT5ItMAcm VZNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=xsA3mEa4; 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 g11si74670232plm.390.2019.08.06.19.33.41; Tue, 06 Aug 2019 19:33:57 -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=xsA3mEa4; 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 S1728772AbfHGCdH (ORCPT + 99 others); Tue, 6 Aug 2019 22:33:07 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:37472 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727653AbfHGCdH (ORCPT ); Tue, 6 Aug 2019 22:33:07 -0400 Received: from mail-vk1-f178.google.com (mail-vk1-f178.google.com [209.85.221.178]) (authenticated) by conssluserg-02.nifty.com with ESMTP id x772WfV2001484; Wed, 7 Aug 2019 11:32:41 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com x772WfV2001484 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1565145162; bh=73kK1zWf1zgSwM0Qiy8U03aVhSxNqlnQVY5Ux1NQO3A=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=xsA3mEa4VKVjPFBbXOP85KOSrfs+Bwd2wmwDOml+JjQXbQsJhB/4gfZIebQt5HXH/ g0RKLJvLgNv76ZVCPkzUk0KZ5ZxAFR3HY1BXndORyxLdZ9LK0wWJlWZy/HKwkcv+e0 7g7I58QEg5f7BAktz8piEvE9f9KLO7VWn8vwFhQzKZVg38O+jnRdRbynI+Pb6Y39sH OFIuTYFuFyMRW8EyXlwpGERtyzGPbBqFu+Y6liuSaIipKhdFD0Bc+t2JcoHi9yhW9m Rl27ELwBUzSxtTzZi3sp+F9M7jFC7xglVsk8AD1IiD/8pAaV4lWe/+fgowDo0ajmVz Uf3baqUm1y9tA== X-Nifty-SrcIP: [209.85.221.178] Received: by mail-vk1-f178.google.com with SMTP id w186so9337225vkd.11; Tue, 06 Aug 2019 19:32:41 -0700 (PDT) X-Gm-Message-State: APjAAAWv6ZGuNbakw17NyLZEw78644vtRzK3MdO7Md+W2fhdmvedvxjK OzQQEkDmf6aiV85IJBk48CYq3FV8x0TXXJ/TO4Y= X-Received: by 2002:a1f:4107:: with SMTP id o7mr2629240vka.34.1565145160504; Tue, 06 Aug 2019 19:32:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Masahiro Yamada Date: Wed, 7 Aug 2019 11:32:04 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] kbuild: add OBJSIZE variable for the size tool To: Vasily Gorbik Cc: Linux Kbuild mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi. On Tue, Aug 6, 2019 at 7:56 PM Vasily Gorbik wrote: > > Define and export OBJSIZE variable for "size" tool from binutils to be > used in architecture specific Makefiles (naming the variable just "SIZE" > would be too risky). In particular this tool is useful to perform checks > that early boot code is not using bss section (which might have not been > zeroed yet or intersects with initrd or other files boot loader might > have put right after the linux kernel). > > Signed-off-by: Vasily Gorbik I think you want to apply both to the s390 tree. If so, Acked-by: Masahiro Yamada Thanks. > --- > Makefile | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/Makefile b/Makefile > index fa0fbe7851ea..ff4cff29fe46 100644 > --- a/Makefile > +++ b/Makefile > @@ -419,6 +419,7 @@ NM = $(CROSS_COMPILE)nm > STRIP = $(CROSS_COMPILE)strip > OBJCOPY = $(CROSS_COMPILE)objcopy > OBJDUMP = $(CROSS_COMPILE)objdump > +OBJSIZE = $(CROSS_COMPILE)size > PAHOLE = pahole > LEX = flex > YACC = bison > @@ -474,9 +475,9 @@ KBUILD_LDFLAGS := > GCC_PLUGINS_CFLAGS := > > export ARCH SRCARCH CONFIG_SHELL HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE AS LD CC > -export CPP AR NM STRIP OBJCOPY OBJDUMP PAHOLE KBUILD_HOSTLDFLAGS KBUILD_HOSTLDLIBS > -export MAKE LEX YACC AWK INSTALLKERNEL PERL PYTHON PYTHON2 PYTHON3 UTS_MACHINE > -export HOSTCXX KBUILD_HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS > +export CPP AR NM STRIP OBJCOPY OBJDUMP OBJSIZE PAHOLE LEX YACC AWK INSTALLKERNEL > +export PERL PYTHON PYTHON2 PYTHON3 CHECK CHECKFLAGS MAKE UTS_MACHINE HOSTCXX > +export KBUILD_HOSTCXXFLAGS KBUILD_HOSTLDFLAGS KBUILD_HOSTLDLIBS LDFLAGS_MODULE > > export KBUILD_CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS KBUILD_LDFLAGS > export KBUILD_CFLAGS CFLAGS_KERNEL CFLAGS_MODULE > -- > 2.21.0 > -- Best Regards Masahiro Yamada