Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp747607pxu; Fri, 23 Oct 2020 12:13:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyx8u5CIiOBF971si0esF2JdnkyaxbzoiZiyhWoLdV/RNNc6H6ivcdq10dYxG0IxW1ixBfL X-Received: by 2002:a17:906:494:: with SMTP id f20mr3384707eja.285.1603480430548; Fri, 23 Oct 2020 12:13:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603480430; cv=none; d=google.com; s=arc-20160816; b=I95c61/hiTYybwALw37a8JHt2OP+qfm8Xr7DmOKlsO7e4bU38Ju2etCcKpZVBfl6jO pWdiOYxUNX0Io9o3V1/ju7kQyzx2YaZ8oY3P5IH78Zhwp+G9iz4NW2tMWkhJdDTXEbL5 rouPunopfqjUTtrxsSAaOS3QoiFF7sHaJlzQ7fPzydyYAq0Jfopp3v0JEI2KIb9o8vBy 8B9dWtkdOnoZaRXbyVym5/yXQGCDrkk+Dj4p0oPFD9G+6J/fV2L7JGzaKS3zFNl6BEy1 5Yqd0Y01A496z2wrLR7LOOzTOaFjGDmLOA4yrrFmA1FjyAPxGZeTiEQ/BvpaioVij6FR AktA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ApmfhOk09K1c2h42K2OFIKlhksWgTdh0h8R2DYpKkGg=; b=cuK7vQl1l/pQpHVbA2gBGIQFztWv1o/6NukCxqobgAK30qPp/buK224C8WF0Sw67H6 OX7hllkLtwJlq17ig+zvyI5xG/+uTlB/sBqc8VjSs+1erO1JgGdT41m/qERYmaq9RuW5 oNtyGs41lIA/VXNhzwwBDNYBzX6jT2ON0m+cDvBIb3S/owQBliDUj4qN/LmF1szq3Jxc 7MNbAcCBeU6ZWrGrKz50O9KoNCUddHJ7EYCrURlEuCgLSOAIJY60MS15WQ7HYjYHV8FN sIPzxgyHY1es/qAp2GwbMRb2iI8c+D7GUSDJ+HiLovH96tZ5YUMLTfdiVHaQl17YwaqA Ov7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=M74xl8cY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f10si1379443eds.576.2020.10.23.12.13.28; Fri, 23 Oct 2020 12:13:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=M74xl8cY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S464922AbgJWSSK (ORCPT + 99 others); Fri, 23 Oct 2020 14:18:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S373222AbgJWSSJ (ORCPT ); Fri, 23 Oct 2020 14:18:09 -0400 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D186C0613CE; Fri, 23 Oct 2020 11:18:09 -0700 (PDT) Received: by mail-qk1-x743.google.com with SMTP id k9so2043325qki.6; Fri, 23 Oct 2020 11:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ApmfhOk09K1c2h42K2OFIKlhksWgTdh0h8R2DYpKkGg=; b=M74xl8cYZSW0prcIqN7ut2RW7gUef6hRHZUtdYXmWenCI8kT2/007Ghy3Mrdi9iigB 4VE1XBPu9F67xCjKCd2fMYwbIqPiRdV4BEOG27bbrxE1AQVuooKre/Fdg0ybBYHA6FTb u65jpA9e30UACimGxh4X7eD807T0FNjv6VSdGcR6FcuXkoaq68HabDbflLJSuHI9QnRX JB5CvNgyucygA77M8KwrS3aHkb2V4GHzJifwlATJqysjm1DE2RjpQUJ3ChXL99vUlOB+ P80OshneXOkR01/AVozsgWNvSLdd/wo3WSJ0sF0r8URRVb3ELgahRINkbLyykZya75U/ fzsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ApmfhOk09K1c2h42K2OFIKlhksWgTdh0h8R2DYpKkGg=; b=frOzA4IraJ/uUkV7Tlg0MGFjgY5nYhZiN9MNi9p7YHt95KqUgcH+et/QhF2QMs5imS HZVi9qx+cM4CcAICFBYCWvKxK2jPoOxw6FFw3UcQM31oH+bYQ5t5PXe9PH0VAL+bJer7 2kUgbW9iZVH5I3Xy8dIAzXLvRU+fwYqdAymgvmsSGQV0hfafuMbPwizVfAbml6Yse50H uAH8FFpH/WjHS16C5SiW7ZquVIkYuoaH7ssNr1jXkeMaaOA9pzm7gYg2zbyygzeyPnwI hoB7lDOYxAzgUNBQg6XYD+2Pe1Av/5jn8KxFGlRsItD0nQbrIOKAoG/wsRRAj621+sA4 S6XQ== X-Gm-Message-State: AOAM530pG+jpBpqRonaB8IgzLJ7xVNEWwncKytdM+9p1eouk5mpeCx73 6mHFK7/+ELEmz+PtHXCLU0s= X-Received: by 2002:a37:2c07:: with SMTP id s7mr3521015qkh.297.1603477088197; Fri, 23 Oct 2020 11:18:08 -0700 (PDT) Received: from ubuntu-m3-large-x86 ([2604:1380:45d1:2600::3]) by smtp.gmail.com with ESMTPSA id z13sm1280146qkl.2.2020.10.23.11.18.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 11:18:07 -0700 (PDT) Date: Fri, 23 Oct 2020 11:18:05 -0700 From: Nathan Chancellor To: Vasily Gorbik Cc: Masahiro Yamada , Nick Desaulniers , Michal Marek , Jonathan Corbet , linux-kbuild@vger.kernel.org, clang-built-linux@googlegroups.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] kbuild: remove unused OBJSIZE Message-ID: <20201023181805.GA3852821@ubuntu-m3-large-x86> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 23, 2020 at 01:57:32PM +0200, Vasily Gorbik wrote: > The "size" tool has been solely used by s390 to enforce .bss section usage > restrictions in early startup code. Since commit 980d5f9ab36b ("s390/boot: > enable .bss section for compressed kernel") and commit 2e83e0eb85ca > ("s390: clean .bss before running uncompressed kernel") these restrictions > have been lifted for the decompressor and uncompressed kernel and the > size tool is now unused. > > Signed-off-by: Vasily Gorbik Reviewed-by: Nathan Chancellor Thanks for the patch! > --- > Documentation/kbuild/llvm.rst | 5 ++--- > Makefile | 4 +--- > 2 files changed, 3 insertions(+), 6 deletions(-) > > diff --git a/Documentation/kbuild/llvm.rst b/Documentation/kbuild/llvm.rst > index cf3ca236d2cc..21c847890d03 100644 > --- a/Documentation/kbuild/llvm.rst > +++ b/Documentation/kbuild/llvm.rst > @@ -57,9 +57,8 @@ to enable them. :: > They can be enabled individually. The full list of the parameters: :: > > make CC=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip \ > - OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump OBJSIZE=llvm-size \ > - READELF=llvm-readelf HOSTCC=clang HOSTCXX=clang++ HOSTAR=llvm-ar \ > - HOSTLD=ld.lld > + OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump READELF=llvm-readelf \ > + HOSTCC=clang HOSTCXX=clang++ HOSTAR=llvm-ar HOSTLD=ld.lld > > Currently, the integrated assembler is disabled by default. You can pass > ``LLVM_IAS=1`` to enable it. > diff --git a/Makefile b/Makefile > index d35a59f98e83..d2123c2c829a 100644 > --- a/Makefile > +++ b/Makefile > @@ -433,7 +433,6 @@ NM = llvm-nm > OBJCOPY = llvm-objcopy > OBJDUMP = llvm-objdump > READELF = llvm-readelf > -OBJSIZE = llvm-size > STRIP = llvm-strip > else > CC = $(CROSS_COMPILE)gcc > @@ -443,7 +442,6 @@ NM = $(CROSS_COMPILE)nm > OBJCOPY = $(CROSS_COMPILE)objcopy > OBJDUMP = $(CROSS_COMPILE)objdump > READELF = $(CROSS_COMPILE)readelf > -OBJSIZE = $(CROSS_COMPILE)size > STRIP = $(CROSS_COMPILE)strip > endif > PAHOLE = pahole > @@ -509,7 +507,7 @@ KBUILD_LDFLAGS := > CLANG_FLAGS := > > export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE LD CC > -export CPP AR NM STRIP OBJCOPY OBJDUMP OBJSIZE READELF PAHOLE RESOLVE_BTFIDS LEX YACC AWK INSTALLKERNEL > +export CPP AR NM STRIP OBJCOPY OBJDUMP READELF PAHOLE RESOLVE_BTFIDS LEX YACC AWK INSTALLKERNEL > export PERL PYTHON PYTHON3 CHECK CHECKFLAGS MAKE UTS_MACHINE HOSTCXX > export KGZIP KBZIP2 KLZOP LZMA LZ4 XZ ZSTD > export KBUILD_HOSTCXXFLAGS KBUILD_HOSTLDFLAGS KBUILD_HOSTLDLIBS LDFLAGS_MODULE > -- > 2.25.4