Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp14192426pxu; Mon, 4 Jan 2021 15:48:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjXpkxRQdhTkwSMRNN54FJe+9TUdAzanwSsMx973AxdAmdimnKpDeVW4S54wgr5BQ9Xnpw X-Received: by 2002:a17:906:495b:: with SMTP id f27mr68114427ejt.338.1609804081049; Mon, 04 Jan 2021 15:48:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609804081; cv=none; d=google.com; s=arc-20160816; b=ISutfTJAWpuhTdd5mk21OlHSZzTq6E5N9KUVsT4hA9AmVhG27Xu/IP7mK6Wc7+GGYy ipM9R91YzENe+BMH+s3pdpUyJrBCP4m9skGUeuagRyWFER/KPU35KkRF/5vFRzmJVV9g VVK6z4mP2tPZCP9znfIUDZAAUgnZ/j31pEDM/t8uLvNS1J+EjVElmeosvlL524cebgZm C62LaHQxN4bGJOIuPchJP3r39UBYWo5WCz4wPsuOzPbSaHXNfkX+2o0uds6WlIQqdxXL gPIwVvRhqcsRSB2e/mabkK50WbAy2LKz21Dr4wOUjQsoW5gfZd+OZ7UxdACmelaLSvQF jb9A== 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=JKcn5FmVjtdLgYOASDjA00unBiKKTt/1fSkBmrjqn/k=; b=Mhm3g2ikYSRd0NnR6AaSBKDnB2UEQL3o11miDHxVm/u2XRErsymvrcbLdp/eBp2NiI Lw39HtBBiE2ikBusYUj6MmQ7gtzm1bvimxZgr03P8Xwp0xnRQ6Fgj222OHPxaMA8+W0b CsRbbZ1+MBMn1dw6owVUMMwpE0n8SA/tdz7i6/xa8UjsqYTst/uQOgh2NMsRKHWJ/p1F e6ZwHGpcTOdD3Q1uQyHjzNgAD4GMDfAICYTgpgRvp7zrtD9oylq7ILS5a1o+5Aa4vE3i lkkGqNNrc/JpseSh0l1brONBgob6E3964mX2HXLVELBlRT2Zhy/iN55dV0basypXjj5Y IehA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=smDa0LCh; 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 gt24si30404898ejb.248.2021.01.04.15.47.38; Mon, 04 Jan 2021 15:48:01 -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=@gmail.com header.s=20161025 header.b=smDa0LCh; 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 S1726762AbhADXp7 (ORCPT + 99 others); Mon, 4 Jan 2021 18:45:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726026AbhADXp7 (ORCPT ); Mon, 4 Jan 2021 18:45:59 -0500 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72B64C061795; Mon, 4 Jan 2021 15:45:18 -0800 (PST) Received: by mail-qt1-x82a.google.com with SMTP id g24so19747298qtq.12; Mon, 04 Jan 2021 15:45:18 -0800 (PST) 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=JKcn5FmVjtdLgYOASDjA00unBiKKTt/1fSkBmrjqn/k=; b=smDa0LCh0CtK3FPXBCvVYU5au0IgoTV9ZqbIsKji2U3SNxrn/aj0vutIcewQymx3Mb W9v07PzwjXozdxnqRC/vzLotXbn7UpdWsAlqyVWaOsad7bTyrpZF6EaqaPtH13HQ/edC zA3oqeTdKchms0BLPbxq3o16nenTLV1mtSUsTBMFfl/MCNyFz+UU5aIt2h4SFQfg0ngU LULvahbuuDaEQcgSbcKa2nVE8iksNlze9whsRw0u8g5Wr1SVh4Uel31twcrB0Eeyis4r x93YTs/JwUzelq1tFE1g/cGEkMJhaZU/K0p/J9qAbw6nVnznpJDLUk6n1SPnh6aYX9Rd t7EQ== 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=JKcn5FmVjtdLgYOASDjA00unBiKKTt/1fSkBmrjqn/k=; b=f80bnQD6za7usciREDRNQ8e58tDZQouLjwzzAeuvDfsU1ViftSG5uM+Nc9yxHVqm2o gGtuKOyDAKO3NmgtB5/KZFa4WFp2Fs0c4jB5ZVLMHUhk52QB4Tzz0SrSKLBOTT/KdU0K o/a9JNMOqbdFKMRIbJibqoZL9C8Wp4To5cw8P61y/Sm9eE61VHdVGlosvOhCr9lnm4Tq 9OUMhEP7q+D0Ds9WTg5IOVlQzJgdF6xsJ+QI4BQMImp23grAR8V0H3pCRpb8rhwR687/ W8Ci2rZXFIfaNVsWRg3XkMmmp8fBL7PrA1bif4dQDTHyPx1QL2/fNKgbT74ERsxYz4iT T3Ww== X-Gm-Message-State: AOAM532wYsHQ4c+LfNMmMe7IZ2qXC3Ez7kKkwbHlar+Gm+s3MLZwUliK pMIrUjyXPwUx8iAE6bawpDFPa6fpCpI= X-Received: by 2002:a05:620a:4db:: with SMTP id 27mr74435319qks.431.1609793854321; Mon, 04 Jan 2021 12:57:34 -0800 (PST) Received: from ubuntu-m3-large-x86 ([2604:1380:45f1:1d00::1]) by smtp.gmail.com with ESMTPSA id a22sm37490512qkl.121.2021.01.04.12.57.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jan 2021 12:57:33 -0800 (PST) Date: Mon, 4 Jan 2021 13:57:32 -0700 From: Nathan Chancellor To: Sedat Dilek Cc: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Nick Desaulniers , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Clang-Built-Linux ML , stable@vger.kernel.org Subject: Re: [PATCH] powerpc: Handle .text.{hot,unlikely}.* in linker script Message-ID: <20210104205732.GA1398664@ubuntu-m3-large-x86> References: <20210104204850.990966-1-natechancellor@gmail.com> 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 Mon, Jan 04, 2021 at 09:55:20PM +0100, Sedat Dilek wrote: > On Mon, Jan 4, 2021 at 9:49 PM Nathan Chancellor > wrote: > > > > Commit eff8728fe698 ("vmlinux.lds.h: Add PGO and AutoFDO input > > sections") added ".text.unlikely.*" and ".text.hot.*" due to an LLVM > > change [1]. > > > > After another LLVM change [2], these sections are seen in some PowerPC > > builds, where there is a orphan section warning then build failure: > > > > Looks like you forgot to add your references/links to [1] and [2]. Indeed, thank you for pointing that out! v2 coming shortly. > Might be good to mention...? > > With CONFIG_LD_ORPHAN_WARN=y is enabled Since this symbol is not user selectable, I do not really think it is worth mentioning, plus PowerPC has had this enabled for a while :) Cheers, Nathan