[PATCH] D23031: [LinkerScript] Support OR of FLAGS in PHDR directives

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 14:47:09 PDT 2016


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.

On Tue, Aug 2, 2016 at 2:42 PM, Rafael EspĂ­ndola <
llvm-commits at lists.llvm.org> wrote:

> On 2 August 2016 at 15:38, Davide Italiano <davide at freebsd.org> wrote:
> > Weird. Can you please try replacing the `+` with a `|` ? I got
> > "unexpected |" on Fedora 24 (even with bfd). I'll give you the linker
> > version once I get to the office.
>
> Are you sure you are using bfd? That error message is what I get with
> gold. And yes '|' works.
>
> ld.bfd --version says
>
> GNU ld version 2.26.1-1.fc24
>
> Cheers,
> Rafael
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160802/bbc5b539/attachment.html>


More information about the llvm-commits mailing list