diff options
| author | Nick Desaulniers <[email protected]> | 2021-02-05 20:22:18 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2021-02-16 03:01:45 +0000 |
| commit | 3c4fa46b30c551b1df2fb1574a684f68bc22067c (patch) | |
| tree | 479167e03b0f9c5918965a204a6b6c76e3afd0e9 /scripts/clang-tools | |
| parent | Kbuild: Make composite object searching more generic (diff) | |
| download | kernel-3c4fa46b30c551b1df2fb1574a684f68bc22067c.tar.gz kernel-3c4fa46b30c551b1df2fb1574a684f68bc22067c.zip | |
vmlinux.lds.h: add DWARF v5 sections
We expect toolchains to produce these new debug info sections as part of
DWARF v5. Add explicit placements to prevent the linker warnings from
--orphan-section=warn.
Compilers may produce such sections with explicit -gdwarf-5, or based on
the implicit default version of DWARF when -g is used via DEBUG_INFO.
This implicit default changes over time, and has changed to DWARF v5
with GCC 11.
.debug_sup was mentioned in review, but without compilers producing it
today, let's wait to add it until it becomes necessary.
Cc: [email protected]
Link: https://bugzilla.redhat.com/show_bug.cgi?id=1922707
Reported-by: Chris Murphy <[email protected]>
Suggested-by: Fangrui Song <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Reviewed-by: Mark Wielaard <[email protected]>
Tested-by: Sedat Dilek <[email protected]>
Signed-off-by: Nick Desaulniers <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/clang-tools')
0 files changed, 0 insertions, 0 deletions
