mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 22:09:28 +02:00
+ added class TNewExeOutput. Not functional yet.
git-svn-id: trunk@42225 -
This commit is contained in:
parent
7871ccd054
commit
d3c3f2742c
@ -460,6 +460,20 @@ interface
|
|||||||
property ExpectedWindowsVersion: Word read FExpectedWindowsVersion write FExpectedWindowsVersion;
|
property ExpectedWindowsVersion: Word read FExpectedWindowsVersion write FExpectedWindowsVersion;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
{ TNewExeOutput }
|
||||||
|
|
||||||
|
TNewExeOutput = class(TExeOutput)
|
||||||
|
private
|
||||||
|
FHeader: TNewExeHeader;
|
||||||
|
protected
|
||||||
|
procedure DoRelocationFixup(objsec:TObjSection);override;
|
||||||
|
public
|
||||||
|
constructor create;override;
|
||||||
|
destructor destroy;override;
|
||||||
|
|
||||||
|
function writeData:boolean;override;
|
||||||
|
end;
|
||||||
|
|
||||||
TOmfAssembler = class(tinternalassembler)
|
TOmfAssembler = class(tinternalassembler)
|
||||||
constructor create(info: pasminfo; smart:boolean);override;
|
constructor create(info: pasminfo; smart:boolean);override;
|
||||||
end;
|
end;
|
||||||
@ -3445,6 +3459,35 @@ cleanup:
|
|||||||
aWriter.write(HeaderBytes[0],$40);
|
aWriter.write(HeaderBytes[0],$40);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
{****************************************************************************
|
||||||
|
TNewExeOutput
|
||||||
|
****************************************************************************}
|
||||||
|
|
||||||
|
procedure TNewExeOutput.DoRelocationFixup(objsec: TObjSection);
|
||||||
|
begin
|
||||||
|
{todo}
|
||||||
|
end;
|
||||||
|
|
||||||
|
constructor TNewExeOutput.create;
|
||||||
|
begin
|
||||||
|
inherited create;
|
||||||
|
CObjData:=TOmfObjData;
|
||||||
|
CObjSymbol:=TOmfObjSymbol;
|
||||||
|
FHeader:=TNewExeHeader.Create;
|
||||||
|
end;
|
||||||
|
|
||||||
|
destructor TNewExeOutput.destroy;
|
||||||
|
begin
|
||||||
|
FHeader.Free;
|
||||||
|
inherited destroy;
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TNewExeOutput.writeData: boolean;
|
||||||
|
begin
|
||||||
|
{todo}
|
||||||
|
Result:=False;
|
||||||
|
end;
|
||||||
|
|
||||||
{****************************************************************************
|
{****************************************************************************
|
||||||
TOmfAssembler
|
TOmfAssembler
|
||||||
****************************************************************************}
|
****************************************************************************}
|
||||||
|
Loading…
Reference in New Issue
Block a user