mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-02 23:33:33 +01:00
+ defines for aarch64 to configure the compiler
git-svn-id: trunk@22895 -
This commit is contained in:
parent
5af1d48158
commit
7089d1d638
@ -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}
|
||||
{$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}
|
||||
{$fatal A CPU type switch must be defined}
|
||||
{$endif CPUDEFINED}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user