-2015-12-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
-
- (tag_cpu_arch_combine): Adjust comment in v4t_plus_v6_m with regards
- to merging with ARMv8-M Baseline.
-
-2015-12-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
-
- (tag_cpu_arch_combine): Adjust v4t_plus_v6_m and comb array to account
- for new TAG_CPU_ARCH_V4T_PLUS_V6_M value. Deal with NULL values in
- comb array.
-
-2015-12-22 Yury Usishchev <y.usishchev@samsung.com>
-
- * elf-bfd.h: Add callback to count additional relocations.
- * elf32-arm.c (_arm_elf_section_data): Add new counter.
- (insert_cantunwind_after): Increment relocations counter.
- (elf32_arm_fix_exidx_coverage): Remove exidx entries and add
- terminating CANTUNWIND entry only in final builds.
- (elf32_arm_add_relocation): New function.
- (elf32_arm_write_section): Add relocations in relocatable builds.
- (elf32_arm_count_additional_relocs): New function.
- (elf_backend_count_additional_relocs): New define.
- * elflink.c (bfd_elf_final_link): Use callback and adjust size of
- .rel section.
- * elfxx-target.h (elf_backend_count_additional_relocs): New define.
-
-2015-12-22 Yoshinori Sato <ysato@users.sourceforge.jp>
-
- * archures.c: Add bfd_mach_rx_v2.
- * bfd-in2.h: Regenerate.
- * cpu-rx.c (arch_info_struct): Add v2 information.
- * elf32-rx.c (elf32_rx_machine): Add v2 support.
-
-2015-12-22 Mickael Guene <mickael.guene@st.com>
-
- * bfd-in2.h: Regenerate.
- * section.c: Add SEC_ELF_NOREAD.
- * elf32-arm.c (elf32_arm_post_process_headers): Only set
- PF_X attribute if a segment only contains section with
- SHF_ARM_NOREAD flag.
- (elf32_arm_fake_sections): Add SEC_ELF_NOREAD conversion.
- (elf32_arm_section_flags): New function to convert SHF_ARM_NOREAD
- to bfd flag.
- (elf32_arm_lookup_section_flags): New function to allow
- INPUT_SECTION_FLAGS directive with SHF_ARM_NOREAD flag.
- (elf32_arm_special_sections): Add special sections array
- to catch section prefix by '.text.noread' pattern.
-
-2015-12-18 H.J. Lu <hongjiu.lu@intel.com>
-
- * coff-x86_64.c (coff_amd64_reloc): Fix formatting.
-
-2015-12-18 Nick Clifton <nickc@redhat.com>
-
- * coff-i386.c (coff_i386_reloc): Fix formatting.
-
-2015-12-16 Mickael Guene <mickael.guene@st.com>
-
- * bfd-in2.h: Regenerate.
- * reloc.c: Add new relocations.
- * libbfd.h (bfd_reloc_code_real_names): Add new relocations
- display names.
- * elf32-arm.c (elf32_arm_howto_table_1): Add HOWTO for new
- relocations.
- (elf32_arm_reloc_map): Add bfd/arm mapping for new relocations.
- (elf32_arm_final_link_relocate): Implement new relocations
- resolution.
-
-2015-12-15 Jan Beulich <jbeulich@suse.com>
-
- * coffgen.c (coff_write_alien_symbol): New parameter "iaux".
- (coff_write_symbols): Pass NULL for new argument.
- * cofflink.c (_bfd_coff_final_link): New local variables
- "iaux".
- Extend scope of local variables "indx" and "hash". Pass address
- of "iaux" to coff_write_alien_symbol(). Handle ".file" and the
- file name ending up in the string table separately. Avoid
- setting "rewrite" on more than one path.
- * libcoff-in.h (coff_write_alien_symbol): New parameter of type
- "union internal_auxent *".
- * libcoff.h: Re-generate.
-
-2015-12-15 Nick Clifton <nickc@redhat.com>
-
- PR 19339
- * elf-vxworks.h: Update copyright notice.
- * elf-vxworks.c: Update copyright notice.
- * elf-nacl.h: Update copyright notice.
- * elf-nacl.c: Update copyright notice.
-
-2015-12-10 H.J. Lu <hongjiu.lu@intel.com>
-
- PR ld/19317
- * linker.c (_bfd_generic_link_add_one_symbol): Don't complain
- plugin needed to handle slim lto object for relocatable link.
-
-2015-12-09 Sandra Loosemore <sandra@codesourcery.com>
-
- * elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Correct
- %hiadj/%lo computations for _GLOBAL_OFFSET_TABLE_ in initial
- PLT entries. Assert alignment requirements.
-
-2015-12-08 DJ Delorie <dj@redhat.com>
-
- * elf32-rl78.c (rl78_offset_for_reloc): Add more relocs.
- (rl78_elf_relax_section): Add bc/bz/bnc/bnz/bh/bnh. Fix reloc
- choices.
-
- * elf32-rx.c (rx_elf_object_p): Ignore empty and nobits sections.
-
-2015-12-07 Nick Clifton <nickc@redhat.com>
-
- * elf32-rx.c (elf32_rx_relax_delete_bytes): Add extra parameter -
- the start of the relocs for the section. Delete code to load in
- the relocs.
- (elf32_rx_relax_section): Do not free the loaded relocs.
-
-2015-12-07 Alan Modra <amodra@gmail.com>
-
- * elf32-ppc.c (ppc_elf_check_relocs): Don't error on local ifunc
- plt call. Wrap long lines.
- (ppc_elf_relocate_section): Wrap long lines.
- * elf64-ppc.c (ppc64_elf_check_relocs): Don't error on local ifunc
- plt calls. Move __tls_get_addr checks later. Don't create plt
- for addr14/addr24 relocs.
- (ppc64_elf_gc_sweep_hook): Adjust to suit check_relocs changes.
- (ppc64_elf_relocate_section): Correct local ifunc handling for
- PLT64, PLT32 and PLT16 relocs.
-
-2015-12-07 Alan Modra <amodra@gmail.com>
-
- PR19323
- * elfcode.h (elf_object_p): Check for ridiculous e_shnum and
- e_phnum values.
-
-2015-12-07 Alan Modra <amodra@gmail.com>
-
- * reloc.c (BFD_RELOC_PPC64_ENTRY): New.
- * elf64-ppc.c (reloc_howto_type ppc64_elf_howto_raw): Add
- entry for R_PPC64_ENTRY.
- (LD_R2_0R12, ADD_R2_R2_R12, LIS_R2, ADDIS_R2_R12): Define.
- (ppc64_elf_reloc_type_lookup): Handle R_PPC64_ENTRY.
- (ppc64_elf_relocate_section): Edit code at R_PPC64_ENTTY. Use
- new insn defines.
- * libbfd.h: Regenerate.
- * bfd-in2.h: Regenerate.
-
-2015-12-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
-
- * config.bfd: Mark sh5*-*-* and sh64*-*-* as obsolete.
-
-2015-12-04 H.J. Lu <hongjiu.lu@intel.com>
-
- * elf32-i386.c (elf_i386_convert_load): Skip if addend isn't 0.
- (elf_i386_relocate_section): Skip R_386_GOT32X optimization if
- addend isn't 0.
-
-2015-12-04 Tristan Gingold <gingold@adacore.com>
-
- * elf.c (rewrite_elf_program_header): Remove useless loop.
-
-2015-12-02 Alan Modra <amodra@gmail.com>
-
- PR binutils/19315
- * dwarf2.c (_bfd_elf_find_function): Return symbol matched.
- (_bfd_dwarf2_find_nearest_line): Check symbol returned above
- against dwarf range.
- * elf-bfd.h (_bfd_elf_find_function): Update prototype.
-
-2015-12-02 Alan Modra <amodra@gmail.com>
-
- * elf64-ppc.c (ppc64_elf_tls_optimize): Don't segfault on NULL
- symbol section or output section.
- (ppc64_elf_edit_toc): Similarly for ld -R objects.
- (ppc64_elf_size_stubs): Likewise.
-
-2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
-
- PR ld/19319
- * elf32-i386.c (elf_i386_convert_load): Check h->def_regular
- instead of bfd_link_hash_new.
- * elf64-x86-64.c (elf_x86_64_convert_load): Likewise. Skip
- relocation overflow for bfd_link_hash_undefined and
- bfd_link_hash_new if h->def_regular is set.
-
-2015-12-01 Alan Modra <amodra@gmail.com>
-
- * aoutx.h (adjust_sizes_and_vmas): Remove unused text_size and
- text_end parameters. Update callers.
- * aout-tic30.c: Update adjust_sizes_and_vmas callers.
- * hp300hpux.c: Likewise.
- * i386lynx.c: Likewise.
- * libaout.h: Likewise.
- * netbsd.h: Likewise.
- * pdp11.c: Likewise.
- * riscix.c: Likewise.
-
-2015-12-01 Alan Modra <amodra@gmail.com>
-
- * aout-adobe.c: Invoke aout N_* macros with pointer to
- struct internal_exec.
- * aout-arm.c: Likewise.
- * aout-cris.c: Likewise.
- * aout-target.h: Likewise.
- * aout-tic30.c: Likewise.
- * aoutf1.h: Likewise.
- * aoutx.h: Likewise.
- * bout.c: Likewise.
- * freebsd.h: Likewise.
- * gen-aout.c: Likewise.
- * hp300hpux.c: Likewise.
- * i386aout.c: Likewise.
- * i386linux.c: Likewise.
- * i386lynx.c: Likewise.
- * i386mach3.c: Likewise.
- * i386os9k.c: Likewise.
- * libaout.h: Likewise.
- * m68klinux.c: Likewise.
- * m88kmach3.c: Likewise.
- * mipsbsd.c: Likewise.
- * netbsd.h: Likewise.
- * pc532-mach.c: Likewise.
- * pdp11.c: Likewise.
- * riscix.c: Likewise.
- * sparclinux.c: Likewise.
- * sparclynx.c: Likewise.
-
-2015-12-01 Alan Modra <amodra@gmail.com>
-
- * coff-rs6000.c (_bfd_xcoff_put_symbol_name): Replace abfd param
- with info param. Test info->traditional_format rather than
- BFD_TRADITIONAL_FORMAT flag.
- * coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Likewise.
- * libxcoff.h (struct xcoff_backend_data_rec): Update
- _xcoff_put_symbol_name prototype.
- (bfd_xcoff_put_symbol_name): Add info param.
- * xcofflink.c (xcoff_find_tc0): Update bfd_xcoff_put_symbol_name call.
- (xcoff_write_global_symbol): Likewise.
- (xcoff_link_input_bfd): Test info->traditional_format rather than
- BFD_TRADITIONAL_FORMAT flag.
- * cofflink.c (_bfd_coff_final_link): Likewise.
- (_bfd_coff_link_input_bfd, _bfd_coff_write_global_sym): Likewise.
-
-2015-12-01 Alan Modra <amodra@gmail.com>
-
- * po/SRC-POTFILES.in: Regenerate.
-
-2015-12-01 Alan Modra <amodra@gmail.com>
-
- * elf32-arc.c (ARC_ELF_HOWTO): Delete.
- (arc_elf_howto): New function.
- (bfd_elf32_bfd_reloc_type_lookup): Use it in place of existing
- init code.
- (bfd_elf32_bfd_reloc_name_lookup): Use arc_elf_howto.
- (arc_info_to_howto_rel, elf_arc_relocate_section): Likwise.
- (elf_arc_check_relocs): Likewise.
-
-2015-12-01 Cupertino Miranda <cupertino.miranda@synopsys.com>
-
- * elf32-arc.c (arc_elf_howto_init): Init dst_mask.
-
-2015-11-20 Stefan Teleman <stefan.teleman@oracle.com>
-
- PR ld/19260
- * cache.c (bfd_cache_max_open): Avoid using getrlimit on 32-bit
- Solaris as the result is unreliable.
-
-2015-11-20 Tristan Gingold <gingold@adacore.com>
-
- * mach-o-x86-64.c (x86_64_howto_table): Change name here too.
-
-2015-11-20 Tristan Gingold <gingold@adacore.com>
-
- * targets.c (aarch64_mach_o_vec, arm_mach_o_vec): Declare.
- (_bfd_target_vector): Add new vectors.
- * reloc.c (BFD_RELOC_MACH_O_SUBTRACTOR32)
- (BFD_RELOC_MACH_O_SUBTRACTOR64, BFD_RELOC_MACH_O_ARM64_ADDEND)
- (BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGE21)
- (BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGEOFF12)
- (BFD_RELOC_MACH_O_ARM64_POINTER_TO_GOT): New relocations.
- (BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32)
- (BFD_RELOC_MACH_O_X86_64_SUBTRACTOR64): Remove.
- * mach-o-x86-64.c (bfd_mach_o_x86_64_swap_reloc_out): Change
- name of subtractor relocations.
- * config.bfd: Handle aarch64-*-darwin*, arm-*-darwin*.
- * Makefile.am (BFD32_BACKENDS): Add mach-o-arm.lo.
- (BFD32_BACKENDS_CFILES): Add mach-o-arm.c.
- (BFD64_BACKENDS): Add mach-o-aarch64.lo.
- (BFD64_BACKENDS_CFILES): Add mach-o-aarch64.c.
- * configure.ac: Handle aarch64_mach_o_vec and arm_mach_o_vec.
- * mach-o-aarch64.c: New file.
- * mach-o-arm.c: New file.
- * Makefile.in: Regenerate.
- * bfd-in2.h: Regenerate.
- * configure: Regenerate.
- * libbfd.h: Regenerate.
-
-2015-11-20 David Bridgham <dab@froghouse.org>
-
- * pdp11.c (TARGET_PAGE_SIZE): Set to 256 to match definition in
- ld/emulparams/pdp11.sh.
-
-2015-11-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
-
- PR ld/19263
- * elf32-s390.c (elf_s390_gc_sweep_hook): Add null ptr check.
- * elf64-s390.c (elf_s390_check_relocs): Port the GOTOFF handling
- over from the 32 bit code.
- (elf_s390_relocate_section): Likewise.
-
-2015-11-18 Alan Modra <amodra@gmail.com>
-
- PR 19256
- * archive.c (bfd_generic_openr_next_archived_file): Don't allow
- backward file movement via "negative" sizes.
- * coff-alpha.c (alpha_ecoff_openr_next_archived_file): Likewise.
-
-2015-11-18 Tristan Gingold <gingold@adacore.com>
-
- * mach-o.h (bfd_mach_o_swap_in_non_scattered_reloc)
- (bfd_mach_o_canonicalize_non_scattered_reloc)
- (bfd_mach_o_pre_canonicalize_one_reloc): Declare.
- (bfd_mach_o_backend_data): Rename field
- _bfd_mach_o_swap_reloc_in to _bfd_mach_o_canonicalize_one_reloc.
- * mach-o.c (bfd_mach_o_swap_in_non_scattered_reloc): Now public.
- (bfd_mach_o_canonicalize_non_scattered_reloc): Renames from
- bfd_mach_o_canonicalize_one_reloc.
- (bfd_mach_o_pre_canonicalize_one_reloc): New function.
- (bfd_mach_o_canonicalize_relocs): Adjust.
- (bfd_mach_o_canonicalize_relocs): Rename define from
- bfd_mach_o_swap_reloc_in.
- * mach-o-target.c (TARGET_NAME_BACKEND): Use
- bfd_mach_o_canonicalize_one_reloc instead of
- bfd_mach_o_swap_reloc_in.
- * mach-o-i386.c (bfd_mach_o_i386_canonicalize_one_reloc): Renames
- from bfd_mach_o_i386_swap_reloc_in and adjust.
- (bfd_mach_o_canonicalize_one_reloc): Renames from
- bfd_mach_o_i386_canonicalize_one_reloc.
- * mach-o-x86_64.c (bfd_mach_o_x86_64_canonicalize_one_reloc): Renames
- from bfd_mach_o_x86_64_swap_reloc_in and adjust.
- (bfd_mach_o_canonicalize_one_reloc): Renames from
- bfd_mach_o_x86_64_canonicalize_one_reloc.
-
-2015-11-18 Tristan Gingold <gingold@adacore.com>
-
- * mach-o.h (struct mach_o_data_struct): Add hdr_offset field.
- (bfd_mach_o_fat_archive_p): Renames prototype.
- (bfd_mach_o_fat_openr_next_archived_file): Renames.
- (bfd_mach_o_header_p): Add argument.
- * mach-o.c (bfd_mach_o_read_header): Add hdr_off argument and
- use it.
- (bfd_mach_o_read_section_32, bfd_mach_o_read_section_64)
- (bfd_mach_o_read_section): Remove offset argument.
- (bfd_mach_o_read_dylinker): Remove bfd_seek call.
- (bfd_mach_o_read_dylib, bfd_mach_o_read_prebound_dylib)
- (bfd_mach_o_read_prebind_cksum, bfd_mach_o_read_twolevel_hints)
- (bfd_mach_o_read_fvmlib, bfd_mach_o_read_dysymtab)
- (bfd_mach_o_read_symtab, bfd_mach_o_read_uuid)
- (bfd_mach_o_read_linkedit, bfd_mach_o_read_str)
- (bfd_mach_o_read_dyld_info, bfd_mach_o_read_version_min)
- (bfd_mach_o_read_encryption_info): Likewise.
- (bfd_mach_o_read_encryption_info_64): New function.
- (bfd_mach_o_read_main, bfd_mach_o_read_source_version)
- (bfd_mach_o_read_segment): Remove call to bfd_seek.
- (bfd_mach_o_read_command): Use hdr_offset in bfd_seek.
- Handle BFD_MACH_O_LC_LINKER_OPTIMIZATION_HINT,
- BFD_MACH_O_LC_ENCRYPTION_INFO_64, BFD_MACH_O_LC_VERSION_MIN_WATCHOS.
- (bfd_mach_o_header_p): Add hdr_off argument.
- (bfd_mach_o_gen_object_p, bfd_mach_o_gen_core_p): Adjust calls.
- (bfd_mach_o_fat_archive_p): Renames.
- (bfd_mach_o_fat_openr_next_archived_file): Renames.
- (bfd_mach_o_close_and_cleanup): Remove useless code.
- (bfd_mach_o_close_and_cleanup): Define.
- * mach-o-x86-64.c (bfd_mach_o_x86_64_object_p)
- (bfd_mach_o_x86_64_core_p): Adjust calls.
- * mach-o-target.c: Move defines for archive from mach-o.c.
- Remove check on TARGET_ARCHIVE.
- * mach-o-i386.c (bfd_mach_o_i386_object_p)
- (bfd_mach_o_i386_core_p): Adjust calls.
-
-2015-11-17 Christophe Lyon <christophe.lyon@linaro.org>
-
- * elf32-arm.c (elf32_arm_write_section): Force offset output as
- long (%ld).
-
-2015-11-13 Tristan Gingold <gingold@adacore.com>
-
- * version.m4: Bump version to 2.26.51
- * configure: Regenerate.
-
-2015-11-11 Alan Modra <amodra@gmail.com>
- Peter Bergner <bergner@vnet.ibm.com>
-
- * elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_REL16DX_HA.
- (ppc_elf_reloc_type_lookup): Handle R_PPC_REL16DX_HA.
- (ppc_elf_addr16_ha_reloc): Likewise.
- (ppc_elf_check_relocs): Likewise.
- (ppc_elf_relocate_section): Likewise.
- (is_insn_dq_form): Handle lxv and stxv instructions.
- * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_REL16DX_HA.
- (ppc64_elf_reloc_type_lookup): Handle R_PPC64_REL16DX_HA.
- (ppc64_elf_ha_reloc): Likewise.
- (ppc64_elf_check_relocs): Likewise.
- (ppc64_elf_relocate_section): Likewise.
- * bfd-in2.h: Regenerate.
- * libbfd.h: Likewise.
- * reloc.c (BFD_RELOC_PPC_REL16DX_HA): New.
-
-2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
-
- * elf32-i386.c (elf_i386_relocate_section): Handle VTINHERIT
- and VTENTRY relocations when deleting relocations.
- * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
-
-2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
-
- * elf32-i386.c (elf_i386_relocate_section): Properly move
- kept relocations when deleting relocations.
- * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
-
-2015-11-09 H.J. Lu <hongjiu.lu@intel.com>
-
- * elf32-i386.c (elf_i386_relocate_section): Use read and write
- pointers to reloc array, rather than memmove when deleting a
- reloc. Don't use RELOC_AGAINST_DISCARDED_SECTION. Adjust
- reloc counts at end of loop.
- * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
-
-2015-11-10 Alan Modra <amodra@gmail.com>
-
- * elf64-ppc.c (ppc64_elf_relocate_section): Use read and write
- pointers to reloc array, rather than memmove when deleting a
- reloc. Don't use RELOC_AGAINST_DISCARDED_SECTION. Adjust
- reloc counts at end of loop.
- * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
-
-2015-11-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
-
- * elf64-ppc.c (ppc64_elf_size_stubs, ppc64_elf_build_stubs): Fix left
- shift of negative value.
- * libbfd.c (safe_read_leb128): Likewise.
- * dwarf2.c (place_sections): Likewise.
- * bfd-in.h (align_power): Likewise.
- * bfd-in2.h (align_power): Likewise.
-
-2015-10-30 Nick Clifton <nickc@redhat.com>
-
- * po/zh_CN.po: Updated (simplified) Chinese translation.