Mention PR ld/4701.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index ab4a46fd40e623649fb7d9a78e2f3d6f02554fd9..e3ecc074a658460a132c09acc48c57d651b28008 100644 (file)
@@ -1,3 +1,169 @@
+2007-06-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (assign_file_positions_for_load_sections): Use elf
+       section header sh_size rather than bfd section size, simplifying
+       .tbss handling.
+
+2007-06-29  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/4701
+       * elf.c (assign_file_positions_for_load_sections): Ensure bss
+       segments meet gABI alignment requirements.  Don't allocate
+       file space for bss sections in a segment also containing file
+       or program headers.
+
+2007-06-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd.c (struct bfd): Rename "next" to "archive_next".
+       * archive.c: Rename uses throughout file.
+       * archive64.c: Likewise.
+       * coff-rs6000.c: Likewise.
+       * ecoff.c: Likewise.
+       * som.c: Likewise.
+       * bfd-in2.h: Regenerate.
+
+       * elf32-ppc.c (ppc_elf_select_plt_layout): Properly iterate over
+       input bfds.
+       * elf32-spu.c (spu_elf_create_sections): Likewise.
+
+2007-06-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwarf2.c (find_line): New.  Contains the duplicated code from:
+       (_bfd_dwarf2_find_nearest_line): Use it.
+       (_bfd_dwarf2_find_line): Use it.
+
+2007-06-26  Joseph Myers  <joseph@codesourcery.com>
+
+       * elf32-arm.c (copy_eabi_attributes): Copy type of attributes.
+
+2007-06-25  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (mips_elf_calculate_relocation): Allow local stubs
+       to be used for calls from MIPS16 code.
+
+2007-06-23  Andreas Schwab  <schwab@suse.de>
+
+       * configure.in (--with-separate-debug-dir): New option.
+       * configure: Regenerate.
+       * Makefile.am (dwarf2.lo): Add rule to pass DEBUGDIR.
+       * Makefile.in: Regenerate.
+       * dwarf2.c (_bfd_dwarf2_find_nearest_line): Pass DEBUGDIR to
+       bfd_follow_gnu_debuglink.
+       (_bfd_dwarf2_find_line): Likewise.
+
+2007-06-22  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf2.c: Add support for reading in debug information via a
+       .gnu_debuglink section:
+       (struct dwarf2_debug): Add bfd field to record the bfd containing
+       the debug info.
+       (parse_comp_unit): Remove ABFD parameter.  Instead use the bfd
+       field in the dwarf2_debug structure.
+       (_bfd_dwarf2_find_nearest_line): If a debug info section could not
+       be found in the current bfd call bfd_follow_gnu_debuglink to see
+       if another file contains the debug information.  If it does, open
+       it and continue.
+       (_bfd_dwarf2_find_line): Likewise.
+
+2007-06-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/4590
+       * elfxx-ia64.c (sort_dyn_sym_info): Keep the valid got_offset
+       when removing duplicated entries.
+       (get_dyn_sym_info): Initialize the got_offset field to -1.
+       Update call to sort_dyn_sym_info.
+       (elfNN_ia64_relocate_section): Call sort_dyn_sym_info to sort
+       array of addend and remove duplicates.
+
+2007-06-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * libpei.h (_bfd_XXi_final_link_postscript): Remove
+       duplication.
+       (bfd_target_pei_p): New.
+       (bfd_target_pei_arch): New
+       (bfd_target_efi_p): Likewise.
+       (bfd_target_efi_arch): New
+       (bfd_pe_executable_p): Use bfd_target_pei_p and
+       bfd_target_efi_p.
+
+       * peicode.h (arch_type): New enum.
+       (pe_arch): New function.
+       (pe_bfd_object_p): Don't match PE/EFI target with EFI/PE file
+       if there is an EFI/PE target.
+
+2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (ACLOCAL_AMFLAGS): Add -I . -I ../config.
+
+       * acinclude.m4: Don't include m4 files. Remove libtool
+       kludge.
+
+       * Makefile.in: Regenerated.
+       * aclocal.m4: Likewise.
+       * configure: Likewise.
+
+2007-06-11  Sterling Augustine  <sterling@tensilica.com>
+           Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (extend_ebb_bounds_forward): Use renamed
+       XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
+       (extend_ebb_bounds_backward, compute_text_actions): Likewise.
+       (compute_ebb_proposed_actions, coalesce_shared_literal): Likewise.
+       (xtensa_get_property_predef_flags): Likewise.
+       (compute_removed_literals): Pass new arguments to is_removable_literal.
+       (is_removable_literal): Add sec, prop_table and ptblsize arguments.
+       Do not remove literal if the NO_TRANSFORM property flag is set.
+
+2007-05-31  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       * elfxx-mips.c (mips_elf_initialize_tls_index): When processing a
+       type (3) single-GOT entry, read tls_type from the hash table entry
+       rather than the GOT entry.
+
+2007-06-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * simple.c (bfd_simple_get_relocated_section_contents): Init
+       input_bfds_tail.
+
+2007-05-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (elf_fake_sections): Adjust test for SHT_NOBITS sections
+       created by objcopy --only-keep-debug.
+       (_bfd_elf_init_private_section_data): Only change elf_section_type
+       if it is SHT_NULL.
+
+       * elf.c (assign_file_positions_for_load_sections): Correct sh_type
+       to SHT_NOBITS earlier.  Base actions in rest of function on sh_type
+       and sh_flags instead of bfd section flags.  Delete voff and code
+       keeping nobits segments aligned.
+
+2007-05-25  Eric Christopher  <echristo@apple.com>
+
+       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame):
+       Check that sym_sec isn't NULL before accessing.
+
+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>
 
 
        * 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.
        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
        (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 
+       (elf64_alpha_relax_section): Only regenerate got+plt if the
        relax_trip counter has changed.
 
 2007-04-09  Daniel Jacobowitz  <dan@codesourcery.com>
 
 2007-04-03  Matt Thomas  <matt@netbsd.org>
 
-       * elf32-vax.c (elf_vax_relocate_section): Do not emit a PCREL reloc 
+       * 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.
 
This page took 0.025896 seconds and 4 git commands to generate.