From 74e83e9d8ba5be9c594849ce8ef3caab36ea0700 Mon Sep 17 00:00:00 2001 From: pierre Date: Tue, 22 Sep 2020 15:44:15 +0000 Subject: [PATCH] Disable af_smartlink_sections option for Z80 vasm and z80asm assemblers, as it leads to errors git-svn-id: trunk@46916 - --- compiler/z80/agz80asm.pas | 2 +- compiler/z80/agz80vasm.pas | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/z80/agz80asm.pas b/compiler/z80/agz80asm.pas index 46776c9d9b..beecb13e35 100644 --- a/compiler/z80/agz80asm.pas +++ b/compiler/z80/agz80asm.pas @@ -434,7 +434,7 @@ unit agz80asm; asmbin : 'z80asm'; asmcmd : '-o $OBJ $EXTRAOPT $ASM'; supported_targets : [system_Z80_embedded]; - flags : [af_needar,af_smartlink_sections]; + flags : [af_needar{,af_smartlink_sections}]; labelprefix : '.L'; labelmaxlen : -1; comment : '; '; diff --git a/compiler/z80/agz80vasm.pas b/compiler/z80/agz80vasm.pas index 46e8b3014f..ef13109c26 100644 --- a/compiler/z80/agz80vasm.pas +++ b/compiler/z80/agz80vasm.pas @@ -920,7 +920,7 @@ unit agz80vasm; asmbin : 'vasmz80_std'; asmcmd : '-quiet -Fvobj -o $OBJ $EXTRAOPT $ASM'; supported_targets : [system_z80_embedded, system_z80_zxspectrum, system_z80_msxdos]; - flags : [af_needar,af_smartlink_sections]; + flags : [af_needar{,af_smartlink_sections}]; labelprefix : '.L'; labelmaxlen : -1; comment : '; ';