mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 21:07:54 +02:00

* rtl/embedded/system.pp: removed (commented out) FPU initialization from initialization of system unit, was dead code anyway because FPC_HAS_FEATURE_FPU is never defined and "feature FPU" does not exist. * rtl/mips/*.inc: don't compile FPU instructions if compiling RTL with -CfNONE or -CfSOFT (however, handling these switches for MIPS targets in compiler needs further fixing). git-svn-id: trunk@28670 -
28 lines
1009 B
PHP
28 lines
1009 B
PHP
{******************************************************************************
|
|
This file is part of the Free Pascal run time library.
|
|
Copyright (c) 2000-2002 by Jonas Maebe and David Zhang
|
|
|
|
SetJmp/Longjmp declarations MIPS
|
|
|
|
|
|
See the file COPYING.FPC, included in this distribution,
|
|
for details about the copyright.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
******************************************************************************}
|
|
|
|
type
|
|
jmp_buf=packed record
|
|
ra,sp,s0,s1,s2,s3,s4,s5,s6,s7,fp,gp: longint;
|
|
{$if defined(FPUMIPS2) or defined(FPUMIPS3)}
|
|
_fcsr,f20,f21,f22,f23,f24,f25,f26,f27,f28,f29,f30,f31: longint;
|
|
{$endif FPUMIPS2 or FPUMIPS3}
|
|
end;
|
|
Pjmp_buf=^jmp_buf;
|
|
|
|
function setjmp(var S:jmp_buf):longint;[external name 'FPC_SETJMP'];
|
|
procedure longjmp(var S:jmp_buf;value:longint);[external name 'FPC_LONGJMP'];
|