PR 4454
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 863640b929be0049a743b8125050114f6960ff87..095fa48f1c96e7a6a77a7f91391d3caa0ec80866 100644 (file)
@@ -1,3 +1,637 @@
+2007-05-11  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4454
+       * elf-eh-frame.c (struct cie): Make "personality" a bfd_vma.
+       (_bfd_elf_discard_section_eh_frame): Handle local syms on
+       personality relocation.
+
+2007-05-10  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf.c (assign_file_positions_for_load_sections): Use p_memsz
+       rather than p_filesz to calculate the LMA of the end of a segment.
+
+2007-05-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Don't do copyreloc
+       processing if symbol is defined in the executable.
+
+2007-05-10  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf32-frv.c (_frvfdpic_check_discarded_relocs): New.
+       (frvfdpic_elf_discard_info): New.
+       (elf_backend_discard_info): Define for FDPIC.
+
+2007-05-09  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Don't
+       attempt to scan if the bfd doesn't correspond to an ELF image.
+       (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise.
+
+2007-05-08  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf32-frv.c (elf32_frv_relocate_section): Discard dynamic relocs
+       for which _bfd_elf_section_offset returns -1.
+
+2007-05-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-spu.c (spu_elf_size_stubs): Use "void *" for psyms.
+       (mark_functions_via_relocs): Likewise.
+
+2007-05-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (bfd_elf_final_link): Correct reloc handling for
+       elf_backend_count_relocs.
+       (bfd_elf_discard_info): Print an error if we can't read syms.
+
+2007-05-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-spu.c (spu_elf_reloc_type_lookup): Return NULL on
+       invalid reloc code.
+       (spu_elf_gc_mark_hook, spu_elf_section_processing): Delete functions.
+       (elf_backend_gc_mark_hook, elf_backend_section_processing): Don't
+       define.
+
+2007-05-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (assign_file_positions_for_load_sections): Don't check
+       core segment.
+
+2007-05-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.c (elf_link_sort_relocs): Return if both .rela.dyn
+       and .rel.dyn aren't present.
+
+2007-05-04  Nick Clifton  <nickc@redhat.com>
+
+       * elflink.c (elf_link_sort_relocs): If both .rela.dyn and .rel.dyn
+       sections are present examine the indirect sections in an attempt
+       to compute the correct relocation size.  If there is any
+       ambiguity, produce an error and refuse to sort.
+
+2007-05-03  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * elf32-arm.c (allocate_dynrelocs): Fix typo in comment.
+
+2007-05-03  Vincent Riviere  <vincent.riviere@freesbee.fr>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR gas/3041
+       * aoutx.h (swap_std_reloc_out): Treat relocs against weak symbols
+       in the same way as relocs against external symbols.
+
+2007-05-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (assign_file_positions_for_load_sections): Set sh_offset
+       here.  Set sh_type to SHT_NOBITS if we won't be allocating
+       file space.  Don't bump p_memsz for non-alloc sections.  Adjust
+       section-in-segment check.
+       (assign_file_positions_for_non_load_sections): Don't set sh_offset
+       here for sections that have already been handled above.
+
+2007-04-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-spu.c (struct spu_link_hash_table): Add stack_analysis
+       and emit_stack_syms bitfields.
+       (get_sym_h): Read all symbols if stack analysis will be done.
+       (spu_elf_create_sections): Add stack_analysis and emit_stack_syms
+       params, and stash in hash table.
+       (is_hint): Split off from..
+       (is_branch): ..here.  Adjust callers.
+       (spu_elf_size_stubs): Add stack_analysis param.  Arrange to read
+       and keep all syms.
+       (write_one_stub): Fix mem leak.
+       (find_function_stack_adjust): New function.
+       (sort_syms_syms, sort_syms_psecs): New vars.
+       (sort_syms): New function.
+       (struct call_info, struct function_info): New.
+       (struct spu_elf_stack_info): New.
+       (alloc_stack_info, maybe_insert_function, func_name): New functions.
+       (is_nop, insns_at_end, check_function_ranges): Likewise.
+       (find_function, insert_callee, mark_functions_via_relocs): Likewise.
+       (pasted_function, interesting_section, discover_functions): Likewise.
+       (mark_non_root, call_graph_traverse, build_call_tree): Likewise.
+       (sum_stack, spu_elf_stack_analysis, spu_elf_final_link): Likewise.
+       (bfd_elf32_bfd_final_link): Define.
+       * elf32-spu.h (struct _spu_elf_section_data): Add stack_info field.
+       (spu_elf_create_sections, spu_elf_size_stubs): Update prototypes.
+
+2007-04-28  Sergey Rogozhkin  <rogozhkin@niisi.msk.ru>
+
+       * elfxx-mips.c (mips_elf_create_dynamic_relocation): Don't access
+       memory which we might not own.
+
+2007-04-27  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (elf_xtensa_make_sym_local): Restore deleted function.
+       (elf_xtensa_hide_symbol, elf_backend_hide_symbol): Likewise.
+       (elf_xtensa_allocate_dynrelocs): Use elf_xtensa_make_sym_local.
+
+2007-04-27  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (xtensa_read_table_entries): Step through table
+       contents and relocs in parallel.
+       
+2007-04-27  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (relax_property_section): Remove extra irel increment.
+
+2007-04-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * cpu-rs6000.c: Write Mimi's name in ASCII.
+       * coff-rs6000.c: Likewise.
+       * rs6000-core.c: Likewise.
+
+2007-04-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * sysdep.h: Include config.h first.
+       Many files: Include sysdep.h before bfd.h.
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2007-04-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * sysdep.h: Revert last change.
+
+2007-04-24  Nick Clifton  <nickc@redhat.com>
+
+       * coffcode.h (coff_slurp_reloc_table): Initialise dst.r_offset.
+       * coff-m68k.c (m68kcoff_rtype_to_howto): Initialize relent.howto.
+
+2007-04-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Warn if
+       eh_frame_hdr table won't be created.
+
+2007-04-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * acinclude.m4: Include config/stdint.m4.
+       * configure.in: Invoke GCC_HEADER_STDINT.
+       * sysdep.h: Don't include ansidecl.h here.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * Makefile.in: Regenerate.
+
+2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * archures.c (bfd_mach_mcf_isa_c, bfd_mach_mcf_isa_c_mac,
+       bfd_mach_mcf_isa_c_emac): New.
+       * elf32-m68k.c (ISAC_PLT_ENTRY_SIZE, elf_isac_plt0_entry,
+       elf_isac_plt_entry, elf_isac_plt_info): New.
+       (elf32_m68k_object_p): Add ISA_C.
+       (elf32_m68k_print_private_bfd_data): Print ISA_C.
+       (elf32_m68k_get_plt_info): Detect ISA_C.
+       * cpu-m68k.c (arch_info): Add ISAC.
+       (m68k_arch_features): Likewise,
+       (bfd_m68k_compatible): ISAs B & C are not compatible.
+
+2007-04-21  Nick Clifton  <nickc@redhat.com>
+
+       * ecoff.c (_bfd_ecoff_write_armap): Initialise rehash.
+       (ecoff_link_add_archive_symbols): Likewise.
+       * coff-m68k.c (m68kcoff_common_addend_rtype_to_howto): Initialise
+       relent.howto.
+       * ieee.c (parse_int): Initialise x.
+       (must_parse_int): Initialise result.
+       (ieee_slurp_external_symbols): Initialise value.
+
+2007-04-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * config.bfd (spu-*-elf): Delete targ_selvecs.
+
+2007-04-19  Nick Clifton  <nickc@redhat.com>
+
+       * coffcode.h (coff_rtype_to_howto): Initialise genrel.howto.
+
+2007-04-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd.c (bfd_demangle): New function.
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2007-04-18  Matthias Klose  <doko@ubuntu.com>
+
+       * Makefile.am (libbfd_la_LDFLAGS): Use bfd soversion.
+       (bfdver.h): Use the date in non-release builds for the soversion.
+       * Makefile.in: Regenerate.
+
+2007-04-17  Paul Brook  <paul@codesourcery.com>
+
+       * elf.c (_bfd_elf_is_function_type): New function.
+       * elflink.c (_bfd_elf_merge_symbol): Use bed->is_function_type.
+       (_bfd_elf_dynamic_symbol_p, _bfd_elf_symbol_refs_local_p,
+       is_global_data_symbol_definition, elf_link_add_object_symbols): Ditto.
+       * elf-bfd.h (elf_backend_data): Add is_function_type.
+       (_bfd_elf_is_function_type): Add prototype.
+       * elfxx-target.h (elf_backend_is_function_type): Add default
+       definition.
+       (elfNN_bed): Add elf_backend_is_function_type.
+       * elf32-arm.c (elf32_arm_is_function_type): New function.
+       (elf_backend_is_function_type): Define.
+
+2007-04-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Put
+       DT_MIPS_RLD_MAP before DT_DEBUG again.
+
+2007-04-14  Steve Ellcey  <sje@cup.hp.com>
+
+       * Makefile.am: Add ACLOCAL_AMFLAGS.
+       * configure.in: Change macro call order.
+       * Makefile.in: Regnerate.
+       * doc/Makefile.in: Regenerate.
+       * configure: Regenerate.
+
+2007-04-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * elflink.c (bfd_elf_final_link): Don't free symbuf for
+       non-elf input bfds.
+       (bfd_elf_size_dynamic_sections): Don't access elf_section_data
+       for non-elf input bfds.
+
+2007-04-12  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add
+       DT_MIPS_RTLD_MAP for PIEs.
+
+2007-04-12  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (mips_elf_calculate_relocation): Set DT_TEXTREL
+       when creating a __GOTT_BASE__ or __GOTT_INDEX__ relocation
+       in a read-only section.
+       (_bfd_mips_elf_check_relocs): Likewise.
+
+2007-04-12  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (xtensa_is_insntable_section): New.
+       (xtensa_is_proptable_section): New.
+       (elf_xtensa_discard_info_for_section): Handle "full" .xt.prop property
+       tables with 12-byte entries, as well as tables with 8-byte entries.
+       Sort the relocations before examining them.
+       (relax_property_section): Use xtensa_is_proptable_section and
+       xtensa_is_littable_section.  Rewrite code for combining table entries
+       to be more robust in case of unexpected relocations.  Do not set offset
+       of unused relocations to less than zero.
+       (xtensa_is_property_section): Use other functions instead of
+       duplicating section name comparisons.
+       (xtensa_is_littable_section): Use CONST_STRNEQ for ".gnu.linkonce.p.".
+       (xtensa_get_property_predef_flags): Use xtensa_is_insntable_section.
+       
+2007-04-12  Bob Wilson  <bob.wilson@acm.org>
+       
+       * elf32-xtensa.c (elf_xtensa_gc_mark_hook): Don't follow references
+       from Xtensa property sections.
+       
+2007-04-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-spu.c (needs_ovl_stub): Test that spu_elf_section_data
+       is non-NULL before dereferencing.
+
+2007-04-11  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * elf-vxworks.c (elf_vxworks_emit_relocs): Remap weakdef PLT slot
+       relocs too.
+
+2007-04-10  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (struct alpha_elf_link_hash_table): Add relax_trip.
+       (elf64_alpha_size_got_sections): Remove unused something_changed local.
+       (elf64_alpha_size_plt_section): Return void.
+       (elf64_alpha_size_rela_got_section): Likewise.
+       (elf64_alpha_relax_section): Only regenerate got+plt if the 
+       relax_trip counter has changed.
+
+2007-04-09  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.am (bfdver.h): Do not generate doc/bfdver.texi.
+       * doc/Makefile.am (DOCFILES): Add bfdver.texi.
+       (bfdver.texi): New rule.
+       * Makefile.in, doc/Makefile.in: Regenerated.
+
+2007-04-03  Matt Thomas  <matt@netbsd.org>
+
+       * elf32-vax.c (elf_vax_relocate_section): Do not emit a PCREL reloc 
+       in a shared object if it is not in a CODE section or if it is against
+       a section symbol.  This allows DWARF2 to use pcrel format.
+
+2007-04-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/4304
+       * elflink.c (bfd_elf_final_link): Call einfo callback in
+       bfd_link_info instead of _bfd_error_handler for DT_TEXTREL
+       warning.
+
+2007-04-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-spu.c (spu_elf_output_symbol_hook): New function.
+       (elf_backend_link_output_symbol_hook): Define.
+
+2007-04-02  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/4292
+       * bfd.c (bfd_fprintf_vma): Do not print addresses of 32-bit
+       targets as 64-bit values, even if running on a 64-bit host.
+       * coffgen.c (coff_print_symbol): Likewise.
+
+2007-03-29  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/4110
+       * elf.c (IS_VALID_GROUP_SECTION_HEADER): New macro.
+       (setup_group): Use it.  Report corrupt group section headers.
+       (bfd_section_from_shdr): Use new macro.  Replace constant 4 with
+       GRP_ENTRY_SIZE.  Cope with NULLs in the group section table.
+       (elf_fake_section): Replace constant 4 with GRP_ENTRY_SIZE.
+
+2007-03-29  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/4267
+       * elflink.c (evaluate_complex_relocation_symbols): Use bfd_vma
+       for rel->r_info values.
+       (bfd_elf_perform_complex_relocation): Likewise.
+       * elf32-ppc.c (allocate_dynrelocs): Set plt.offset to -1 for
+       unused entries.  Don't clear plt.plist in loop.
+
+2007-03-28  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Remove append_rela.
+       * elfxx-sparc.c (sparc_elf_append_rela_64, sparc_elf_append_rela_32):
+       Merge into...
+       (sparc_elf_append_rela): ...this new function.
+       (SPARC_ELF_APPEND_RELA): Delete.
+       (_bfd_sparc_elf_link_hash_table_create): Don't initialize
+       the deleted append_rela field.
+       (_bfd_sparc_elf_relocate_section): Use sparc_elf_append_rela
+       instead of SPARC_ELF_APPEND_RELA.
+       (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.  Use the
+       elf_size_info structure to find the size of a RELA entry and
+       the associated swap-out function.
+       (sparc64_finish_dyn, sparc64_finish_dyn): Merge into...
+       (sparc_finish_dyn): ...this new function.
+       (_bfd_sparc_elf_finish_dynamic_sections): Update calls accordingly.
+
+2007-03-28  Richard Sandiford  <richard@codesourcery.com>
+           Phil Edwards  <phil@codesourcery.com>
+
+       * doc/bfd.texinfo: Put the contents after the title page rather
+       than at the end of the document.
+
+2007-03-27  Andreas Schwab  <schwab@suse.de>
+
+       * elfxx-ia64.c (elf_backend_default_execstack): Define to 0.
+
+2007-03-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2007-03-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-spu.c (struct stubarr): Add stub_hash_table and err fields.
+       (allocate_spuear_stubs): New function.
+       (spu_elf_size_stubs): Call allocate_spuear_stubs.
+
+2007-03-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * aout-adobe.c (aout_32_bfd_reloc_name_lookup): Define.
+       * aout-arm.c (MY_bfd_reloc_name_lookup): Define.
+       (MY (bfd_reloc_name_lookup)): New function.
+       * aout-ns32k.c (MY (bfd_reloc_name_lookup)): New function.
+       * aout-target.h (NAME (aout, reloc_name_lookup)): Declare.
+       (MY_bfd_reloc_name_lookup): Define.
+       * aout-tic30.c (tic30_aout_reloc_name_lookup): New function.
+       (MY_bfd_reloc_name_lookup): Define.
+       * aoutx.h (NAME (aout, reloc_type_lookup)): Don't declare.
+       (NAME (aout, reloc_name_lookup)): New function.
+       * bout.c (b_out_bfd_reloc_name_lookup): New function.
+       * coff-alpha.c (alpha_bfd_reloc_name_lookup): New function.
+       (_bfd_ecoff_bfd_reloc_name_lookup): Define.
+       * coff-arm.c (coff_arm_reloc_name_lookup): New function.
+       (coff_bfd_reloc_name_lookup): Define.
+       * coff-i386.c (coff_bfd_reloc_name_lookup): Define.
+       (coff_i386_reloc_name_lookup): New function.
+       * coff-i860.c (coff_i860_reloc_name_lookup): New function.
+       (coff_bfd_reloc_name_lookup): Define.
+       * coff-i960.c (coff_i960_reloc_name_lookup): New function.
+       (coff_bfd_reloc_name_lookup): Define.
+       * coff-m68k.c (m68k_reloc_name_lookup): New function.
+       (coff_bfd_reloc_name_lookup): Define.
+       * coff-maxq.c (maxq_reloc_name_lookup): New function.
+       (coff_bfd_reloc_name_lookup): Define.
+       * coff-mcore.c (mcore_coff_reloc_name_lookup): New function.
+       (coff_bfd_reloc_name_lookup): Define.
+       * coff-mips.c (mips_bfd_reloc_name_lookup): New function.
+       (_bfd_ecoff_bfd_reloc_name_lookup): Define.
+       * coff-ppc.c (ppc_coff_reloc_name_lookup): New function.
+       (coff_bfd_reloc_name_lookup): Define.
+       * coff-rs6000.c (coff_bfd_reloc_name_lookup): Define.
+       (_bfd_xcoff_reloc_name_lookup): New function.
+       (rs6000coff_vec, pmac_xcoff_vec): Init new field.
+       * coff-sh.c (coff_bfd_reloc_name_lookup): Define.
+       (sh_coff_reloc_name_lookup): New function.
+       * coff-sparc.c (coff_sparc_reloc_name_lookup): New function.
+       (coff_bfd_reloc_name_lookup): Define.
+       * coff-tic30.c (coff_bfd_reloc_name_lookup): Define.
+       (tic30_coff_reloc_name_lookup): New function.
+       * coff-tic4x.c (coff_bfd_reloc_name_lookup): Define.
+       (tic4x_coff_reloc_name_lookup): New function.
+       * coff-tic54x.c (coff_bfd_reloc_name_lookup): Define.
+       (tic54x_coff_reloc_name_lookup): New function.
+       * coff-x86_64.c (coff_bfd_reloc_name_lookup): Define.
+       (coff_amd64_reloc_name_lookup): New function.
+       * coff-z80.c (coff_z80_reloc_name_lookup): New function.
+       (coff_bfd_reloc_name_lookup): Define.
+       * coff-z8k.c (coff_z8k_reloc_name_lookup): New function.
+       (coff_bfd_reloc_name_lookup): Define.
+       * coff64-rs6000.c (coff_bfd_reloc_name_lookup): Define.
+       (xcoff64_reloc_name_lookup): New function.
+       (rs6000coff64_vec, aix5coff64_vec): Init new field.
+       * coffcode.h (coff_bfd_reloc_name_lookup): Define.
+       * elf-hppa.h (elf_hppa_reloc_name_lookup): New function.
+       * elf-m10200.c (bfd_elf32_bfd_reloc_name_lookup): New function.
+       * elf-m10300.c (bfd_elf32_bfd_reloc_name_lookup): New function.
+       * elf32-arc.c (bfd_elf32_bfd_reloc_name_lookup): New function.
+       * elf32-arm.c (elf32_arm_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-avr.c (bfd_elf32_bfd_reloc_name_lookup): New function.
+       * elf32-bfin.c (bfin_bfd_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-cr16c.c (elf_cr16c_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-cris.c (cris_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-crx.c (elf_crx_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-d10v.c (bfd_elf32_bfd_reloc_name_lookup): New function.
+       * elf32-d30v.c (bfd_elf32_bfd_reloc_name_lookup): New function.
+       * elf32-dlx.c (elf32_dlx_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-fr30.c (fr30_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-frv.c (frv_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-gen.c (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-h8300.c (elf32_h8_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-hppa.c (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-i370.c (i370_elf_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-i386.c (elf_i386_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-i860.c (elf32_i860_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-i960.c (elf32_i960_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-ip2k.c (ip2k_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-iq2000.c (iq2000_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-m32c.c (m32c_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-m32r.c (bfd_elf32_bfd_reloc_name_lookup): New function.
+       * elf32-m68hc11.c (bfd_elf32_bfd_reloc_name_lookup): New function.
+       * elf32-m68hc12.c (bfd_elf32_bfd_reloc_name_lookup): New function.
+       * elf32-m68k.c (reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-m88k.c (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-mcore.c (mcore_elf_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-mep.c (mep_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function.
+       (mips_vxworks_bfd_reloc_name_lookup): Likewise.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-msp430.c (bfd_elf32_bfd_reloc_name_lookup): New function.
+       * elf32-mt.c (mt_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-openrisc.c (openrisc_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-or32.c (bfd_elf32_bfd_reloc_name_lookup): New function.
+       * elf32-pj.c (pj_elf_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-ppc.c (ppc_elf_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-s390.c (elf_s390_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-score.c (elf32_score_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-sh.c (sh_elf_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-sparc.c (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-spu.c (spu_elf_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-v850.c (v850_elf_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-vax.c (reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-xc16x.c (xc16x_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-xstormy16.c (xstormy16_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf32-xtensa.c (elf_xtensa_reloc_name_lookup): New function.
+       (bfd_elf32_bfd_reloc_name_lookup): Define.
+       * elf64-alpha.c (elf64_alpha_bfd_reloc_name_lookup): New function.
+       (bfd_elf64_bfd_reloc_name_lookup): Define.
+       * elf64-gen.c (bfd_elf64_bfd_reloc_name_lookup): Define.
+       * elf64-hppa.c (bfd_elf64_bfd_reloc_name_lookup): Define.
+       * elf64-mips.c (bfd_elf64_bfd_reloc_name_lookup): New function.
+       * elf64-mmix.c (bfd_elf64_bfd_reloc_name_lookup): New function.
+       * elf64-ppc.c (ppc64_elf_reloc_name_lookup): New function.
+       (bfd_elf64_bfd_reloc_name_lookup): Define.
+       * elf64-s390.c (elf_s390_reloc_name_lookup): New function.
+       (bfd_elf64_bfd_reloc_name_lookup): Define.
+       * elf64-sh64.c (sh_elf64_reloc_name_lookup): New function.
+       (bfd_elf64_bfd_reloc_name_lookup): Define.
+       * elf64-sparc.c (bfd_elf64_bfd_reloc_name_lookup): Define.
+       * elf64-x86-64.c (elf64_x86_64_reloc_name_lookup): New function.
+       (bfd_elf64_bfd_reloc_name_lookup): Define.
+       * elfn32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function.
+       * elfxx-ia64.c (elfNN_ia64_reloc_name_lookup): New function.
+       (bfd_elfNN_bfd_reloc_name_lookup): Define.
+       * elfxx-sparc.c (_bfd_sparc_elf_reloc_name_lookup): New function.
+       * elfxx-sparc.h (_bfd_sparc_elf_reloc_name_lookup): Declare.
+       * i386msdos.c (msdos_bfd_reloc_name_lookup): Define.
+       * i386os9k.c (aout_32_bfd_reloc_name_lookup): Define.
+       * ieee.c (ieee_bfd_reloc_name_lookup): Define.
+       * libaout.h (NAME (aout, reloc_name_lookup)): Declare.
+       * libbfd-in.h (_bfd_norelocs_bfd_reloc_name_lookup): Declare.
+       * mipsbsd.c (MY_bfd_reloc_name_lookup): Define.
+       (MY(reloc_type_lookup)): Rename from MY(reloc_howto_type_lookup).
+       (MY(reloc_name_lookup)): New function.
+       * nlm-target.h (nlm_bfd_reloc_name_lookup): Define.
+       * oasys.c (oasys_bfd_reloc_name_lookup): Define.
+       * pdp11.c (NAME (aout, reloc_name_lookup)): New function.
+       * pe-mips.c (coff_mips_reloc_name_lookup): New function.
+       (coff_bfd_reloc_name_lookup): Define.
+       * reloc.c (bfd_reloc_name_lookup): New function.
+       * riscix.c (riscix_reloc_name_lookup): New function.
+       (MY_bfd_reloc_name_lookup): Define.
+       * som.c (som_bfd_reloc_name_lookup): New function.
+       * targets.c (struct bfd_target): Add reloc_name_lookup.
+       (BFD_JUMP_TABLE_RELOCS): Add NAME##_bfd_reloc_name_lookup.
+       * versados.c (versados_bfd_reloc_name_lookup): Define.
+       * vms.c (vms_bfd_reloc_name_lookup): New function.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+
+2007-03-26  Thiemo Seufer  <ths@mips.com>
+
+       PR ld/4208
+       * elfxx-mips.c (mips_elf_next_relocation): Don't signal an error if no
+       matching relocation is found.
+       (_bfd_mips_elf_relocate_section): Only warn about missing relocations.
+
+2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2007-03-23  Joseph Myers  <joseph@codesourcery.com>
+
+       * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
+       * configure: Regenerate.
+
+2007-03-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-spu.c (spu_stub_name): Don't put input section in stub name.
+       Remove input_sec param.  Adjust all calls.
+       (write_one_stub): Adjust stub symbol.
+       (needs_ovl_stub): New function, extracted from..
+       (spu_elf_size_stubs): ..here.
+       (spu_elf_relocate_section): Use needs_ovl_stub.
+
+2007-03-22  Joseph Myers  <joseph@codesourcery.com>
+
+       * Makefile.am (bfdver.h): Only set VERSION_PACKAGE in bfdver.texi
+       if nonempty.
+       * configure.in (REPORT_BUGS_TO): Do not use "URL:" prefix.
+       * Makefile.in, configure, doc/Makefile.in: Regenerate.
+
+2007-03-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/4210
+       * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the virtual
+       address and virtual size of the last section for the image
+       size.
+
+2007-03-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/4007
+       * elf.c (assign_file_positions_for_load_sections): Check if
+       all sections are in the segment.
+
+2007-03-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/4208
+       * elfxx-mips.c (_bfd_mips_elf_relocate_section): Report missing
+       matching LO16 relocation for HI16 relocation.
+
+2007-03-20  Paul Brook  <paul@codesourcery.com>
+
+       * bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
+       * bfd-in2.h: Regenerate.
+       * elf32-arm.c (elf32_arm_link_hash_table): Add pic_veneer.
+       (record_arm_to_thumb_glue): Use globals->pic_veneer.
+       (elf32_arm_create_thumb_stub): Ditto.
+       (bfd_elf32_arm_set_target_relocs): Set globals->pic_veneer.
+
 2007-03-18  Mark Shinwell  <shinwell@codesourcery.com>
 
        * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add "bfd *"
        specific conditions that need the program headers to be
        rewritten.
 
-2003-03-19  H.J. Lu  <hongjiu.lu@intel.com>
+2007-03-19  H.J. Lu  <hongjiu.lu@intel.com>
 
        * peXXigen.c (_bfd_XXi_swap_aouthdr_in): Store Magic,
        MajorLinkerVersion, MinorLinkerVersion, SizeOfCode,
        AddressOfEntryPoint, BaseOfCode and BaseOfData from internal
        extra PE a.out header.
 
-2003-03-18  H.J. Lu  <hongjiu.lu@intel.com>
+2007-03-18  H.J. Lu  <hongjiu.lu@intel.com>
 
        * targets.c (_bfd_target_vector): Add bfd_efi_app_x86_64_vec
        only if BFD64 is defined.
This page took 0.02958 seconds and 4 git commands to generate.