2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
* config/netbsd.h (LINK_EH_SPEC): Define.
From-SVN: r243791
+2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
+
+ * config/netbsd.h (LINK_EH_SPEC): Define.
+
2016-12-18 Eric Botcazou <ebotcazou@adacore.com>
* lra-constraints.c (process_address): Add forward declaration.
#undef LIBGCC_SPEC
#define LIBGCC_SPEC NETBSD_LIBGCC_SPEC
+#if defined(HAVE_LD_EH_FRAME_HDR)
+#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
+#endif
+
#undef TARGET_LIBC_HAS_FUNCTION
#define TARGET_LIBC_HAS_FUNCTION no_c99_libc_has_function