xref: /netbsd-src/external/gpl3/binutils/dist/ld/scripttempl/misc-sections.sc (revision cb63e24e8d6aae7ddac1859a9015f48b1d8bd90e)
1# Copyright (C) 2014-2024 Free Software Foundation, Inc.
2#
3# Copying and distribution of this file, with or without modification,
4# are permitted in any medium without royalty provided the copyright
5# notice and this notice are preserved.
6#
7cat <<EOF
8  /* Stabs debugging sections.  */
9  .stab          0 : { *(.stab) }
10  .stabstr       0 : { *(.stabstr) }
11  .stab.excl     0 : { *(.stab.excl) }
12  .stab.exclstr  0 : { *(.stab.exclstr) }
13  .stab.index    0 : { *(.stab.index) }
14  .stab.indexstr 0 : { *(.stab.indexstr) }
15
16  .comment 0 (INFO) : { *(.comment); LINKER_VERSION; }
17
18  .gnu.build.attributes : { *(.gnu.build.attributes${RELOCATING+ .gnu.build.attributes.*}) }
19
20EOF
21