bfd: install plugin-api.h as needed
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index baec58b485aa3d42e9c45792b482e4d9381b0d86..16f553610b2dc0ff371e257eb5455670dc666da0 100644 (file)
@@ -1,3 +1,250 @@
+2010-12-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.am (!INSTALL_LIBBFD/bfdinclude_HEADERS): Set to nothing.
+       (PLUGINS/bfdinclude_HEADERS): Append plugin-api.h.
+       * Makefile.in: Regenerated.
+
+2010-12-04  Alan Modra  <amodra@gmail.com>
+
+       PR ld/12277
+       * elflink.c (elf_link_output_extsym): Set bfd_error on symbol
+       and section errors.  Allow better translation of error messages.
+
+2010-12-02  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       * elf32-arm.c (elf32_arm_link_hash_table): Remove sgot, sgotplt,
+       srelgot, splt, srelplt.
+       (create_got_section, elf32_arm_link_hash_table_create): Don't set them.
+       (elf32_arm_create_dynamic_sections): Likewise.  Use htab->root
+       fields instead.
+       (arm_type_of_stub): Use the root fields instead of the removed ones.
+       (cortex_a8_erratum_scan, elf32_arm_size_stubs): Likewise.
+       (bfd_elf32_arm_process_before_allocation): Likewise.
+       (elf32_arm_check_relocs, allocate_dynrelocs): Likewise.
+       (elf32_arm_size_dynamic_sections): Likewise.
+       (elf32_arm_output_arch_local_syms): Likewise.
+       (elf32_arm_final_link_relocate): Set sgot, splt and srelgot from the
+       htab fields instead of looking them up by name.  Consistently use
+       these local variables instead of htab fields.
+       (elf32_arm_finish_dynamic_symbol): Likewise sgot, splt and srel.
+       Use srelbss instead of looking it up by name.
+       (elf32_arm_finish_dynamic_sections): Use sgotplt, splt and srelplt
+       instead of looking up the symbols by name.  Use the root fields
+       instead of the removed ones.
+
+2010-12-02  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       * elf32-arm.c (elf32_arm_relocs_copied): Delete.
+       (elf32_arm_link_hash_entry): Replace relocs_copied with dyn_relocs.
+       (elf32_arm_link_hash_newfunc): Update accordingly.
+       (elf32_arm_copy_indirect_symbol, elf32_arm_gc_sweep_hook): Likewise.
+       (elf32_arm_check_relocs, allocate_dynrelocs): Likewise.
+       (elf32_arm_readonly_dynrelocs): Likewise.
+       (elf32_arm_size_dynamic_sections): Likewise.
+
+2010-12-02  Paul Koning  <ni1d@arrl.net>
+
+       * pdp11.c (aout_link_add_symbols): Ignore debug symbols.
+
+2010-11-30  Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+       * config.bfd: Add sparc64-rtems.
+
+2010-11-25  Alan Modra  <amodra@gmail.com>
+
+       * po/es.po: Update.
+       * po/fi.po: Update.
+       * po/fr.po: Update.
+       * po/ja.po: Update.
+       * po/zh_CN.po: Update.
+
+2010-11-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * Makefile.am (OPTIONAL_BACKENDS): Add rs6000-core.lo.
+       (OPTIONAL_BACKENDS_CFILES): Add rs6000-core.c.
+       * Makefile.in: Regenerate.
+
+2010-11-24  Alan Modra  <amodra@gmail.com>
+
+       PR ld/12253
+       * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Correct
+       DW_EH_PE_datarel handling.  Truncate .eh_frame_hdr address to
+       ptr_size.
+
+2010-11-23  Mingming Sun  <mingm.sun@gmail.com>
+
+       * elfxx-mips.c (mips_set_isa_flags): Move bfd_mach_loongson_3a
+       after bfd_mach_mips_sb1.
+
+2010-11-17  Tristan Gingold  <gingold@adacore.com>
+
+       * vms-lib.c (vms_write_index): Add comments.
+       Partially revert previous patch.  Free blocks later.
+
+2010-11-17  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/12161
+       * elf32-avr.c (elf32_avr_check_relocs): Delete.
+       (elf_backend_check_relocs): Delete.
+
+2010-11-16  Jie Zhang  <jie.zhang@analog.com>
+
+       * elf32-bfin.c (elf32_bfin_code_in_l1): New variable.
+       (elf32_bfin_data_in_l1): New variable.
+       (elf32_bfin_final_write_processing): New.
+       (elf_backend_final_write_processing): Define.
+
+2010-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       PR binutils/12177
+       * elf32-bfin.c (_bfin_create_got_section): Drop unused flags code.
+
+2010-11-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * archive.c (_bfd_get_elt_at_filepos): Copy BFD_COMPRESS and
+       BFD_DECOMPRESS.
+       (bfd_openr_next_archived_file): Revert the last change.
+
+2010-11-11  Mingming Sun  <mingm.sun@gmail.com>
+
+       * archures.c (bfd_mach_mips_loongson_3a): Defined.
+       * bfd-in2.h (bfd_mach_mips_loongson_3a): Defined.
+       * cpu-mips.c (I_loongson_3a): New add.
+       (arch_info_struct): Add loongson_3a.
+       * elfxx-mips.c (_bfd_elf_mips_mach): Add loongson_3a.
+       (mips_set_isa_flags): Add loongson_3a.
+       (mips_mach_extensions): Add loongson_3a in MIPS64 extensions.
+
+2010-11-10  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       * elf32-arm.c (elf32_arm_merge_eabi_attributes): Remove unused
+       variables.
+
+2010-11-10  Nick Clifton  <nickc@redhat.com>
+
+       * po/ja.po: Updated Japanese translation.
+       * po/ru.po: Updated Russian translation.
+
+2010-11-08  Nick Clifton  <nickc@redhat.com>
+
+       * po/ja.po: Updated Japanese translation.
+
+2010-11-08  Alan Modra  <amodra@gmail.com>
+
+       * hash.c (bfd_hash_hash): Extract from..
+       (bfd_hash_lookup): ..here.
+       (bfd_hash_rename): New function.
+       * section.c (bfd_rename_section): New function.
+       * bfd-in.h (bfd_hash_rename): Declare.
+       * bfd-in2.h: Regenerate.
+       * elf.c (_bfd_elf_make_section_from_shdr): Rename input sections
+       when compressing or decompressing.  Don't assert name match.
+       * elf64-hppa.c (get_reloc_section): Don't assert name match.
+       * elfxx-ia64.c (get_reloc_section): Likewise.
+
+2010-11-05  Joseph Myers  <joseph@codesourcery.com>
+
+       * elf32-tic6x.c (elf32_tic6x_obj_attrs_handle_unknown): New.
+       (elf32_tic6x_merge_attributes): Use
+       _bfd_elf_merge_unknown_attribute_low and
+       _bfd_elf_merge_unknown_attribute_list.
+       (elf_backend_obj_attrs_handle_unknown): Define.
+
+2010-11-05  Joseph Myers  <joseph@codesourcery.com>
+
+       * elf-attrs.c (_bfd_elf_merge_unknown_attribute_low,
+       _bfd_elf_merge_unknown_attribute_list): Correct test for matching
+       string attributes.
+
+2010-11-05  Tristan Gingold  <gingold@adacore.com>
+
+       * po/bfd.pot: Regenerate
+
+2010-11-05  Tristan Gingold  <gingold@adacore.com>
+
+       * configure.in: Bump version to 2.21.51
+       * configure: Regenerate.
+
+2010-11-04  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       PR ld/10144
+       * elfxx-mips.c (_bfd_mips_elf_check_relocs)
+       [R_MIPS_32, R_MIPS_REL32, R_MIPS_64]: Ignore relocs from
+       SEC_DEBUGGING sections.
+
+2010-11-04  Tristan Gingold  <gingold@adacore.com>
+
+       * vms-lib.c (vms_write_index): Fix thinko: reverse the loop.
+       Use bfd_zmalloc instead of bfd_malloc.  Fix comment.
+
+2010-11-04  Kai Tietz  <kai.tietz@onevision.com>
+
+       * coffcode.h (GNU_LINKONCE_WT): New.
+       (sec_to_styp_flags): Add handling of new debug
+       section.
+       (styp_to_sec_flags): Likewise.
+
+2010-11-04  Tristan Gingold  <gingold@adacore.com>
+
+       * makefile.vms (CFLAGS): Make badalias warnings informational.
+       * vms-lib.c (vms_lib_bread): Avoid arithmetic on void pointer.
+
+2010-11-04  Joseph Myers  <joseph@codesourcery.com>
+
+       * elf-attrs.c (_bfd_elf_merge_unknown_attribute_low,
+       _bfd_elf_merge_unknown_attribute_list): New.
+       * elf-bfd.h (struct elf_backend_data): Add
+       obj_attrs_handle_unknown.
+       (_bfd_elf_merge_unknown_attribute_low,
+       _bfd_elf_merge_unknown_attribute_list): Declare.
+       * elf32-arm.c (elf32_arm_obj_attrs_handle_unknown): New.  Split
+       out from elf32_arm_merge_eabi_attributes.
+       (elf32_arm_merge_eabi_attributes): Use
+       _bfd_elf_merge_unknown_attribute_low and
+       _bfd_elf_merge_unknown_attribute_list.
+       (elf_backend_obj_attrs_handle_unknown): Define.
+       * elfxx-target.h (elf_backend_obj_attrs_handle_unknown): Define.
+       (elfNN_bed): Update initializer.
+
+2010-11-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfd.c (BFD_FLAGS_FOR_BFD_USE_MASK): New.
+       * bfd-in2.h: Regenerated.
+
+2010-11-02  Joseph Myers  <joseph@codesourcery.com>
+
+       * elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Except for
+       Tag_ABI_compatibility, treat odd tags as strings and even ones as
+       integers.
+       (elf32_tic6x_obj_attrs_order, elf32_tic6x_tag_to_array_alignment,
+       elf32_tic6x_array_alignment_to_tag): New.
+       (elf32_tic6x_merge_attributes): Handle more attributes.  Set type
+       for merged attributes.
+       (elf_backend_obj_attrs_order): Define.
+
+2010-10-29  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * elfxx-mips.c (mips_elf_calculate_relocation): Fix a typo.
+
+2010-10-29  Pawel Sikora  <pluto@pld-linux.org>
+
+       PR binutils/12075
+       * compress.c (bfd_compress_section_contents): Use uLong on
+       compressed_size.
+
+2010-10-29  Joseph Myers  <joseph@codesourcery.com>
+
+       * elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Check
+       Tag_ABI_compatibility not Tag_compatibility.
+       (elf32_tic6x_merge_attributes): Update compatibility attribute
+       name in comment.  Return FALSE if merging common attributes fails.
+
+2010-10-29  Nick Clifton  <nickc@redhat.com>
+
+       PR bintils/6962
+       * coffcode.h (handle_COMDAT): Only check the base type when
+       looking for a section symbol.
+
 2010-10-29  H.J. Lu  <hongjiu.lu@intel.com>
            Cary Coutant  <ccoutant@google.com>
 
        * libbfd.h: Likewise.
 
 2010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
-            Joseph Myers  <joseph@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
 
        * elf32-tic6x.c (elf32_tic6x_merge_attributes): Check for mismatch
        of DSBT attributes.
This page took 0.049253 seconds and 4 git commands to generate.