diff options
author | adrian <adrian@FreeBSD.org> | 2016-06-13 03:17:00 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2016-06-13 03:17:00 +0000 |
commit | b1cc7f99f953a302eb717869e77ac409cb7f6a79 (patch) | |
tree | 8d7972c00b31ec2fcb86bcd1586506a68be4808b | |
parent | 92b2a48e222e331a7680b1fa0689c8ba78ac47fd (diff) | |
download | FreeBSD-src-b1cc7f99f953a302eb717869e77ac409cb7f6a79.zip FreeBSD-src-b1cc7f99f953a302eb717869e77ac409cb7f6a79.tar.gz |
[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@
-rw-r--r-- | sys/mips/mips/swtch.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/mips/mips/swtch.S b/sys/mips/mips/swtch.S index 056d1f0..2a0db8b 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 |