1. 01 Jan, 2017 1 commit
  2. 04 Jan, 2016 1 commit
  3. 05 Jan, 2015 1 commit
  4. 02 Jan, 2014 1 commit
  5. 04 Feb, 2013 1 commit
  6. 20 Dec, 2012 1 commit
  7. 02 Oct, 2012 1 commit
    • re PR other/53889 (Gthreads doesn't support destroying recursive mutexes) · 1504e3e1
      libgcc:
      
      	PR other/53889
      	* gthr.h (__gthread_recursive_mutex_destroy): Document new required
      	function.
      	* gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
      	* gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
      	* config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
      	* config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
      	* config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
      	Likewise.
      	* config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
      	Likewise.
      	* config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
      	* config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
      
      libstdc++-v3:
      
      	PR other/53889
      	* include/std/mutex (__recursive_mutex_base::~__recursive_mutex_base):
      	Use __gthread_recursive_mutex_destroy.
      	(__recursive_mutex_base::_S_destroy): Remove.
      	(__recursive_mutex_base::_S_destroy_win32): Likewise.
      	* include/ext/concurrence.h (__recursive_mutex::~__recursive_mutex):
      	Use __gthread_recursive_mutex_destroy.
      	(__recursive_mutex::_S_destroy): Remove.
      	(__recursive_mutex::_S_destroy_win32): Likewise.
      
      From-SVN: r192002
      Jonathan Wakely committed
  8. 12 Mar, 2012 1 commit
    • re PR gcov-profile/49484 (gcov crash if two(or more) forks happen at the same time) · 33e3e24d
      2012-03-12  Richard Guenther  <rguenther@suse.de>
      
      	* gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
      	* gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
      	(__gthread_mutex_init_function): New function.
      	* gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
      
      	PR gcov/49484
      	* libgcov.c: Include gthr.h.
      	(__gcov_flush_mx): New global variable.
      	(init_mx, init_mx_once): New functions.
      	(__gcov_flush): Protect self with a mutex.
      	(__gcov_fork): Re-initialize mutex after forking.
      	* unwind-dw2-fde.c: Change condition under which to use
      	__GTHREAD_MUTEX_INIT_FUNCTION.
      
      From-SVN: r185231
      Richard Guenther committed
  9. 20 Feb, 2012 1 commit
  10. 02 Nov, 2011 1 commit
    • Move gthr to toplevel libgcc · 5d1c8e77
      	gcc:
      	* gthr-single.h, gthr.h: Move to ../libgcc.
      	* gthr-aix.h: Move to ../libgcc/config/rs6000.
      	* gthr-dce.h: Move to ../libgcc/config/pa.
      	* gthr-lynx.h: Move to ../libgcc/config.
      	* gthr-mipssde.h: Move to ../libgcc/config/mips.
      	* gthr-posix.h: Move to ../libgcc/config.
      	* gthr-rtems.h: Likewise.
      	* gthr-tpf.h: Move to ../libgcc/config/s390.
      	* gthr-vxworks.h: Move to ../libgcc/config.
      	* gthr-win32.h: Move to ../libgcc/config/i386.
      	* configure.ac (gthread_flags): Remove
      	(gthr-default.h): Don't create.
      	(thread_file): Don't substitute.
      	* configure: Regenerate.
      	* Makefile.in (GCC_THREAD_FILE): Remove.
      	(GTHREAD_FLAGS): Remove.
      	(libgcc.mvars): Remove GTHREAD_FLAGS.
      	* config/t-vxworks (EXTRA_HEADERS): Remove.
      
      	gcc/po:
      	* EXCLUDES (gthr-aix.h, gthr-dce.h, gthr-posix.c, gthr-posix.h)
      	(gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h)
      	(gthr-win32.h, gthr.h): Remove.
      
      	libgcc:
      	* gthr-single.h, gthr.h: New files.
      	* config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
      	config/gthr-vxworks.h, config/i386/gthr-win32.h,
      	config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
      	config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
      	* config/i386/gthr-win32.c: Include "gthr-win32.h".
      	* configure.ac (thread_header): New variable.
      	Set it depending on target_thread_file.
      	(gthr-default.h): Link from $thread_header.
      	* configure: Regenerate.
      	* Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
      
      	libgfortran:
      	* Makefile.am (AM_CPPFLAGS): Add
      	-I$(srcdir)/$(MULTISRCTOP)../libgcc, -I$(MULTIBUILDTOP)../libgcc.
      	* Makefile.in: Regenerate.
      	* acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Remove.
      	* configure.ac (LIBGFOR_CHECK_GTHR_DEFAULT): Likewise.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      	libobjc:
      	* Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
      	* configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      	libstdc++-v3:
      	* acinclude.m4 (GLIBCXX_CONFIGURE): Determine and substitute
      	toplevel_builddir.
      	(GLIBCXX_ENABLE_THREADS): Remove glibcxx_thread_h,
      	HAVE_GTHR_DEFAULT, enable_thread.
      	(GLIBCXX_CHECK_GTHREADS): Reflect gthr move to libgcc.
      	* include/Makefile.am (thread_host_headers): Remove
      	${host_builddir}/gthr-tpf.h.
      	(${host_builddir}/gthr.h): Reflect gthr move to libgcc.
      	Use $<.
      	(${host_builddir}/gthr-single.h): Likewise.
      	(${host_builddir}/gthr-posix.h): Likewise.
      	(${host_builddir}/gthr-tpf.h): Remove.
      	(${host_builddir}/gthr-default.h): Likewise.
      	* configure, config.h.in: Regenerate.
      	* Makefile.in, doc/Makefile.in, include/Makefile.in,
      	libsupc++/Makefile.in, po/Makefile.in, python/Makefile.in,
      	src/Makefile.intestsuite/Makefile.in: Regenerate.
      
      From-SVN: r180776
      Rainer Orth committed
  11. 08 Aug, 2011 1 commit
    • configure.ac (THREADS): Remove posix95. · ddaad3c8
      	boehm-gc:
      	* configure.ac (THREADS): Remove posix95.
      	* configure: Regenerate.
      
      	gcc:
      	* gthr-posix95.h: Remove.
      	* gthr.h [_PTHREADS95]: Remove.
      	* configure.ac (enable_threads): Remove posix95.
      	* configure: Regenerate.
      	* doc/install.texi (Configuration, --enable-threads): Remove
      	posix95.
      
      	libgomp:
      	* config/posix95/lock.c, posix95/omp-lock.h: Remove.
      
      	libjava:
      	* configure.ac (THREADS): Remove posix95.
      	* configure: Regenerate.
      
      From-SVN: r177568
      Rainer Orth committed
  12. 21 Mar, 2011 1 commit
    • gthr-solaris.h: Remove. · a2268084
      	gcc:
      	* gthr-solaris.h: Remove.
      	* gthr.h (_SOLARIS_THREADS): Don't include gthr-solaris.h, remove.
      	* config/sol2.h (CPP_SUBTARGET_SPEC): Remove -threads support.
      	(LIB_SPEC): Likewise.
      	* config/sol2.opt (threads): Remove.
      	* config.gcc (i[34567]86-*-solaris2*): Remove solaris threads
      	support.
      	(sparc*-*-solaris2*): Likewise.
      	* configure.ac (enable_threads): Enable solaris support.
      	* configure: Regenerate.
      	* doc/invoke.texi (Option Summary, Solaris 2 Options): Remove
      	-threads.
      	* doc/install.texi (Configuration, --enable-threads=lib): Remove
      	solaris.
      
      	boehm-gc:
      	* configure.ac (THREADS): Remove solaris.
      	* configure: Regenerate.
      
      	libjava:
      	* configure.ac (THREADS): Remove solaris.
      	* configure: Regenerate.
      
      From-SVN: r171229
      Rainer Orth committed
  13. 25 Nov, 2009 1 commit
    • Remove trailing white spaces. · b8698a0f
      2009-11-25  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* alias.c: Remove trailing white spaces.
      	* alloc-pool.c: Likewise.
      	* alloc-pool.h: Likewise.
      	* attribs.c: Likewise.
      	* auto-inc-dec.c: Likewise.
      	* basic-block.h: Likewise.
      	* bb-reorder.c: Likewise.
      	* bt-load.c: Likewise.
      	* builtins.c: Likewise.
      	* builtins.def: Likewise.
      	* c-common.c: Likewise.
      	* c-common.h: Likewise.
      	* c-cppbuiltin.c: Likewise.
      	* c-decl.c: Likewise.
      	* c-format.c: Likewise.
      	* c-lex.c: Likewise.
      	* c-omp.c: Likewise.
      	* c-opts.c: Likewise.
      	* c-parser.c: Likewise.
      	* c-pretty-print.c: Likewise.
      	* c-tree.h: Likewise.
      	* c-typeck.c: Likewise.
      	* caller-save.c: Likewise.
      	* calls.c: Likewise.
      	* cfg.c: Likewise.
      	* cfganal.c: Likewise.
      	* cfgexpand.c: Likewise.
      	* cfghooks.c: Likewise.
      	* cfghooks.h: Likewise.
      	* cfglayout.c: Likewise.
      	* cfgloop.c: Likewise.
      	* cfgloop.h: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* cfgrtl.c: Likewise.
      	* cgraph.c: Likewise.
      	* cgraph.h: Likewise.
      	* cgraphbuild.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* cif-code.def: Likewise.
      	* collect2.c: Likewise.
      	* combine.c: Likewise.
      	* convert.c: Likewise.
      	* coverage.c: Likewise.
      	* crtstuff.c: Likewise.
      	* cse.c: Likewise.
      	* cselib.c: Likewise.
      	* dbgcnt.c: Likewise.
      	* dbgcnt.def: Likewise.
      	* dbgcnt.h: Likewise.
      	* dbxout.c: Likewise.
      	* dce.c: Likewise.
      	* ddg.c: Likewise.
      	* ddg.h: Likewise.
      	* defaults.h: Likewise.
      	* df-byte-scan.c: Likewise.
      	* df-core.c: Likewise.
      	* df-problems.c: Likewise.
      	* df-scan.c: Likewise.
      	* df.h: Likewise.
      	* dfp.c: Likewise.
      	* diagnostic.c: Likewise.
      	* diagnostic.h: Likewise.
      	* dominance.c: Likewise.
      	* domwalk.c: Likewise.
      	* double-int.c: Likewise.
      	* double-int.h: Likewise.
      	* dse.c: Likewise.
      	* dwarf2asm.c: Likewise.
      	* dwarf2asm.h: Likewise.
      	* dwarf2out.c: Likewise.
      	* ebitmap.c: Likewise.
      	* ebitmap.h: Likewise.
      	* emit-rtl.c: Likewise.
      	* et-forest.c: Likewise.
      	* except.c: Likewise.
      	* except.h: Likewise.
      	* expmed.c: Likewise.
      	* expr.c: Likewise.
      	* expr.h: Likewise.
      	* final.c: Likewise.
      	* flags.h: Likewise.
      	* fold-const.c: Likewise.
      	* function.c: Likewise.
      	* function.h: Likewise.
      	* fwprop.c: Likewise.
      	* gcc.c: Likewise.
      	* gcov-dump.c: Likewise.
      	* gcov-io.c: Likewise.
      	* gcov-io.h: Likewise.
      	* gcov.c: Likewise.
      	* gcse.c: Likewise.
      	* genattr.c: Likewise.
      	* genattrtab.c: Likewise.
      	* genautomata.c: Likewise.
      	* genchecksum.c: Likewise.
      	* genconfig.c: Likewise.
      	* genflags.c: Likewise.
      	* gengtype-parse.c: Likewise.
      	* gengtype.c: Likewise.
      	* gengtype.h: Likewise.
      	* genmddeps.c: Likewise.
      	* genmodes.c: Likewise.
      	* genopinit.c: Likewise.
      	* genpreds.c: Likewise.
      	* gensupport.c: Likewise.
      	* ggc-common.c: Likewise.
      	* ggc-page.c: Likewise.
      	* ggc-zone.c: Likewise.
      	* ggc.h: Likewise.
      	* gimple-iterator.c: Likewise.
      	* gimple-low.c: Likewise.
      	* gimple-pretty-print.c: Likewise.
      	* gimple.c: Likewise.
      	* gimple.def: Likewise.
      	* gimple.h: Likewise.
      	* gimplify.c: Likewise.
      	* graphds.c: Likewise.
      	* graphite-clast-to-gimple.c: Likewise.
      	* gthr-nks.h: Likewise.
      	* gthr-posix.c: Likewise.
      	* gthr-posix.h: Likewise.
      	* gthr-posix95.h: Likewise.
      	* gthr-single.h: Likewise.
      	* gthr-tpf.h: Likewise.
      	* gthr-vxworks.h: Likewise.
      	* gthr.h: Likewise.
      	* haifa-sched.c: Likewise.
      	* hard-reg-set.h: Likewise.
      	* hooks.c: Likewise.
      	* hooks.h: Likewise.
      	* hosthooks.h: Likewise.
      	* hwint.h: Likewise.
      	* ifcvt.c: Likewise.
      	* incpath.c: Likewise.
      	* init-regs.c: Likewise.
      	* integrate.c: Likewise.
      	* ipa-cp.c: Likewise.
      	* ipa-inline.c: Likewise.
      	* ipa-prop.c: Likewise.
      	* ipa-pure-const.c: Likewise.
      	* ipa-reference.c: Likewise.
      	* ipa-struct-reorg.c: Likewise.
      	* ipa-struct-reorg.h: Likewise.
      	* ipa-type-escape.c: Likewise.
      	* ipa-type-escape.h: Likewise.
      	* ipa-utils.c: Likewise.
      	* ipa-utils.h: Likewise.
      	* ipa.c: Likewise.
      	* ira-build.c: Likewise.
      	* ira-color.c: Likewise.
      	* ira-conflicts.c: Likewise.
      	* ira-costs.c: Likewise.
      	* ira-emit.c: Likewise.
      	* ira-int.h: Likewise.
      	* ira-lives.c: Likewise.
      	* ira.c: Likewise.
      	* jump.c: Likewise.
      	* lambda-code.c: Likewise.
      	* lambda-mat.c: Likewise.
      	* lambda-trans.c: Likewise.
      	* lambda.h: Likewise.
      	* langhooks.c: Likewise.
      	* lcm.c: Likewise.
      	* libgcov.c: Likewise.
      	* lists.c: Likewise.
      	* loop-doloop.c: Likewise.
      	* loop-init.c: Likewise.
      	* loop-invariant.c: Likewise.
      	* loop-iv.c: Likewise.
      	* loop-unroll.c: Likewise.
      	* lower-subreg.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* lto-compress.c: Likewise.
      	* lto-opts.c: Likewise.
      	* lto-section-in.c: Likewise.
      	* lto-section-out.c: Likewise.
      	* lto-streamer-in.c: Likewise.
      	* lto-streamer-out.c: Likewise.
      	* lto-streamer.c: Likewise.
      	* lto-streamer.h: Likewise.
      	* lto-symtab.c: Likewise.
      	* lto-wpa-fixup.c: Likewise.
      	* matrix-reorg.c: Likewise.
      	* mcf.c: Likewise.
      	* mode-switching.c: Likewise.
      	* modulo-sched.c: Likewise.
      	* omega.c: Likewise.
      	* omega.h: Likewise.
      	* omp-low.c: Likewise.
      	* optabs.c: Likewise.
      	* optabs.h: Likewise.
      	* opts-common.c: Likewise.
      	* opts.c: Likewise.
      	* params.def: Likewise.
      	* params.h: Likewise.
      	* passes.c: Likewise.
      	* plugin.c: Likewise.
      	* postreload-gcse.c: Likewise.
      	* postreload.c: Likewise.
      	* predict.c: Likewise.
      	* predict.def: Likewise.
      	* pretty-print.c: Likewise.
      	* pretty-print.h: Likewise.
      	* print-rtl.c: Likewise.
      	* print-tree.c: Likewise.
      	* profile.c: Likewise.
      	* read-rtl.c: Likewise.
      	* real.c: Likewise.
      	* recog.c: Likewise.
      	* reg-stack.c: Likewise.
      	* regcprop.c: Likewise.
      	* reginfo.c: Likewise.
      	* regmove.c: Likewise.
      	* regrename.c: Likewise.
      	* regs.h: Likewise.
      	* regstat.c: Likewise.
      	* reload.c: Likewise.
      	* reload1.c: Likewise.
      	* resource.c: Likewise.
      	* rtl.c: Likewise.
      	* rtl.def: Likewise.
      	* rtl.h: Likewise.
      	* rtlanal.c: Likewise.
      	* sbitmap.c: Likewise.
      	* sched-deps.c: Likewise.
      	* sched-ebb.c: Likewise.
      	* sched-int.h: Likewise.
      	* sched-rgn.c: Likewise.
      	* sched-vis.c: Likewise.
      	* sdbout.c: Likewise.
      	* sel-sched-dump.c: Likewise.
      	* sel-sched-dump.h: Likewise.
      	* sel-sched-ir.c: Likewise.
      	* sel-sched-ir.h: Likewise.
      	* sel-sched.c: Likewise.
      	* sel-sched.h: Likewise.
      	* sese.c: Likewise.
      	* sese.h: Likewise.
      	* simplify-rtx.c: Likewise.
      	* stack-ptr-mod.c: Likewise.
      	* stmt.c: Likewise.
      	* stor-layout.c: Likewise.
      	* store-motion.c: Likewise.
      	* stringpool.c: Likewise.
      	* stub-objc.c: Likewise.
      	* sync-builtins.def: Likewise.
      	* target-def.h: Likewise.
      	* target.h: Likewise.
      	* targhooks.c: Likewise.
      	* targhooks.h: Likewise.
      	* timevar.c: Likewise.
      	* tlink.c: Likewise.
      	* toplev.c: Likewise.
      	* toplev.h: Likewise.
      	* tracer.c: Likewise.
      	* tree-affine.c: Likewise.
      	* tree-affine.h: Likewise.
      	* tree-browser.def: Likewise.
      	* tree-call-cdce.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-cfgcleanup.c: Likewise.
      	* tree-chrec.c: Likewise.
      	* tree-chrec.h: Likewise.
      	* tree-complex.c: Likewise.
      	* tree-data-ref.c: Likewise.
      	* tree-data-ref.h: Likewise.
      	* tree-dfa.c: Likewise.
      	* tree-dump.c: Likewise.
      	* tree-dump.h: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-flow-inline.h: Likewise.
      	* tree-flow.h: Likewise.
      	* tree-if-conv.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-into-ssa.c: Likewise.
      	* tree-loop-distribution.c: Likewise.
      	* tree-loop-linear.c: Likewise.
      	* tree-mudflap.c: Likewise.
      	* tree-nested.c: Likewise.
      	* tree-nomudflap.c: Likewise.
      	* tree-nrv.c: Likewise.
      	* tree-object-size.c: Likewise.
      	* tree-optimize.c: Likewise.
      	* tree-outof-ssa.c: Likewise.
      	* tree-parloops.c: Likewise.
      	* tree-pass.h: Likewise.
      	* tree-phinodes.c: Likewise.
      	* tree-predcom.c: Likewise.
      	* tree-pretty-print.c: Likewise.
      	* tree-profile.c: Likewise.
      	* tree-scalar-evolution.c: Likewise.
      	* tree-ssa-address.c: Likewise.
      	* tree-ssa-alias.c: Likewise.
      	* tree-ssa-ccp.c: Likewise.
      	* tree-ssa-coalesce.c: Likewise.
      	* tree-ssa-copy.c: Likewise.
      	* tree-ssa-copyrename.c: Likewise.
      	* tree-ssa-dce.c: Likewise.
      	* tree-ssa-dom.c: Likewise.
      	* tree-ssa-dse.c: Likewise.
      	* tree-ssa-forwprop.c: Likewise.
      	* tree-ssa-ifcombine.c: Likewise.
      	* tree-ssa-live.c: Likewise.
      	* tree-ssa-live.h: Likewise.
      	* tree-ssa-loop-ch.c: Likewise.
      	* tree-ssa-loop-im.c: Likewise.
      	* tree-ssa-loop-ivcanon.c: Likewise.
      	* tree-ssa-loop-ivopts.c: Likewise.
      	* tree-ssa-loop-manip.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-loop-prefetch.c: Likewise.
      	* tree-ssa-loop-unswitch.c: Likewise.
      	* tree-ssa-loop.c: Likewise.
      	* tree-ssa-math-opts.c: Likewise.
      	* tree-ssa-operands.c: Likewise.
      	* tree-ssa-operands.h: Likewise.
      	* tree-ssa-phiopt.c: Likewise.
      	* tree-ssa-phiprop.c: Likewise.
      	* tree-ssa-pre.c: Likewise.
      	* tree-ssa-propagate.c: Likewise.
      	* tree-ssa-reassoc.c: Likewise.
      	* tree-ssa-sccvn.c: Likewise.
      	* tree-ssa-sink.c: Likewise.
      	* tree-ssa-structalias.c: Likewise.
      	* tree-ssa-ter.c: Likewise.
      	* tree-ssa-threadedge.c: Likewise.
      	* tree-ssa-threadupdate.c: Likewise.
      	* tree-ssa-uncprop.c: Likewise.
      	* tree-ssa.c: Likewise.
      	* tree-ssanames.c: Likewise.
      	* tree-switch-conversion.c: Likewise.
      	* tree-tailcall.c: Likewise.
      	* tree-vect-data-refs.c: Likewise.
      	* tree-vect-generic.c: Likewise.
      	* tree-vect-loop-manip.c: Likewise.
      	* tree-vect-loop.c: Likewise.
      	* tree-vect-patterns.c: Likewise.
      	* tree-vect-slp.c: Likewise.
      	* tree-vect-stmts.c: Likewise.
      	* tree-vectorizer.c: Likewise.
      	* tree-vectorizer.h: Likewise.
      	* tree-vrp.c: Likewise.
      	* tree.c: Likewise.
      	* tree.def: Likewise.
      	* tree.h: Likewise.
      	* treestruct.def: Likewise.
      	* unwind-compat.c: Likewise.
      	* unwind-dw2-fde-glibc.c: Likewise.
      	* unwind-dw2.c: Likewise.
      	* value-prof.c: Likewise.
      	* value-prof.h: Likewise.
      	* var-tracking.c: Likewise.
      	* varasm.c: Likewise.
      	* varpool.c: Likewise.
      	* vec.c: Likewise.
      	* vec.h: Likewise.
      	* vmsdbgout.c: Likewise.
      	* web.c: Likewise.
      	* xcoffout.c: Likewise.
      
      From-SVN: r154645
      H.J. Lu committed
  14. 09 Apr, 2009 1 commit
  15. 20 Feb, 2009 1 commit
  16. 28 Aug, 2008 1 commit
    • gthr-posix.h (__gthread_create, [...]): New functions. · a75150ae
      2008-08-28  Chris Fairles  <chris.fairles@gmail.com>
      
              * gthr-posix.h (__gthread_create,  __gthread_join, __gthread_detach,
      	__gthread_mutex_timed_lock, __gthread_recursive_mutex_timed_lock,
      	__gthread_cond_signal, __gthread_cond_timedwait,
      	__gthread_cond_timedwait_recursive): New functions.
      	* gthr-posix.c (pthread_mutex_timedlock, pthread_cond_timedwait):
      	Likewise.
      	* gthr.h: Comment on defining __GTHREADS_CXX0X macro in conforming
      	thread interfaces.
      
      From-SVN: r139704
      Chris Fairles committed
  17. 01 Mar, 2008 1 commit
    • re PR libfortran/35063 (Clean up use of destroy_unit_mutex()) · 4dabf736
      gcc:
      
      2008-03-01  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	PR gcc/35063
      	* gthr.h: Add __gthread_mutex_destroy as a function that must be
      	implemented.
      	* gthr-vxworks.h (__gthread_mutex_destroy): Null implementation.
      	* gthr-single.h (__gthread_mutex_destroy): Likewise.
      	* gthr-rtems.h (__gthread_mutex_destroy): Likewise.
      	* gthr-mipssde.h (__gthread_mutex_destroy): Likewise.
      	* gthr-nks.h (__gthread_mutex_destroy): Likewise.
      	* gthr-solaris.h (__gthread_mutex_destroy): Call mutex_destroy.
      	* gthr-win32.h (__GTHREAD_MUTEX_DESTROY_FUNCTION): Remove.
      	(__gthread_mutex_destroy_function): Rename to
      	__gthread_mutex_destroy.
      	* gthr-dce.h (__gthread_mutex_destroy): Call
      	pthread_mutex_destroy.
      	* gthr-tpf.h (__gthread_mutex_destroy): Likewise.
      	* gthr-posix.h (__gthread_mutex_destroy): Likewise.
      	* gthr-posix95.h (__gthread_mutex_destroy): Likewise.
      
      
      libgfortran:
      
      2008-03-01  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	PR libfortran/35063
      	* io/unit.c (destroy_unit_mutex): Call __gthread_mutex_destroy
      	instead of macro kludge.
      
      From-SVN: r132800
      Janne Blomqvist committed
  18. 05 Oct, 2007 1 commit
    • gthr-posix.h (__gthread_cond_broadcast, [...]): Add to extend interface for… · afd82ef5
      gthr-posix.h (__gthread_cond_broadcast, [...]): Add to extend interface for POSIX conditional variables.
      
      2007-09-13  Doug Kwan  <dougkwan@google.com>
      
              * gcc/gthr-posix.h (__gthread_cond_broadcast, __gthread_cond_wait,
              __gthread_cond_wait_recursive): Add to extend interface for POSIX
              conditional variables. (__GTHREAD_HAS_COND): Macro defined to signify
              support of conditional variables.
              * gcc/gthr-posix95.h (__gthread_cond_broadcast, __gthread_cond_wait,
              __gthread_cond_wait_recursive): Add to extend interface for POSIX
              conditional variables. (__GTHREAD_HAS_COND): Macro defined to signify
              support of conditional variables.
              * gcc/gthr-single.h (__gthread_cond_broadcast, __gthread_cond_wait,
              __gthread_cond_wait_recursive): Add to extend interface for POSIX
              conditional variables.
              * gcc/gthr.h: Update comments to document new interface.
              * libstdc++-v3/include/ext/concurrent.h (class __mutex,
              class __recursive_mutex): Add new method gthread_mutex to access
              inner gthread mutex.
              [__GTHREAD_HAS_COND] (class __concurrence_broadcast_error,
              class __concurrence_wait_error, class __cond): Add.
              * guard.cc (recursive_push, recursive_pop): Delete.
              (init_in_progress_flag, set_init_in_progress_flag): Add to
              replace recursive_push and recursive_pop.
              (throw_recursive_init_exception): Add.
              (acquire, __cxa_guard_acquire, __cxa_guard_abort and
              __cxa_guard_release): [__GTHREAD_HAS_COND] Use a conditional
              for synchronization of static variable initialization.
              The global mutex is only held briefly when guards are
              accessed. [!__GTHREAD_HAS_COND] Fall back to the old code,
              which deadlocks.
              * testsuite/thread/guard.cc: Add new test. It deadlocks with the
              old locking code in libstdc++-v3/libsup++/guard.cc.
      
      From-SVN: r129030
      Doug Kwan committed
  19. 25 Jun, 2005 1 commit
  20. 30 Nov, 2004 1 commit
    • * gthr-gnat.c, gthr-gnat.h, gthr.h, libgcc2.h, unwind-dw2-fde.h · 7370bebd
      	* unwind.h: Surround all visibility pragmas with #ifndef HIDE_EXPORTS.
      
      	* mklibgcc.in: Drastic restructure for comprehensibility.
      	Remove the old hidden-directive hack.
      	Eliminate support for .txt files in LIB2ADD etc (never used).
      	Eliminate support for assembly source files in LIB2ADDEH* and
      	LIBUNWIND (also never used).
      	Build up dependency lists for libraries incrementally.
      	If we have SHLIB_LINK, compile each file twice, once for the
      	static and once for the shared library; also probe for
      	-fvisibility=hidden in the generated libgcc.mk.  If found,
      	pass that and -DHIDE_EXPORTS to the compilation of every C
      	source file going into the static library.  If found, generate
      	hidden-directive lists for every assembly source file going
      	into the static library, but incorporate them with -include
      	instead of ld -r.
      	Write comments into generated libgcc.mk to facilitate debugging.
      	* Makefile.in: Pass ASM_HIDDEN_OP to mklibgcc.
      	* config/t-slibgcc-darwin: Define ASM_HIDDEN_OP.
      
      	* config/darwin.h (REAL_LIBGCC_SPEC): Put -lgcc back in
      	-Zdynamiclib case.
      
      From-SVN: r91513
      Zack Weinberg committed
  21. 22 Nov, 2004 1 commit
    • re PR target/18444 (Multithreading broken on Unix95-class platforms) · 18167442
      	PR target/18444
      	* configure.ac (threading): Accept 'posix95'.
      	* configure: Regenerate.
      	* config.gcc (i[34567]86-*-solaris2*): On Solaris up to 2.6,
      	include sol26.h and default to posix95 threads if have_pthread_h.
      	(sparc-*-solaris2*): Likewise.
      	* gthr.h: Include gthr-posix95.h if _PTHREADS95 is defined.
      	* gthr-posix95.h: New file.
      	* config/sol26.h: New file.
      	* doc/install.texi (--enable-threads): Document 'posix95'.
      
      From-SVN: r91041
      Eric Botcazou committed
  22. 22 Oct, 2004 1 commit
  23. 23 Sep, 2004 1 commit
    • gthr-tpf.h: New file. · 512baaea
      2004-09-23  P.J. Darcy  <darcypj@us.ibm.com>
      
      gcc/ChangeLog:
      
      	* gthr-tpf.h: New file.
      	* config.gcc (s390x-ibm-tpf*): Add thread_file='tpf'.
      	* gthr.h: Use gthr-tpf.h on TPF OS.
      
      libstdc++-v3/ChangeLog:
      
      	* include/Makefile.am (thread_host_headers): Add gthr-tpf.h.
      	Add rule to build ${host_builddir}/gthr-tpf.h.
      	* include/Makefile.in: Regenerate.
      
      From-SVN: r87982
      P.J. Darcy committed
  24. 28 Aug, 2004 1 commit
    • re PR c++/13684 (local static object variable constructed once but ctors and… · 40aac948
      re PR c++/13684 (local static object variable constructed once but ctors and dtors called multiple times on same memory when called in multiple threads)
      
              PR c++/13684
              * cp/decl.c (expand_static_init): Use thread-safety API.
              (register_dtor_fn): Return the call, don't expand it.
              * cp/tree.c (add_stmt_to_compound): New fn.
              (stabilize_call): Use it.
              * gimplify.c (gimplify_cleanup_point_expr): Handle CLEANUP_EH_ONLY.
              (gimple_push_cleanup): Add eh_only parm.
              (gimplify_target_expr): Pass it.
              * c.opt (-fno-threadsafe-statics): New option.
              * c-opts.c (c_common_handle_option): Handle it.
              * c-common.h (flag_threadsafe_statics): Declare it.
              * c-common.c (flag_threadsafe_statics): Record it.
              * doc/invoke.texi: Document it.
              * tsystem.h (_GNU_SOURCE): Define.
              * gthr-posix.h (__gthread_recursive_mutex_t): New typedef.
              (__GTHREAD_RECURSIVE_MUTEX_INIT): New macro.
              (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): New macro.
              (__gthread_recursive_mutex_init_function): New fn.
              (__gthread_recursive_mutex_lock): New fn.
              (__gthread_recursive_mutex_trylock): New fn.
              (__gthread_recursive_mutex_unlock): New fn.
              * gthr-solaris.h, gthr-single.h, gthr-dce.h: Likewise.
              * gthr-win32.h, gthr-vxworks.h: Likewise.
              * gthr.h: Document.
      
              * libsupc++/guard.cc (static_mutex): Internal class implementing a
              recursive mutex which controls initialization of local statics.
              (__gnu_cxx::recursive_init): New exception class.
              (__cxa_guard_acquire): Deal with locking and recursion detection.
              (acquire_1, __cxa_guard_abort, __cxa_guard_release): Likewise.
      
      From-SVN: r86687
      Jason Merrill committed
  25. 11 Aug, 2004 1 commit
    • configure.in (arm*-*-eabi*): New target. · b3f8d95d
      	* configure.in (arm*-*-eabi*): New target.
      	* configure: Regenerate.
      
      	* configure.ac (arm*-*-eabi*): New target.
      	(arm*-*-symbianelf*): Likewise.
      	* configure: Regenerated.
      
      	* config.gcc (arm*-*-eabi*): New target.
      	* defaults.h (TARGET_LIBGCC_FUNCS): New macro.
      	(TARGET_LIB_INT_CMP_BIASED): Likewise.
      	* expmed.c (expand_divmod): Try a two-valued divmod function as a
      	last resort.
      	* gthr.h: Remove bogus tokens at end of #pragma.
      	* optabs.c (expand_twoval_binop_libfunc): New function.
      	(prepare_cmp_insn): Handle the !TARGET_LIB_INT_CMP_BIASED case.
      	(prepare_float_lib_cmp): Try reversing the condition.
      	(debug_optab_libfuncs): New function.
      	* optabs.h (expand_twoval_binop_libfunc): Declare.
      	* config/arm/arm.c (arm_init_libfuncs): New function.
      	(arm_compute_initial_eliminatino_offset): Return HOST_WIDE_INT.
      	(TARGET_INIT_LIBFUNCS): Define it.
      	* config/arm/arm.h (TARGET_BPABI): New macro.
      	* config/arm/arm-protos.h
      	(arm_compute_initial_elimination_offset): Return HOST_WIDE_INT.
      	* config/arm/bpabi.S: New file.
      	* config/arm/bpabi.c: Likewise.
      	* config/arm/bpabi.h: Likewise.
      	* config/arm/ieee754-df.S (__aeabi_dneg): New function or alias.
      	(__aeabi_drsub): Likewise.
      	(__aeabi_dsub): Likewise.
      	(__aeabi_dadd): Likewise.
      	(__aeabi_ui2d): Likewise.
      	(__aeabi_i2d): Likewise.
      	(__aeabi_f2d): Likewise.
      	(__aeabi_dmul): Likewise.
      	(__aeabi_ddiv): Likewise.
      	(__aeabi_cdrcmple): Likewise.
      	(__aeabi_cdcmpeq): Likewise.
      	(__aeabi_cdcmple): Likewise.
      	(__aeabi_dcmpeq): Likewise.
      	(__aeabi_dcmplt): Likewise.
      	(__aeabi_dcmple): Likewise.
      	(__aeabi_dcmpge): Likewise.
      	(__aeabi_dcmpgt): Likewise.
      	(__aeabi_dcmpun): Likewise.
      	(__aeabi_d2iz): Likewise.
      	(__aeabi_d2uiz): Likewise.
      	(__aeabi_d2f): Likewise.
      	* config/arm/ieee754-sf.S (__aeabi_fneg): New function or alias.
      	(__aeabi_frsub): Likewise.
      	(__aeabi_fsub): Likewise.
      	(__aeabi_fadd): Likewise.
      	(__aeabi_ui2f): Likewise.
      	(__aeabi_i2f): Likewise.
      	(__aeabi_fmul): Likewise.
      	(__aeabi_fdiv): Likewise.
      	(__aeabi_cfrcmple): Likewise.
      	(__aeabi_cfcmpeq): Likewise.
      	(__aeabi_cfcmple): Likewise.
      	(__aeabi_fcmpeq): Likewise.
      	(__aeabi_fcmplt): Likewise.
      	(__aeabi_fcmple): Likewise.
      	(__aeabi_fcmpge): Likewise.
      	(__aeabi_fcmpgt): Likewise.
      	(__aeabi_fcmpun): Likewise.
      	(__aeabi_f2iz): Likewise.
      	(__aeabi_f2uiz): Likewise.
      	* config/arm/lib1funcs.asm (ARM_CALL): New macro.
      	(__aeabi_uidivmod): New function or alias.
      	(__aeabi_idivmod): Likewise.
      	(__aeabi_idiv0): Likewise.
      	(__aeabi_ldiv0): Likewise.
      	(__aeabi_llsr): Likewise.
      	(__aeabi_lasr): Likewise.
      	(__aeabi_llsl): Likewise.
      	(bpabi.S): Include it.
      	* config/arm/libgcc-bpabi.ver: New file.
      	* config/arm/symbian.h (ARM_DEFAULT_ABI): Remove.
      	(LINK_SPEC): Remove.
      	* config/arm/t-arm-elf (LIB1ASMFUNCS): Add __aeabi_lcmp and
      	__aeabi_ulcmp.
      	* config/arm/t-bpabi: New file.
      	* doc/tm.texi (TARGET_LIBGCC_FUNCS): New entry.
      	(TARGET_LIB_INT_CMP_BIASED): Likewise.
      
      	* gcc.dg/testsuite/gcc.dg/arm-eabi1.c: New test.
      	* gcc.dg/dll-2.c: Fix dg-require syntax.
      	* gcc.misc-tests/arm-isr.c (abort): Declare.
      	(exit): Likewise.
      
      From-SVN: r85788
      Mark Mitchell committed
  26. 03 Aug, 2004 1 commit
    • gthr-gnat.c: Add visibility #pragmas. · 3fc1f660
      	* gthr-gnat.c: Add visibility #pragmas.
      	* gthr-gnat.h : Likewise.
      	* gthr.h: Likewise.
      	* libgcc2.c (__ffsSI2): Move prototype to libgcc2.h.
      	(__ffsDI2): Likewise.
      	(__clzSI2): Likewise.
      	(__ctzSI2): Likewise.
      	(__ctzDI2): Likewise.
      	(__popcountSI2): Likewise.
      	(__popcountDI2): Likewise.
      	(__paritySI2): Likewise.
      	(__parityDI2): Likewise.
      	* libgcc2.h: Add visibility #pragmas.
      	(__clzDI2): Add prototype.
      	(__clzSI2): Likewise.
      	(__ctzSI2): Likewise.
      	(__ffsDI2): Likewise.
      	(__ffsSI2): Likewise.
      	(__ctzDI2): Likewise.
      	(__popcountSI2): Likewise.
      	(__popcountDI2): Likewise.
      	(__paritySI2): Likewise.
      	(__parityDI2): Likewise.
      	* unwind-dw2-fde.h: Add visibility #pragmas.
      	* unwind.h: Likewise.
      
      From-SVN: r85489
      Mark Mitchell committed
  27. 16 Dec, 2002 1 commit
  28. 04 Jun, 2002 1 commit
    • gbl-ctors.h: Fix formatting. · 589005ff
      	* gbl-ctors.h: Fix formatting.
      	* gcc.c: Likewise.
      	* gccspec.c: Likewise.
      	* gcov.c: Likewise.
      	* gcov-io.h: Likewise.
      	* gcse.c: Likewise.
      	* ggc-common.c: Likewise.
      	* ggc.h: Likewise.
      	* ggc-page.c: Likewise.
      	* ggc-simple.c: Likewise.
      	* global.c: Likewise.
      	* graph.h: Likewise.
      	* gthr-dce.h: Likewise.
      	* gthr.h: Likewise.
      	* gthr-posix.h: Likewise.
      	* gthr-rtems.h: Likewise.
      	* gthr-solaris.h: Likewise.
      	* gthr-win32.h: Likewise.
      
      From-SVN: r54240
      Kazu Hirata committed
  29. 28 Oct, 2001 1 commit
    • ChangeLog.0, [...]: Fix spelling errors. · f63d1bf7
      	* ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
      	ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
      	c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
      	collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
      	haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
      	regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
      	system.h, toplev.c: Fix spelling errors.
      
      From-SVN: r46580
      Joseph Myers committed
  30. 09 Oct, 2001 1 commit
    • acconfig.h: Fix comment formatting. · 19eb1ad7
      	* acconfig.h: Fix comment formatting.
      	* c-dump.h: Likewise.
      	* c-tree.h: Likewise.
      	* conditions.h: Likewise.
      	* expr.h: Likewise.
      	* function.h: Likewise.
      	* gthr.h: Likewise.
      	* hwint.h: Likewise.
      	* integrate.h: Likewise.
      	* intl.h: Likewise.
      	* loop.h: Likewise.
      	* optabs.h: Likewise.
      
      From-SVN: r46131
      Kazu Hirata committed
  31. 22 Aug, 2001 1 commit
    • Makefile.in, [...]: replace "GNU CC" with "GCC". · 1322177d
      	* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
      	bitmap.h, builtin-types.def, builtins.c, builtins.def,
      	c-aux-info.c, c-common.c, c-common.def, c-common.h,
      	c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
      	c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
      	c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
      	caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
      	conditions.h, config.gcc, configure.frag, configure.in,
      	conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
      	cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
      	dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
      	doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
      	dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
      	emit-rtl.c, errors.c, errors.h, except.c, except.h,
      	exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
      	fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
      	function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
      	gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
      	gencheck.c, gencodes.c, genconfig.c, genemit.c,
      	genextract.c, genflags.c, gengenrtl.c, genmultilib,
      	genopinit.c, genoutput.c, genpeep.c, genrecog.c,
      	gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
      	ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
      	graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
      	gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
      	gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
      	hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
      	integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
      	libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
      	machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
      	mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
      	mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
      	params.h, predict.c, predict.def, predict.h, prefix.c,
      	prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
      	read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
      	regclass.c, regmove.c, regrename.c, regs.h, reload.c,
      	reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
      	rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
      	sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
      	sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
      	ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
      	stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
      	tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
      	tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
      	unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
      	unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
      	xcoffout.h: replace "GNU CC" with "GCC".
      
      From-SVN: r45105
      Lars Brinkhoff committed
  32. 26 May, 2001 1 commit
  33. 27 Jan, 2000 1 commit
  34. 27 Aug, 1998 1 commit
    • gthr.h: Document __GTHREAD_MUTEX_INIT_FUNCTION. · 3e2a2957
              * gthr.h: Document __GTHREAD_MUTEX_INIT_FUNCTION.
              * frame.c (init_object_mutex): New function.
              (init_object_mutex_once): Likewise.
              (find_fde): Call it.
              (__register_frame_info): Likewise.
              (__register_frame_info_table): Likewise.
              (__deregister_frame_info): Likewise.
      
      From-SVN: r22023
      Tom Tromey committed
  35. 02 Apr, 1998 1 commit
  36. 11 Mar, 1998 1 commit
    • Patch from Teemu Torma to fix Solaris 2.6 EH failures. · 754d1a92
      	* gthr.h: Changed the comment about return values.
      	* gthr-solaris.h (__gthread_once): Do not use errno; return the
      	error number instead of -1.
      	(__gthread_key_create): Any non-zero return value is an error.
      	* libgcc2.c (eh_context_initialize): Check for non-zero return
      	value from __gthread_once.
      	Check that the value of get_eh_context was really changed.
      
      From-SVN: r18480
      Teemu Torma committed
  37. 24 Dec, 1997 1 commit
    • Makefile.in (GTHREAD_FLAGS): New var. · f24af81b
      	* Makefile.in (GTHREAD_FLAGS): New var.
      	(LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
      	(distclean): Remove gthr-default.h.
      	* configure.in: Accept dce as a thread package.
      	Check for thread.h and pthread.h.
      	Link gthr-default.h to appropriate thread file and set
      	gthread_flags.
      	(hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
      	include multilib definitions from pa/t-dce-thr.
      	(sparc-*-solaris2*): Enable threads by default, if thread.h or
      	pthread.h is found, preferring posix threads over solaris ones.
      	* config/pa/t-dce-thr: New file.
      	* config/pa/t-pa: Removed multilibs.
      	* config/sparc/t-sol2: Ditto.
      	* gthr.h: New file.
      	* gthr-single.h: New file.
      	* gthr-posix.h: New file.
      	* gthr-solaris.h: New file.
      	* gthr-dce.h: New file.
      	* libgcc-thr.h: Removed.
      	* objc/thr-dce.c: New file copied from thr-decosf1.c.
      	* frame.c: Include gthr.h instead of libgcc-thr.h.
      	* libgcc2.c: Include gthr.h instead of libgcc-thr.h.
      	(eh_context_initialize): If __gthread_once fails, use static eh
      	context.
      	(eh_context_free): Call __gthread_key_dtor.
      
      From-SVN: r17235
      Teemu Torma committed