diff options
author | Fangrui Song <maskray@google.com> | 2021-01-25 11:35:57 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-01-25 11:35:57 +0000 |
commit | 9e42b97628f96d8c7f59890e368ddf3a0bd8c811 (patch) | |
tree | 98d9f1aaf6fbb33d19332e0ba81409c9deaa8763 /ld | |
parent | 04de9f3e3109c4029fc015191a2e1720cab8dac9 (diff) | |
download | gdb-9e42b97628f96d8c7f59890e368ddf3a0bd8c811.zip gdb-9e42b97628f96d8c7f59890e368ddf3a0bd8c811.tar.gz gdb-9e42b97628f96d8c7f59890e368ddf3a0bd8c811.tar.bz2 |
Add some more DWARF-5 sections
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/scripttempl/DWARF.sc | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 0b7c82e..befdf5b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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, diff --git a/ld/scripttempl/DWARF.sc b/ld/scripttempl/DWARF.sc index 60210cb..dfcdf7a 100644 --- a/ld/scripttempl/DWARF.sc +++ b/ld/scripttempl/DWARF.sc @@ -41,10 +41,12 @@ cat <<EOF .debug_ranges 0 : { *(.debug_ranges) } /* DWARF 5. */ + .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_line_str 0 : { *(.debug_line_str) } .debug_str_offsets 0 : { *(.debug_str_offsets) } - .debug_macro 0 : { *(.debug_macro) } - .debug_addr 0 : { *(.debug_addr) } + .debug_sup 0 : { *(.debug_sup) } EOF |