Skip to content

Commit 8bf70f5

Browse files
Preserve lr and add debuginfo
1 parent e734afb commit 8bf70f5

File tree

8 files changed

+4
-0
lines changed

8 files changed

+4
-0
lines changed

cortex-m-rt/asm.S

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ Reset:
9494
#endif
9595

9696
4:
97+
.cfi_def_cfa sp, 0
98+
push {lr}
99+
.cfi_offset lr, 0
100+
97101
# Jump to user main function. We use bl for the extended range, but the
98102
# user main function may not return.
99103
bl main
1.09 KB
Binary file not shown.
1.12 KB
Binary file not shown.
1.13 KB
Binary file not shown.
1.12 KB
Binary file not shown.
1.09 KB
Binary file not shown.
1.12 KB
Binary file not shown.
1.13 KB
Binary file not shown.

0 commit comments

Comments
 (0)