Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/external/gpl3/gcc/dist/gcc/config Pull up following revis...



details:   https://anonhg.NetBSD.org/src/rev/59ba872c2c6e
branches:  netbsd-8
changeset: 434256:59ba872c2c6e
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Thu Aug 31 08:34:50 2017 +0000

description:
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.

diffstat:

 external/gpl3/gcc/dist/gcc/config/netbsd.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r f31bc3642e9b -r 59ba872c2c6e external/gpl3/gcc/dist/gcc/config/netbsd.h
--- a/external/gpl3/gcc/dist/gcc/config/netbsd.h        Thu Aug 31 08:32:38 2017 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/netbsd.h        Thu Aug 31 08:34:50 2017 +0000
@@ -197,7 +197,8 @@
 #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



Home | Main Index | Thread Index | Old Index