diff options
author | jiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-01-23 04:58:03 +0000 |
---|---|---|
committer | jiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-01-23 04:58:03 +0000 |
commit | 5a88eb87265ab500347a22f3969195246d5f5358 (patch) | |
tree | 6ddfe08d3b1988039a3b83beaf42660efeaa2cc4 /libmudflap/mf-impl.h | |
parent | a0fa583951228f287a6b2b986a0ddfb434ae0f2f (diff) | |
download | gcc-5a88eb87265ab500347a22f3969195246d5f5358.tar.gz |
libmudflap/
* mf-impl.h (__mf_get_state, __mf_set_state): Don't use
__thread when TLS support is emulated.
* mf-hooks3.c (__mf_get_state, __mf_set_state): Likewise.
* mf-runtime.c (__mf_state_1): Likewise.
* configure.ac: Use GCC_CHECK_EMUTLS.
* configure: Regenerate.
* config.h.in: Regenerate.
config/
* tls.m4 (GCC_CHECK_EMUTLS): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143583 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libmudflap/mf-impl.h')
-rw-r--r-- | libmudflap/mf-impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmudflap/mf-impl.h b/libmudflap/mf-impl.h index 728a58bc05d..15d0b9ae53a 100644 --- a/libmudflap/mf-impl.h +++ b/libmudflap/mf-impl.h @@ -244,7 +244,7 @@ extern pthread_mutex_t __mf_biglock; #define UNLOCKTH() do {} while (0) #endif -#if defined(LIBMUDFLAPTH) && !defined(HAVE_TLS) +#if defined(LIBMUDFLAPTH) && (!defined(HAVE_TLS) || defined(USE_EMUTLS)) extern enum __mf_state_enum __mf_get_state (void); extern void __mf_set_state (enum __mf_state_enum); #else |