Peter Zijlstra 5b06fd3bb9 static_call: Handle tail-calls
GCC can turn our static_call(name)(args...) into a tail call, in which
case we get a JMP.d32 into the trampoline (which then does a further
tail-call).

Teach objtool to recognise and mark these in .static_call_sites and
adjust the code patching to deal with this.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20200818135805.101186767@infradead.org
2020-09-01 09:58:06 +02:00
..
2020-04-03 13:12:26 -07:00
2020-09-01 09:58:06 +02:00
2020-09-01 09:58:06 +02:00
2020-04-02 17:57:10 +01:00
2020-08-30 10:56:12 -07:00
2020-08-19 14:11:44 +02:00
2020-08-11 14:34:17 -07:00