Index: gcc/config/i386/nacl.h |
diff --git a/gcc/config/i386/nacl.h b/gcc/config/i386/nacl.h |
index 00f692a7fbc889668007eab9d776084299dc0a31..7c28adcadadc15366173627fe7a11f8100bbcae8 100644 |
--- a/gcc/config/i386/nacl.h |
+++ b/gcc/config/i386/nacl.h |
@@ -169,6 +169,10 @@ Boston, MA 02111-1307, USA. */ |
%{" SPEC_64 ":%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER64 "}}} \ |
%{static:-static}}" |
+#undef LINK_GCC_C_SEQUENCE_SPEC |
+#define LINK_GCC_C_SEQUENCE_SPEC \ |
+ "%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}" |
+ |
#if TARGET_64BIT_DEFAULT |
#define MULTILIB_DEFAULTS { "m64" } |
#else |