[Skiboot] [PATCH] skiboot.lds.S: add DWARF v5 sections
Cédric Le Goater
clg at kaod.org
Wed Nov 3 02:43:03 AEDT 2021
This fixes "orphan section" warnings when linking skiboot.
Signed-off-by: Cédric Le Goater <clg at kaod.org>
---
skiboot.lds.S | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/skiboot.lds.S b/skiboot.lds.S
index 5a7f9e31646c..11613842e265 100644
--- a/skiboot.lds.S
+++ b/skiboot.lds.S
@@ -45,9 +45,11 @@
/* DWARF 3 */ \
.debug_pubtypes 0 : { *(.debug_pubtypes) } \
.debug_ranges 0 : { *(.debug_ranges) } \
- /* DWARF Extension. */ \
+ /* DWARF 5 */ \
.debug_macro 0 : { *(.debug_macro) } \
- .debug_addr 0 : { *(.debug_addr) }
+ .debug_addr 0 : { *(.debug_addr) } \
+ .debug_rnglists 0 : { *(.debug_rnglists) } \
+ .debug_loclists 0 : { *(.debug_loclists) }
ENTRY(boot_entry);
SECTIONS
--
2.31.1
More information about the Skiboot
mailing list