This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: PROVIDE in linker script broken for expressions with more than two references


> -----Original Message-----
> From: Alan Modra [mailto:amodra@bigpond.net.au]
> Sent: 25 September 2008 03:34
> To: Robert Norton; binutils
> Subject: Re: PROVIDE in linker script broken for expressions
> with more than two references
>
> On Thu, Sep 25, 2008 at 12:34:59AM +0930, Alan Modra wrote:
> > The problem is that fold_binary doesn't evaluate rhs if the lhs is
> > invalid.  I have a patch I'll commit in the morning after some
> > testing.
>
> Like so.  Note -w diff.  The actual patch committed reformats the
> function properly.

I tested the patch and it appears to work. Thanks!

For your information I tried to provoke an analagous bug for the ternary operator and couldn't (before or after patch).

Robert


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]