This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] TILE-Gx: add flags to CRTSTUFF_T_CFLAGS_S variable.
- From: Walter Lee <walt at tilera dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 26 Mar 2013 03:00:36 -0400
- Subject: [committed] TILE-Gx: add flags to CRTSTUFF_T_CFLAGS_S variable.
- Reply-to: Walter Lee <walt at tilera dot com>
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