This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: IA-64 gp problem with PROVIDE and linker relaxation conflict
- To: "H . J . Lu" <hjl at valinux dot com>
- Subject: Re: IA-64 gp problem with PROVIDE and linker relaxation conflict
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Tue, 13 Feb 2001 18:22:06 +1100 (EST)
- cc: Jim Wilson <wilson at cygnus dot com>, binutils at sources dot redhat dot com
On Mon, 12 Feb 2001, H . J . Lu wrote:
> On Mon, Feb 12, 2001 at 08:37:18PM -0800, Jim Wilson wrote:
> >
> > I think we need some way to tell whether a provided value was defined by an
> > object file or defined by an earlier call to exp_fold_tree. In the latter
> > case, we do want to replace the old value with the new value. In the former
> > case, we do not want to change the value.
> >
>
> How about this patch?
Clever. Better than what I was going to suggest: Putting all `provide'd
symbols on a list at the point where they are assigned in exp_fold_tree,
then undefining anything on the list before starting a new relaxation pass.
Alan
--
Linuxcare. Support for the Revolution.