mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-10 07:29:41 +01:00
+ SPARC64 support for the system unit
git-svn-id: trunk@36431 -
This commit is contained in:
parent
7254d22402
commit
cd70098b84
@ -251,6 +251,14 @@ function do_isdevice(handle:thandle):boolean;forward;
|
|||||||
{$define SYSPROCDEFINED}
|
{$define SYSPROCDEFINED}
|
||||||
{$endif cpusparc}
|
{$endif cpusparc}
|
||||||
|
|
||||||
|
{$ifdef cpusparc64}
|
||||||
|
{$ifdef SYSPROCDEFINED}
|
||||||
|
{$Error Can't determine processor type !}
|
||||||
|
{$endif}
|
||||||
|
{$i sparc64.inc} { Case dependent, don't change }
|
||||||
|
{$define SYSPROCDEFINED}
|
||||||
|
{$endif cpusparc64}
|
||||||
|
|
||||||
{$ifdef cpuarm}
|
{$ifdef cpuarm}
|
||||||
{$ifdef SYSPROCDEFINED}
|
{$ifdef SYSPROCDEFINED}
|
||||||
{$Error Can't determine processor type !}
|
{$Error Can't determine processor type !}
|
||||||
|
|||||||
@ -270,6 +270,23 @@ Type
|
|||||||
FarPointer = Pointer;
|
FarPointer = Pointer;
|
||||||
{$endif CPUSPARC}
|
{$endif CPUSPARC}
|
||||||
|
|
||||||
|
{$ifdef CPUSPARC64}
|
||||||
|
{$define DEFAULT_DOUBLE}
|
||||||
|
|
||||||
|
{$define SUPPORT_SINGLE}
|
||||||
|
{$define SUPPORT_DOUBLE}
|
||||||
|
|
||||||
|
{$ifndef FPUNONE}
|
||||||
|
ValReal = Double;
|
||||||
|
{$endif}
|
||||||
|
|
||||||
|
{ map comp to int64, but this doesn't mean we compile the comp support in! }
|
||||||
|
Comp = Int64;
|
||||||
|
PComp = ^Comp;
|
||||||
|
|
||||||
|
FarPointer = Pointer;
|
||||||
|
{$endif CPUSPARC64}
|
||||||
|
|
||||||
{$if defined(CPUMIPS32) or defined(CPUMIPSEL32)}
|
{$if defined(CPUMIPS32) or defined(CPUMIPSEL32)}
|
||||||
{$define DEFAULT_DOUBLE}
|
{$define DEFAULT_DOUBLE}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user