diff --git a/arch/aarch64/linker.lds.S b/arch/aarch64/linker.lds.S index 79e29bf..30de9b0 100644 --- a/arch/aarch64/linker.lds.S +++ b/arch/aarch64/linker.lds.S @@ -50,21 +50,22 @@ SECTIONS } #endif - .rodata ALIGN(4) : { + .rodata ALIGN(8) : { *(.rodata) *(.rodata.*) } - .data ALIGN(4) : { + .data ALIGN(8) : { *(.data) *(.data.*) } - .bss ALIGN(4) : { + .bss ALIGN(8) : { __bss_start = .; *(.bss) *(.bss.*) *(COMMON) + . = ALIGN(8); __bss_end = .; }