Updated Spanish and Vietnamese translations
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index be52aa6dd019eb0dd4aca004722f125e1fd26591..c482964cde5fa1f8fb4698aeaba82119fe090361 100644 (file)
@@ -1,3 +1,463 @@
+2009-09-18  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2009-09-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (follow_link, elf_follow_link, ppc_follow_link): New
+       functions.  Use throughout.
+       (ppc64_elf_copy_indirect_symbol): Set direct symbol "oh" field
+       from indirect symbol.
+       (lookup_fdh): Rename from get_fdh.  Follow indirect sym links.
+       (add_symbol_adjust): Simplify.
+       (defined_code_entry, defined_func_desc): New functions.
+       (ppc64_elf_gc_keep): Follow indirect sym links.  Use defined_code_entry.
+       (ppc64_elf_gc_mark_dynamic_ref): Use defined_func_desc and
+       defined_code_entry to follow indirect sym links.
+       (ppc64_elf_gc_mark_hook, func_desc_adjust): Likewise.
+       (ppc_type_of_stub): Follow indirect sym links.
+       (toc_adjusting_stub_needed): Likewise.
+       (ppc_build_one_stub): Likewise.  Make undefined dot-symbols weak
+       rather than defining them at stub.
+       (ppc64_elf_relocate_section): Rewrite call test to avoid multiple
+       assignments in test.
+
+2009-09-16  Tristan Gingold  <gingold@adacore.com>
+       
+       * mach-o.h (bfd_mach_o_filetype): Add new constants from darwin10.
+       Reindent.
+       * mach-o.c (bfd_mach_o_cpu_name): Reindent.
+       (bfd_mach_o_filetype_name): Complete with new constants.  Reindent.
+       (bfd_mach_o_print_private_header): Use fputs instead of fprintf
+       when possible to avoid warnings.
+       (bfd_mach_o_print_section_map): Ditto.
+       (bfd_mach_o_section_get_entry_size): New function.
+       (bfd_mach_o_section_get_nbr_indirect): Simplify using the newly
+       added function.
+       (bfd_mach_o_print_dysymtab): Print address of indirect symbols.
+
+2009-09-14  Nick Clifton  <nickc@redhat.com>
+
+       * po/fi.po: Updated Finnish translation.
+
+2009-09-11  Nick Clifton  <nickc@redhat.com>
+
+       * po/bfd.pot: Updated by the Translation project.
+
+2009-09-11  Philippe De Muyter  <phdm@macqel.be>
+
+       * binary.c (binary_object_p): Remove bfd_external_binary_architecture
+       hack.  objcopy `-B' (`--binary-architecture') option is now handled
+       in a generic way.
+
+2009-09-11  Nick Clifton  <nickc@redhat.com>
+
+       * rs6000-core.c (read_hdr): Fix typo in recent C++ compatibility
+       changes.
+
+2009-09-11  Jie Zhang  <jie.zhang@analog.com>
+
+       * elf32-bfin.c (bfinfdpic_relocs_info_find): Just return
+       NULL if `ht' is NULL.
+
+2009-09-09  Martin Thuresson  <martin@mtme.org>
+
+       Update soruces to compile cleanly with -Wc++-compat:
+       * aoutx.h: Add casts.
+       * archive.c: Add casts.
+       * archive64.c: Add casts.
+       * archures.c: Add casts.
+       * bfd-in2.h: Regenerated.
+       * bfd.c: Add casts. (enum bfd_direction): Move out to top level.
+       * bfdio.c: Add casts.
+       * binary.c: Add casts.
+       * cache.c (cache_bseek,cache_bread_1,cache_bwrite): Updated
+       parameter to use enum value instead of int.
+       * coffcode.h: Add casts.
+       * coffgen.c: Add casts.
+       * cofflink.c: Add casts.
+       * compress.c: Add casts.
+       * dwarf1.c: Add casts.
+       * dwarf2.c: Add casts. (struct dwarf2_debug): Rename member bfd to
+       bfd_ptr. Update code to use new name.
+       * elf-attrs.c: Add casts.
+       * elf-bfd.h (elf_link_virtual_table_entry): Gives name to
+       anonymous struct. (union gotplt_union, struct
+       elf_link_virtual_table_entry): Move to top level.
+       * elf-eh-frame.c: Add casts.
+       * elf-strtab.c: Add casts.
+       * elf.c: Add casts. (_bfd_elm_make_Section_from_phdr): Change
+       argument name from typename to type_name.
+       * elf32-i386.c: Add casts.
+       * elf64-x86-64.c: Add casts.
+       * elfcode.h: Add casts.
+       * elfcore.h: Add casts.
+       * elflink.c: Add casts.
+       * format.c: Add casts.
+       * hash.c: Add casts.
+       * ihex.c: Add casts.
+       * libaout.h (enum aout_subformat, enum aout_magic): Move to top
+       level.
+       * libbfd.c: Add casts.
+       * linker.c: Add casts.
+       * merge.c: Add casts.
+       * opncls.c: Add casts.
+       * peXXigen.c: Add casts.
+       * peicode.h: Add casts.
+       * reloc.c: Add casts.
+       * section.c: Add casts.
+       * simple.c: Add casts.
+       * srec.c: Add casts.
+       * stabs.c: Add casts.
+       * syms.c: Add casts.
+       * targets.c: Add casts.
+       * tekhex.c: Add casts.
+       * verilog.c: Add casts.
+
+2009-09-09  Paolo Bonzini  <bonzini@gnu.org>
+
+       * configure: Regenerate.
+
+2009-09-09  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Set sym_flags
+       for the mode of target PLT entries.
+       (allocate_dynrelocs): Only adjust symbol type if setting its
+       value.
+
+2009-09-09  Paolo Bonzini  <bonzini@gnu.org>
+
+       * configure: Regenerate.
+
+2009-09-09  Nick Clifton  <nickc@redhat.com>
+
+       PR 10478:
+       * elf.c (bfd_section_from_shdr): Do not reject sparc binaries with
+       section headers containing sh_link values of SHN_BEFORE or
+       SHN_AFTER.
+       * elfcode.h (elf_object_p): Likewise.
+
+2009-09-09  Tristan Gingold  <gingold@adacore.com>
+
+       Handle DYLD_INFO introduced by Darwin10.
+       * mach-o.h (bfd_mach_o_load_command_type): Add
+       BFD_MACH_O_LC_DYLD_INFO.
+       (bfd_mach_o_dyld_info_command): New type.
+       (bfd_mach_o_load_command): Add dyld_info field.
+       * mach-o.c (bfd_mach_o_scan_read_str): Reduce size of buf.
+       (bfd_mach_o_scan_read_dyld_info): New function.
+       (bfd_mach_o_scan_read_command): Handle BFD_MACH_O_LC_DYLD_INFO.
+       (bfd_mach_o_bfd_print_private_bfd_data): Ditto.
+       (bfd_mach_o_load_command_name): AddB FD_MACH_O_LC_DYLD_INFO.
+       (bfd_mach_o_print_dyld_info): New function.
+
+2009-09-09  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * elf32-cr16.c (elf32_cr16_relocate_section): Add code to discard the
+       linkonce or linker script discarded section.
+
+2009-09-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check.
+
+2009-09-07  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * elf32-m68k.c (rtype_to_howto): If the reloc index is out of
+       range call the bfd error hander and use R_68K_NONE instead.
+
+2009-09-07  Tristan Gingold  <gingold@adacore.com>
+
+       * po/SRC-POTFILES.in: Regenerate.
+       * po/bfd.pot: Regenerate.
+
+       * bfd.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
+       BFD_HAVE_SYS_STAT_TYPE_MEMBER): Moved to gas/acinclude.m4
+       * configure.in: Move tests for tm_gmtoff, st_mtim.tv_sec and
+       st_mtim.tv_nsec to gas/configure.in
+       (bfd_elf64_ia64_vms_vec): Remove vmsutil.lo
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * vmsutil.c: Moved to gas/config/te-vms.c
+       * vmsutil.h: Removed.
+       * Makefile.am (BFD32_BACKENDS_CFILES): Remove vmsutil.c
+       (BFD32_BACKENDS): Remove vmsutil.lo
+       * Makefile.in: Regenerate.
+
+2009-09-05  Eli Zaretskii  <eliz@gnu.org>
+
+       * coffcode.h: Include libiberty.h.
+
+2009-09-05  Martin Thuresson  <martin@mtme.org>
+
+       * coff-arm.c (coff_arm_relocate_section)
+       (record_thumb_to_arm_glue, bfd_arm_process_before_allocation):
+       Change member name class to symbol_class.
+       * coff-i960.c (coff_i960_relocate_section) Rename variable
+       class to class_val. Change member name class to symbol_class.
+       * coff-rs6000.c (_bfd_xcoff_swap_aux_in)
+       (_bfd_xcoff_swap_aux_out): Rename arguments class to in_class.
+       * coff-stgo32.c (adjust_aux_in_post)
+       (adjust_aux_out_pre, adjust_aux_out_post): Rename arguments class
+       to in_class.
+       * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in)
+       (_bfd_xcoff64_swap_aux_out): Rename arguments class to in_class.
+       * coffcode.h (coff_pointerize_aux_hook): Rename variable class
+       to n_sclass.
+       * coffgen.c (coff_write_symbol, coff_pointerize_aux): Rename
+       variables named class to n_sclass. (coff_write_symbols): Rename
+       variable class to sym_class. (bfd_coff_set_symbol_class): Rename
+       argument class to symbol_class.
+       * cofflink.c (_bfd_coff_link_hash_newfunc)
+       (coff_link_add_symbols, _bfd_coff_link_input_bfd)
+       (_bfd_coff_write_global_sym, _bfd_coff_generic_relocate_section):
+       Update code to use renamed members.
+       * coffswap.h (coff_swap_aux_in, coff_swap_aux_out): Rename
+       argument class to in_class.
+       * libcoff-in.h (struct coff_link_hash_entry, struct
+       coff_debug_merge_type) Renamed members class to symbol_class and
+       type_class.
+       * libcoff.h Regenerated.
+       * peXXigen.c: (_bfd_XXi_swap_aux_in, _bfd_XXi_swap_aux_out):
+       Rename argument class to in_class.
+       * pef.c (bfd_pef_parse_imported_symbol): Update code to use
+       renamed members.
+       * pef.h (struct bfd_pef_imported_symbol): Changed name of
+       member class to symbol_class.
+
+2009-09-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2009-09-04  Tristan Gingold  <gingold@adacore.com>
+
+       * configure.in: Bump version to 2.20.51
+
+2009-09-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-spu.c (spu_elf_relocate_section): Correct 2009-07-24 logic.
+
+2009-09-04  Jie Zhang  <jie.zhang@analog.com>
+
+       * elf32-bfin.c (elf32_bfinfdpic_create_dynamic_sections): Always
+       create .rela.bss.
+       (elf32_bfinfdpic_size_dynamic_sections): Set SEC_EXCLUDE flag
+       for empty .rela.bss and .rel.plt sections.
+
+2009-09-03  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * elfxx-mips.c (mips_elf_calculate_relocation): Don't relocate
+       R_MIPS_JALR unless symbol resolves locally.
+
+2009-09-03  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_check_relocs): Don't set
+       has_static_relocs for R_MIPS_JALR.
+
+2009-09-03  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * elf64-mips.c (mips_elf64_howto_table_rela): Add support for
+       R_MIPS_TLS_DTPMOD64 and R_MIPS_TLS_TPREL64, replacing the
+       respective stubs.
+
+2009-09-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Declare
+       plt earlier.
+
+2009-09-01  Tristan Gingold  <gingold@adacore.com>
+
+       * makefile.vms: Ported to Itanium VMS.  Remove useless variable and
+       dependencies.  Reindent.
+       * configure.com: Ported to Itanium VMS.  Now generates a build.com
+       to build without make.  Add messages but make edit silent.
+       * hosts/alphavms.h: Add a prototype for stpcpy.
+       * vms.c: Add a missing include for Alpha VMS.
+       * elfxx-ia64.c (ELF_OSABI): Define for OpenVMS.
+
+2009-08-31  Jan Beulich  <jbeulich@novell.com>
+
+       * elf-bfd.h (bfd_elf_get_default_section_type): Declare.
+       * elf.c (bfd_elf_get_default_section_type): New.
+       (elf_fake_sections): Use bfd_elf_get_default_section_type.
+
+2009-08-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert the
+       accidental checkin.
+       * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likwise.
+
+2009-08-30  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/10569
+       * bfd.c (bfd_emul_get_maxpagesize): Don't abort.
+       (bfd_emul_get_commonpagesize): Likewise.
+
+2009-08-29  Martin Thuresson  <martin@mtme.org>
+
+       * elf32-arm.c (struct stub_def): Rename member template to
+       template_sequence. (arm_build_one_stub,
+       find_stub_size_and_template, arm_size_one_stub, arm_map_one_stub):
+       Rename variable template to template_sequence.
+       * elfxx-ia64.c (elfNN_ia64_relax_br, elfNN_ia64_relax_brl):
+       Rename variable template to template_val.
+       * aoutx.h (NAME (aout, make_empty_symbol)): Rename variable
+       new to new_symbol.
+       * coffgen.c (coff_make_empty_symbol)
+       (coff_bfd_make_debug_symbol): Rename variable new to new_symbol.
+       * cpu-ia64-opc.c (ext_reg, ins_imms_scaled): Rename variable
+       new to new_insn.
+       * ecoff.c (_bfd_ecoff_make_empty_symbol): Rename variable new
+       to new_symbol.
+       * elf32-m68k.c (elf_m68k_get_got_entry_type): Rename argument
+       new to new_reloc.
+       * hash.c (bfd_hash_lookup): Rename variable new to new_string.
+       * ieee.c (ieee_make_empty_symbol): Rename variable new to
+       new_symbol.
+       * linker.c (bfd_new_link_order): Rename variable new to
+       new_lo.
+       * mach-o.c (bfd_mach_o_sizeof_headers): Rename variable new to
+       symbol.
+       * oasys.c (oasys_make_empty_symbol): Rename variable new to
+       new_symbol_type.
+       * pdp11.c (NAME (aout, make_empty_symbol)): Rename variable
+       new to new_symbol_type.
+       * plugin.c (bfd_plugin_make_empty_symbol): Rename variable new
+       to new_symbol.
+       * rs6000-core.c (CoreHdr, VmInfo): Rename union member new to
+       new_dump.
+       (read_hdr, rs6000coff_core_p)
+       (rs6000coff_core_file_matches_executable_p)
+       (rs6000coff_core_file_failing_command)
+       (rs6000coff_core_file_failing_signal): Updated function to use new
+       union member name.
+       * som.c (som_make_empty_symbol): Rename variable new to
+       new_symbol_type.
+       * syms.c (_bfd_generic_make_empty_symbol): Rename variable new
+       to new_symbol.
+       * tekhex.c (first_phase, tekhex_make_empty_symbol): Rename
+       variable new to new_symbol.
+
+2009-08-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * acinclude.m4 (AM_INSTALL_LIBBFD): Call AM_SUBST_NOTMAKE for
+       bfdlibdir and bfdincludedir.
+       * Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
+       [INSTALL_LIBBFD]: ... here, ...
+       [INSTALL_LIBBFD]: ... and empty overrides here.
+       [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
+       [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+
+2009-08-26  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       * elf32-m68k.c: Rewrite initialization of GOT entries for TLS
+       relocations.  Rewrite output of dynamic TLS relocations.
+       (DTP_OFFSET, TP_OFFSET): New constants.
+       (dtpoff_base): Update.
+       (tpoff): Rename to tpoff_base, update.
+       (elf_m68k_init_got_entry_static, elf_m68k_init_got_entry_local_shared):
+       New functions.  Move code from elf_m68k_relocate_section here.
+       (elf_m68k_relocate_section): Update.
+       (elf_m68k_finish_dynamic_symbol): Fix handling of local TLS symbols.
+
+2009-08-26  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       * elf32-m68k.c (elf_m68k_copy_indirect_symbol): Propagate
+       non_got_ref value.
+       (elf_m68k_check_relocs): Handle dynamic TLS relocations.
+       Handle non_got_ref field.
+       (elf_m68k_adjust_dynamic_symbol): Handle non_got_ref field.
+
+2009-08-26  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/10518
+       * linker.c (bfd_find_version_for_sym): Revert warning.
+
+2009-08-26  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/10518
+       * linker.c (bfd_find_version_for_sym): Override a "*" match by any
+       other wildcard match.  Warn on multiple wildcard matches.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.am (libbfd_la_LDFLAGS): Initialize early, to allow
+       appending.
+       [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES, bfdinclude_HEADERS): Set
+       only in this condition.
+       [!INSTALL_LIBBFD] (noinst_LTLIBRARIES, libbfd_la_LDFLAGS): New,
+       to build but not install libbfd.la in this condition.
+       (install-bfdlibLTLIBRARIES, uninstall-bfdlibLTLIBRARIES)
+       (install_libbfd, install_libbfd): Remove.
+       * Makefile.in: Regenerate.
+       * doc/Makefile.am (AM_CPPFLAGS): Renamed from ...
+       (INCLUDES): ... this.
+       ($(MKDOC)): Adjust.
+       * doc/Makefile.in: Regenerate.
+
+       * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, instead use
+       no-dist and foreign.
+       (EXTRA_libbfd_la_SOURCES): New, list $(CFILES) to allow
+       dependency tracking to work for them.
+       (targets.lo, archures.lo, dwarf.lo): Rewrite to
+       use automake dependency tracking mechanism.
+       (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
+       (mkdep section): Remove.
+       (BUILT_SOURCES): New, list $(BUILD_HFILES).
+       * Makefile.in: Regenerate.
+       * po/SRC-POTFILES.in, po/bfd.pot: Regenerate.
+
+       * Makefile.am (datarootdir, docdir, htmldor, pdfdir)
+       (install-pdf, install-pdf-recursive, install-html)
+       (install-html-recursive): Remove.
+       * Makefile.in: Regenerate.
+
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Likewise.
+       * config.in: Likewise.
+       * configure: Likewise.
+
+2009-08-21  Daniel Gutson  <dgutson@codesourcery.com>
+
+       * elf32-arm.c (arch_has_thumb2_nop): New function.
+       (arch_has_arm_nop): New function.
+       (elf32_arm_final_link_relocate): NOP opcodes changed.
+
+2009-08-16  Doug Evans  <dje@google.com>
+
+       * opncls.c (bfd_close): Until BFD_IN_MEMORY has an iovec,
+       at least don't leak memory.
+
+2009-08-13  DJ Delorie  <dj@redhat.com>
+
+       * elf32-m32c.c (m32c_elf_relax_delete_bytes): Adjust symbol sizes
+       if needed.
+
+2009-08-12  Nick Clifton  <nickc@redhat.com>
+
+       * po/fi.po: Updated Finnish translation.
+
+2009-08-11  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       Merge some FRV FDPIC changes into the Blackfin code.
+       * elf32-bfin.c (struct bfinfdpic_elf_link_hash_table): Add pointer to
+       summary reloc information.
+       (bfinfdpic_dynamic_got_plt_info): New.
+       (_bfin_create_got_section): Create the PLT section here.
+       (elf32_bfinfdpic_create_dynamic_sections): Not here.
+       (_bfinfdpic_count_nontls_entries): Move out of...
+       (_bfinfdpic_count_got_plt_entries): ... here.
+       (_bfinfdpic_count_relocs_fixups): Likewise.
+       (_bfinfdpic_reset_got_plt_entries): New.
+       (_bfinfdpic_size_got_plt): Move out of...
+       (elf32_bfinfdpic_size_dynamic_sections): ... here.
+       (bfinfdpic_relocate_section): Be careful not to call
+       _bfinfdpic_add_rofixup or _bfinfdpic_add_dyn_reloc for deleted relocs.
+       (bfinfdpic_check_discarded_relocs, bfinfdpic_elf_discard_info):
+       New functions.
+       (elf_backend_discard_info): Define for FD-PIC.
+
 2009-08-11  Alan Modra  <amodra@bigpond.net.au>
 
        * elflink.c: Add FIXMEs for some places that require octets_per_byte
        (ppc_elf_size_dynamic_sections): Likewise.
        (ppc_elf_relocate_section): Likewise.
 
-2006-08-09  Bernd Schmidt  <bernd.schmidt@analog.com>
+2009-08-09  Bernd Schmidt  <bernd.schmidt@analog.com>
 
        From Mike Frysinger <michael.frysinger@analog.com>
        * elf32-bfin.c (bfin_howto_table, bfin_reloc_map, bfin_check_relocs,
        BFD_HAVE_SYS_STAT_TYPE_MEMBER): New config functions.
        * configure.in: Use them.
        * configure: Regenerate.
-       * config.in: Regnerate.
+       * config.in: Regenerate.
        * vmsutil.c: Include sysdep.h, remove ansidecl.h.
        #define _BSD_SOURCE. Add comments.
        (vms_file_stats_name): Calculate creation date based on available
This page took 0.036447 seconds and 4 git commands to generate.