Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4994569pxb; Mon, 15 Feb 2021 06:55:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6gU8Ta5RnA7zHfWjA8x11i9+VHHWaADsRKT46Q3O9aHlyL7JFHrbmevGSp6JrbaXsvHCX X-Received: by 2002:a05:6402:50ca:: with SMTP id h10mr15875728edb.95.1613400926815; Mon, 15 Feb 2021 06:55:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613400926; cv=none; d=google.com; s=arc-20160816; b=TEXcF9ea1s4EANWOG6WXDFmc6moPM1JRvuteOZ7AWk+wj4MuM9mFGgx/2P1vbSzO4a k0G3/SO8G6xD1YKwGxlQU3hmUNpTufuJ0VxbMhylHYg67pYdJFFvYYB6YOF8UtilZ7+l jh9yOJ6njEr3ft3mMWBZvvhZZSrkUfD3SPKPgQG3Y8v0GyUVF8XrVqywVrdbfIUYl8ed dTvAJNRoXnyr427qPfeWpV3Cy1m+MVX9AcXjyliA1yCO3gPVBm5ORsLJ8bzIx0cIrqDY IW/MWzjtgDfy53KOKmZdBL2aViW8kjBIDQFgDQysWulDApf0hRY0iQ13RkU9mch8f4R7 t3zQ== 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=WWnBaEVusUnjAom0xss9OAu0SD72vP55EjD4ir+O6dQ=; b=IxXxCJuxD5aj6OGpHopWWN3FBUO4+84ml+eW874aFevoetOb00gm96Yv68f/sGPs3A gW1g43bKjIEF9eA2bQivnYy5oamHcng2hQS2j8GYAsdI3wGAS8k+BfhCywIWikCEEJsU lGtirpcXQfjU0NNEcVEvCI3mBfyJVvp1LxAT3nt2anXto2xoNhfbbXPn9SL+ATADXmyb Sm/AjWqm0XrwLSCkku2PdsykqXJqPrGVcT9S5oNe/Jg9ub3D0vp2k2TzokXZNfYjhrHA edDxI0jFo2GGC1esDwEAD1YHOdlt3GE2dFvk54/fu0Nx0lESdkKellIMLH3lx628cgd8 P/Sw== ARC-Authentication-Results: i=1; mx.google.com; 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 bx1si12559556edb.603.2021.02.15.06.55.03; Mon, 15 Feb 2021 06:55:26 -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; 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 S229983AbhBOOx6 (ORCPT + 99 others); Mon, 15 Feb 2021 09:53:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:34864 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229907AbhBOOxu (ORCPT ); Mon, 15 Feb 2021 09:53:50 -0500 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 98A9264D9F; Mon, 15 Feb 2021 14:53:08 +0000 (UTC) Date: Mon, 15 Feb 2021 09:53:07 -0500 From: Steven Rostedt To: Josh Poimboeuf Cc: Greg Kroah-Hartman , Nick Desaulniers , Xi Ruoyao , "# 3.4.x" , Arnd Bergmann , "Peter Zijlstra (Intel)" , Miroslav Benes , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , LKML , linux-tip-commits@vger.kernel.org Subject: Re: [tip: objtool/urgent] objtool: Fix seg fault with Clang non-section symbols Message-ID: <20210215095307.6f5fb12f@gandalf.local.home> In-Reply-To: <20210214155147.3owdimqv2lyhu6by@treble> References: <20210212170750.y7xtitigfqzpchqd@treble> <20210212124547.1dcf067e@gandalf.local.home> <20210213091304.2dd51e5f@oasis.local.home> <20210213155203.lehuegwc3h42nebs@treble> <20210214155147.3owdimqv2lyhu6by@treble> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 14 Feb 2021 09:51:47 -0600 Josh Poimboeuf wrote: > Steve, looks like recordmcount avoids referencing weak symbols directly > by their function symbol. Maybe it can just skip weak symbols which > don't have a section symbol, since this seems like a rare scenario. When does the .text.unlikely section disappear? During the creation of the object, or later in the linker stage? -- Steve