arm64/build: Add missing DWARF sections
authorKees Cook <keescook@chromium.org>
Fri, 21 Aug 2020 19:42:53 +0000 (12:42 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 1 Sep 2020 07:50:36 +0000 (09:50 +0200)
Explicitly include DWARF sections when they're present in the build.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20200821194310.3089815-13-keescook@chromium.org
arch/arm64/kernel/vmlinux.lds.S

index 082e9efa2b439bccb608201453d56a34fd90910c..16eb2ef806cdc75042af155b842eceb140b1e91a 100644 (file)
@@ -239,6 +239,7 @@ SECTIONS
        _end = .;
 
        STABS_DEBUG
+       DWARF_DEBUG
        ELF_DETAILS
 
        HEAD_SYMBOLS