mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-25 18:10:23 +08:00
output/outbin.c: Fix misprinted alignment bound
Due to a misprint in commit 9b66d8e4c3030474a75e598f699eccc118a3d651 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
c56d9ad350
commit
6fe313a719
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user