mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-03 00:07:28 +01:00
* fixed reading of DW_FORM_ref_addr on i8086
git-svn-id: trunk@39113 -
This commit is contained in:
parent
6bd99b65bf
commit
45bcbca71b
@ -1135,7 +1135,14 @@ procedure SkipAttr(form : QWord);
|
||||
ReadNext(dummy,4);
|
||||
end
|
||||
else
|
||||
ReadNext(dummy,header64.address_size);
|
||||
begin
|
||||
{ address size for DW_FORM_ref_addr must be at least 32 bits }
|
||||
{ this is compatible with Open Watcom on i8086 }
|
||||
if header64.address_size<4 then
|
||||
ReadNext(dummy,4)
|
||||
else
|
||||
ReadNext(dummy,header64.address_size);
|
||||
end;
|
||||
DW_FORM_strp,
|
||||
DW_FORM_sec_offset:
|
||||
if isdwarf64 then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user