booster: ld: align bss to 4-byte boundary

We need to ensure the bss ends on a 4-byte boundary, otherwise
we may hit an alignment issue.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2019-08-28 09:56:27 +08:00
parent a4f8276c48
commit e13755fff0

View File

@ -42,6 +42,7 @@ SECTIONS
*(.rodata .rodata.* .gnu.linkonce.r.*)
*(.rodata1)
*(.srodata)
. = ALIGN(4);
_erodata = .;
. = ALIGN(4);