diff options
author | Iain Sandoe <iain@codesourcery.com> | 2013-08-18 15:50:17 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2013-08-18 15:50:17 +0000 |
commit | 9107b096cea3a933961e486d170f8969c0040fea (patch) | |
tree | 8f51d174e3006a77da9fdc6917588eb1cdb4ba96 /libgcc/libgcov.c | |
parent | 29b894421e0f072bc12048b5eebfabc7edc11d85 (diff) | |
download | gcc-9107b096cea3a933961e486d170f8969c0040fea.zip gcc-9107b096cea3a933961e486d170f8969c0040fea.tar.gz gcc-9107b096cea3a933961e486d170f8969c0040fea.tar.bz2 |
re PR gcov-profile/58127 (37 failures in gcc.dg/tree-prof/ for x86_64-apple-darwin10)
libgcc:
PR gcov-profile/58127
* libgcov.c (__gcov_indirect_call_callee): Don't make this a
__thread var for emulated TLS.
(__gcov_indirect_call_counters): Likewise.
From-SVN: r201829
Diffstat (limited to 'libgcc/libgcov.c')
-rw-r--r-- | libgcc/libgcov.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgcc/libgcov.c b/libgcc/libgcov.c index d1a9892..3c39331 100644 --- a/libgcc/libgcov.c +++ b/libgcc/libgcov.c @@ -1162,11 +1162,11 @@ __gcov_indirect_call_profiler (gcov_type* counter, gcov_type value, The variables are set directly by GCC instrumented code, so declaration here must match one in tree-profile.c */ -#ifdef HAVE_CC_TLS +#if defined(HAVE_CC_TLS) && !defined (USE_EMUTLS) __thread #endif void * __gcov_indirect_call_callee; -#ifdef HAVE_CC_TLS +#if defined(HAVE_CC_TLS) && !defined (USE_EMUTLS) __thread #endif gcov_type * __gcov_indirect_call_counters; |