From a3c8c061e270dd5f3061072f14249e4766bc752c Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 31 Jul 2024 22:22:31 -0600 Subject: [PATCH] kernel: Add new dwarf symbols Add new symbols defined in dwarf 4 and dwarf 5. Submitted by: Matt Macy (in D17982, done differently) Sponsored by: Netflix Reviewed by: kib, markj, emaste Differential Revision: https://reviews.freebsd.org/D44072 --- sys/conf/debuginfo.ldscript | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/conf/debuginfo.ldscript b/sys/conf/debuginfo.ldscript index 1f7ede57ced0..a131afb1d4ad 100644 --- a/sys/conf/debuginfo.ldscript +++ b/sys/conf/debuginfo.ldscript @@ -34,3 +34,8 @@ /* DWARF 3 */ .debug_pubtypes 0 : { *(.debug_pubtypes) } .debug_ranges 0 : { *(.debug_ranges) } + /* DWARF 4 */ + .debug_types 0 : { *(.debug_types) } + /* DWARF 5 */ + .debug_macro 0 : { *(.debug_macro) } + .debug_addr 0 : { *(.debug_addr) }