diff options
Diffstat (limited to 'output')
-rw-r--r-- | output/outelf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outelf.c b/output/outelf.c index 9ec0035..bfbf625 100644 --- a/output/outelf.c +++ b/output/outelf.c @@ -76,7 +76,7 @@ void section_attrib(char *name, char *attr, int pass, return; while ((opt = nasm_opt_val(opt, &val, &next))) { - if (!nasm_stricmp(opt, "align")) { + if (!nasm_stricmp(opt, "align") && val) { *align = atoi(val); if (*align == 0) { *align = SHA_ANY; |