http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34544
--- Comment #23 from John David Anglin <danglin at gcc dot gnu.org> 2011-01-29 20:36:41 UTC --- Author: danglin Date: Sat Jan 29 20:36:39 2011 New Revision: 169394 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169394 Log: Backport from mainline: 2010-08-22 John David Anglin <dave.ang...@nrc-cnrc.gc.ca> PR boehm-gc/34544 * gthr-posix.h (__gthread_active_init): Delete. (__gthread_active_p): Do activity check here. Don't include errno.h on hppa-hpux. Update comment. * gthr-posix95.h (__gthread_active_init): Delete. (__gthread_active_p): Do activity check here. Don't include errno.h on hppa-hpux. Update comment. * config.gcc (hppa[12]*-*-hpux11*): Define extra_parts. * config/pa/pa64-hpux.h (LIB_SPEC): When -static is specified, only add -lpthread when -mt or -pthread is specified. * config/pa/pa-hpux11.h (LIB_SPEC): likewise. (LINK_GCC_C_SEQUENCE_SPEC): Define. * config/pa/t-pa-hpux11 (LIBGCCSTUB_OBJS): Define. (stublib.c, pthread_default_stacksize_np-stub.o, pthread_mutex_lock-stub.o, pthread_mutex_unlock-stub.o, $(T)libgcc_stub.a): Add methods. * config/pa/t-pa64 (LIBGCCSTUB_OBJS): Add pthread stubs. (stublib.c, pthread_default_stacksize_np-stub.o, pthread_mutex_lock-stub.o, pthread_mutex_unlock-stub.o): Add methods. * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, pthread_mutex_unlock): New stubs. Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/config.gcc branches/gcc-4_5-branch/gcc/config/pa/pa-hpux11.h branches/gcc-4_5-branch/gcc/config/pa/pa64-hpux.h branches/gcc-4_5-branch/gcc/config/pa/stublib.c branches/gcc-4_5-branch/gcc/config/pa/t-pa-hpux11 branches/gcc-4_5-branch/gcc/config/pa/t-pa64 branches/gcc-4_5-branch/gcc/gthr-posix.h branches/gcc-4_5-branch/gcc/gthr-posix95.h