* elf64-ppc.c (ppc64_elf_relocate_section): Provide section/offset
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 42b07c6d227b4734a4f96a0b91c80d24af06108c..3c4ba5f44dafdda5e3a26229ffbb50a3d846c4dc 100644 (file)
@@ -1,3 +1,221 @@
+2011-03-10  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_relocate_section): Provide section/offset
+       for LO_DS error message and correct multiple.
+
+2011-03-10  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (bfd_elf64_bfd_link_just_syms): Define.
+       (ppc64_elf_link_just_syms): New function.
+       (opd_entry_value): Don't assume big-endian host.
+       (get_r2off): New function.
+       (ppc_build_one_stub, ppc_size_one_stub): Use it here.
+
+2011-03-06  Michael Snyder  <msnyder@vmware.com>
+
+       * compress.c (bfd_compress_section_contents): Check for out of mem.
+
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Document
+       that case statement falls through intentionally.
+
+       * elf32-i386.c (elf_i386_relocate_section): Document fall through.
+
+2011-03-04  Alan Modra  <amodra@gmail.com>
+
+       * archive.c (bsd_write_armap): Don't call stat in deterministic
+       mode, and don't use st_mtime if stat returns error.
+
+2011-03-03  Michael Snyder  <msnyder@vmware.com>
+
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Remove dead code.
+
+       * coff-x86_64.c (coff_amd64_rtype_to_howto): Fencepost error.
+
+       * aoutx.h (aout_final_link): Use sizeof int not sizeof int*.
+       (aout_link_write_other_symbol): Missing break statement.
+
+       * dwarf2.c (scan_unit_for_symbols): Stop memory leak.
+
+       * archive.c (_bfd_slurp_extended_name_table): Fail if bfd_seek fails.
+
+2011-03-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
+       x32 IE->LE transition.
+       (elf_x86_64_relocate_section): Likewise.
+
+2011-03-02  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * elflink.c (is_reloc_section): Remove function.
+       (get_dynamic_reloc_section_name): Construct string manually.
+
+2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
+
+       * archive.c (_bfd_find_nested_archive): Use filename_(n)cmp.
+       (adjust_relative_path): Likewise.
+       (_bfd_construct_extended_name_table): Likewise.
+       * corefile.c (generic_core_file_matches_executable_p): Likewise.
+       * elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
+       * elf32-frv.c (elf32_frv_relocate_section): Likewise.
+       * elf32-spu.c (sort_bfds): Likewise.
+       (spu_elf_auto_overlay): Likewise.
+       * syms.c (_bfd_stab_section_find_nearest_line): Likewise.
+       * xcofflink.c (xcoff_set_import_path): Likewise.
+       * xtensa-isa.c (xtensa_regfile_lookup): Likewise.
+       (xtensa_regfile_lookup_shortname): Likewise.
+
+2011-02-28  Alan Modra  <amodra@gmail.com>
+
+       PR 12513
+       * archive.c (bfd_slurp_bsd_armap_f2): Sanity check parsed_size and
+       stringsize.  Properly sanity check symdef_count.  Remove redundant
+       bfd_release.
+
+2011-02-25  Rafael Ávila de Espíndola <respindola@mozilla.com>
+
+       * plugin.c (bfd_plugin_object_p): Correctly set the filesize
+       and handle claim_file seeking. Only try to load the plugin once.
+
+2011-02-22  Andreas Schwab  <schwab@redhat.com>
+
+       * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): For a TLS_GD
+       relocation read the value from the second GOT slot.
+
+2011-02-15  Tristan Gingold  <gingold@adacore.com>
+
+       * vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.
+
+2011-02-15  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_edit_toc): Reinstate second read of
+       toc relocs.  Fuss over free(NULL).
+
+2011-02-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * elflink.c (bfd_elf_size_dynamic_sections): Add
+       bfd_get_symbol_leading_char to the start of newname.
+
+2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2011-02-09  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_edit_toc): Don't free toc relocs until
+       we are done.  When optimising large toc, check that a global
+       symbol on a toc reloc is defined in a kept section.
+
+2011-02-08  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/12467
+       * elf.c (assign_file_positions_for_load_sections): Set the program
+       header offset and entry size to zero if there are no program
+       headers.
+
+2011-02-08  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_edit_toc): Don't segfault on NULL
+       local_syms when looking for local symbols in .toc.
+
+2011-02-01  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_next_input_section): Use elf_gp value
+       for toc pointer on any section having makes_toc_func_call set.
+       (check_pasted_section): Ensure pasted .init/.fini fragments use
+       the same toc if any has makes_toc_func_call set.
+
+2011-01-28  Joseph Myers  <joseph@codesourcery.com>
+
+       * elf32-ppc.c (ppc_elf_link_hash_newfunc): Initialize has_sda_refs
+       field.
+
+2011-01-22  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Ignore
+       common sections too.
+
+2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (elf_backend_want_plt_sym): Redefine to 0 after
+       Solaris target.
+
+2011-01-18  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Fix compilation for mingw64.
+       * coffcode.h (coff_slurp_symbol_table): Add intptr_t intermediate
+       typecast to avoid warning.
+       * elf32-rx.c: Add "bfd_stdint.h" include required for int32_t type
+       usage.
+       * elfxx-ia64.c (elfNN_ia64_relax_br): Use intptr_t typeacast instead
+       of long for pointer to avoid warning.
+       (elfNN_ia64_relax_brl): Idem.
+       (elfNN_ia64_install_value): Idem.
+       * vms-alpha.c (_bfd_vms_slurp_etir): Idem.
+
+2011-01-17  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       * elf32-arm.c (elf32_arm_check_relocs): Check needs_plt rather than
+       h->needs_plt when deciding whether to record a possible dynamic reloc.
+
+2011-01-17  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       * elf32-arm.c (elf32_arm_gc_sweep_hook): Remove all registered
+       dynamic relocs for the removed section.
+
+2011-01-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (elf_x86_64_check_relocs): Check invalid x32
+       relocations.
+
+2011-01-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (elf_x86_64_link_hash_table): Add pointer_r_type.
+       (elf_x86_64_link_hash_table_create): Set pointer_r_type.
+       (elf_x86_64_check_relocs): Handle R_X86_64_32 like R_X86_64_64
+       for ILP32.  Remove ABI_64_P PIC check for R_X86_64_8,
+       R_X86_64_16, R_X86_64_32 and R_X86_64_32S.
+       (elf_x86_64_relocate_section):  Handle R_X86_64_32 like R_X86_64_64
+       for ILP32.
+
+2011-01-14  Alan Modra  <amodra@gmail.com>
+
+       * bfd.c (bfd_perror): Flush stdout before and stderr after printing
+       error.
+       (_bfd_default_error_handler): Likewise.
+       * elf.c (print_segment_map): Likewise.
+       * libbfd.c (warn_deprecated): Likewise.
+       * som.c (som_sizeof_headers): No need to do so here.
+       * coff-i860.c: Replace use of printf for error messages with
+       _bfd_error_handler.
+       * coff-ppc.c: Likewise.
+       * coff-sh.c: Likewise.
+       * elf32-bfin.c: Likewise.
+       * elf32-dlx.c: Likewise.
+       * elf32-mep.c: Likewise.
+       * elf32-v850.c: Likewise.
+       * mach-o.c: Likewise.
+       * pef.c: Likewise.
+
+2011-01-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (elf_x86_64_link_hash_table): Remove
+       swap_reloca_out.
+       (elf_x86_64_link_hash_table_create): Don't set swap_reloca_out.
+       (elf_x86_64_check_relocs): Align relocation section to 4 byte
+       for 32bit.
+       (elf_x86_64_gc_sweep_hook): Replace ELF64_ST_TYPE with
+       ELF_ST_TYPE.
+       (elf_x86_64_finish_dynamic_symbol): Updated.
+       (elf_x86_64_finish_dynamic_sections): Don't use
+       Elf64_External_Dyn, bfd_elf64_swap_dyn_in, nor
+       bfd_elf64_swap_dyn_out.
+
+2011-01-14  J. Park  <grassman@gmail.com>
+
+       PR ld/12339
+       * elf32-arm.c (allocate_dynrelocs): Don't set up eh before
+       following bfd_link_hash_warning symbol link.
+
 2011-01-10  Nathan Sidwell  <nathan@codesourcery.com>
            Glauber de Oliveira Costa  <glommer@gmail.com>
 
This page took 0.025434 seconds and 4 git commands to generate.