X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2FChangeLog;h=64fdaea649265798c8a4fd0dcd045c565f437516;hb=627c7fb8ea16388f349b6b26e20bf017d71e51fe;hp=1b6a2f9b8fbc6cb0981f36f518439133da3de890;hpb=e409955ddcc33743044f217a3cc0541e0e6211b7;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 1b6a2f9b8f..64fdaea649 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,117 @@ +2020-04-29 Andrew Burgess + + * dwarf.c (display_debug_ranges): Ignore duplicate entries in + range_entries for the same offset. + +2020-04-29 Nick Clifton + + * readelf.c (warn): New function - like elfcomm.c version but only + produces output if warnings are enabled. + (struct options): Add --lint and --enable-checks. + (usage): Add entry for --lint. + (parse_args): Handle -L. If checks are enabled but no dumps have + been selected then enable all dumps. + (process_section_headers): Replace long if-then-else sequence with + a switch. Add warning messages for empty SHT_REL, SHT_RELA and + SHT_PROGBITS sections. + (process_file): Do not complain if the file is an archive and lint + mode has been enabled. + * elfcomm.c (error): Make the function weak. + (warn): Likewise. + * NEWS: Mention the new feature. + * doc/binutils.texi: Document the new feature. + * dwarf.h (report_leb_status): Add file name and line number + parameters. Include them in the diagnostic output. + (READ_ULEB): Pass file and line number to report_leb_status. + (READ_SLEB): Likewise. + * dwarf.c (read_and_print_leb128): Pass file and line number to + report_leb_status. + * testsuite/binutils-all/readelf.exp: Add test of new feature. + * testsuite/binutils-all/zero-sec.s: New test source file. + * testsuite/binutils-all/zero-sec.r: Expected output from new + test. + +2020-04-29 Nick Clifton + + * po/sr.po: Updated Serbian translation. + +2020-04-26 Alan Modra + + * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was + read before dereferencing, and gracefully return. Remove + gnu_hash_error variable. Free gnu hash arrays if number of + syms found is zero. + +2020-04-24 Alan Modra + + * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains + non-zero. + (process_dynamic_section): Call get_num_dynamic_syms once rather + than in segment loop. Break out of segment loop on a successful + load of dynamic symbols. Formatting. + (process_object): Return error status from process_dynamic_section. + +2020-04-23 Anton Kolesov + + * elf-bfd.h (elfcore_write_arc_v2): Add prototype. + * elf.c (elfcore_grok_arc_v2): New function. + (elfcore_grok_note): Call the new function to handle the corresponding + note. + (elfcore_write_arc_v2): New function. + (elfcore_write_register_note): Call the new function to handle the + corresponding pseudo-sections. + +2020-04-22 Max Filippov + + PR ld/25861 + * readelf.c (is_none_reloc): Recognize + BFD_RELOC_XTENSA_PDIFF{8,16,32} and + BFD_RELOC_XTENSA_NDIFF{8,16,32}. + +2020-04-22 Nick Clifton + + * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer. + +2020-04-22 Alan Modra + + * readelf.c (archive_file_offset, archive_file_size, dynamic_addr), + (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length), + (num_dynamic_syms, nbuckets, nchains, buckets, chains), + (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains), + (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset), + (dynamic_syminfo_nent, program_interpreter, dynamic_info), + (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info), + (dynamic_section, symtab_shndx_list, group_count, section_groups), + (section_headers_groups): Move to struct filedata. Update use + throughout file. + +2020-04-22 Alan Modra + + * readelf.c (struct dump_data): New, used.. + (cmdline): ..here, and.. + (struct filedata): ..here. Adjust all uses. + (request_dump_bynumber, request_dump, parse_args): Pass in a + struct dump_data* rather than Filedata*. Adjust callers. + (main): Don't set cmdline.file_name. + +2020-04-20 Alan Modra + + * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets + and nbuckets. + +2020-04-20 Alan Modra + + * readelf.c (process_section_headers): Free dynamic symbols etc. + earlier. + +2020-04-20 Alan Modra + + * readelf.c (get_num_dynamic_syms): Formatting. Don't return + on error without freeing. + (process_dynamic_section): Don't recreate dynamic symbols from + dynamic tag info when the dynamic symbols have already been + read via section headers. + 2020-04-17 Fredrik Strupe * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that