From 6fe313a719a9a5ea03741354e04c5ceca019f994 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Thu, 11 Feb 2010 21:49:58 +0300 Subject: output/outbin.c: Fix misprinted alignment bound Due to a misprint in commit 9b66d8e4c3030474a75e598f699eccc118a3d651 Signed-off-by: Cyrill Gorcunov --- output/outbin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/outbin.c b/output/outbin.c index 9b1bd6ab..332d84e7 100644 --- a/output/outbin.c +++ b/output/outbin.c @@ -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; } -- cgit v1.2.1