Module Name:    src
Committed By:   christos
Date:           Wed Oct  5 19:24:44 UTC 2016

Modified Files:
        src/external/gpl3/gcc/dist/libgcc: config.host

Log Message:
The NetBSD libc provides the softfloat support which is duplicated in libgcc
and we prefer ours.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/dist/libgcc/config.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/libgcc/config.host
diff -u src/external/gpl3/gcc/dist/libgcc/config.host:1.13 src/external/gpl3/gcc/dist/libgcc/config.host:1.14
--- src/external/gpl3/gcc/dist/libgcc/config.host:1.13	Thu Jun 30 05:06:35 2016
+++ src/external/gpl3/gcc/dist/libgcc/config.host	Wed Oct  5 15:24:44 2016
@@ -853,6 +853,17 @@ microblaze*-*-rtems*)
 	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"

Reply via email to