diff options
author | Charles Crayne <chuck@thor.crayne.org> | 2008-11-03 18:21:24 -0800 |
---|---|---|
committer | Charles Crayne <chuck@thor.crayne.org> | 2008-11-03 18:21:24 -0800 |
commit | e2dea103db4838a996e71f7c3904b57ae0c4fe86 (patch) | |
tree | fdbc39fbb38698101f4bf9a857732485dc921e9b /nasm.c | |
parent | e263d0454471baba0e0c5c616856e8fad505c62b (diff) | |
download | nasm-e2dea103db4838a996e71f7c3904b57ae0c4fe86.tar.gz nasm-e2dea103db4838a996e71f7c3904b57ae0c4fe86.tar.bz2 nasm-e2dea103db4838a996e71f7c3904b57ae0c4fe86.zip |
Prevent erroneous extra "final" pass
Specifically check for end of final pass.
Diffstat (limited to 'nasm.c')
-rw-r--r-- | nasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1719,7 +1719,7 @@ static void assemble_file(char *fname, StrList **depend_ptr) exit(1); } - if (passn > 1 && !global_offset_changed) + if ((passn > 1 && !global_offset_changed) || pass0 == 2) pass0++; else if (global_offset_changed && global_offset_changed < prev_offset_changed) { prev_offset_changed = global_offset_changed; |