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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201829
138bc75d-0d04-0410-961f-
82ee72b054a4
+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>
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;