mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 07:46:00 +02:00
* the len parameter of TObjData.writebytes changed to TObjSectionOfs to avoid 8-bit truncation on Z80
git-svn-id: trunk@45620 -
This commit is contained in:
parent
dfa736bdca
commit
47ba80a545
@ -430,7 +430,7 @@ interface
|
|||||||
{ Allocation }
|
{ Allocation }
|
||||||
procedure alloc(len:TObjSectionOfs);
|
procedure alloc(len:TObjSectionOfs);
|
||||||
procedure allocalign(len:longint);
|
procedure allocalign(len:longint);
|
||||||
procedure writebytes(const Data;len:aword);
|
procedure writebytes(const Data;len:TObjSectionOfs);
|
||||||
procedure writeReloc(Data:TRelocDataInt;len:aword;p:TObjSymbol;Reloctype:TObjRelocationType);virtual;abstract;
|
procedure writeReloc(Data:TRelocDataInt;len:aword;p:TObjSymbol;Reloctype:TObjRelocationType);virtual;abstract;
|
||||||
procedure beforealloc;virtual;
|
procedure beforealloc;virtual;
|
||||||
procedure beforewrite;virtual;
|
procedure beforewrite;virtual;
|
||||||
@ -1531,7 +1531,7 @@ implementation
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
procedure TObjData.writebytes(const Data;len:aword);
|
procedure TObjData.writebytes(const Data;len:TObjSectionOfs);
|
||||||
begin
|
begin
|
||||||
if not assigned(CurrObjSec) then
|
if not assigned(CurrObjSec) then
|
||||||
internalerror(200402251);
|
internalerror(200402251);
|
||||||
|
Loading…
Reference in New Issue
Block a user