This is the mail archive of the binutils@sources.redhat.com 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]

Re: IA-64 gp problem with PROVIDE and linker relaxation conflict


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.


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