OSDN Git Service

* config/darwin.h (GTHREAD_USE_WEAK): Define.
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Oct 2004 21:03:43 +0000 (21:03 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Oct 2004 21:03:43 +0000 (21:03 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89712 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/darwin.h

index 8d19733..2bc4a62 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 c12d5b6..917f4a9 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