diff options
author | Loren J. Rittle <ljrittle@acm.org> | 2001-05-15 16:29:06 +0000 |
---|---|---|
committer | Loren J. Rittle <ljrittle@gcc.gnu.org> | 2001-05-15 16:29:06 +0000 |
commit | 6f9b26b05c24e9222399ef241afe58abf7106555 (patch) | |
tree | a167ce5d9d58bf05215120ae25d48cc28da7fc20 /gcc | |
parent | 66aa2d308b06ea39d5686f26cc109b86cc249a65 (diff) | |
download | gcc-6f9b26b05c24e9222399ef241afe58abf7106555.zip gcc-6f9b26b05c24e9222399ef241afe58abf7106555.tar.gz gcc-6f9b26b05c24e9222399ef241afe58abf7106555.tar.bz2 |
* gthr-posix.h: Make additional pthread-* functions weak.
From-SVN: r42107
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/gthr-posix.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a1a72ac..87b5c62 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/gthr-posix.h b/gcc/gthr-posix.h index 7b92316..1e70f72 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; |