[lld] r282035 - Revert "Revert "Only restrict order if both sections are in the script."" (Rafael Espindola via llvm-commits)
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 21 05:05:39 PDT 2016
>Revert "Revert "Only restrict order if both sections are in the script.""
>This reverts commit r282021, bringing back r282015.
>
>The problem was that the comparison function was not a strict weak
>ordering anymore, which this patch fixes.
>
>Original message:
>
>Only restrict order if both sections are in the script.
>
>This matches gold and bfd behavior and is required to handle some scripts.
>
That looks solves the problem with orphans. Them are just sorted somewhere in the middle now.
So my question is do we want to do something else with orphans ?
D23352 was the patch about them and I feel it can be abandoned ?
George.
More information about the llvm-commits
mailing list