summaryrefslogtreecommitdiff
path: root/core/cortex-m
diff options
context:
space:
mode:
Diffstat (limited to 'core/cortex-m')
-rw-r--r--core/cortex-m/ec.lds.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S
index 7315740391..5cbc18d527 100644
--- a/core/cortex-m/ec.lds.S
+++ b/core/cortex-m/ec.lds.S
@@ -39,6 +39,10 @@ SECTIONS
. = ALIGN(4);
__version_struct_offset = .;
KEEP(*(.rodata.ver))
+
+ . = ALIGN(4);
+ KEEP(*(.rodata.pstate))
+
#ifdef SHIFT_CODE_FOR_TEST
. = ALIGN(256);
#else