aboutsummaryrefslogtreecommitdiff
path: root/libmudflap/config.h.in
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2011-07-07 10:14:02 +0000
committerRainer Orth <ro@gcc.gnu.org>2011-07-07 10:14:02 +0000
commit891a2e42599a554e074f3c9e5fde54cce4795ed9 (patch)
treedabd723386297a21ecafc7c91d84abf760884544 /libmudflap/config.h.in
parent8384ac41e6036d9055c6a1725546eced5d479ec8 (diff)
downloadgcc-891a2e42599a554e074f3c9e5fde54cce4795ed9.zip
gcc-891a2e42599a554e074f3c9e5fde54cce4795ed9.tar.gz
gcc-891a2e42599a554e074f3c9e5fde54cce4795ed9.tar.bz2
re PR libmudflap/49550 (Many libmudflap tests fail on Solaris 11/x86)
gcc: PR libmudflap/49550 * gcc.c (MFWRAP_SPEC): Also wrap mmap64. libmudflap: PR libmudflap/49550 * mf-runtime.c (__wrap_main) [__sun__ && __svr4__]: Don't register stdin, stdout, stderr. Register __ctype, __ctype_mask. * configure.ac: Check for mmap64. Check for rawmemchr, stpcpy, mempcpy. * configure: Regenerate. * config.h.in: Regenerate. * mf-hooks1.c [HAVE_MMAP64] (__mf_0fn_mmap64): New function. (mmap64): New wrapper function. * mf-impl.h (__mf_dynamic_index) [HAVE_MMAP64]: Add dyn_mmap64. * mf-runtime.c (__mf_dynamic) [HAVE_MMAP64]: Handle mmap64. * mf-hooks2.c [HAVE_GETMNTENT && HAVE_SYS_MNTTAB_H]: Implement getmntent wrapper. * mf-hooks3.c (_REENTRANT): Define. * testsuite/libmudflap.c/heap-scalestress.c (SCALE): Reduce to 10000. * testsuite/libmudflap.c/pass-stratcliff.c: Include ../config.h. (MIN): Define. Use HAVE_RAWMEMCHR, HAVE_STPCPY, HAVE_MEMPCPY as guards. * testsuite/libmudflap.c/pass47-frag.c: Expect __ctype warning on *-*-solaris2.*. From-SVN: r175961
Diffstat (limited to 'libmudflap/config.h.in')
-rw-r--r--libmudflap/config.h.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/libmudflap/config.h.in b/libmudflap/config.h.in
index 16afd05..9e4e191 100644
--- a/libmudflap/config.h.in
+++ b/libmudflap/config.h.in
@@ -126,18 +126,27 @@
/* Define to 1 if you have the `dl' library (-ldl). */
#undef HAVE_LIBDL
+/* Define to 1 if you have the `socket' library (-lsocket). */
+#undef HAVE_LIBSOCKET
+
/* Define to 1 if you have the `memmem' function. */
#undef HAVE_MEMMEM
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
+/* Define to 1 if you have the `mempcpy' function. */
+#undef HAVE_MEMPCPY
+
/* Define to 1 if you have the `memrchr' function. */
#undef HAVE_MEMRCHR
/* Define to 1 if you have the `mmap' function. */
#undef HAVE_MMAP
+/* Define to 1 if you have the `mmap64' function. */
+#undef HAVE_MMAP64
+
/* Define to 1 if you have the <mntent.h> header file. */
#undef HAVE_MNTENT_H
@@ -156,6 +165,9 @@
/* Define to 1 if you have the <pwd.h> header file. */
#undef HAVE_PWD_H
+/* Define to 1 if you have the `rawmemchr' function. */
+#undef HAVE_RAWMEMCHR
+
/* Define to 1 if you have the `setbuf' function. */
#undef HAVE_SETBUF
@@ -192,6 +204,9 @@
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
+/* Define to 1 if you have the `stpcpy' function. */
+#undef HAVE_STPCPY
+
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H