Re: [tip: objtool/urgent] objtool: Fix seg fault with Clang non-section symbols

From: Steven Rostedt
Date: Mon Feb 15 2021 - 09:54:01 EST


On Sun, 14 Feb 2021 09:51:47 -0600
Josh Poimboeuf <jpoimboe@xxxxxxxxxx> 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