Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config make LINK_EH_SPEC match ot...



details:   https://anonhg.NetBSD.org/src/rev/ffa079c7ae40
branches:  trunk
changeset: 796320:ffa079c7ae40
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu May 29 07:05:10 2014 +0000

description:
make LINK_EH_SPEC match other usage.  fixes powerpc build.

diffstat:

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

diffs (12 lines):

diff -r 6cf8330678a7 -r ffa079c7ae40 external/gpl3/gcc/dist/gcc/config/netbsd.h
--- a/external/gpl3/gcc/dist/gcc/config/netbsd.h        Wed May 28 21:51:18 2014 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/netbsd.h        Thu May 29 07:05:10 2014 +0000
@@ -188,7 +188,7 @@
 #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



Home | Main Index | Thread Index | Old Index