From 6f9b26b05c24e9222399ef241afe58abf7106555 Mon Sep 17 00:00:00 2001 From: "Loren J. Rittle" Date: Tue, 15 May 2001 16:29:06 +0000 Subject: [PATCH] * gthr-posix.h: Make additional pthread-* functions weak. From-SVN: r42107 --- gcc/ChangeLog | 4 ++++ gcc/gthr-posix.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a1a72ac1cd8..87b5c629a6f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-05-15 Loren J. Rittle + + * gthr-posix.h: Make additional pthread-* functions weak. + Tue May 15 13:51:32 CEST 2001 Jan Hubicka * recog.c (apply_change_group): Avoid unneeded validating. diff --git a/gcc/gthr-posix.h b/gcc/gthr-posix.h index 7b92316055a..1e70f723704 100644 --- a/gcc/gthr-posix.h +++ b/gcc/gthr-posix.h @@ -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; -- 2.30.2