summaryrefslogtreecommitdiff
path: root/output/outaout.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2010-02-11 21:23:50 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2010-02-11 21:28:30 +0300
commit9b66d8e4c3030474a75e598f699eccc118a3d651 (patch)
tree9bba8cb1f9bab97632d0c6b3a07e18d7fc20f217 /output/outaout.c
parent89fe355ad00d49aa0a8514a76dfd0745d29cfd09 (diff)
downloadnasm-9b66d8e4c3030474a75e598f699eccc118a3d651.tar.gz
Use ALIGN helper
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'output/outaout.c')
-rw-r--r--output/outaout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outaout.c b/output/outaout.c
index e2a9075f..31ce5b5e 100644
--- a/output/outaout.c
+++ b/output/outaout.c
@@ -757,7 +757,7 @@ static void aout_pad_sections(void)
*/
aout_sect_write(&stext, pad, (-(int32_t)stext.len) & 3);
aout_sect_write(&sdata, pad, (-(int32_t)sdata.len) & 3);
- sbss.len = (sbss.len + 3) & ~3;
+ sbss.len = ALIGN(sbss.len, 4);
}
/*