Module Name: src
Committed By: joerg
Date: Fri Jul 14 23:05:28 UTC 2017
Modified Files:
src/external/gpl3/gcc/dist/gcc/config: netbsd.h
Log Message:
Restore --eh-frame-hdr for static binaries.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/external/gpl3/gcc/dist/gcc/config/netbsd.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/dist/gcc/config/netbsd.h
diff -u src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.18 src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.19
--- src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.18 Wed Mar 16 07:17:14 2016
+++ src/external/gpl3/gcc/dist/gcc/config/netbsd.h Fri Jul 14 23:05:27 2017
@@ -197,7 +197,7 @@ along with GCC; see the file COPYING3.
#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