Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5093956pxb; Mon, 15 Feb 2021 09:17:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJzYhcL8YDNFAQQ8jWKUncFfzAIdhmp4Bkh+NMxQGgg2uEjyZEFEu8V3QQFkMXSxn03RcOcA X-Received: by 2002:a05:6402:10c3:: with SMTP id p3mr16722979edu.67.1613409470139; Mon, 15 Feb 2021 09:17:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613409470; cv=none; d=google.com; s=arc-20160816; b=vwxVwykBCPcXw8KEx1jK1IkxjWX1IlXVLI61cBgcpwP6NvPcybO1dzqmpUhGCXuGq0 ww6l9Lfx2veDS6piterbxiMBugGcdmPKEQO+JS2iadYVAiJvMxb6iI0HMoewCy6vKqqU NopvPFu2aYedztJACXgSUYWtDVsxv04UOjAQlXfz01X37Mp8r9rHo5eMYYcCnveFbpWT 7UCX0fgUxXDpKRouoGd4tAGvm2Ii6IXDq9dC5LPG2TpClHIy1JtRyRPJ44ppTWbhFrnO guyHS2vLLG8/9wZ0kS5VmSA79ef6jCOD++PHtKex6x1A/bOa2c3OXAVbyfzx92de2ApX chHg== 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=c6jv3nP+7Q06U4+toIFOfwOxFo1g4xAmXkGnBLIkfoE=; b=mg08n5XyMJublGDweOLUv9VQXJ/UghpAliTJjBofZE+fchc1FIdzzKfEpbyM6/FOTv Nvvbmt7148rkukdANT0mFRJKqEt+7UIMLz6iwwiXvmODRDfXMrGTA3GB5D1F5OVATKrz htTN6hdbzUkm5zLCL5wWj22d/OxDJo56bKZ42MnIqXBVPTDHuecLDqXzZZi4k1KvUqCP 5SZKsni4+mE3QJzUNQqzrfHiDFWD8Yg+vXPR0dWrcKU7yWSKJb/VMnHF4fR7dlQ/JeUm be3d/VkeDvGIgwfLsPIAgt0HH6R0JAzRltffvZvXCYYX0s1fjtYRi7RDkpJpWdaTMXb2 buLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=a5UjVgdG; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bx17si11978633edb.578.2021.02.15.09.17.26; Mon, 15 Feb 2021 09:17:50 -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=@redhat.com header.s=mimecast20190719 header.b=a5UjVgdG; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231755AbhBORQr (ORCPT + 99 others); Mon, 15 Feb 2021 12:16:47 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:59141 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231180AbhBOP7s (ORCPT ); Mon, 15 Feb 2021 10:59:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613404698; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=c6jv3nP+7Q06U4+toIFOfwOxFo1g4xAmXkGnBLIkfoE=; b=a5UjVgdGpinU5lo41acwy4bdNya0qQUWijK3uAk6g7tucWTO+v/bcpibnpRfJN4URLrdKI I0Kyvo19wTrlQtrtyh17CD2U/kpYLAe3kHUrzDeLi0GwkFsBVs5wMa+HKLUmYvCmQXS29d /8uXq+SZHQWIdBYzh3rVQrvfRTH1wls= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-518-zltMbELtNOuUs49q07VJ3g-1; Mon, 15 Feb 2021 10:58:14 -0500 X-MC-Unique: zltMbELtNOuUs49q07VJ3g-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7179B107ACC7; Mon, 15 Feb 2021 15:58:10 +0000 (UTC) Received: from treble (ovpn-120-169.rdu2.redhat.com [10.10.120.169]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6E02919CAB; Mon, 15 Feb 2021 15:58:08 +0000 (UTC) Date: Mon, 15 Feb 2021 09:58:06 -0600 From: Josh Poimboeuf To: Steven Rostedt 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: <20210215155806.bjcouvmkapj4pa4y@treble> References: <20210212170750.y7xtitigfqzpchqd@treble> <20210212124547.1dcf067e@gandalf.local.home> <20210213091304.2dd51e5f@oasis.local.home> <20210213155203.lehuegwc3h42nebs@treble> <20210214155147.3owdimqv2lyhu6by@treble> <20210215095307.6f5fb12f@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210215095307.6f5fb12f@gandalf.local.home> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 15, 2021 at 09:53:07AM -0500, Steven Rostedt wrote: > 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? The section is there, but the symbol associated with the section (".text.unlikely" symbol) isn't generated by the assembler. -- Josh