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

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 14:48:36 PDT 2016


My bad. I had a symlink to gold. I can confirm it's supported
(although not documented).

On Tue, Aug 2, 2016 at 2:42 PM, Rafael EspĂ­ndola
<rafael.espindola at gmail.com> 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



-- 
Davide

"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare


More information about the llvm-commits mailing list