Browse Source

* the reference counter offset depends only on the current rtl, not the compiler version, so no ifdef needed

git-svn-id: trunk@22038 -
florian 13 years ago
parent
commit
2fc350eabd
1 changed files with 1 additions and 5 deletions
  1. 1 5
      rtl/arm/arm.inc

+ 1 - 5
rtl/arm/arm.inc

@@ -534,11 +534,7 @@ asm
   ldmfd sp!, {r0, lr}
   ldmfd sp!, {r0, lr}
   // We currently can not use constant symbols in ARM-Assembly
   // We currently can not use constant symbols in ARM-Assembly
   // but we need to stay backward compatible with 2.6
   // 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
   // Jump without a link, so freemem directly returns to our caller
   b       FPC_FREEMEM_X
   b       FPC_FREEMEM_X
 end;
 end;