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/libgcc The NetBSD libc provides the s...



details:   https://anonhg.NetBSD.org/src/rev/c8009f83a834
branches:  trunk
changeset: 348150:c8009f83a834
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Oct 05 19:24:44 2016 +0000

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

diffstat:

 external/gpl3/gcc/dist/libgcc/config.host |  11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diffs (21 lines):

diff -r 9339f39a92ee -r c8009f83a834 external/gpl3/gcc/dist/libgcc/config.host
--- a/external/gpl3/gcc/dist/libgcc/config.host Wed Oct 05 16:27:15 2016 +0000
+++ b/external/gpl3/gcc/dist/libgcc/config.host Wed Oct 05 19:24:44 2016 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index