This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Fix --as-needed for MIPS.
- From: Richard Sandiford <richard at codesourcery dot com>
- To: David Daney <ddaney at avtrex dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 29 Jul 2005 06:33:43 +0100
- Subject: Re: [PATCH] Fix --as-needed for MIPS.
- References: <42E9AE1C.6040505@avtrex.com>
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