Commit 3fcfad76 by Bernd Schmidt Committed by Bernd Schmidt

configure.ac: Don't add target-libmudflap to noconfigdirs for bfin*-*-uclinux* targets.

	* configure.ac: Don't add target-libmudflap to noconfigdirs for
	bfin*-*-uclinux* targets.
	* configure: Regenerate.

	* gcc/config/bfin/uclinux.h (MFWRAP_SPEC): New.

From-SVN: r125717
parent aa2480c5
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
......
......@@ -2075,7 +2075,7 @@ esac
# 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*)
......
......@@ -364,7 +364,7 @@ esac
# 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
......
......@@ -43,3 +43,11 @@ asm (TEXT_SECTION_ASM_OP);
} \
} \
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}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment