aboutsummaryrefslogtreecommitdiff
path: root/gcc/gthr-tpf.h
AgeCommit message (Collapse)AuthorFilesLines
2006-11-29gthr-tpf.h (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION, [...]): Define.Jim Tison1-0/+26
2006-11-29 Jim Tison <jtison@us.ibm.com> * gthr-tpf.h (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION, __gthread_recursive_mutex_init): Define. From-SVN: r119311
2006-01-26re PR other/24829 (libobjc testsuite failures)Alexandre Oliva1-23/+21
PR other/24829 PR target/24831 * gthr-dce.h: Do not gthrw-ify pthread_once_init, pthread_key_delete. From John David Anglin. gthrw-ify pthread_getunique_np only if it it's not a macro. Delete UNUSED macro. (__gthread_objc_condition_allocate, __gthread_objc_condition_deallocate, __gthread_objc_condition_wait, __gthread_objc_condition_broadcast, __gthread_objc_condition_signal, __gthread_key_delete): Add "__attribute__ ((__unused__))" to unused arguments. (__gthread_recursive_mutex_init_function): Add missing return. * gthr-dce.h, gthr-tpf.h, gthr-solaris.h, gthr-posix.h, gthr-posix95.h: Use macro-based approach for name redirection on targets missing weakref. From-SVN: r110278
2005-12-05Index: gcc/ChangeLogGeoffrey Keating1-1/+1
2005-12-05 Geoffrey Keating <geoffk@apple.com> * varasm.c (default_binds_local_p_1): Weakrefs don't bind locally. A hidden weak object does bind locally. Strong linkonce data counts like any other strong symbol for binding. (weak_finish_1): Don't specially handle weakrefs, they no longer arrive here. (assemble_alias): Weakrefs can't be TREE_PUBLIC yet. * c-common.c (handle_alias_attribute): Allow static aliases of variables. (handle_weakref_attribute): Don't call declare_weak on weakrefs. * gthr-dce.h: Make weakrefs static. * gthr-tpf.h: Likewise. * gthr-solaris.h: Likewise. * gthr-posix.h: Likewise. * gthr-posix95.h: Likewise. * config/darwin.c (darwin_encode_section_info): static weakref variables are not necessarily defined in this translation unit. * doc/extend.texi (Function Attributes): Mention that an alias attribute creates a definition for the thing it's attached to. Change the documentation for weakref to say that the thing it's attached to must be static. Index: gcc/testsuite/ChangeLog 2005-12-05 Geoffrey Keating <geoffk@apple.com> * g++.old-deja/g++.abi/vtable2.C: Make weakrefs static. * gcc.dg/attr-weakref-1.c: Modify to not try to test public weakrefs, and to work on Darwin. * gcc.dg/attr-weakref-1b.c: New file. * gcc.dg/attr-weakref-2.c: New test. * gcc.dg/darwin-weakref-1.c: New test. From-SVN: r108074
2005-11-09re PR other/4372 (#pragma weak pthread* inclusion causes applications to ↵Alexandre Oliva1-20/+27
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
2005-06-30gthr-tpf.h (CE2THRCPTR): Change field offset to 16.J. D. Johnston1-1/+1
2005-06-30 J. D. Johnston <jjohnst@us.ibm.com> * gthr-tpf.h (CE2THRCPTR): Change field offset to 16. From-SVN: r101470
2005-06-25Update FSF address.Kelley Cook1-2/+2
From-SVN: r101317
2004-10-02gthr-tpf.h (__gthread_recursive_mutex_t): New type.P.J. Darcy1-0/+34
2004-10-02 P.J. Darcy <darcypj@us.ibm.com> * gthr-tpf.h (__gthread_recursive_mutex_t): New type. (__GTHREAD_RECURSIVE_MUTEX_INIT): Define. (__gthread_recursive_mutex_lock, __gthread_recursive_mutex_trylock, __gthread_recursive_mutex_unlock): New functions. From-SVN: r88418
2004-09-23gthr-tpf.h: New file.P.J. Darcy1-0/+157
2004-09-23 P.J. Darcy <darcypj@us.ibm.com> gcc/ChangeLog: * gthr-tpf.h: New file. * config.gcc (s390x-ibm-tpf*): Add thread_file='tpf'. * gthr.h: Use gthr-tpf.h on TPF OS. libstdc++-v3/ChangeLog: * include/Makefile.am (thread_host_headers): Add gthr-tpf.h. Add rule to build ${host_builddir}/gthr-tpf.h. * include/Makefile.in: Regenerate. From-SVN: r87982