diff options
author | Victor van den Elzen <victor.vde@gmail.com> | 2009-02-25 17:32:00 +0100 |
---|---|---|
committer | Victor van den Elzen <victor.vde@gmail.com> | 2009-02-25 17:32:00 +0100 |
commit | 154e5920a1ee2c816e502b70fe0c4ab3ea6ab7c1 (patch) | |
tree | 7c20d04a4f5b12241c58b54fd03d0d0ea3a030e0 /assemble.c | |
parent | babebffb71f42e1d55095afea96f41e15acc28b1 (diff) | |
download | nasm-154e5920a1ee2c816e502b70fe0c4ab3ea6ab7c1.tar.gz nasm-154e5920a1ee2c816e502b70fe0c4ab3ea6ab7c1.tar.bz2 nasm-154e5920a1ee2c816e502b70fe0c4ab3ea6ab7c1.zip |
Do not confuse segmentless adresses and unknown forward references
Also be optimistic with immediate forward references.
Diffstat (limited to 'assemble.c')
-rw-r--r-- | assemble.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -263,7 +263,7 @@ static bool jmp_match(int32_t segment, int64_t offset, int bits, isize = calcsize(segment, offset, bits, ins, code); - if (passn == 1 && ins->oprs[0].segment == NO_SEG) + if (ins->oprs[0].opflags & OPFLAG_UNKNOWN) /* Be optimistic in pass 1 */ return true; |