[PATCH] D32485: [LLD][ELF] Make SHF_LINK_ORDER sections orphans
Rafael EspĂndola via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 26 15:59:01 PDT 2017
I am also missing something. We first add orphan sections, then finalize.
If this works is out of a dependency on LinkerScript::flush, which I
think is the opposite direction we want to go.
https://bugs.llvm.org/show_bug.cgi?id=32816 has a related issue. What
I am trying is to, for now, synchronize the "script" (the
OutputSectionCommands, and InputSectionDescription) with the
OutputSections and InputSections.
After that we should be able to completely delete the flush method,
making assignAddress trivial to understand. Once we have that we can
then move the synthetic script creation earlier and the sort would be
operating on the OutputSectionCommand->Commands directly.
Cheers,
Rafael
On 26 April 2017 at 18:37, Rui Ueyama via Phabricator
<reviews at reviews.llvm.org> wrote:
> ruiu added a comment.
>
> I'm not sure if I completely understand this patch. Is this effectively the same as handling
>
> .ARM.exidx { <something> }
>
> as
>
> .ARM.exidx {}
>
> ?
>
>
> https://reviews.llvm.org/D32485
>
>
>
More information about the llvm-commits
mailing list