Index: gcc/config/i386/nacl.h |
diff --git a/gcc/config/i386/nacl.h b/gcc/config/i386/nacl.h |
index d72189b2798dca9254d710af8b8e72dee79756a8..f11da3f940a3fb7b9f34c677cc907436daf77ebc 100644 |
--- a/gcc/config/i386/nacl.h |
+++ b/gcc/config/i386/nacl.h |
@@ -101,7 +101,7 @@ Boston, MA 02111-1307, USA. */ |
#define HANDLE_PRAGMA_PACK_PUSH_POP |
#if defined(HAVE_LD_EH_FRAME_HDR) |
-#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} " |
+#define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} " |
#endif |
/* Use --as-needed -lgcc_s for eh support. */ |