@@ -235,7 +235,7 @@
AC_DEFINE(GC_AIX_THREADS,1)
AC_DEFINE(_REENTRANT,1)
;;
- decosf1 | irix | mach | os2 | solaris | dce | vxworks)
+ decosf1 | irix | mach | os2 | dce | vxworks)
AC_MSG_ERROR(thread package $THREADS not yet supported)
;;
*)
@@ -1433,9 +1433,6 @@
"":yes:* | yes:yes:* )
thread_file=posix
;;
- "":*:yes | yes:*:yes )
- thread_file=solaris
- ;;
esac
;;
i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
@@ -2610,9 +2607,6 @@
"":yes:* | yes:yes:* )
thread_file=posix
;;
- "":*:yes | yes:*:yes )
- thread_file=solaris
- ;;
esac
;;
sparc-wrs-vxworks)
@@ -83,7 +83,6 @@
#undef CPP_SUBTARGET_SPEC
#define CPP_SUBTARGET_SPEC "\
%{pthreads|pthread:-D_REENTRANT -D_PTHREADS} \
-%{!pthreads:%{!pthread:%{threads:-D_REENTRANT -D_SOLARIS_THREADS}}} \
%{compat-bsd:-iwithprefixbefore ucbinclude -I/usr/ucbinclude} \
"
@@ -137,8 +136,6 @@
%{!symbolic:\
%{pthreads|pthread:" \
LIB_THREAD_LDFLAGS_SPEC " -lpthread " LIB_TLS_SPEC "} \
- %{!pthreads:%{!pthread:%{threads:" \
- LIB_THREAD_LDFLAGS_SPEC " -lthread}}} \
%{p|pg:-ldl} -lc}"
#undef ENDFILE_SPEC
@@ -42,6 +42,3 @@
rdynamic
Driver
-
-threads
-Driver
@@ -1332,7 +1332,7 @@
target_thread_file='single'
;;
aix | dce | gnat | irix | posix | posix95 | rtems | \
- single | solaris | vxworks | win32 | mipssde)
+ single | vxworks | win32 | mipssde)
target_thread_file=${enable_threads}
;;
*)
@@ -1129,9 +1129,6 @@
RTEMS thread support.
@item single
Disable thread support, should work for all platforms.
-@item solaris
-Sun Solaris 2/Unix International thread support. Only use this if you
-really need to use this legacy API instead of the default, @samp{posix}.
@item vxworks
VxWorks thread support.
@item win32
@@ -854,7 +854,7 @@
@emph{Solaris 2 Options}
@gccoptlist{-mimpure-text -mno-impure-text @gol
--threads -pthreads -pthread}
+-pthreads -pthread}
@emph{SPARC Options}
@gccoptlist{-mcpu=@var{cpu-type} @gol
@@ -16931,13 +16931,6 @@
These switches are supported in addition to the above on Solaris 2:
@table @gcctabopt
-@item -threads
-@opindex threads
-Add support for multithreading using the Solaris threads library. This
-option sets flags for both the preprocessor and linker. This option does
-not affect the thread safety of object code produced by the compiler or
-that of libraries supplied with it.
-
@item -pthreads
@opindex pthreads
Add support for multithreading using the POSIX threads library. This
@@ -1,6 +1,7 @@
/* Threads compatibility routines for libgcc2. */
/* Compile this one with gcc. */
-/* Copyright (C) 1997, 1998, 2004, 2008, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2004, 2008, 2009, 2011
+ Free Software Foundation, Inc.
This file is part of GCC.
@@ -136,7 +137,6 @@
POSIX/Unix98 threads with -D_PTHREADS
POSIX/Unix95 threads with -D_PTHREADS95
DCE threads with -D_DCE_THREADS
- Solaris/UI threads with -D_SOLARIS_THREADS
*/
@@ -149,8 +149,6 @@
#include "gthr-posix95.h"
#elif _DCE_THREADS
#include "gthr-dce.h"
-#elif _SOLARIS_THREADS
-#include "gthr-solaris.h"
/* Include GTHREAD_FILE if one is defined. */
#elif defined(HAVE_GTHR_DEFAULT)
@@ -1033,7 +1033,7 @@
;;
win32)
;;
- decosf1 | irix | mach | os2 | solaris | dce | vxworks)
+ decosf1 | irix | mach | os2 | dce | vxworks)
AC_MSG_ERROR(thread package $THREADS not yet supported)
;;
*)