re PR other/4372 (#pragma weak pthread* inclusion causes applications to crash withou...
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 9 Nov 2005 20:57:30 +0000 (20:57 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Wed, 9 Nov 2005 20:57:30 +0000 (20:57 +0000)
commit7ef67393c7454bb93a070d0290b4196c06a93ce8
treecd8a160cfd714773ba11358612d806445395a4c5
parenta0203ca711308b96d33acb895d4f7d254594287c
re PR other/4372 (#pragma weak pthread* inclusion causes applications to crash without a linker error when one forgets to link with -lpthread)

gcc/ChangeLog:
PR other/4372
* gthr-dce.h, gthr-posix.h, gthr-posix95.h, gthr-solaris.h,
gthr-tpf.h: Define __gthrw.  For all identifiers that might
be weak, introduce weakrefs or non-weak aliases with __gthrw,
and prefix all uses with __ghtrw.
libobjc/ChangeLog:
PR other/4372
* thr-objc.c (_XOPEN_SOURCE): Define.

From-SVN: r106704
gcc/ChangeLog
gcc/gthr-dce.h
gcc/gthr-posix.h
gcc/gthr-posix95.h
gcc/gthr-solaris.h
gcc/gthr-tpf.h
libobjc/ChangeLog
libobjc/thr-objc.c