PR 10478
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 36e8dd9d6093988c3c9e1dce76d9307967b7faf1..b059f91e6301b581b710284b2ded0fe3cfc06b1d 100644 (file)
@@ -1,3 +1,377 @@
+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 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
 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
This page took 0.034819 seconds and 4 git commands to generate.