From patchwork Thu Sep 30 15:11:32 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Froyd X-Patchwork-Id: 66178 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 5958AB6EF1 for ; Fri, 1 Oct 2010 01:11:44 +1000 (EST) Received: (qmail 8517 invoked by alias); 30 Sep 2010 15:11:40 -0000 Received: (qmail 8503 invoked by uid 22791); 30 Sep 2010 15:11:39 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 30 Sep 2010 15:11:34 +0000 Received: (qmail 27453 invoked from network); 30 Sep 2010 15:11:33 -0000 Received: from unknown (HELO localhost) (froydnj@127.0.0.2) by mail.codesourcery.com with ESMTPA; 30 Sep 2010 15:11:33 -0000 Date: Thu, 30 Sep 2010 08:11:32 -0700 From: Nathan Froyd To: gcc-patches@gcc.gnu.org Cc: nickc@redhat.com Subject: [iq2000,obj] remove TARGET_LIBGCC2_CFLAGS Message-ID: <20100930151132.GK32503@codesourcery.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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. 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