mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-03 12:49:26 +01:00
* check cputhumb/cputhumb2 to detect instruction set
git-svn-id: trunk@25417 -
This commit is contained in:
parent
6f11e3f316
commit
a240e74591
@ -229,10 +229,10 @@ function do_isdevice(handle:thandle):boolean;forward;
|
||||
{$Error Can't determine processor type !}
|
||||
{$endif}
|
||||
{$i armdefines.inc}
|
||||
{$if defined(CPUARMV7EM) or defined(CPUARMV7M)}
|
||||
{$if defined(CPUTHUMB2)}
|
||||
{$i thumb2.inc} { Case dependent, don't change }
|
||||
{$else}
|
||||
{$if defined(CPUARMV6M)}
|
||||
{$if defined(CPUTHUMB)}
|
||||
{$i thumb.inc} { Case dependent, don't change }
|
||||
{$else}
|
||||
{$i arm.inc} { Case dependent, don't change }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user