mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-21 00:59:35 +01:00
* some more darwin/arm stuff I forgot to commit earlier:
o softfloat support for bsd/system.pp (enabled when compiling for ARM)
o include darwin/arm sigaction structs in darwin/signal.inc when
compiling for ARM (can't commit the file itself that contains
those structs due to licensing issues though)
git-svn-id: trunk@12327 -
This commit is contained in:
parent
977e033932
commit
d9c5cd76cd
@ -45,8 +45,38 @@ var argc:longint;
|
|||||||
|
|
||||||
CONST SIGSTKSZ = 40960;
|
CONST SIGSTKSZ = 40960;
|
||||||
|
|
||||||
|
{$if defined(CPUARM)}
|
||||||
|
|
||||||
|
{$define fpc_softfpu_interface}
|
||||||
|
{$i softfpu.pp}
|
||||||
|
{$undef fpc_softfpu_interface}
|
||||||
|
|
||||||
|
{$endif defined(CPUARM)}
|
||||||
|
|
||||||
|
|
||||||
Implementation
|
Implementation
|
||||||
|
|
||||||
|
{$if defined(CPUARM) or defined(CPUM68K)}
|
||||||
|
|
||||||
|
{$define fpc_softfpu_implementation}
|
||||||
|
{$i softfpu.pp}
|
||||||
|
{$undef fpc_softfpu_implementation}
|
||||||
|
|
||||||
|
{ we get these functions and types from the softfpu code }
|
||||||
|
{$define FPC_SYSTEM_HAS_float64}
|
||||||
|
{$define FPC_SYSTEM_HAS_float32}
|
||||||
|
{$define FPC_SYSTEM_HAS_flag}
|
||||||
|
{$define FPC_SYSTEM_HAS_extractFloat64Frac0}
|
||||||
|
{$define FPC_SYSTEM_HAS_extractFloat64Frac1}
|
||||||
|
{$define FPC_SYSTEM_HAS_extractFloat64Exp}
|
||||||
|
{$define FPC_SYSTEM_HAS_extractFloat64Sign}
|
||||||
|
{$define FPC_SYSTEM_HAS_ExtractFloat32Frac}
|
||||||
|
{$define FPC_SYSTEM_HAS_extractFloat32Exp}
|
||||||
|
{$define FPC_SYSTEM_HAS_extractFloat32Sign}
|
||||||
|
|
||||||
|
{$endif defined(CPUARM) or defined(CPUM68K)}
|
||||||
|
|
||||||
|
|
||||||
{$I system.inc}
|
{$I system.inc}
|
||||||
|
|
||||||
{*****************************************************************************
|
{*****************************************************************************
|
||||||
|
|||||||
@ -190,7 +190,11 @@
|
|||||||
{$ifdef cpux86_64}
|
{$ifdef cpux86_64}
|
||||||
{$include x86_64/sig_cpu.inc} { SigContextRec }
|
{$include x86_64/sig_cpu.inc} { SigContextRec }
|
||||||
{$else cpux86_64}
|
{$else cpux86_64}
|
||||||
|
{$ifdef cpuarm}
|
||||||
|
{$include arm/sig_cpu.inc}
|
||||||
|
{$else cpuarm}
|
||||||
{$error Unsupported cpu type!}
|
{$error Unsupported cpu type!}
|
||||||
|
{$endif cpuarm}
|
||||||
{$endif cpux86_64}
|
{$endif cpux86_64}
|
||||||
{$endif cpui386}
|
{$endif cpui386}
|
||||||
{$endif cpupowerpc or cpupowerpc64}
|
{$endif cpupowerpc or cpupowerpc64}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user