[PATCH 1/2] ld/Visium: use misc-sections.sc
Jan Beulich
jbeulich@suse.com
Thu Jan 29 07:16:31 GMT 2026
It's not clear why it would want partially (i.e. incompletely) open-
coding here.
---
mmo.sc also open-codes .stab*, while leaving out .comment altogether.
--- a/ld/scripttempl/visium.sc
+++ b/ld/scripttempl/visium.sc
@@ -155,18 +155,9 @@ SECTIONS
${RELOCATING+ unitidentry = .;}
} ${RELOCATING+ > saferam}
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
-
- .comment 0 : { *(.comment); LINKER_VERSION; }
-
EOF
+source_sh $srcdir/scripttempl/misc-sections.sc
source_sh $srcdir/scripttempl/DWARF.sc
cat <<EOF
More information about the Binutils
mailing list