From df85f61c97b549d612e8ee3fce6d206f65302c2a Mon Sep 17 00:00:00 2001 From: rguenth Date: Tue, 20 Mar 2012 11:18:57 +0000 Subject: [PATCH] 2012-03-20 Richard Guenther PR gcov-profile/52627 * libgcov.c (init_mx): Fix mutex name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185569 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgcc/ChangeLog | 5 +++++ libgcc/libgcov.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 744dd93..11379bb 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2012-03-20 Richard Guenther + + PR gcov-profile/52627 + * libgcov.c (init_mx): Fix mutex name. + 2012-03-16 Tristan Gingold * config/ia64/vms-unwind.h: Remove ulong (and replace diff --git a/libgcc/libgcov.c b/libgcc/libgcov.c index 1603912..ee7fda4 100644 --- a/libgcc/libgcov.c +++ b/libgcc/libgcov.c @@ -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) -- 2.7.4