Messages in this thread | | | Date | Thu, 12 Oct 2023 10:16:31 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH 1/3] Revert "x86/retpoline: Remove .text..__x86.return_thunk section" |
| |
On Wed, Oct 11, 2023 at 07:27:58PM -0700, Josh Poimboeuf wrote: > From an object code standpoint, objtool is the only one who cares about > the relocs. It's a good idea to make objtool more robust against > non-relocs regardless, as the reloc assumption could always be broken > later by LTO.
AFAIK LTO runs before the actual link stage and doesn't resolve inter-section references, but yeah, that might just be an implementation detail.
Fair enough.
| |