[PATCH] D31659: [LLD][ELF] Be more precise about Thumb state bit in ARM thunks
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 14:32:41 PDT 2017
Peter Smith <peter.smith at linaro.org> writes:
> Thanks very much for the comment.
>
> Just to check my understanding as I'm not totally sure what you mean
> by creating synthetic sections earlier. I would like to contribute to
> the solution as I'd very much like to get range thunks moving again.
>
> My understanding is that the only sections requiring
> LinkerScript::synchronize() are SHF_LINK_ORDER sections, as these are
> reordered in OutputSection::finalize(). The .ARM.exidx sentinel
> section is also added directly into OutputSection::Sections.
I think that is the case, yes. With the synthetic linker script created
early, it would be InputSectionDescriptions that would be reordered.
I will try to work on the other side. Once the linker script has all the
info we need, no longer use OutputSections.
Cheers,
Rafael
More information about the llvm-commits
mailing list