mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 19:19:24 +02:00
* the areas global symbols count must be in hex in the .rel format
git-svn-id: trunk@45244 -
This commit is contained in:
parent
8e23dc99a1
commit
92e86e7673
@ -75,6 +75,13 @@ implementation
|
||||
version
|
||||
;
|
||||
|
||||
function tohex(q: qword): string;
|
||||
begin
|
||||
result:=HexStr(q,16);
|
||||
while (Length(result)>1) and (result[1]='0') do
|
||||
delete(result,1,1);
|
||||
end;
|
||||
|
||||
{*****************************************************************************
|
||||
TRelObjData
|
||||
*****************************************************************************}
|
||||
@ -179,7 +186,7 @@ implementation
|
||||
end;
|
||||
|
||||
writeLine('XL2');
|
||||
writeLine('H '+tostr(data.ObjSectionList.Count)+' areas '+tostr(global_symbols_count)+' global symbols');
|
||||
writeLine('H '+tohex(data.ObjSectionList.Count)+' areas '+tohex(global_symbols_count)+' global symbols');
|
||||
|
||||
idx:=0;
|
||||
for i:=0 to Data.ObjSymbolList.Count-1 do
|
||||
|
Loading…
Reference in New Issue
Block a user