[PATCH] D31659: [LLD][ELF] Be more precise about Thumb state bit in ARM thunks

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Tue May 16 04:26:41 PDT 2017


Thanks for the update, I'm working on a patch to move the synthetic
linker script earlier. I hope to have something posted for comment
later today.

Peter

On 15 May 2017 at 22:32, Rafael Avila de Espindola
<rafael.espindola at gmail.com> wrote:
> 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