[binutils-gdb] ld/Visium: use misc-sections.sc

Jan Beulich jbeulich@sourceware.org
Fri Feb 6 07:55:27 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=898e7a8fcbafc115fdd1de9c04920bbc7738bced

commit 898e7a8fcbafc115fdd1de9c04920bbc7738bced
Author: Jan Beulich <jbeulich@suse.com>
Date:   Fri Feb 6 08:51:04 2026 +0100

    ld/Visium: use misc-sections.sc
    
    It's not clear why it would want partially (i.e. incompletely) open-
    coding here.

Diff:
---
 ld/scripttempl/visium.sc | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/ld/scripttempl/visium.sc b/ld/scripttempl/visium.sc
index c4f2e186b6e..a11e7de4d7a 100644
--- 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-cvs mailing list