bfd/
[external/binutils.git] / bfd / ChangeLog
index 614deff..6bbe72a 100644 (file)
@@ -1,3 +1,171 @@
+2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
+
+       * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido.
+       * bfd-in2.h: Regenerate.
+       * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of
+       bfd_mach_cpu32_fido.
+       (m68k_arch_features): Use fido_a instead of cpu32.
+       (bfd_m68k_compatible): Reject the combination of Fido and
+       ColdFire.  Accept the combination of CPU32 and Fido with a
+       warning.
+       * elf32-m68k.c (elf32_m68k_object_p,
+       elf32_m68k_merge_private_bfd_data,
+       elf32_m68k_print_private_bfd_data): Treat Fido as an
+       architecture by itself.
+
+2007-01-08  Kai Tietz  <kai.tietz@onevision.com>
+
+       * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*.
+
+2007-01-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * texhex.c (first_phase): Don't fall through into the default
+       case.
+       (pass_over): Replace abort () calls with return FALSE.  Fix
+       buffer overflow.
+
+2007-01-04  Jie Zhang  <jie.zhang@analog.com>
+
+       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set
+       SEC_EXCLUDE on zero size .eh_frame.
+
+2006-12-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfd.c (bfd_record_phdr): Call bfd_zalloc instead of bfd_alloc
+       to allocate elf_segment_map.
+
+2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.c (elf_link_add_object_symbols): Remember the symbol
+       size only if it is defined.
+
+2006-12-25  Kazu Hirata  <kazu@codesourcery.com>
+
+       * archures.c (bfd_mach_cpu32_fido): New.
+       (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_a,
+       bfd_mach_mcf_isa_a_mac, bfd_mach_mcf_isa_a_emac,
+       bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac,
+       bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_b_nousp,
+       bfd_mach_mcf_isa_b_nousp_mac, bfd_mach_mcf_isa_b_nousp_emac,
+       bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac,
+       bfd_mach_mcf_isa_b_emac, bfd_mach_mcf_isa_b_float,
+       bfd_mach_mcf_isa_b_float_mac, bfd_mach_mcf_isa_b_float_emac):
+       Increment the defined values.
+       * bfd-in2.h: Regenerate.
+       * cpu-m68k.c (arch_info_struct): Add en entry for
+       bfd_mach_cpu32_fido.
+       * elf32-m68k.c (elf32_m68k_object_p): Handle
+       EF_M68K_CPU32_FIDO_A.
+       (elf32_m68k_merge_private_bfd_data): Use EF_M68K_CPU32_MASK.
+       (elf32_m68k_print_private_bfd_data): Handle
+       EF_M68K_CPU32_FIDO_A.
+
+2006-12-25  Mei Ligang  <ligang@sunnorth.com.cn>
+       
+       * elf32-score.c (score_elf_got_lo16_reloc): Change some variables
+       type from unsigned to signed.
+       (score_elf_final_link_relocate): Fix bugs of handling relocation
+       type R_SCORE_GOT15, R_SCORE_GOT_LO16, and R_SCORE_REL32.
+       (_bfd_score_elf_relocate_section): Handle R_SCORE_GOT_LO16
+       specially.
+
+2006-12-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf-bfd.h (struct elf_backend_data): Add as_needed_cleanup hook.
+       * elfxx-target.h (elf_backend_as_needed_cleanup): Define.
+       (elfNN_bed): Add as_needed_cleanup hook.
+       * elflink.c (elf_link_add_object_symbols): Call it when reverting
+       hash table changes for unneeded --as-needed input.
+       * elf64-ppc64.c (elf_backend_as_needed_cleanup): Define.
+       (ppc64_elf_as_needed_cleanup): New function.
+
+2006-12-19  Kazu Hirata  <kazu@codesourcery.com>
+
+       * elf32-m68k.c (elf32_m68k_object_p,
+       elf32_m68k_print_private_bfd_data): Use EF_M68K_ARCH_MASK to
+       extract architecture mask.
+
+2006-12-19  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * elf.c (assign_file_positions_for_load_sections): Adjust p_vaddr
+       by p_vaddr_offset.  Copy alignment & use if it is valid.
+       (rewrite_elf_program_headers): Cope with leading padding in a
+       segment that does not contain file or program headers.
+       (copy_elf_program_header): Likewise.
+
+2006-12-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * config.bfd: (sh*-*-openbsd*): Add target. 
+       * configure.in (sh*-*-openbsd*): Set COREFILE to netbsd-core.lo.
+       * configure: Regenerate.
+
+2006-12-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * opncls.c (bfd_openr_iovec): Add "stat" parameter.
+       (struct opncls): Add "stat" field.
+       (opncls_bstat): Call vec->stat.
+       * bfd-in2.h: Regenerate.
+       * elf32-spu.c (spu_elf_open_builtin_lib): Adjust.
+
+2006-12-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (struct bfd_elf_section_data): Clarify sec_group
+       and next_in_group usage.
+
+2006-12-14  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 3704
+       * bfdio.c (bfd_bread): Don't read past end of archive elements.
+
+2006-12-12  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * doc/Makefile.am (bfd_TEXINFOS): Set.
+       (bfd.info bfd.dvi bfd.html): Delete rule.
+       * doc/Makefile.in: Regenerated.
+
+2006-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.in: Define GENINSRC_NEVER.
+       * doc/Makefile.am (bfd.info): Remove srcdir prefix.
+       (MAINTAINERCLEANFILES): Add info file.
+       (DISTCLEANFILES): Pretend to add info file.
+       * po/Make-in (.po.gmo): Put gmo files in objdir.
+       * configure, Makefile.in, doc/Makefile.in: Regenerated.
+
+2006-12-11  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * elflink.c (bfd_elf_gc_sections): Also search for corresponding
+       sections with .gnu.linkonce.t. prefix.
+
+2006-12-07  Kazu Hirata  <kazu@codesourcery.com>
+
+       * elf32-m68k.c: Update uses of EF_M68K_*.
+
+2006-12-07  H.J. Lu <hjl@gnu.org>
+
+       PR ld/3666
+       * elflink.c (elf_link_add_object_symbols): Keep symbol
+       visibility for symbols from discarded section.
+
+2006-12-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-alpha.c (elf64_alpha_merge_symbol_attribute): New function.
+       (elf_backend_merge_symbol_attribute): Define.
+
+2006-12-04  Jan Beulich  <jbeulich@novell.com>
+
+       * elflink.c (_bfd_elf_link_create_dynamic_sections): Don't create
+       .eh_frame_hdr section from here anymore.
+       (bfd_elf_size_dynamic_sections): Call _bfd_elf_maybe_strip_eh_frame_hdr
+       a little earlier.
+
+2006-12-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/3609
+       * elf.c (rewrite_elf_program_header): Preserve segment physical
+       address in the output segment if the first section in the
+       corresponding input segment is null.
+
 2006-12-01  Nick Clifton  <nickc@redhat.com>
 
        PR 3609
 2006-09-16  Nick Clifton  <nickc@redhat.com>
            Pedro Alves  <pedro_alves@portugalmail.pt>
 
-       * bfd-in.h (STRING_AND_COMMA): New macro.  Takes one constant
+       * bfd-in.h (STRING_COMMA_LEN): New macro.  Takes one constant
        string as its argument and emits the string followed by a comma
        and then the length of the string.
        (CONST_STRNEQ): New macro.  Checks to see if a variable string