diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-23 06:58:00 +0000 |
---|---|---|
committer | Sebastian Huber <sh@gcc.gnu.org> | 2016-09-23 06:58:00 +0000 |
commit | 320c7be3ff77ef695230a0f5bc816cbd53bb4f54 (patch) | |
tree | ae778f7dbfc0250868fdd5d946e22bf5d9006a85 /libstdc++-v3/config | |
parent | e9f1eeed6b7a47692e263a43731c6abde700c5d3 (diff) | |
download | gcc-320c7be3ff77ef695230a0f5bc816cbd53bb4f54.zip gcc-320c7be3ff77ef695230a0f5bc816cbd53bb4f54.tar.gz gcc-320c7be3ff77ef695230a0f5bc816cbd53bb4f54.tar.bz2 |
[RTEMS] Always use atomic builtins for libstdc++
libstdc++-v3/
* config/cpu/m68k/atomicity.h: Adjust comment.
* acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Honor
explicit atomicity_dir setup via configure.host.
* configure.host (rtems-*): Set atomicity_dir.
* configure: Regenerate.
From-SVN: r240387
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r-- | libstdc++-v3/config/cpu/m68k/atomicity.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/config/cpu/m68k/atomicity.h b/libstdc++-v3/config/cpu/m68k/atomicity.h index f421330..a9ddc6b 100644 --- a/libstdc++-v3/config/cpu/m68k/atomicity.h +++ b/libstdc++-v3/config/cpu/m68k/atomicity.h @@ -48,6 +48,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION } #elif defined(__rtems__) + // This code is only provided for reference. RTEMS uses now the atomic + // builtins and libatomic. See configure.host. + // // TAS/JBNE is unsafe on systems with strict priority-based scheduling. // Disable interrupts, which we can do only from supervisor mode. _Atomic_word |