[lld] r258723 - Avoid almost duplication in .dynamic finalize and write.
Rafael Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 27 10:41:23 PST 2016
> Size of RelocationSection is calculated in the
> RelocationSection::finalize() method. Before this commit we called the
> RelocationSection::getSize() method from the DynamicSection::writeTo()
> method and so we could be sure that size of the RelocationSection is
> calculated already. Now value of DT_PLTRELSZ depends on the order of
> finalize() calls. If RelocationSection::finalize() is called after the
> DynamicSection::finalize(), the DT_PLTRELSZ will be zero.
Is that happening on some testcase or would you just like to make the order
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits