Re: objtool warning: "duplicate frame pointer save"

From: Linus Torvalds
Date: Wed May 25 2016 - 19:59:25 EST


On Wed, May 25, 2016 at 10:56 AM, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> I used to have a STACKTOOL_IGNORE_INSN macro that would tell the tool to
> skip warnings for specific instructions in inline asm:
>
> Here's an example of it how it was used:

Ok, looking at that, I'm starting to suspect that it is simpler to
just use STACK_FRAME_NON_STANDARD and mark the two functions that use
this particular inline asm with the odd %rbp problem.

It's a rather special case, after all.

Linus