> CVSROOT: /cvs > Module name: src > Changes by: v...@cvs.openbsd.org 2019/01/14 08:02:57 > > Modified files: > sys/arch/mips64/mips64: fp_emulate.c lcore_float.S > > Log message: > Wrap floating point instructions with .set hardfloat to make clang's > integrated assembler accept them in the kernel. > > Move fsr access code into dedicated inline functions to improve > readability.
This causes the following warnings when building with gcc+as: {standard input}: Assembler messages: {standard input}:5298: Warning: Tried to set unrecognized symbol: hardfloat {standard input}:5402: Warning: Tried to set unrecognized symbol: hardfloat when building fp_emulate.c, and /usr/src/sys/arch/mips64/mips64/lcore_float.S: Assembler messages: /usr/src/sys/arch/mips64/mips64/lcore_float.S:42: Warning: Tried to set unrecognized symbol: hardfloat when building lcore_float.o.