mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 10:48:12 +02:00
Do not use nostackframe with local variable in get_fsr function
git-svn-id: trunk@22326 -
This commit is contained in:
parent
fe97069b12
commit
39e32a9b3e
@ -19,12 +19,13 @@
|
||||
{****************************************************************************
|
||||
SPARC specific stuff
|
||||
****************************************************************************}
|
||||
function get_fsr : dword;assembler;nostackframe;[public, alias: 'FPC_GETFSR'];
|
||||
function get_fsr : dword;assembler;[public, alias: 'FPC_GETFSR'];
|
||||
var
|
||||
fsr : dword;
|
||||
asm
|
||||
st %fsr,fsr
|
||||
ld fsr,%o0
|
||||
ld fsr,%l0
|
||||
st %l0,__result
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user