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/alpha don't try to define ...



details:   https://anonhg.NetBSD.org/src/rev/80616fde3ed7
branches:  trunk
changeset: 769877:80616fde3ed7
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Sep 25 13:32:17 2011 +0000

description:
don't try to define LINK_EH_SPEC if it's already set,
netbsd.h already set it to what we want.

diffstat:

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

diffs (12 lines):

diff -r 31e5e20278a4 -r 80616fde3ed7 external/gpl3/gcc/dist/gcc/config/alpha/elf.h
--- a/external/gpl3/gcc/dist/gcc/config/alpha/elf.h     Sun Sep 25 12:56:46 2011 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/alpha/elf.h     Sun Sep 25 13:32:17 2011 +0000
@@ -440,7 +440,7 @@
    As of Jan 2002, only glibc 2.2.4 can actually make use of this, but
    I imagine that other systems will catch up.  In the meantime, it
    doesn't harm to make sure that the data exists to be used later.  */
-#if defined(HAVE_LD_EH_FRAME_HDR)
+#if defined(HAVE_LD_EH_FRAME_HDR) && !defined(LINK_EH_SPEC)
 #define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
 #endif
 



Home | Main Index | Thread Index | Old Index