X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fgthr-lynx.h;h=5a8147df680a713086e988e4f0a681d1a57db7e8;hp=8d2d72b9d97d81b9c9adfb193ebf69820965bbff;hb=f0b5f617f9a1bfcecedbf6927598405d7f896419;hpb=ecaa8a984a6d5eff96686168ed73d037024d724e 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.