C-SKY: Add missing builtin defines for soft float abi.
The builtin defines for soft float abi are: '__csky_soft_float_abi__' and '__CSKY_SOFT_FLOAT_ABI__'. gcc/ * config/csky/csky.cc (csky_cpu_cpp_builtins): Add builtin defines for soft float abi.
This commit is contained in:
parent
8f3b032e57
commit
641af925eb
1 changed files with 5 additions and 0 deletions
|
@ -396,6 +396,11 @@ csky_cpu_cpp_builtins (cpp_reader *pfile)
|
||||||
builtin_define ("__csky_hard_float_abi__");
|
builtin_define ("__csky_hard_float_abi__");
|
||||||
builtin_define ("__CSKY_HARD_FLOAT_ABI__");
|
builtin_define ("__CSKY_HARD_FLOAT_ABI__");
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
builtin_define ("__csky_soft_float_abi__");
|
||||||
|
builtin_define ("__CSKY_SOFT_FLOAT_ABI__");
|
||||||
|
}
|
||||||
if (TARGET_SINGLE_FPU)
|
if (TARGET_SINGLE_FPU)
|
||||||
{
|
{
|
||||||
builtin_define ("__csky_hard_float_fpu_sf__");
|
builtin_define ("__csky_hard_float_fpu_sf__");
|
||||||
|
|
Loading…
Add table
Reference in a new issue