git-svn-id: trunk@22895 -
@@ -205,6 +205,16 @@
{$define symansistr}
{$endif}
+{$ifdef aarch64}
+ {$define cpu64bit}
+ {$define cpu64bitaddr}
+ {$define cpu64bitalu}
+ {$define cpuflags}
+ {$define cpurox}
+ {$define cputargethasfixedstack}
+ {$define cpurefshaveindexreg}
+{$endif aarch64}
+
{$IFDEF MACOS}
{$DEFINE USE_FAKE_SYSUTILS}
{$ENDIF MACOS}
@@ -140,6 +140,12 @@ program pp;
{$endif CPUDEFINED}
{$define CPUDEFINED}
+{$ifdef AARCH64}
+ {$ifdef CPUDEFINED}
+ {$fatal ONLY one of the switches for the CPU type must be defined}
+ {$endif CPUDEFINED}
+ {$define CPUDEFINED}
+{$endif AARCH64}
{$ifndef CPUDEFINED}
{$fatal A CPU type switch must be defined}