From: Krister Walfridsson Date: Mon, 19 Dec 2016 09:39:17 +0000 (+0000) Subject: netbsd.h (LINK_EH_SPEC): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=26b14bc192861450d7d4d20faa5e54f489af1b68;p=gcc.git netbsd.h (LINK_EH_SPEC): Define. 2016-12-19 Krister Walfridsson * config/netbsd.h (LINK_EH_SPEC): Define. From-SVN: r243791 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5cd7c33a23f..57a1578caa3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-12-19 Krister Walfridsson + + * config/netbsd.h (LINK_EH_SPEC): Define. + 2016-12-18 Eric Botcazou * lra-constraints.c (process_address): Add forward declaration. diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h index f2d6cc6a101..991cab65520 100644 --- a/gcc/config/netbsd.h +++ b/gcc/config/netbsd.h @@ -139,6 +139,10 @@ along with GCC; see the file COPYING3. If not see #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