Patchwork [iq2000,obj] remove TARGET_LIBGCC2_CFLAGS

login
register
mail settings
Submitter Nathan Froyd
Date Sept. 30, 2010, 3:11 p.m.
Message ID <20100930151132.GK32503@codesourcery.com>
Download mbox | patch
Permalink /patch/66178/
State New
Headers show

Comments

Nathan Froyd - Sept. 30, 2010, 3:11 p.m.
In:

http://gcc.gnu.org/ml/gcc-patches/2010-08/msg02179.html

Nick indicated it was OK to remove -G 0 from TARGET_LIBGCC2_CFLAGS.
The patch below deletes the definition.

Tested with cross to iq2000-elf.  Committed.

-Nathan

	* config/iq2000/t-iq2000 (TARGET_LIBGCC2_CFLAGS): Delete.

Patch

Index: gcc/ChangeLog
===================================================================
Index: gcc/config/iq2000/t-iq2000
===================================================================
--- gcc/config/iq2000/t-iq2000	(revision 164751)
+++ gcc/config/iq2000/t-iq2000	(working copy)
@@ -21,10 +21,6 @@ 
 LIBGCC1 =
 CROSS_LIBGCC1 =
 
-# We must build libgcc2.a with -G 0, in case the user wants to link
-# without the $gp register.
-TARGET_LIBGCC2_CFLAGS = -G 0
-
 LIB2FUNCS_EXTRA = $(srcdir)/config/udivmod.c $(srcdir)/config/divmod.c $(srcdir)/config/udivmodsi4.c $(srcdir)/config/iq2000/lib2extra-funcs.c
 
 # We want fine grained libraries, so use the new code to build the