mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-16 17:02:46 +02:00
* i8086-msdos internal linker: put the static libraries in a group, to enable
multiple passes when resolving symbols git-svn-id: trunk@31338 -
This commit is contained in:
parent
3c0d83bd74
commit
0dab94e35d
@ -434,12 +434,14 @@ begin
|
|||||||
if s<>'' then
|
if s<>'' then
|
||||||
LinkScript.Concat('READOBJECT ' + maybequoted(s));
|
LinkScript.Concat('READOBJECT ' + maybequoted(s));
|
||||||
end;
|
end;
|
||||||
|
LinkScript.Concat('GROUP');
|
||||||
while not StaticLibFiles.Empty do
|
while not StaticLibFiles.Empty do
|
||||||
begin
|
begin
|
||||||
s:=StaticLibFiles.GetFirst;
|
s:=StaticLibFiles.GetFirst;
|
||||||
if s<>'' then
|
if s<>'' then
|
||||||
LinkScript.Concat('READSTATICLIBRARY '+MaybeQuoted(s));
|
LinkScript.Concat('READSTATICLIBRARY '+MaybeQuoted(s));
|
||||||
end;
|
end;
|
||||||
|
LinkScript.Concat('ENDGROUP');
|
||||||
LinkScript.Concat('ENTRYNAME ..start');
|
LinkScript.Concat('ENTRYNAME ..start');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user