浏览代码

* 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 年之前
父节点
当前提交
2fc350eabd
共有 1 个文件被更改,包括 1 次插入5 次删除
  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;