gcc/libgomp
Rainer Orth 16c9d3b171 re PR target/18788 ("-pthreads" option with "-shared" does not cause libpthread.so to be linked in.)
libjava:
	* configure.ac (*-*-solaris2.8): Use alternate thread library.
	Add libthread.
	(*-*-solaris2.9): Use libthread.
	* configure: Regenerate.

	libgomp:
	* configure.tgt (*-*-solaris2.[56]*): Removed.

	gcc:
	* configure.ac: Don't disable TLS on Solaris 8/9 by default
	Set tga_func for Solaris 2/x86 resp. SPARC.
	Remove duplicate parts of sparc*-sun-solaris2.* TLS check.
	(LIB_THREAD_LDFLAGS_SPEC): Define.
	(LIB_TLS_SPEC): Define.
	Check for required Sun ld version.
	* configure: Regenerate.
	* config.in: Regenerate.
	* config/sol2.h (LIB_SPEC): Use LIB_THREAD_LDFLAGS_SPEC with
	-pthread, -threads, LIB_TLS_SPEC with -pthread.
	* doc/install.texi (Specific, *-*-solaris2*): Document use of
	alternate thread libraries on Solaris 8.
	Document TLS patch requirements.
	* doc/sourcebuild.texi (Add Options): Sort alphabetically.
	Document tls.

	PR target/18788
	* config/sol2.h (LIB_SPEC): Link with thread libraries even with
	-shared.

	gcc/testsuite:
	* lib/target-supports.exp (add_options_for_tls): New proc.
	* g++.dg/tls/static-1.C: Use dg-add-options tls.
	* g++.dg/tls/static-1a.cc: Likewise.
	* gcc.dg/tls/emutls-1.c: Likewise.
	* gcc.dg/tls/opt-11.c: Likewise.
	* gcc.dg/tls/opt-12.c: Likewise.
	* gcc.dg/tls/pr24428-2.c: Likewise.
	* gcc.dg/tls/pr24428.c: Likewise.
	* obj-c++.dg/tls/static-1.mm: Likewise.
	* obj-c++.dg/torture/tls/thr-init-1.mm: Likewise.
	* obj-c++.dg/torture/tls/thr-init-2.mm: Likewise.
	* obj-c++.dg/torture/tls/thr-init-3.mm: Likewise.
	* objc.dg/torture/tls/thr-init-2.m: Likewise.
	* objc.dg/torture/tls/thr-init-3.m: Likewise.
	* objc.dg/torture/tls/thr-init.m: Likewise.
	* gcc.dg/lto/20090210_0.c: Add -pthread for *-*-solaris2.[89].

From-SVN: r162478
2010-07-23 17:58:57 +00:00
..
config re PR libgomp/43706 (scheduling two threads on one core leads to starvation) 2010-04-20 17:37:51 +02:00
testsuite no-dist in non-imported automake dirs. 2010-05-04 18:58:11 +00:00
acinclude.m4 acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Handle sun style. 2010-07-05 17:19:33 +00:00
aclocal.m4 Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
alloc.c
barrier.c
ChangeLog re PR target/18788 ("-pthreads" option with "-shared" does not cause libpthread.so to be linked in.) 2010-07-23 17:58:57 +00:00
ChangeLog.graphite Add forgotten ChangeLog entries. 2010-03-08 17:49:42 +00:00
config.h.in acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Handle sun style. 2010-07-05 17:19:33 +00:00
configure acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Handle sun style. 2010-07-05 17:19:33 +00:00
configure.ac no-dist in non-imported automake dirs. 2010-05-04 18:58:11 +00:00
configure.tgt re PR target/18788 ("-pthreads" option with "-shared" does not cause libpthread.so to be linked in.) 2010-07-23 17:58:57 +00:00
critical.c
env.c re PR libgomp/42942 (OpenMP omp_set_max_active_levels(0) isn't resetting value) 2010-03-22 16:16:52 +01:00
error.c
fortran.c
iter_ull.c
iter.c
libgomp_f.h.in
libgomp_g.h
libgomp.h acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Handle sun style. 2010-07-05 17:19:33 +00:00
libgomp.map acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Handle sun style. 2010-07-05 17:19:33 +00:00
libgomp.spec.in
libgomp.texi fdl.texi: Move to GFDL version 1.3. 2010-06-09 23:46:33 +00:00
loop_ull.c
loop.c
Makefile.am acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Handle sun style. 2010-07-05 17:19:33 +00:00
Makefile.in acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Handle sun style. 2010-07-05 17:19:33 +00:00
omp_lib.f90.in
omp_lib.h.in re PR fortran/41102 (Ease error checking of included files located in the SYSTEM_INCLUDE_DIR/ending in .h) 2009-08-19 08:38:29 +02:00
omp.h.in
ordered.c
parallel.c
sections.c re PR libgomp/43569 (libgomp: Conditional jump or move depends on uninitialised value) 2010-04-20 17:36:45 +02:00
single.c
task.c
team.c
work.c