From 72747d40e9b84c8a063d0ee0f1356a04d5e8b941 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Wed, 27 Oct 2004 21:03:43 +0000 Subject: [PATCH] * config/darwin.h (GTHREAD_USE_WEAK): Define. From-SVN: r89712 --- gcc/ChangeLog | 4 ++++ gcc/config/darwin.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8d197339b70..2bc4a629e8c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-10-27 Geoffrey Keating + + * config/darwin.h (GTHREAD_USE_WEAK): Define. + 2004-10-28 Ben Elliston * params.def (PARAM_SRA_MAX_STRUCTURE_SIZE): New. diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index c12d5b67160..917f4a94539 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 -- 2.30.2