|
@@ -531,15 +531,11 @@ Implementation
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
|
|
- procedure AddImportSymbol(const libname,symname,symmangledname:TCmdStr;OrdNr: longint;isvar:boolean);
|
|
|
|
- begin
|
|
|
|
- end;
|
|
|
|
-
|
|
|
|
-
|
|
|
|
procedure TLinker.InitSysInitUnitName;
|
|
procedure TLinker.InitSysInitUnitName;
|
|
begin
|
|
begin
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
+
|
|
function TLinker.MakeExecutable:boolean;
|
|
function TLinker.MakeExecutable:boolean;
|
|
begin
|
|
begin
|
|
MakeExecutable:=false;
|
|
MakeExecutable:=false;
|
|
@@ -951,7 +947,10 @@ Implementation
|
|
inc(i);
|
|
inc(i);
|
|
s:=hp.str;
|
|
s:=hp.str;
|
|
if (s='') or (s[1]='#') then
|
|
if (s='') or (s[1]='#') then
|
|
- continue;
|
|
|
|
|
|
+ begin
|
|
|
|
+ hp:=TCmdStrListItem(hp.next);
|
|
|
|
+ continue;
|
|
|
|
+ end;
|
|
keyword:=Upper(GetToken(s,' '));
|
|
keyword:=Upper(GetToken(s,' '));
|
|
para:=GetToken(s,' ');
|
|
para:=GetToken(s,' ');
|
|
if Trim(s)<>'' then
|
|
if Trim(s)<>'' then
|
|
@@ -1037,6 +1036,7 @@ Implementation
|
|
if (s='') or (s[1]='#') then
|
|
if (s='') or (s[1]='#') then
|
|
begin
|
|
begin
|
|
IsHandled^[i]:=true;
|
|
IsHandled^[i]:=true;
|
|
|
|
+ hp:=TCmdStrListItem(hp.next);
|
|
continue;
|
|
continue;
|
|
end;
|
|
end;
|
|
handled:=true;
|
|
handled:=true;
|
|
@@ -1084,7 +1084,10 @@ Implementation
|
|
inc(i);
|
|
inc(i);
|
|
s:=hp.str;
|
|
s:=hp.str;
|
|
if (s='') or (s[1]='#') then
|
|
if (s='') or (s[1]='#') then
|
|
- continue;
|
|
|
|
|
|
+ begin
|
|
|
|
+ hp:=TCmdStrListItem(hp.next);
|
|
|
|
+ continue;
|
|
|
|
+ end;
|
|
handled:=true;
|
|
handled:=true;
|
|
keyword:=Upper(GetToken(s,' '));
|
|
keyword:=Upper(GetToken(s,' '));
|
|
para:=ParsePara(GetToken(s,' '));
|
|
para:=ParsePara(GetToken(s,' '));
|
|
@@ -1136,7 +1139,10 @@ Implementation
|
|
inc(i);
|
|
inc(i);
|
|
s:=hp.str;
|
|
s:=hp.str;
|
|
if (s='') or (s[1]='#') then
|
|
if (s='') or (s[1]='#') then
|
|
- continue;
|
|
|
|
|
|
+ begin
|
|
|
|
+ hp:=TCmdStrListItem(hp.next);
|
|
|
|
+ continue;
|
|
|
|
+ end;
|
|
handled:=true;
|
|
handled:=true;
|
|
keyword:=Upper(GetToken(s,' '));
|
|
keyword:=Upper(GetToken(s,' '));
|
|
para:=ParsePara(GetToken(s,' '));
|
|
para:=ParsePara(GetToken(s,' '));
|
|
@@ -1172,7 +1178,10 @@ Implementation
|
|
inc(i);
|
|
inc(i);
|
|
s:=hp.str;
|
|
s:=hp.str;
|
|
if (s='') or (s[1]='#') then
|
|
if (s='') or (s[1]='#') then
|
|
- continue;
|
|
|
|
|
|
+ begin
|
|
|
|
+ hp:=TCmdStrListItem(hp.next);
|
|
|
|
+ continue;
|
|
|
|
+ end;
|
|
handled:=true;
|
|
handled:=true;
|
|
keyword:=Upper(GetToken(s,' '));
|
|
keyword:=Upper(GetToken(s,' '));
|
|
para:=ParsePara(GetToken(s,' '));
|
|
para:=ParsePara(GetToken(s,' '));
|