+ defines for aarch64 to configure the compiler

git-svn-id: trunk@22895 -
This commit is contained in:
florian 2012-10-31 21:51:04 +00:00
parent 5af1d48158
commit 7089d1d638
2 changed files with 16 additions and 0 deletions

View File

@ -205,6 +205,16 @@
{$define symansistr} {$define symansistr}
{$endif} {$endif}
{$ifdef aarch64}
{$define cpu64bit}
{$define cpu64bitaddr}
{$define cpu64bitalu}
{$define cpuflags}
{$define cpurox}
{$define cputargethasfixedstack}
{$define cpurefshaveindexreg}
{$endif aarch64}
{$IFDEF MACOS} {$IFDEF MACOS}
{$DEFINE USE_FAKE_SYSUTILS} {$DEFINE USE_FAKE_SYSUTILS}
{$ENDIF MACOS} {$ENDIF MACOS}

View File

@ -140,6 +140,12 @@ program pp;
{$endif CPUDEFINED} {$endif CPUDEFINED}
{$define CPUDEFINED} {$define CPUDEFINED}
{$endif} {$endif}
{$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} {$ifndef CPUDEFINED}
{$fatal A CPU type switch must be defined} {$fatal A CPU type switch must be defined}
{$endif CPUDEFINED} {$endif CPUDEFINED}