summaryrefslogtreecommitdiff
path: root/nasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'nasm.c')
-rw-r--r--nasm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nasm.c b/nasm.c
index 5274c07..e3cf2bd 100644
--- a/nasm.c
+++ b/nasm.c
@@ -59,10 +59,10 @@ 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;
+long abs_seg;
static struct RAA *offsets;
-static long abs_offset;
+long abs_offset;
static struct SAA *forwrefs; /* keep track of forward references */
static struct forwrefinfo *forwref;
@@ -972,7 +972,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;