projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0e5c3d
)
[SDK] Properly put assembly debug info into .debug_frame section
author
Jérôme Gardou
<jerome.gardou@reactos.org>
Tue, 2 Mar 2021 11:58:21 +0000
(12:58 +0100)
committer
Jérôme Gardou
<jerome.gardou@reactos.org>
Tue, 2 Mar 2021 13:36:38 +0000
(14:36 +0100)
For some reason, the default is to put it into .eh_frame where objcopy & al happily ignore them
sdk/include/asm/asm.inc
patch
|
blob
|
history
diff --git
a/sdk/include/asm/asm.inc
b/sdk/include/asm/asm.inc
index
b3b265e
..
d13b06e
100644
(file)
--- a/
sdk/include/asm/asm.inc
+++ b/
sdk/include/asm/asm.inc
@@
-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 */