From c6295f043a91f08dde7cd590b914fbf503091afa Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Tue, 8 Jul 2025 13:51:21 +0200 Subject: [PATCH] Fixed unaligned access report by user (Cortex-A5) --- arch.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch.mk b/arch.mk index a8f477368f..48c7740984 100644 --- a/arch.mk +++ b/arch.mk @@ -272,7 +272,8 @@ ifeq ($(ARCH),ARM) ifeq ($(CORTEX_A5),1) FPU=-mfpu=vfp4-d16 - CFLAGS+=-mcpu=cortex-a5 -mtune=cortex-a5 -static -z noexecstack + CFLAGS+=-mcpu=cortex-a5 -mtune=cortex-a5 -static -z noexecstack \ + -mno-unaligned-access LDLAGS+=-mcpu=cortex-a5 -mtune=cortex-a5 -mtune=cortex-a5 -static \ -z noexecstack -Ttext 0x300000 # Cortex-A uses boot_arm32.o