bfd/
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index f7cbecbd10c005298332a56c95744129b6e22d76..70ab598460353f1f661ec8a92ddb76fa06b811c1 100644 (file)
@@ -1,3 +1,266 @@
+2006-03-13  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.
+
+2006-03-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2443
+       * dwarf2.c (concat_filename): Don't issue an error if file is
+       0.
+
+2006-03-10  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (INTERWORK_FLAG): Handle EABIv5.
+       (elf32_arm_print_private_bfd_data): Ditto.
+
+2006-03-09  Paul Brook  <paul@codesourcery.com>
+
+       * cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional
+       mapping symbols.
+
+2006-03-09  Khem Raj  <khem@mvista.com>
+
+       * elf32-arm.c(elf32_arm_finish_dynamic_sections): Use unsigned
+       char type.
+
+2006-03-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_ia64_choose_gp): Properly choose gp.
+
+2006-03-07  Richard Sandiford  <richard@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Zack Weinberg  <zack@codesourcery.com>
+           Nathan Sidwell  <nathan@codesourcery.com>
+           Paul Brook  <paul@codesourcery.com>
+           Ricardo Anguiano  <anguiano@codesourcery.com>
+           Phil Edwards  <phil@codesourcery.com>
+
+       * configure.in (bfd_elf32_bigarm_vec): Include elf-vxworks.lo.
+       (bfd_elf32_bigarm_symbian_vec): Likewise.
+       (bfd_elf32_bigarm_vxworks_vec): Likewise.
+       (bfd_elf32_littlearm_vec): Likewise.
+       (bfd_elf32_littlearm_symbian_vec): Likewise.
+       (bfd_elf32_littlearm_vxworks_vec): Likewise.
+       * configure: Regenerate.
+       * elf32-arm.c: Include libiberty.h and elf-vxworks.h.
+       (RELOC_SECTION, RELOC_SIZE, SWAP_RELOC_IN, SWAP_RELOC_OUT): New macros.
+       (elf32_arm_vxworks_bed): Add forward declaration.
+       (elf32_arm_howto_table_1): Fix the masks for R_ASM_ABS12.
+       (elf32_arm_vxworks_exec_plt0_entry): New table.
+       (elf32_arm_vxworks_exec_plt_entry): Likewise.
+       (elf32_arm_vxworks_shared_plt_entry): Likewise.
+       (elf32_arm_link_hash_table): Add vxworks_p and srelplt2 fields.
+       (reloc_section_p): New function.
+       (create_got_section): Use RELOC_SECTION.
+       (elf32_arm_create_dynamic_sections): Likewise.  Call
+       elf_vxworks_create_dynamic_sections for VxWorks targets.
+       Choose between the two possible values of plt_header_size
+       and plt_entry_size.
+       (elf32_arm_link_hash_table_create): Initialize vxworks_p and srelplt2.
+       (elf32_arm_abs12_reloc): New function.
+       (elf32_arm_final_link_relocate): Call it.  Allow the creation of
+       dynamic R_ARM_ABS12 relocs on VxWorks.  Use reloc_section_p,
+       RELOC_SIZE, SWAP_RELOC_OUT and RELOC_SECTION.  Initialize the
+       r_addend fields of relocs.  On rela targets, skip any code that
+       adjusts in-place addends.  When using _bfd_link_final_relocate
+       to perform a final relocation, pass rel->r_addend as the addend
+       argument.
+       (elf32_arm_merge_private_bfd_data): If one of the bfds is a VxWorks
+       object, ignore flags that are not standard on VxWorks.
+       (elf32_arm_check_relocs): Allow the creation of dynamic R_ARM_ABS12
+       relocs on VxWorks.  Use reloc_section_p.
+       (elf32_arm_adjust_dynamic_symbol): Use RELOC_SECTION and RELOC_SIZE.
+       (allocate_dynrelocs): Use RELOC_SIZE.  Account for the size of
+       .rela.plt.unloaded relocs on VxWorks targets.
+       (elf32_arm_size_dynamic_sections): Use RELOC_SIZE.  Check for
+       .rela.plt.unloaded as well as .rel(a).plt.  Add DT_RELA* tags
+       instead of DT_REL* tags on RELA targets.
+       (elf32_arm_finish_dynamic_symbol): Use RELOC_SECTION, RELOC_SIZE
+       and SWAP_RELOC_OUT.  Initialize r_addend fields.  Handle VxWorks
+       PLT entries.  Do not make _GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
+       (elf32_arm_finish_dynamic_sections): Use RELOC_SECTION, RELOC_SIZE
+       and SWAP_RELOC_OUT.  Initialize r_addend fields.  Handle DT_RELASZ
+       like DT_RELSZ.  Handle the VxWorks form of initial PLT entry.
+       Correct the .rela.plt.unreloaded symbol indexes.
+       (elf32_arm_output_symbol_hook): Call the VxWorks version of this
+       hook on VxWorks targets.
+       (elf32_arm_vxworks_link_hash_table_create): Set vxworks_p to true.
+       Minor formatting tweak.
+       (elf32_arm_vxworks_final_write_processing): New function.
+       (elf_backend_add_symbol_hook): Override for VxWorks and reset
+       for Symbian.
+       (elf_backend_final_write_processing): Likewise.
+       (elf_backend_emit_relocs): Likewise.
+       (elf_backend_want_plt_sym): Likewise.
+       (ELF_MAXPAGESIZE): Likewise.
+       (elf_backend_may_use_rel_p): Minor formatting tweak.
+       (elf_backend_may_use_rela_p): Likewise.
+       (elf_backend_default_use_rela_p): Likewise.
+       (elf_backend_rela_normal): Likewise.
+       * Makefile.in (elf32-arm.lo): Depend on elf-vxworks.h.
+
+2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * archures.c (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_b_nousp):
+       New.  Adjust other variants.
+       (bfd_default_scan): Update.
+       * bfd-in2.h: Rebuilt.
+       * cpu-m68k.c: Adjust.
+       (bfd_m68k_compatible): New. Use it for architectures.
+       * elf32-m68k.c (elf32_m68k_object_p): Adjust.
+       (elf32_m68k_merge_private_bfd_data): Adjust.  Correct isa-a/b
+       mismatch.
+       (elf32_m68k_print_private_bfd_data): Adjust.
+       * ieee.c (ieee_write_processor): Adjust.
+       
+2006-03-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * dwarf2.c: Formatting.
+       (add_line_info): Remove outer loop.
+
+2006-03-05  H.J. Lu  <hongjiu.lu@intel.com>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       PR binutils/2338
+       * dwarf2.c (loadable_section): New struct.
+       (dwarf2_debug): Add loadable_section_count and
+       loadable_sections.
+       (new_line_sorts_after): New.
+       (add_line_info): Use new_line_sorts_after to compare line
+       addresses.
+       (check_function_name): Removed.
+       (unset_sections): New.
+       (place_sections): New.
+       (_bfd_dwarf2_find_nearest_line): Updated. Call place_sections
+       and unset_sections on relocatable files.
+       (_bfd_dwarf2_find_line): Likewise.
+
+2006-03-03  Nick Clifton  <nickc@redhat.com>
+
+       * cpu-avr.c: Update to ISO-C90 formatting.
+       * elf32-avr.c: Likewise.
+
+2006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
+
+       * elf32-avr.c (avr_reloc_map): Insert BFD_RELOC_AVR_MS8_LDI
+       and R_AVR_MS8_LDI 
+       (bfd_elf_avr_final_write_processing): Set
+       EF_AVR_LINKRELAX_PREPARED in e_flags field.
+       (elf32_avr_relax_section): New function.
+       (elf32_avr_relax_delete_bytes): New function.
+       (elf32_avr_get_relocated_section_contents): New function.
+       (avr_pc_wrap_around): New function.
+       (avr_relative_distance_considering_wrap_around): New function.
+       (avr_final_link_relocate): Handle negative int8t_t immediate for R_AVR_LDI.
+       * reloc.c: Add BFD_RELOC_AVR_MS8_LDI and BFD_RELOC_AVR_LDI_NEG
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2006-03-02  DJ Delorie  <dj@redhat.com>
+
+       * elf32-m32c.c (m32c_offset_for_reloc): Fix local symbol
+       calculations.
+
+2006-03-02  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf32-ppc.c (is_ppc_elf_target): Return true if the target is
+       bfd_elf32_powerpc_vxworks_vec.
+
+2006-03-02  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-m32c.c (m32c_elf_relax_section): Initialise 'gap'.
+
+2006-03-02  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf32-i386.c (elf_i386_create_dynamic_sections): Use
+       elf_vxworks_create_dynamic_sections.
+       (elf_i386_size_dynamic_sections): Remove VxWorks GOT and PLT
+       symbol handling.
+       * elf32-ppc.c (ppc_elf_create_dynamic_sections): Use
+       elf_vxworks_create_dynamic_sections.
+       (ppc_elf_size_dynamic_sections): Remove VxWorks GOT and PLT
+       symbol handling.
+       * elf-vxworks.c (elf_vxworks_create_dynamic_sections): New function.
+       * elf-vxworks.h (elf_vxworks_create_dynamic_sections): Declare.
+
+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.
This page took 0.025257 seconds and 4 git commands to generate.