Skip to content

Commit c6295f0

Browse files
committed
Fixed unaligned access report by user (Cortex-A5)
1 parent 80f9e99 commit c6295f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@ ifeq ($(ARCH),ARM)
272272

273273
ifeq ($(CORTEX_A5),1)
274274
FPU=-mfpu=vfp4-d16
275-
CFLAGS+=-mcpu=cortex-a5 -mtune=cortex-a5 -static -z noexecstack
275+
CFLAGS+=-mcpu=cortex-a5 -mtune=cortex-a5 -static -z noexecstack \
276+
-mno-unaligned-access
276277
LDLAGS+=-mcpu=cortex-a5 -mtune=cortex-a5 -mtune=cortex-a5 -static \
277278
-z noexecstack -Ttext 0x300000
278279
# Cortex-A uses boot_arm32.o

0 commit comments

Comments
 (0)