diff options
author | Nick Clifton <nickc@redhat.com> | 2020-11-12 11:43:20 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-11-12 11:43:20 +0000 |
commit | bcb78b47614ed252226da1a688558a17d8a99ce8 (patch) | |
tree | 18d3480d3cb634ae6c431ef27e1b338ccecfbe84 /gas/ChangeLog | |
parent | ab33b15255460ac45a001c8ebf69ef73f6f1fba4 (diff) | |
download | gdb-bcb78b47614ed252226da1a688558a17d8a99ce8.zip gdb-bcb78b47614ed252226da1a688558a17d8a99ce8.tar.gz gdb-bcb78b47614ed252226da1a688558a17d8a99ce8.tar.bz2 |
Stop Gas from generating line info or address ranges for sections that do not contain code or are not loaded.
PR 26850
* dwarf2dbg.c (dwarf2_gen_line_info_1): Do not record lines in
sections that are not executable or not loadable.
(out_debug_line): Move warning message into dwarf2_gen_line_info_1.
* testsuite/gas/elf/dwarf2-20.s: New test.
* testsuite/gas/elf/dwarf2-20.d: New test driver.
* testsuite/gas/elf/elf.exp: Run the new test.
* testsuite/gas/elf/warn-2.s: Use the .nop directive.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 854e583..36258e8 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,12 @@ +2020-11-12 Nick Clifton <nickc@redhat.com> + + PR 26850 + * dwarf2dbg.c + * testsuite/gas/elf/dwarf2-20.s: New test. + * testsuite/gas/elf/dwarf2-20.d: New test driver. + * testsuite/gas/elf/elf.exp: Run the new test. + * testsuite/gas/elf/warn-2.s + 2020-11-11 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com> * testsuite/gas/aarch64/ls64.s: Update test. |