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/config/sol2.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gcc/config') 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