[.]
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 2cc6837f999a9a0e0858eb1f074a212b922792f9..7e80c30cd8b89e84f2ea78f9f4340477204a3bda 100644 (file)
@@ -1,3 +1,471 @@
+2011-11-01  DJ Delorie  <dj@redhat.com>
+
+       * readelf.c: Include elf/rl78.h
+       (guess_is_rela): Handle EM_RL78.
+       (dump_relocations): Likewise.
+       (get_machine_name): Likewise.
+       (is_32bit_abs_reloc): Likewise.
+       * NEWS: Mention addition of RL78 support.
+       * MAINTAINERS: Add myself as RL78 port maintainer.
+
+2011-10-28  Ian Lance Taylor  <iant@google.com>
+
+       * dwarf.c (display_debug_frames): If do_debug_frames_interp,
+       DW_CFA_restore goes to DW_CFA_undefined, not DW_CFA_unreferenced.
+
+2011-10-28  Walter Lee  <walt@tilera.com>
+
+       * NEWS: Mention addition of TILEPro and TILE-Gx support.
+       * MAINTAINERS: Add myself as TILEPro and TILE-Gx port maintainer.
+
+2011-10-27  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * MAINTAINERS: Add myself as EPIPHANY port maintainer.
+
+2011-10-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.am (syslex.@OBJEXT@): Add -I$(srcdir).
+       * Makefile.in: Regen.
+
+2011-10-25  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * readelf.c: Include "elf/epiphany.h".
+       (guess_is_rela, dump_relocation): Handle EM_ADAPTEVA_EPIPHANY.
+       (get_machine_name, is_32bit_abs_reloc, is_32bit_pcrel_reloc): Likewise.
+       (is_16bit_abs_reloc, is_none_reloc): Likewise.
+       * po/binutils.pot: Regenerate.
+
+2011-10-25  Kai Tietz  <ktietz@redhat.com>
+
+       * winduni.h (unicode_from_ascii_len): New prototype.
+       * winduni.c (unicode_from_ascii_len): New function.
+       * windres.h (define_stringtable): Add additional length argument.
+       * windres.c (define_stringtable): Add length argument for string.
+       * rcparse.y (res_unicode_sizedstring): New rule.
+       (res_unicode_sizedstring_concat): Likewise.
+       (string_data): Adjust rule.
+
+2011-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf.c (read_and_display_attr_value) <DW_AT_import>: Add CU_OFFSET
+       also for DW_FORM_ref_udata.
+
+2011-10-24  Nick Clifton  <nickc@redhat.com>
+
+       * po/ja.po: Updated Japanese translation.
+
+2011-10-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/13278
+       * ar.c (open_inarch): Set the target from the the first object
+       on the list only if it isn't set.
+
+2011-10-13  Nick Clifton  <nickc@redhat.com>
+
+       Fixes to aid translation:
+       * addr2line.c (translate_address): Add comments describing context
+       of a couple of printf statements.
+       * ar.c (write_archive): Allow translation of error message.
+       * bucomm.c (endian_string): Allow translation of strings.
+       (display_target_list): Allow translation.
+       * coffdump.c (dump_coff_type): Allow translation of output.
+       (dump_coff_where): Likewise.
+       (dump_coff_symbol): Likewise.
+       (dump_coff_scope): Likewise.
+       (dump_coff_sfile): Likewise.
+       (dump_coff_section): Likewise.
+       (coff_dump): Likewise.
+       * dlltool (def_version): Allow translation of output.
+       (run): Likewise.
+       * dllwrap.c (run): Allow translation of output.
+       * dwarf.c (print_dwarf_vma): Allow translation of output.
+       (process_extended_line_op): Remove spurious translation.
+       Add translation for strings that can be translated.
+       (decode_location_exression): Allow translation of output.
+       (read_and_display_attr_value): Allow translation of output.
+       * readelf.c (slurp_rela_relocs): Add translation for error
+       messages when failing to get data.
+       (slurp_rel_relocs): Likewise.
+       (get_32bit_elf_symbols): Likewise.
+       (get_64bit_elf_symbols): Likewise.
+       (dump_ia64_vms_dynamic_relocs): Replace abbreviation with full
+       word.
+       (process_relocs): Remove spurious translation.
+       (decode_tic6x_unwind_bytecode): Likewise.
+       (process_version_section): Improve error messages.
+       (process_mips_specific): Likewise.
+       (print_gnu_note): Remove spurious translation.
+       (print_stapsdt_note): Likewise.
+       (get_ia64_vms_note_type): Likewise.
+       * sysdump.c (getCHARS): Allow translation.
+       (fillup): Allow translation of output.
+       (getone): Likewise.
+       (must): Likewise.
+       (derived_type): Likewise.
+       * doc/binutils.doc (addr2line): Extend description of command line
+       options.
+       * po/binutils.pot: Regenerate.
+
+2011-10-13  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/13219
+       * readelf.c (GET_ELF_SYMBOLS): Add sym_count parameter.
+       (get_32bit_elf_symbols): Add num_syms_return argument.
+       Return the number of symbols loaded into the symbol table.
+       (get_64bit_elf_symbols): Likewise.
+       (process_section_headers): Use GET_ELF_SYMBOLS to initialise
+       symbol count.
+       (proces_relocs): Likewise.
+       (ia64_process_unwind): Likewise.
+       (hppa_process_unwind): Likewise.
+       (arm_process_unwind): Likewise.
+       (process_dynamic_section): Likewise.
+       (process_version_sections): Likewise.
+       (process_symbol_table): Likewise.
+       (process_section_groups): Likewise.
+       Add check before indexing into the symbol table.
+       (apply_relocations): Likewise.
+
+2011-10-11  Chris  <player1@onet.eu>
+
+       PR binutils/13051
+       Fix a syntax error bug when compiling rc files with the VERSIONINFO resource
+       containing more than one language block inside a single StringFileInfo block.
+
+       * windint.h (rc_ver_stringtable): New structure definition.
+       (rc_ver_info): Use it.
+       * rcparse.y (verstringtable): New variable.
+       (verstringtables): New type.
+       (verstringtables:): New rule declaration.
+       (verblocks:): Use it.
+       * resrc.c (append_ver_stringtable): New function.
+       (append_ver_stringfileinfo): Update to use stringtables.
+       * windres.h (append_ver_stringfileinfo): Update declaration.
+       (append_ver_stringtable): New declaration.
+       * resrc.c (write_rc_versioninfo): Update to support multiple blocks.
+       * resbin.c (bin_to_res_version): Likewise.
+       (res_to_bin_versioninfo): Likewise.
+
+2011-10-10  Nick Clifton  <nickc@redhat.com>
+
+       * po/bg.po: Updated Bulgarian translation.
+       * po/es.po: Updated Spansih translation.
+       * po/fi.po: Updated Finnish translation.
+       * po/fr.po: Updated French translation.
+
+2011-10-05  DJ Delorie  <dj@redhat.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (get_machine_dlags): Add support for RX's PID mode.
+
+2011-10-04  Paul Woegerer  <paul_woegerer@mentor.com>
+           Carlos O'Donell  <carlos@codesourcery.com>
+
+       * dwarf.c (display_debug_lines_decoded): Index directory_table with
+       directory_index from file_table entry.
+
+2011-09-30  Cary Coutant  <ccoutant@google.com>
+
+       * binutils/dwarf.h (dwarf_section_display_enum): Add missing enum
+       constant.
+
+2011-09-28  Tristan Gingold  <gingold@adacore.com>
+
+       * od-xcoff.c (dump_xcoff32_aout_header): Fix typo.
+
+2011-09-27  Tristan Gingold  <gingold@adacore.com>
+
+       * od-xcoff.c (dump_xcoff32_aout_header): Remove some gettext macros.
+       (dump_xcoff32_sections_header): Likewise.
+       (dump_xcoff32_symbols, dump_xcoff32_relocs): Likewise.
+       (dump_xcoff32_lineno, dump_xcoff32_loader): Likewise.
+       (dump_xcoff32_except): Likewise.
+       (dump_xcoff32_typchk, dump_xcoff32_tbtags): Likewise.
+
+2011-09-27  Tristan Gingold  <gingold@adacore.com>
+
+       * readelf.c (print_ia64_vms_note): Fix xgettext warnings.
+
+2011-09-22  Tristan Gingold  <gingold@adacore.com>
+
+       * NEWS: Add marker for 2.22.
+
+2011-09-21  David S. Miller  <davem@davemloft.net>
+
+       * MAINTAINER: Take over from Jakub Jalinek as SPARC maintainer.
+
+       * readelf.c (display_sparc_hwcaps): New.
+       (display_sparc_gnu_attribute): New.
+       (process_sparc_specific): New.
+       (process_arch_specific): When EM_SPARC, EM_SPARC32PLUS,
+       or EM_SPARCV9 invoke process_sparc_specific.
+
+2011-09-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/13196
+       * dwarf.c (display_debug_aranges): Check zero address size.
+
+2011-09-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/13180
+       * objcopy.c (is_strip_section_1): New.
+       (is_strip_section): Use it.  Remove the group section if all
+       members are removed.
+
+2011-09-08  Nick Clifton  <nickc@redhat.com>
+
+       * po/ja.po: Updated Japanese translation.
+
+2011-08-26  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2011-08-08  Marcus Comstedt  <marcus@mc.pp.se>
+
+       PR binutils/12964
+       * Makefile.am (embedspu): Use awk rather than sed.
+       * Makefile.in: Regenerate.
+
+2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf.c (read_and_display_attr_value): Recognize DW_FORM_data4 and
+       DW_FORM_data8 as location list pointers only for DWARF < 4.
+
+2011-07-26  Jakub Jelinek  <jakub@redhat.com>
+
+       * NEWS: Mention .debug_macro support.
+       * dwarf.c (read_and_display_attr_value): Don't print a tab
+       if attribute is 0.
+       (get_AT_name): Handle DW_AT_GNU_macros.
+       (get_line_filename_and_dirname, display_debug_macro): New
+       functions.
+       (debug_displays): Add an entry for .debug_macro and .zdebug_macro.
+       * readelf.c (process_section_headers): With do_debug_macinfo
+       handle also .debug_macro sections.
+       * dwarf.h (dwarf_section_display_enum): Add macro.
+
+2011-07-24  Chao-ying Fu  <fu@mips.com>
+            Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * readelf.c (get_machine_flags): Handle microMIPS ASE.
+       (get_mips_symbol_other): Likewise.
+
+2011-07-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwarf.c (init_dwarf_regnames): Handle EM_K1OM.
+
+       * elfedit.c (elf_machine): Support EM_K1OM.
+       (elf_class): Likewise.
+
+       * readelf.c (guess_is_rela): Handle EM_K1OM.
+       (dump_relocations): Likewise.
+       (get_machine_name): Likewise.
+       (get_section_type_name): Likewise.
+       (get_elf_section_flags): Likewise.
+       (process_section_headers): Likewise.
+       (get_symbol_index_type): Likewise.
+       (is_32bit_abs_reloc): Likewise.
+       (is_32bit_pcrel_reloc): Likewise.
+       (is_64bit_abs_reloc): Likewise.
+       (is_64bit_pcrel_reloc): Likewise.
+       (is_none_reloc): Likewise.
+
+       * doc/binutils.texi: Mention K1OM for elfedit.
+
+2011-07-11  Cary Coutant  <ccoutant@google.com>
+
+       PR 12983
+       * binutils/nm.c (display_file): Decompress debug sections when
+       printing line numbers.
+
+2011-07-03  Samuel Thibault  <samuel.thibault@gnu.org>
+           Thomas Schwinge  <thomas@schwinge.name>
+
+       PR binutils/12913
+       * elfedit.c (osabis): Use ELFOSABI_GNU name instead of ELFOSABI_LINUX
+       alias and ELFOSABI_HURD.  Add GNU alias.
+       * readelf.c (get_osabi_name, get_symbol_binding, get_symbol_type):
+       Likewise.
+       * doc/binutils.texi <elfedit>: Update accordingly.
+
+2011-07-01  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/12325
+       * doc/binutils.texi (ar cmdline): Document --target, --version and
+       --help command line options.
+
+2011-06-30  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/12558
+       * ar.c (main): When asked to move members in an archive that is
+       being created, ignore the move request.
+
+2011-06-29  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (get_section_type_name): When displaying an unknown
+       section type display the hex value first on the assumption that
+       the full message will probably be truncated into a 15 character
+       field.
+
+2011-06-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf.c (decode_location_expression): For DW_OP_GNU_convert and
+       DW_OP_GNU_reinterpret, if uvalue is 0, don't add cu_offset.
+       Handle DW_OP_GNU_parameter_ref.
+
+2011-06-16  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf-mode.el (dwarf-do-insert-substructure): Call
+       expand-file-name.
+       (dwarf-do-refresh): Likewise.
+
+2011-06-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * readelf.c (get_note_type): Handle NT_ARM_VFP.
+
+2011-06-13  Walter Lee  <walt@tilera.com>
+
+       * readelf.c: Include tilepro.h and tilegx.h.
+       (guess_is_rela): Handle EM_TILEGX and EM_TILEPRO.
+       (dump_relocations): Likewise.
+       (get_machine_name): Likewise.
+       (is_32bit_abs_reloc): Likewise.
+       (is_32bit_pcerel_reloc): Likewise.
+       (is_64bit_abs_reloc): Likewise.
+       (is_64bit_pcrel_reloc): Likewise.
+
+2011-06-09  Tristan Gingold  <gingold@adacore.com>
+
+       * od-xcoff.c (xcoff32_read_symbols): Allow missing string table
+       length.
+
+2011-06-08  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/12855
+       * readelf.c (process_version_sections): Handle binaries containing
+       corrupt version information.
+       (process_symbol_table): Stop processing a symbol's version
+       information if it could not be read in.
+
+       (get_data): Add comment describing the function.
+       (process_section_headers): Set dynamic_strings_length to 0 if the
+       dynamic strings could not be read in.
+       (process_dynamic_section): Likewise.
+       (process_section_groups): Stop processing the group information if
+       the data could not be read in.
+       (hppa_processs_unwind): Assert that there is only one string table
+       in the file.
+       (arm_process_unwind): Likewise.
+       (ia64_process_unwind): Likewise.
+       Set the size of the unwind auxillary information to 0 if the data
+       could not be read.
+       (load_specific_debug_section): Handle a failure to read in the
+       section.
+       (process_mips_specific): Stop display of the PLT GOT section if it
+       could not be read in.
+
+2011-06-08  Tristan Gingold  <gingold@adacore.com>
+
+       * makefile.vms (DEFS): Define OBJDUMP_PRIVATE_VECTORS.
+
+2011-06-07  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf.c: Fix conversion to TU number.
+
+2011-06-02  Nick Clifton  <nickc@redhat.com>
+
+       * resres.c: Fix spelling typo.
+       * windint.h: Likewise.
+       * windmc.c: Likewise.
+       * windres.c: Likewise.
+       * po/POTFILES.in: Regenerate.
+       * po/binutils.pot: Regenerate.
+
+2011-06-01  Daniel Jacobowitz  <drow@false.org>
+
+       * MAINTAINERS: Update my email address.
+
+2011-05-31  Matthias Klose  <doko@ubuntu.com>
+
+       * configure.in (BUILD_INSTALL_MISC): Only add embedspu once.
+       * configure: Regenerate.
+
+2011-05-30  Alan Modra  <amodra@gmail.com>
+
+       PR binutils/12820
+       * Makefile.am (bin_PROGRAMS): Move BUILD_INSTALL_MISC to..
+       (bin_SCRIPTS): ..here.
+       (EXTRA_SCRIPTS): Define.
+       (EXTRA_DIST): Add embedspu.sh.
+       (DISTCLEANFILES): Add embedspu.
+       (embedspu): Depend on Makefile.  Replace sed "s" command with "c".
+       * Makefile.in: Regenerate.
+
+2011-05-25  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf.c (loc_offsets): New variable.
+       (loc_offsets_compar): New routine.
+       (display_debug_loc): Handle loc_offsets not being in ascending order
+       and also a single .debug_loc entry being used multiple times.
+
+2011-05-18  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/12753
+       * nm.c (filter_symbols): Treat unique symbols as global symbols.
+       * doc/binutils.texi (nm): Mention that some lowercase letters
+       actually indicate global symbols.
+
+2011-05-15  Tristan Gingold  <gingold@adacore.com>
+
+       * od-xcoff.c: New file.
+       * objdump.h: New file.
+       * objdump.c: Include objdump.h
+       (dump_private_options, objdump_private_vectors): New variables.
+       (usage): Mention -P/--private.  Display handled options.
+       (long_options): Add -P/--private.
+       (dump_target_specific): New function.
+       (dump_bfd): Handle dump_private_options.
+       (main): Handle -P.
+       * doc/binutils.texi (objdump): Document -P/--private.
+       * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES):
+       New variables, compute them.
+       (od_vectors): Add vectors for private dumpers. Make them uniq.
+       (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS.
+       * Makefile.am (HFILES): Add objdump.h
+       (CFILES): Add od-xcoff.c
+       (OBJDUMP_PRIVATE_OFILES): New variable.
+       (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES.
+       (objdump_LDADD): Ditto.
+       (EXTRA_objdump_SOURCES): Define.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+
+2011-05-10  Tristan Gingold  <gingold@adacore.com>
+
+       * dwarf.c (process_extended_line_op): Dump unknown records.
+
+2011-05-07  Alan Modra  <amodra@gmail.com>
+
+       PR binutils/12632
+       * objcopy.c (copy_archive): Check bfd_openw result in unknown object
+       case.  Rewrite without goto.
+
+2011-05-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type,
+       DW_OP_GNU_regval_type, DW_OP_GNU_deref_type, DW_OP_GNU_convert
+       and DW_OP_GNU_reinterpret.
+
+       * MAINTAINERS: Add myself as DWARF2 maintainer.
+
+2011-05-02  Alan Modra  <amodra@gmail.com>
+
+       PR binutils/12720
+       Revert the following change
+       Michael Snyder  <msnyder@vmware.com>
+       * ar.c (move_members): Plug memory leak.
+       (delete_members): Plug memory leak.
+
 2011-04-28  Tom Tromey  <tromey@redhat.com>
 
        * NEWS: Add note about --dwarf-depth, --dwarf-start, and
This page took 0.027382 seconds and 4 git commands to generate.