Module Name: src
Committed By: chs
Date: Sun Sep 25 13:32:18 UTC 2011
Modified Files:
src/external/gpl3/gcc/dist/gcc/config/alpha: elf.h
Log Message:
don't try to define LINK_EH_SPEC if it's already set,
netbsd.h already set it to what we want.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/gpl3/gcc/dist/gcc/config/alpha/elf.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/alpha/elf.h
diff -u src/external/gpl3/gcc/dist/gcc/config/alpha/elf.h:1.1.1.1 src/external/gpl3/gcc/dist/gcc/config/alpha/elf.h:1.2
--- src/external/gpl3/gcc/dist/gcc/config/alpha/elf.h:1.1.1.1 Tue Jun 21 01:22:12 2011
+++ src/external/gpl3/gcc/dist/gcc/config/alpha/elf.h Sun Sep 25 13:32:17 2011
@@ -440,7 +440,7 @@ extern int alpha_this_gpdisp_sequence_nu
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