summaryrefslogtreecommitdiff
path: root/nasm.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-03 21:30:57 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-03 21:30:57 -0700
commit12e46510bc185fff839530bba0c7becaaf307037 (patch)
tree79f9a970aeb4d224f5ad8113e6ebfd9e84911c0a /nasm.c
parentbfc17121378b315399f1df25e902f40884ba7506 (diff)
downloadnasm-12e46510bc185fff839530bba0c7becaaf307037.tar.gz
nasm-12e46510bc185fff839530bba0c7becaaf307037.tar.bz2
nasm-12e46510bc185fff839530bba0c7becaaf307037.zip
Change cloc_t to struct location, and reorder the members
Change cloc_t to struct location, and reorder the members so that it should fit in 16 bytes instead of needing 8 bytes of extra padding on 64-bit machines.
Diffstat (limited to 'nasm.c')
-rw-r--r--nasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nasm.c b/nasm.c
index ffed1e7..726fd09 100644
--- a/nasm.c
+++ b/nasm.c
@@ -69,7 +69,7 @@ static uint32_t cmd_cpu = IF_PLEVEL; /* highest level by default */
static uint32_t cpu = IF_PLEVEL; /* passed to insn_size & assemble.c */
int global_offset_changed; /* referenced in labels.c */
-static cloc_t location;
+static struct location location;
int in_abs_seg; /* Flag we are in ABSOLUTE seg */
int32_t abs_seg; /* ABSOLUTE segment basis */
int32_t abs_offset; /* ABSOLUTE offset */