On Wed, Oct 20, 2021 at 09:31:32PM +0000, Alistair Delva wrote: > Cap end of relocations by the binary size. > > Linkers like to insert some auxiliary sections between .rela.dyn and > .bss_start. These sections don't make their way to the final binary, but > reloc_rela still tries to relocate them, resulting in attempted read > past the end of file. > > When linking U-Boot with ld.lld, the STATIC_RELA feature (enabled by > default on arm64) breaks the build. After this patch, U-Boot can be > linked successfully with and without CONFIG_STATIC_RELA. > > Originally-from: Elena Petrova <[email protected]> > Signed-off-by: Alistair Delva <[email protected]> > Cc: David Brazdil <[email protected]> > Cc: Scott Wood <[email protected]> > Cc: Tom Rini <[email protected]>
Thanks for the patch. Do you have any other changes for LLVM/LLDB support on arm64 platforms? I think I've had a few stumbles whenever I've tried and not been able to cycle back to them. -- Tom
signature.asc
Description: PGP signature

