Automatic date update in version.in
[binutils-gdb.git] / ld / scripttempl / DWARF.sc
blob04a1562315dca8013a2526ec31b29e7eba49468d
1 # Copyright (C) 2014-2022 Free Software Foundation, Inc.
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.
7 cat <<EOF
8   /* DWARF debug sections.
9      Symbols in the DWARF debugging sections are relative to the beginning
10      of the section so we begin them at 0.  */
12   /* DWARF 1.  */
13   .debug          0 : { *(.debug) }
14   .line           0 : { *(.line) }
16   /* GNU DWARF 1 extensions.  */
17   .debug_srcinfo  0 : { *(.debug_srcinfo) }
18   .debug_sfnames  0 : { *(.debug_sfnames) }
20   /* DWARF 1.1 and DWARF 2.  */
21   .debug_aranges  0 : { *(.debug_aranges) }
22   .debug_pubnames 0 : { *(.debug_pubnames) }
24   /* DWARF 2.  */
25   .debug_info     0 : { *(.debug_info${RELOCATING+ .gnu.linkonce.wi.*}) }
26   .debug_abbrev   0 : { *(.debug_abbrev) }
27   .debug_line     0 : { *(.debug_line${RELOCATING+ .debug_line.* .debug_line_end}) }
28   .debug_frame    0 : { *(.debug_frame) }
29   .debug_str      0 : { *(.debug_str) }
30   .debug_loc      0 : { *(.debug_loc) }
31   .debug_macinfo  0 : { *(.debug_macinfo) }
33   /* SGI/MIPS DWARF 2 extensions.  */
34   .debug_weaknames 0 : { *(.debug_weaknames) }
35   .debug_funcnames 0 : { *(.debug_funcnames) }
36   .debug_typenames 0 : { *(.debug_typenames) }
37   .debug_varnames  0 : { *(.debug_varnames) }
39   /* DWARF 3.  */
40   .debug_pubtypes 0 : { *(.debug_pubtypes) }
41   .debug_ranges   0 : { *(.debug_ranges) }
43   /* DWARF 5.  */
44   .debug_addr     0 : { *(.debug_addr) }
45   .debug_line_str 0 : { *(.debug_line_str) }
46   .debug_loclists 0 : { *(.debug_loclists) }
47   .debug_macro    0 : { *(.debug_macro) }
48   .debug_names    0 : { *(.debug_names) }
49   .debug_rnglists 0 : { *(.debug_rnglists) }
50   .debug_str_offsets 0 : { *(.debug_str_offsets) }
51   .debug_sup      0 : { *(.debug_sup) }
52 EOF