소스 검색

Handle link map for msdos wlink

git-svn-id: trunk@26461 -
pierre 11 년 전
부모
커밋
2a6e592fba
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      compiler/systems/t_msdos.pas

+ 2 - 0
compiler/systems/t_msdos.pas

@@ -276,6 +276,8 @@ begin
   else
     LinkRes.Add('format dos');
   LinkRes.Add('option dosseg');
+  if (cs_link_map in current_settings.globalswitches) then
+    LinkRes.Add('option map='+maybequoted(ChangeFileExt(current_module.exefilename,'.map')));
   LinkRes.Add('name ' + maybequoted(current_module.exefilename));
 
   { Write and Close response }