* ltmain.sh: Update from GCC.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 87b552b7863f9e3cec4800cdef61a6621f282526..d0f11413cf1d6518330560567694a74f3a9a5412 100644 (file)
@@ -1,3 +1,196 @@
+2007-05-24  Steve Ellcey  <sje@cup.hp.com>
+
+       * Makefile.in: Regnerate.
+       * configure: Regenerate.
+       * aclocal.m4: Regenerate.
+       * doc/Makefile.in: Regenerate.
+
+2007-05-22  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (output_arch_syminfo): Replace plt_shndx and plt_offset
+       with sec and sec_shndx.
+       (elf32_arm_ouput_plt_map_sym): Use them.
+       (elf32_arm_output_arch_local_syms): Output mapping symbols for
+       interworking glue.
+
+2007-05-18  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (ARM2THUMB_V5_STATIC_GLUE_SIZE): Define.
+       (a2t1v5_ldr_insn, a2t1v5_ldr_insn): New.
+       (record_arm_to_thumb_glue): Add v5t non-pic glue.
+       (elf32_arm_create_thumb_stub): Ditto.
+
+2007-05-16  H.J. Lu  <hongjiu.lu@intel.com>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (_bfd_elf_adjust_dynamic_copy): Align dynamic bss
+       section to the minimum alignment.
+
+2007-05-15  H.J. Lu  <hongjiu.lu@intel.com>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/4504
+       * elf-bfd.h (_bfd_elf_adjust_dynamic_copy): New.
+       * elflink.c (_bfd_elf_adjust_dynamic_copy): New.
+
+       * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Call
+       _bfd_elf_adjust_dynamic_copy to adjust for the copy in dynamic
+       bss section.
+       * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise.
+       * elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise.
+       * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise.
+       * elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise.
+       * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise.
+       * elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise.
+       * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
+       * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
+       * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
+       * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise.
+       * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise.
+       * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
+       * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
+       * elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise.
+       * elfxx-mips.c (_bfd_mips_vxworks_adjust_dynamic_symbol): Likewise.
+       * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.
+
+2007-05-15  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (mips_elf_create_local_got_entry): Remove
+       input_section argument.  Create .rela.dyn relocations against
+       symbol 0 rather than the section symbol.
+       (mips_elf_local_got_index): Remove input_section argument.
+       Update call to mips_elf_create_local_got_entry.
+       (mips_elf_got_page, mips_elf_got16_entry): Likewise.
+       (mips_elf_calculate_relocation): Update calls to
+       mips_elf_local_got_index, mips_elf_got16_entry and mips_elf_got_page.
+
+2007-05-15  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Correctly
+       handle the Thumb-2 JUMP19 relocation.
+
+2007-05-15  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4479
+       * elf.c (elf_fake_sections): Don't allow backend to change
+       SHT_NOBITS if called for strip/objcopy --only-keep-debug.
+       * elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove similar
+       fix from here.
+
+2007-05-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (bfd_elf_string_from_elf_section): Return NULL on
+       invalid shstrndx.
+       (bfd_elf_get_str_section): Likewise.
+
+2007-05-12  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4497
+       * elf-eh-frame.c (struct cie): Add "local_personality".  Make
+       "personality" a union.
+       (cie_eq): Compare local_personality too.  Adjust personality
+       comparison.
+       (_bfd_elf_discard_section_eh_frame): Check binding on personality
+       reloc sym to allow for bad symtab.  Use stashed local syms rather
+       than reading personality local sym.  Handle discarded sections.
+
+2007-05-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-spu.c (elf_howto_table): Add howto for R_SPU_ADDR16X.
+
+2007-05-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype.
+       (enum ppc_elf_plt_type): Move from..
+       * elf32-ppc.c: ..here.
+       (struct ppc_elf_obj_tdata): Add makes_plt_call and has_rel16.
+       (struct ppc_elf_link_hash_table): Reorder.  Add old_bfd.  Delete
+       can_use_new_plt.  Make is_vxworks a bitfield.
+       (ppc_elf_link_hash_table_create): Don't clear is_vxworks (again).
+       (ppc_elf_check_relocs): Update setting of reloc flags.  Set old_bfd.
+       (ppc_elf_select_plt_layout): Modify parameters.  Use bfd reloc
+       flags to better detect object files needing old bss-style plt.
+       Allow secure plt to be used without rel16 relocs being detected.
+       Warn if secure plt request cannot be allowed.
+
+2007-05-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * reloc.c (BFD_RELOC_SPU_PPU32, BFD_RELOC_SPU_PPU64): Define.
+       * elf-bfd.h (struct elf_backend_data): Change return type of
+       elf_backend_relocate_section to int.
+       * elf32-spu.c (elf_howto_table): Add howtos for R_SPU_PPU32 and
+       R_SPU_PPU64.
+       (spu_elf_bfd_to_reloc_type): Convert new relocs.
+       (spu_elf_count_relocs): New function.
+       (elf_backend_count_relocs): Define.
+       (spu_elf_relocate_section): Arrange to emit R_SPU_PPU32 and
+       R_SPU_PPU64 relocs.
+       * elflink.c (elf_link_input_bfd): Emit relocs if relocate_section
+       returns 2.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+
+2007-05-10  Richard Sandiford  <richard@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_check_relocs): Don't create PLT entries
+       for R_ARM_ABS12 relocs.
+       (elf32_arm_finish_dynamic_symbol): Fix the loop that creates
+       non-shared VxWorks PLT entries.
+
+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
This page took 0.028128 seconds and 4 git commands to generate.