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
+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>
} \
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,
// 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