OSDN Git Service

fpu: rename softfloat-specialize.h -> .inc.c
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 8 Aug 2019 16:18:21 +0000 (17:18 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 19 Aug 2019 11:07:13 +0000 (12:07 +0100)
This is not a normal header and should only be included in the main
softfloat.c file to bring in the various target specific
specialisations. Indeed as it contains non-inlined C functions it is
not even a legal header. Rename it to match our included C convention.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
fpu/softfloat-specialize.inc.c [moved from fpu/softfloat-specialize.h with 100% similarity]
fpu/softfloat.c

index 7ef0638..0638c9f 100644 (file)
@@ -634,7 +634,7 @@ static inline float64 float64_pack_raw(FloatParts p)
 | are propagated from function inputs to output.  These details are target-
 | specific.
 *----------------------------------------------------------------------------*/
-#include "softfloat-specialize.h"
+#include "softfloat-specialize.inc.c"
 
 /* Canonicalize EXP and FRAC, setting CLS.  */
 static FloatParts sf_canonicalize(FloatParts part, const FloatFmt *parm,