Properly check undefined symbols when gc_sections is active.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index b70e9347358eff904ea19515d14edd78b9a33f9c..75118cb68152dad2aa05dcc8b203c2a2f362e191 100644 (file)
@@ -1,3 +1,116 @@
+2010-01-26  Alan Modra  <amodra@gmail.com>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/11218
+       * elflink.c (elf_link_output_extsym): Do not ignore undefined
+       symbols with ref_regular set when gc_sections is active.
+
+2010-01-25  Alan Modra  <amodra@gmail.com>
+
+       PR ld/11217
+       * elf64-ppc.c (ppc64_elf_tls_optimize): Optimize tls sequences
+       with relocations against undefined weak symbols.
+       (ppc64_elf_relocate_section): Don't optimize calls to undefined
+       weak functions if the symbol is dynamic.
+       (ppc64_elf_relocate_section): Edit tprel tls sequences.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+       (_bfd_elf_ppc_at_tprel_transform): New function.
+       * bfd-in.h (_bfd_elf_ppc_at_tprel_transform): Declare.
+       * bfd-in2.h: Regenerate.
+
+2010-01-23  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+       * coff-rs6000.c (xcoff_howto_table): Change size to 0 and bitsize to 1.
+       (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_NONE.
+       * coff64-rs6000.c (xcoff64_howto_table): Change size to 0 and
+       bitsize to 1.
+       (xcoff64_reloc_type_lookup): Handle BFD_RELOC_NONE.
+
+2010-01-21  Nick Clifton  <nickc@redhat.com>
+
+       * elflink.c (elf_link_add_object_symbols): Look up name of
+       undefined symbol both before and after versioning has been
+       applied.  Do not bother with symbols that are weakly undefined.
+
+2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * elf32-s390.c (elf32_s390_merge_private_bfd_data): New function.
+       (bfd_elf32_bfd_merge_private_bfd_data): New macro definition.
+
+2010-01-19  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf2.c (read_attribute_value): Add DW_FORM_ref_sig8.
+
+2010-01-19  Daisuke Hatayama  <d.hatayama@jp.fujitsu.com>
+           Alan Modra <amodra@gmail.com>
+
+        * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff.
+       (elf_object_p): Read e_phnum extension.
+       (elf_write_shdrs_and_ehdr): Write e_phnum extension.
+        * elfcore.h (elf_core_file_p): Read e_phnum extension.  Sanity check
+       that we can read last program header.
+
+2010-01-19  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * elf32-arm.c (elf32_arm_howto_table_1): Correct bitsize of
+       R_ARM_THM_CALL entry.
+       (elf32_arm_final_link_relocate): Correct calculation of
+       reloc_signed_max when doing a R_ARM_THM_CALL, R_ARM_THM_XPC22,
+       or R_ARM_THM_JUMP24 relocation.
+
+2010-01-18  Alan Modra  <amodra@gmail.com>
+
+       PR 11168
+       * coffcode.h (coff_compute_section_file_positions): Move Rs6000COFF_C
+       block past vars in COFF_IMAGE_WITH_PE block.  Report error on more
+       than 32k sections.
+
+2010-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix compilation warning on gcc-3.4.
+       * vms-tir.c (start_etir_record, sto_imm): Rename the prototype
+       parameter index to sec_index according to the function definition.
+
+2010-01-13  Chao-ying Fu  <fu@mips.com>
+
+       * elfxx-mips.c (JR_TO_B_P): New define to transform JR to B.
+       It is true for all CPUs.
+       (jal_reloc_p): New function.
+       (mips_elf_calculate_relocation): Rename require_jalxp to
+       cross_mode_jump_p.
+       Update comment for CROSS_MODE_JUMP_P.
+       Set up cross_mode_jump_p based on the mode change.
+       (mips_elf_perform_relocation): Rename require_jalx to cross_mode_jump_p.
+       Update comment for CROSS_MODE_JUMP_P.
+       Test cross_mode_jump_p and jal_reloc_p to turn jal to jalx.
+       Use !cross_mode_jump_p to guard conversion.
+       Convert "jr t9" to "b", if possible.
+       (_bfd_mips_elf_relocate_section): Rename require_jalx to
+       cross_mode_jump_p.
+       Pass &cross_mode_jump_p to call mips_elf_calculate_relocation.
+       Pass cross_mode_jump_p to call mips_elf_perform_relocation.
+
+2010-01-13  Nick Clifton  <nickc@redhat.com>
+
+       * cpu-m32c.c (m32c_scan): New function.  Ensures that a scan for
+       "m32c" returns the m32c arch_info_struct and not the m16c
+       arch_info_struct.
+       (arch_info_struct): Use the new scan function.
+       (bfd_m32c_arch): Likewise.
+
+2010-01-13  Tristan Gingold  <gingold@adacore.com>
+
+       * config.bfd: Remove duplicated target vector for i386-*-darwin.
+       Appends new arch instead of overriding.
+       Use mach_o_x86_64_vec for x86_64-*-darwin.
+       * configure.in: Add mach_o_x86_64_vec.
+       * configure: Regenerate.
+       * targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector.
+       * Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo
+       (BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c
+       * Makefile.in: Regenerate.
+       * mach-o-x86-64.c: New file.
+
 2010-01-13  Tristan Gingold  <gingold@adacore.com>
 
        * reloc.c: Add MACH_O_X86_64 relocations.
This page took 0.026693 seconds and 4 git commands to generate.