mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 11:39:33 +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;
|
||||
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)
|
||||
constructor create(info: pasminfo; smart:boolean);override;
|
||||
end;
|
||||
@ -3445,6 +3459,35 @@ cleanup:
|
||||
aWriter.write(HeaderBytes[0],$40);
|
||||
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
|
||||
****************************************************************************}
|
||||
|
Loading…
Reference in New Issue
Block a user