Browse Source

* fixed warning in t_embed

git-svn-id: branches/z80@44819 -
nickysn 5 years ago
parent
commit
4b11433d63
1 changed files with 3 additions and 3 deletions
  1. 3 3
      compiler/systems/t_embed.pas

+ 3 - 3
compiler/systems/t_embed.pas

@@ -1992,7 +1992,7 @@ function TlinkerEmbedded_SdccSdld.MakeExecutable: boolean;
     mapstr: TCmdStr;
     mapstr: TCmdStr;
     success : boolean;
     success : boolean;
     StaticStr,
     StaticStr,
-    GCSectionsStr,
+//    GCSectionsStr,
     DynLinkStr,
     DynLinkStr,
     StripStr,
     StripStr,
     FixedExeFileName: string;
     FixedExeFileName: string;
@@ -2025,7 +2025,7 @@ function TlinkerEmbedded_SdccSdld.MakeExecutable: boolean;
       Replace(cmdstr,'$STATIC',StaticStr);
       Replace(cmdstr,'$STATIC',StaticStr);
       Replace(cmdstr,'$STRIP',StripStr);
       Replace(cmdstr,'$STRIP',StripStr);
       Replace(cmdstr,'$MAP',mapstr);
       Replace(cmdstr,'$MAP',mapstr);
-      Replace(cmdstr,'$GCSECTIONS',GCSectionsStr);
+//      Replace(cmdstr,'$GCSECTIONS',GCSectionsStr);
       Replace(cmdstr,'$DYNLINK',DynLinkStr);
       Replace(cmdstr,'$DYNLINK',DynLinkStr);
      end
      end
     else
     else
@@ -2035,7 +2035,7 @@ function TlinkerEmbedded_SdccSdld.MakeExecutable: boolean;
       Replace(cmdstr,'$STATIC',StaticStr);
       Replace(cmdstr,'$STATIC',StaticStr);
       Replace(cmdstr,'$STRIP',StripStr);
       Replace(cmdstr,'$STRIP',StripStr);
       Replace(cmdstr,'$MAP',mapstr);
       Replace(cmdstr,'$MAP',mapstr);
-      Replace(cmdstr,'$GCSECTIONS',GCSectionsStr);
+//      Replace(cmdstr,'$GCSECTIONS',GCSectionsStr);
       Replace(cmdstr,'$DYNLINK',DynLinkStr);
       Replace(cmdstr,'$DYNLINK',DynLinkStr);
      end;
      end;
     success:=DoExec(FindUtil(utilsprefix+BinStr),cmdstr,true,false);
     success:=DoExec(FindUtil(utilsprefix+BinStr),cmdstr,true,false);