re PR boehm-gc/34544 (pthread_default_stacksize_np failed.)
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Sun, 22 Aug 2010 16:23:38 +0000 (16:23 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 22 Aug 2010 16:23:38 +0000 (16:23 +0000)
commit8c157f90f945fbaa356d381f19a43dd712168673
treec172392bd61f9817efc08bc65e8eeb051391b0ec
parent11aa2577399fcd9ed88834ceab7359c3872f7bb7
re PR boehm-gc/34544 (pthread_default_stacksize_np failed.)

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.

From-SVN: r163461
gcc/ChangeLog
gcc/config.gcc
gcc/config/pa/pa-hpux11.h
gcc/config/pa/pa64-hpux.h
gcc/config/pa/stublib.c
gcc/config/pa/t-pa-hpux11
gcc/config/pa/t-pa64
gcc/gthr-posix.h
gcc/gthr-posix95.h