mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
[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@
This commit is contained in:
parent
f357b4f65d
commit
ff4ef6bf5e
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue