Wed Oct 5 19:24:44 2016 UTC ()
The NetBSD libc provides the softfloat support which is duplicated in libgcc
and we prefer ours.


(christos)
diff -r1.13 -r1.14 src/external/gpl3/gcc/dist/libgcc/config.host

cvs diff -r1.13 -r1.14 src/external/gpl3/gcc/dist/libgcc/config.host (expand / switch to context diff)
--- src/external/gpl3/gcc/dist/libgcc/config.host 2016/06/30 09:06:35 1.13
+++ src/external/gpl3/gcc/dist/libgcc/config.host 2016/10/05 19:24:44 1.14
@@ -853,6 +853,17 @@
 	extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o"
 	;;
 mips*-*-netbsd*)			# NetBSD/mips, either endian.
+	if test "${libgcc_cv_mips_hard_float}" = no; then
+	  # Eat soft float stuff added above since the netbsd libc provides it.
+	  xtmake_file=
+	  for t in ${tmake_file}; do
+	    case $t in
+	    *softfp*) ;;
+	    *)	xtmake_file="${xtmake_file} $t";;
+	    esac
+	  done
+	  tmake_file="${xtmake_file}"
+	fi
 	;;
 mips*-*-linux*)				# Linux MIPS, either endian.
 	extra_parts="$extra_parts crtfastmath.o"