mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 21:48:09 +02:00
m68k: enable inlined get_frame for m68k
git-svn-id: trunk@36577 -
This commit is contained in:
parent
cf8aebf00f
commit
30176f3116
@ -194,6 +194,7 @@
|
||||
{$define cpuneedsdivhelper}
|
||||
{$define cpu_uses_separate_address_registers}
|
||||
{$define SUPPORT_SAFECALL}
|
||||
{$define SUPPORT_GET_FRAME}
|
||||
{$endif m68k}
|
||||
|
||||
{$ifdef avr}
|
||||
|
@ -54,11 +54,13 @@ procedure fpc_cpuinit;
|
||||
SysInitFPU;
|
||||
end;
|
||||
|
||||
{$ifndef INTERNAL_BACKTRACE}
|
||||
{$define FPC_SYSTEM_HAS_GET_FRAME}
|
||||
function get_frame : pointer; assembler;nostackframe;
|
||||
asm
|
||||
move.l fp,d0
|
||||
end;
|
||||
{$endif not INTERNAL_BACKTRACE}
|
||||
|
||||
|
||||
{$define FPC_SYSTEM_HAS_GET_CALLER_ADDR}
|
||||
|
Loading…
Reference in New Issue
Block a user