From 0d72f628a4f21a869cb0dba9bbf45be1b17e625d Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Mon, 27 Jun 2011 16:20:47 +0000 Subject: re PR libmudflap/38738 (libmudflap could be enabled for Solaris when using GNU ld) gcc: PR libmudflap/38738 * config/sol2.h [!USE_GLD] (MFLIB_SPEC): Define. libmudflap: PR libmudflap/38738 * configure.ac: Check for sys/mnttab.h. Check for library containing connect. * configure: Regenerate. * config.h.in: Regenerate. * mf-hooks2.c [HAVE_SYS_MNTTAB_H]: Include . * testsuite/libmudflap.c/pass-stratcliff.c (main) [__sun__ && __svr4__]: Disable rawmemchr, stpcpy, mempcpy tests. From-SVN: r175537 --- gcc/ChangeLog | 5 +++++ gcc/config/sol2.h | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'gcc') 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 + + PR libmudflap/38738 + * config/sol2.h [!USE_GLD] (MFLIB_SPEC): Define. + 2011-06-27 Nick Clifton * 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" -- cgit v1.1