[PATCH] Fix --as-needed for MIPS.
Thiemo Seufer
ths@networkno.de
Fri Jul 29 09:10:00 GMT 2005
More information about the Binutils mailing list
Fri Jul 29 09:10:00 GMT 2005
- Previous message (by thread): [PATCH] Fix --as-needed for MIPS.
- Next message (by thread): [PATCH] Fix --as-needed for MIPS.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
David Daney wrote:
[snip]
> + /* Shared objects may have a dynamic symbol '_gp_disp' defined as
> + a SECTION *ABS*. This causes ld to think it can resolve _gp_disp
> + by setting a DT_NEEDED for the shared object. Since _gp_disp is
> + a magic symbol resolved by the linker, we ignore this bogus definition
> + of _gp_disp. */
> + if ((strcmp (*namep, "_gp_disp") == 0) && !bfd_is_und_section (*secp))
> + {
> + *namep = NULL;
> + return TRUE;
> + }
This should be limited to OldABI objects, for N32/N64 _gp_disp is not
a magic symbol.
Thiemo
- Previous message (by thread): [PATCH] Fix --as-needed for MIPS.
- Next message (by thread): [PATCH] Fix --as-needed for MIPS.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list