Ver código fonte

* 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 anos atrás
pai
commit
4a296c9f5d
1 arquivos alterados com 4 adições e 0 exclusões
  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;