Module Name: src
Committed By: mrg
Date: Thu May 29 07:05:10 UTC 2014
Modified Files:
src/external/gpl3/gcc/dist/gcc/config: netbsd.h
Log Message:
make LINK_EH_SPEC match other usage. fixes powerpc build.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 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.10 src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.11
--- src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.10 Thu Mar 20 01:46:19 2014
+++ src/external/gpl3/gcc/dist/gcc/config/netbsd.h Thu May 29 07:05:10 2014
@@ -188,7 +188,7 @@ along with GCC; see the file COPYING3.
#undef WINT_TYPE
#define WINT_TYPE "int"
-#define LINK_EH_SPEC "--eh-frame-hdr "
+#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
/* Use --as-needed -lgcc_s for eh support. */
#ifdef HAVE_LD_AS_NEEDED