diff options
author | Nick Clifton <nickc@redhat.com> | 2020-05-04 10:19:38 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-05-04 10:19:38 +0100 |
commit | 4706679daca21b5d637afaf5b55858b26f0f8c16 (patch) | |
tree | 8950f5eb3edfacd8a64ff517515f9144daf5f624 /gas/ChangeLog | |
parent | 6015a0674901be2c3fd24867e1a610d2abf8c1a0 (diff) | |
download | binutils-gdb-4706679daca21b5d637afaf5b55858b26f0f8c16.tar.gz |
Fix an illegal memory access in the assembler when generating a DWARF5 file/directory table with no entries.
PR 25917
* dwarf2dbg.c (out_dir_and_file_list): Check for the directory
table's existence before looking at its entries.
* testsuite/gas/elf/pr25917.s: New test source file.
* testsuite/gas/elf/pr25917.d: New test driver.
* testsuite/gas/elf/elf.exp (run_elf_list_test): Run the new test.
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 1b973f584d1..630289cb67b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,12 @@ +2020-05-04 Nick Clifton <nickc@redhat.com> + + PR 25917 + * dwarf2dbg.c (out_dir_and_file_list): Check for the directory + table's existence before looking at its entries. + * testsuite/gas/elf/pr25917.s: New test source file. + * testsuite/gas/elf/pr25917.d: New test driver. + * testsuite/gas/elf/elf.exp (run_elf_list_test): Run the new test. + 2020-04-30 Alex Coplan <alex.coplan@arm.com> * config/tc-aarch64.c (fix_insn): Implement for |