This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: weakref GCC attribute and .weakref assembly directive


>        * 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.

Uncovered glitches that break bootstrap on Solaris 2.5.1 and 2.6.  I've 
installed the following patch after bootstrapping/regtesting on 
sparc-sun-solaris2.6 and sparc-sun-solaris2.5.1.


2005-11-13  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* gthr-posix95.h: Remove declaration of pthread_mutexattr_settype
	and duplicate declaration of pthread_self.


-- 
Eric Botcazou
Index: gthr-posix95.h
===================================================================
--- gthr-posix95.h	(revision 106820)
+++ gthr-posix95.h	(working copy)
@@ -80,7 +80,6 @@
 __gthrw(pthread_mutex_trylock);
 __gthrw(pthread_mutex_unlock);
 __gthrw(pthread_mutexattr_init);
-__gthrw(pthread_mutexattr_settype);
 __gthrw(pthread_mutexattr_destroy);
 
 __gthrw(pthread_mutex_init);
@@ -94,7 +93,6 @@
 __gthrw(pthread_cond_wait);
 __gthrw(pthread_exit);
 __gthrw(pthread_mutex_destroy);
-__gthrw(pthread_self);
 #ifdef _POSIX_PRIORITY_SCHEDULING
 #ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
 __gthrw(sched_get_priority_max);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]