From: Loren J. Rittle Date: Tue, 15 May 2001 16:29:06 +0000 (+0000) Subject: * gthr-posix.h: Make additional pthread-* functions weak. X-Git-Tag: prereleases/libstdc++-3.0.95~4462 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6f9b26b05c24e9222399ef241afe58abf7106555;p=thirdparty%2Fgcc.git * gthr-posix.h: Make additional pthread-* functions weak. From-SVN: r42107 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a1a72ac1cd83..87b5c629a6ff 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 7b92316055af..1e70f7237048 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;