* config/darwin.h (GTHREAD_USE_WEAK): Define.
authorGeoffrey Keating <geoffk@apple.com>
Wed, 27 Oct 2004 21:03:43 +0000 (21:03 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Wed, 27 Oct 2004 21:03:43 +0000 (21:03 +0000)
From-SVN: r89712

gcc/ChangeLog
gcc/config/darwin.h

index 8d197339b70c510cd145ad2961affa31ff231608..2bc4a629e8c5f75f6f66fe2ae890bf08684b76b5 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-27  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/darwin.h (GTHREAD_USE_WEAK): Define.
+
 2004-10-28  Ben Elliston  <bje@au.ibm.com>
 
        * params.def (PARAM_SRA_MAX_STRUCTURE_SIZE): New.
index c12d5b67160925eb97890231e54cea60831df343..917f4a945398c521c09d7a9afb8fba4c4f2e0aa9 100644 (file)
@@ -393,6 +393,10 @@ extern const char *darwin_fix_and_continue_switch;
     fputc ('\n', FILE);                                                        \
   } while (0)
 
+/* Darwin has the pthread routines in libSystem, which every program
+   links to, so there's no need for weak-ness for that.  */
+#define GTHREAD_USE_WEAK 0
+
 /* We support hidden visibility */
 #undef TARGET_SUPPORTS_HIDDEN
 #define TARGET_SUPPORTS_HIDDEN 1