Updated soruces in binutils/* to compile cleanly with -Wc++-compat.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index ed09c83fd34f658a24c6e561a45f2808c43a1826..49e0135946311ed374a9f6e441babd5f4635169d 100644 (file)
@@ -1,3 +1,454 @@
+2009-09-10  Martin Thuresson  <martin@mtme.org>
+
+       Update soruces to compile cleanly with -Wc++-compat:
+
+       * addr2line.c (slurp_symtab): Fix casts. Introduce variable
+       minisyms to avoid aliasing varning.
+       * ar.c: Add casts.
+       (normalize): Use name del instead of delete.
+       (display_target_list,display_info_table): Change loop counter
+       variable a to int.
+       * bucomm.c: Add casts.
+       * debug.c: Update function to use new names.
+       (struct debug_baseclass): Rename member from virtual to
+       is_virtual.
+       (struct debug_type_s, struct debug_field_s, struct
+       debug_baseclass_s, struct debug_method_s, struct
+       debug_method_variant_s, struct debug_type_s): Rename struct from
+       avoid name collision.
+        * debug.h: Use new struct names.
+       * dwarf.c: Add casts.
+       (free_debug_memory): Change loop counter variable a to int.
+       * ieee.c: Add casts.
+       (enum ieee_var_kind): Move to top level.
+       (ieee_class_baseclass): Rename parameter virtual to is_virtual.
+       (ieee_class_method_var): Rename variable virtual to is_virtual.
+       * nm.c: Add casts.
+       * objcopy.c: Add casts.
+       (copy_archive): Rename variable delete to del.
+       * objdump.c: Add casts.
+       (dump_dwarf_section): Change loop counter variable i to int.
+       * prdbg.c: Add casts.
+       (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
+       to is_virtual.
+       * readelf.c: Add casts.
+       (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
+       top level.
+       * size.c: Add casts.
+       * stabs.c (parse_stab_type, parse_stab_range_type,
+       (parse_stab_cpp_abbrev): Rename parameter from typename to
+       type_name.
+       (parse_stab_baseclasses): Rename variable virtual to is_virtual.
+       * strings.c: Add casts.
+       * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
+       is_virtual.
+
+2009-09-09  Nick Clifton  <nickc@redhat.com>
+
+       PR 10478:
+       readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
+       SHF_ORDERED.
+       (process_section_headers): Warn about out of range sh_link
+       values.  When displaying detailed section header information
+       annote the SHN_BEFORE and SHN_AFTER values.
+
+2009-09-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * dwarf.c (byte_get_little_endian): Handle size of 3.
+       (byte_get_big_endian): Likewise.
+       * readelf.c (byte_put_little_endian): Likewise.
+       (byte_put_big_endian): Likewise.
+       (is_24bit_abs_reloc): New function.
+       (is_none_reloc): Formatting.
+       (apply_relocations): Use is_24bit_abs_reloc.  Handle pj and xtensa
+       reloc peculiarity.
+
+2009-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
+       New.
+
+2009-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf.c (process_debug_info): Support section padding abbrev codes.
+
+2009-09-07  Tristan Gingold  <gingold@adacore.com>
+
+       * po/binutils.pot: Regenerate.
+
+2009-09-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * Makefile.am (sysdump.o): Depend on sysroff.c.
+       * Makefile.in: Regenerate.
+
+2009-09-05  Martin Thuresson  <martin@mtme.org>
+
+       * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
+       ieee_read_reference): Rename variables named class to cxxclass.
+
+2009-09-04  Tristan Gingold  <gingold@adacore.com>
+
+       * BRANCHES: Add binutils-2_20-branch.
+
+2009-09-04  Tristan Gingold  <gingold@adacore.com>
+
+       * NEWS: Add marker for 2.20.
+
+2009-09-04  Timo Kreuzer  <timo.kreuzer@web.de>
+
+       * dlltool.c (delayimp_name): Add new global variable
+       (usage, long_options, main): Add new option "-y" / "--output-delaylib"
+       (struct mac): Add fields how_dljtab_size, how_dljtab_roff1, 
+       how_dljtab_roff2, how_dljtab, trampoline.
+       (i386_dljtab): Add binary stub for x86 delay import.
+       (i386_trampoline): Add text assembly stub for x86 delay import.
+       (mtable): Add delay import data for M386 and MX86 only.
+       (make_delay_head): New function.
+       (make_one_lib_file): New arg delay creates delay-load import stub.
+       (gen_lib_file): New arg delay likewise.
+       (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
+       (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
+       (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
+       * NEWS: Mention new feature.  Also fix whitespace.
+       * doc/binutils.texi: Updated dlltool documentation.
+
+2009-09-02  Tristan Gingold  <gingold@adacore.com>
+
+       * configure.com: Do not copy makefile.vms-in to makefile.vms
+       * makefile.vms-in: Renamed to...
+       * makefile.vms: ... this usual name as it is not processed anymore.
+       Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
+       objdump.exe.
+
+2009-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
+       (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
+       source file name for generated files which may be in $(srcdir).
+       * Makefile.in: Regenerate.
+
+2009-09-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * version.c (print_version): Change to "Copyright 2009".
+
+2009-09-01  Tristan Gingold  <gingold@adacore.com>
+
+       * makefile.vms-in: Remove unused VERSION variable.  Remove unused
+       dependencies.
+       * configure.com: Ported to Itanium VMS.  Create build.com DCL script.
+
+2009-08-29  Martin Thuresson  <martin@mtme.org>
+
+       * nlmconv.c (main): Rename variable new to new_name.
+
+2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
+       CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
+       (syslex.o): Likewise.
+       (sysinfo.o): Likewise.
+       (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
+       * Makefile.in: Regenerated.
+
+2009-08-27  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
+       (--subsystem): ... from here.
+
+2009-08-24  Cary Coutant  <ccoutant@google.com>
+
+       * objdump.c (find_symbol_for_address): Avoid costly call to
+       bfd_octets_per_byte.
+
+2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.am (am__skiplex, am__skipyacc): New.
+       * Makefile.in: Regenerate.
+
+2009-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
+       * Makefile.in: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.am (AM_CPPFLAGS): Renamed from ...
+       (INCLUDES): ... this.
+       (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
+       (installcheck-local): Renamed from ...
+       (installcheck): ... this.
+       * Makefile.in: Regenerate.
+
+       * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
+       foreign.
+       (MKDEP, CLEANFILES): Remove now-unneeded variables.
+       (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
+       (mkdep section): Remove.
+       (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
+       (EXTRA_ar_SOURCES): New, list $(CFILES).
+       (syslex.o): Depend on syslex.c.
+       (sysinfo.o): Depend on sysinfo.c.
+       (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
+       Remove dependencies, now tracked by automake.
+       (srconv.o): Depend on sysroff.c.
+       (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
+       (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
+       (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
+       tracking rules; only list the dependency upon the primary source
+       file, but no included headers.
+       * Makefile.in: Regenerate.
+
+       * Makefile.am (install-pdf, install-pdf-recursive, install-html)
+       (install-html-recursive): Remove.
+       * Makefile.in: Regenerate.
+       * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
+       (html__strip_dir, install-html, install-html-am): Remove.
+       * doc/Makefile.in: Regenerate.
+
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Likewise.
+       * config.in: Likewise.
+       * configure: Likewise.
+       * doc/Makefile.in: Likewise.
+
+2009-08-17  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
+       32-bit absolute reloc for the purposes of processing debug
+       sections.
+
+2009-08-10  Daniel Gutson  <dgutson@codesourcery.com>
+
+       * readelf.c (get_arm_section_type_name): Added support for
+       new sections headers.
+
+2009-08-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/10364
+       * objcopy.c (strip_main): Check return from smart_rename.
+       (copy_main): Likewise.
+
+2009-07-27  Nick Clifton  <nickc@redhat.com>
+
+       PR 10413
+       * objdump.c (dump_section_header): Skip sections that we are
+       ignoring.
+
+2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (guess_is_rela): Handle EM_L1OM.
+       (dump_relocations): Likewise.
+       (get_machine_name): Likewise.
+       (get_section_type_name): Likewise.
+       (get_elf_section_flags): 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.
+
+2009-07-23  Ulrich Drepper  <drepper@redhat.com>
+
+       * readelf.c (get_symbol_binding): For Linux targeted files return
+       UNIQUE for symbols with the STB_GNU_UNIQUE binding.
+       * doc/binutils.texi: Document the meaning of the 'u' symbol
+       binding in the output of nm and objdump --syms.
+
+2009-07-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention --insn-width.
+
+       * objdump.c (insn_width): New.
+       (usage): Display --insn-width.
+       (option_values): Add OPTION_INSN_WIDTH.
+       (long_options): Add --insn-width.
+       (disassemble_bytes): Handle insn_width.
+       (main): Handle OPTION_INSN_WIDTH.
+
+       * doc/binutils.texi: Document --insn-width.
+
+2009-07-17  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf.c (display_debug_lines): If do_debug_lines has not been
+       set then default to displaying raw .debug_line section contents.
+
+2009-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Support unordered .debug_info references to .debug_ranges.
+       * dwarf.c (struct range_entry, range_entry_compar): New.
+       (display_debug_ranges): Remove variables last_offset, first, j,
+       seen_first_offset, use_debug_info and next.  New variables
+       range_entries and range_entry_fill.  Create the sorted copy
+       range_entries.  Remove the FIXME error on detected unordered references.
+       * dwarf.h (debug_info <range_lists>): New comment.
+
+2009-07-14  Nick Clifton  <nickc@redhat.com>
+
+       PR 10380
+       * README: Document use of LDFLAGS="--static".
+
+2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerated.
+
+2009-07-10  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
+       * Makefile.in: Rebuild.
+       * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
+
+2009-07-06  Tristan Gingold  <gingold@adacore.com>
+
+       * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
+       sections.
+       * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
+       * dwarf.c (debug_displays): Adjust for removed field.
+
+2009-07-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
+       and DW_OP_implicit_value.
+
+2009-07-01  Nick Clifton  <nickc@redhat.com>
+
+       PR 6714
+       * rclex.c (handle_quotes): Do not complain about whitespace
+       separating quoted strings.
+       (rclex_string): Ignore whitespace when looking for a new opening
+       quote following a closing quote.
+
+2009-06-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/10321
+       * bucomm.c (get_file_size): Return -1 on error.
+
+       * objcopy.c (copy_file): Report empty file.
+
+2009-06-23  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf.c (display_debug_lines_raw): Include the name of the
+       section in warning message.
+       (struct debug_display): Enable reloc processing for .debug_line
+       and .debug_ranges sections.
+
+       * readelf.c: Add --relocated-dump command line option to dump the
+       relocated contents of a specified section.
+       (request_dump): New function.
+       (parse_args): Use it.
+       (dump_section_as_bytes): Add parameter to indicate whether the
+       contents should be relocated.
+       (target_specific_reloc_handling): Add code for a R_MN10300_16
+       reloc found after a R_MN10300_SYM_DIFF reloc.
+       (debug_apply_relocations): Rename to apply_relocations.
+       (get_section_contents): New function.  Replaces common code found
+       in dump_section_as_strings and dump_section_as_bytes.
+       * doc/binutils.texi: Document new command line option.
+       * NEWS: Mention the new feature.
+
+2009-06-22  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (target_specific_reloc_handling): New function:
+       Processes relocs in a target specific manner.
+       (debug_apply_relocations): Use the new function.
+       * dwarf.c (display_debug_loc): End the dump with a blank line.
+       (struct debug_display): Enable reloc processing for .debug_aranges
+       and .debug_loc sections.
+
+2009-06-19  Nick Clifton  <nickc@redhat.com>
+
+       * ar.c (usage): Do not use #ifdef inside _("...).
+       * nm.c (usage): Likewise.
+
+2009-06-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 10288
+       * objdump.c (disassemble_bytes): Set the
+       USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
+       if the user has invoked the -m switch.
+       * doc/binutils.texi: Document the additional behaviour of
+       objdump's -m switch for ARM targets.
+
+2009-06-18  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * configure.in: Merge cegcc and mingw32ce target name changes from
+       CeGCC project.
+
+2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
+       * configure: Regenerate.
+
+2009-06-15  Nick Clifton  <nickc@redhat.com>
+
+       PR 10263
+       * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
+       the flags field of the disassemble_info structure if the -D switch
+       is in operation.
+
+2009-06-12  Homer Xing  <homer.xing@yahoo.com>
+
+       * NEWS: Mention new feature added to gprof.
+
+2009-06-12  John Reiser  <jreiser@BitWagon.com>
+
+       * readelf.c (process_symbol_table): Set gnubuckets to NULL after
+       freeing it and before returning.
+
+2009-06-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * readelf.c (process_symbol_table): Don't return early if
+       .hash/.gnu.hash is empty/unusable and not -D.
+
+2009-06-09  Tom Bramer  <tjb@postpro.net>
+
+       PR 10165
+       * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
+       to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
+
+2009-06-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * strings.c (main): Delay parsing of decimal digits.
+
+2009-06-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * dep-in.sed: Don't use \n in replacement part of s command.
+       * Makefile.am (DEP1): LC_ALL for uniq.
+       Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2009-06-03  Tristan Gingold  <gingold@adacore.com>
+
+       * MAINTAINERS: Add myself as Mach-O maintainer.
+
+2009-06-01  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 10199
+       * doc/binutils.texi (nm): Correct -S description.
+
+2009-05-28  Nick Clifton  <nickc@redhat.com>
+
+       * po/da.po: Updated Danish translation.
+
+2009-05-28  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (display_debug_section): Do not display debug sections
+       with the NOBITS section type.
+
+2009-05-27  Rafael Avila de Espindola  <espindola@google.com>
+
+       * aclocal.m4: Include ../config/plugins.m4.
+       * configure.in: Use AC_PLUGINS.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+       * doc/Makefile.in: Regenerate.
+
+2009-05-27  Rafael Avila de Espindola  <espindola@google.com>
+
+       * ar.c (main): Call bfd_plugin_set_program_name.
+       * nm.c (main): Call bfd_plugin_set_program_name.
+
 2009-05-27  Nathan Sidwell  <nathan@codesourcery.com>
 
        * sysdump.c (tab): Use puts rather than two printfs.
 
        Cleanup code related to --identify option.
 
-       * binutils/dlltool.c (file scope): Removed globals identify_ms,
+       * dlltool.c (file scope): Removed globals identify_ms,
        identify_member_contains_symname_result,
        identify_dll_name_list_head, and identify_dll_name_list_tail.
        Renamed existing typedef dll_name_list_type to
This page took 0.02866 seconds and 4 git commands to generate.