Add some more DWARF-5 sections

This commit is contained in:
Fangrui Song 2021-01-25 11:35:57 +00:00 committed by Nick Clifton
parent 04de9f3e31
commit 9e42b97628
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2021-01-25 Fangrui Song <maskray@google.com>
PR ld/27230
* scripttempl/DWARF.sc: Add .debug_* sections.
2021-01-25 Nick Clifton <nickc@redhat.com>
* scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,

View File

@ -41,10 +41,12 @@ cat <<EOF
.debug_ranges 0 : { *(.debug_ranges) }
/* DWARF 5. */
.debug_loclists 0 : { *(.debug_loclists) }
.debug_rnglists 0 : { *(.debug_rnglists) }
.debug_line_str 0 : { *(.debug_line_str) }
.debug_str_offsets 0 : { *(.debug_str_offsets) }
.debug_macro 0 : { *(.debug_macro) }
.debug_addr 0 : { *(.debug_addr) }
.debug_line_str 0 : { *(.debug_line_str) }
.debug_loclists 0 : { *(.debug_loclists) }
.debug_macro 0 : { *(.debug_macro) }
.debug_names 0 : { *(.debug_names) }
.debug_rnglists 0 : { *(.debug_rnglists) }
.debug_str_offsets 0 : { *(.debug_str_offsets) }
.debug_sup 0 : { *(.debug_sup) }
EOF