|
@@ -738,6 +738,8 @@ implementation
|
|
|
if hp=nil then
|
|
|
break;
|
|
|
p_asm.concat(hp);
|
|
|
+ if hp.typ=ait_section then
|
|
|
+ inc(p_asm.section_count);
|
|
|
until false;
|
|
|
end
|
|
|
else
|
|
@@ -809,6 +811,7 @@ implementation
|
|
|
begin
|
|
|
n.p_asm:=TAsmList.create;
|
|
|
n.p_asm.concatlistcopy(p_asm);
|
|
|
+ n.p_asm.section_count:=p_asm.section_count;
|
|
|
end
|
|
|
else n.p_asm := nil;
|
|
|
n.currenttai:=currenttai;
|