output/outbin.c: Fix misprinted alignment bound

Due to a misprint in commit
9b66d8e4c3

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2010-02-11 21:49:58 +03:00
parent c56d9ad350
commit 6fe313a719

View File

@ -396,7 +396,7 @@ static void bin_cleanup(int debuginfo)
nasm_error(ERR_FATAL|ERR_NOFILE, "section %s begins"
" before program origin", sections->name);
} else if (sections->flags & ALIGN_DEFINED) {
sections->start = ALIGN(origin, sections->align - 1);
sections->start = ALIGN(origin, sections->align);
} else {
sections->start = origin;
}