Przeglądaj źródła

* i8086-msdos internal linker: put the static libraries in a group, to enable
multiple passes when resolving symbols

git-svn-id: trunk@31338 -

nickysn 10 lat temu
rodzic
commit
0dab94e35d
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      compiler/systems/t_msdos.pas

+ 2 - 0
compiler/systems/t_msdos.pas

@@ -434,12 +434,14 @@ begin
     if s<>'' then
       LinkScript.Concat('READOBJECT ' + maybequoted(s));
   end;
+  LinkScript.Concat('GROUP');
   while not StaticLibFiles.Empty do
   begin
     s:=StaticLibFiles.GetFirst;
     if s<>'' then
       LinkScript.Concat('READSTATICLIBRARY '+MaybeQuoted(s));
   end;
+  LinkScript.Concat('ENDGROUP');
   LinkScript.Concat('ENTRYNAME ..start');
 end;