From 5b0f177b628c5b25671957e9a0df448d299b3847 Mon Sep 17 00:00:00 2001 From: nickysn Date: Sun, 5 Apr 2020 20:32:25 +0000 Subject: [PATCH] + create linker map file generation added for sdcc-sdld git-svn-id: branches/z80@44604 - --- compiler/systems/t_embed.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/systems/t_embed.pas b/compiler/systems/t_embed.pas index aef891b993..d4c693c10d 100644 --- a/compiler/systems/t_embed.pas +++ b/compiler/systems/t_embed.pas @@ -1974,7 +1974,7 @@ procedure TlinkerEmbedded_SdccSdld.SetDefaultInfo; begin with Info do begin - ExeCmd[1]:='sdcc-sdld -i $EXE -f $RES' + ExeCmd[1]:='sdcc-sdld -i $EXE -f $RES $MAP' //-g '+platform_select+' $OPT $DYNLINK $STATIC $GCSECTIONS $STRIP $MAP -L. -o $EXE -T $RES'; end; end; @@ -2001,10 +2001,10 @@ function TlinkerEmbedded_SdccSdld.MakeExecutable: boolean; (* GCSectionsStr:='--gc-sections'; //if not(cs_link_extern in current_settings.globalswitches) then if not(cs_link_nolink in current_settings.globalswitches) then - Message1(exec_i_linking,current_module.exefilename); + Message1(exec_i_linking,current_module.exefilename);*) if (cs_link_map in current_settings.globalswitches) then - mapstr:='-Map '+maybequoted(ChangeFileExt(current_module.exefilename,'.map'));*) + mapstr:='-mw'; { Write used files and libraries } WriteResponseFile();