<div dir="ltr">If bfd linker actually accepts arbitrary expressions, I have no objection to support that in LLD. My comment to Rafael's patch is to update the comment -- passing 0 looks a bit odd but understandable, so I'd rather want you to mention in the comment that bfd supports arbitrary expressions so do we.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 2, 2016 at 2:42 PM, Rafael EspĂ­ndola <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2 August 2016 at 15:38, Davide Italiano <<a href="mailto:davide@freebsd.org">davide@freebsd.org</a>> wrote:<br>
> Weird. Can you please try replacing the `+` with a `|` ? I got<br>
> "unexpected |" on Fedora 24 (even with bfd). I'll give you the linker<br>
> version once I get to the office.<br>
<br>
</span>Are you sure you are using bfd? That error message is what I get with<br>
gold. And yes '|' works.<br>
<br>
ld.bfd --version says<br>
<br>
GNU ld version 2.26.1-1.fc24<br>
<div class="HOEnZb"><div class="h5"><br>
Cheers,<br>
Rafael<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div>