Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/libstdc++-v3 the heuristic for the cp...
details: https://anonhg.NetBSD.org/src/rev/8c1001224d72
branches: trunk
changeset: 347439:8c1001224d72
user: christos <christos%NetBSD.org@localhost>
date: Fri Aug 26 17:28:32 2016 +0000
description:
the heuristic for the cpu dependent file atomicity.h is unusable for little
endian sh. For big-endian it happens to work because host_cpu!=sh. Elide it
diffstat:
external/gpl3/gcc/dist/libstdc++-v3/configure.host | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r 71c661f4d54d -r 8c1001224d72 external/gpl3/gcc/dist/libstdc++-v3/configure.host
--- a/external/gpl3/gcc/dist/libstdc++-v3/configure.host Fri Aug 26 16:57:50 2016 +0000
+++ b/external/gpl3/gcc/dist/libstdc++-v3/configure.host Fri Aug 26 17:28:32 2016 +0000
@@ -182,8 +182,11 @@
# This can be over-ridden in GLIBCXX_ENABLE_ATOMIC_BUILTINS.
# THIS TABLE IS SORTED. KEEP IT THAT WAY.
if test -f ${glibcxx_srcdir}/config/${cpu_include_dir}/atomicity.h ; then
+# The sh atomicity.h is unusable
+if test ${cpu_include_dir} != "cpu/sh"; then
atomicity_dir=$cpu_include_dir
fi
+fi
if test -f ${glibcxx_srcdir}/config/${cpu_include_dir}/cxxabi_tweaks.h ; then
Home |
Main Index |
Thread Index |
Old Index