OSDN Git Service

2009-11-05 Kai Tietz <kai.tietz@onevision.com>
[pf3gnuchains/pf3gnuchains3x.git] / binutils / ChangeLog
index 86a5b96..2250e22 100644 (file)
@@ -1,3 +1,339 @@
+2009-11-05  Kai Tietz  <kai.tietz@onevision.com>
+
+       * dllwrap.c (is_leading_underscore): New variable.
+       (cpu_type): New enum type.
+       (which_cpu): New variable.
+       (usage): Add new options --no-leading-underscore
+       and --leading-underscore.
+       (long_options): Likewise.
+       (OPTION_NO_LEADING_UNDERSCORE): New define.
+       (OPTION_LEADING_UNDERSCORE): Likewise.
+       (main): Initialize which_host, pass new options
+       to dlltool, do underscoring dependent on
+       is_leading_underscore, and do '@12' decoration
+       only for x86.
+
+2009-11-02  Paul Brook  <paul@codesourcery.com>
+
+       * readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16.
+
+2009-10-28  Kai Tietz <kai.tietz@onevision.com>
+
+       * dlltool.c (leading_underscore): New local variable.
+       (asm_prefix): Interpret leading_underscore.
+       (xlate): Likewise.
+       (add_excludes): Use leading_underscore for making
+       symbol name.
+       (gen_exp_file): Use leading_underscore for internal
+       _imp_ symbols.
+       (usage): Add display of --no-leading-underscore and
+       --leading-underscore option.
+       (OPTION_NO_LEADING_UNDERSCORE): New.
+       (OPTION_LEADING_UNDERSCORE): New.
+       (long_options): Add --no-leading-underscore and
+       --leading-underscore option.
+       (main): Handle new options.
+       * doc/binutils.text: Add documentation of the options
+       --no-leading-underscore and --leading-underscore.
+
+2009-10-23  Kai Tietz  <kai.tietz@onevision.com>
+
+       * deflex.l: Allow '<' and '>' in ID names.
+
+       * defparse.y (EQUAL): New token constant.
+       (opt_import_name): New rule for emptry or '==' ID.
+       (expline): Add opt_import_name as last line element.
+       (impline): Likewise.
+       * dlltool.c (ifunct): New member its_name.
+       (export): Likewise.
+       (append_import): Add its_name argument.
+       (defexports): Likewise.
+       (defimport): Likewise.
+       (scan_drectve_symbols): Adjust calls to def_exports.
+       (dump_def_info): Print new optinal import/export table
+       symbol name.
+       (generate_idata_ofile): Use its_name member.
+       (make_one_lib_file): Likewise.
+       (nfunc): Take its_name in account on sort.
+       * dlltool.h (def_exports): Add its_name as argument.
+       (def_import): Likewise.
+       * doc/binutils.texi: Add new def file syntax extension.
+       * deflex.l (EQUAL): Add rule for '=='.
+       * NEWS: Mention new feature.
+
+2009-10-23  Thomas Cougnard  <thomas.cougnard@gmail.com>
+
+       * readelf.c (dynamic_info): Correct size of array.
+
+2009-10-21  Ben Elliston  <bje@gnu.org>
+
+       * MAINTAINERS (BUILD SYSTEM, TESTSUITES): Remove myself.
+
+2009-10-19  Jerker Bäck  <jerker.back@gmail.com>
+
+       PR binutils/10793
+       * prdbg.c (tg_end_struct_type): Warning fix.
+
+       PR binutils/10792
+       * dlltool.c (dll_name_list_append): Declare variable at start
+       of block.
+       (dll_name_list_count, dll_name-list_print): Likewise.
+
+2009-10-16  Doug Evans  <dje@sebabeach.org>
+
+       * MAINTAINERS: Add myself as m32r maintainer.
+
+2009-10-16  Jerker Bäck <jerker.back@gmail.com>
+
+       PR 10764
+       * Makefile.am (sysinfo.o, syslex.o): Place source file after all
+       command line switches.
+       * Makefile.in: Regenerate.
+
+2009-10-16  Yann Droneaud  <yann@droneaud.fr>
+
+       PR 10768
+       * dlltool.c (bfd_get_errmsg): New macro.
+       (scan_obj_file): Use it.
+       (make_one_lib_file): Use it.
+       (make_head): Use it.
+       (make_delay_head): Use it.
+       (make_tail): Use it.
+       (gen_lib_file): Use it.
+       (identify_dll_for_implib): Use it.
+       (identify_search_archive):  Use it.
+
+2009-10-16  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (usage): Add mention of --debug-dump=frames-interp.
+       Wrap output to 80 columns.
+       * objdump.c (usage): Likewise.
+       * doc/binutils.texi (readelf): Add note about =frames-interp.
+
+2009-10-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
+
+2009-09-29  Nick Clifton  <nickc@redhat.com>
+
+       * doc/binutils.texi (c++filt): Remove spurious description of
+       nonexistent --java command line switch for cxxfilt.
+
+2009-09-29  DJ Delorie  <dj@redhat.com>
+
+       * readelf.c: Add support for RX target.
+       * MAINTAINERS: Add DJ and NickC as maintainers for RX.
+
+2009-09-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * configure.in: Don't invoke configure.tgt on $enable_targets.
+       * configure: Regenerate.
+
+2009-09-28  Nick Clifton  <nickc@redhat.com>
+
+       PR 10478
+       * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
+       SHN_AFTER section link values in x86 binaries.
+       (process_section_headers): Likewise.
+
+2009-09-25  Dimitry Gorbachev  <d.g.gorbachev@gmail.com>
+
+       PR 10656
+       * readelf.c: Remove duplicate declaration of variable do_wide.
+       * dwarf.h: Add export of do_wide.
+
+2009-09-24  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
+       (get_FORM_name): Add new DWARF-4 forms.
+       (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
+       (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
+       (process_debug_info): Add do_types parameter; change all callers.
+       Add support for .debug_types sections.
+       (display_debug_types): New function.
+       (debug_displays): Add .debug_types section.
+       * readelf.c (process_section_headers): Add .debug_types section.
+       (display_debug_section): Simplify call to streq.
+
+2009-09-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * readelf.c (print_dynamic_symbol): Format entries as for
+       normal symbol table.
+       (process_symbol_table): Use -7s format string for visibility.
+
+2009-09-22  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * objdump.c (disassemble_section): Use bfd_get_arch_size
+       instead of assuming that the address size is 32 bits.
+
+2009-09-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
+       (get_ppc64_dynamic_type): Likewise.
+
+2009-09-18  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+       * po/vi.po: Updated Vietnamese translation.
+
+2009-09-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * readelf.c (process_version_sections, process_symbol_table):
+       Use symbolic constants.
+
+2009-09-11  Nick Clifton  <nickc@redhat.com>
+
+       * po/binutils.pot: Updated by the Translation project.
+
+2009-09-11  Philippe De Muyter  <phdm@macqel.be>
+
+       * obcopy.c (copy_object): New parameter `input_arch', architecture
+       of input file, if not specified in input file itself; all callers
+       updated; `binary_architecture' hack removed.
+       (copy_archive, copy_file): New parameter `input_arch', for
+       `copy_object' usage.
+       (copy_main): Accept `-B' (`--binary-architecture') option also
+       for any arch-less input ifile format, not only `binary'; remove
+       bfd_external_binary_architecture hack; instead, add `input_arch'
+       to calls to `copy_file'.
+       * windres.c, windmc.c : Obsolete and useless external references
+       to `bfd_external_binary_architecture' or `bfd_external_machine'
+       removed.
+       * doc/binutils.texi: Mention that -B parameter can be used for any
+       input file type which does not have its own architecture.
+
+2009-09-10  Martin Thuresson  <martin@mtme.org>
+
+       Update sources 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
 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'. 
+       displayed values for 'Begin' and 'End'.
 
 2009-03-25  Ryan Mansfield  <rmansfield@qnx.com>
 
 
        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