Patchwork [committed] TILE-Gx: add flags to CRTSTUFF_T_CFLAGS_S variable.

login
register
mail settings
Submitter Walter Lee
Date March 26, 2013, 7 a.m.
Message ID <201303260700.r2Q70aeV017792@farm-0001.internal.tilera.com>
Download mbox | patch
Permalink /patch/231105/
State New
Headers show

Comments

Walter Lee - March 26, 2013, 7 a.m.
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.

Patch

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