This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Miscellaneous options fixes
- From: Nick Clifton <nickc at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 31 Aug 2010 15:44:51 +0100
- Subject: Re: Miscellaneous options fixes
Hi Guys,
> This bit breaks building libgcc for iq2000-elf because t-iq2000 does
> specify -G:
>
> # We must build libgcc2.a with -G 0, in case the user wants to link
> # without the $gp register.
> TARGET_LIBGCC2_CFLAGS = -G 0
>
> Removing that line is easy enough, but perhaps -G really is (supposed to
> be) supported? Nick, is -G supported or not on iq2000?
It is safe to remove the -G option from TARGET_LIBGCC2_CFLAGS for the
iq2000.
The iq2000 port does not use -G. At some point in the past it appears
that it did use the -mgpopt option, but this appears to have bit-rotted
away as now there is only a small amount of redundant code referencing
it. In my copious free time I will clean this up...
Cheers
Nick