Skip to content

Commit 414d2ff

Browse files
keesingomolnar
authored andcommitted
x86/boot/compressed: Add missing debugging sections to output
Include the missing DWARF and STABS sections in the compressed image, when they are present. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20200821194310.3089815-29-keescook@chromium.org
1 parent d1c0272 commit 414d2ff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/x86/boot/compressed/vmlinux.lds.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ SECTIONS
6969
. = ALIGN(PAGE_SIZE); /* keep ZO size page aligned */
7070
_end = .;
7171

72+
STABS_DEBUG
73+
DWARF_DEBUG
7274
ELF_DETAILS
7375

7476
DISCARDS

0 commit comments

Comments
 (0)