bfd/
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 41306166227755c196df7494d2c5b3e97f80d114..53c3ed3c5e6709f94b21cf642ad1e3e478528742 100644 (file)
@@ -1,3 +1,133 @@
+2006-03-02  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf32-i386.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
+       (elf_backend_link_output_symbol_hook): Use
+       elf_vxworks_link_output_symbol_hook instead.
+       * elf32-ppc.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
+       (elf_backend_link_output_symbol_hook): Use
+       elf_vxworks_link_output_symbol_hook instead.
+       * elf-vxworks.c (elf_vxworks_link_output_symbol_hook): Provide the
+       same interface as elf_backend_link_output_symbol_hook.
+       * elf-vxworks.h (elf_vxworks_link_output_symbol_hook): Update
+       prototype accordingly.
+
+2006-03-02  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf32-ppc.c (ppc_elf_plt_type): New enumeration.
+       (ppc_elf_link_hash_table): Replace old_got and new_got with
+       plt_type and can_use_new_plt.
+       (ppc_elf_create_dynamic_sections): Add SEC_HAS_CONTENTS,
+       SEC_LOAD and SEC_READONLY to the VxWorks .plt flags.
+       (ppc_elf_check_relocs): Set can_use_new_plt instead of new_plt.
+       Move from plt_type == PLT_UNSET to PLT_OLD instead of setting old_plt.
+       (ppc_elf_select_plt_layout): Move from plt_type == PLT_UNSET to
+       either plt_type == PLT_OLD or plt_type == PLT_NEW.  Assert that
+       this function should not be called for VxWorks targets.
+       (ppc_elf_tls_setup): Use plt_type instead of old_got.
+       (allocate_got): Likewise.  Rearrange so that max_before_header
+       is only used for PLT_OLD and PLT_NEW.
+       (allocate_dynrelocs): Use plt_type instead of old_got and is_vxworks.
+       (ppc_elf_size_dynamic_sections): Likewise.
+       (ppc_elf_relax_section): Likewise.
+       (ppc_elf_relocate_section): Likewise.
+       (ppc_elf_finish_dynamic_symbol): Likewise.
+       (ppc_elf_vxworks_link_hash_table_create): Initialize plt_type.
+
+2006-02-28  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf32-i386.c (elf_i386_link_hash_table): Add next_tls_desc_index.
+       (elf_i386_link_hash_table_create): Initialize it.
+       (elf_i386_compute_jump_table_size): Use it instead of
+       srelplt->reloc_count.
+       (allocate_dynrelocs): Likewise.
+       (elf_i386_size_dynamic_sections): Likewise.
+       (elf_i386_relocate_section): Likewise.
+       
+2006-02-27  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle S flag.
+       (_bfd_elf_write_section_eh_frame): Likewise.
+
+2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * po/Make-in: Add html target.
+
+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.
This page took 0.024713 seconds and 4 git commands to generate.