Module Name:    src
Committed By:   christos
Date:           Fri Aug 26 17:28:32 UTC 2016

Modified Files:
        src/external/gpl3/gcc/dist/libstdc++-v3: configure.host

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 \
    src/external/gpl3/gcc/dist/libstdc++-v3/configure.host

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/libstdc++-v3/configure.host
diff -u src/external/gpl3/gcc/dist/libstdc++-v3/configure.host:1.1.1.4 src/external/gpl3/gcc/dist/libstdc++-v3/configure.host:1.2
--- src/external/gpl3/gcc/dist/libstdc++-v3/configure.host:1.1.1.4	Sun Jan 24 01:05:42 2016
+++ src/external/gpl3/gcc/dist/libstdc++-v3/configure.host	Fri Aug 26 13:28:32 2016
@@ -182,8 +182,11 @@ esac
 # 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

Reply via email to