diff --git a/contrib/regression/ChangeLog b/contrib/regression/ChangeLog
index 43830f80488c5833481b4b41e0e6995de8d6e575..1a7c77c636c18c1b6b8508be6d1a5690d0f12b3e 100644
--- a/contrib/regression/ChangeLog
+++ b/contrib/regression/ChangeLog
@@ -1,3 +1,7 @@
+2012-08-26  Hans-Peter Nilsson  <hp@axis.com>
+
+	* btest-gcc.sh (TESTLOGS): Add libmudflap.sum, if it exists.
+
 2009-09-02  Geoff Keating  <geoffk@apple.com>
 
 	* btest-gcc.sh: Continue after bootstrap comparison failure.
diff --git a/contrib/regression/btest-gcc.sh b/contrib/regression/btest-gcc.sh
index 28985760d2b785218b04eaf04d3bc4775fb8328c..a3d2bb39f56bdeaed792145ec7adfc97fd0d884e 100755
--- a/contrib/regression/btest-gcc.sh
+++ b/contrib/regression/btest-gcc.sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 #  Test GCC.
-#  Copyright (C) 1999, 2000, 2001, 2002, 2005, 2006, 2009
+#  Copyright (C) 1999, 2000, 2001, 2002, 2005, 2006, 2009, 2012
 #  Free Software Foundation, Inc.
 
 #  This program is free software; you can redistribute it and/or modify
@@ -160,6 +160,10 @@ if [ -f $BUILD/$H_TARGET/libgomp/testsuite/libgomp.sum ] ; then
   TESTLOGS="$TESTLOGS $H_TARGET/libgomp/testsuite/libgomp.sum"
 fi
 
+if [ -f $BUILD/$H_TARGET/libmudflap/testsuite/libmudflap.sum ] ; then
+  TESTLOGS="$TESTLOGS $H_TARGET/libmudflap/testsuite/libmudflap.sum"
+fi
+
 # Test the just-built GCC with the GDB testsuite.
 if [ -d $GDB_TESTSUITE ] ; then
   mkdir test-gdb || exit 1