diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-07-14 22:41:43 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-07-14 22:41:43 +0000 |
commit | 3ba82d605ce2a86abb9b2dd0ca3b4b660117417d (patch) | |
tree | 255b82cf13b2db9f241b86c199799552ea061f57 /libstdc++-v3/config | |
parent | a77c6e01766312bf00f7c4949cdeaaf5532301ce (diff) | |
download | gcc-3ba82d605ce2a86abb9b2dd0ca3b4b660117417d.tar.gz |
2006-07-14 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): New.
* configure.ac: Use it.
* configure: Regenerated.
* config.h.in: Regenerated.
* configure.host: Simplify.
* include/bits/atomicity.h: Adjust macros.
* config/cpu/generic/atomicity.h: Move...
* config/cpu/generic/atomicity_mutex: New.
* config/cpu/generic/atomicity_mutex/atomicity.h: ...here.
* config/cpu/generic/atomic_builtins: Rename...
* config/cpu/generic/atomicity_builtins: ...to this.
* config/cpu/generic/atomicity_builtins/atomicity.h: Moved.
* config/cpu/mips/atomicity.h: Comment MIPS II requirement.
* scripts/testsuite_flags.in: Make --cxxflags reflect CXXFLAGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115456 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r-- | libstdc++-v3/config/cpu/generic/atomicity_builtins/atomicity.h (renamed from libstdc++-v3/config/cpu/generic/atomic_builtins/atomicity.h) | 5 | ||||
-rw-r--r-- | libstdc++-v3/config/cpu/generic/atomicity_mutex/atomicity.h (renamed from libstdc++-v3/config/cpu/generic/atomicity.h) | 0 | ||||
-rw-r--r-- | libstdc++-v3/config/cpu/mips/atomicity.h | 4 |
3 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/config/cpu/generic/atomic_builtins/atomicity.h b/libstdc++-v3/config/cpu/generic/atomicity_builtins/atomicity.h index c6cf812c8f8..82429be2593 100644 --- a/libstdc++-v3/config/cpu/generic/atomic_builtins/atomicity.h +++ b/libstdc++-v3/config/cpu/generic/atomicity_builtins/atomicity.h @@ -28,10 +28,13 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. -#include <bits/atomicity.h> +#include <bits/c++config.h> +#include <bits/atomic_word.h> _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) + // XXX GLIBCXX_ABI Deprecated + // Should be inlined, and not exported. _Atomic_word __attribute__ ((__unused__)) __exchange_and_add(volatile _Atomic_word* __mem, int __val) diff --git a/libstdc++-v3/config/cpu/generic/atomicity.h b/libstdc++-v3/config/cpu/generic/atomicity_mutex/atomicity.h index 5ecb465e862..5ecb465e862 100644 --- a/libstdc++-v3/config/cpu/generic/atomicity.h +++ b/libstdc++-v3/config/cpu/generic/atomicity_mutex/atomicity.h diff --git a/libstdc++-v3/config/cpu/mips/atomicity.h b/libstdc++-v3/config/cpu/mips/atomicity.h index aae70dfccf3..33582a3d34c 100644 --- a/libstdc++-v3/config/cpu/mips/atomicity.h +++ b/libstdc++-v3/config/cpu/mips/atomicity.h @@ -1,6 +1,7 @@ // Low-level functions for atomic operations: MIPS version -*- C++ -*- -// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -31,6 +32,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) + // NB: MIPS II or above required. _Atomic_word __attribute__ ((__unused__)) __exchange_and_add(volatile _Atomic_word* __mem, int __val) |