Write common symbol align in asm
This commit is contained in:
parent
8200ee7649
commit
d272b5dce8
|
@ -172,7 +172,7 @@ pub fn write_asm<W: Write>(w: &mut W, obj: &ObjInfo) -> Result<()> {
|
||||||
}
|
}
|
||||||
write!(w, ".comm ")?;
|
write!(w, ".comm ")?;
|
||||||
write_symbol_name(w, &symbol.name)?;
|
write_symbol_name(w, &symbol.name)?;
|
||||||
writeln!(w, ", {:#X}, 4", symbol.size)?;
|
writeln!(w, ", {:#X}, {}", symbol.size, symbol.align.unwrap_or(4))?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue