nm handling of synthetic symbols
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 9a30a2027ef8ae956d138880546a023dac828164..1b86161b636713814d5d12f207d7ae5f086645f9 100644 (file)
@@ -1,3 +1,216 @@
+2016-09-19  Alan Modra  <amodra@gmail.com>
+
+       * nm.c (print_symbol): Remove is_synthetic param.  Test sym->flags
+       instead.
+       (print_size_symbols, print_symbols): Adjust to suit, deleting
+       now unused synth_count param and fromsynth var.
+       (display_rel_file): Adjust, localizing synth_count.
+
+2016-09-14  Ed Maste  <emaste@freebsd.org>
+
+       * readelf.c (process_mips_specific): Fix typo in error message.
+
+2016-09-06  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (request_dump_bynumber): Only call memcpy if
+       dump_sects is not NULL.
+
+2016-08-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (load_specific_debug_section): Check the external
+       compression header size.
+
+2016-08-19  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/binutils-all/readelf.s: Adjust expected ordering of
+       sections.
+       * testsuite/binutils-all/readelf.s-64: Likewise.
+
+2016-08-12  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (process_symbol_table): Generate a warning if a local
+       symbol is found at and offste greater than or equal to the sh_info
+       field of it's section header.
+
+2016-08-08  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/20440
+       * dwarf.c (display_debug_lines_decoded): Add checks for running
+       off the end of the section when populating the directory table and
+       file table.
+       (frame_display_row): Set max_regs equal to ncols.
+       * readelf.c (load_specific_debug_section): If the section is
+       compressed, but it is not big enough to hold a compression
+       header then warn and return 0.
+
+       PR binutils/20439
+       * dwarf.c (display_debug_lines_decoded): Check directory and file
+       indicies before using them to access directory and file tables.
+
+2016-08-02  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * resbin.c (bin_to_res_version): Cast variables to correct type
+       for printing in error message.
+
+2016-07-28  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
+       * resbin.c (bin_to_res_version): Allow for the padded length of a
+       version block to be longer than the recorded length.  Skip padding
+       bytes.
+
+2016-07-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2016-07-20  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * doc/binutils.texi (objdump): Add ARC disassembler options.
+       * testsuite/binutils-all/arc/dsp.s: New file.
+       * testsuite/binutils-all/arc/objdump.exp: Likewise.
+       * NEWS: Mention the new feature.
+
+2016-07-20  Nick Clifton  <nickc@redhat.com>
+
+       * doc/binutils.texi (objcopy): Note that the localize symbol
+       options do not affect unique symbols.
+
+2016-07-16  Alan Modra  <amodra@gmail.com>
+
+       * ar.c: Include plugin-api.h.
+       * nm.c: Likewise.
+
+2016-07-16  Alan Modra  <amodra@gmail.com>
+
+       * bucomm.c: Don't include libbfd.h.
+       (endian_string, display_target_list): Delete forward declaration.
+       (display_info_table, display_target_tables): Likewise.
+       (LONGEST_ARCH): Delete.
+       (struct display_target): New.
+       (do_display_target): New function.
+       (display_target_list, display_info): Rewrite functions.
+       (display_info_table): Delete.
+       (do_info_size, do_info_header, do_info_row): New functions.
+
+2016-07-16  Alan Modra  <amodra@gmail.com>
+
+       * elfcomm.h (HOST_WIDEST_INT): Move to..
+       * sysdep.h: ..here.
+       * od-macho.c: Don't include libbfd.h.  Do include dwarf.h
+       (dump_dyld_info_rebase): Use read_leb128 rather than
+       read_unsigned_leb128.
+       (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
+       (dump_segment_split_info): Likewise.
+       (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
+       (dump_load_command): Likewise.
+
+2016-07-16  Alan Modra  <amodra@gmail.com>
+
+       * ar.c: Don't include libbfd.h.
+       * objcopy.c: Likewise.
+       * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
+       bfd_malloc.
+
+2016-07-15  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
+
+2016-07-14  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * doc/binutils.texi (objcopy): Document 'remove-relocations'.
+       (strip): Likewise.
+       * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
+       (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
+       (struct option strip_options): Add 'remove-relocations'.
+       (struct option copy_options): Likewise.
+       (copy_usage): Likewise.
+       (strip_usage): Likewise.
+       (handle_remove_relocations_option): New function.
+       (discard_relocations): New function.
+       (handle_remove_section_option): New function.
+       (copy_relocations_in_section): Use discard_relocations.
+       (strip_main): Use handle_remove_section_option for
+       'remove-section', and handle 'remove-relocations' option.
+       (copy_main): Likewise.
+       * testsuite/binutils-all/objcopy.exp: Run new tests.
+       * testsuite/binutils-all/remove-relocs-01.d: New file.
+       * testsuite/binutils-all/remove-relocs-01.s: New file.
+       * testsuite/binutils-all/remove-relocs-02.d: New file.
+       * testsuite/binutils-all/remove-relocs-03.d: New file.
+       * testsuite/binutils-all/remove-relocs-04.d: New file.
+       * testsuite/binutils-all/remove-relocs-05.d: New file.
+       * testsuite/binutils-all/remove-relocs-06.d: New file.
+       * NEWS: Mention new option.
+
+2016-07-14  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * objcopy.c (find_section_list): Handle section patterns starting
+       with '!' being a non-matching pattern.
+       * doc/binutils.texi (objcopy): Give example of using '!' with
+       --remove-section and --only-section.
+       (strip): Give example of using '!' with --remove-section.
+       * testsuite/binutils-all/data-sections.s: New file.
+       * testsuite/binutils-all/only-section-01.d: New file.
+       * testsuite/binutils-all/remove-section-01.d: New file.
+       * testsuite/binutils-all/objcopy.exp: Run new tests.
+       * NEWS: Mention new feature.
+
+2016-07-09  Alan Modra  <amodra@gmail.com>
+
+       PR binutils/20337
+       * objdump.c (compare_symbols): For ELF, sort same value/type
+       symbols according to size.
+
+2016-07-05  Andre Vieria  <andre.simoesdiasvieira@arm.com>
+
+       * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
+       to SEC_ELF_NOREAD.
+       * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
+       ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
+       (process_section_headers): Rename noread to purecode.
+
+       * section.c (SEC_ELF_NOREAD): Rename to ...
+       (SEC_ELF_PURECODE): ... this.
+
+2016-07-01  Nick Clifton  <nickc@redhat.com>
+
+       * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
+       extremely large decimal value.
+       (pr_range_type): Likewise.
+       (pr_array_type): Likewise.
+       (pr_struct_field): Likewise.
+       (pr_class_baseclass): Likewise.
+       (pr_class_method_variant): Likewise.
+       (pr_tag_type): Likewise.
+       (pr_int_constant): Likewise.
+       (pr_typed_constant): Likewise.
+       (pr_variable): Likewise.
+       (pr_function_parameter): Likewise.
+       (pr_start_block): Likewise.
+       (pr_lineno): Likewise.
+       (pr_end_block): Likewise.
+       (tg_enum_type): Likewise.
+       (tg_int_constant): Likewise.
+       (tg_typed_constant): Likewise.
+       (tg_start_block): Likewise.
+
+2016-07-01  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/binutils-all/objcopy.exp
+       (objcopy_test_without_global_symbol): Expect this test to fail on
+       the AArch64 and ARM targets, since they preserve their mapping
+       symbols.
+
+2016-07-01  Tristan Gingold  <gingold@adacore.com>
+
+       * NEWS: Add marker for 2.27.
+
+2016-07-30  Tristan Gingold  <gingold@adacore.com>
+
+       * doc/binutils.texi (objdump): Fix mis-placement.
+
 2016-06-28  Nick Clifton  <nickc@redhat.com>
 
        * testsuite/binutils-all/ar.exp: Relax previous restriction on
This page took 0.033158 seconds and 4 git commands to generate.