From ff4ef6bf5eddb8e96e785bf2c1fd3b12237b90aa Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Mon, 13 Jun 2016 03:17:00 +0000 Subject: [PATCH] [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@ --- sys/mips/mips/swtch.S | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/mips/mips/swtch.S b/sys/mips/mips/swtch.S index 056d1f033eb..2a0db8b31e4 100644 --- a/sys/mips/mips/swtch.S +++ b/sys/mips/mips/swtch.S @@ -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