diff --git a/src/lib/rmodule.ld b/src/lib/rmodule.ld index 009caa6835..f27f61c313 100644 --- a/src/lib/rmodule.ld +++ b/src/lib/rmodule.ld @@ -53,11 +53,11 @@ SECTIONS *(.bs_init) _bs_init_end = .; - . = ALIGN(4); + . = ALIGN(8); *(.rodata); *(.rodata.*); - . = ALIGN(4); + . = ALIGN(8); /* The parameters section can be used to pass parameters * to a module, however there has to be an prior agreement @@ -71,7 +71,7 @@ SECTIONS _sdata = .; *(.data); *(.data.*); - . = ALIGN(4); + . = ALIGN(8); _edata = .; . = ALIGN(8);