From patchwork Tue Mar 26 07:00:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Walter Lee X-Patchwork-Id: 231105 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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 4CD2C2C00C0 for ; Tue, 26 Mar 2013 18:00:58 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :message-id:from:to:subject:reply-to:mime-version:content-type; q=dns; s=default; b=jQ1qALs/GghbzFjIpwTNpZyeaD/ZJ/WW8vTNMDI0FqM LhSplNqEU/ladVf4BN4wq3IHRivA9n9q4AyfsorGhtIcand+Mk4pNHK2NoRyl7sE aL8eHPB2uQa+f9G+sizA6NPStVrKoMeRSqzBdm6aVRJVwGMb/dAjlz/cwVQOlRM0 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :message-id:from:to:subject:reply-to:mime-version:content-type; s=default; bh=ADjCKLX2sfTmI8SyZCn5u8acMmI=; b=SE2bD2dzo7iFEzOQd tRIf+fAuJKK9JXi2KD1oLcoXrvDtZaL+szUKqMNsnt6iZf5/82u2+7NeBYyeaIVP N6mu26bvm3Xdgjec8kUhI9wLzY1i2qcBQFKXb08XhDdCHUy2AFs5H4ggSUWdbaIC 0Dkz82bZVHLpY69vFyO3ggLiu0= Received: (qmail 4228 invoked by alias); 26 Mar 2013 07:00:48 -0000 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 Received: (qmail 4207 invoked by uid 89); 26 Mar 2013 07:00:41 -0000 X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from usmamail.tilera.com (HELO USMAMAIL.TILERA.COM) (12.216.194.151) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 26 Mar 2013 07:00:39 +0000 Received: from farm-0001.internal.tilera.com (10.2.0.31) by USMAEXCH2.tad.internal.tilera.com (10.3.0.33) with Microsoft SMTP Server (TLS) id 14.0.722.0; Tue, 26 Mar 2013 03:00:36 -0400 Received: (from walt@localhost) by farm-0001.internal.tilera.com (8.14.4/8.12.11/Submit) id r2Q70aeV017792; Tue, 26 Mar 2013 03:00:36 -0400 Date: Tue, 26 Mar 2013 03:00:36 -0400 Message-ID: <201303260700.r2Q70aeV017792@farm-0001.internal.tilera.com> From: Walter Lee To: Subject: [committed] TILE-Gx: add flags to CRTSTUFF_T_CFLAGS_S variable. Reply-To: Walter Lee MIME-Version: 1.0 This patch adds "-fno-asynchronous-unwind-tables -mcmodel=large" to CRTSTUFF_T_CFLAGS_S. Backported to 4.8. * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable. Index: libgcc/config/tilegx/t-crtstuff =================================================================== --- libgcc/config/tilegx/t-crtstuff (revision 197072) +++ libgcc/config/tilegx/t-crtstuff (working copy) @@ -2,3 +2,7 @@ # because then __FRAME_END__ might not be the last thing in .eh_frame # section. CRTSTUFF_T_CFLAGS += -fno-asynchronous-unwind-tables +CRTSTUFF_T_CFLAGS_S += -fno-asynchronous-unwind-tables + +# Compile crtbeginS.o and crtendS.o with -mcmodel=large +CRTSTUFF_T_CFLAGS_S += -mcmodel=large