mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 09:53:09 +02:00
* pass float abi always to the arm assembler
git-svn-id: trunk@39996 -
(cherry picked from commit 2cbb9895be
)
This commit is contained in:
parent
31af8ea1a0
commit
7c7f2cfdea
@ -131,7 +131,11 @@ unit agarmgas;
|
|||||||
|
|
||||||
if target_info.abi = abi_eabihf then
|
if target_info.abi = abi_eabihf then
|
||||||
{ options based on what gcc uses on debian armhf }
|
{ options based on what gcc uses on debian armhf }
|
||||||
result:='-mfloat-abi=hard -meabi=5 '+result;
|
result:='-mfloat-abi=hard -meabi=5 '+result
|
||||||
|
else if (target_info.abi = abi_eabi) and not(current_settings.fputype = fpu_soft) then
|
||||||
|
result:='-mfloat-abi=softfp -meabi=5 '+result
|
||||||
|
else if (target_info.abi = abi_eabi) and (current_settings.fputype = fpu_soft) then
|
||||||
|
result:='-mfloat-abi=soft -meabi=5 '+result;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TArmGNUAssembler.WriteExtraHeader;
|
procedure TArmGNUAssembler.WriteExtraHeader;
|
||||||
|
Loading…
Reference in New Issue
Block a user