Skip to content

TCoffResourceWriter.fRelocations

Declaration

Source position: coffwriter.pp line 121

protected fRelocations: type

  TCoffRelocations = class
  protected
    function GetCount : Integer;
    function GetRelocation(index: Integer) : PCoffRelocation;
  public
    constructor Create(aMachineType: TCoffMachineType);
    destructor Destroy;  override;
    procedure Add(aAddress: LongWord; aType: Word; aSymTableIndex: LongWord);
    procedure AddRelativeToSection(aAddress: LongWord; 
                              aSectSymTableIndex: LongWord);
    procedure Clear;
    property Count: Integer read GetCount;
    property Items[index : Integer]: PCoffRelocation read GetRelocation; default;
    property StartAddress: LongWord read fStartAddress write fStartAddress;
    property MachineType: TCoffMachineType read fMachineType write fMachineType;
  end;