diff options
Diffstat (limited to 'compiler/assemble.pas')
-rw-r--r-- | compiler/assemble.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/assemble.pas b/compiler/assemble.pas index 609877e342..f3539291b9 100644 --- a/compiler/assemble.pas +++ b/compiler/assemble.pas @@ -1736,7 +1736,8 @@ Implementation if not(tf_section_threadvars in target_info.flags) then exclude(to_do,al_threadvars); for i:=low(TasmlistType) to high(TasmlistType) do - if (i in to_do) and (current_asmdata.asmlists[i]<>nil) then + if (i in to_do) and (current_asmdata.asmlists[i]<>nil) and + (not current_asmdata.asmlists[i].empty) then addlist(current_asmdata.asmlists[i]); if SmartAsm then |