mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 14:08:09 +02:00
+ proper assembler command line parameters for arm thumb
git-svn-id: trunk@23979 -
This commit is contained in:
parent
89b4939cec
commit
07762e5c25
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user