* Xtensa: set fpu type dependending on the controller

git-svn-id: trunk@44495 -
This commit is contained in:
florian 2020-04-01 20:08:23 +00:00
parent c2cf21d176
commit ba9e930556

View File

@ -4238,8 +4238,7 @@ begin
((target_info.system in [system_arm_wince,system_arm_gba,
system_m68k_amiga,system_m68k_atari,
system_arm_nds,system_arm_embedded,
system_riscv32_embedded,system_riscv64_embedded,system_xtensa_embedded,
system_xtensa_freertos])
system_riscv32_embedded,system_riscv64_embedded,system_xtensa_embedded])
{$ifdef arm}
or (target_info.abi=abi_eabi)
{$endif arm}
@ -4274,6 +4273,11 @@ begin
end;
{$endif i386}
{$ifdef xtensa}
if not(option.FPUSetExplicitly) then
init_settings.fputype:=embedded_controllers[init_settings.controllertype].fputype;
{$endif xtensa}
{$ifdef arm}
case target_info.system of
system_arm_darwin: