sched_get_priority_max, sched_get_priority_min.
testsuite:
* lib/objc.exp (objc_target_compile): Don't need -lposix4 on any
Solaris 2.[678] system.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43640
138bc75d-0d04-0410-961f-
82ee72b054a4
+2001-06-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * gthr-posix.h [LIBOBJC]: Add weak definitions of
+ sched_get_priority_max, sched_get_priority_min.
+
2001-06-28 Gabriel Dos Reis <gdr@codesourcery.com>
* diagnostic.c (default_print_error_function): Tweak.
#pragma weak pthread_mutex_init
#pragma weak pthread_mutex_destroy
#pragma weak pthread_self
+#pragma weak sched_get_priority_max
+#pragma weak sched_get_priority_min
#pragma weak sched_yield
#pragma weak pthread_attr_destroy
#pragma weak pthread_attr_init
+2001-06-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * lib/objc.exp (objc_target_compile): Don't need -lposix4 on any
+ Solaris 2.[678] system.
+
2001-06-22 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/20010622-1.c: New test.
set ld_library_path ".:${rootme}"
lappend options "libs=-lobjc"
- # On Solaris 2.8, we need to include libposix4 in order to get
- # sched_get_priority_max and such.
- if [istarget {sparc-sun-solaris2.[678]} ] {
- lappend options "libs=-lposix4"
- }
-
if { [target_info needs_status_wrapper]!="" && [info exists gluefile] } {
lappend options "libs=${gluefile}"
lappend options "ldflags=$wrap_flags"