Module Name:    src
Committed By:   maya
Date:           Wed Feb 22 13:17:29 UTC 2017

Modified Files:
        src/sys/arch/mips/conf: Makefile.mips

Log Message:
GC workaround for GCC 4.8 fixed in GCC 5+


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/mips/conf/Makefile.mips

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

Modified files:

Index: src/sys/arch/mips/conf/Makefile.mips
diff -u src/sys/arch/mips/conf/Makefile.mips:1.65 src/sys/arch/mips/conf/Makefile.mips:1.66
--- src/sys/arch/mips/conf/Makefile.mips:1.65	Tue Mar 29 18:40:32 2016
+++ src/sys/arch/mips/conf/Makefile.mips	Wed Feb 22 13:17:29 2017
@@ -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 @@ CPPFLAGS+=	-D${MACHINE}
 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"

Reply via email to