* gthr-posix.h: Make additional pthread-* functions weak.
authorLoren J. Rittle <ljrittle@acm.org>
Tue, 15 May 2001 16:29:06 +0000 (16:29 +0000)
committerLoren J. Rittle <ljrittle@gcc.gnu.org>
Tue, 15 May 2001 16:29:06 +0000 (16:29 +0000)
From-SVN: r42107

gcc/ChangeLog
gcc/gthr-posix.h

index a1a72ac1cd832c23eadd20c71887f3799552561c..87b5c629a6ff61afe0066e5be48b69db85e87235 100644 (file)
@@ -1,3 +1,7 @@
+2001-05-15  Loren J. Rittle  <ljrittle@acm.org>
+
+       * gthr-posix.h: Make additional pthread-* functions weak.
+
 Tue May 15 13:51:32 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
        * recog.c (apply_change_group): Avoid unneeded validating.
index 7b92316055afb4c5ef83d2d35b6bbac578aca074..1e70f7237048e6e67885a4e0bc703317bd5c2a33 100644 (file)
@@ -68,6 +68,11 @@ typedef pthread_mutex_t __gthread_mutex_t;
 #pragma weak pthread_mutex_destroy
 #pragma weak pthread_self
 #pragma weak sched_yield
+#pragma weak pthread_attr_destroy
+#pragma weak pthread_attr_init
+#pragma weak pthread_attr_setdetachstate
+#pragma weak pthread_getschedparam
+#pragma weak pthread_setschedparam
 #endif
 
 static void *__gthread_active_ptr = &pthread_create;