Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1632284pxb; Thu, 4 Mar 2021 17:01:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxgW8kpzHO9wvSkUjIcDtPn2j0WCAoxXVulLxFm/j/BdEMxDiWDlscX5y9516l8Cz+sia9 X-Received: by 2002:a5d:8e07:: with SMTP id e7mr5986747iod.80.1614906089971; Thu, 04 Mar 2021 17:01:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614906089; cv=none; d=google.com; s=arc-20160816; b=PkuyV+TCCMBo0bNr9LPmZozorkWYBvNcDo9gJyaCJZAsJf4zQgF/SlFyGT84seOZmV snKOGAUQMUOrQPtIAs0ei3NFNYXTl0jcXoMdSYgi6p1MnKaDHJeBhBAzTWRouIuyJnWe TbfMJyglWVzf89hwmRHvDUOVoffs5Vquxv+g0DUqbXfMML21UVzm3FUs6xyJqNyb0CqC zvQIw3jt6vMZjR6RqW7H6ygqJPr4sh+n7fvFyI6tQTkN9P2JLWxt0uKg43WbCGSmIhKi 3IXpNcTIVWI7eKbTtJBF2DJMxxzcXp3oOxpf1lGVrXfrTmlXyblFkvE6vHzAX++z1u1z CJ1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=ZenlJQFA1xDTsw9FUHFvOUXMNXl/rtF+zHRhBj+rKe8=; b=oE6iRxSI7W8T7AfgIyzWY8SSk85VEQ4ndTy34WZUU47nroENfTG0wl8gWL6uIb+JQz 5m9725+H3gc0QPiFAdxTAQlO+hkSM0sWlWlSCnBsObj/aQVi5q/FhG5uheDagIckZocb e5JbIHL6o36wgnhIlftY70izqyibFMF6m1MIWjzyZaIR/OB45ayw61sQE0b4KcssYBYI th7HL/dYbADckRiBDQVC+7epryLj22y81rrhWNXohUnktMgHPFdwSkws6vYafpU7JNK+ KIiPOgHKF8d81r4qZR/SbNowMe6x7sXwOzww92Al6MQyCGFVrhnN4lzKQLQlPWNplS8s /LAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=W2TJ9WAV; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o13si846340iou.15.2021.03.04.17.01.16; Thu, 04 Mar 2021 17:01:29 -0800 (PST) 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=@rasmusvillemoes.dk header.s=google header.b=W2TJ9WAV; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230303AbhCDWsC (ORCPT + 99 others); Thu, 4 Mar 2021 17:48:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230081AbhCDWsA (ORCPT ); Thu, 4 Mar 2021 17:48:00 -0500 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CBE5C061574 for ; Thu, 4 Mar 2021 14:48:00 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id w9so3557509edc.11 for ; Thu, 04 Mar 2021 14:48:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ZenlJQFA1xDTsw9FUHFvOUXMNXl/rtF+zHRhBj+rKe8=; b=W2TJ9WAVbEU2oA8T98//QwSrArW5Wtpn+MhbY1qYXakjG7oGP0JieGFPuXPK36dxJe /qoXEmje7Ad2XW2oSdkrX4puy+P397ItlnxVEQS7Oh1zRMJdSWitGPvbWCtRPoLLqGhN tGw/gnu16NJNEYL3vwTC42PJFGlBPuwsEi0Ag= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ZenlJQFA1xDTsw9FUHFvOUXMNXl/rtF+zHRhBj+rKe8=; b=l8kgn+t17oGa7h7hU6dhX76ce8xKhBcvxYG6DdryPcFSGKtsBaT+1JAYL73dsC0fP1 fxe9QI673M6COofNNt/1mgIgyMYOGJp0DHrQ7KjGxyTO2Js2ohTJsuCwKuJvdvKbdneH iBxa97OWtst45vtd2bzJmzGB9/tFnvfWDZORtZAgpzZV5barq9DG9HIvT8qWrgeLKNNY STVabBRNbLHUmp0WmsKdvNU5ytLwpv69Hu158g/R1jo/Uzuw9SaDjlnsQ8IQC88Fz//E JouTKDMTGNRcv8u8cY7kOD9mZS62WPqPzaiW/V+V+FL8rpMn4Di6n/ILaV/PcRMbRNMd gKfg== X-Gm-Message-State: AOAM532dlAV8UR5LMZDOCGRL7bIT1YaSGVWcwPwxAQTT40x1PX3a1qFx qg0k7tyKWPoWI3xbsACVSwh+DA== X-Received: by 2002:aa7:de82:: with SMTP id j2mr6729312edv.313.1614898079195; Thu, 04 Mar 2021 14:47:59 -0800 (PST) Received: from [192.168.1.149] ([80.208.71.141]) by smtp.gmail.com with ESMTPSA id q10sm412985eds.67.2021.03.04.14.47.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Mar 2021 14:47:58 -0800 (PST) Subject: Re: [PATCH] kbuild: add CONFIG_VMLINUX_MAP expert option To: Rasmus Villemoes , Masahiro Yamada , Michal Marek Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org References: <20210224105256.1939169-1-linux@rasmusvillemoes.dk> From: Rasmus Villemoes Message-ID: <66943f68-c01e-2f20-f0f0-ad63375c3209@rasmusvillemoes.dk> Date: Thu, 4 Mar 2021 23:47:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210224105256.1939169-1-linux@rasmusvillemoes.dk> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24/02/2021 11.52, Rasmus Villemoes wrote: > It can be quite useful to have ld emit a link map file, in order to > debug or verify that special sections end up where they are supposed > to, and to see what LD_DEAD_CODE_DATA_ELIMINATION manages to get rid > of. > > The only reason I'm not just adding this unconditionally is that the > .map file can be rather large (several MB), and that's a waste of > space when one isn't interested in these things. Also hide the prompt > behind CONFIG_EXPERT. ping