From 86a159a1eb56d6f5e85b47c33ff176784117cc69 Mon Sep 17 00:00:00 2001 From: Kildemal <206095739+izrofid@users.noreply.github.com> Date: Sun, 15 Feb 2026 20:33:12 +0530 Subject: [PATCH] chore(linker): add dwarf5 line number section to ld script (#2235) --- ld_script_modern.ld | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ld_script_modern.ld b/ld_script_modern.ld index 788a5736f0..b0eab17c73 100644 --- a/ld_script_modern.ld +++ b/ld_script_modern.ld @@ -150,6 +150,9 @@ SECTIONS { .debug_loc 0 : { *(.debug_loc) } .debug_macinfo 0 : { *(.debug_macinfo) } + /* DWARF 5*/ + .debug_line_str 0 : { *(.debug_line_str) } + /* Discard everything not specifically mentioned above. */ /DISCARD/ : {