Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2016 03:17:00 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r301849 - head/sys/mips/mips
Message-ID:  <201606130317.u5D3H0Kw091894@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Jun 13 03:17:00 2016
New Revision: 301849
URL: https://svnweb.freebsd.org/changeset/base/301849

Log:
  [mips] set hardfloat for fpu instruction generation for gcc/binutils 5.x
  
  This allows -HEAD to be compiled again using the gcc-5 mips port compiler.
  
  Reviewed by:	imp
  Approved by:	re@

Modified:
  head/sys/mips/mips/swtch.S

Modified: head/sys/mips/mips/swtch.S
==============================================================================
--- head/sys/mips/mips/swtch.S	Mon Jun 13 03:03:08 2016	(r301848)
+++ head/sys/mips/mips/swtch.S	Mon Jun 13 03:17:00 2016	(r301849)
@@ -400,6 +400,7 @@ END(cpu_switch)
  *
  *----------------------------------------------------------------------------
  */
+.set hardfloat
 LEAF(MipsSwitchFPState)
 	mfc0	t1, MIPS_COP_0_STATUS	# Save old SR
 	li	t0, MIPS_SR_COP_1_BIT	# enable the coprocessor



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606130317.u5D3H0Kw091894>