gcc/libstdc++-v3/config/cpu
Benjamin Kosnik 9982752346 re PR libstdc++/36801 (config/cpu/generic/atomicity_mutex/atomicity.h incorrectly relies on global constructor ordering)
2009-01-07  Benjamin Kosnik  <bkoz@redhat.com>
	    Jonathan Larmour  <jifl@eCosCentric.com>

	PR libstdc++/36801
	* config/cpu/generic/atomicity_mutex/atomicity.h (get_atomic_mutex):
	New.
	(__gnu_cxx::__exchange_and_add): Use it.
	* src/atomic.cc (get_atomic_mutex): New.
	* src/debug.cc (get_safe_base_mutex): New.
	* src/locale.cc (get_locale_cache_mutex): New.
	* src/mt_allocator.cc (get_freelist): New.
	(get_freelist_mutex): New.
	* src/pool_allocator.cc (get_palloc_mutex): New.
	* include/std/mutex (__once_functor_lock): To
	(__get_once_functor_lock): ...this.
	* src/mutex.cc (__once_mutex): Don't export, use
	(get_once_mutex): ...this.
	* config/abi/pre/gnu.ver: Adjust exports.

From-SVN: r143182
2009-01-08 03:14:24 +00:00
..
alpha configure.host: If the CPU provides atomic builtins select generic/atomic_builtins/atomicity.h. 2006-05-27 12:05:58 +00:00
arm configure.ac (--enable-linux-futex): Add new configure option. 2008-01-08 17:14:49 +01:00
cris configure.host (try_cpu settings): Set try_cpu=cris for crisv32. 2007-12-15 21:33:45 +00:00
generic re PR libstdc++/36801 (config/cpu/generic/atomicity_mutex/atomicity.h incorrectly relies on global constructor ordering) 2009-01-08 03:14:24 +00:00
hppa atomicity.h (__exchange_and_add): Don't use ordered store. 2007-01-13 15:06:32 +00:00
i386 atomicity.h: Move to... 2006-09-14 09:48:15 +00:00
i486 atomicity.h: Move to... 2006-09-14 09:48:15 +00:00
ia64 re PR libstdc++/30586 (Namespace pollution in c++ headers) 2007-01-26 18:00:42 +00:00
m68k atomicity.h: Use __mcfisaa__... 2007-06-17 13:09:58 +00:00
powerpc localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
sh c++config: Consistent macro guards for config includes. 2007-02-02 14:49:52 +00:00
sparc atomicity.h: Move to... 2006-09-14 09:48:15 +00:00