Write common symbol align in asm

This commit is contained in:
Luke Street 2023-08-15 09:36:45 -04:00
parent 8200ee7649
commit d272b5dce8
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ pub fn write_asm<W: Write>(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))?;
}
}