]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/scripttempl/elfarc.sc
Add --enable-linker-version option to bfd linker to add an entry in the .comment...
[thirdparty/binutils-gdb.git] / ld / scripttempl / elfarc.sc
index 1d3c043a4d798a145a328c29f5322a8852abd060..ccba4a1113d54964a5b731fb8d8bc0d0161c6827 100644 (file)
@@ -409,19 +409,7 @@ test -n "${RELOCATING}" && cat <<EOF
   }
 EOF
 
-cat <<EOF
-  /* 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) }
-  .note.gnu.build-id : { *(.note.gnu.build-id) }
-EOF
-
+. $srcdir/scripttempl/misc-sections.sc
 . $srcdir/scripttempl/DWARF.sc
 
 cat <<EOF