Approved by nickc@redhat.com:
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index c94289f0ea4d31d4ac4519623b0f8c1569519dcf..3649cf8df324dd1e753a41d57a0627784399c6ec 100644 (file)
@@ -1,3 +1,267 @@
+2005-01-05  Fred Fish  <fnf@specifixinc.com>
+
+       * dwarf2.c (struct dwarf2_debug): Add info_ptr_unit member.
+       (find_abstract_instance_name): New function.
+       (scan_unit_for_functions): Handle DW_TAG_inlined_subroutine.
+       (scan_unit_for_functions): Handle DW_AT_abstract_origin.
+       (_bfd_dwarf2_find_nearest_line): Initialize info_ptr_unit.
+
+2004-12-31  Paul Brook  <paul@copdesourcery.com>
+
+       * elf32-arm.c (elf32_arm_symbian_plt_entry): Fix comment typo.
+
+2004-12-31  Alan Modra  <amodra@bigpond.net.au>
+
+       * reloc.c (BFD_RELOC_AVR_LDI, BFD_RELOC_AVR_6, BFD_RELOC_AVR_6_ADIW):
+       Commit missing changes from 2004-12-22.
+       * bfd-in2.h: Regenerate.
+
+2004-12-23  Tomer Levi  <Tomer.Levi@nsc.com>
+
+       * elf32-crx.c (elf32_crx_relax_section): Support 'bcop' relaxation.
+
+2004-12-21  Kris Warkentin  <kewarken@qnx.com>
+
+       * elf.c (elfcore_grok_nto_gregs): Change name to elfcore_grok_nto_regs.
+       Add 'base' argument for constructing register sections.  Reformat.
+       (elfcore_grok_nto_note): Call elfcore_grok_nto_regs for both
+       gp and fp regs.  Reformat.
+       
+2004-12-22  Klaus Rudolph  <lts-rudolph@gmx.de>
+
+       * reloc.c: Add new relocs R_AVR_LDI, R_AVR_6, R_AVR_6_ADIW.
+       * bfd-in2.h: Regenerate.
+       * elf32-avr.c (elf_avr_nowto_table): Add the new relocs.
+       (avr_reloc_map): Likewise.
+       (avr_final_link_relocate): Likewise.
+
+2004-12-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (_bfd_elf_merge_symbol): Treat old definitions from
+       as-needed dynamic libs as undefined.
+       (elf_link_add_object_symbols): Remove DYN_AS_NEEDED from as-needed
+       libs when finding they are needed.
+
+2004-12-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs.
+       (opd_entry_value): Use opd_relocs if available.
+       (ppc64_elf_relocate_section): Don't set reloc_done.  Instead
+       copy .opd relocations to opd_relocs.
+       (ppc64_elf_edit_toc): Set rel_hdr.sh_size after editing relocs.
+
+2004-12-16  Richard Sandiford  <rsandifo@redhat.com>
+
+       * reloc.c (BFD_RELOC_V850_LO16_SPLIT_OFFSET): New bfd_reloc_code_type.
+       * elf32-v850.c (v850_elf_howto_table): Add entry for
+       R_V850_LO16_SPLIT_OFFSET.
+       (v850_elf_reloc_map): Map it to BFD_RELOC_V850_LO16_SPLIT_OFFSET.
+       (v850_elf_perform_lo16_relocation): New function, extracted from...
+       (v850_elf_perform_relocation): ...here.  Use it to handle
+       R_V850_LO16_SPLIT_OFFSET.
+       (v850_elf_check_relocs, v850_elf_final_link_relocate): Handle
+       R_V850_LO16_SPLIT_OFFSET.
+       * libbfd.h, bfd-in2.h: Regenerate.
+
+2004-12-14  P.J. Darcy  <darcypj@us.ibm.com>
+
+       * config.bfd: Add s390x-ibm-tpf support.
+
+2004-12-14  Tomer Levi  <Tomer.Levi@nsc.com>
+
+       * elf32-crx.c (elf32_crx_relax_delete_bytes): Add 'struct bfd_link_info *'
+       to prototype, to make hash info available.
+       Prevent wrapped symbols from being adjusted twice.
+
+2004-12-14  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elfxx-mips.c (mips_elf_calculate_relocation): Don't report an
+       overflow for calls to undefined weak symbols.
+
+2004-12-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * elfcode.h (elf_slurp_symbol_table): Use bfd_elf_sym_name so that
+       canonical sections syms have a name.
+
+2004-12-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (opd_entry_value): Don't use cached relocs if they
+       have been adjusted for output.
+       (ppc64_elf_relocate_section): Mark sections with reloc_done.
+
+2004-12-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (bfd_elf_sym_name): Rename from bfd_elf_local_sym_name and
+       add symtab_hdr param.
+       (group_signature): Update calls.
+       * elf-bfd.h (bfd_elf_sym_name): Update.
+       * elf32-ppc.c (ppc_elf_relocate_section): Update.
+       * elf64-ppc.c (ppc64_elf_edit_opd, ppc64_elf_edit_toc): Update.
+       (ppc64_elf_relocate_section): Update.
+       * elflink.c (elf_link_input_bfd): Update.
+
+2004-12-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf.c (bfd_elf_local_sym_name): Avoid crashes with invalid
+       st_shndx on STT_SECTION sections.
+
+2004-12-09  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elfcode.h (elf_slurp_reloc_table_from_section): Don't canonicalize
+       ELF section symbols.
+
+2004-12-09  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * elfxx-mips.c (mips_elf_calculate_relocation): For R_MIPS_JALR,
+       return a real value, unless it is a PLT symbol.
+       (mips_elf_perform_relocation): On the RM9000, turn a jal into a
+       bal if possible.
+
+       * elfn32-mips.c (elf_mips_howto_table_rela): Change dst_mask of
+       R_MIPS_JALR entry to 0.
+
+       * archures.c: Define bfd_mach_mips9000.
+       * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_9000.
+       (mips_set_isa_flags): Handle bfd_mach_mips9000.
+       * cpu-mips.c (I_mips9000): Define.
+       (arch_info_struct): Add case for bfd_mach_mips9000.
+       * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mips9000.
+       * bfd-in2.h: Regenerate.
+
+2004-12-08  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * elfxx-mips.c (mips_elf_calculate_relocation): Test for R_MIPS_26
+       overflow.
+
+2004-12-07  Ben Elliston  <bje@gnu.org>
+
+       * netbsd-core.c (netbsd_core_file_p): Make `i' unsigned.
+
+2004-12-06  Daniel Jacobowitz  <dan@debian.org>
+
+       Suggested by Fergal Daly <fergal@esatclear.ie>:
+       * simple.c (simple_dummy_multiple_definition): New function.
+       (bfd_simple_get_relocated_section_contents): Use it.
+
+2004-12-03  Jan Beulich  <jbeulich@novell.com>
+
+       * elf.c (elf_find_function): Don't use the last file symbol ever,
+       seen, but the last one seen prior to the symbol being reported.
+       Don't report a filename at all for global symbols when that might
+       be ambiguous/wrong.
+
+2004-12-01  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_copy_private_bfd_data): Set EI_OSABI.
+       (elf32_arm_post_process_headers): Set EI_OSABI depending on ABI
+       version.
+
+2004-12-01  Paul Brook  <paul@codesourcery.com>
+
+       * elflink.c (elf_link_add_object_symbols): Make symbols from discarded
+       sections undefined.
+
+2004-11-30  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (struct elf32_arm_link_hash_table): Remove
+       no_pipeline_knowledge
+       (elf32_arm_link_hash_table_create): Ditto.
+       (bfd_elf32_arm_process_before_allocation): Ditto.
+       (elf32_arm_final_link_relocate): Ditto.  Remove oabi relocation
+       handling.
+       * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update
+       prototype.
+       * bfd-in2.h: Regenerate.
+
+2004-11-30  Randolph Chung  <tausq@debian.org>
+
+       * elf32-hppa.c (elf32_hppa_grok_prstatus): New function.
+       (elf32_hppa_grok_psinfo): New function.
+       (elf_backend_grok_prstatus): Define.
+       (elf_backend_grok_psinfo): Define.
+
+2004-11-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 574:
+       * elfcode.h (elf_slurp_symbol_table): Handle STT_TLS.
+
+2004-11-24  Paul Brook  <paul@codesourcery.com>
+
+       * elf.c (assign_section_numbers): Number SHT_GROUP sections first.
+
+2004-11-24  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_swap_symbol_in): New function.
+       (elf32_arm_swap_symbol_out): New function.
+       (elf32_arm_size_info): Add.
+       (elf_backend_size_info): Define.
+
+2004-11-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * hpux-core.c (hpux_core_core_file_p): Use offsetof macro in calls to
+       make_bfd_asection.
+
+2004-11-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-arm.c (elf32_arm_finish_dynamic_sections): Warning fix.
+       * elf32-iq2000.c (iq2000_reloc_type_lookup): C90 function decl.
+       * nlmcode.h (nlm_write_object_contents): Warning fix.
+
+2004-11-18  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (ebb_propose_action): Fix argument order.
+
+2004-11-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elf32-arm.c (PLT_THUMB_STUB_SIZE): Define.
+       (elf32_arm_plt_thumb_stub): New.
+       (struct elf32_arm_link_hash_entry): Add plt_thumb_refcount
+       and plt_got_offset.
+       (elf32_arm_link_hash_traverse): Fix typo.
+       (elf32_arm_link_hash_table): Add obfd.
+       (elf32_arm_link_hash_newfunc): Initialize new fields.
+       (elf32_arm_copy_indirect_symbol): Copy plt_thumb_refcount.
+       (elf32_arm_link_hash_table_create): Initialize obfd.
+       (record_arm_to_thumb_glue): Mark the glue as a local ARM function.
+       (record_thumb_to_arm_glue): Mark the glue as a local Thumb function.
+       (bfd_elf32_arm_get_bfd_for_interworking): Verify that the
+       interworking BFD is not dynamic.
+       (bfd_elf32_arm_process_before_allocation): Handle R_ARM_PLT32.  Do
+       not emit glue for PLT references.
+       (elf32_arm_final_link_relocate): Handle Thumb functions.  Do not
+       emit glue for PLT references.  Support the Thumb PLT prefix.
+       (elf32_arm_gc_sweep_hook): Handle R_ARM_THM_PC22 and
+       plt_thumb_refcount.
+       (elf32_arm_check_relocs): Likewise.
+       (elf32_arm_adjust_dynamic_symbol): Handle Thumb functions and
+       plt_thumb_refcount.
+       (allocate_dynrelocs): Handle Thumb PLT references.
+       (elf32_arm_finish_dynamic_symbol): Likewise.
+       (elf32_arm_symbol_processing): New function.
+       (elf_backend_symbol_processing): Define.
+
+2004-11-16  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elf-bfd.h (eh_cie_fde): Add new fields: add_augmentation_size and
+       add_fde_encoding.  Remove need_relative.
+       * elf-eh-frame.c (extra_augmentation_string_bytes)
+       (extra_augmentation_data_bytes, size_of_output_cie_fde): New functions.
+       (_bfd_elf_discard_section_eh_frame): Consider changing the FDE encoding
+       in cases where the CIE has no existing 'R' augmentation.  Use
+       size_of_output_cie_fde when assigning offsets.  Use the final offset
+       as the new section size.
+       (_bfd_elf_eh_frame_section_offset): Remove need_relative handling.
+       Account for any extra augmentation bytes in the returned offset.
+       (_bfd_elf_write_section_eh_frame): Rework so that the entries are
+       moved before being modified.  Pad growing entries with DW_CFA_nops.
+       Add 'z' and 'R' augmentations as directed by add_augmentation_size
+       and add_fde_encoding.
+
+2004-11-15  Mark Mitchell  <mark@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_relocate_section): Use
+       arm_real_reloc_type.
+
 2004-11-16  Richard Sandiford  <rsandifo@redhat.com>
 
        * elfxx-mips.c (mips_elf_create_dynamic_relocation): Return early
This page took 0.026233 seconds and 4 git commands to generate.