diff options
author | Bernd Schmidt <bernd.schmidt@analog.com> | 2007-06-14 17:10:54 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2007-06-14 17:10:54 +0000 |
commit | 3fcfad760717c9c8f215a59cf4b16d3ed89e0367 (patch) | |
tree | 573f78d11c1261b1e7e32a1b2699ee372db5863b | |
parent | aa2480c5fb4fa679e109545b1a76cfd20bb0f624 (diff) | |
download | gcc-3fcfad760717c9c8f215a59cf4b16d3ed89e0367.zip gcc-3fcfad760717c9c8f215a59cf4b16d3ed89e0367.tar.gz gcc-3fcfad760717c9c8f215a59cf4b16d3ed89e0367.tar.bz2 |
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
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/bfin/uclinux.h | 8 |
5 files changed, 20 insertions, 2 deletions
@@ -1,3 +1,9 @@ +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*) diff --git a/configure.ac b/configure.ac index 6309b6e..c78a9b5 100644 --- a/configure.ac +++ b/configure.ac @@ -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*) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29b240a..7fa30b8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +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 diff --git a/gcc/config/bfin/uclinux.h b/gcc/config/bfin/uclinux.h index 0678e91..8e5516b 100644 --- a/gcc/config/bfin/uclinux.h +++ b/gcc/config/bfin/uclinux.h @@ -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}" |