mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 22:14:25 +02:00
- Don't output 'begin/end asmlist xxx' comments for empty asmlists.
git-svn-id: trunk@26744 -
This commit is contained in:
parent
37b34edbc6
commit
74089039e7
@ -1668,9 +1668,12 @@ implementation
|
|||||||
|
|
||||||
for hal:=low(TasmlistType) to high(TasmlistType) do
|
for hal:=low(TasmlistType) to high(TasmlistType) do
|
||||||
begin
|
begin
|
||||||
AsmWriteLn(target_asm.comment+'Begin asmlist '+AsmlistTypeStr[hal]);
|
if not (current_asmdata.asmlists[hal].empty) then
|
||||||
writetree(current_asmdata.asmlists[hal]);
|
begin
|
||||||
AsmWriteLn(target_asm.comment+'End asmlist '+AsmlistTypeStr[hal]);
|
AsmWriteLn(target_asm.comment+'Begin asmlist '+AsmlistTypeStr[hal]);
|
||||||
|
writetree(current_asmdata.asmlists[hal]);
|
||||||
|
AsmWriteLn(target_asm.comment+'End asmlist '+AsmlistTypeStr[hal]);
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ add weak symbol markers }
|
{ add weak symbol markers }
|
||||||
|
Loading…
Reference in New Issue
Block a user