]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/scripttempl/misc-sections.sc
Re: Add --enable-linker-verssion
[thirdparty/binutils-gdb.git] / ld / scripttempl / misc-sections.sc
1 # Copyright (C) 2014-2023 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 #
7 cat <<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
20 EOF