IA-64 gp problem with PROVIDE and linker relaxation conflict

Alan Modra alan@linuxcare.com.au
Mon Feb 12 23:22:00 GMT 2001


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.



More information about the Binutils mailing list