mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 11:48:04 +02:00
* the reference counter offset depends only on the current rtl, not the compiler version, so no ifdef needed
git-svn-id: trunk@22038 -
This commit is contained in:
parent
fb7f25f410
commit
2fc350eabd
@ -534,11 +534,7 @@ asm
|
||||
ldmfd sp!, {r0, lr}
|
||||
// We currently can not use constant symbols in ARM-Assembly
|
||||
// but we need to stay backward compatible with 2.6
|
||||
{$if defined(VER2_6)}
|
||||
sub r0, r0, #8 //AnsiFirstOff in 2.6
|
||||
{$else}
|
||||
sub r0, r0, #12 //AnsiFirstOff in 2.7 with codepage support
|
||||
{$endif}
|
||||
sub r0, r0, #12
|
||||
// Jump without a link, so freemem directly returns to our caller
|
||||
b FPC_FREEMEM_X
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user