* elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_symbol): Use the
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index c9437269f23bf0f7bee4f6a15b83f747252d9091..e26f318b76aa8b8ce625d2aff44604b933846145 100644 (file)
@@ -1,4 +1,183 @@
-2006-01-26  Nathan Sidwell  <nathan@codesourcery.com>
+2006-02-27  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_symbol): Use the
+       cached hgot entry to check for _GLOBAL_OFFSET_TABLE_.
+       * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Likewise.
+       * elf32-bfin.c (bfin_finish_dynamic_symbol): Likewise.
+       * elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise.
+       * elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Likewise.
+       * elf32-i386.c (elf_i386_finish_dynamic_symbol): Likewise.
+       * elf32-m32r.c (m32r_elf_finish_dynamic_symbol): Likewise.
+       * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Likewise.
+       * elf32-sh.c (sh_elf_finish_dynamic_symbol): Likewise.
+       * elf32-vax.c (elf_vax_finish_dynamic_symbol): Likewise.
+       * elf32-xtensa.c (elf_xtensa_finish_dynamic_symbol): Likewise.
+       * elf64-sh64.c (sh64_elf64_finish_dynamic_symbol): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Likewise.
+       * elf32-s390.c (elf_s390_finish_dynamic_symbol): Likewise.  Also use
+       the cached hplt entry to check for _PROCEDURE_LINKAGE_TABLE_.
+       * elf64-alpha.c (elf64_alpha_finish_dynamic_symbol): Likewise.
+       * elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Likewise.
+       * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
+
+2006-02-25  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf-bfd.h (elf_link_hash_table): Add hplt field.
+       * elflink.c (_bfd_elf_create_dynamic_sections): Initialize it.
+       * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Likewise.
+       * elf32-frv.c (_frv_create_got_section): Likewise.
+       * elf32-m32r.c (m32r_elf_create_dynamic_sections): Likewise.
+       * elf32-sh.c (sh_elf_create_dynamic_sections): Likewise.
+       * elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise.
+       * elf64-sh64.c (sh64_elf64_create_dynamic_sections): Likewise.
+       * elf32-i386.c (elf_i386_link_hash_table): Remove hgot and hplt.
+       (elf_i386_link_hash_table_create): Don't initialize them.
+       (elf_i386_size_dynamic_sections): Use the generic ELF hplt and
+       hgot fields.
+       (elf_i386_finish_dynamic_symbol): Likewise.
+       * elf32-ppc.c (ppc_elf_link_hash_table): Remove hplt.
+       (ppc_elf_size_dynamic_sections): Use the generic ELF hplt fields.
+       (ppc_elf_finish_dynamic_symbol): Likewise.
+       
+2006-02-24  DJ Delorie  <dj@redhat.com>
+
+       * elf32-m32c.c (m32c_elf_howto_table): Add relaxation relocs.
+       (m32c_elf_relocate_section): Don't relocate them.
+       (compare_reloc): New.
+       (relax_reloc): Remove.
+       (m32c_offset_for_reloc): New.
+       (m16c_addr_encodings): New.
+       (m16c_jmpaddr_encodings): New.
+       (m32c_addr_encodings): New.
+       (m32c_elf_relax_section): Relax jumps and address displacements.
+       (m32c_elf_relax_delete_bytes): Adjust for internal syms.  Fix up
+       short jumps.
+
+       * reloc.c: Add m32c relax relocs.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+       
+2006-02-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2218
+       * elf-bfd.h (elf_backend_data): Add elf_backend_fixup_symbol.
+       (_bfd_elf_link_hash_fixup_symbol): New.
+
+       * elflink.c (_bfd_elf_link_hash_fixup_symbol): New.
+       (_bfd_elf_fix_symbol_flags): Call elf_backend_fixup_symbol if
+       it isn't NULL.
+
+       * elfxx-ia64.c (elf_backend_fixup_symbol): Defined.
+
+       * elfxx-target.h (elf_backend_fixup_symbol): New.
+       (elfNN_bed): Initialize elf_backend_fixup_symbol.
+
+2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * cpu-ia64-opc.c (ins_immu5b): New.
+       (ext_immu5b): Likewise.
+       (elf64_ia64_operands): Add IMMU5b.
+
+2006-02-21  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/2218
+       * elf32-arm.c (allocate_dynrelocs): Ensure undef weak sym in pie
+       is dynamic.
+       * elf32-hppa.c (allocate_dynrelocs): Likewise.
+       * elf32-i386.c (allocate_dynrelocs): Likewise.
+       * elf32-s390.c (allocate_dynrelocs): Likewise.
+       * elf32-sh.c (allocate_dynrelocs): Likewise.
+       * elf64-s390.c (allocate_dynrelocs): Likewise.
+       * elf64-x86-64.c (allocate_dynrelocs): Likewise.
+       * elf32-m32r.c (allocate_dynrelocs): Likewise.  Discard relocs
+       on undef weak with non-default visibility too.
+       * elfxx-sparc.c (allocate_dynrelocs): Ditto.
+
+2006-02-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd.c: (_bfd_default_error_handler): Don't call abort on
+       error, instead call _exit.
+       (_bfd_abort): Call _exit not xexit.
+
+2006-02-17  Kevin Buettner  <kevinb@redhat.com>
+
+       * elf32-frv.c (elf32_frv_grok_prstatus, elf32_frv_grok_psinfo):
+       New functions.
+       * elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.
+
+2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
+            Anil Paranjape   <anilp1@kpitcummins.com>
+            Shilin Shakti    <shilins@kpitcummins.com>
+
+       * Makefile.am: Add xc16x related entry 
+       * Makefile.in: Regenerate 
+       * archures.c: Add bfd_xc16x_arch 
+       * bfd-in2.h: Regenerate
+       * config.bfd: Add xc16x-*-elf
+       * configure.in: Add bfd_elf32_xc16x_vec
+       * configure: Regenerate.
+       * targets.c: Added xc16x related information
+       * cpu-xc16x.c: New file
+       * reloc.c: Add new relocations specific to xc16x:
+       BFD_RELOC_XC16X_PAG, BFD_RELOC_XC16X_POF, BFD_RELOC_XC16X_SEG,
+       BFD_RELOC_XC16X_SOF     
+       * elf32-xc16x.c: New file.
+
+2006-02-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (allocate_dynrelocs): Tweak undef weak handling.
+       * elf64-ppc.c (allocate_dynrelocs): Likewise.
+
+2006-02-17  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/2218
+       * elf64-ppc.c (allocate_dynrelocs): Ensure undef weak sym is
+       dynamic.
+       (ppc64_elf_relocate_section): Check output reloc section size.
+       * elf32-ppc.c (allocate_dynrelocs): Simplify undef weak test.
+
+2006-02-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2322
+       * elf.c (get_segment_type): New function.
+       (_bfd_elf_print_private_bfd_data): Use it.
+       (print_segment_map): New function.
+       (assign_file_positions_for_segments): Call print_segment_map
+       when there are not enough room for program headers.
+
+2006-02-16  Nick Hudson  <nick.hudson@dsl.pipex.com>
+
+       * config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Use
+       traditional MIPS ELF targets.
+
+2006-02-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/2338
+       * dwarf2.c (check_function_name): New function.
+       (_bfd_dwarf2_find_nearest_line): Use check_function_name to
+       check if function is correct.
+
+2006-02-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (_bfd_elf_default_action_discarded): Return 0 for
+       debug sections.
+       (elf_link_input_bfd): Adjust comments.
+
+2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (copy_private_bfd_data): Minor update.
+
+2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/2258
+       * elf.c (copy_private_bfd_data): Renamed to ...
+       (rewrite_elf_program_header): This.
+       (copy_elf_program_header): New function.
+       (copy_private_bfd_data): Likewise.
+
+2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
 
        * archures.c (bfd_mach_mcf5200, bfd_mach_mcf5206e,
        bfd_mach_mcf5307, bfd_mach_mcf5407, bfd_mach_mcf528x,
This page took 0.024079 seconds and 4 git commands to generate.