zephyr/cmake/linker_script/arm
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tobias Aguiar c456d2b127 arch: arm: cortex_m: linker: preserve input section alignment for ITCM
Replace SUBALIGN with ALIGN on the ITCM output section. This mirrors the
DTCM fix in commit de3deb75d4 ("fix: DTCM section alignment for DMA TCD
pool", upstream #107114, issue #107058).

SUBALIGN does not just align the start of the output section. It also
forces every input section assigned to that output section to a 4-byte
alignment boundary. This overrides any stricter or different alignment
requirements specified by the input sections themselves.

Use ALIGN instead so the ITCM output sections still start on a
4-byte boundary while preserving the original alignment requirements of
their input sections.

Signed-off-by: Tobias Aguiar <tobias.aguiarsilvadealmeida@nxp.com>
2026-08-12 12:58:29 -04:00
..
linker.cmake arch: arm: cortex_m: linker: preserve input section alignment for ITCM 2026-08-12 12:58:29 -04:00