mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 15:49:39 +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
|
||||
begin
|
||||
AsmWriteLn(target_asm.comment+'Begin asmlist '+AsmlistTypeStr[hal]);
|
||||
writetree(current_asmdata.asmlists[hal]);
|
||||
AsmWriteLn(target_asm.comment+'End asmlist '+AsmlistTypeStr[hal]);
|
||||
if not (current_asmdata.asmlists[hal].empty) then
|
||||
begin
|
||||
AsmWriteLn(target_asm.comment+'Begin asmlist '+AsmlistTypeStr[hal]);
|
||||
writetree(current_asmdata.asmlists[hal]);
|
||||
AsmWriteLn(target_asm.comment+'End asmlist '+AsmlistTypeStr[hal]);
|
||||
end;
|
||||
end;
|
||||
|
||||
{ add weak symbol markers }
|
||||
|
Loading…
Reference in New Issue
Block a user