* 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:
florian 2012-10-17 19:58:11 +00:00
parent 06bd08697e
commit a95641e43c

View File

@ -109,7 +109,8 @@ unit agarmgas;
if current_settings.cputype=cpu_armv7m then
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;
if target_info.abi = abi_eabihf then