aboutsummaryrefslogtreecommitdiff
path: root/src/target.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/target.rs')
-rw-r--r--src/target.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/target.rs b/src/target.rs
index 95dc7b6..5e298e6 100644
--- a/src/target.rs
+++ b/src/target.rs
@@ -151,7 +151,10 @@ __pre_init:
# debugger, perhaps).
cmp r2, #0
beq 1000f
+
+ zero_section64 0x00 , 0x20
zero_section64 __estack , __sstack
+ zero_section64 __svector_table_pad , __evector_table_pad
maybe_zero_section64 __svector_table , __sivector_table , __evector_table
maybe_zero_section64 __stext , __sitext , __etext
maybe_zero_section64 __srodata , __sirodata , __erodata
@@ -160,6 +163,10 @@ __pre_init:
zero_section64 __suninit , __euninit
zero_section64 __sheap , __eheap
+ zero_section64 __sitcm_unused , __eitcm_unused
+ zero_section64 __sdtcm_unused , __edtcm_unused
+ zero_section64 __socram_unused , __eocram_unused
+
b 1000f
1180: