* 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:
florian 2012-08-08 18:59:19 +00:00
parent fb7f25f410
commit 2fc350eabd

View File

@ -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;