Add support for 64-bit ARM architecture: AArch64
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 200e37a6e1201cdb8733dec7f344fa2a7358a7b4..60ba3824ed3bc071694e479beac5836f105f6912 100644 (file)
@@ -1,3 +1,899 @@
+2012-08-13  Ian Bolton  <ian.bolton@arm.com>
+            Laurent Desnogues  <laurent.desnogues@arm.com>
+            Jim MacArthur  <jim.macarthur@arm.com>
+            Marcus Shawcroft  <marcus.shawcroft@arm.com>
+            Nigel Stephens  <nigel.stephens@arm.com>
+            Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+            Richard Earnshaw  <rearnsha@arm.com>
+            Sofiane Naci  <sofiane.naci@arm.com>
+            Tejas Belagod  <tejas.belagod@arm.com>
+            Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * Makefile.am: Add AArch64 files.
+       * Makefile.in: Regenerate.
+       * archures.c (bfd_aarch64_arch): New declaration.
+       (bfd_archures_list): Use bfd_archures_list.
+       * bfd-in.h (bfd_elf64_aarch64_init_maps): New declaration.
+       (bfd_aarch64_process_before_allocation): New declaration.
+       (bfd_elf64_aarch64_process_before_allocation): New declaration.
+       (bfd_elf64_aarch64_set_options): New declaration.
+       (bfd_elf64_aarch64_add_glue_sections_to_bfd): New declaration.
+       (BFD_AARCH64_SPECIAL_SYM_TYPE_MAP): New definition.
+       (BFD_AARCH64_SPECIAL_SYM_TYPE_TAG): New definition.
+       (BFD_AARCH64_SPECIAL_SYM_TYPE_OTHER): New definition.
+       (BFD_AARCH64_SPECIAL_SYM_TYPE_ANY): New definition.
+       (bfd_is_aarch64_special_symbol_name): New declaration.
+       (bfd_aarch64_merge_machines): New declaration.
+       (bfd_aarch64_update_notes): New declaration.
+       (int bfd_aarch64_get_mach_from_notes): New declaration.
+       (elf64_aarch64_setup_section_lists): New declaration.
+       (elf64_aarch64_next_input_section): New declaration.
+       (elf64_aarch64_size_stubs): New declaration.
+       (elf64_aarch64_build_stubs): New declaration.
+       * config.bfd: Add AArch64.
+       * configure.in: Add AArch64.
+       * configure: Regenerate.
+       * cpu-aarch64.c: New file.
+       * elf-bfd.h: Add AArch64.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * elf64-aarch64.c: New file.
+       * reloc.c: Add AArch64 relocations.
+       * targets.c: Add AArch64.
+       * po/SRC-POTFILES.in: Regenerate.
+
+2012-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * elfxx-mips.c (mips_elf_calculate_relocation): Fix the handling
+       of protected symbols.
+
+2012-08-10  Alan Modra  <amodra@gmail.com>
+
+       PR binutils/14444
+       * elf.c (IS_VALID_GROUP_SECTION_HEADER) Add minsize param.
+       (setup_group): Adjust uses.
+       (bfd_section_from_shdr): Allow SHT_GROUP sections with just a flag
+       word.
+
+2012-08-09  Nick Clifton  <nickc@redhat.com>
+
+       * po/vi.po: Updated Vietnamese translation.
+
+2012-08-09  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * elfxx-mips.c (LA25_LUI_MICROMIPS_1, LA25_LUI_MICROMIPS_2):
+       Remove macros, folding them into...
+       (LA25_LUI_MICROMIPS): ... this new macro.
+       (LA25_J_MICROMIPS_1, LA25_J_MICROMIPS_2): Likewise into...
+       (LA25_J_MICROMIPS): ... this new macro.
+       (LA25_ADDIU_MICROMIPS_1, LA25_ADDIU_MICROMIPS_2): Likewise
+       into...
+       (LA25_ADDIU_MICROMIPS): ... this new macro.
+       (bfd_put_micromips_32, bfd_get_micromips_32): New functions.
+       (mips_elf_create_la25_stub): Use them.
+       (check_br32_dslot, check_br32, check_relocated_bzc): Likewise.
+       (_bfd_mips_elf_relax_section): Likewise.
+
+2012-08-09  Alan Modra  <amodra@gmail.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       * archive.c (SECTION Archives): Update documentation.
+       (_bfd_delete_archive_data): Remove.
+       (_bfd_add_bfd_to_archive_cache): Set 'parent_cache' and 'key'.
+       (archive_close_worker, _bfd_archive_close_and_cleanup): New
+       functions.
+       * libbfd-in.h (struct areltdata <parent_cache, key>): New fields.
+       (_bfd_delete_archive_data): Don't declare.
+       (_bfd_archive_close_and_cleanup): Declare.
+       (_bfd_generic_close_and_cleanup): Redefine.
+       * libbfd.h: Rebuild.
+       * opncls.c (_bfd_delete_bfd): Don't call _bfd_delete_archive_data.
+       (bfd_close): Don't close nested thin archives here.
+
+2012-08-07  Tom Tromey  <tromey@redhat.com>
+
+       * archive.c (_bfd_delete_archive_data): New function.
+       * libbfd-in.h (_bfd_delete_archive_data): Declare.
+       * libbfd.h: Rebuild.
+       * opncls.c (_bfd_delete_bfd): Call _bfd_delete_archive_data.
+
+2012-08-07  Nick Clifton  <nickc@redhat.com>
+
+       * po/uk.po: Updated Ukranian translation.
+
+2012-08-06  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * elflink.c (bfd_elf_record_link_assignment): Remove --defsym
+       symbols special case.
+
+2012-08-05  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Don't allocate
+       PLT slots for local symbols.
+
+2012-08-03  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * elf64-mips.c (mips16_elf64_howto_table_rela): Correct src_mask
+       field initializers throughout.
+       * elfn32-mips.c (elf_mips16_howto_table_rela): Likewise.
+
+2012-08-03  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * elfxx-mips.c (mips_elf_perform_relocation): Update the
+       cross-mode jump message.
+
+2012-08-03  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Update the
+       comment on DT_MIPS_RLD_MAP.
+
+2012-08-03  Tom Tromey  <tromey@redhat.com>
+
+       * opncls.c (_bfd_delete_bfd): Now static.
+       * libbfd-in.h (_bfd_delete_bfd): Don't declare.
+       * libbfd.h: Rebuild.
+
+2012-08-02  Sean Keys  <skeys@ipdatasys.com>
+
+       * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Modified
+       conditional statment to allow suppression of mismatched bank
+       warning.
+
+2012-08-01  Alan Modra  <amodra@gmail.com>
+
+       * dwarf2.c (struct dwarf2_debug): Add close_on_cleanup.
+       (_bfd_dwarf2_slurp_debug_info): Set close_on_cleanup if we open
+       gnu_debuglink bfd.
+       (_bfd_dwarf2_cleanup_debug_info): Act on close_on_cleanup.
+
+2012-07-30  Nick Clifton  <nickc@redhat.com>
+
+       * po/bfd.pot: Updated template.
+       * po/es.po: Updated Spanish translation.
+       * po/fi.po: Updated Finnish translation.
+       * po/fr.po: Updated French translation.
+       * po/ru.po: Updated Russian translation.
+       * po/uk.po: Updated Ukranian translation.
+
+2012-07-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.in (AC_INIT): Call with the args bfd and 2.22.52.
+       (AM_INIT_AUTOMAKE): Remove args.
+       * configure: Regenerate.
+
+2012-07-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * cpu-s390.c (bfd_s390_64_arch, bfd_s390_arch): Pick the default
+       arch depending on the target size.
+
+2012-07-27  Tristan Gingold  <gingold@adacore.com>
+
+       * configure.in: Bump version to 2.23.51
+       * configure: Regenerate.
+
+2012-07-26  Teresa Johnson  <tejohnson@google.com>
+
+       * bfd/dwarf2.c (find_line): Initialize discriminator_ptr
+       if it is non-NULL.
+
+2012-07-26  Meador Inge  <meadori@codesourcery.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR ld/14397
+       * elf32-arm.c (elf32_arm_finish_dynamic_sections): Report an error
+       if a required section is missing from the linker script.
+
+2012-07-24  Jan Waclawek <konfera@efton.sk>
+       PR 13899
+       * elf32-avr.c (elf32_avr_relax_delete_bytes): Call
+       _bfd_elf_link_read_relocs with keep_memory as TRUE.
+
+2012-07-24  Teresa Johnson  <tejohnson@google.com>
+
+       * bfd.c (bfd_find_nearest_line_discriminator): New macro.
+       * coff-rs6000.c: Init _bfd_find_nearest_line_discriminator.
+       * coff64-rs6000.c: Likewise.
+       * dwarf2.c (struct line_info): Add discriminator field.
+       (add_line_info): Fill in new discriminator field.
+       (decode_line_info): Record discriminator information instead
+       of ignoring it.
+       (lookup_address_in_line_info_table): Return discriminator field if
+       requested.
+       (comp_unit_find_nearest_line): Add discriminator argument.
+       (find_line): Likewise.
+       (_bfd_dwarf2_find_nearest_line): Likewise.
+       (_bfd_dwarf2_find_line): Likewise.
+       * elf-bfd.h (_bfd_elf_find_nearest_line_discriminator): New.
+       (_bfd_elf_find_line_discriminator): Likewise.
+       (_bfd_generic_find_nearest_line_discriminator): Likewise. Defined.
+       * elf.c (_bfd_elf_find_nearest_line): Change to a wrapper
+       that invokes _bfd_elf_find_nearest_line_discriminator with correct
+       arguments.
+       (_bfd_elf_find_nearest_line_discriminator): New.
+       (_bfd_elf_find_line): Change to a wrapper
+       that invokes _bfd_elf_find_line_discriminator with correct
+       arguments.
+       (_bfd_elf_find_line_discriminator): New.
+       * coffgen.c (coff_find_nearest_line_with_names): Handle
+       new discriminator argument.
+       * elf32-arm.c (elf32_arm_find_nearest_line): Likewise.
+       * elf64-alpha.c (elf64_alpha_find_nearest_line): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_find_nearest_line): Likewise.
+       * mach-o.c (bfd_mach_o_find_nearest_line): Likewise.
+       * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Add discriminator
+       argument.
+       (_bfd_dwarf2_find_line): Likewise.
+       (_bfd_generic_find_nearest_line_discriminator): New.
+       * libbfd.c (_bfd_generic_find_nearest_line_discriminator): New.
+       * bfd-in2.h: Regenerated.
+       * libbfd.h: Likewise.
+       * targets.c (BFD_JUMP_TABLE_SYMBOLS): Initialize
+       _bfd_find_nearest_line_discriminator with
+       _bfd_generic_find_nearest_line_discriminator.
+       (bfd_target): Add _bfd_find_nearest_line_discriminator.
+
+2012-07-24  Sean Keys  <skeys@ipdatasys.com>
+
+       * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Added code
+       that enables the linker to offset addresses, when linking against
+       symbols from the XGATE processor and vice versa.
+
+2012-07-23  Nick Clifton  <nickc@redhat.com>
+
+       * cisco-core.c (cisco_core_file_failing_command): Make static.
+       (cisco_core_file_failing_signal): Make static.
+
+2012-07-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfd-in2.h: Regenerated.
+
+2012-07-18  Nicolàs Alejandro Di Risio <sheeva@tiscali.it>
+
+       PR binutils/14335
+       * section.c: Fix a typo in comments.
+
+2012-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * elf64-s390.c: Include elf-s390-common.c.
+       (R_390_IRELATIVE): New reloc.
+       (elf_s390_reloc_type_lookup): Support R_390_IRELATIVE.
+       (RELA_ENTRY_SIZE): New macro.
+       (elf_s390_link_hash_entry): New fields ifunc_resolver_address and
+       *ifunc_resolver_section.
+       (struct plt_entry): New struct.
+       (struct elf_s390_obj_tdata): New field local_plt.
+       (elf_s390_local_plt): New macro.
+       (struct elf_s390_link_hash_table): New field irelifunc.
+       (ELF64): New macro.
+       (link_hash_newfunc): Initialize new fields.
+       (elf_s390_check_relocs): Handle IFUNC symbols.
+       (elf_s390_adjust_dynamic_symbol): Don't do anything for IFUNC
+       symbols.
+       (allocate_dynrelocs): Call s390_elf_allocate_ifunc_dyn_relocs for
+       IFUNC symbols.
+       (elf_s390_size_dynamic_sections): Handle IFUNC symbols.
+       (elf_s390_relocate_section): Likewise.
+       (elf_s390_finish_dynamic_symbol): Likewise.
+       (elf_s390_finish_dynamic_sections): Handle local IFUNC symbols.
+       (elf_s390_finish_ifunc_symbol): New function.
+       (elf_s390_gc_sweep_hook): Handle local plt entries.
+       (elf_backend_add_symbol_hook): Define.
+       * elf32-s390.c: See elf64-s390.c changes.
+       * elf-s390-common.c: New file.
+       * bfd-in2.h (BFD_RELOC_390_IRELATIVE): New enum field.
+       * libbfd.h (BFD_RELOC_390_IRELATIVE): New entry for
+       BFD_RELOC_390_IRELATIVE.
+       * reloc.c (BFD_RELOC_390_IRELATIVE): Document new relocation.
+
+2012-07-13  Nick Clifton  <nickc@redhat.com>
+
+       * aix386-core.c: Remove use of PTR and PARAMS macros.
+       * archive.c: Likewise.
+       * cache.c: Likewise.
+       * cisco-core.c: Likewise.
+       * coff-alpha.c: Likewise.
+       * coff-apollo.c: Likewise.
+       * coff-aux.c: Likewise.
+       * coff-h8300.c: Likewise.
+       * coff-h8500.c: Likewise.
+       * coff-i386.c: Likewise.
+       * coff-i960.c: Likewise.
+       * coff-ia64.c: Likewise.
+       * coff-m68k.c: Likewise.
+       * coff-m88k.c: Likewise.
+       * coff-mcore.c: Likewise.
+       * coff-mips.c: Likewise.
+       * coff-or32.c: Likewise.
+       * coff-ppc.c: Likewise.
+       * coff-rs6000.c: Likewise.
+       * coff-sh.c: Likewise.
+       * coff-sparc.c: Likewise.
+       * coff-stgo32.c: Likewise.
+       * coff-tic30.c: Likewise.
+       * coff-tic4x.c: Likewise.
+       * coff-tic54x.c: Likewise.
+       * coff-tic80.c: Likewise.
+       * coff-w65.c: Likewise.
+       * cofflink.c: Likewise.
+       * cpu-arc.c: Likewise.
+       * cpu-cris.c: Likewise.
+       * cpu-h8500.c: Likewise.
+       * cpu-i960.c: Likewise.
+       * cpu-msp430.c: Likewise.
+       * cpu-ns32k.c: Likewise.
+       * cpu-powerpc.c: Likewise.
+       * cpu-rs6000.c: Likewise.
+       * cpu-tic4x.c: Likewise.
+       * cpu-w65.c: Likewise.
+       * ecoff.c: Likewise.
+       * ecofflink.c: Likewise.
+       * elf-m10200.c: Likewise.
+       * elf32-bfin.c: Likewise.
+       * elf32-cris.c: Likewise.
+       * elf32-crx.c: Likewise.
+       * elf32-fr30.c: Likewise.
+       * elf32-frv.c: Likewise.
+       * elf32-h8300.c: Likewise.
+       * elf32-i960.c: Likewise.
+       * elf32-m32c.c: Likewise.
+       * elf32-m68hc11.c: Likewise.
+       * elf32-m68hc12.c: Likewise.
+       * elf32-m68hc1x.c: Likewise.
+       * elf32-m68k.c: Likewise.
+       * elf32-mcore.c: Likewise.
+       * elf32-rl78.c: Likewise.
+       * elf32-rx.c: Likewise.
+       * elf32-s390.c: Likewise.
+       * elf32-vax.c: Likewise.
+       * elf64-alpha.c: Likewise.
+       * elf64-mmix.c: Likewise.
+       * elf64-s390.c: Likewise.
+       * elf64-sparc.c: Likewise.
+       * elfnn-ia64.c: Likewise.
+       * elfxx-mips.c: Likewise.
+       * elfxx-sparc.c: Likewise.
+       * hash.c: Likewise.
+       * hp300hpux.c: Likewise.
+       * hppabsd-core.c: Likewise.
+       * hpux-core.c: Likewise.
+       * i386dynix.c: Likewise.
+       * i386linux.c: Likewise.
+       * i386lynx.c: Likewise.
+       * i386mach3.c: Likewise.
+       * i386msdos.c: Likewise.
+       * i386os9k.c: Likewise.
+       * irix-core.c: Likewise.
+       * lynx-core.c: Likewise.
+       * m68klinux.c: Likewise.
+       * mach-o.h: Likewise.
+       * mipsbsd.c: Likewise.
+       * netbsd-core.c: Likewise.
+       * nlm32-i386.c: Likewise.
+       * osf-core.c: Likewise.
+       * pc532-mach.c: Likewise.
+       * pef.c: Likewise.
+       * ppcboot.c: Likewise.
+       * ptrace-core.c: Likewise.
+       * reloc16.c: Likewise.
+       * sco5-core.c: Likewise.
+       * som.h: Likewise.
+       * sparclinux.c: Likewise.
+       * sparclynx.c: Likewise.
+       * ticoff.h: Likewise.
+       * trad-core.c: Likewise.
+       * vms-lib.c: Likewise.
+       * xsym.h: Likewise.
+
+2012-07-09  Alan Modra  <amodra@gmail.com>
+
+       PR ld/14323
+       * elflink.c (elf_sort_symbol): Sort by size too.
+       (elf_link_add_object_symbols <weakdefs>): Simplify binary search.
+       Do not depend on ordering of symbol aliases.  Match largest size.
+
+2012-07-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (assign_section_numbers): Check if number of sections
+       >= SHN_LORESERVE.
+       * elfcode.h (elf_object_p): Likewise.
+
+2012-07-03  Nick Clifton  <nickc@redhat.com>
+
+       * archive.c (bsd_write_armap): Catch attempts to create an archive
+       with indicies bigger than 4Gb.
+       (coff_write_armap): Likewise.
+
+2012-07-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/14319
+       * elf.c (_bfd_elf_make_section_from_shdr): Don't compress empty
+       debug section.
+
+2012-07-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3351
+       * elflink.c (_bfd_elf_update_dynamic_flags): New.
+       (_bfd_elf_merge_symbol): Update both real and indirect symbol
+       dynamic flags.
+       (_bfd_elf_add_default_symbol): Make the real symbol dynamic if
+       the indirect symbol is defined in a shared library.
+       (elf_link_add_object_symbols): Likewise.  If the indirect
+       symbol has been forced local, don't make the real symbol
+       dynamic.
+       (elf_link_check_versioned_symbol): Check indirect symbol.
+       (elf_link_output_extsym): Use real symbol definition when
+       reporting indirect symbol error.  Check version info for
+       dynamic versioned symbol.
+
+2012-07-03  Alan Modra  <amodra@gmail.com>
+
+       PR ld/14207
+       * elf.c (assign_file_positions_for_load_sections): Remove assertions
+       that only PT_LOAD headers include file header and section headers.
+       (assign_file_positions_for_non_load_sections): Similarly don't
+       assert PT_GNU_RELRO header does not include file and section headers.
+       Compare first section vma rather than PT_LOAD p_vaddr against
+       relro_start when looking for PT_LOAD covering PT_GNU_RELRO.  Replace
+       abort with assertion.
+
+2012-07-02  Alan Modra  <amodra@gmail.com>
+
+       * elf32-m32c.c (m32c_elf_check_relocs): Use bfd_make_section
+       "anyway" variant when creating .plt.
+       (m32c_elf_relax_plt_section): Remove redundant test and unused param.
+       (m32c_elf_relax_section): Test SEC_LINKER_CREATED before calling
+       m32c_elf_relax_plt_section.
+       * elfxx-mips.c (mips_elf_create_got_section): Use make anyway variant
+       when creating .got and .got.plt.
+       (_bfd_mips_elf_final_link): Likewise for .rtproc, and use
+       bfd_get_linker_section.
+       * sunos.c: Similarly throughout.
+
+2012-07-01  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * elf.c (_bfd_elf_make_section_from_shdr): Fix typo in error
+       message.
+
+2012-06-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Return FALSE
+       on unresolvable relocation.
+
+2012-06-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * archive.c (_bfd_compute_and_write_armap): Simplify global
+       symbol handling.
+
+2012-06-29  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/14189
+       * elf32-arm.c (elf32_arm_check_relocs): Do not increment refcount
+       for locally bound symbols.
+
+2012-06-29  Alan Modra  <amodra@gmail.com>
+
+       * section.c (bfd_get_linker_section): New function.
+       * elf32-arm.c: When retrieving SEC_LINKER_CREATED sections, use
+       the above throughout rather than bfd_get_section_by_name.  Use
+       bfd_make_section_anyway rather than bfd_make_section when creating
+       them.
+       * elf32-bfin.c: Likewise.
+       * elf32-cr16.c: Likewise.
+       * elf32-cris.c: Likewise.
+       * elf32-frv.c: Likewise.
+       * elf32-hppa.c: Likewise.
+       * elf32-i370.c: Likewise.
+       * elf32-i386.c: Likewise.
+       * elf32-lm32.c: Likewise.
+       * elf32-m32c.c: Likewise.
+       * elf32-m32r.c: Likewise.
+       * elf32-m68k.c: Likewise.
+       * elf32-microblaze.c: Likewise.
+       * elf32-ppc.c: Likewise.
+       * elf32-rl78.c: Likewise.
+       * elf32-s390.c: Likewise.
+       * elf32-score.c: Likewise.
+       * elf32-score7.c: Likewise.
+       * elf32-sh.c: Likewise.
+       * elf32-tic6x.c: Likewise.
+       * elf32-tilepro.c: Likewise.
+       * elf32-vax.c: Likewise.
+       * elf32-xstormy16.c: Likewise.
+       * elf32-xtensa.c: Likewise.
+       * elf64-alpha.c: Likewise.
+       * elf64-hppa.c: Likewise.
+       * elf64-ia64-vms.c: Likewise.
+       * elf64-ppc.c: Likewise.
+       * elf64-s390.c: Likewise.
+       * elf64-sh64.c: Likewise.
+       * elf64-sparc.c: Likewise.
+       * elf64-x86-64.c: Likewise.
+       * elfnn-ia64.c: Likewise.
+       * elfxx-mips.c: Likewise.
+       * elfxx-sparc.c: Likewise.
+       * elfxx-tilegx.c: Likewise.
+       * elflink.c: Likewise.
+       * elf-vxworks.c: Likewise.
+       * elf-m10300.c: Likewise.  Also make use of htab plt, got and
+       gotplt shortcuts.
+       * bfd-in2.h: Regenerate.
+       * elf32-lm32.c (lm32_elf_check_relocs): Use the correct bfd when
+       calling create_rofixup_section.
+       * elflink.c (bfd_elf_final_link): Simplify test for .dynstr.
+
+2012-06-29  Alan Modra  <amodra@gmail.com>
+
+       * elf32-sh.c (sh_elf_create_dynamic_sections): Don't create .rela
+       section for bss type sections, except for .rela.bss.
+       * elf-m10300.c (_bfd_mn10300_elf_create_dynamic_sections): Likewise.
+       * elf32-cr16.c (_bfd_cr16_elf_create_dynamic_sections): Likewise.
+       * elf32-lm32.c (lm32_elf_create_dynamic_sections): Likewise.
+       * elf32-m32r.c (m32r_elf_create_dynamic_sections): Likewise.
+       * elf64-sh64.c (sh64_elf64_create_dynamic_sections): Likewise.
+
+2012-06-28  Roland McGrath  <mcgrathr@google.com>
+
+       * elf32-arm.c (elf32_arm_populate_plt_entry): Use int32_t for
+       displacement calculation in nacl_p case.
+
+2012-06-28  Nick Clifton  <nickc@redhat.com>
+
+       * po/uk.po: New Ukranian translation.
+       * configure.in (ALL_LINGUAS): Add uk.
+       * configure: Regenerate.
+
+2012-06-26  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_next_toc_section): Don't error if input
+       file has multiple .got/.toc sections and all don't fit in
+       current toc group.
+
+2012-06-22  Roland McGrath  <mcgrathr@google.com>
+
+       * elf.c (assign_file_positions_for_non_load_sections): Define
+       __ehdr_start symbol if it's referenced and there's a PT_LOAD
+       segment that covers both the file and program headers.
+
+2012-06-22  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Don't make
+       _GLOBAL_OFFSET_TABLE_ and _DYNAMIC absolute.
+
+2012-06-22  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't emit out-of-line
+       save/restore functions when relocatable.  Make "funcs" static.
+
+2012-06-18  Hans-Peter Nilsson  <hp@axis.com>
+
+       * elf32-cris.c (cris_elf_plt_sym_val): Rewrite to work in presence
+       of merged .got and .got.plt entries.
+
+2012-06-18  John Szakmeister  <john@szakmeister.net>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Correct return value.
+
+2012-06-17  Hans-Peter Nilsson  <hp@axis.com>
+
+       * elf32-cris.c (cris_elf_relocate_section): <R_CRIS_32_IE>
+       <R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>: Handle references to
+       thread common symbols.
+
+2012-06-13  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-arm.c (bfd_arm_get_mach_from_attributes): New function.
+       (elf32_arm_object_p): If the machine number could not be deduced
+       from the notes, call bfd_arm_get_mach_from_attributes to get the
+       number from the attributes.
+
+2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bfd/14207
+       * elf.c (assign_file_positions_for_non_load_sections): Abort if
+       PT_GNU_RELRO segment doesn't fit in PT_LOAD segment.
+
+2012-06-12  Alan Modra  <amodra@gmail.com>
+
+       PR ld/14207
+       * elf.c (_bfd_elf_map_sections_to_segments): Disregard bss type
+       sections at end of PT_LOAD segment when searching for segment
+       that contains end of relro extent.
+
+2012-06-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (assign_file_positions_for_non_load_sections): Reindent.
+
+2012-06-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (_bfd_elf_map_sections_to_segments): Reindent.
+
+2012-06-06  Alan Modra  <amodra@gmail.com>
+
+       * elflink.c (elf_link_input_bfd): Provide a file symbol for
+       each input file with local syms, if the input lacks such.
+       (bfd_elf_final_link): Add a file symbol to mark end of locals
+       for which we can associate with input files.
+       (struct elf_final_link_info): Add filesym_count field.
+       (struct elf_outext_info): Add need_second_pass and second_pass.
+       (elf_link_output_extsym): Detect symbols defined in the output
+       file, emit them on second pass over locals.
+
+2012-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * bfd-in.h (bfd_elf_bfd_from_remote_memory): Make LEN argument
+       of target_read_memory as bfd_size_type.
+       * bfd-in2.h: Regenerate.
+       * elf-bfd.h (elf_backend_bfd_from_remote_memory): Make LEN
+       argument of target_read_memory as bfd_size_type.
+       (_bfd_elf32_bfd_from_remote_memory): Likewise.
+       (_bfd_elf64_bfd_from_remote_memory): Likewise.
+       * elf.c (bfd_elf_bfd_from_remote_memory): Likewise.
+       * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): Likewise.
+
+2012-06-03  Alan Modra  <amodra@gmail.com>
+
+       PR binutils/13897
+       * elf.c (elf_find_function): Cache last function sym info.
+       (_bfd_elf_maybe_function_sym): Return function size, pass in
+       section of interest.
+       * elf-bfd.h (struct elf_backend_data <maybe_function_sym>): Likewise.
+       (_bfd_elf_maybe_function_sym): Likewise.
+       * elf64-ppc.c (ppc64_elf_maybe_function_sym): Likewise.
+       (opd_entry_value): Add in_code_sec param.  Revert caching code.
+       Return -1 if in_code_sec and function found in wrong section.
+       Update all calls.
+
+2012-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * bfd-in.h (bfd_elf_bfd_from_remote_memory): Make LEN argument
+       of target_read_memory as size_t.
+       * bfd-in2.h: Regenerate.
+       * elf-bfd.h (elf_backend_bfd_from_remote_memory): Make LEN
+       argument of target_read_memory as size_t.
+       (_bfd_elf32_bfd_from_remote_memory): Likewise.
+       (_bfd_elf64_bfd_from_remote_memory): Likewise.
+       * elf.c (bfd_elf_bfd_from_remote_memory): Likewise.
+       * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): Likewise.
+
+2012-06-01  Alan Modra  <amodra@gmail.com>
+
+       PR binutils/13897
+       * elf64-ppc.c (opd_entry_value): Rewrite cache code.
+
+2012-05-29  Tom Tromey  <tromey@redhat.com>
+
+       * opncls.c (bfd_fopen): Always close fd on failure.
+       (bfd_fdopenr): Likewise.
+
+2012-05-27  Alan Modra  <amodra@gmail.com>
+
+       PR ld/14170
+       * elflink.c (_bfd_elf_merge_symbol): When a symbol defined in
+       a dynamic library finds a new instance with non-default
+       visibility in a regular object, correctly handle symbols
+       already on the undefs list and undo dynamic symbol state when
+       the new symbol is hidden or internal.
+
+2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_create_dynamic_sections): Don't use
+       dynamic_sec_flags to create PLT .eh_frame section.
+       * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise.
+
+2012-05-25  Alan Modra  <amodra@gmail.com>
+
+       PR ld/13909
+       * elf-eh-frame.c (_bfd_elf_eh_frame_present): New function.
+       (_bfd_elf_maybe_strip_eh_frame_hdr): Use it here.
+       * elf-bfd.h (_bfd_elf_eh_frame_present): Declare.
+       * elflink.c (bfd_elf_size_dynamic_sections): Let the backend
+       size dynamic sections before stripping eh_frame_hdr.
+       (bfd_elf_gc_sections): Handle multiple .eh_frame sections.
+       * elf32-ppc.c (ppc_elf_size_dynamic_sections): Drop glink_eh_frame
+       if no other .eh_frame sections exist.
+       * elf64-ppc.c (ppc64_elf_size_stubs): Likewise.
+       * elf32-i386.c (elf_i386_create_dynamic_sections): Don't size
+       or alloc plt_eh_frame here..
+       (elf_i386_size_dynamic_sections): ..do it here instead.  Don't
+       specially keep sgotplt, iplt, tgotplt, sdynbss for symbols.
+       (elf_i386_finish_dynamic_sections): Check plt_eh_frame->contents
+       before writing plt offset.
+       * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Don't size
+       or alloc plt_eh_frame here..
+       (elf_x86_64_size_dynamic_sections): ..do it here instead.
+       (elf_x86_64_finish_dynamic_sections): Check plt_eh_frame->contents
+       before writing plt offset.
+
+2012-05-24  Alan Modra  <amodra@gmail.com>
+
+       PR ld/14158
+       * elf64-ppc.c (ppc64_elf_size_stubs): Round up glink_eh_frame
+       size to output section alignment.
+       (ppc64_elf_build_stubs): Likewise, and extend last FDE to cover.
+
+2012-05-23  Alan Modra  <amodra@gmail.com>
+
+       * elf-eh-frame.c (_bfd_elf_maybe_strip_eh_frame_hdr): Handle
+       BFDs with multiple .eh_frame sections.
+
+2012-05-23  Alan Modra  <amodra@gmail.com>
+
+       PR ld/13909
+       * elflink.c (bfd_elf_discard_info): Don't ignore dynamic BFDs.
+
+2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/13909
+       * elf32-i386.c (elf_i386_create_dynamic_sections): Revert the
+       last change.
+       * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise.
+
+2012-05-22  Alan Modra  <amodra@gmail.com>
+
+       * elflink.c (bfd_elf_discard_info): Look for next .eh_frame if
+       first one is zero size or discarded.
+       * elf32-ppc.c (ppc_elf_size_dynamic_sections): Set most of
+       glink_eh_frame contents here..
+       (ppc_elf_finish_dynamic_sections): ..rather than here.  Just set
+       offset to .glink.
+
+2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/13909
+       * elf32-i386.c (elf_i386_create_dynamic_sections): Create PLT
+       eh_frame section if there is an input .eh_frame section.
+       * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise.
+
+2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/14105
+       * elf32-i386.c (elf_i386_create_dynamic_sections): Always
+       create PLT eh_frame section with SEC_LINKER_CREATED.
+       * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise.
+
+2012-05-22  Alan Modra  <amodra@gmail.com>
+
+       * elflink.c (bfd_elf_discard_info): Handle multiple .eh_frame
+       sections attached to a BFD.
+       * section.c (bfd_get_section_by_name): Rewrite description.
+       (bfd_get_next_section_by_name): New function.
+       * bfd-in2.h: Regenerate.
+
+2012-05-21  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * elf32-m68k.c (elf_m68k_grok_prstatus): New function.
+       (elf_m68k_grok_psinfo): New function.
+       (elf_backend_grok_prstatus): Define.
+       (elf_backend_grok_psinfo): Define.
+
+2012-05-19  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * elf64-mips.c (elf_backend_got_header_size): Correct definition.
+       * elfxx-mips.c (_bfd_mips_elf_adjust_dynamic_symbol): Use the ELF
+       backend's GOT header size instead of hardcoding it.
+
+2012-05-19  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * elf32-vax.c (elf_vax_relocate_section)
+       <R_VAX_8, R_VAX_16, R_VAX_32>: Don't check if info->shared again.
+
+2012-05-19  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * elf32-vax.c (elf_vax_relocate_section)
+       <R_VAX_8, R_VAX_16, R_VAX_32>: Use section flags rather than
+       its name as the check for text sections.
+
+2012-05-19  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * elf64-mips.c (mips_elf64_be_swap_reloc_out): Also make sure
+       the third reloc offset is the same as the first.
+
+2012-05-19  Alan Modra  <amodra@gmail.com>
+
+       * elf32-ppc.h (has_vle_insns, is_ppc_vle): Delete.
+       (has_tls_reloc, has_tls_get_addr_call): Move back to..
+       * elf32-ppc.c: ..here.
+       (ppc_elf_section_flags, elf_backend_section_flags): Delete.
+       (ppc_elf_modify_segment_map): Use ELF sh_flags to detect VLE sections.
+
+2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_finish_dynamic_symbol): Don't make
+       _DYNAMIC nor _GLOBAL_OFFSET_TABLE_ absolute.
+       * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.
+
+2012-05-18  Roland McGrath  <mcgrathr@google.com>
+
+       * archive.c (_bfd_generic_read_ar_hdr_mag): Fix last change so as
+       not to clobber the ar_fmag field stored in ARED->arch_header.
+
+2012-05-18  Pedro Alves  <palves@redhat.com>
+
+       * mach-o.h: Don't include sysdep.h.
+
+2012-05-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 14072
+       * bfd-in.h: Check for PACKAGE or PACKAGE_VERSION before
+       complaining about config.h not having been included.
+       * bfd-in2.h: Regenerate.
+
+2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * aclocal.m4: Regenerate.
+       * Makefile.in: Regenerate.
+
+2012-05-17  Daniel Richard G.  <skunk@iskunk.org>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR 14072
+       * configure.in: Add check that sysdep.h has been included before
+       any system header files.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * bfd-in.h: Generate an error if included before config.h.
+       * sysdep.h: Likewise.
+       * bfd-in2.h: Regenerate.
+       * compress.c: Remove #include "config.h".
+       * plugin.c: Likewise.
+       * elf32-m68hc1x.c: Include sysdep.h before alloca-conf.h.
+       * elf64-hppa.c: Likewise.
+       * som.c: Likewise.
+       * xsymc.c: Likewise.
+
+2012-05-17  Maciej W. Rozycki  <macro@linux-mips.org>
+           Alan Modra  <amodra@gmail.com>
+
+       * elf.c (ignore_section_sym): Correct comment.  Don't return
+       true for absolute section.
+       (elf_map_symbols): Move stray comment.  Adjust for above change.
+       Don't discard global section symbols.
+
+2012-05-17  Alan Modra  <amodra@gmail.com>
+
+       * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make _DYNAMIC,
+       _GLOBAL_OFFSET_TABLE_ or _PROCEDURE_LINKAGE_TABLE_ absolute.
+       * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Don't make _DYNAMIC
+       absolute.
+
+2012-05-17  Alan Modra  <amodra@gmail.com>
+
+       * elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call, has_vle_insns,
+       is_ppc_vle): Move to..
+       * elf32-ppc.h: ..here, making is_ppc_vle a macro.
+
+2012-05-16  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * bfd-in.h (bfd_get_section_name, bfd_get_section_vma,
+       bfd_get_section_lma, bfd_get_section_alignment,
+       bfd_get_section_flags, bfd_get_section_userdata): Rewrite macros
+       in order to use the `bfd' argument.
+       * bfd-in2.h: Regenerate.
+       * elf-vxworks.c (elf_vxworks_finish_dynamic_entry): Pass proper `bfd'
+       as the first argument for `bfd_get_section_alignment'.
+       * elf32-arm.c (create_ifunc_sections): Likewise, for
+       `bfd_set_section_alignment'.
+       * elf32-m32r.c (m32r_elf_relocate_section): Likewise, for
+       `bfd_get_section_name'.
+       * elf32-microblaze.c (microblaze_elf_relocate_section): Likewise.
+       * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise.
+       (ppc_elf_relocate_section): Likewise.
+       * elf64-mmix.c (mmix_final_link_relocate): Likewise, for
+       `bfd_get_section_vma'.
+       * elf64-ppc.c (create_linkage_sections): Likewise, for
+       `bfd_set_section_alignment'.
+
+2012-05-16  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/13503
+       * reloc.c: Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenrate.
+       * elf32-avr.c (elf_avr_howto_table): Rename R_AVR_8_HHI8 to
+       R_AVR_8_HLO8.
+       (avr_reloc_map): Likewise.
+
 2012-05-16  Daniel Richard G.  <skunk@iskunk.org>
 
        PR binutils/13558
 
 2012-05-16  Alan Modra  <amodra@gmail.com>
 
-       PR ld/13962
-       PR ld/7023
+       PR ld/13962
+       PR ld/7023
        * elf.c (bfd_section_from_shdr): Fail when .dynsym sh_info is
        out of range.  As a special case, fix sh_info for zero sh_size.
        Do the same for .symtab.
This page took 0.032185 seconds and 4 git commands to generate.