Restore --eh-frame-hdr for static binaries.

This commit is contained in:
joerg 2017-07-14 23:05:27 +00:00
parent a984d4dff8
commit c1a5bf052c
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ along with GCC; see the file COPYING3. If not see
#undef WINT_TYPE
#define WINT_TYPE "int"
#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
#define LINK_EH_SPEC "--eh-frame-hdr "
/* Use --as-needed -lgcc_s for eh support. */
#ifdef HAVE_LD_AS_NEEDED