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
This commit is contained in:
Iain Sandoe 2013-08-18 15:50:17 +00:00 committed by Iain Sandoe
parent 29b894421e
commit 9107b096ce
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2013-08-18 Iain Sandoe <iain@codesourcery.com>
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.
2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
Catherine Moore <clm@codesourcery.com>
Richard Sandiford <rdsandiford@googlemail.com>

View File

@ -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;