Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/conf GC workaround for GCC 4.8 fixed in GCC 5+
details: https://anonhg.NetBSD.org/src/rev/9990bc9f6e05
branches: trunk
changeset: 351689:9990bc9f6e05
user: maya <maya%NetBSD.org@localhost>
date: Wed Feb 22 13:17:29 2017 +0000
description:
GC workaround for GCC 4.8 fixed in GCC 5+
diffstat:
sys/arch/mips/conf/Makefile.mips | 18 +-----------------
1 files changed, 1 insertions(+), 17 deletions(-)
diffs (32 lines):
diff -r c8f16da66f46 -r 9990bc9f6e05 sys/arch/mips/conf/Makefile.mips
--- a/sys/arch/mips/conf/Makefile.mips Wed Feb 22 13:14:45 2017 +0000
+++ b/sys/arch/mips/conf/Makefile.mips Wed Feb 22 13:17:29 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.mips,v 1.65 2016/03/29 18:40:32 macallan Exp $
+# $NetBSD: Makefile.mips,v 1.66 2017/02/22 13:17:29 maya Exp $
# Makefile for NetBSD
#
@@ -47,22 +47,6 @@
DEFGP?= -G 0
GP?= ${DEFGP}
-.if ${ACTIVE_CC} == "gcc" && ${HAVE_GCC} == "48"
-# XXX
-# gcc does not pass floating point options to the assembler
-# by default, because it is afraid that the stricter tests
-# will break userland code. The new binutils is pickier about
-# this. Gcc 5.x fixes the issue so for now, set explicitly
-# the assembler soft-float flags when we build the kernel.
-# see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64569
-
-CFLAGS+= -Wa,-msoft-float
-COPTS.mips_fpu.c+= -Wa,-mhard-float
-.else
-COPTS.mips_fpu.c+= -mhard-float -Wa,-mhard-float
-AFLAGS.fp.S+= -Wa,-mhard-float
-.endif
-
CFLAGS+= ${GP} -mno-abicalls -msoft-float -ffixed-24
.if defined(LP64) && ${LP64} == "yes"
.if ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el"
Home |
Main Index |
Thread Index |
Old Index