Module Name: src
Committed By: joerg
Date: Thu Mar 20 01:46:19 UTC 2014
Modified Files:
src/external/gpl3/gcc/dist/gcc/config: netbsd.h
Log Message:
Always use --eh-frame-hdr, even when linking statically.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 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.9 src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.10
--- src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.9 Sat Mar 1 09:04:12 2014
+++ src/external/gpl3/gcc/dist/gcc/config/netbsd.h Thu Mar 20 01:46:19 2014
@@ -188,9 +188,7 @@ along with GCC; see the file COPYING3.
#undef WINT_TYPE
#define WINT_TYPE "int"
-#if defined(HAVE_LD_EH_FRAME_HDR)
-#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
-#endif
+#define LINK_EH_SPEC "--eh-frame-hdr "
/* Use --as-needed -lgcc_s for eh support. */
#ifdef HAVE_LD_AS_NEEDED