* ieee.c (ieee_add_bb11): Plug memory leak.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index c34c82ad8b3f25309db511b6854ef9bd351adbab..d6ee055d480c2171da1c6be1655c28ab248831dd 100644 (file)
-2010-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
+2011-03-25  Michael Snyder  <msnyder@vmware.com>
+
+       * strings.c (print_strings): Plug memory leak.
+       * ar.c (move_members): Plug memory leak.
+       (delete_members): Plug memory leak.
+       (write_archive): Plug memory leak.
+       * ieee.c (ieee_add_bb11): Plug memory leak.
+       (ieee_function_type): Likewise.
+       (ieee_class_baseclass): Likewise.
+
+2011-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Replace bfd_vma type and analog types by dwarf_vma and analogs.
+       Use dwarf specific print functions to display these type values.
+       * dwarf.h (dwarf_signed_vma): New type;
+       (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma.
+       (DWARF2_External_PubNames): Likewise.
+       (DWARF2_External_CompUnit): Likewise.
+       (DWARF2_External_ARange): Likewise.
+       (read_leb128): Change return type to dwarf_vma.
+       * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and
+       check byte_size values.
+       (dwarf_vmatoa): Change parameter type to dwarf_vma.
+       (dwarf_svmatoa): New static function.
+       (read_leb128): Change return type to dwarf_vma.
+       (read_sleb128): New static function.
+       (struct State_Machine_Registers): Change address field type to
+       dwarf_vma.
+       (process_extended_line_op): Adapt to type changes.
+       (fetch_indirect_string): Likewise.
+       (idisplay_block): Likewise.
+       (decode_location_expression): Likewise.
+       (read_and_display_attr_value): Likewise.
+       (process_debug_info): Likewise.
+       (display_debug_lines_raw): Likewise.
+       (display_debug_lines_decoded): Likewise.
+       (SLEB macro): Use new read_sleb128 function.
+
+2011-03-17  Alan Modra  <amodra@gmail.com>
+
+       PR 12590
+       * ar.c (ranlib_main): Init arg_index properly.
+       (usage): Describe --target.
+
+2011-03-16  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.
+       (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value,
+       DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered.
+       (get_AT_name): Handle DW_AT_GNU_call_site_value,
+       DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
+       DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
+       DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and
+       DW_AT_GNU_all_source_call_sites.
+       (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust
+       handling.
+
+2011-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site.
+       (decode_location_expression): Handle DW_OP_GNU_entry_value.
+       (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value.
+       (get_AT_name): Likewise.
+
+2011-03-14  Michael Snyder  <msnyder@vmware.com>
+
+       * objcopy.c (set_pe_subsystem): Free subsystem.
+
+       * wrstabs.c (stab_start_struct_type): Close memory leak.
+
+       * readelf.c (process_version_sections): Free symbols.
+
+       * nm.c (display_rel_file): Free symsizes.
+
+2011-03-10  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (get_machine_name): Update EM_V850 entry.
+
+2011-03-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * objdump.c (usage): Fix single typo.
+       * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po,
+       po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise.
+
+2011-03-01  Akos Pasztory  <akos.pasztory@gmail.com>
+
+       PR binutils/12523
+       * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
+
+2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
+
+       * debug.c (debug_start_source): Use filename_(n)cmp.
+       * ieee.c (ieee_finish_compilation_unit): Likewise.
+       (ieee_lineno): Likewise.
+       * nlmconv.c (main): Likewise.
+       * objcopy.c (strip_main): Likewise.
+       (copy_main): Likewise.
+       * objdump.c (show_line): Likewise.
+       (dump_reloc_set): Likewise.
+       * srconv.c (main): Likewise.
+       * wrstabs.c (stab_lineno): Likewise.
+
+2011-02-24  Zachary T Welch  <zwelch@codesourcery.com>
+
+       * readelf.c (decode_arm_unwind): Implement decoding of remaining
+       ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX).
+
+2011-02-23  Kai Tietz  <kai.tietz@onevision.com>
+
+       * dwarf.c (read_leb128): Use bfd_vma instead of
+       long type.
+       (dwarf_vmatoa): New helper routine.
+       (process_extended_line_op): Use for adr bfd_vma
+       type and print those typed values via BFD_VMA_FMT
+       or via dwarf_vmatoa for localized prints.
+       (fetch_indirect_string): Adjust offset's type.
+       (decode_location_expression): Adjust argument types
+       and uvalue type.
+       (read_and_display_attr_value): Likewise.
+       (read_and_display_attr): Likewise.
+       (decode_location_expression): Adjust printf format.
+       (process_debug_info): Likewise.
+       (display_debug_lines_raw): Likewise.
+       (display_debug_lines_decoded): Likewise.
+       (display_debug_pubnames): Likewise.
+       (display_debug_loc): Likewise.
+       (display_debug_aranges): Likewise.
+       * dwarf.h (DWARF2_External_LineInfo,
+       DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
+       DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
+       DWARF2_Internal_CompUnit, DWARF2_External_ARange,
+       DWARF2_Internal_ARange): Added..
+       (read_leb128): Adjust return type.
 
-       * MAINTAINERS: Update my email address.  List Tristan Gingold
-       as the release branch maintainer.
+2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
-2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
-
-       * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
-
-2010-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * NEWS: Document .ARM.exidx / .ARM.extab support.
-
-       * dwarf.c (read_leb128): Make non-static.
-       * dwarf.h (read_leb128): Declare.
-       * readelf.c (REMOVE_ARCH_BITS): Define.
-       (find_section_by_address): New.
-       (read_uleb128): Move higher.  Use read_leb128 from dwarf.c.
-       (find_symbol_for_address): Handle the Thumb bit for ARM, by
-       using REMOVE_ARCH_BITS.
-       (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
-       (arm_free_section, arm_section_get_word, decode_arm_unwind)
-       (dump_arm_unwind, arm_process_unwind): New.
-       (process_unwind): Handle ARM.
-
-2010-02-26  Jie Zhang  <jie@codesourcery.com>
-
-       * MAINTAINERS: Update my email address.
-
-2010-02-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
-
-       PR binutils/11298
-       * doc/binutils.texi (windmc): Fix synopsis and description of
-       ASCII options.
-
-2010-02-19  Alan Modra  <amodra@gmail.com>
-
-       * readelf.c (get_group_flags): Return empty string when flags zero.
-       Add space in other returned values.
-       (process_section_groups): Adjust format string.
-
-2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
-
-       * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
-       newly permitted attribute values.
-       (arm_attr_tag_Virtualization_use): Likewise.
-       (arm_attr_tag_DIV_use): Add description of new attribute.
-       (arm_attr_tag_MPextension_use_legacy): Likewise.
-
-2010-02-15  Nick Clifton  <nickc@redhat.com>
-
-       * po/vi.po: Updated Vietnamese translation.
-
-2010-02-09  Michael Holzheu  <holzheu@de.ibm.com>
-
-       * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
-       NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
-
-2010-02-08  Jim Blandy  <jimb@red-bean.com>
-
-       * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
-       'z' augmentation strings.
-
-2010-02-08  Christophe Lyon  <christophe.lyon@st.com>
-
-       * objdump.c (disassemble_bytes): Clear aux->reloc before printing
-       a new address, so as not to reuse a previous, non-related reloc.
-
-2010-02-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * readelf.c (get_note_type): Handle NT_X86_XSTATE.
-
-2010-02-01  Nathan Sidwell  <nathan@codesourcery.com>
-
-       * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
-       sections.
-
-2010-01-28  Nick Clifton  <nickc@redhat.com>
-
-       PR 11225
-       * objdump.c (only): Replace with linked list.
-       (only_size, only_used): Replace with only_list.
-       (process_section_p): Set seen field on matches sections.
-       (add_only): New function.
-       (free_only_list): New function.
-       (disassemble_section): Check only_list.
-       (main): Use add_only and free_only_list.
-
-2010-01-26  Tristan Gingold  <gingold@adacore.com>
-
-       * Makefile.am (bin2c): Add libintl dependance and library.
-       * Makefile.in: Regenerate.
-
-2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
-
-       * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
-
-2010-01-19  Ian Lance Taylor  <iant@google.com>
-
-       * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
-       with non-ordinary files like /dev/null.
-
-2010-01-19  Daisuke Hatayama  <d.hatayama@jp.fujitsu.com>
-           Alan Modra <amodra@gmail.com>
-
-        * readelf.c (process_file_header): Handle e_phnum extension.
-
-2010-01-14  Tristan Gingold  <gingold@adacore.com>
-
-       * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
-       and DW_AT_GNAT_descriptive_type.
-
-2010-01-13  Tristan Gingold  <gingold@adacore.com>
-
-       * ar.c (main): Use lbasename.
-       (normalize): Ditto.
-       * objdump.c (update_source_path): Ditto.
-
-2010-01-12  Tristan Gingold  <gingold@adacore.com>
-
-       * makefile.vms (CFLAGS): Turns warnings into informational messages.
-
-2010-01-11  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR ld/11146
-       * NEWS: Mention --dyn-syms for readelf.
-
-       * readelf.c (do_dyn_syms): New.
-       (OPTION_DYN_SYMS): Likewise.
-       (options): Add "dyn-syms".
-       (usage): Add --dyn-syms.
-       (parse_args): Handle OPTION_DYN_SYMS.
-       (process_symbol_table): Handle do_dyn_syms.
-       (process_object): Likewise.
-       (process_archive): Likewise.
-
-       * doc/binutils.texi: Document --dyn-syms for readelf.  Mention
-       symbol hash tables for -D.
-
-2010-01-11  Nick Clifton  <nickc@redhat.com>
-
-       * NEWS: Mention addition of elfedit.
-
-       * po/fi.po: Updated Finnish translation.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * Makefile.in: Regenerate.
        * configure: Regenerate.
-       * doc/Makefile.in: Regenerate.
-
-2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * version.c (print_version): Change to "Copyright 2010".
-
-2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elfedit.c (input_elf_type): New.
-       (output_elf_type): Likewise.
-       (elf_type): Likewise.
-       (update_elf_header): Support updating ELF file type.
-       (command_line_switch): Add OPTION_INPUT_TYPE and
-       OPTION_OUTPUT_TYPE.
-       (options): Likewise.
-       (usage): Add --input-type and --output-type.
-       (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE.  Check
-       one of --output-mach and --output-type must be specified.
-
-       * doc/binutils.texi: Document --input-type and --output-type
-       for elfedit.
-
-2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * doc/binutils.texi: Fix a typo.
-
-2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elfedit.c (update_elf_header): Don't change input_elf_class
-       nor input_elf_machine if they are -1.
-
-2010-01-08  Tristan Gingold  <gingold@adacore.com>
-
-       * ar.c: Remove bfd_special_undocumented_glue prototype.
-
-2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * elfedit.c (update_elf_header): Reformat.
-
-2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * readelf.c (usage): Fix indent for --symbols.
-
-2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
 
-       * doc/binutils.texi: Replace -histogram with --histogram.
+2011-02-08  Nick Clifton  <nickc@redhat.com>
 
-2010-01-06  H.J. Lu  <hongjiu.lu@intel.com>
+       PR binutils/12467
+       * readelf.c (process_program_headers): Issue a warning if there
+       are no program headers but the file header has a non-zero program
+       header offset.
+       (process_section_headers): Issue a warning if there are no section
+       headers but the file header has a non-zero section header offset.
+       (process_section_groups): Reword the no section message so that it
+       can be distinguished from the one issued by process_section_headers.
 
-       PR binutils/11131
-       * Makefile.am (ELFEDIT_PROG): New.
-       (bin_PROGRAMS): Add $(ELFEDIT_PROG).
-       (CFILES): Add elfedit.c.
-       (elfedit_DEPENDENCIES): New.
-       (elfedit_SOURCES): Likewise.
-       (elfedit_LDADD): Likewise.
-       * Makefile.in: Regenerated.
+2011-01-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Doug Evans  <dje@google.com>
 
-       * elfedit.c: New.
+       * dwarf.c (display_gdb_index): Support version 4, warn on version 3.
 
-       * doc/binutils.texi: Document elfedit.
+2011-01-19  Maciej W. Rozycki  <macro@codesourcery.com>
 
-       * doc/Makefile.am (man_MANS): Add elfedit.1.
-       (elfedit.1): New.
-       * doc/Makefile.in: Regenerated.
+       * readelf.c (process_object): Free dynamic_section after use.
 
-2010-01-06  Tristan Gingold  <gingold@adacore.com>
+2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
 
-       * nm.c (usage): Remove extra blanks.
+       PR binutils/12408
+       * readelf.c (process_archive): Free and reset dump_sects
+       after processing each archive member.
 
-2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
+2011-01-11  Andreas Schwab  <schwab@redhat.com>
 
-       * objcopy.c: Update copyright.
-       * readelf.c: Likewise.
+       * readelf.c (print_symbol): Handle symbol characters as unsigned.
+       Whitespace fixes.
 
-2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
+2011-01-10  Nick Clifton  <nickc@redhat.com>
 
-       PR binutils/11130
-       * objcopy.c (copy_object): Remove "Warning: " from error
-       message.
+       * po/da.po: Updated Danish translation.
 
-2010-01-04  Nick Clifton  <nickc@redhat.com>
+2011-01-06  Vladimir Siminov  <sv@sw.ru>
 
-       PR 11128
-       * readelf.c (dump_section_as_strings): Use two separate
-       invocations of printf() in order to work around bugs in
-       the Solaris 8 implementation.
+       * bucomm.c (get_file_size): Check for negative sizes and issue a
+       warning message if encountered.
 
-2010-01-04  Nick Clifton  <nickc@redhat.com>
+2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
 
-       * po/ru.po: Updated Russian translation.
+       * version.c (print_version): Update copyright to 2011.
 
-For older changes see ChangeLog-2009
+For older changes see ChangeLog-2010
 \f
 Local Variables:
 mode: change-log
This page took 0.026647 seconds and 4 git commands to generate.