OSDN Git Service

Updated sources to avoid using the identifier name "new", which is a
[pf3gnuchains/pf3gnuchains3x.git] / binutils / ChangeLog
index 8b4038a..d3e679b 100644 (file)
@@ -1,3 +1,563 @@
+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.
+
+2009-05-26  Nick Clifton  <nickc@redhat.com>
+
+       * po/id.po: Updated Indonesian translation.
+       * po/binutils.pot: Updated template file.
+
+2009-05-26  Rafael Avila de Espindola  <espindola@google.com>
+
+       * ar.c: Include plugin.h.
+       (main): Handle the --plugin option.
+       * nm.c: Include plugin.h.
+       (OPTION_PLUGIN): New.
+       (long_options): Add plugin.
+       (main): Handle OPTION_PLUGIN.
+       * NEWS: Mention  the new feature.
+       * doc/binutils: Documement the new command line options.
+       * configure.in: Check for --enable-plugins.
+       * configure: Regenerate.
+
+2009-05-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * dep-in.sed: Output one filename per line with all lines having
+       continuation backslash.  Prefix first line with "A", following
+       lines with "B".
+       * Makefile.am (DEP): Don't use dep.sed here.
+       (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
+       sort and uniq.
+       * Makefile.in: Regenerate.
+
+2009-05-25  Tristan Gingold  <gingold@adacore.com>
+
+       * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
+
+       * configure.com: Fix it: handle alloca and define TARGET in config.h.
+
+2009-05-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2009-05-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * objcopy.c (set_long_section_mode): Check input_bfd is coff
+       before accessing coff specific fields of bfd.
+
+2009-05-09  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * MAINTAINERS:  Add myself as PE/COFF co-maintainer.
+
+2009-05-08  Kai Tietz  <kai.tietz@onevision.com>
+
+       * winduni.c (iconv_onechar): Only define when HAVE_ICONV
+       is defined, but not when __CYGWIN__ or _WIN32 are defined.
+       See wind_iconv_cp for call logic of this local funtion.
+
+2009-05-05  Guillaume Duhamel  <guillaume.duhamel@gmail.com>
+
+       PR 10109
+       * winduni.c: Replace test of HAVE_ICONV_H with a test of
+       HAVE_ICONV.
+       (iconv_onechar): Use ICONV_CONST instead of "const".
+       (wind_MultiByteToWideChar): Initialise local strings.
+
+2009-04-30  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (dump_relocations): Display a relocation against an
+       ifunc symbol as if it were a function invocation.
+       (get_symbol_type): Handle STT_GNU_IFUNC.
+
+2009-04-29  Anthony Green  <green@moxielogic.com>
+
+       * NEWS: Tweak verilog support description.
+
+2009-04-29  Alan Modra  <amodra@bigpond.net.au>
+           Denis Scherbakov <denis_scherbakov@yahoo.com>
+
+       * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
+       read, and merge with 32-bit case.
+
+2009-04-27  Anthony Green  <green@moxielogic.com>
+
+       * NEWS: Mention verilog support added to bfd.
+
+2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * objcopy.c (copy_object): Copy pe_opthdr before changing PE
+       parameters.
+
+2009-04-24  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
+       Add missing newlines to HP extensions.
+
+2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
+       * doc/binutils.texi: Likewise.
+
+2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/10074
+       * objcopy.c: Include coff/i386.h and coff/pe.h.
+       (pe_file_alignment): New.
+       (pe_heap_commit): Likewise.
+       (pe_heap_reserve): Likewise.
+       (pe_image_base): Likewise.
+       (pe_section_alignment): Likewise.
+       (pe_stack_commit): Likewise.
+       (pe_stack_reserve): Likewise.
+       (pe_subsystem): Likewise.
+       (pe_major_subsystem_version): Likewise.
+       (pe_minor_subsystem_version): Likewise.
+       (set_pe_subsystem): Likewise.
+       (convert_efi_target): Likewise.
+       (command_line_switch): Add OPTION_FILE_ALIGNMENT,
+       OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
+       OPTION_STACK and OPTION_SUBSYSTEM.
+       (copy_options): Likewise.
+       (copy_usage): Add --file-alignment, --heap, --image-base,
+       --section-alignment, --stack and --subsystem.
+       (copy_object): Set up PE parameters.
+       (copy_main): Process Add OPTION_FILE_ALIGNMENT,
+       OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
+       OPTION_STACK and OPTION_SUBSYSTEM.   Convert EFI target to
+       PEI target.
+
+       * NEWS: Mention --file-alignment, --heap, --image-base,
+       --section-alignment, --stack and --subsystem command line
+       options for objcopy.
+
+       * doc/binutils.texi: Document --file-alignment, --heap,
+       --image-base, --section-alignment, --stack and --subsystem
+       command line options for objcopy.
+
+2009-04-15  Anthony Green  <green@moxielogic.com>
+
+       * MAINTAINERS: Add myself as Moxie port maintainer.
+
+2009-04-14  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * objcopy.c (enum long_section_name_handling):  New enum type.
+       (enum command_line_switch):  Add OPTION_LONG_SECTION_NAMES.
+       (copy_options[]):  Add entry for --long-section-names option.
+       (copy_usage):  Document it.
+       (set_long_section_mode):  New subroutine.
+       (copy_file):  Call it.
+       (copy_main):  Accept OPTION_LONG_SECTION_NAMES and parse arg.
+       * doc/binutils.texi:  Update objcopy documentation with details
+       of new option.
+
+2009-04-01  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * dlltool.c (set_dll_name_from_def):  Accept new second arg that
+       indicates if we are building DLL or EXE, and use it to add a
+       default suffix to the output filename when none is already present.
+       (def_name):  Indicate we are building an EXE when calling it.
+       (def_library):  Indicate we are building a DLL when calling it.
+
+2009-04-01  Jari Aalto  <jari.aalto@cante.net>
+
+       PR 9972
+       * doc/binutils.texi (strings): Document the -V alias for the
+       --version option.
+       * strings.c (usage): Likewise.
+
+2009-03-31  Nick Clifton  <nickc@redhat.com>
+
+       PR 9992
+       * configure.in: Import Solaris specific largefile test from
+       bfd/configure.in.
+       * configure: Regenerate.
+
+2009-03-30  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * MAINTAINERS: Add self.
+
+2009-03-27  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf.c (display_debug_ranges): Add the base address to the
+       displayed values for 'Begin' and 'End'. 
+
+2009-03-25  Ryan Mansfield  <rmansfield@qnx.com>
+
+       * readelf.c (process_file_header): Don't report a corrupt string
+       table index if it is zero.
+
+2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwarf.c (dwarf_regnames): Moved before frame_need_space.
+       (dwarf_regnames_count): Likewise.
+       (frame_need_space): Return int.
+       (display_debug_frames): Check invalid registers.
+
+2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (debug_apply_relocations): Check relocations
+       against STT_SECTION symbol.
+
+2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (debug_apply_relocations): Allow relocations
+       against function symbols.
+
+2009-03-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * sysdep.h: Include alloca-conf.h instead of config.h and remove
+       existing #if's handling alloca.
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+       * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
+       * configure.in: Likewise.
+       * configure: Regenerate.
+
+2009-03-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/9945
+       * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
+
+2009-03-11  Chris Demetriou  <cgd@google.com>
+
+       * ar.c (deterministic): New global variable.
+       (main): Recognize new 'D' option, which enables 'deterministic mode'.
+       (usage): Document new 'D' option.
+       (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
+       flags if deterministic mode was requested.
+       * doc/binutils.texi (ar): Document deterministic mode ('D' option).
+
+2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/9933
+       * objcopy.c (filter_symbols): Properly handle common symbols
+       in relocatable file.
+
+2009-03-06  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2009-03-05  Nick Clifton  <nickc@redhat.com>
+
+       * objdump.c (disassemble_section): If the computed next offset is
+       not beyond the current offset then just continue to the end.
+
 2009-03-04  Tristan Gingold  <gingold@adacore.com>
 
        * MAINTAINERS: Add myself as VMS maintainer.