diff mbox

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

Message ID 201303260700.r2Q70aeV017792@farm-0001.internal.tilera.com
State New
Headers show

Commit Message

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

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