diff --git a/src/util/asm.rs b/src/util/asm.rs index cf67112..a071152 100644 --- a/src/util/asm.rs +++ b/src/util/asm.rs @@ -172,7 +172,7 @@ pub fn write_asm(w: &mut W, obj: &ObjInfo) -> Result<()> { } write!(w, ".comm ")?; write_symbol_name(w, &symbol.name)?; - writeln!(w, ", {:#X}, 4", symbol.size)?; + writeln!(w, ", {:#X}, {}", symbol.size, symbol.align.unwrap_or(4))?; } }