mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-27 07:52:59 +01:00
* don't pass march always to gas because the rtl uses always pld to be able
to chose the right code path at runtime git-svn-id: trunk@22709 -
This commit is contained in:
parent
06bd08697e
commit
a95641e43c
@ -109,7 +109,8 @@ unit agarmgas;
|
|||||||
|
|
||||||
if current_settings.cputype=cpu_armv7m then
|
if current_settings.cputype=cpu_armv7m then
|
||||||
result:='-march=armv7m -mthumb -mthumb-interwork '+result
|
result:='-march=armv7m -mthumb -mthumb-interwork '+result
|
||||||
else
|
{ pass only cpu types >= armv6 because the rtl uses runtime selected code with armv5te statements }
|
||||||
|
else if current_settings.cputype>=cpu_armv6 then
|
||||||
result:='-march='+cputype_to_gas_march[current_settings.cputype]+' '+result;
|
result:='-march='+cputype_to_gas_march[current_settings.cputype]+' '+result;
|
||||||
|
|
||||||
if target_info.abi = abi_eabihf then
|
if target_info.abi = abi_eabihf then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user