]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ld/Visium: use misc-sections.sc
authorJan Beulich <jbeulich@suse.com>
Fri, 6 Feb 2026 07:51:04 +0000 (08:51 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 6 Feb 2026 07:51:04 +0000 (08:51 +0100)
It's not clear why it would want partially (i.e. incompletely) open-
coding here.

ld/scripttempl/visium.sc

index c4f2e186b6ee1c7820cc0f3595eae53fdf3647c1..a11e7de4d7aa89d6474042e09c8d949319f47d8e 100644 (file)
@@ -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