mirror of git://gcc.gnu.org/git/gcc.git
mingw-tls.c (__mingwthr_key_dtor): Remove for none shared libgcc.
2009-06-26 Kai Tietz <kai.tietz@onevision.com> * config/i386/mingw-tls.c (__mingwthr_key_dtor): Remove for none shared libgcc. (__mingwthr_remove_key_dtor): Likewise. From-SVN: r148971
This commit is contained in:
parent
46aaa41703
commit
bae4cf874e
|
@ -1,3 +1,9 @@
|
||||||
|
2009-06-26 Kai Tietz <kai.tietz@onevision.com>
|
||||||
|
|
||||||
|
* config/i386/mingw-tls.c (__mingwthr_key_dtor): Remove for none
|
||||||
|
shared libgcc.
|
||||||
|
(__mingwthr_remove_key_dtor): Likewise.
|
||||||
|
|
||||||
2009-06-26 Richard Guenther <rguenther@suse.de>
|
2009-06-26 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
* tree-ssa-structalias.c (do_ds_constraint): Simplify escape
|
* tree-ssa-structalias.c (do_ds_constraint): Simplify escape
|
||||||
|
|
|
@ -36,38 +36,11 @@ typedef struct __mingwthr_key {
|
||||||
|
|
||||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||||
|
|
||||||
/* Possibly we could define this here for none MT too and avoid use of
|
/* Static functions for libgcc. */
|
||||||
mingwthrd.a at all, but well ... */
|
|
||||||
#ifdef SHARED
|
#ifdef SHARED
|
||||||
__declspec(dllexport)
|
__declspec(dllexport)
|
||||||
int _CRT_MT = 1;
|
int _CRT_MT = 1;
|
||||||
#else
|
|
||||||
#if 0
|
|
||||||
int _CRT_MT = 0;
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Static functions for libgcc. */
|
|
||||||
#ifndef SHARED
|
|
||||||
|
|
||||||
int __mingwthr_key_dtor (DWORD,void (*dtor)(void *));
|
|
||||||
int __mingwthr_remove_key_dtor (DWORD);
|
|
||||||
|
|
||||||
|
|
||||||
int
|
|
||||||
__mingwthr_key_dtor (DWORD key __attribute__ ((__unused__)),
|
|
||||||
void (*dtor) (void *) __attribute__ ((__unused__)))
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
|
||||||
__mingwthr_remove_key_dtor (DWORD key __attribute__ ((__unused__)))
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#else
|
|
||||||
/* Shared functions for libgcc. */
|
/* Shared functions for libgcc. */
|
||||||
|
|
||||||
/* Prototypes. */
|
/* Prototypes. */
|
||||||
|
|
Loading…
Reference in New Issue