Module Name:    src
Committed By:   bouyer
Date:           Thu Aug 31 08:34:50 UTC 2017

Modified Files:
        src/external/gpl3/gcc/dist/gcc/config [netbsd-8]: netbsd.h

Log Message:
Pull up following revision(s) (requested by joerg in ticket #235):
        external/gpl3/gcc/dist/gcc/config/netbsd.h: revision 1.19
        external/gpl3/gcc/dist/gcc/config/netbsd.h: revision 1.20
Restore --eh-frame-hdr for static binaries.
fix the powerpc build, by undefining the EH_SPEC entry first.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.18.8.1 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.18.8.1
--- 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	Thu Aug 31 08:34:50 2017
@@ -197,7 +197,8 @@ along with GCC; see the file COPYING3.  
 #undef WINT_TYPE
 #define WINT_TYPE "int"
 
-#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
+#undef LINK_EH_SPEC
+#define LINK_EH_SPEC "--eh-frame-hdr "
 
 /* Use --as-needed -lgcc_s for eh support.  */
 #ifdef HAVE_LD_AS_NEEDED

Reply via email to