diff options
author | Debbie Wiles <debs@dwiles.demon.co.uk> | 2002-05-22 19:50:30 +0000 |
---|---|---|
committer | Debbie Wiles <debs@dwiles.demon.co.uk> | 2002-05-22 19:50:30 +0000 |
commit | 8311d9f3109a8d14fb84769318081ebd12266f5d (patch) | |
tree | 959c0a95b209d1b6ec98d21eb0f69462059efd58 /nasm.c | |
parent | ae438913afd0f78551e7c652d5250868feae7d01 (diff) | |
download | nasm-8311d9f3109a8d14fb84769318081ebd12266f5d.tar.gz nasm-8311d9f3109a8d14fb84769318081ebd12266f5d.tar.bz2 nasm-8311d9f3109a8d14fb84769318081ebd12266f5d.zip |
Fixed the ABSOLUTE LABEL problem
Diffstat (limited to 'nasm.c')
-rw-r--r-- | nasm.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -59,7 +59,6 @@ int global_offset_changed; /* referenced in labels.c */ static loc_t location; int in_abs_seg; /* Flag we are in ABSOLUTE seg */ -static long abs_seg; static struct RAA *offsets; static long abs_offset; @@ -952,7 +951,7 @@ static void assemble_file (char *fname) "cannot use non-relocatable expression as " "ABSOLUTE address"); else { - abs_seg = reloc_seg(e); + // abs_seg = reloc_seg(e); abs_offset = reloc_value(e); } } else @@ -960,7 +959,7 @@ static void assemble_file (char *fname) else report_error (ERR_PANIC, "invalid ABSOLUTE address " "in pass two"); in_abs_seg = TRUE; - location.segment = abs_seg; + location.segment = NO_SEG; break; case 7: /* DEBUG */ p = value; |