Check if a symbol is hidden by linker script.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index aaba0edf442784f71c65e8bc82d7985c1c4ff8af..b063de9ac93ec76ab2911b14cf8336195b7ee517 100644 (file)
@@ -1,3 +1,131 @@
+2011-09-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/12975
+       * bfd-in.h (bfd_elf_size_dynamic_sections): Remove pointer
+       to struct bfd_elf_version_tree.
+
+       * elflink.c (elf_info_failed): Remove verdefs.
+       (_bfd_elf_export_symbol): Updated.
+       _bfd_elf_link_assign_sym_version): Likewise.
+       (bfd_elf_size_dynamic_sections): Remove pointer to struct
+       bfd_elf_version_tree.  Updated.
+       (bfd_elf_gc_mark_dynamic_ref_symbol): Check if a symbol is hidden
+       by linker script.
+
+       * linker.c (bfd_hide_sym_by_version): New.
+
+       * bfd-in2.h: Regenerated.
+
+2011-09-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/13178
+       * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Use .got.plt
+       if there are no GOT relocations.
+
+2011-09-09  Kai Tietz  <ktietz@redhat.com>
+
+       * peicode.h (pe_ILF_build_a_bfd): Don't remove leading underscore
+       for targets without symbol_leading_char.
+
+2011-09-08  Bernd Jendrissek  <bernd.jendrissek@gmail.com>
+
+       * bfdwin.c (bfd_get_file_window): Fix memory leak.
+
+2011-09-07  Alan Modra  <amodra@gmail.com>
+
+       PR ld/13131
+       * bfd/elf64-ppc.c (adjust_toc_syms): Ensure ppc64_elf_howto_table
+       is initialized.
+
+2011-09-06  Alan Modra  <amodra@gmail.com>
+
+       PR ld/13131
+       * elf64-ppc.c (adjust_toc_syms): Delete redundant code.
+       (ppc64_elf_edit_toc): Fix style nit.  Report some details
+       on linker failure due to reference in debug or non-alloc
+       sections to optimized away toc entry, and don't abort.
+
+2011-09-01  Christophe Lyon  <christophe.lyon@st.com>
+
+       * elf32-arm.c (elf32_arm_output_arch_local_syms): Skip excluded
+       sections.
+
+2011-08-26  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2011-08-19  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_edit_toc): Ignore can_optimize bit if
+       we haven't seen expected -mcmodel=medium/large code relocs.
+
+2011-08-18  Tristan Gingold  <gingold@adacore.com>
+
+       * mach-o.c (bfd_mach_o_read_segment): Initialize list.
+
+2011-08-17  Tristan Gingold  <gingold@adacore.com>
+
+       * mach-o.c (bfd_mach_o_write_section_32): Fix typo.
+
+2011-08-17  Alan Modra  <amodra@gmail.com>
+
+       PR ld/12762
+       * bfd-in.h (struct bfd_section_already_linked): Forward declare.
+       (_bfd_handle_already_linked): Declare.
+       * coff-alpha.c (_bfd_ecoff_section_already_linked): Define as
+       _bfd_coff_section_already_linked.
+       * coff-mips.c (_bfd_ecoff_section_already_linked): Likewise.
+       * coffcode.h (coff_section_already_linked): Likewise.
+       * cofflink.c (coff_link_add_symbols): Revert 2011-07-09 changes.
+       * elf-bfd.h: Likewise.
+       * libbfd-in.h: Likewise.
+       * targets.c: Likewise.
+       * linker.c (bfd_section_already_linked): Likewise.
+       (bfd_section_already_linked_table_lookup): Likewise.
+       (bfd_section_already_linked_table_insert): Likewise.
+       (_bfd_generic_section_already_linked): Likewise.  Call
+       _bfd_handle_already_linked.
+       (_bfd_handle_already_linked): New function, split out from..
+       * elflink.c (_bfd_elf_section_already_linked): ..here.  Revert
+       2011-07-09 changes.  Avoid unnecessary strcmp when matching
+       already_linked_list entries.  Match plugin linkonce section.
+       (section_signature): Delete.
+       * coffgen.c (_bfd_coff_section_already_linked): New function.
+       * libcoff-in.h (_bfd_coff_section_already_linked): Declare.
+       * libbfd.h: Regenerate.
+       * libcoff.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2011-08-14  Alan Modra  <amodra@gmail.com>
+
+       * elf32-ppc.c (ppc_elf_select_plt_layout): Force bss-plt when
+       shared and call to _mcount will go via plt.
+
+2011-08-14  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c: Prefix all einfo error strings with "%P: ".
+       * elf32-ppc.c: Likewise.
+       (ppc_elf_select_plt_layout): Use einfo rather than info to report
+       forced bss-plt.
+
+2011-08-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/13082
+       * elf64-x86-64.c (x86_64_elf_howto_table): Add R_X86_64_RELATIVE64.
+       (elf_x86_64_relocate_section): Treat R_X86_64_64 like R_X86_64_32
+       and zero-extend it to 64bit if addend is zero for x32.  Generate
+       R_X86_64_RELATIVE64 for x32.
+
+2011-08-09  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
+       * bfd-in2.h (bfd_elf32_arm_set_target_relocs): Likewise.
+       * elf32-arm.c (elf32_arm_link_hash_table): New field.
+       (elf232_arm_link_hash_table_create): Initialise new field.
+       (check_use_blx): Change test depending on fix_arm1176.
+       (bfd_elf32_arm_set_target_relocs): Set fix_arm1176 from
+       command line options.
+
 2011-08-08  Tristan Gingold  <gingold@adacore.com>
 
        * mach-o.c (struct mach_o_segment_name_xlat): Add comments.
This page took 0.024649 seconds and 4 git commands to generate.