diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2010-02-11 21:49:58 +0300 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2010-02-11 21:49:58 +0300 |
commit | 6fe313a719a9a5ea03741354e04c5ceca019f994 (patch) | |
tree | 7c257678394ab4a09bd0106e937a058ccbf09721 /output | |
parent | c56d9ad350684c0b8963d2d370fa1c53718f5548 (diff) | |
download | nasm-6fe313a719a9a5ea03741354e04c5ceca019f994.tar.gz nasm-6fe313a719a9a5ea03741354e04c5ceca019f994.tar.bz2 nasm-6fe313a719a9a5ea03741354e04c5ceca019f994.zip |
output/outbin.c: Fix misprinted alignment bound
Due to a misprint in commit
9b66d8e4c3030474a75e598f699eccc118a3d651
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'output')
-rw-r--r-- | output/outbin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outbin.c b/output/outbin.c index 9b1bd6a..332d84e 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; } |