Commit 59b1a766 by Danny Smith Committed by Danny Smith

re PR target/18997 (Segmentation Violation in pthread_getspecific)

gcc
	PR target/18997
	* config/i386/cygwin.h (GTHREAD_USE_WEAK): Define to 0.

libstdc++-v3
	PR target/18997
	* config/os/newlib/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK):
	Define to 0 for __CYGWIN__.

From-SVN: r92281
parent 669f01d8
2004-12-16 Danny Smith <dannysmith@users.sourceforge.net>
PR target/18997
* config/i386/cygwin.h (GTHREAD_USE_WEAK): Define to 0.
2004-12-16 Richard Henderson <rth@redhat.com>
Aldy Hernandez <aldyh@redhat.com>
......
......@@ -228,3 +228,7 @@ do \
} \
while (0)
#endif
/* Binutils does not handle weak symbols from dlls correctly. For now,
do not use them unnecessarily in gthr-posix.h. */
#define GTHREAD_USE_WEAK 0
2004-12-16 Danny Smith <dannysmith@users.sourceforge.net>
PR target/18997
* config/os/newlib/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK):
Define to 0 for __CYGWIN__.
2004-12-16 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement add_const, add_volatile,
......
......@@ -33,4 +33,8 @@
// System-specific #define, typedefs, corrections, etc, go here. This
// file will come before all others.
#ifdef __CYGWIN__
#define _GLIBCXX_GTHREAD_USE_WEAK 0
#endif
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment