aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2015-08-24 19:09:56 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2015-08-24 19:09:56 +0000
commit3166be0fb42f6d600da7dd67bb1b2c6ce5bda529 (patch)
treedb1e8100f84ce868b1f2c45655cc13a163715e3d /sys
parente6f4757735e4094ad273996cef58a1763a9ea9b6 (diff)
downloadsrc-3166be0fb42f6d600da7dd67bb1b2c6ce5bda529.tar.gz
src-3166be0fb42f6d600da7dd67bb1b2c6ce5bda529.zip
Enable hardfloat for assembly generation.
gcc versions later than 4.2 started erroring out on seeing hardware floating point references when soft-float was enabled. Reviewed by: imp
Notes
Notes: svn path=/head/; revision=287116
Diffstat (limited to 'sys')
-rw-r--r--sys/mips/mips/fp.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/mips/mips/fp.S b/sys/mips/mips/fp.S
index 78556fe3580e..e20aba63ecea 100644
--- a/sys/mips/mips/fp.S
+++ b/sys/mips/mips/fp.S
@@ -76,6 +76,8 @@
#define COND_LESS 0x4
#define COND_SIGNAL 0x8
+.set hardfloat
+
/*----------------------------------------------------------------------------
*
* MipsEmulateFP --