diff options
Diffstat (limited to 'gcc/gthr-lynx.h')
-rw-r--r-- | gcc/gthr-lynx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gthr-lynx.h b/gcc/gthr-lynx.h index 8d2d72b9d97..5a8147df680 100644 --- a/gcc/gthr-lynx.h +++ b/gcc/gthr-lynx.h @@ -1,7 +1,7 @@ /* Threads compatibility routines for libgcc2 and libobjc for LynxOS. */ /* Compile this one with gcc. */ -/* Copyright (C) 2004 Free Software Foundation, Inc. +/* Copyright (C) 2004, 2008 Free Software Foundation, Inc. This file is part of GCC. @@ -44,7 +44,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA /* When using static libc on LynxOS, we cannot define pthread_create weak. If the multi-threaded application includes iostream.h, gthr-posix.h is included and pthread_create will be defined weak. - If pthead_create is weak its defining module in libc is not + If pthread_create is weak its defining module in libc is not necessarily included in the link and the symbol is resolved to zero. Therefore the first call to it will crash. |