re PR gcov-profile/52627 (Build of libgcc fails w/o __GTHREAD_MUTEX_INIT: error:...
authorRichard Guenther <rguenther@suse.de>
Tue, 20 Mar 2012 11:18:57 +0000 (11:18 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 20 Mar 2012 11:18:57 +0000 (11:18 +0000)
2012-03-20  Richard Guenther  <rguenther@suse.de>

PR gcov-profile/52627
* libgcov.c (init_mx): Fix mutex name.

From-SVN: r185569

libgcc/ChangeLog
libgcc/libgcov.c

index 744dd93355a1ef4dfa0af39de59aa6dccb4b99b0..11379bb76267c41b063efe053b853e621b4c3e45 100644 (file)
@@ -1,3 +1,8 @@
+2012-03-20  Richard Guenther  <rguenther@suse.de>
+
+       PR gcov-profile/52627
+       * libgcov.c (init_mx): Fix mutex name.
+
 2012-03-16  Tristan Gingold  <gingold@adacore.com>
 
        * config/ia64/vms-unwind.h: Remove ulong (and replace
index 1603912de2fe3c16d29b968fbf4284274f8c83f2..ee7fda4eac9447874409dc02b685d9d67274548f 100644 (file)
@@ -713,7 +713,7 @@ __gthread_mutex_t __gcov_flush_mx ATTRIBUTE_HIDDEN;
 static void
 init_mx (void)
 {
-  __GTHREAD_MUTEX_INIT_FUNCTION (&mx);
+  __GTHREAD_MUTEX_INIT_FUNCTION (&__gcov_flush_mx);
 }
 static void
 init_mx_once (void)