Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp247793iob; Mon, 2 May 2022 18:27:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0gdhsrDbXZ58IQCByhBMnUEOw5IKWxUlcsu0p8Y3qlxS7wi5z7c0K/9aqRYR+SDgJZV+L X-Received: by 2002:a17:90b:4a8a:b0:1d2:f7ba:8728 with SMTP id lp10-20020a17090b4a8a00b001d2f7ba8728mr2110631pjb.43.1651541272894; Mon, 02 May 2022 18:27:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651541272; cv=none; d=google.com; s=arc-20160816; b=LszuY17LPJumc194LHr+gpSC2680syXZJ0TEtSH0KHlngyyK1c7LLWt8ES5oFBb5RN e+iA02B5w2f/1KWQXt5tDlHMKZu0Q1hbz9DuKgm4jio/e7wGtzUo68CaWYwV9Pj0wq1s X6kQk8VDzUMxh9/OgxJxhxx9O6LONJegcLZK3XyS3Nrwwr5szvHsVQ3vHQmWxnDEun0B 6d/FFuPgZHomeDx/vDbVeXj40VuuIp256MJgJu9Ve6nZdVOnazPKYhKf/NaQo2Zf6DvM RoeCKUaiUl0bPFxV8T3GwcwosEtDwe8/9xaYZSf2Aiqapvv9s+71eVsj4SyWnDhQhEW1 Gvlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=lGTDobeaGCDvUUaoaEREhWur2f+a36g4XvSUNVawna4=; b=S1GOGbVBcOh9SM4rM7AaVPKR4BKlv+0ALmKikyDmCrp9ifuRmnewHa97mApdQtj1mN BPk/qWq/dQv66Da0jZQNNFdTSkR/+bd2pa/NymS1jetGuMD0YI7w5+LPB8cIIHBBNpru FhtHqlHdeaRZmY/+UHdHu1PgcTRL5WJeyxkN9dXi5My9tf8CIZ/joV9NLOGZhaXSLkCK Th9CYomQv2joaPMI7dnr8GE8xNzfXPKDN08kxYRzZWWE1BOhHlXzCIv5FVR712zKCRPW 13Y8FZVigWP+1rZ0asHPrzMgwEuks+rxTcLev7WbGxBgOFf55PQso9xE8kpjC/T67EtH NKSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id z3-20020a63e103000000b003aa8b88236asi14523466pgh.606.2022.05.02.18.27.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 18:27:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1CB2258E7E; Mon, 2 May 2022 18:06:44 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229652AbiEBX5H (ORCPT + 99 others); Mon, 2 May 2022 19:57:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229930AbiEBX4a (ORCPT ); Mon, 2 May 2022 19:56:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11E9233E94 for ; Mon, 2 May 2022 16:53:00 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 80D1861358 for ; Mon, 2 May 2022 23:52:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6AC4FC385AC; Mon, 2 May 2022 23:52:58 +0000 (UTC) Date: Mon, 2 May 2022 19:52:51 -0400 From: Steven Rostedt To: Christophe Leroy Cc: "Naveen N. Rao" , "llvm@lists.linux.dev" , Nick Desaulniers , "linux-kernel@vger.kernel.org" , Nathan Chancellor , "linuxppc-dev@lists.ozlabs.org" Subject: Re: [PATCH 2/2] recordmcount: Handle sections with no non-weak symbols Message-ID: <20220502195251.5d862365@rorschach.local.home> In-Reply-To: <819939e3-285b-2a65-9c4c-85640d2a3a02@csgroup.eu> References: <1b9566f0e7185fb8fd8ef2535add7a081501ccc8.1651047542.git.naveen.n.rao@linux.vnet.ibm.com> <20220427095415.594e5120@gandalf.local.home> <1651129169.fpixr00hgx.naveen@linux.ibm.com> <20220428100602.7b215e52@gandalf.local.home> <819939e3-285b-2a65-9c4c-85640d2a3a02@csgroup.eu> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2 May 2022 14:44:56 +0000 Christophe Leroy wrote: > If we do that after the linking, won't it be a nightmare with the > trampolines installed by the linker when the destination is over the 24 > bits limit ? Not sure what you mean. The locations I'm talking about is the full address saved in the __mcount_loc table (data section). -- Steve