diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/config/darwin.h | 4 |
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 |
