+ proper assembler command line parameters for arm thumb

git-svn-id: trunk@23979 -
This commit is contained in:
florian 2013-03-24 20:21:22 +00:00
parent 89b4939cec
commit 07762e5c25

View File

@ -112,6 +112,8 @@ unit agarmgas;
if current_settings.cputype in cpu_thumb2 then
result:='-march='+cputype_to_gas_march[current_settings.cputype]+' -mthumb -mthumb-interwork '+result
else if current_settings.cputype in cpu_thumb then
result:='-march='+cputype_to_gas_march[current_settings.cputype]+' -mthumb -mthumb-interwork '+result
// EDSP instructions in RTL require armv5te at least to not generate error
else if current_settings.cputype >= cpu_armv5te then
result:='-march='+cputype_to_gas_march[current_settings.cputype]+' '+result;