From b874ec56b522eade18b38fbf9dba177d26879f6a Mon Sep 17 00:00:00 2001 From: Zack Buhman Date: Sun, 19 May 2024 08:22:05 -0500 Subject: [PATCH] common: remove subalign from data/rodata SUBALIGN in the linker script overrides __attribute__((aligned(...))) --- common.lds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.lds b/common.lds index 37ff231..767f014 100644 --- a/common.lds +++ b/common.lds @@ -16,13 +16,13 @@ SECTIONS *(.text) } > p1ram - .data ALIGN(4) : SUBALIGN(4) + .data ALIGN(4) : { *(.data) *(.data.*) } > p1ram - .rodata ALIGN(4) : SUBALIGN(4) + .rodata ALIGN(4) : { *(.rodata) *(.rodata.*)