[SDK] Properly put assembly debug info into .debug_frame section

For some reason, the default is to put it into .eh_frame where objcopy & al happily ignore them
This commit is contained in:
Jérôme Gardou 2021-03-02 12:58:21 +01:00
parent a0e5c3d862
commit 7fb6030e05

View file

@ -235,6 +235,9 @@ ENDM
/* Force intel syntax */
.intel_syntax noprefix
/* Put dwarf debug info in the .dwarf_debug section, which will be properly stripped */
.cfi_sections .debug_frame
.altmacro
/* Explicit radix in GAS syntax */