Re: [PATCH 1/3] Revert "x86/retpoline: Remove .text..__x86.return_thunk section"

From: Borislav Petkov
Date: Tue Oct 10 2023 - 16:07:15 EST


On Tue, Oct 10, 2023 at 12:57:21PM -0700, Josh Poimboeuf wrote:
> Also we could make objtool properly detect the non-relocated jump
> target.

I was wondering about that... I guess it can compute the JMP target and
compare it to the address of __x86_return_thunk?

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette