diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-14 17:10:54 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-14 17:10:54 +0000 |
commit | e77068c4a7b971f676947f8717fffcbc625f987e (patch) | |
tree | 573f78d11c1261b1e7e32a1b2699ee372db5863b | |
parent | f07d7f0fbb93ee498cb2b2db1409c1562206aca6 (diff) | |
download | gcc-e77068c4a7b971f676947f8717fffcbc625f987e.tar.gz |
* configure.ac: Don't add target-libmudflap to noconfigdirs for
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
-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
diff --git a/ChangeLog b/ChangeLog index 6c69b18d11b..2d201e3080a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/configure b/configure index 13425f3e04e..759be37afed 100755 --- a/configure +++ b/configure @@ -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 6309b6e033d..c78a9b54bed 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 29b240a9783..7fa30b85eb0 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 0678e91d14b..8e5516b3f48 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}" |