Re: [PATCH v2 12/14] objtool: Allow archs to rewrite retpolines

From: Peter Zijlstra
Date: Fri Mar 19 2021 - 09:29:38 EST


On Fri, Mar 19, 2021 at 12:21:03PM +0100, Peter Zijlstra wrote:
> Let me see if I can come up with something better.

Duh, we can put the instructions on a list and process them later, just
like static_call, can even use the same insn list_head since a retpoline
cannot be a static call.

Lemme go make that happen.