summaryrefslogtreecommitdiff
path: root/nasm.c
diff options
context:
space:
mode:
authorDebbie Wiles <debs@dwiles.demon.co.uk>2002-05-26 21:08:39 +0000
committerDebbie Wiles <debs@dwiles.demon.co.uk>2002-05-26 21:08:39 +0000
commitf1a3f94d450a0efc3601a15ae850e5ec3afeac0b (patch)
tree231855615e8ac672d5d4bd940033bcd7cdb4a27f /nasm.c
parent667dd804e651001c60f0e0b8dc3d08ec3ebeb0ee (diff)
downloadnasm-f1a3f94d450a0efc3601a15ae850e5ec3afeac0b.tar.gz
nasm-f1a3f94d450a0efc3601a15ae850e5ec3afeac0b.tar.bz2
nasm-f1a3f94d450a0efc3601a15ae850e5ec3afeac0b.zip
Reversed a change in 1.27 that affects ABSOLUTE.
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;