lkml.org 
[lkml]   [2021]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip: objtool/urgent] objtool: Fix seg fault with Clang non-section symbols
On Mon, Feb 15, 2021 at 09:53:07AM -0500, Steven Rostedt wrote:
> On Sun, 14 Feb 2021 09:51:47 -0600
> Josh Poimboeuf <jpoimboe@redhat.com> 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

\
 
 \ /
  Last update: 2021-02-15 18:18    [W:0.063 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site