summaryrefslogtreecommitdiff
path: root/libstdc++-v3/config
diff options
context:
space:
mode:
authorsh <sh@138bc75d-0d04-0410-961f-82ee72b054a4>2016-09-23 06:58:00 +0000
committersh <sh@138bc75d-0d04-0410-961f-82ee72b054a4>2016-09-23 06:58:00 +0000
commit9578c8c3fb63953c4d6552dda4561792406a50e7 (patch)
treeae778f7dbfc0250868fdd5d946e22bf5d9006a85 /libstdc++-v3/config
parent55409ac59199967be5a8d34ac1dfa0f76d278bac (diff)
downloadgcc-9578c8c3fb63953c4d6552dda4561792406a50e7.tar.gz
[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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240387 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r--libstdc++-v3/config/cpu/m68k/atomicity.h3
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 f4213302424..a9ddc6ba3bf 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