summaryrefslogtreecommitdiff
path: root/nasm.h
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.h
parentbfc17121378b315399f1df25e902f40884ba7506 (diff)
downloadnasm-12e46510bc185fff839530bba0c7becaaf307037.tar.gz
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.h')
-rw-r--r--nasm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/nasm.h b/nasm.h
index 92708bc1..068049b4 100644
--- a/nasm.h
+++ b/nasm.h
@@ -190,11 +190,11 @@ enum floatize {
FLOAT_128H,
};
-typedef struct {
- int32_t segment;
+struct location {
int64_t offset;
+ int32_t segment;
int known;
-} cloc_t;
+};
/*
* Expression-evaluator datatype. Expressions, within the