Skip to content

Commit

Permalink
x86/boot/compressed: Add missing debugging sections to output
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Kees Cook authored and Ingo Molnar committed Sep 1, 2020
1 parent d1c0272 commit 414d2ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/x86/boot/compressed/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ SECTIONS
. = ALIGN(PAGE_SIZE); /* keep ZO size page aligned */
_end = .;

STABS_DEBUG
DWARF_DEBUG
ELF_DETAILS

DISCARDS
Expand Down

0 comments on commit 414d2ff

Please sign in to comment.