aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2004-10-27 21:03:43 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2004-10-27 21:03:43 +0000
commit72747d40e9b84c8a063d0ee0f1356a04d5e8b941 (patch)
treeab30d1571ae857c8abb2a297b5c6288c05205ded /gcc
parent61b5800161f855eb1028cd76ad200bd0d63b2b77 (diff)
downloadgcc-72747d40e9b84c8a063d0ee0f1356a04d5e8b941.zip
gcc-72747d40e9b84c8a063d0ee0f1356a04d5e8b941.tar.gz
gcc-72747d40e9b84c8a063d0ee0f1356a04d5e8b941.tar.bz2
* config/darwin.h (GTHREAD_USE_WEAK): Define.
From-SVN: r89712
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/darwin.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8d19733..2bc4a62 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index c12d5b6..917f4a9 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -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