bfin*-*-uclinux* targets.
* configure: Regenerate.
* gcc/config/bfin/uclinux.h (MFWRAP_SPEC): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125717
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-06-14 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ * configure.ac: Don't add target-libmudflap to noconfigdirs for
+ bfin*-*-uclinux* targets.
+ * configure: Regenerate.
+
2007-06-14 Ian Lance Taylor <iant@google.com>
* MAINTAINERS: Add myself as non-algorithmic global write
# Disable libmudflap on some systems.
if test x$enable_libmudflap = x ; then
case "${target}" in
- *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
+ *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | bfin*-*-uclinux*)
# Enable libmudflap by default in GNU and friends.
;;
*-*-freebsd*)
# Disable libmudflap on some systems.
if test x$enable_libmudflap = x ; then
case "${target}" in
- *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
+ *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | bfin*-*-uclinux*)
# Enable libmudflap by default in GNU and friends.
;;
*-*-freebsd*)
+2007-06-14 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ * config/bfin/uclinux.h (MFWRAP_SPEC): New.
+
2007-06-14 Rask Ingemann Lambertsen <rask@sygehus.dk>
PR target/32341
} \
} \
while (0)
+
+/* Like the definition in gcc.c, but for purposes of uClinux, every link is
+ static. */
+#define MFWRAP_SPEC " %{fmudflap|fmudflapth: \
+ --wrap=malloc --wrap=free --wrap=calloc --wrap=realloc\
+ --wrap=mmap --wrap=munmap --wrap=alloca\
+ %{fmudflapth: --wrap=pthread_create\
+}} %{fmudflap|fmudflapth: --wrap=main}"