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/1309d53c0ca2
branches:  trunk
changeset: 821940:1309d53c0ca2
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 e1fa36576b9f -r 1309d53c0ca2 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