浏览代码

* enable the Z80 internal linker (not working yet) if the compiler is compiled with the Z80_INTERNAL_LINKER define

git-svn-id: trunk@45542 -
nickysn 5 年之前
父节点
当前提交
4a296c9f5d
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      compiler/systems/i_zxspectrum.pas

+ 4 - 0
compiler/systems/i_zxspectrum.pas

@@ -69,7 +69,11 @@ unit i_zxspectrum;
             dirsep       : '/';
             assem        : as_z80_rel;
             assemextern  : as_sdcc_sdasz80;
+{$ifdef Z80_INTERNAL_LINKER}
+            link         : ld_int_zxspectrum;
+{$else Z80_INTERNAL_LINKER}
             link         : ld_none;
+{$endif Z80_INTERNAL_LINKER}
             linkextern   : ld_zxspectrum;
             ar           : ar_sdcc_sdar;
             res          : res_none;