IA-64 gp problem with PROVIDE and linker relaxation conflict

Richard Henderson rth@redhat.com
Tue Feb 13 01:07:00 GMT 2001


On Tue, Feb 13, 2001 at 07:31:59PM +1100, Alan Modra wrote:
> That would give you an "undefined symbol" error if __gp is referenced
> from an object file.  elfxx_ia64_final_link is too late in the link.

Nope.  That's called before relocate_section.

How else could it work at present, given that the gp
value must be set up before gp-relative relocations
are processed?


r~



More information about the Binutils mailing list