Fix address violation parsing a corrupt Alpha VMS binary file.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 8b3f1a5b121addd6f0f9d79f68886cbe04d5be52..35b9d97a98fecd84a448b39bca2d9058956b7205 100644 (file)
@@ -1,3 +1,605 @@
+2017-06-21  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21639
+       * vms-misc.c (_bfd_vms_save_sized_string): Use unsigned int as
+       type of the size parameter.
+       (_bfd_vms_save_counted_string): Add second parameter - the maximum
+       length of the counted string.
+       * vms.h (_bfd_vms_save_sized_string): Update prototype.
+       (_bfd_vms_save_counted_string): Likewise.
+       * vms-alpha.c (_bfd_vms_slurp_eisd): Update calls to
+       _bfd_vms_save_counted_string.
+       (_bfd_vms_slurp_ehdr): Likewise.
+       (_bfd_vms_slurp_egsd): Likewise.
+       (Parse_module): Likewise.
+
+2017-06-21  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_size_stubs): Test for localentry:0 plt
+       calls before tocsave calls.
+       (ppc64_elf_relocate_section): Allow localentry:0 plt calls without
+       following nop.
+
+2017-06-21  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21645
+       * reloc.c (bfd_generic_get_relocated_section_contents): Fail if
+       bfd_get_full_section_contents returns no contents.
+
+2017-06-21  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21638
+       * vms-alpha.c (_bfd_vms_slurp_egsd): Check for an undersized
+       record.
+
+2017-06-21  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21637
+       * vms-alpha.c (_bfd_vms_slurp_egsd): Check for an empty section
+       list.
+       (image_set_ptr): Likewise.
+       (alpha_vms_fix_sec_rel): Likewise.
+       (alpha_vms_slurp_relocs): Likewise.
+
+2017-06-21  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21633
+       * ieee.c (ieee_slurp_sections): Check for a NULL return from
+       read_id.
+       (ieee_archive_p): Likewise.
+       (ieee_object_p): Likewise.
+
+2017-06-21  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21640
+       * elf.c (setup_group): Zero the group section pointer list after
+       allocation so that loops can be caught.  Check for NULL pointers
+       when processing a group list.
+
+2017-06-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/21626
+       * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Check
+       the DYNAMIC bit instead of bfd_count_sections.
+
+2017-06-19  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21618
+       * vms-alpha.c (evax_bfd_print_emh): Check for insufficient record
+       length.
+       (evax_bfd_print_eeom): Likewise.
+       (evax_bfd_print_egsd): Check for an overlarge record length.
+       (evax_bfd_print_etir): Likewise.
+
+2017-06-19  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21612
+       * libieee.h (struct common_header_type): Add end_p field.
+       * ieee.c (this_byte_and_next): Do not advance input_p beyond
+       end_p.
+       (read_id): Check for a length that exceeds the remaining bytes in
+       the input buffer.
+       (ieee_seek): Initialise end_p.
+       (ieee_archive_p): Likewise.
+       (ieee_object_p): Likewise.
+
+2017-06-19  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21611
+       * vms-alpha.c (_bfd_vms_slurp_eihs): Check for invalid offset
+       before reading the EIHS structure entries.
+
+2017-06-19  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21615
+       * vms-alpha.c (_bfd_vms_slurp_egsd): Use unsigned int for
+       gsd_size.  Check that there are enough bytes remaining to read the
+       type and size of the next egsd.  Check that the size of the egsd
+       does not exceed the size of the record.
+
+2017-06-19  Alan Modra  <amodra@gmail.com>
+
+       * config.bfd: Correct targ_underscore for cris.
+
+2017-06-18  Alan Modra  <amodra@gmail.com>
+
+       * config.bfd: Correct targ_underscore for epiphany, ip2k,
+       m32c, mn10200, pru, rl78, rx, crisv32 and v850.
+
+2017-06-16  Nick Clifton  <nickc@redhat.com>
+
+       * elflink.c (bfd_elf_size_dynsym_hash_dynstr): Do not fail if the
+       bucketlist is empty because there are no symbols to add to the
+       list.
+
+2017-06-16  Alan Modra  <amodra@gmail.com>
+
+       PR ld/20022
+       PR ld/21557
+       PR ld/21562
+       PR ld/21571
+       * targets.c (struct bfd_target): Add _bfd_define_start_stop.
+       (BFD_JUMP_TABLE_LINK): Likewise.
+       * elf-bfd.h (bfd_elf_define_start_stop): Declare.
+       * elflink.c (_bfd_elf_gc_mark_rsec): Update comment.
+       (bfd_elf_define_start_stop): New function.
+       * linker.c (bfd_generic_define_start_stop): New function.
+       * coff64-rs6000.c (rs6000_xcoff64_vec, rs6000_xcoff64_aix_vec): Init
+       new field.
+       * aout-adobe.c (aout_32_bfd_define_start_stop): Define.
+       * aout-target.h (MY_bfd_define_start_stop): Define.
+       * aout-tic30.c (MY_bfd_define_start_stop): Define.
+       * binary.c (binary_bfd_define_start_stop): Define.
+       * bout.c (b_out_bfd_define_start_stop): Define.
+       * coff-alpha.c (_bfd_ecoff_bfd_define_start_stop): Define.
+       * coff-mips.c (_bfd_ecoff_bfd_define_start_stop): Define.
+       * coff-rs6000.c (_bfd_xcoff_bfd_define_start_stop): Define.
+       * coffcode.h (coff_bfd_define_start_stop): Define.
+       * elfxx-target.h (bfd_elfNN_bfd_define_start_stop): Define.
+       * i386msdos.c (msdos_bfd_define_start_stop): Define.
+       * i386os9k.c (os9k_bfd_define_start_stop): Define.
+       * ieee.c (ieee_bfd_define_start_stop): Define.
+       * ihex.c (ihex_bfd_define_start_stop): Define.
+       * libbfd-in.h (_bfd_nolink_bfd_define_start_stop): Define.
+       * mach-o-target.c (bfd_mach_o_bfd_define_start_stop): Define.
+       * mmo.c (mmo_bfd_define_start_stop): Define.
+       * nlm-target.h (nlm_bfd_define_start_stop): Define.
+       * oasys.c (oasys_bfd_define_start_stop): Define.
+       * pef.c (bfd_pef_bfd_define_start_stop): Define.
+       * plugin.c (bfd_plugin_bfd_define_start_stop): Define.
+       * ppcboot.c (ppcboot_bfd_define_start_stop): Define.
+       * som.c (som_bfd_define_start_stop): Define.
+       * srec.c (srec_bfd_define_start_stop): Define.
+       * tekhex.c (tekhex_bfd_define_start_stop): Define.
+       * versados.c (versados_bfd_define_start_stop): Define.
+       * vms-alpha.c (vms_bfd_define_start_stop): Define.
+       (alpha_vms_bfd_define_start_stop): Define.
+       * xsym.c (bfd_sym_bfd_define_start_stop): Define.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+
+2017-06-16  Jiong Wang  <jiong.wang@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use
+       SYMBOL_REFERENCES_LOCAL.
+
+2017-06-15  Jiong Wang  <jiong.wang@arm.com>
+
+       PR ld/21532
+       * elfnn-aarch64.c (ELIMINATE_COPY_RELOCS): Set to 1.
+       (elfNN_aarch64_final_link_relocate): Also propagate relocations to
+       runtime for if there needs copy relocation elimination.
+       (need_copy_relocation_p): New function.  Return true for symbol with
+       pc-relative references and if it's against read-only sections.
+       (elfNN_aarch64_adjust_dynamic_symbol): Use need_copy_relocation_p.
+       (elfNN_aarch64_check_relocs): Allocate dynrelocs for relocation types
+       that are related with accessing external objects.
+       (elfNN_aarch64_gc_sweep_hook): Sync the relocation types with the change
+       in elfNN_aarch64_check_relocs.
+
+2017-06-15  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21582
+       * ieee.c (ieee_object_p): Use a static buffer to avoid compiler
+       bugs.
+       PR binutils/21581
+       (ieee_archive_p): Likewise.
+
+2017-06-15  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21579
+       * vms-alpha.c (_bfd_vms_slurp_etir): Extend check of cmd_length.
+
+2017-06-14  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * elf32-xtensa.c (elf_xtensa_be_plt_entry,
+       elf_xtensa_le_plt_entry): Add dimension for the ABI to arrays,
+       keep both windowed and call0 ABI PLT definitions.
+       (elf_xtensa_create_plt_entry): Use selected ABI to choose upper
+       elf_xtensa_*_plt_entry endex.
+       (ELF_MAXPAGESIZE): Fix at minimal supported MMU page size.
+
+2017-06-14  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21578
+       * elf32-sh.c (sh_elf_set_mach_from_flags): Fix check for invalid
+       flag value.
+
+2017-06-14  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21589
+       * vms-alpha.c (_bfd_vms_get_value): Add an extra parameter - the
+       maximum value for the ascic pointer.  Check that name processing
+       does not read beyond this value.
+       (_bfd_vms_slurp_etir): Add checks for attempts to read beyond the
+       end of etir record.
+
+2017-06-14  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21591
+       * versados.c (versados_mkobject): Zero the allocated tdata structure.
+       (process_otr): Check for an invalid offset in the otr structure.
+
+2017-06-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
+
+       * config.bfd (epiphany-*-elf): Accept epiphany-*-*.
+
+2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/20022
+       PR ld/21557
+       PR ld/21562
+       PR ld/21571
+       * elf-bfd.h (elf_link_hash_entry): Add start_stop.  Change the
+       vtable field to a union.
+       (_bfd_elf_is_start_stop): Removed.
+       * elf32-i386.c (elf_i386_convert_load_reloc): Also check for
+       __start_SECNAME and __stop_SECNAME symbols.
+       * elf64-x86-64.c (elf_x86_64_convert_load_reloc): Likewise.
+       * elflink.c (_bfd_elf_is_start_stop): Removed.
+       (_bfd_elf_gc_mark_rsec): Check start_stop instead of calling
+       _bfd_elf_is_start_stop.
+       (elf_gc_propagate_vtable_entries_used): Skip __start_SECNAME and
+       __stop_SECNAME symbols.  Updated.
+       (elf_gc_smash_unused_vtentry_relocs): Likewise.
+       (bfd_elf_gc_record_vtinherit): Likewise.
+       (bfd_elf_gc_record_vtentry): Likewise.
+
+2017-06-13  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/21524
+       * elflink.c (elf_link_adjust_relocs): Generate an error when
+       encountering a reloc against a symbol removed by garbage
+       collection.
+
+2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-bfd.h (elf_backend_data): Add struct bfd_link_info *
+       to merge_gnu_properties.
+       * elf-properties.c (elf_merge_gnu_properties): Add struct
+       bfd_link_info * and pass it to merge_gnu_properties.
+       (elf_merge_gnu_property_list): Add struct bfd_link_info *
+       and pass it to elf_merge_gnu_properties.
+       (_bfd_elf_link_setup_gnu_properties): Pass info to
+       elf_merge_gnu_property_list.
+       * elf32-i386.c (elf_i386_merge_gnu_properties): Add struct
+       bfd_link_info *.
+       * elf64-x86-64.c (elf_x86_64_merge_gnu_properties): Likewise.
+
+2017-06-11  Joe Zbiciak  <joe.zbiciak@leftturnonly.info>
+
+       PR 21564
+       * binary.c (binary_set_section_contents): Scale lma by octets
+       per byte to set filepos.
+
+2017-06-08  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * elf32-arc.c (elf_arc_check_relocs): Fixed conditions to generate
+       dynamic sections.
+
+2017-06-08  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * elf32-arc.c (elf_arc_size_dynamic_sections): Changed condition to
+       require TEXTREL.
+
+2017-06-08  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * arc-got.h (relocate_fix_got_relocs_for_got_info): Added TCB_SIZE to
+       patched section contents for TLS IE reloc.
+       * elf32-arc.c: Remove TCB_SIZE preprocessor macro.
+
+2017-06-08  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * elf32-arc.c (elf_arc_relocate_section): Added "call" to
+       RELOC_FOR_GLOBAL_SYMBOL macro.
+
+2018-06-08  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * elf32-arc.c (elf_arc_relocate_section): Small refactor and condition
+       changes.
+
+2017-06-08  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * config/tc-arc.c (md_undefined_symbol): Changed.
+       * config/tc-arc.h (DYNAMIC_STRUCT_NAME): Removed.
+
+2017-06-08  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * elf32-arc.c (elf_arc_relocate_section): Fixed reassign of indirect
+       symbols.
+
+2017-06-08  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * elf32-arc.c (elf_arc_check_relocs): Added condition to disable
+       warning and "Bad value" for local symbols ARC_32 or ARC_32_ME relocs.
+
+2017-06-08  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * elf32-arc.c (ADD_RELA): Changed to only work when dynamic
+       object is created.
+
+2017-06-08  Richard Earnshaw  <rearnsha@arm.com>
+
+       * elf32-arm.c (elf32_arm_merge_eabi_attributes): Remove assertion
+       that the input bfd has Tag_FP_ARCH non-zero if Tag_ABI_HardFP_use
+       is non-zero.  Add clarifying comments.
+
+2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_check_relocs): Set local IFUNC symbol
+       name.  Use local IFUNC symbol name string to report unsupported
+       non-PIC call to IFUNC function.
+       (elf_i386_relocate_section): Dump local IFUNC name with minfo
+       when generating R_386_IRELATIVE relocation.
+       (elf_i386_finish_dynamic_symbol): Likewise.
+       * elf_x86_64_check_relocs (elf_x86_64_check_relocs): Set local
+       IFUNC symbol name.
+       (elf_x86_64_relocate_section): Dump local IFUNC name with minfo
+       when generating R_X86_64_IRELATIVE relocation.
+       (elf_x86_64_finish_dynamic_symbol): Likewise.
+
+2017-06-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * elf.c (setup_group): Make sure BFD sections are created for all
+       group sections in the input file when processing SHF_GROUP
+       sections.
+       (bfd_section_from_shdr): Avoid duplicating logic already
+       implemented in `setup_group'.
+
+2017-06-06  Daniel Bonniot de Ruisselet  <bonniot@gmail.com>
+
+       PR binutils/21546
+       * peXXigen.c (pe_print_idata): Use the address of the first thunk
+       if the hint address is zero.
+
+2017-06-06  James Clarke  <jrtc27@jrtc27.com>
+
+       PR ld/19579
+       * elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_symbol): Check
+       ELF_COMMON_DEF_P for common symbols.
+
+2017-06-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * elf.c (_bfd_elf_make_section_from_shdr): Don't initially mark
+       SEC_GROUP sections as SEC_EXCLUDE.
+       (bfd_elf_set_group_contents): Replace use of abort with an assert.
+       (assign_section_numbers): Use resolve_section_groups flag instead
+       of relocatable link type.
+       (_bfd_elf_init_private_section_data): Use resolve_section_groups
+       flag instead of checking the final_link flag for part of the
+       checks in here.  Fix white space as a result.
+       * elflink.c (elf_link_input_bfd): Use resolve_section_groups flag
+       instead of relocatable link type.
+       (bfd_elf_final_link): Likewise.
+
+2017-06-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_relocate_section): Remove unused
+       variable `bed'.
+       * elf32-score.c (score_elf_final_link_relocate): Likewise.
+       (s3_bfd_score_elf_check_relocs): Likewise.
+       * elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise.
+       (score_elf_final_link_relocate): Likewise.
+       (s7_bfd_score_elf_check_relocs): Likewise.
+
+2017-06-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * elflink.c (init_reloc_cookie_rels): Remove unused variable
+       `bed'.
+
+2017-06-06  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Subtract `count'
+       from `reloc_count' rather than decrementing it.
+       * elf.c (bfd_section_from_shdr): Multiply the adjustment to
+       `reloc_count' by `int_rels_per_ext_rel'.
+       * elf32-score.c (score_elf_final_link_relocate): Do not multiply
+       `reloc_count' by `int_rels_per_ext_rel' for last relocation
+       entry determination.
+       (s3_bfd_score_elf_check_relocs): Likewise.
+       * elf32-score7.c (score_elf_final_link_relocate): Likewise.
+       (s7_bfd_score_elf_relocate_section): Likewise.
+       (s7_bfd_score_elf_check_relocs): Likewise.
+       * elf64-mips.c (mips_elf64_get_reloc_upper_bound): Remove
+       prototype and function.
+       (mips_elf64_slurp_one_reloc_table): Do not update `reloc_count'.
+       (mips_elf64_slurp_reloc_table): Assert that `reloc_count' is
+       triple rather than once the sum of REL and RELA relocation entry
+       counts.
+       (bfd_elf64_get_reloc_upper_bound): Remove macro.
+       * elflink.c (_bfd_elf_link_read_relocs): Do not multiply
+       `reloc_count' by `int_rels_per_ext_rel' for internal relocation
+       storage allocation size determination.
+       (elf_link_input_bfd): Multiply `.ctors' and `.dtors' section's
+       size by `int_rels_per_ext_rel'.  Do not multiply `reloc_count'
+       by `int_rels_per_ext_rel' for last relocation entry
+       determination.
+       (bfd_elf_final_link): Do not multiply `reloc_count' by
+       `int_rels_per_ext_rel' for internal relocation storage
+       allocation size determination.
+       (init_reloc_cookie_rels): Do not multiply `reloc_count' by
+       `int_rels_per_ext_rel' for last relocation entry determination.
+       (elf_gc_smash_unused_vtentry_relocs): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise.
+       (_bfd_mips_elf_relocate_section): Likewise.
+
+2017-06-05  Alan Modra  <amodra@gmail.com>
+
+       PR 21529
+       * linker.c (_bfd_generic_link_output_symbols): Handle BSF_GNU_UNIQUE.
+
+2017-06-01  John Baldwin  <jhb@FreeBSD.org>
+
+       * elf.c (elfcore_grok_freebsd_psinfo): Use ELF header class to
+       determine structure sizes.
+       (elfcore_grok_freebsd_prstatus): Likewise.
+
+2017-06-01  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (struct ppc_link_hash_table): Add has_plt_localentry0.
+       (ppc64_elf_merge_symbol_attribute): Merge localentry bits from
+       dynamic objects.
+       (is_elfv2_localentry0): New function.
+       (ppc64_elf_tls_setup): Default params->plt_localentry0.
+       (plt_stub_size): Adjust size for tls_get_addr_opt stub.
+       (build_tls_get_addr_stub): Use a simpler stub when r2 is not saved.
+       (ppc64_elf_size_stubs): Leave stub_type as ppc_stub_plt_call for
+       optimized localentry:0 stubs.
+       (ppc64_elf_build_stubs): Save r2 in ELFv2 __glink_PLTresolve.
+       (ppc64_elf_relocate_section): Leave nop unchanged for optimized
+       localentry:0 stubs.
+       (ppc64_elf_finish_dynamic_sections): Set PPC64_OPT_LOCALENTRY in
+       DT_PPC64_OPT.
+       * elf64-ppc.h (struct ppc64_elf_params): Add plt_localentry0.
+
+2017-05-30  Casey Smith  <clegg89@gmail.com>
+
+       PR ld/21523
+       * elf32-arm.c (elf32_arm_final_link_relocate): Install an absolute
+       value when processing the R_ARM_THM_ALU_PREL_11_0 reloc.
+
+2017-05-30  Anton Kolesov  Anton.Kolesov@synopsys.com
+
+       * cpu-arc.c (arc_compatible): New function.
+
+2017-05-30  Anton Kolesov  <anton.kolesov@synopsys.com>
+
+       * cpu-arc.c (arch_info_struct): Remove duplicate ARC600 entry.
+
+2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/21519
+       * bfdio.c (bfd_get_file_size): New function.
+       * bfd-in2.h: Regenerated.
+
+2017-05-23  Dilian Palauzov  <git-dpa@aegee.org>
+
+       * elf32-arc.c (arc_elf_merge_attributes): Add fall through
+       comments.
+
+2017-05-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (elf_x86_64_link_setup_gnu_properties): Use
+       dynobj instead of htab->elf.dynobj.
+
+2017-05-19  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * elf64-mips.c (mips_elf64_canonicalize_reloc): Remove prototype
+       and function.
+       (mips_elf64_canonicalize_dynamic_reloc): Likewise.
+       (mips_elf64_slurp_one_reloc_table): Set `reloc_count' to the
+       actual number of internal relocations retrieved.  Adjust
+       function description.
+       (bfd_elf64_canonicalize_reloc): Remove macro.
+       (bfd_elf64_canonicalize_dynamic_reloc): Likewise.
+
+2017-05-19  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * archures.c (bfd_mach_sparc_v9m8): Define.
+       (bfd_mach_sparc_v8plusm8): Likewise.
+       (bfd_mach_sparc_v9_p): Adjust to M8.
+       (bfd_mach_sparc_64bit_p): Likewise.
+       * aoutx.h (machine_type): Handle bfd_mach_sparc_v9m8 and
+       bfd_mach_sparc_v8plusm8.
+       * bfd-in2.h: Regenerated.
+       * cpu-sparc.c (arch_info_struct): Entries for sparc:v9m8 and
+       sparc:v8plusm8.
+       * elfxx-sparc.c (_bfd_sparc_elf_object_p): Handle
+       bfd_mach_sparc_v8plusm8 and bfd_mach_sparc_v9m8 using the new hw
+       capabilities ONADDSUB, ONMUL, ONDIV, DICTUNP, FPCPSHL, RLE and
+       SHA3.
+       * elf32-sparc.c (elf32_sparc_final_write_processing): Handle
+       bfd_mach_sparc_v8plusm8.
+
+2017-05-19  Alan Modra  <amodra@gmail.com>
+
+       * elflink.c (_bfd_elf_gc_mark_extra_sections): Don't keep
+       debug and special sections when no non-note alloc sections in an
+       object are kept.
+
+2017-05-18  Alan Modra  <amodra@gmail.com>
+
+       * arc-got.h: Don't compare boolean values against TRUE or FALSE.
+       * elf-m10300.c: Likewise.
+       * elf.c: Likewise.
+       * elf32-arc.c: Likewise.
+       * elf32-bfin.c: Likewise.
+       * elf32-m68k.c: Likewise.
+       * elf32-nds32.c: Likewise.
+       * elf32-tilepro.c: Likewise.
+       * elflink.c: Likewise.
+       * elfnn-aarch64.c: Likewise.
+       * elfnn-riscv.c: Likewise.
+       * elfxx-tilegx.c: Likewise.
+       * mach-o.c: Likewise.
+       * peXXigen.c: Likewise.
+       * vms-alpha.c: Likewise.
+       * vms-lib.c: Likewise.
+
+2017-05-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/20882
+       * elflink.c (elf_gc_mark_debug_section): New function.
+       (_bfd_elf_gc_mark_extra_sections): Mark any debug sections
+       referenced by kept debug sections.
+
+2017-05-16  Alan Modra  <amodra@gmail.com>
+
+       * elf-m10300.c: Rename occurrences of non_ir_ref.
+       * elf32-arm.c: Likewise.
+       * elf32-bfin.c: Likewise.
+       * elf32-cr16.c: Likewise.
+       * elf32-cris.c: Likewise.
+       * elf32-d10v.c: Likewise.
+       * elf32-dlx.c: Likewise.
+       * elf32-fr30.c: Likewise.
+       * elf32-frv.c: Likewise.
+       * elf32-hppa.c: Likewise.
+       * elf32-i370.c: Likewise.
+       * elf32-i386.c: Likewise.
+       * elf32-iq2000.c: Likewise.
+       * elf32-lm32.c: Likewise.
+       * elf32-m32c.c: Likewise.
+       * elf32-m32r.c: Likewise.
+       * elf32-m68hc1x.c: Likewise.
+       * elf32-m68k.c: Likewise.
+       * elf32-mcore.c: Likewise.
+       * elf32-metag.c: Likewise.
+       * elf32-microblaze.c: Likewise.
+       * elf32-moxie.c: Likewise.
+       * elf32-msp430.c: Likewise.
+       * elf32-mt.c: Likewise.
+       * elf32-nios2.c: Likewise.
+       * elf32-or1k.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-v850.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-mmix.c: Likewise.
+       * elf64-ppc.c: Likewise.
+       * elf64-s390.c: Likewise.
+       * elf64-sh64.c: Likewise.
+       * elf64-x86-64.c: Likewise.
+       * elflink.c: Likewise.
+       * elfnn-aarch64.c: Likewise.
+       * elfnn-ia64.c: Likewise.
+       * elfnn-riscv.c: Likewise.
+       * elfxx-mips.c: Likewise.
+       * elfxx-sparc.c: Likewise.
+       * elfxx-tilegx.c: Likewise.
+       * linker.c: Likewise.
+
 2017-05-16  Alan Modra  <amodra@gmail.com>
 
        * elf64-ppc.c (add_symbol_adjust): Transfer non_ir_ref_dynamic.
This page took 0.030805 seconds and 4 git commands to generate.