mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 21:09:07 +02:00
* synchronize also the objfile for ag386bin
This commit is contained in:
parent
6483f16209
commit
f4c74e4a3d
@ -386,43 +386,13 @@ end;
|
|||||||
|
|
||||||
{Touch Assembler and object time to ppu time is there is a ppufilename}
|
{Touch Assembler and object time to ppu time is there is a ppufilename}
|
||||||
procedure TAsmList.Synchronize;
|
procedure TAsmList.Synchronize;
|
||||||
var
|
|
||||||
f : file;
|
|
||||||
l : longint;
|
|
||||||
begin
|
begin
|
||||||
{Touch Assembler time to ppu time is there is a ppufilename}
|
{Touch Assembler time to ppu time is there is a ppufilename}
|
||||||
if Assigned(current_module^.ppufilename) then
|
if Assigned(current_module^.ppufilename) then
|
||||||
begin
|
begin
|
||||||
Assign(f,current_module^.ppufilename^);
|
SynchronizeFileTime(current_module^.ppufilename^,asmfile);
|
||||||
{$I-}
|
if not(cs_asm_extern in aktglobalswitches) then
|
||||||
reset(f,1);
|
SynchronizeFileTime(current_module^.ppufilename^,objfile);
|
||||||
{$I+}
|
|
||||||
if ioresult=0 then
|
|
||||||
begin
|
|
||||||
getftime(f,l);
|
|
||||||
close(f);
|
|
||||||
assign(f,asmfile);
|
|
||||||
{$I-}
|
|
||||||
reset(f,1);
|
|
||||||
{$I+}
|
|
||||||
if ioresult=0 then
|
|
||||||
begin
|
|
||||||
setftime(f,l);
|
|
||||||
close(f);
|
|
||||||
end;
|
|
||||||
if not(cs_asm_extern in aktglobalswitches) then
|
|
||||||
begin
|
|
||||||
assign(f,objfile);
|
|
||||||
{$I-}
|
|
||||||
reset(f,1);
|
|
||||||
{$I+}
|
|
||||||
if ioresult=0 then
|
|
||||||
begin
|
|
||||||
setftime(f,l);
|
|
||||||
close(f);
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -498,6 +468,8 @@ begin
|
|||||||
end;
|
end;
|
||||||
b^.WriteBin;
|
b^.WriteBin;
|
||||||
dispose(b,done);
|
dispose(b,done);
|
||||||
|
if assigned(current_module^.ppufilename) then
|
||||||
|
SynchronizeFileTime(current_module^.ppufilename^,current_module^.objfilename^);
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
{$endif Ag386Bin}
|
{$endif Ag386Bin}
|
||||||
@ -562,7 +534,10 @@ end;
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.38 1999-02-26 00:48:15 peter
|
Revision 1.39 1999-03-01 15:43:48 peter
|
||||||
|
* synchronize also the objfile for ag386bin
|
||||||
|
|
||||||
|
Revision 1.38 1999/02/26 00:48:15 peter
|
||||||
* assembler writers fixed for ag386bin
|
* assembler writers fixed for ag386bin
|
||||||
|
|
||||||
Revision 1.37 1999/02/24 00:59:11 peter
|
Revision 1.37 1999/02/24 00:59:11 peter
|
||||||
|
Loading…
Reference in New Issue
Block a user