aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBernd Schmidt <bernd.schmidt@analog.com>2007-06-14 17:10:54 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2007-06-14 17:10:54 +0000
commit3fcfad760717c9c8f215a59cf4b16d3ed89e0367 (patch)
tree573f78d11c1261b1e7e32a1b2699ee372db5863b /gcc
parentaa2480c5fb4fa679e109545b1a76cfd20bb0f624 (diff)
downloadgcc-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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/bfin/uclinux.h8
2 files changed, 12 insertions, 0 deletions
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}"