-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
216: Add unwind information to external assembly r=jonas-schievink a=Tiwalun Add unwind information to the external assembly files, as discussed in #215. The `.debug_frame` section is now present: ``` cortex-m.o (ex bin/thumbv6m-none-eabi.a): section size addr .text 0x0 0x0 .data 0x0 0x0 .bss 0x0 0x0 .text.__bkpt 0x4 0x0 .text.__control_r 0x6 0x0 .text.__control_w 0x6 0x0 .text.__cpsid 0x4 0x0 .text.__cpsie 0x4 0x0 .text.__delay 0x8 0x0 .text.__dmb 0x6 0x0 .text.__dsb 0x6 0x0 .text.__isb 0x6 0x0 .text.__msp_r 0x6 0x0 .text.__msp_w 0x6 0x0 .text.__nop 0x2 0x0 .text.__primask 0x6 0x0 .text.__psp_r 0x6 0x0 .text.__psp_w 0x6 0x0 .text.__sev 0x4 0x0 .text.__udf 0x2 0x0 .text.__wfe 0x4 0x0 .text.__wfi 0x4 0x0 .debug_line 0x161 0x0 .debug_info 0x22 0x0 .debug_abbrev 0x12 0x0 .debug_aranges 0xb0 0x0 .debug_str 0x30 0x0 .debug_ranges 0xa8 0x0 .debug_frame 0x140 0x0 .ARM.attributes 0x1c 0x0 Total 0x4d9 ``` Co-authored-by: Dominik Boehi <dominik.boehi@gmail.com>
- Loading branch information
Showing
12 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,41 @@ | ||
.cfi_sections .debug_frame | ||
|
||
.section .text.__basepri_max | ||
.global __basepri_max | ||
.thumb_func | ||
.cfi_startproc | ||
__basepri_max: | ||
msr BASEPRI_MAX, r0 | ||
bx lr | ||
.cfi_endproc | ||
.size __basepri_max, . - __basepri_max | ||
|
||
.section .text.__basepri_r | ||
.global __basepri_r | ||
.thumb_func | ||
.cfi_startproc | ||
__basepri_r: | ||
mrs r0, BASEPRI | ||
bx lr | ||
.cfi_endproc | ||
.size __basepri_r, . - __basepri_r | ||
|
||
.section .text.__basepri_w | ||
.global __basepri_w | ||
.thumb_func | ||
.cfi_startproc | ||
__basepri_w: | ||
msr BASEPRI, r0 | ||
bx lr | ||
.cfi_endproc | ||
.size __basepri_w, . - __basepri_w | ||
|
||
.section .text.__faultmask | ||
.global __faultmask | ||
.thumb_func | ||
.cfi_startproc | ||
__faultmask: | ||
mrs r0, FAULTMASK | ||
bx lr | ||
.cfi_endproc | ||
.size __faultmask, . - __faultmask |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,43 @@ | ||
|
||
.cfi_sections .debug_frame | ||
|
||
.section .text.__msplim_r | ||
.global __msplim_r | ||
.thumb_func | ||
.cfi_startproc | ||
__msplim_r: | ||
mrs r0, MSPLIM | ||
bx lr | ||
.cfi_endproc | ||
.size __msplim_r, . - __msplim_r | ||
|
||
.section .text.__msplim_w | ||
.global __msplim_w | ||
.thumb_func | ||
.cfi_startproc | ||
__msplim_w: | ||
msr MSPLIM, r0 | ||
bx lr | ||
.cfi_endproc | ||
.size __msplim_w, . - __msplim_w | ||
|
||
.section .text.__psplim_r | ||
.global __psplim_r | ||
.thumb_func | ||
.cfi_startproc | ||
__psplim_r: | ||
mrs r0, PSPLIM | ||
bx lr | ||
.cfi_endproc | ||
.size __psplim_r, . - __psplim_r | ||
|
||
.section .text.__psplim_w | ||
.global __psplim_w | ||
.thumb_func | ||
.cfi_startproc | ||
__psplim_w: | ||
msr PSPLIM, r0 | ||
bx lr | ||
.cfi_endproc | ||
.size __psplim_w, . - __psplim_w | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,42 @@ | ||
.cfi_sections .debug_frame | ||
|
||
.section .text.__tt | ||
.global __tt | ||
.thumb_func | ||
.cfi_startproc | ||
__tt: | ||
tt r0, r0 | ||
bx lr | ||
.cfi_endproc | ||
.size __tt, . - __tt | ||
|
||
.section .text.__ttt | ||
.global __ttt | ||
.thumb_func | ||
.cfi_startproc | ||
__ttt: | ||
ttt r0, r0 | ||
bx lr | ||
.cfi_endproc | ||
.size __ttt, . - __ttt | ||
|
||
.section .text.__tta | ||
.global __tta | ||
.thumb_func | ||
.cfi_startproc | ||
__tta: | ||
tta r0, r0 | ||
bx lr | ||
.cfi_endproc | ||
.size __tta, . - __tta | ||
|
||
|
||
.section .text.__ttat | ||
.global __ttat | ||
.thumb_func | ||
.cfi_startproc | ||
__ttat: | ||
ttat r0, r0 | ||
bx lr | ||
.cfi_endproc | ||
.size __ttat, . - __ttat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.