summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-15 16:29:06 +0000
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-15 16:29:06 +0000
commit92f25da5de28998a9b80b819c2d082a51f9db5ca (patch)
treea167ce5d9d58bf05215120ae25d48cc28da7fc20 /gcc
parent3ea97a322ccdeefeb4e011cae3417fb2745e47a1 (diff)
downloadgcc-92f25da5de28998a9b80b819c2d082a51f9db5ca.tar.gz
* gthr-posix.h: Make additional pthread-* functions weak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42107 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/gthr-posix.h5
2 files changed, 9 insertions, 0 deletions
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 <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 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;