This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PROVIDE keyword not working
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 3 Sep 2002 00:44:52 +0930
- Subject: Re: PROVIDE keyword not working
- References: <m3r8gcbg8m.fsf@north-pole.nickc.cambridge.redhat.com>
On Mon, Sep 02, 2002 at 03:47:37PM +0100, Nick Clifton wrote:
> * ldexp.c (exp_fold_tree): If the first attempt to lookup a
> PROVIDEd symbol fails, look it up again, but this time with
> the 'create' flag set.
This can't be correct. The whole point of PROVIDE is to only define
the symbol when it is referenced and not otherwise defined. If
PROVIDE isn't working for v850, something else is wrong. Is
lang_do_assignments being called?
--
Alan Modra
IBM OzLabs - Linux Technology Centre