diff options
author | Richard Guenther <rguenther@suse.de> | 2012-03-20 11:18:57 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-03-20 11:18:57 +0000 |
commit | b260a8c034ca3fe57bfab408065bc8dc46c4f186 (patch) | |
tree | 9bc6fbe2fdd4b04aff7527ed68b342d507d72a07 /libgcc | |
parent | 999a099ca26479095d3372f46d0824dd8f45d404 (diff) | |
download | gcc-b260a8c034ca3fe57bfab408065bc8dc46c4f186.tar.gz |
re PR gcov-profile/52627 (Build of libgcc fails w/o __GTHREAD_MUTEX_INIT: error: 'mx' undeclared)
2012-03-20 Richard Guenther <rguenther@suse.de>
PR gcov-profile/52627
* libgcov.c (init_mx): Fix mutex name.
From-SVN: r185569
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 5 | ||||
-rw-r--r-- | libgcc/libgcov.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 744dd93355a..11379bb7626 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -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 diff --git a/libgcc/libgcov.c b/libgcc/libgcov.c index 1603912de2f..ee7fda4eac9 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) |