aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sol2.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1d9c27c..9d3823a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR libmudflap/38738
+ * config/sol2.h [!USE_GLD] (MFLIB_SPEC): Define.
+
2011-06-27 Nick Clifton <nickc@redhat.com>
* config/mn10300/mn10300.md (clzsi2): Use XOR after BSCH to
diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h
index d898c2e..d9c1fc9 100644
--- a/gcc/config/sol2.h
+++ b/gcc/config/sol2.h
@@ -187,6 +187,11 @@ along with GCC; see the file COPYING3. If not see
#endif /* HAVE_LD_EH_FRAME && TARGET_DL_ITERATE_PHDR */
#endif
+#ifndef USE_GLD
+/* The default MFLIB_SPEC is GNU ld specific. */
+#define MFLIB_SPEC ""
+#endif
+
/* collect2.c can only parse GNU nm -n output. Solaris nm needs -png to
produce the same format. */
#define NM_FLAGS "-png"