cortex_m: secure_entry_functions.ld: Increase SAU alignment to 32
The spec requires SAU regions to be aligned on 32 bytes. Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
This commit is contained in:
parent
81e7608c03
commit
407ebf8132
|
@ -19,12 +19,13 @@
|
|||
#if CONFIG_ARM_NSC_REGION_BASE_ADDRESS != 0
|
||||
#define NSC_ALIGN . = ABSOLUTE(CONFIG_ARM_NSC_REGION_BASE_ADDRESS)
|
||||
#else
|
||||
#define NSC_ALIGN . = ALIGN(4)
|
||||
/* The ARM SAU requires regions to be 32-byte-aligned. */
|
||||
#define NSC_ALIGN . = ALIGN(32)
|
||||
#endif /* CONFIG_ARM_NSC_REGION_BASE_ADDRESS */
|
||||
#endif /* !NSC_ALIGN */
|
||||
|
||||
#ifndef NSC_ALIGN_END
|
||||
#define NSC_ALIGN_END . = ALIGN(4)
|
||||
#define NSC_ALIGN_END . = ALIGN(32)
|
||||
#endif
|
||||
|
||||
SECTION_PROLOGUE(.gnu.sgstubs,,)
|
||||
|
|
Loading…
Reference in a new issue