<div dir="ltr"><div class="gmail_default" style="font-family:monospace;font-size:small;color:rgb(0,0,0)">Different versions of bfd linker may also exhibit different problems, so it is a pain to try to find all workarounds.  Having an option for now is fine.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 11, 2020 at 8:20 PM Petr Hosek via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">phosek added a comment.<br>
<br>
In D76802#2089052 <<a href="https://reviews.llvm.org/D76802#2089052" rel="noreferrer" target="_blank">https://reviews.llvm.org/D76802#2089052</a>>, @phosek wrote:<br>
<br>
> @davidxl Do you have any preference between the current solution which uses the artificial padding in `__llvm_prf_data` section to workaround the BFD ld bug, and a backend feature flag that could be set to enable this feature?<br>
<br>
<br>
The latter might be preferable because there's another bug in trunk BFD ld which causes to enter infinite loop, see D72904 <<a href="https://reviews.llvm.org/D72904" rel="noreferrer" target="_blank">https://reviews.llvm.org/D72904</a>> for more details.<br>
<br>
<br>
Repository:<br>
  rG LLVM Github Monorepo<br>
<br>
CHANGES SINCE LAST ACTION<br>
  <a href="https://reviews.llvm.org/D76802/new/" rel="noreferrer" target="_blank">https://reviews.llvm.org/D76802/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D76802" rel="noreferrer" target="_blank">https://reviews.llvm.org/D76802</a><br>
<br>
<br>
<br>
</blockquote></div>