diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-01-08 17:14:49 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-01-08 17:14:49 +0100 |
commit | 0f3e711eef24f6b00e7dc462288c064d68a9ec43 (patch) | |
tree | 8424b6e62d8e9172cc8b7a69773bcbcc62b63024 /libstdc++-v3/ChangeLog | |
parent | c90eee444ccd2d39ac22b55e0b6516d842590bfb (diff) | |
download | gcc-0f3e711eef24f6b00e7dc462288c064d68a9ec43.tar.gz |
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
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r-- | libstdc++-v3/ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e99e0500360..a5b54c46608 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,23 @@ +2008-01-08 Jakub Jelinek <jakub@redhat.com> + + * 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. + 2008-01-07 Paolo Carlini <pcarlini@suse.de> PR libstdc++/34680 |