[PATCH] Fix --as-needed for MIPS.

Richard Sandiford richard@codesourcery.com
Fri Jul 29 05:34:00 GMT 2005


Sorry for my earlier reply.  I didn't notice the break in the threading,
so I hadn't read your _gp_disp messages by then.

David Daney <ddaney@avtrex.com> writes:
> I am not sure how that dynamic symbol got into the shared objects in the
> first place. I suppose if the proper solution was to not put it there in
> the first place, I could fix that and rebuild the world. But that would
> be much more work.

I think that's probably the right fix though.  I no longer have
access to a working IRIX box, but I'd bet that IRIX libraries don't
define _gp_disp.  It doesn't really make sense to.  By its very nature,
the symbol's value depends on where it's used.

Richard



More information about the Binutils mailing list