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/62d654e6ab15
branches:  trunk
changeset: 817581:62d654e6ab15
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 cc9d021ce406 -r 62d654e6ab15 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