objtool warning: "duplicate frame pointer save"

Linus Torvalds torvalds at linux-foundation.org
Wed May 25 23:51:21 UTC 2016


On Wed, May 25, 2016 at 10:56 AM, Josh Poimboeuf <jpoimboe at redhat.com> 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


More information about the dri-devel mailing list