mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-12 15:29:40 +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}
|
{$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}
|
||||||
|
|||||||
@ -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}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user