gcc/libstdc++-v3/config/cpu
Jakub Jelinek 0f3e711eef configure.ac (--enable-linux-futex): Add new configure option.
libstdc++-v3/
	* configure.ac (--enable-linux-futex): Add new configure option.
	(HAVE_LINUX_FUTEX): New AC_DEFINE.
	* Makefile.in: Rebuilt.
	* aclocal.m4: Rebuilt.
	* configure: Rebuilt.
	* config.h.in: Rebuilt.
	* config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
	_GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
	* config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
	_GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
	* libsupc++/guard.cc: Include climits and syscall.h.
	(_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
	are supported.
	(_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
	(__guard_test_bit): New static inline.
	(__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
	atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
config/
	* futex.m4: New file.
libgomp/
	* configure.ac: Move futex checking into ../config/futex.m4.
	* configure: Rebuilt.
	* aclocal.m4: Rebuilt.
	* Makefile.in: Rebuilt.

	* configure.tgt: Rename have_tls to gcc_cv_have_tls to match
	2007-10-15 ../config/tls.m4 change.

From-SVN: r131399
2008-01-08 17:14:49 +01: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 configure.ac (--enable-linux-futex): Add new configure option. 2008-01-08 17:14:49 +01: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
mips atomicity.h: Move to... 2006-09-14 09:48:15 +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