Re: objtool "no non-local symbols" error with tip of tree LLVM
From: Josh Poimboeuf
Date: Wed May 18 2022 - 14:04:39 EST
On Wed, May 18, 2022 at 07:25:13PM +0200, Peter Zijlstra wrote:
> So while writing the global symbol can always use the new data section,
> writing the new symbol can need arbitrary iteration of the data blocks.
>
> Something somewhat similar is when there's no global symbols, then the
> new symbol needs to go in the new data block instead of the old.
>
> So it all became a tangled mess and I ended up with the one generic
> function that could do it all (which is both simpler and less code than
> trying to deal with all the weird cases).
Makes sense, and matches my post-bike-ride insights. Thanks :-)
--
Josh