summaryrefslogtreecommitdiff
path: root/nasm.h
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2010-04-21 00:51:22 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2010-04-21 01:08:36 +0400
commit2a587ab1c98134ceb81c2b7a1e723728d6a62407 (patch)
tree39f8b81e8304ab598bed4d25246e594a0be36ae3 /nasm.h
parentd5f2aef30abcba734c51abdadf3255a6f4bd5be9 (diff)
downloadnasm-2a587ab1c98134ceb81c2b7a1e723728d6a62407.tar.gz
nasm-2a587ab1c98134ceb81c2b7a1e723728d6a62407.tar.bz2
nasm-2a587ab1c98134ceb81c2b7a1e723728d6a62407.zip
ofmt: Implement null_segalign stubs
Set stubs for all targets Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'nasm.h')
-rw-r--r--nasm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/nasm.h b/nasm.h
index 5d5aae7..9b6ced8 100644
--- a/nasm.h
+++ b/nasm.h
@@ -682,6 +682,12 @@ struct ofmt {
int32_t (*section) (char *name, int pass, int *bits);
/*
+ * This procedure is called to modify segment alignment,
+ * there is a trick, the alignment can only increase
+ */
+ void (*segalign)(int32_t seg, int value);
+
+ /*
* This procedure is called to modify the segment base values
* returned from the SEG operator. It is given a segment base
* value (i.e. a segment value with the low bit set), and is