diff --git a/compiler/systems/t_embed.pas b/compiler/systems/t_embed.pas index 7b91be66b6..41b9f51ebf 100644 --- a/compiler/systems/t_embed.pas +++ b/compiler/systems/t_embed.pas @@ -1992,7 +1992,7 @@ function TlinkerEmbedded_SdccSdld.MakeExecutable: boolean; mapstr: TCmdStr; success : boolean; StaticStr, - GCSectionsStr, +// GCSectionsStr, DynLinkStr, StripStr, FixedExeFileName: string; @@ -2025,7 +2025,7 @@ function TlinkerEmbedded_SdccSdld.MakeExecutable: boolean; Replace(cmdstr,'$STATIC',StaticStr); Replace(cmdstr,'$STRIP',StripStr); Replace(cmdstr,'$MAP',mapstr); - Replace(cmdstr,'$GCSECTIONS',GCSectionsStr); +// Replace(cmdstr,'$GCSECTIONS',GCSectionsStr); Replace(cmdstr,'$DYNLINK',DynLinkStr); end else @@ -2035,7 +2035,7 @@ function TlinkerEmbedded_SdccSdld.MakeExecutable: boolean; Replace(cmdstr,'$STATIC',StaticStr); Replace(cmdstr,'$STRIP',StripStr); Replace(cmdstr,'$MAP',mapstr); - Replace(cmdstr,'$GCSECTIONS',GCSectionsStr); +// Replace(cmdstr,'$GCSECTIONS',GCSectionsStr); Replace(cmdstr,'$DYNLINK',DynLinkStr); end; success:=DoExec(FindUtil(utilsprefix+BinStr),cmdstr,true,false);