]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.ac: Don't add target-libmudflap to noconfigdirs for bfin*-*-uclinux* targets.
authorBernd Schmidt <bernd.schmidt@analog.com>
Thu, 14 Jun 2007 17:10:54 +0000 (17:10 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Thu, 14 Jun 2007 17:10:54 +0000 (17:10 +0000)
* 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

ChangeLog
configure
configure.ac
gcc/ChangeLog
gcc/config/bfin/uclinux.h

index 6c69b18d11b4d56eaad05747b735125adcec220c..2d201e3080a251c78ecbe183f22653ac81c49767 100644 (file)
--- 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
index 13425f3e04e8db3721ffceef9af4de98dcc607f8..759be37afed3cd25052ac68f30b7fda0dddad572 100755 (executable)
--- 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*)
index 6309b6e033df021ce7d8f5cb789186cb5431554c..c78a9b54bed0db3bb5fda954b5394df66e3cc74b 100644 (file)
@@ -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*)
index 29b240a9783d78b4ec0b3649b5d982d6909050ae..7fa30b85eb0ab3f1d98485c1df3b9defb01ebf83 100644 (file)
@@ -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
index 0678e91d14b3d83b7e1cb1425fe4b53aea150111..8e5516b3f4876f484cdaf1ba870ce393d0712dea 100644 (file)
@@ -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}"