diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 370466f137..c2900e0b00 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,4941 +1,6 @@ -2018-12-31 Alan Modra - - PR 24041 - * elflink.c (elf_link_add_object_symbols): Don't segfault on - crafted ET_DYN with no program headers. - -2018-12-31 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section ): When - editing an old-style __tls_get_addr call, replace a toc restore - insn with a nop. - -2018-12-28 Alan Modra - - PR 24015 - * elf.c (bfd_elf_get_default_section_type): Make common sections - SHT_NOBITS. - * linker.c (bfd_generic_define_common_symbol): Clear - SEC_HAS_CONTENTS. - -2018-12-28 Alan Modra - - PR 23966 - * libbfd.c (SSIZE_MAX): Define. - (bfd_malloc, bfd_realloc): Don't cast size to long to check for - "negative" values, compare against SSIZE_MAX instead. - -2018-12-23 H.J. Lu - - * elf32-i386.c (elf_i386_rtype_to_howto): Remove the unused bfd - pointer argument. - (elf_i386_info_to_howto_rel): Updated. - (elf_i386_tls_transition): Likewise. - (elf_i386_relocate_section): Likewise. - -2018-12-20 H.J. Lu - - * elf32-i386.c (elf_i386_relocate_section): Call - elf_i386_rtype_to_howto to get reloc_howto_type pointer. - * elf64-x86-64.c (elf_x86_64_relocate_section): Call - elf_x86_64_rtype_to_howto to get reloc_howto_type pointer. - -2018-12-18 Alan Modra - - * Makefile.am (bfdinclude_HEADERS): Add bfd_stdint.h. - (BFD_H_DEPS): Add include/diagnostics.h. - (LOCAL_H_DEPS): Add bfd_stdint.h. - * bfd-in.h: Include bfd_stdint.h. - * arc-plt.h: Don't include stdint.h. - * coff-rs6000.c: Likewise. - * coff64-rs6000.c: Likewise. - * elfxx-riscv.c: Likewise. - * cache.c: Don't include bfd_stdint.h. - * elf32-arm.c: Likewise. - * elf32-avr.c: Likewise. - * elf32-nds32.c: Likewise. - * elf32-rl78.c: Likewise. - * elf32-rx.c: Likewise. - * elf32-wasm32.c: Likewise. - * elf64-nfp.c: Likewise. - * elflink.c: Likewise. - * elfnn-aarch64.c: Likewise. - * elfnn-ia64.c: Likewise. - * elfxx-ia64.c: Likewise. - * elfxx-x86.h: Likewise. - * wasm-module.c: Likewise, and don't include sysdep.h twice. - * elf-nacl.h: Don't include bfd.h. - * mach-o.h: Likewise. - * elfxx-aarch64.c: Include bfd.h and elf-bfd.h. - * elfxx-aarch64.h: Don't include bfd.h, elf-bfd.h or stdint.h. - * mach-o-aarch64.c: Include mach-o.h later. - * mach-o-arm.c: Likewise. - * mach-o-i386.c: Likewise. - * mach-o-x86-64.c: Likewise. - * mach-o.c: Likewise. - * sysdep.h: Don't include ansidecl.h or sys/stat.h. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - -2018-12-18 Alan Modra - - PR 23980 - * elf32-i386.c (elf_i386_relocate_section): Exit with wrong format - error rather than asserting input file is as expected. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf32-sh.c (sh_elf_relocate_section): Likewise. - * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Exit with wrong format - error if input file is not ppc32 ELF. - -2018-12-18 Alan Modra - - PR 23980 - * elf64-ppc.c (ppc64_elf_hide_symbol): Check hash table type - before referencing ppc64-only fields of hash entries. - -2018-12-17 Alan Modra - - PR 23994 - * aoutx.h: Include limits.h. - (get_reloc_upper_bound): Detect long overflow and return a file - too big error if it occurs. - * elf.c: Include limits.h. - (_bfd_elf_get_symtab_upper_bound): Detect long overflow and return - a file too big error if it occurs. - (_bfd_elf_get_dynamic_symtab_upper_bound): Likewise. - (_bfd_elf_get_dynamic_reloc_upper_bound): Likewise. - -2018-12-14 H.J. Lu - - PR ld/23900 - * elf.c (get_program_header_size): Add a PT_GNU_PROPERTY - segment for NOTE_GNU_PROPERTY_SECTION_NAME. - (_bfd_elf_map_sections_to_segments): Create a PT_GNU_PROPERTY - segment for NOTE_GNU_PROPERTY_SECTION_NAME. - * elfxx-x86.c (_bfd_elf_link_setup_gnu_properties): Don't set - GNU_PROPERTY_X86_UINT32_VALID. - -2018-12-11 Max Filippov - - * elf32-xtensa.c (elf_xtensa_do_reloc): Limit const16 opcode - immediate field to 16 least significant bits. - -2018-12-11 H.J. Lu - - * elf32-xc16x.c (elf32_xc16x_rtype_to_howto): New function. - (elf32_xc16x_relocate_section): Call elf32_xc16x_rtype_to_howto - instead of xc16x_reloc_type_lookup to get reloc_howto_type. - -2018-12-07 H.J. Lu - - PR ld/23958 - * elflink.c (_bfd_elf_add_default_symbol): Override the previous - definition from IR object. - -2018-12-08 Stafford Horne - - * elf32-or1k.c (or1k_grok_prstatus): New function. - (or1k_grok_psinfo): Likewise. - -2018-12-07 H.J. Lu - - * elf-properties.c (elf_find_and_remove_property): Add a - bfd_boolean argument to indicate if the property should be - removed. - (elf_merge_gnu_property_list): Updated. Report - property change in linker map file. - (elf_get_gnu_property_section_size): Skip property_remove - properties. - (elf_write_gnu_properties): Likewise. - (_bfd_elf_link_setup_gnu_properties): Report property merge - in linker map file. Pass abfd to elf_merge_gnu_property_list. - -2018-12-07 Alan Modra - - PR 23952 - * syms.c (_bfd_generic_read_minisymbols): Free syms before - returning with zero symcount. - -2018-12-06 Alan Modra - - * elf32-ppc.c (ppc_elf_howto_raw ): Correct - mask and shift value. - (ppc_elf_vle_split16): Use E_OPCODE_MASK. Handle e_li - specially. - -2018-12-05 Sam Tebbs - - * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Add check for 'B'. - -2018-12-04 H.J. Lu - - PR ld/23372 - * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Don't remove - empty properties for GNU_PROPERTY_X86_COMPAT_ISA_1_USED and - GNU_PROPERTY_X86_UINT32_OR_AND. - (_bfd_x86_elf_link_fixup_gnu_properties): Likewise. - -2018-12-03 Kito Cheng - - * elfxx-riscv.h (RISCV_DONT_CARE_VERSION): New macro. - (struct riscv_subset_t): New structure. - (riscv_subset_t): New typedef. - (riscv_subset_list_t): New structure. - (riscv_release_subset_list): New prototype. - (riscv_add_subset): Likewise. - (riscv_lookup_subset): Likewise. - (riscv_lookup_subset_version): Likewise. - (riscv_release_subset_list): Likewise. - * elfxx-riscv.c: Include safe-ctype.h. - (riscv_parsing_subset_version): New function. - (riscv_supported_std_ext): Likewise. - (riscv_parse_std_ext): Likewise. - (riscv_parse_sv_or_non_std_ext): Likewise. - (riscv_parse_subset): Likewise. - (riscv_add_subset): Likewise. - (riscv_lookup_subset): Likewise. - (riscv_lookup_subset_version): Likewise. - (riscv_release_subset_list): Likewise. - -2018-12-01 H.J. Lu - - PR ld/23930 - * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Update - the iplt section alignment if it is non-empty. - (_bfd_x86_elf_link_setup_gnu_properties): Set plt.iplt_alignment - and delay setting the iplt section alignment. - * elfxx-x86.h (elf_x86_plt_layout): Add iplt_alignment. - -2018-11-30 Nick Clifton - - PR 23942 - * elfcode.h (elf_object_p): Check for corrupt input files with - more program headers than can actually fit in the file. - -2018-11-30 Nick Clifton - - PR 23932 - * elf.c (IS_CONTAINED_BY_LMA): Add a check for a negative section - size. - (rewrite_elf_program_header): If no sections are mapped into a - segment return an error. - -2018-11-30 Alan Modra - - PR 23937 - * elf64-ppc.c (write_plt_relocs_for_local_syms): Don't add local - entry offset for ifuncs. - -2018-11-29 H.J. Lu - - PR ld/23929 - * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Don't - merge .note.gnu.property section in IR inputs. - -2018-11-27 Thomas Preud'homme - - * cpu-arm.c (processors): Add processors known to GAS but missing here - and reindent. - (bfd_arm_update_notes): Add comment explaining why the list of - architectures in the switch should not be updated. - (architectures): Likewise. - -2018-11-27 Maciej W. Rozycki - - * elfxx-mips.c (_bfd_mips_elf_check_relocs) - - : Also accept an - absolute symbol in PIC code. - -2018-11-27 Maciej W. Rozycki - - * elfxx-mips.c (_bfd_mips_elf_check_relocs) - : Use `info->callbacks->einfo' - rather than `_bfd_error_handler' to report refused relocations - in PIC code and continue processing. Fix error message: `can - not' -> `cannot'. - -2018-11-27 H.J. Lu - - PR binutils/23919 - * compress.c (bfd_is_section_compressed_with_header): Initialize - *uncompressed_align_pow_p to 0. - -2018-11-27 Tamar Christina - - PR ld/23904 - * elfnn-aarch64.c (_bfd_aarch64_adrp_p): Use existing constants. - (_bfd_aarch64_erratum_843419_branch_to_stub): Use _bfd_aarch64_adrp_p. - (struct erratum_835769_branch_to_stub_clear_data): New. - (_bfd_aarch64_erratum_843419_clear_stub): New. - (clear_erratum_843419_entry): New. - (elfNN_aarch64_tls_relax): Use it. - (elfNN_aarch64_relocate_section): Pass input_section. - (aarch64_map_one_stub): Handle branch type none as valid. - -2018-11-27 Mark Wielaard - - PR binutils/23919 - * bfd.c (bfd_update_compression_header): Explicitly set alignment. - (bfd_check_compression_header): Add uncompressed_alignment_power - argument. Check ch_addralign is a power of 2. - * bfd-in2.h: Regenerated. - * compress.c (bfd_compress_section_contents): Get and set - orig_uncompressed_alignment_pow if section is decompressed. - (bfd_is_section_compressed_with_header): Add and get - uncompressed_align_pow_p argument. - (bfd_is_section_compressed): Add uncompressed_align_power argument - to bfd_is_section_compressed_with_header call. - (bfd_init_section_decompress_status): Get and set - uncompressed_alignment_power. - * elf.c (_bfd_elf_make_section_from_shdr): Add - uncompressed_align_power argument to - bfd_is_section_compressed_with_header call. - -2018-11-21 Jozef Lawrynowicz - - * elf32-msp430.c (elf32_msp430_merge_mspabi_attributes): Do not - error when .MSP430.attributes section is missing from objects - created by LTO. - -2018-11-13 Jim Wilson - - * elfnn-riscv.c (riscv_float_abi_string): New. - (_bfd_riscv_elf_merge_private_bfd_data): Use it for error message. - -2018-11-09 Bernhard M. Wiedemann - - * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Correct comment - concerning timestamp insertion. - -2018-11-09 Cupertino Miranda - - * arc-got.h (arc_got_entry_type_for_reloc): Changed to - correct static TLS relocs. - * elf32-arc.c (elf_arc_check_relocs): Introduced warning to - TLS relocs which require -fPIC. - (arc_create_forced_local_got_entries_for_tls): Created. - Traverses list of GOT entries to be resolved statically - when needed. - (elf_arc_finish_dynamic_sections): Changed. Calls - arc_create_forced_local_got_entries_for_tls for each known - possibly GOT symbol. - -2018-11-09 rhn - - PR 23699 - * ihex.c (ihex_write_object_contents): Check for sign extended - addresses that cannot be supported in the ihex format. - -2018-11-09 Claudiu Zissulescu - - * arc-got.h (arc_get_local_got_ents): Revamp it; use - elf_local_got_ents to store the local got list. - (get_got_entry_list_for_symbo): Restructure it. - * elf32-arc.c (elf_arc_relocate_section): Correct the call to - get_got_entry_list_for_symbol. - -2018-11-07 Nick Clifton - - * po/fr.po: Updated French translation. - * po/pt.po: Updated Portuguese translation. - -2018-11-06 Roman Bolshakov - Saagar Jha - - * mach-o.h: Add new enums for BFD_MACH_O_PLATFORM_MACOS, - BFD_MACH_O_PLATFORM_IOS, BFD_MACH_O_PLATFORM_TVOS, - BFD_MACH_O_PLATFORM_WATCHOS, BFD_MACH_O_PLATFORM_BRIDGEOS, - BFD_MACH_O_TOOL_CLANG, BFD_MACH_O_TOOL_SWIFT, BFD_MACH_O_TOOL_LD. - (struct bfd_mach_o_note_command): New. - (struct bfd_mach_o_build_version_tool): New. - (struct bfd_mach_o_build_version_command): New. - (bfd_mach_o_read_version_min): Don't split version into - a few fields. Rename reserved to sdk. - * mach-o.c (bfd_mach_o_read_version_min): Don't split version into a - few fields. Rename reserved to sdk. - (bfd_mach_o_read_command): Handle LC_VERSION_MIN_TVOS, LC_NOTE, - LC_BUILD_VERSION. - (bfd_mach_o_read_note): New. - (bfd_mach_o_read_build_version): New. - -2018-11-07 Yoshinori Sato - - * config.bfd: Add rx-*-linux. - * congigure.ac: Likewise. - * elf32-rx.c (rx_linux_object_p): New function. - (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME) - (elf_backend_object_p, elf32_bed): Define rx-*-linux. - * targets.c: Add rx_elf32_linux_le_vec. - * configure: Regenerate. - -2018-11-06 Romain Margheriti - - PR 23742 - * mach-o.c (bfd_mach_o_read_command): Accept and ignore - BFD_MACH_O_LC_LINKER_OPTIONS and BFD_MACH_O_LC_BUILD_VERSION - commands. - -2018-11-02 Alan Modra - - PR 23850 - * elf.c (bfd_section_from_shdr): Treat SHF_ALLOC SHT_REL* sections - in an executable or shared library as normal sections. - -2018-10-31 Renlin Li - - * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Don't create got - section for Local Exec TLS model. - -2018-10-24 H.J. Lu - - PR ld/23818 - * elflink.c (_bfd_elf_link_assign_sym_version): Hide symbols - defined in discarded input sections. - -2018-10-24 Alan Modra - - * elf32-arm.c (elf32_arm_size_stubs): Ignore as-needed libs that - were not needed. - -2018-10-23 Alan Modra - - PR 23806 - * merge.c (_bfd_add_merge_section): Don't attempt to merge - sections with ridiculously large alignments. - -2018-10-23 Alan Modra - - PR 23805 - * elflink.c (elf_link_input_bfd): Don't segfault on finding - STT_TLS symbols without any TLS sections. Instead, change the - symbol type to STT_NOTYPE. - -2018-10-23 Alan Modra - - PR 23804 - * merge.c (_bfd_add_merge_section): Don't attempt to merge - sections where size is not a multiple of entsize. - -2018-10-20 Alan Modra - - PR 23788 - * elf.c (section_match): Don't require a size match for SHT_SYMTAB - or SHT_STRTAB. - -2018-10-17 Alan Modra - - PR 23653 - * elflink.c (_bfd_elf_link_create_dynstrtab): Match elf_object_id - too when choosing dynobj. - -2018-10-16 Alan Modra - - * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Simplify - PE_DEBUG_DATA size checks. - -2018-10-16 Alan Modra - - PR 23781 - * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Free data - before returning. - -2018-10-16 Alan Modra - - PR 23534 - * init.c (bfd_init): Return an unsigned int. - bfd-in2.h: Regenerate. - -2018-10-15 Alan Modra - - PR 23534 - * init.c (BFD_INIT_MAGIC): Define. - (bfd_init): Return BFD_INIT_MAGIC. - bfd-in2.h: Regenerate. - -2018-10-13 Alan Modra - - PR 23770 - PR 23425 - * reloc.c (_bfd_clear_contents): Replace "location" param with - "buf" and "off". Bounds check "off". Return status. - * cofflink.c (_bfd_coff_generic_relocate_section): Update - _bfd_clear_contents call. - * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Likewise. - * elf32-arc.c (elf_arc_relocate_section): Likewise. - * elf32-i386.c (elf_i386_relocate_section): Likewise. - * elf32-metag.c (metag_final_link_relocate): Likewise. - * elf32-nds32.c (nds32_elf_get_relocated_section_contents): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf32-visium.c (visium_elf_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-x86-64.c *(elf_x86_64_relocate_section): Likewise. - * libbfd-in.h (_bfd_clear_contents): Update prototype. - * libbfd.h: Regenerate. - -2018-10-09 Egeyar Bagcioglu - - * elflink.c (elf_link_output_extsym): Do not place symbols into a - discarded .dynsym. - -2018-10-08 H.J. Lu - - PR ld/23428 - * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Don't - add GNU_PROPERTY_X86_FEATURE_2_NEEDED to force program header - in non-code PT_LOAD segment. - -2018-10-08 Alan Modra - - * elf-nacl.c (nacl_modify_segment_map): Cope with header PT_LOAD - lacking sections. - * elf.c (_bfd_elf_map_sections_to_segments): Assume file and - program headers are required when info->load_phdrs. Reorganize - code handling program headers. Generate a mapping without - sections just for file and program headers when -z separate-code - would indicate they should be on a different page to the first - section. - -2018-10-08 Alan Modra - - * elf.c (assign_file_positions_for_load_sections): Set p_vaddr - from m->p_vaddr_offset for segments without sections. Invert - sign of p_vaddr_offset. - (rewrite_elf_program_header, copy_elf_program_header): Save - old segment p_vaddr to p_vaddr_offset. Invert sign of - p_vaddr_offset. - -2018-10-08 Alan Modra - - * elf.c (get_program_header_size): Don't count PT_INTERP if - .interp is empty. - (_bfd_elf_map_sections_to_segments): Don't create PT_INTERP if - .interp is empty. - -2018-10-08 Alan Modra - - * elf32-spu.c (spu_elf_modify_segment_map): Don't insert - overlays before segment containing headers. - -2018-10-08 Alan Modra - - * elf.c (make_mapping): Cope with zero size array at end of - struct elf_segment_map. - (_bfd_elf_map_sections_to_segments): Likewise. - (rewrite_elf_program_header, copy_elf_program_header): Likewise. - (_bfd_elf_map_sections_to_segments): Rename phdr_index to hdr_index. - -2018-10-05 Alan Modra - - * elf32-spu.c (spu_elf_create_sections): Make .note.spu_name - SHT_NOTE. - -2018-10-05 Richard Henderson - - * bfd-in2.h: Regenerated. - * elf32-or1k.c: (or1k_elf_howto_table): Fix formatting for - R_OR1K_PLT26, Add R_OR1K_PCREL_PG21, R_OR1K_GOT_PG21, - R_OR1K_TLS_GD_PG21, R_OR1K_TLS_LDM_PG21, R_OR1K_TLS_IE_PG21, - R_OR1K_LO13, R_OR1K_GOT_LO13, R_OR1K_TLS_GD_LO13, R_OR1K_TLS_LDM_LO13, - R_OR1K_TLS_IE_LO13, R_OR1K_SLO13, R_OR1K_PLTA26. - (or1k_reloc_map): Add BFD_RELOC_OR1K_PCREL_PG21, - BFD_RELOC_OR1K_GOT_PG21, BFD_RELOC_OR1K_TLS_GD_PG21, - BFD_RELOC_OR1K_TLS_LDM_PG21, BFD_RELOC_OR1K_TLS_IE_PG21, - BFD_RELOC_OR1K_LO13, BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_OR1K_TLS_GD_LO13, BFD_RELOC_OR1K_TLS_GD_LO13, - BFD_RELOC_OR1K_TLS_LDM_LO13, BFD_RELOC_OR1K_TLS_IE_LO13, - BFD_RELOC_OR1K_SLO13, BFD_RELOC_OR1K_PLTA26. - (elf_or1k_link_hash_table): Add field saw_plta. - (or1k_final_link_relocate): Add value calculations for new relocations. - (or1k_elf_relocate_section): Add section relocations for new - relocations. - (or1k_write_plt_entry): New function. - (or1k_elf_finish_dynamic_sections): Add support for PLTA relocations - using new l.adrp instruction. Cleanup PLT relocation code generation. - * libbfd.h: Regenerated. - * reloc.c: Add BFD_RELOC_OR1K_PCREL_PG21, BFD_RELOC_OR1K_LO13, - BFD_RELOC_OR1K_SLO13, BFD_RELOC_OR1K_GOT_PG21, BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_OR1K_PLTA26, BFD_RELOC_OR1K_TLS_GD_PG21, - BFD_RELOC_OR1K_TLS_GD_LO13, BFD_RELOC_OR1K_TLS_LDM_PG21, - BFD_RELOC_OR1K_TLS_LDM_LO13, BFD_RELOC_OR1K_TLS_IE_PG21, - BFD_RELOC_OR1K_TLS_IE_LO13. - -2018-10-05 Richard Henderson - - * elf32-or1k.c (or1k_elf_relocate_section): Add error for unknown - relocations. Add error for non zero addend with plt and got - relocations. Add error for got and plt references against dynamic, non - local, symbols. Add error when linking non shared liraries with - flag_pic. - -2018-10-05 Richard Henderson - Stafford Horne - - * bfd-in2.h: Regenerated. - * elf32-or1k.c (N_ONES): New macro. - (or1k_elf_howto_table): Fix R_OR1K_PLT26 to complain on overflow. - Add definitions for R_OR1K_TLS_TPOFF, R_OR1K_TLS_DTPOFF, - R_OR1K_TLS_DTPMOD, R_OR1K_AHI16, R_OR1K_GOTOFF_AHI16, - R_OR1K_TLS_IE_AHI16, R_OR1K_TLS_LE_AHI16, R_OR1K_SLO16, - R_OR1K_GOTOFF_SLO16, R_OR1K_TLS_LE_SLO16. - (or1k_reloc_map): Add entries for BFD_RELOC_HI16_S, - BFD_RELOC_LO16_GOTOFF, BFD_RELOC_HI16_GOTOFF, BFD_RELOC_HI16_S_GOTOFF, - BFD_RELOC_OR1K_TLS_IE_AHI16, BFD_RELOC_OR1K_TLS_LE_AHI16, - BFD_RELOC_OR1K_SLO16, BFD_RELOC_OR1K_GOTOFF_SLO16, - BFD_RELOC_OR1K_TLS_LE_SLO16. - (or1k_reloc_type_lookup): Change search loop to start ad index 0 and - also check results before returning. - (or1k_reloc_name_lookup): Simplify loop to use R_OR1K_max as index - limit. - (or1k_final_link_relocate): New function. - (or1k_elf_relocate_section): Add support for new AHI and SLO - relocations. Use or1k_final_link_relocate instead of generic - _bfd_final_link_relocate. - (or1k_elf_check_relocs): Add support for new AHI and SLO relocations. - * reloc.c: Add new enums for BFD_RELOC_OR1K_SLO16, - BFD_RELOC_OR1K_GOTOFF_SLO16, BFD_RELOC_OR1K_TLS_IE_AHI16, - BFD_RELOC_OR1K_TLS_IE_AHI16, BFD_RELOC_OR1K_TLS_LE_AHI16, - BFD_RELOC_OR1K_TLS_LE_SLO16. Remove unused BFD_RELOC_OR1K_GOTOFF_HI16 - and BFD_RELOC_OR1K_GOTOFF_LO16. - * libbfd.h: Regenerated. - -2018-10-04 Jim Wilson - - * elfnn-riscv.c (riscv_elf_size_dynamic_sections): In dynobj->sections - loop, handle htab->sdyntdata section. - -2018-10-04 Jose E. Marchesi - - * elf64-sparc.c (elf64_sparc_output_arch_syms): Do notcorrect the - impact of STT_REGISTER symbols in the dynsym sh_info here... - * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_sections): ...but - do it here. - -2018-10-03 H.J. Lu - - PR ld/23658 - * elf.c (get_program_header_size): Put all adjacent SHT_NOTE - sections with the same section alignment into a single PT_NOTE - segment. Check SHT_NOTE section type instead of section name. - (_bfd_elf_map_sections_to_segments): Likewise. - -2018-10-03 Millan Wolff - - PR 23715 - * dwarf2.c (find_abstract_instance): Allow recursive invocations - of find_abstract_instance to override the name variable. - -2018-10-03 Nick Clifton - - * po/pt.po: Updated Portuguese translation. - -2018-10-01 Cupertino Miranda - - * arc-got.h (relocate_fix_got_relocs_for_got_info): Changed. Take TLS - section alignment in consideration for this relocation. Fixed TCB_SIZE - offset size to include section alignment. - (get_got_entry_list_for_symbol): Changed. - * elf32-arc.c (FINAL_SECTSTART): Added this formula macro. - (ARC_TLS_DTPOFF) Updated reloc to use new created macro instead. - (arc_special_overflow_checks): Fixed TCB_SIZE offsize to include - section alignment. - (elf_arc_check_relocs): Changed. - (elf_arc_finish_dynamic_symbol) Return FALSE in case arc_htab is NULL. - (struct elf_arc_link_hash_entry): Moved and changed. - (elf_arc_link_hash_newfunc): Changed. - (arc_elf_link_hash_table_create): Removed old initializations. - (elf_arc_relocate_section, elf_arc_finish_dynamic_symbol): Changed. - -2018-09-28 H.J. Lu - - * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Use - elfclass instead of bed->s->elfclass. - -2018-09-27 Jim Wilson - - * elfnn-riscv.c (riscv_init_pcgp_relocs): Add explanatory comment. - (riscv_free_pcgp_relocs, riscv_record_pcgp_reloc): Likewise. - (riscv_find_pcgp_hi_reloc, riscv_reocrd_pcgp_lo_reloc): Likewise. - (riscv_find_pcgp_lo_reloc): Likewise. - (riscv_delete_pcgp_hi_reloc, riscv_use_pcgp_hi_reloc): Delete. - (riscv_delete_pcgp_lo_reloc): Likewise. - (_bfd_riscv_relax_pc): Don't call riscv_use_pcgp_hi_reloc. Replace - calls to riscv_delete_pcgp_lo_reloc and riscv_delete_pcgp_hi_reloc - with TRUE. Mark abfd arg as ATTRIBUTE_UNUSED. - -2018-09-25 Jim Wilson - - * elfnn-riscv.c (riscv_make_plt_header): New arg output_bfd. Change - return type to bfd_boolean. If EF_RISCV_RVE call _bfd_error_handler - and return FALSE. Return TRUE at end. - (riscv_make_plt_entry): Likewise. - (riscv_elf_finish_dynamic_symbol): Update call to riscv_make_plt_entry. - (riscv_elf_finish_dynamic_sections): Update call to - riscv_make_plt_header. - -2018-09-24 Jim Wilson - - * elfnn-riscv.c (_bfd_riscv_relax_pc) : New local - hi_sec_off which is symbol address with addend subtracted. Use in - riscv_find_pcgp_hi_reloc and riscv_record_pcgp_lo_reloc calls. - - * elfnn-riscv.c (riscv_resolve_pcrel_lo_relocs): Add check for reloc - overflow with addend. Use reloc_dangerous instead of reloc_overflow. - Add strings for the two errors handled here. - (riscv_elf_relocate_section) In case R_RISCV_PCREL_LO12_I, rewrite - comment. Only give error with addend when used with section symbol. - In case bfd_reloc_dangerous, update error string. - -2018-09-24 Jozef Lawrynowicz - - PR gdb/20948 - * elf.c (_bfd_elf_write_object_contents): Return from function - early if abfd->direction == both_direction. - -2018-09-21 Simon Marchi - - * configure.ac: Check for fls. - * elf32-nds32.c (fls): Only define if !HAVE_FLS. - * config.in: Re-generate. - * configure: Re-generate. - -2018-09-20 Maciej W. Rozycki - - * config.bfd : Remove - duplicate `case' selectors. - -2018-09-20 Nelson Chu - - * elf32-nds32.c (nds32_elf_relax_loadstore): - Remove the unused target features. - (bfd_elf32_nds32_set_target_option): Remove the unused parameters. - (nds32_elf_relax_piclo12, nds32_elf_relax_letlslo12, - nds32_elf_relax_letlsadd, nds32_elf_relax_letlsls, - nds32_elf_relax_pltgot_suff, nds32_elf_relax_got_suff - nds32_elf_relax_gotoff_suff, calculate_plt_memory_address, - calculate_plt_offset, calculate_got_memory_address, - nds32_elf_check_dup_relocs): Removed. - All callers changed. - * elf32-nds32.h: Remove the unused macros and defines. - (elf_nds32_link_hash_table): Remove the unused variable. - (bfd_elf32_nds32_set_target_option): Update prototype. - (nds32_elf_ex9_init): Removed. - * elf32-nds32.c (nds32_convert_32_to_16): Updated. - * elf32-nds32.c (HOWTO2, HOWTO3): Define new HOWTO macros - to initialize array nds32_elf_howto_table in any order - without lots of EMPTY_HOWTO. - (nds32_reloc_map): Updated. - * reloc.c: Add BFD_RELOC_NDS32_LSI. - * bfd-in2.h: Regenerated. - * bfd/libbfd.h: Regenerated. - * elf32-nds32.c (nds32_elf_relax_howto_table): Add R_NDS32_LSI. - (nds32_reloc_map): Likewise. - (nds32_elf_relax_flsi): New function. - (nds32_elf_relax_section): Support floating load/store relaxation. - * elf32-nds32.c (NDS32_GUARD_SEC_P, elf32_nds32_local_gp_offset): - New macro. - (struct elf_nds32_link_hash_entry): New `offset_to_gp' field. - (struct elf_nds32_obj_tdata): New `offset_to_gp' and `hdr_size' fields. - (elf32_nds32_allocate_local_sym_info, nds32_elf_relax_guard, - nds32_elf_is_target_special_symbol, nds32_elf_maybe_function_sym): - New functions. - (nds32_info_to_howto_rel): Add BFD_ASSERT. - (bfd_elf32_bfd_reloc_type_table_lookup, nds32_elf_link_hash_newfunc, - nds32_elf_link_hash_table_create, nds32_elf_relocate_section, - nds32_elf_relax_loadstore, nds32_elf_relax_lo12, nds32_relax_adjust_label, - bfd_elf32_nds32_set_target_option, nds32_fag_mark_relax): Updated. - (nds32_elf_final_sda_base): Improve it to find the better gp value. - (insert_nds32_elf_blank): Must consider `len' when inserting blanks. - * elf32-nds32.h (bfd_elf32_nds32_set_target_option): Update prototype. - (struct elf_nds32_link_hash_table): Add new variable `hyper_relax'. - * elf32-nds32.c (elf32_nds32_allocate_dynrelocs): New function. - (create_got_section): Likewise. - (allocate_dynrelocs, nds32_elf_size_dynamic_sections, - nds32_elf_relocate_section, nds32_elf_finish_dynamic_symbol): Updated. - (nds32_elf_check_relocs): Fix the issue that the shared library may - has TEXTREL entry in the dynamic section. - (nds32_elf_create_dynamic_sections): Enable to call readonly_dynrelocs - since the TEXTREL issue is fixed in the nds32_elf_check_relocs. - (nds32_elf_finish_dynamic_sections): Update and add DT_RELASZ - dynamic entry. - (calculate_offset): Remove the unused parameter `pic_ext_target' and - related codes. - All callers changed. - (elf_backend_dtrel_excludes_plt): Disable it temporarily since it - will cause some errors for our test cases. - * elf32-nds32.c (nds32_elf_merge_private_bfd_data): Allow to link the - generic object. - * reloc.c: Add TLS relocations. - * libbfd.h: Regenerated. - * bfd-in2.h: Regenerated. - * elf32-nds32.h (struct section_id_list_t): New. - (elf32_nds32_lookup_section_id, elf32_nds32_check_relax_group, - elf32_nds32_unify_relax_group, nds32_elf_unify_tls_model): - New prototypes. - (elf32_nds32_compute_jump_table_size, elf32_nds32_local_tlsdesc_gotent): - New macro. - (nds32_insertion_sort, bfd_elf32_nds32_set_target_option, - elf_nds32_link_hash_table): Updated. - * elf32-nds32.c (enum elf_nds32_tls_type): New. - (struct elf32_nds32_relax_group_t, struct relax_group_list_t): New. - (elf32_nds32_add_dynreloc, patch_tls_desc_to_ie, get_tls_type, - fls, ones32, list_insert, list_insert_sibling, dump_chain, - elf32_nds32_check_relax_group, elf32_nds32_lookup_section_id, - elf32_nds32_unify_relax_group, nds32_elf_unify_tls_model): New functions. - (elf_nds32_obj_tdata): Add new fields. - (elf32_nds32_relax_group_ptr, nds32_elf_local_tlsdesc_gotent): New macros. - (nds32_elf_howto_table): Add TLS relocations. - (nds32_reloc_map): Likewise. - (nds32_elf_copy_indirect_symbol, nds32_elf_size_dynamic_sections, - nds32_elf_finish_dynamic_symbol, elf32_nds32_allocate_local_sym_info, - nds32_elf_relocate_section, bfd_elf32_nds32_set_target_option, - nds32_elf_check_relocs, allocate_dynrelocs): Updated. - (nds32_elf_relax_section): Call nds32_elf_unify_tls_model. - (dtpoff_base): Rename it to `gottpof' and then update it. - -2018-09-20 Alan Modra - - PR 23685 - * peXXigen.c (pe_print_edata): Correct export address table - overflow checks. Check dataoff against section size too. - -2018-09-20 Alan Modra - - PR 23686 - * dwarf2.c (read_section): Error when attempting to malloc - "(bfd_size_type) -1". - * syms.c (_bfd_stab_section_find_nearest_line): Bounds check - function_name. Bounds check reloc address. Formatting. Ensure - .stabstr zero terminated. - -2018-09-18 Nick Clifton - - PR 23657 - * elfcode.h (elf_swap_shdr_in): Generate a warning message if an - ELF section has contents and size larger than the file size. - -2018-09-14 Maciej W. Rozycki - - PR ld/21375 - * elfxx-mips.h (_bfd_mips_elf_hide_symbol): New prototype. - (_bfd_mips_elf_linker_flags): Update prototype. - * elf32-mips.c (elf_backend_hide_symbol): New macro. - * elf64-mips.c (elf_backend_hide_symbol): Likewise. - * elfn32-mips.c (elf_backend_hide_symbol): Likewise. - * elfxx-mips.c (mips_elf_link_hash_table): Add - `use_absolute_zero' and `gnu_target' members. - (mips_elf_record_global_got_symbol): Call - `_bfd_mips_elf_hide_symbol' rather than - `_bfd_elf_link_hash_hide_symbol'. - (mips_use_local_got_p): Return FALSE if the symbol is absolute. - (mips_elf_obtain_contents): Reorder function. - (mips_elf_nullify_got_load): New function. - (mips_elf_calculate_relocation): Add `contents' parameter. - Nullify GOT loads or if it is not possible, then redirect GOT - relocations to the `__gnu_absolute_zero' symbol, for references - that are supposed to resolve to zero. - (mips_elf_define_absolute_zero): New function. - (_bfd_mips_elf_check_relocs): Prepare for arrangements made in - `mips_elf_calculate_relocation' for references made via the GOT - that are supposed to resolve to zero. - (_bfd_mips_elf_hide_symbol): New function. - (_bfd_mips_elf_linker_flags): Add the `gnu_target' parameter, - set the `gnu_target' member of the MIPS hash table. - (MIPS_LIBC_ABI_ABSOLUTE): New enumeration constant. - (_bfd_mips_post_process_headers): Use it. - -2018-09-14 Maciej W. Rozycki - - * elfxx-mips.c (mips_elf_store_contents): New function... - (mips_elf_perform_relocation): ... factored out from here. - -2018-09-14 Lifang Xia - - * elf32-csky.c (csky_elf_howto_table): Fill special_function of - R_CKCORE_PCREL32. - (csky_elf_relocate_section): Add R_CKCORE_PCREL32 process. - -2018-09-14 Alan Modra - - PR 23425 - * reloc.c (bfd_generic_get_relocated_section_contents): Zero reloc - fields in debug sections when reloc is against an undefined symbol - and called from bfd_simple_get_relocated_section_contents or - similar. - * dwarf2.c (find_abstract_instance): Return true for zero offset - DW_FORM_ref_addr without returning values. - -2018-09-06 Alan Modra - - PR 23570 - * elf32-avr.c (elf_avr_special_sections): New. - (elf_backend_special_sections): Define. - -2018-09-04 Jose E. Marchesi - - * elfxx-sparc.c (_bfd_sparc_elf_info_to_howto): Do not issue an - error when an invalid relocation is passed; this is already done - by `_bfd_sparc_elf_info_to_howto_ptr'. - -2018-09-04 Jose E. Marchesi - - * elf64-sparc.c (elf64_sparc_slurp_one_reloc_table): Issue an - error when an invalid symbol index is retrieved in ELF64_R_SYM of - a relocation seen in an input file. - -2018-09-03 Jozef Lawrynowicz - Alan Modra - - PR 23595 - elf.c (copy_elf_program_header): When first segment contains - only the headers and SHT_NOBITS sections, use segment p_filesz - to calculate header and padding size. Use filepos of the first - section otherwise. - -2018-08-31 H.J. Lu - - PR ld/23600 - * archures.c (bfd_arch_get_compatible): Allow an IR object with - unknown architecture. - -2018-08-31 Alan Modra - - * elf64-ppc.c (num_relocs_for_offset): New function. - (emit_relocs_for_offset): New function. - (use_global_in_relocs): New function, split out from.. - (ppc_build_one_stub): ..here. Output relocations for notoc stubs. - (ppc_size_one_stub): Calculate reloc count for notoc stubs. - (ppc64_elf_size_stubs): Don't count undefined syms in stub_globals. - -2018-08-31 Alan Modra - - * reloc.c (BFD_RELOC_PPC64_REL16_HIGH, BFD_RELOC_PPC64_REL16_HIGHA), - (BFD_RELOC_PPC64_REL16_HIGHER, BFD_RELOC_PPC64_REL16_HIGHERA), - (BFD_RELOC_PPC64_REL16_HIGHEST, BFD_RELOC_PPC64_REL16_HIGHESTA): - Define. - * elf64-ppc.c (ppc64_elf_howto_raw): Add new REL16 howtos. - (ppc64_elf_reloc_type_lookup): Translate new REL16 relocs. - (ppc64_elf_check_relocs, ppc64_elf_relocate_section): Handle them. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2018-08-31 Alan Modra - - * elf64-ppc.c: Correct _notoc stub comments. - (ppc_build_one_stub): Simplify output of branch for notoc - long branch stub. Don't include label offset of 8 bytes in - "off" calculation for notoc plt stub. Don't emit insns to get pc. - (build_offset): Emit insns to get pc here instead. - (size_offset): Add 4 extra insns. - (plt_stub_size): Adjust for "off" and size_offset changes. - (ppc_size_one_stub): Rearrange code into a switch, duplicating - some to better match ppc_build_one_stub. - -2018-08-29 Chenghua Xu - - * archures.c (bfd_architecture): New machine - bfd_mach_mips_gs264e. - * bfd-in2.h (bfd_architecture): Likewise. - * cpu-mips.c (enum I_xxx): Likewise. - (arch_info_struct): Likewise. - * elfxx-mips.c (_bfd_elf_mips_mach): Handle - E_MIPS_MACH_GS264E. - (mips_set_isa_flags): Likewise. - (mips_mach_extensions): Map bfd_mach_mips_gs264e to - bfd_mach_mips_gs464e extension. - -2018-08-29 Chenghua Xu - - * archures.c (bfd_architecture): New machine - bfd_mach_mips_gs464e. - * bfd-in2.h (bfd_architecture): Likewise. - * cpu-mips.c (enum I_xxx): Likewise. - (arch_info_struct): Likewise. - * elfxx-mips.c (_bfd_elf_mips_mach): Handle - E_MIPS_MACH_GS464E. - (mips_set_isa_flags): Likewise. - (mips_mach_extensions): Map bfd_mach_mips_gs464e to - bfd_mach_mips_gs464 extension. - -2018-08-29 Chenghua Xu - - * archures.c (bfd_architecture): Rename - bfd_mach_mips_loongson_3a to bfd_mach_mips_gs464. - * bfd-in2.h (bfd_architecture): Likewise. - * cpu-mips.c (enum I_xxx): Likewise. - (arch_info_struct): Likewise. - * elfxx-mips.c (_bfd_elf_mips_mach): Likewise. - (mips_set_isa_flags): Likewise. - (mips_mach_extensions): Likewise. - (bfd_mips_isa_ext_mach): Likewise. - (bfd_mips_isa_ext): Likewise. - (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A. - -2018-08-29 Chenghua Xu - - * elfxx-mips.c (print_mips_ases): Add Loongson EXT2 extension. - -2018-08-29 Chenghua Xu - - * elfxx-mips.c (infer_mips_abiflags): Use ases instead of - isa_ext for infer ABI flags. - (print_mips_ases): Add Loongson EXT extension. - -2018-08-29 Chenghua Xu - - * elfxx-mips.c (print_mips_ases): Add CAM extension. - -2018-08-27 H.J. Lu - - * elfxx-x86.c (_bfd_x86_elf_parse_gnu_properties): Don't mask - out the GNU_PROPERTY_X86_UINT32_VALID bit. - -2018-08-25 H.J. Lu - - PR ld/23499 - * elf.c (_bfd_elf_get_symbol_version_string): Return - _("") for corrupt symbol version info. - -2018-08-24 H.J. Lu - - * elfxx-x86.c (_bfd_x86_elf_parse_gnu_properties): Handle - X86_COMPAT_ISA_1_USED, X86_COMPAT_ISA_1_NEEDED, - X86_UINT32_AND_LO, X86_UINT32_AND_HI, X86_UINT32_OR_LO, - X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and X86_UINT32_OR_AND_HI - instead of X86_ISA_1_USED, X86_ISA_1_NEEDED and X86_FEATURE_1_AND. - (_bfd_x86_elf_merge_gnu_properties): Likewise. - (_bfd_x86_elf_link_setup_gnu_properties): Add X86_FEATURE_2_NEEDED - instead of X86_ISA_1_NEEDED. - (_bfd_x86_elf_link_fixup_gnu_properties): Handle - X86_COMPAT_ISA_1_USED, X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, - X86_UINT32_AND_HI, X86_UINT32_OR_LO, X86_UINT32_OR_HI, - X86_UINT32_OR_AND_LO and X86_UINT32_OR_AND_HI instead of - X86_ISA_1_USED, X86_ISA_1_NEEDED and X86_FEATURE_1_AND. - -2018-08-24 H.J. Lu - - * elfxx-x86.c (_bfd_x86_elf_parse_gnu_properties): Mask out the - GNU_PROPERTY_X86_UINT32_VALID bit. - (_bfd_x86_elf_link_fixup_gnu_properties): Set the - GNU_PROPERTY_X86_UINT32_VALID bit for non-relocatable output. - -2018-08-23 Zenith423 - - PR 23460 - * plugin.c (struct plugin_list_entry): New structure. - (plugin_list): New variable. - (try_load_plugin): Place opened plugins on a list. Ensure that - the refcount in the dynamic loader is kept at 1. - -2018-08-23 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section): Revise "call lacks - nop" error message. - -2018-08-23 Nick Clifton - - * elf64-hppa.c (elf_hppa_final_link_relocate): Replace unworkable - code with an assertion. - -2018-08-23 Nick Clifton - - PR 23061 - * coffgen.c (coff_pointerize_aux): Add table_end parameter. Use - it to prevent walking off the end of the table. - (coff_get_normalized_symtab): Pass internal_end pointer to - coff_pointerize_aux. - -2018-08-23 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section): Don't miss clearing - unresolved_reloc on ppc_stub_plt_call_notoc. - -2018-08-22 H.J. Lu - - PR ld/23536 - * development.sh (experimental): New. - -2018-08-22 Helge Deller - Nick Clifton - - * elf-hppa.h (elf_hppa_fake_sections): Use SHT_PARISC_UNWIND as - the section type of the .PARISC.unwind section on 64-bit binaries - and SHT_PROGBITS for 32-bit binaries. Add a comment about it. - Add comment about the sh_entsize value. - -2018-08-22 Rafeal Auler - - PR 23560 - * elfnn-aarch64.c (elfNN_aarch64_size_stubs): Always update the - stub's target, since it may have been changed after the layout. - -2018-08-21 John Darington - - * elf32-s12z.c (opru18_reloc): New function. - (elf_s12z_howto_table): Adjust Howto according to new knowledge. - -2018-08-21 mephi42 - - PR binutils/23315 - * mach-o.c (bfd_mach_o_mangle_symbols): Update n_type even if - data is already considered filled. - -2018-08-21 Alan Modra - - * elf64-ppc.c (HOW): Define. - (ONES): Delete. - (ppc64_elf_howto_raw): Use HOW to initialize entries. - * elf32-ppc.c (HOW): Define. - (ppc_elf_howto_raw): Use HOW to initialize entries, updating - R_PPC_VLE_REL15 and R_PPC_VLE_REL24 to use bitpos=0. - -2018-08-21 Alan Modra - - * reloc.c (reloc_howto_type): Typedef. - (bfd_symbol): Delete forward declaration. - (struct reloc_howto_struct): Add "negate" field. Make "size", - "bitsize", "rightshift", "bitpos", "complain_on_overflow", - "pc_relative", "partial_inplace", and "pcrel_offset" bitfields. - Rearrange for better packing. Revise comments. - (HOWTO): Map to rearranged reloc_howto_struct. - (bfd_get_reloc_size): Delete now unused cases. - (read_reloc, write_reloc): Likewise. - (apply_reloc, _bfd_relocate_contents): Test howto->negate - rather than howto->size < 0 for negated relocation values. - * coff-rs6000.c (xcoff_complain_overflow_bitfield_func): Avoid - signed/unsigned warning. - (xcoff_ppc_relocate_section): Delete "condition is always false" - code. - * coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise. - * cpu-ns32k.c (do_ns32k_reloc): Adjust to suit reloc_howto_struct - changes. - * vms-alpha.c (_bfd_vms_write_etir, alpha_vms_slurp_relocs): Use - size 16 for ALPHA_R_LINKAGE. - (alpha_howto_table ): Set encoded size and - bitsize to zero. - * bfd-in.h (reloc_howto_type): Delete. - * bfd-in2.h: Regenerate. - -2018-08-21 Alan Modra - - * reloc.c (HOWTO): Revise comment. - (NEWHOWTO, HOWTO_PREPARE): Delete. - * coff-arm.c (coff_arm_reloc_type_lookup): Replace const struc - reloc_howto_struct with reloc_howto_type. - * ns32knetbsd.c (MY_bfd_reloc_type_lookup): Likewise. - * vms-alpha.c (alpha_vms_bfd_reloc_type_lookup): Likewise. - * elf-hppa.h (HOW): Define. - (elf_hppa_howto_table): Use it to simplify this table, correcting - name of R_PARISC_LTOFF16WF, R_PARISC_LTOFF_FPTR64, and - R_PARISC_LTOFF_FPTR16DF. - * elf32-mep.c (MEPREL): Use HOWTO. - * bfd-in2.h: Regenerate. - -2018-08-20 Alan Modra - - * mmo.c (valid_mmo_symbol_character_set): Initialize and make - array const. - (mmo_init): Don't init valid_mmo_symbol_character_set. - -2018-08-20 Alan Modra - - * rs6000-core.c (CORE_COMMONSZ): Balance parentheses in expression. - -2018-08-17 H.J. Lu - - PR ld/23515 - * elf-bfd.h (elf_backend_data): Add fixup_gnu_properties. - * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Call - backend fixup_gnu_properties if it isn't NULL. Discard - .note.gnu.property section if all properties have been removed. - * elfxx-target.h (elf_backend_fixup_gnu_properties): New. - (elfNN_bed): Initialize fixup_gnu_properties. - * elfxx-x86.c (_bfd_x86_elf_link_fixup_gnu_properties): New - function. - * elfxx-x86.h (_bfd_x86_elf_link_fixup_gnu_properties): New - prototype. - (elf_backend_fixup_gnu_properties): New. - -2018-08-16 Alan Modra - - * elf64-ppc.c: Correct ppc_stub_long_branch_notoc example. - Formatting. - -2018-08-12 H.J. Lu - - PR binutils/23494 - * Makefile.am (BFD32_LIBS): Add elf-properties.lo. - (BFD32_LIBS_CFILES): Add elf-properties.c. - (BFD32_BACKENDS): Remove elf-properties.lo. - (BFD32_BACKENDS_CFILES): Remove elf-properties.c. - * configure.ac (elf): Remove elf-properties.lo. - * Makefile.in: Regenerated. - * configure: Likewise. - -2018-08-11 H.J. Lu - - PR ld/23428 - * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Don't - add X86_ISA_1_NEEDED property only if existing properties won't - be removed. - -2018-08-11 Alan Modra - - * reloc.c (bfd_get_reloc_size): Sort switch. - (read_reloc, write_reloc, apply_reloc): New functions. - (bfd_perform_relocation, bfd_install_relocation): Use apply_reloc. - (_bfd_relocate_contents): Use read_reloc and write_reloc. - (_bfd_clear_contents): Likewise. - -2018-08-11 John Darrington - - * reloc.c (_bfd_relocate_contents): Handle 3 byte relocs. - (_bfd_clear_contents): Likewise. - (bfd_perform_relocation): Likewise. - (bfd_install_relocation): Likewise. - -2018-08-10 H.J. Lu - - PR ld/23499 - * elflink.c (bfd_elf_record_link_assignment): Always clear - h->verinfo.verdef when overriding a dynamic definition. - -2018-08-10 H.J. Lu - - PR binutils/23494 - * elf-properties.c (elf_get_gnu_property_section_size): Always - use align_size as pr_datasz for GNU_PROPERTY_STACK_SIZE. - (elf_write_gnu_properties): Likewise. - -2018-08-08 H.J. Lu - - PR binutils/23494 - * bfd.c (bfd_convert_section_size): Check BFD_DECOMPRESS after - calling _bfd_elf_convert_gnu_property_size to convert - .note.gnu.property section size. - (bfd_convert_section_contents): Check BFD_DECOMPRESS after - calling _bfd_elf_convert_gnu_properties to convert - .note.gnu.property section. - * elf-bfd.h (_bfd_elf_convert_gnu_property_size): New prototype. - (_bfd_elf_convert_gnu_properties): Likewise. - * elf-properties.c (elf_get_gnu_property_section_size): New - function. - (elf_write_gnu_properties): Likewise. - (_bfd_elf_convert_gnu_property_size): Likewise. - (_bfd_elf_convert_gnu_properties): Likewise. - (_bfd_elf_link_setup_gnu_properties): Use - elf_get_gnu_property_section_size and elf_write_gnu_properties. - -2018-08-08 H.J. Lu - - PR ld/23486 - * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Remove - GNU_PROPERTY_X86_ISA_1_USED if an input file doesn't have it. - (_bfd_x86_elf_link_setup_gnu_properties): Adding the - GNU_PROPERTY_X86_ISA_1_NEEDED, instead of - GNU_PROPERTY_X86_ISA_1_USED, property. - -2018-08-07 Alan Modra - - * elf64-ppc.c (struct map_stub): Delete tls_get_addr_opt_bctrl. - Add lr_restore, eh_size and eh_base. - (eh_advance, eh_advance_size): New functions. - (build_tls_get_addr_stub): Emit EH info for stub. - (ppc_build_one_stub): Likewise for _notoc stubs. - (ppc_size_one_stub): Size EH info for stub. - (group_sections): Init new map_stub fields. - (stub_eh_frame_size): Delete. - (ppc64_elf_size_stubs): Size EH info for stubs. Set up dummy EH - program for stubs. - (ppc64_elf_build_stubs): Reinit new map_stub fields. Set FDE - offset to stub section here.. - (ppc64_elf_finish_dynamic_sections): ..rather than here. - -2018-08-07 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section): Don't skip first - instruction of __tls_get_addr_opt stub. - (plt_stub_size): Omit ALWAYS_EMIT_R2SAVE condition when - dealing with __tls_get_addr_opt stub. - (build_tls_get_addr_stub, ppc_size_one_stub): Likewise. - -2018-08-06 Claudiu Zissulescu - - * elf32-arc.c (arc_elf_merge_private_bfd_data): Complain about - efalgs only when in/out exists. - (elf32_arc_section_from_shdr): Don't complain about 0x0c - section type. It is mwdt compiler specific. - -2018-08-06 Claudiu Zissulescu - - * elf32-arc.c (arc_elf_merge_attributes): Fix merge attributes. - -2018-08-06 Claudiu Zissulescu - - * elf32-arc.c (arc_elf_merge_attributes): Handle - Tag_ARC_ATR_version. - -2018-08-05 Alan Modra - - * elf64-ppc.c (ADDI_R12_R11, ADDI_R12_R12, LIS_R12), - (ADDIS_R12_R11, ORIS_R12_R12_0, ORI_R12_R12_0), - (SLDI_R12_R12_32, LDX_R12_R11_R12, ADD_R12_R11_R12): Define. - (ppc64_elf_howto_raw): Add R_PPC64_REL24_NOTOC entry. - (ppc64_elf_reloc_type_lookup): Support R_PPC64_REL24_NOTOC. - (ppc_stub_type): Add ppc_stub_long_branch_notoc, - ppc_stub_long_branch_both, ppc_stub_plt_branch_notoc, - ppc_stub_plt_branch_both, ppc_stub_plt_call_notoc, and - ppc_stub_plt_call_both. - (is_branch_reloc): Add R_PPC64_REL24_NOTOC. - (build_offset, size_offset): New functions. - (plt_stub_size): Support plt_call_notoc and plt_call_both. - (ppc_build_one_stub, ppc_size_one_stub): Support new stubs. - (toc_adjusting_stub_needed): Handle R_PPC64_REL24_NOTOC. - (ppc64_elf_size_stubs): Likewise, and new stubs. - (ppc64_elf_build_stubs, ppc64_elf_relocate_section): Likewise. - * reloc.c: Add BFD_RELOC_PPC64_REL24_NOTOC. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2018-08-05 Alan Modra - - * elf64-ppc.c (ppc_build_one_stub): Lose "_r2off" in stub symbols. - -2018-08-02 Jim Wilson - - * elfnn-riscv.c (riscv_elf_create_dynamic_sections): For .tdata.dyn, - add SEC_LINKER_CREATED flag. - -2018-08-01 Nick Clifton - - * coff-rs6000.c (_bfd_xcoff_put_ldsymbol_name): Suppress warnings - about potentially truncated strncpy operations. - (_bfd_xcoff_put_symbol_name): Likewise. - - * elf32-avr.c (avr_stub_name): Check for a NULL return from - bfd_malloc. - -2018-08-01 Zenith - - PR 23460 - * plugin.c (bfd_plugin_open_input): Close file descriptor if the - call to fstat fails. - (try_claim): Always close the file descriptor at the end of the - function. - (try_load_plugin): If a plugin has already been registered, then - skip the dlopen and onload steps and go straight to claiming the - file. If these is an error, close the plugin. - -2018-08-01 Alan Modra - - * elf64-ppc.c (plt_stub_pad): Delay plt_stub_size call until needed. - (ppc_build_one_stub): Don't set stub_offset, instead assert that - it is sane. Don't adjust stub_offset for alignment. Adjust size - calculation. Use "targ" temp when calculating offsets. - (ppc_size_one_stub): Set stub_offset here. Use "targ" temp when - calculating offsets. Adjust for alignment before setting - tls_get_addr_opt_bctrl. - -2018-08-01 Alan Modra - - * po/SRC-POTFILES.in: Regenerate. - -2018-07-30 Nick Clifton - - PR 22706 - * elf32-sh.c (sh_elf_relocate_section): When processing - translation relocs, fail if the relocation offset is too small. - Replace BFD_ASSERTs with more helpful error messages. - -2018-07-30 Andrew Jenner - - * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES): Add C-SKY. - (BFD32_BACKENDS, BFD_BACKENDS_CFILES): Likewise. - * Makefile.in: Regenerated. - * archures.c (enum bfd_architecture): Add bfd_arch_csky and - related bfd_mach defines. - (bfd_csky_arch): Declare. - (bfd_archures_list): Add C-SKY. - * bfd-in.h (elf32_csky_build_stubs): Declare. - (elf32_csky_size_stubs): Declare. - (elf32_csky_next_input_section: Declare. - (elf32_csky_setup_section_lists): Declare. - * bfd-in2.h: Regenerated. - * config.bfd: Add C-SKY. - * configure.ac: Likewise. - * configure: Regenerated. - * cpu-csky.c: New file. - * elf-bfd.h (enum elf_target_id): Add C-SKY. - * elf32-csky.c: New file. - * libbfd.h: Regenerated. - * reloc.c: Add C-SKY relocations. - * targets.c (csky_elf32_be_vec, csky_elf32_le_vec): Declare. - (_bfd_target_vector): Add C-SKY target vector entries. - -2018-07-27 John Darrington - - * elf32-s12z.c (ELF_TARGET_ID): Don't define. - -2018-07-27 John Darrington - - * libbfd.c (bfd_getb24, bfd_getl24): New functions. - (bfd_get_24, bfd_put_24): New macros. - * bfd-in2.h: Regenerate. - -2018-07-27 John Darrington - - * elf32-s12z.c (s12z_elf_set_mach_from_flags): Remove comment. - -2018-07-26 Alan Modra - - * elf64-ppc.c (ppc64_elf_size_stubs): Use a ppc_stub_long_branch_r2off - for calls to symbols with STO_PPC64_LOCAL_MASK bits set to 1. - -2018-07-25 Alan Modra - - * elf32-ppc.c (ppc_elf_relax_section): Ignore common or undef locals. - Avoid trashing toff with added when used as a symbol index. - Ignore R_PPC_PLTREL24 addends in unused example code. Avoid - creating unnecessary fixups when relocatable. - -2018-07-25 Alan Modra - - * elf32-arm.c (elf32_arm_nabi_write_core_note): Disable - -Wstringop-truncation warning for gcc-8.0 too. - * elf32-ppc.c (ppc_elf_write_core_note): Likewise. - * elf64-ppc.c (ppc64_elf_write_core_note): Likewise. - * elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewise. - * elf32-s390.c (elf_s390_write_core_note): Comment fix. - * elf64-s390.c (elf_s390_write_core_note): Likewise. - -2018-07-24 Alan Modra - - PR 23430 - * dwarf2.c (dwarf_debug_section_enum): Fix comment typo. - * elf.c (bfd_section_from_shdr, elf_sort_sections): Likewise. - -2018-07-23 Max Filippov - - * elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Move - relocation sections consistency check to always check both - .rela.dyn and .rela.plt when they exist. Rearrange variable - definition and assignment places. - -2018-07-23 Max Filippov - - * elf32-xtensa.c (shrink_dynamic_reloc_sections): Shrink dynamic - relocations section for dynamic undefined weak symbols when - linking a shared object. - -2018-07-23 Tom Tromey - - * elf.c (bfd_get_elf_phdrs): Don't call memcpy with size 0. - -2018-07-21 Eric Botcazou - - * elf32-arm.c (elf32_arm_final_link_relocate) : Small - cleanup for the case of a global symbol that binds locally. Also - install a value in the GOT slot in the case of a local symbol in - a non-PIC link. - -2018-07-20 H.J. Lu - - PR ld/23428 - * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): If the - separate code program header is needed, make sure that the first - read-only PT_LOAD segment has no code by adding a - GNU_PROPERTY_X86_ISA_1_USED note. - -2018-07-20 Chenghua Xu - Maciej W. Rozycki - - * elfxx-mips.c (print_mips_ases): Add MMI extension. - -2018-07-20 Maciej W. Rozycki - - * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Do not - create DT_REL, DT_RELSZ or DT_RELENT dynamic entries if the - dynamic relocation section will be discarded from output. - (_bfd_mips_elf_finish_dynamic_sections) : Assert that - the dynamic relocation section will be retained in output. - -2018-07-18 Maciej W. Rozycki - - * xcofflink.c (xcoff_write_global_symbol): Fix symbol type - checks for defined weak symbols. - -2018-07-17 Maciej W. Rozycki - - * elf32-nds32.c (nds32_elf_relax_loadstore): Use - `bfd_is_abs_symbol' rather than `bfd_is_abs_section' in checking - whether the symbol is absolute. - (nds32_elf_relax_lo12): Likewise. - * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Likewise. - (elfNN_aarch64_check_relocs): Likewise. - * xcofflink.c (xcoff_need_ldrel_p): Likewise. - (bfd_xcoff_import_symbol): Likewise. - (xcoff_write_global_symbol): Likewise. - -2018-07-17 Maciej W. Rozycki - - * linker.c (bfd_is_abs_symbol): New macro. - * bfd-in2.h: Regenerate. - -2018-07-16 Edjunior Barbosa Machado - - * elf-bfd.h (elfcore_write_ppc_tar): Add prototype. - (elfcore_write_ppc_ppr): Likewise. - (elfcore_write_ppc_dscr): Likewise. - (elfcore_write_ppc_ebb): Likewise. - (elfcore_write_ppc_pmu): Likewise. - (elfcore_write_ppc_tm_cgpr): Likewise. - (elfcore_write_ppc_tm_cfpr): Likewise. - (elfcore_write_ppc_tm_cvmx): Likewise. - (elfcore_write_ppc_tm_cvsx): Likewise. - (elfcore_write_ppc_tm_spr): Likewise. - (elfcore_write_ppc_tm_ctar): Likewise. - (elfcore_write_ppc_tm_cppr): Likewise. - (elfcore_write_ppc_tm_cdscr): Likewise. - * elf.c (elfcore_write_ppc_tar): New function. - (elfcore_write_ppc_ppr): Likewise. - (elfcore_write_ppc_dscr): Likewise. - (elfcore_write_ppc_ebb): Likewise. - (elfcore_write_ppc_pmu): Likewise. - (elfcore_write_ppc_tm_cgpr): Likewise. - (elfcore_write_ppc_tm_cfpr): Likewise. - (elfcore_write_ppc_tm_cvmx): Likewise. - (elfcore_write_ppc_tm_cvsx): Likewise. - (elfcore_write_ppc_tm_spr): Likewise. - (elfcore_write_ppc_tm_ctar): Likewise. - (elfcore_write_ppc_tm_cppr): Likewise. - (elfcore_write_ppc_tm_cdscr): Likewise. - (elfcore_write_register_note): Call them. - (elfcore_grok_ppc_tar): New function. - (elfcore_grok_ppc_ppr): Likewise. - (elfcore_grok_ppc_dscr): Likewise. - (elfcore_grok_ppc_ebb): Likewise. - (elfcore_grok_ppc_pmu): Likewise. - (elfcore_grok_ppc_tm_cgpr): Likewise. - (elfcore_grok_ppc_tm_cfpr): Likewise. - (elfcore_grok_ppc_tm_cvmx): Likewise. - (elfcore_grok_ppc_tm_cvsx): Likewise. - (elfcore_grok_ppc_tm_spr): Likewise. - (elfcore_grok_ppc_tm_ctar): Likewise. - (elfcore_grok_ppc_tm_cppr): Likewise. - (elfcore_grok_ppc_tm_cdscr): Likewise. - (elfcore_grok_note): Call them. - -2018-07-11 Maciej W. Rozycki - - * elfxx-mips.c (mips_tls_got_relocs): Use `bfd_link_dll' rather - than `!bfd_link_pic' in determining the dynamic symbol index. - Avoid the index of -1. - (mips_elf_initialize_tls_slots): Likewise. Flatten code by - moving `dyn' to the beginning of the function block. - -2018-07-11 Maciej W. Rozycki - Rich Felker - - PR ld/22570 - * elfxx-mips.c (mips_tls_got_relocs): Use `bfd_link_dll' rather - than `bfd_link_pic' to determine whether dynamic relocations are - to be produced. - (mips_elf_initialize_tls_slots): Likewise. - -2018-07-10 Maciej W. Rozycki - - * elflink.c (bfd_elf_final_link): Rename `remove' local variable - to `remove_section'. - -2018-07-10 Alan Modra - - * elf32-xgate.h: Delete. - * elf32-xgate.c: Delete unnecessary forward declarations, add two - that are now needed. - (xgate_elf_bfd_link_hash_table_create) - (xgate_elf_bfd_link_hash_table_free) - (xgate_elf_set_mach_from_flags, struct xgate_scan_param) - (stub_hash_newfunc, elf32_xgate_add_symbol_hook) - (elf32_xgate_setup_section_lists, elf32_xgate_size_stubs) - (elf32_xgate_build_stubs, elf32_xgate_check_relocs) - (elf32_xgate_relocate_section, _bfd_xgate_elf_set_private_flags) - (elf32_xgate_post_process_headers): Delete. - (elf32_xgate_backend_symbol_processing): New function. - (xgate_elf_ignore_reloc, xgate_elf_special_reloc) - (_bfd_xgate_elf_print_private_bfd_data): Make static. - (ELF_TARGET_ID, elf_info_to_howto, elf_backend_check_relocs) - (elf_backend_relocate_section, elf_backend_object_p) - (elf_backend_final_write_processing, elf_backend_can_gc_sections) - (elf_backend_post_process_headers, elf_backend_add_symbol_hook) - (bfd_elf32_bfd_link_hash_table_create) - (bfd_elf32_bfd_set_private_flags) - (xgate_stub_hash_lookup): Don't define. - (elf_backend_symbol_processing): Define. - * elf-bfd.h (elf_target_id): Delete XGATE_ELF_DATA. - -2018-07-09 Maciej W. Rozycki - - * elfxx-mips.c (_bfd_mips_elf_adjust_dynamic_symbol): Don't set - `->needs_lazy_stub' if the stubs output section is the absolute - section. - -2018-07-09 H.J. Lu - - PR ld/23388 - * configure.ac: Use changequote for "i[3-7]86-*-linux-*". - * configure: Regenerated. - -2018-07-09 Alan Modra - - * elf32-m68hc1x.c (elf32_m68hc11_post_process_headers): Call - _bfd_elf_post_process_headers. - -2018-07-06 Max Filippov - - * elf32-xtensa.c (elf_xtensa_allocate_dynrelocs): Don't allocate - space for dynamic relocation for undefined weak symbol. - (elf_xtensa_relocate_section): Don't emit R_XTENSA_RELATIVE - relocation for undefined weak symbols. - (shrink_dynamic_reloc_sections): Don't shrink dynamic relocation - section for relocations against undefined weak symbols. - -2018-07-06 Alan Hayward - - * elf.c (elfcore_grok_aarch_sve): New function. - (elfcore_grok_note): Check for Aarch64 SVE. - (elfcore_write_aarch_sve): New function. - (elfcore_write_register_note): Check for Aarch64 SVE. - * elf-bfd.h(elfcore_grok_aarch_sve): New declaration. - -2018-07-06 Alan Modra - - * elf32-arm.c (elf32_arm_nabi_write_core_note): Don't use - DIAGNOTIC_PUSH and DIAGNOSTIC_POP unconditionally. - * elf32-ppc.c (ppc_elf_write_core_note): Likewise. - * elf32-s390.c (elf_s390_write_core_note): Likewise. - * elf64-ppc.c (ppc64_elf_write_core_note): Likewise. - * elf64-s390.c (elf_s390_write_core_note): Likewise. - * elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewise. - -2018-07-05 Jim Wilson - - * config.bfd (riscv32*-*-*): Renamed from riscv32-*-*. - (riscv64*-*-*): Likewise. - (riscv-*-*): Add as an alias for riscv32*-*-*. - -2018-07-05 H.J. Lu - - PR ld/23372 - * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Remove x86 - ISA properties with empty bits. - -2018-07-05 Nick Clifton - - * po/ru.po: Updated Russian translation. - -2018-07-05 Alan Modra - - * elf-bfd.h (_bfd_elf_ppc_merge_fp_attributes): Update prototype. - * elf32-ppc.c (_bfd_elf_ppc_merge_fp_attributes): Return error - on mismatch. Remove "warning: " from messages. Track last bfd - used to set tags. - (ppc_elf_merge_obj_attributes): Likewise. Handle status from - _bfd_elf_ppc_merge_fp_attributes. - * elf64-ppc.c (ppc64_elf_merge_private_bfd_data): Handle status - from _bfd_elf_ppc_merge_fp_attributes. - -2018-07-04 H.J. Lu - - * Makefile.am (bfdinclude_HEADERS): Add $(INCDIR)/diagnostics.h. - * Makefile.in: Regenerated. - -2018-07-03 Alan Modra - - * elflink.c (bfd_elf_final_link): Remove zero size .gnu.attributes - sections. - -2018-07-03 Alan Modra - - * elf-bfd.h (ATTR_TYPE_FLAG_ERROR, ATTR_TYPE_HAS_ERROR): Define. - * elf-attrs.c (is_default_attr): Handle ATTR_TYPE_HAS_ERROR. - * elf32-ppc.c (_bfd_elf_ppc_merge_fp_attributes): Use - ATTR_TYPE_FLAG_INT_VAL. Set ATTR_TYPE_HAS_ERROR on finding - incompatible attribute. - (ppc_elf_merge_obj_attributes): Likewise. Return - _bfd_elf_merge_object_attributes result. - * elf64-ppc.c (ppc64_elf_merge_private_bfd_data): Return - _bfd_elf_merge_object_attributes result. - -2018-07-03 Alan Modra - - PR 17550 - * elflink.c (_bfd_elf_fix_symbol_flags): Hide dynamic symbols - in discarded sections. - -2018-07-02 Maciej W. Rozycki - - * elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Set - `mark' for symbols created from `mips_elf_dynsym_rtproc_names' - list. - -2018-07-02 Maciej W. Rozycki - - * elf64-mips.c (micromips_elf64_howto_table_rel): Add - R_MICROMIPS_HI0_LO16, R_MICROMIPS_TLS_GD, R_MICROMIPS_TLS_LDM, - R_MICROMIPS_TLS_DTPREL_HI16, R_MICROMIPS_TLS_DTPREL_LO16, - R_MICROMIPS_TLS_GOTTPREL, R_MICROMIPS_TLS_TPREL_HI16, - R_MICROMIPS_TLS_TPREL_LO16, R_MICROMIPS_GPREL7_S2 and - R_MICROMIPS_PC23_S2 relocation entries. - (micromips_elf64_howto_table_rela): Likewise. - (micromips_reloc_map): Likewise. - * elfn32-mips.c (elf_micromips_howto_table_rel): Likewise. - (elf_micromips_howto_table_rela): Likewise. - (micromips_reloc_map): Likewise. - -2018-07-02 H.J. Lu - - PR ld/23324 - * elf64-x86-64.c (elf_x86_64_relocate_section): Clear the - R_X86_64_converted_reloc_bit bit. - -2018-07-02 Jeff Muizelaar - Tom Tromey - - PR 13157 - PR 21787 - * mach-o.c (bfd_mach_o_fat_close_and_cleanup): New function. - (bfd_mach_o_close_and_cleanup): Redefine. - * archive.c (_bfd_unlink_from_archive_parent): New function, - extracted from.. - (_bfd_archive_close_and_cleanup): ..here. - (bfd_generic_archive_p): Do not clear archive's format. - * libbfd-in.h (_bfd_unlink_from_archive_parent): Declare. - * libbfd.h: Regenerate. - -2018-07-02 Thomas Preud'homme - - * archures.c (bfd_mach_arm_5TEJ, bfd_mach_arm_6, bfd_mach_arm_6KZ, - bfd_mach_arm_6T2, bfd_mach_arm_6K, bfd_mach_arm_7, bfd_mach_arm_6M, - bfd_mach_arm_6SM, bfd_mach_arm_7EM, bfd_mach_arm_8, bfd_mach_arm_8R, - bfd_mach_arm_8M_BASE, bfd_mach_arm_8M_MAIN): Define. - * bfd-in2.h: Regenerate. - * cpu-arm.c (arch_info_struct): Add entries for above new - bfd_mach_arm values. - * elf32-arm.c (bfd_arm_get_mach_from_attributes): Add Tag_CPU_arch to - bfd_mach_arm mapping logic for pre Armv4 and Armv5TEJ and later - architectures. Force assert failure for any new Tag_CPU_arch value. - -2018-07-02 Thomas Preud'homme - - * doc/bfdint.texi: Use command-line consistently when used in a - compount word. - * doc/bfdsumm.texi: Likewise. - -2018-06-29 Maciej W. Rozycki - - * elfxx-mips.c (allocate_dynrelocs): Remove extraneous symbol - visibility check made for undefined weak symbols. - -2018-06-26 Nick Clifton - - * po/uk.po: Updated Ukranian translation. - -2018-06-25 Nick Clifton - - * elfnn-aarch64.c (_bfd_aarch64_erratum_835769_stub_name): Check - for malloc returning NULL. - (_bfd_aarch64_erratum_843419_fixup): Check for - _bfd_aarch64_erratum_835769_stub_name returning NULL. - -2018-06-24 Nick Clifton - - * po/bfd.pot: Regenerate. - -2018-06-24 Nick Clifton - - * version.m4: Update version string to 2.31.51. - * configure: Regenerate. - -2018-06-24 Nick Clifton - - 2.31 branch created. - -2018-06-21 Maciej W. Rozycki - - * elfxx-mips.c (_bfd_mips_elf_compact_eh_encoding) - (_bfd_mips_elf_cant_unwind_opcode): Correct formatting. - -2018-06-21 Maciej W. Rozycki - - * elfxx-mips.c (_bfd_mips_post_process_headers): Keep - EI_ABIVERSION setting together. - -2018-06-21 Maciej W. Rozycki - - * elfxx-mips.c (MIPS_LIBC_ABI_DEFAULT, MIPS_LIBC_ABI_MIPS_PLT) - (MIPS_LIBC_ABI_UNIQUE, MIPS_LIBC_ABI_MIPS_O32_FP64) - (MIPS_LIBC_ABI_MAX): New enumeration constants. - (_bfd_mips_post_process_headers): Use them in place of magic - numbers. - -2018-06-21 Jim Wilson - - * elfnn-riscv.c (riscv_elf_finish_dynamic_symbol): Update comment. - Use SYMBOL_REFERENCES_LOCAL. Add asserts for h->got.offset. - -2018-06-21 Alan Modra - - * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign". - * doc/Makefile.in: Regenerate. - -2018-06-20 Renlin Li - - * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Use PG_OFFSET - to resolve BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC, - BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC, - BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC, - BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC, - BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC, - BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC, - BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC, - BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC. - -2018-06-20 Nick Clifton - - PR 23316 - * opncls.c (get_build_id): Check for a negative or excessive data - size in the build-id note. - -2018-06-20 Nick Clifton - - PR 23299 - * mach-o.c (cputype): New function. - (cpusubtype): New function. - (bfd_mach_o_bfd_print_private_data): New function. Dispalys the - values in the MACH-O file header. - (bfd_mach_o_bfd_copy_private_header_data): Copy the cputype and - cpusubtype fields from the input bfd's mach-o header to the output - bfd. - * mach-o-target.c (bfd_mach_o_bfd_print_private_bfd_data): - Redefine to bfd_mach_o_bfd_print_private_data. - * mach-o.h (bfd_mach_o_bfd_print_private_bfd_data): Prototype. - -2018-06-19 Maciej W. Rozycki - - PR ld/22966 - * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Verify the - `.got.plt' entry referred is in range. - (mips_finish_exec_plt): Correct the range check for `.got.plt' - start. Replace the assertion used for that with a proper error - message. - -2018-06-19 Maciej W. Rozycki - - * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Fix - formatting. - -2018-06-19 Simon Marchi - - * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11. - (INCLUDES): Rename to ... - (AM_CPPFLAGS): ... this. - * configure.ac: Remove AC_PREREQ. - * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9, cygnus, add - info-in-builddir no-texinfo.tex. - (info_TEXINFOS): Rename bfd.texinfo to bfd.texi. - * doc/bfd.texinfo: Rename to ... - * doc/bfd.texi: ... this. - * Makefile.in: Re-generate. - * aclocal.m4: Re-generate. - * config.in: Re-generate. - * configure: Re-generate. - * doc/Makefile.in: Re-generate. - -2018-06-18 Mephi - - PR 23297 - * mach-o-x86-64.c (x86_64_howto_table): Add entry for - BFD_RELOC_MACH_O_X86_64_RELOC_TLV. - (bfd_mach_o_x86_64_canonicalize_one_reloc): Handle the new reloc. - (bfd_mach_o_x86_64_swap_reloc_out): Likewise. - * reloc.c (BFD_RELOC_MACH_O_X86_64_TV): New entry. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2018-06-14 Faraz Shahbazker - - * elfxx-mips.c (print_mips_ases): Add GINV extension. - -2018-06-14 H.J. Lu - - PR binutils/23267 - * elf.c (_bfd_elf_get_symbol_version_string): Check if the first - symbol version is base version. - -2018-06-14 Alan Modra - - * elf-bfd.h (struct elf_link_hash_table): Add "dynamic_relocs". - * elflink.c (_bfd_elf_init_2_index_sections): Comment fix. - (_bfd_elf_add_dynamic_entry): Set "dynamic_relocs". - (_bfd_elf_link_renumber_dynsyms): Exclude all section symbols when - "dynamic_relocs" is not set. - * elfxx-mips.c (count_section_dynsyms): Likewise. - -2018-06-14 Alan Modra - - PR 23282 - * bfdio.c (bfd_seek): Optimize away seeks to current position. - -2018-06-13 Scott Egerton - Faraz Shahbazker - - * elfxx-mips.c (print_mips_ases): Add CRC. - -2018-06-08 H.J. Lu - - PR ld/23161 - * elfxx-x86.c (elf_x86_hide_linker_defined): New function. - (_bfd_x86_elf_link_check_relocs): Use it to hide hidden - __bss_start, _end and _edata in shared libraries. - -2018-06-07 Alan Modra - - * elf32-tic6x.c (elf32_tic6x_check_relocs): Reference - __c6xabi_DSBT_BASE explicitly for R_C6000_SBR_* relocs. - -2018-06-05 Alan Modra - - * bfd.c (struct bfd): Update comment on "where" usage. - * bfdio.c (bfd_bwrite, bfd_stat): Use and update "iovec", - "iostream", and "where" from containing archive file. Return - error on NULL iovec. - (bfd_bread): Similarly, and return error attempted out of - bounds archive element access. - (bfd_tell, bfd_flush): Use and update "iovec", "iostream", and - "where" from containing archive file. - (bfd_seek): Likewise. Return error on NULL iovec. Don't - attempt to optimize away seeks. Don't paper over errors by - calling bfd_tell. - (bfd_get_mtime): Call bfd_stat rather than iovec->bstat. - (bfd_get_size): Likewise. - (bfd_mmap): Operate on and use iovec of containing archive - file. Return error on NULL iovec. - * cache.c (bfd_cache_lookup_worker): Abort if working on - archive element bfd. - (cache_bread_1): Delete bfd parameter, add FILE* parameter. - Don't ignore zero byte reads. - (cache_bread): Look up FILE* in cache here. Error on NULL - lookup. - (cache_bwrite): Rename "where" to "from". - (cache_bmmap): Don't handle archive elements. - * coffcode.h (coff_slurp_line_table): Exit early on zero - lineno count. - * bfd-in2.h: Regenerate. - -2018-06-05 Alan Modra - - PR 23254 - * plugin.c (bfd_plugin_open_input): Allow for possibility of - nested archives. Open file again for plugin. - (try_claim): Don't save and restore file position. Close file - if not claimed. - * sysdep.h (O_BINARY): Define. - -2018-06-04 Max Filippov - - * elf32-xtensa.c (xtensa_read_table_entries): Make global. - (compute_fill_extra_space): Drop declaration. Rename function to - xtensa_compute_fill_extra_space. - (compute_ebb_actions, remove_dead_literal): Update references to - compute_fill_extra_space. - -2018-06-04 Volodymyr Arbatov - - * elf32-xtensa.c (elf32xtensa_separate_props): New global - variable. - (xtensa_add_names): New function. - (xtensa_property_section_name): Add new parameter - separate_sections, use it to choose property section name. - (xtensa_get_separate_property_section): New function. - (xtensa_get_property_section): Invoke - xtensa_get_separate_property_section to get individual property - section if it exists, common property section otherwise. - (xtensa_make_property_section): Pass elf32xtensa_separate_props - to xtensa_property_section_name. - -2018-06-04 H.J. Lu - - PR binutils/23146 - * bfd-in.h: Include "diagnostics.h". - * bfd-in2.h: Regenerated. - * elf32-arm.c (elf32_arm_nabi_write_core_note): Use - DIAGNOSTIC_PUSH, DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION and - DIAGNOSTIC_POP to silence GCC 8.1 warnings with - -Wstringop-truncation. - * elf32-ppc.c (ppc_elf_write_core_note): Likewse. - * elf32-s390.c (elf_s390_write_core_note): Likewse. - * elf64-ppc.c (ppc64_elf_write_core_note): Likewse. - * elf64-s390.c (elf_s390_write_core_note): Likewse. - * elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewse. - -2018-06-03 Jim Wilson - - PR ld/23244 - * elfnn-riscv.c (riscv_elf_relocate_section) : Check - for and handle an undefined weak with no PLT. - - PR ld/22756 - * elfnn-riscv.c (riscv_relax_delete_bytes): Add versioned_hidden check - to code that ignores duplicate symbols. - -2018-06-01 H.J. Lu - - * version.m4: Bump version to 2.30.52 - * configure: Regenerated. - -2018-06-01 Alan Modra - - * bfd.c (_bfd_error_handler): Arrange for this function to be - declared in bfd-in2.h. - * libbfd-in.h (_bfd_error_handler): Don't declare. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - -2018-05-30 Amaan Cheval - - * config.bfd (x86_64-*-*): Add pei-x86-64 target to x86_64-*-rtems* - This is needed to generate UEFI application image files from ELFs. - -2018-05-28 H.J. Lu - - * elf32-i386.c (elf_i386_lazy_plt): Add plt_tlsdesc_entry, - plt_tlsdesc_entry_size, plt_tlsdesc_got1_offset, - plt_tlsdesc_got2_offset, plt_tlsdesc_got1_insn_end and - plt_tlsdesc_got2_insn_end for TLSDESC entry. - (elf_i386_lazy_ibt_plt): Likewise. - (elf_i386_nacl_plt): Likewise. - * elf64-x86-64.c (tlsdesc_plt_entry): Moved and renamed to ... - (elf_x86_64_tlsdesc_plt_entry): This. - (elf_x86_64_lazy_plt): Add plt_tlsdesc_entry, - plt_tlsdesc_entry_size, plt_tlsdesc_got1_offset, - plt_tlsdesc_got2_offset, plt_tlsdesc_got1_insn_end and - plt_tlsdesc_got2_insn_end for TLSDESC entry. - (elf_x86_64_lazy_bnd_plt): Likewise. - (elf_x86_64_lazy_ibt_plt): Likewise. - (elf_x32_lazy_ibt_plt): Likewise. - (elf_x86_64_nacl_plt): Likewise. - (elf_x86_64_finish_dynamic_sections): Use plt_tlsdesc_entry, - plt_tlsdesc_entry_size, plt_tlsdesc_got1_offset, - plt_tlsdesc_got2_offset, plt_tlsdesc_got1_insn_end and - plt_tlsdesc_got2_insn_end to update TLSDESC entry. - * elfxx-x86.h (elf_x86_lazy_plt_layout): Update comments. - Add plt_tlsdesc_entry, plt_tlsdesc_entry_size, - plt_tlsdesc_got1_offset, plt_tlsdesc_got2_offset, - plt_tlsdesc_got1_insn_end and plt_tlsdesc_got2_insn_end. - (elf_x86_non_lazy_plt_layout): Update comments. - (elf_x86_plt_layout): Likewise. - -2018-05-28 H.J. Lu - - PR ld/23238 - * elf-s390-common.c (elf_s390_add_symbol_hook): Removed. - * elf32-arc.c (elf_arc_add_symbol_hook): Likewise. - (elf_backend_add_symbol_hook): Likewise. - * elf32-m68k.c (elf_m68k_add_symbol_hook): Likewise. - (elf_backend_add_symbol_hook): Likewise. - * elf32-s390.c (elf_backend_add_symbol_hook): Likewise. - * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise. - (elf_backend_add_symbol_hook): Likewise. - * elf64-s390.c (elf_backend_add_symbol_hook): Likewise. - * elfxx-aarch64.c (_bfd_aarch64_elf_add_symbol_hook): Likewise. - * elfxx-aarch64.h (_bfd_aarch64_elf_add_symbol_hook): Likewise. - (elf_backend_add_symbol_hook): Likewise. - * elf32-arm.c (elf32_arm_add_symbol_hook): Remove STT_GNU_IFUNC - handling. - * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise. - * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise. - * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise. - * elflink.c (elf_link_add_object_symbols): Set - elf_gnu_symbol_ifunc for STT_GNU_IFUNC symbols. - -2018-05-26 H.J. Lu - - PR ld/23194 - * elf-bfd.h (_bfd_elf_link_hide_sym_by_version): New. - * elflink.c (_bfd_elf_link_hide_versioned_symbol): New function. - Extracted from _bfd_elf_link_assign_sym_version. - (_bfd_elf_link_hide_sym_by_version): New function. - (_bfd_elf_link_assign_sym_version): Use - _bfd_elf_link_hide_versioned_symbol. - * elfxx-x86.c (_bfd_x86_elf_link_symbol_references_local): Call - _bfd_elf_link_hide_sym_by_version instead of - bfd_hide_sym_by_version. Don't check unversioned symbol. - -2018-05-25 Alan Modra - - * Makefile.in: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-05-25 Alan Modra - - * configure.ac (bfd_cv_hidden): Run test with -Werror in CFLAGS. - * configure: Regenerate. - -2018-05-23 H.J. Lu - - * elf64-ppc.c (ppc64_elf_write_core_note): Add ATTRIBUTE_NONSTRING - to data. - -2018-05-22 Alan Modra - - PR 23207 - * elf32-hppa.c (hppa_get_stub_entry): Return NULL when link_sec - is NULL. - (elf32_hppa_size_stubs): Only create stubs for load, alloc, code - sections. - (final_link_relocate): Revert last change. - -2018-05-22 Alan Modra - - PR 23207 - * elf32-hppa.c (final_link_relocate): Don't look for plt call - stubs in non-alloc sections. - -2018-05-21 H.J. Lu - - PR ld/23201 - * aout-target.h (MY_bfd_link_hide_symbol): New. - * aout-tic30.c (MY_bfd_link_hide_symbol): Likewise. - * binary.c (binary_bfd_link_hide_symbol): Likewise. - * coff-alpha.c (_bfd_ecoff_bfd_link_hide_symbol): Likewise. - * coff-mips.c (_bfd_ecoff_bfd_link_hide_symbol): Likewise. - * coff-rs6000.c (_bfd_xcoff_bfd_link_hide_symbol): Likewise. - * coffcode.h (coff_bfd_link_hide_symbol): Likewise. - * elf-bfd.h (_bfd_elf_link_hide_symbol): Likewise. - * elfxx-target.h (bfd_elfNN_bfd_link_hide_symbol): Likewise. - * i386msdos.c (msdos_bfd_link_hide_symbol): Likewise. - * ihex.c (ihex_bfd_link_hide_symbol): Likewise. - * libbfd-in.h (_bfd_nolink_bfd_link_hide_symbol): Likewise. - * linker.c (_bfd_generic_link_hide_symbol): Likewise. - (bfd_link_hide_symbol): Likewise. - * mach-o-target.c (bfd_mach_o_bfd_link_hide_symbol): Likewise. - * mmo.c (mmo_bfd_link_hide_symbol): Likewise. - * pef.c (bfd_pef_bfd_link_hide_symbol): Likewise. - * plugin.c (bfd_plugin_bfd_link_hide_symbol): Likewise. - * ppcboot.c (ppcboot_bfd_link_hide_symbol): Likewise. - * som.c (som_bfd_link_hide_symbol): Likewise. - * srec.c (srec_bfd_link_hide_symbol): Likewise. - * tekhex.c (tekhex_bfd_link_hide_symbol): Likewise. - * vms-alpha.c (vms_bfd_link_hide_symbol): Likewise. - (alpha_vms_bfd_link_hide_symbol): Likewise. - * xsym.c (bfd_sym_bfd_link_hide_symbol): Likewise. - * coff64-rs6000.c (rs6000_xcoff64_vec): Add - _bfd_generic_link_hide_symbol. - (rs6000_xcoff64_aix_vec): Likewise. - * elflink.c (bfd_elf_record_link_assignment): Don't make forced - local symbol dynamic. - (_bfd_elf_link_hide_symbol): New function. - * elfxx-x86.c (_bfd_x86_elf_link_symbol_references_local): Don't - check root.ldscript_def. - * targets.c (bfd_target): Add _bfd_link_hide_symbol. - (BFD_JUMP_TABLE_LINK): Add NAME##_bfd_link_hide_symbol. - * bfd-in2.h: Regenerated. - * libbfd.h: Likewise. - -2018-05-21 H.J. Lu - - PR binutils/23199 - * elf.c (setup_group): Mark section in a section group with - SHF_GROUP. - -2018-05-18 H.J. Lu - - PR ld/23194 - * elfxx-x86.c (_bfd_x86_elf_link_symbol_references_local): Don't - set eh->local_ref to 1 if a symbol is versioned and there is a - version script. - -2018-05-18 Kito Cheng - - * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Handle - EF_RISCV_RVE. - -2018-05-18 Jim Wilson - - * elfnn-riscv.c (allocate_dynrelocs): Discard dynamic relocations if - UNDEFWEAK_NO_DYNAMIC_RELOC is true. - (riscv_elf_relocate_section): Don't generate dynamic relocation if - UNDEFWEAK_NO_DYNAMIC_RELOC is true. - (riscv_elf_finish_dynamic_symbol): Likewise. - -2018-05-18 John Darrington - - * Makefile.am: Add s12z files. - * Makefile.in: Regenerate. - * archures.c: Add bfd_s12z_arch. - * bfd-in.h: Add exports of bfd_putb24 and bfd_putl24. - * bfd-in2.h: Regenerate. - * config.bfd: Add s12z target. - * configure.ac: Add s12z target. - * configure: Regenerate. - * cpu-s12z.c: New file. - * elf32-s12z.c: New file. - * libbfd.c (bfd_putb24): New function. - (bfd_putl24): New function. - * libbfd.h: Regenerate. - * reloc.c: Add s12z relocations. - (bfd_get_reloc_size): Handle size 5 relocs. - * targets.c: Add s12z_elf32_vec. - -2018-05-18 H.J. Lu - - PR ld/23189 - * elf32-i386.c (elf_i386_relocate_section): Handle R_386_GOT32X - like R_386_GOT32. - * elfxx-x86.c (_bfd_x86_elf_link_symbol_references_local): Don't - set eh->local_ref to 1 for linker defined symbols. - -2018-05-18 Alan Modra - - PR 23199 - * elf.c (setup_group): Formatting. Check that SHT_GROUP entries - don't point at other SHT_GROUP sections. Set shdr corresponding - to invalid entry, to NULL rather than section 0. Identify - SHT_GROUP section index when reporting an error. Cope with NULL - shdr pointer. - -2018-05-18 Alan Modra - - * libbfd-in.h (ATTRIBUTE_HIDDEN): Define and use throughout. - * configure.ac (HAVE_HIDDEN): Check compiler support for hidden - visibility. - * libbfd.h: Regenerate. - * configure: Regenerate. - * config.in: Regenerate. - -2018-05-18 Alan Modra - - * libbfd-in.h: Add include guard. - * libcoff-in.h: Likewise. - * doc/Makefile.am (libbfd.h, libcoff.h): Append another #endif. - * doc/Makefile.in: Regenerate. - * libbfd.h: Regenerate. - * libcoff.h: Regenerate. - -2018-05-16 Maciej W. Rozycki - - * elf32-nds32.c (nds32_convert_32_to_16): Preset `insn_type'. - -2018-05-16 Alan Modra - - PR 22458 - * format.c (struct bfd_preserve): Add section_id. - (bfd_preserve_save, bfd_preserve_restore): Save and restore - _bfd_section_id. - (bfd_reinit): Set _bfd_section_id. - (bfd_check_format_matches): Put all matches of any priority into - matching_vector. Save initial section id and start each attempted - match at that section id. - * libbfd-in.h (_bfd_section_id): Declare. - * section.c (_bfd_section_id): Rename from section_id and make - global. Adjust uses. - (bfd_get_next_section_id): Delete. - * elf64-ppc.c (ppc64_elf_setup_section_lists): Replace use of - bfd_get_section_id with _bfd_section_id. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - -2018-05-15 Christophe Guillon - - * coffcode.h (coff_bigobj_swap_aux_in): Make sure that all fields - of the aux structure are initialised. - -2018-05-15 Francois H. Theron - - * targets.c: Wrap nfp_elf64_vec in BFD64 ifdef. - -2018-05-15 Nick Clifton - - * po/pt.po: New Portuguese translation. - * configure.ac (ALL_LINGUAS): Add pt. - * configure: Regenerate. - -2018-05-14 H.J. Lu - - PR ld/23169 - * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Don't issue - an error on IFUNC pointer defined in PDE. - * elf32-i386.c (elf_i386_finish_dynamic_symbol): Call - _bfd_x86_elf_link_fixup_ifunc_symbol. - * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise. - * elfxx-x86.c (_bfd_x86_elf_link_fixup_ifunc_symbol): New - function. - * elfxx-x86.h (_bfd_x86_elf_link_fixup_ifunc_symbol): New. - -2018-05-14 H.J. Lu - - PR ld/23162 - * elfxx-x86.c (elf_x86_linker_defined): New function. - (_bfd_x86_elf_link_check_relocs): Use it to mark __bss_start, - _end and _edata locally defined within executables. - -2018-05-12 Alan Modra - - PR 20659 - * elf.c (rewrite_elf_program_header): Use segment_mark only for - PT_LOAD headers. Delete first_matching_lma and first_suggested_lma. - Instead make matching_lma and suggested_lma pointers to the - sections. Align section vma and lma calculated from segment. - Don't clear includes_phdrs or includes_filehdr based on p_paddr - test. Try to handle alignment padding before first section by - adjusting new segment lma down. Adjust PT_PHDR map p_paddr. - -2018-05-09 Dimitar Dimitrov - - * elf32-pru.c (pru_elf32_do_ldi32_relocate): Make LDI32 relocation - conformant to TI ABI. - (pru_elf32_relax_section): Likewise. - (pru_elf_relax_delete_bytes): Fix offsets for new LDI32 code. - * elf32-pru.c (pru_elf32_do_ldi32_relocate): Ignore addend. - (pru_elf32_pmem_relocate): Trap - should not get here. - (pru_elf32_relocate_section): Add support for REL relocations. - (elf_info_to_howto_rel): Enable REL. - (elf_backend_may_use_rel_p): Likewise. - (elf_backend_may_use_rela_p): Likewise. - (elf_backend_default_use_rela_p): Likewise. - -2018-05-09 Alan Modra - - PR 23148 - * peXXigen.c (pe_print_edata): Correct minimum size. - -2018-05-09 Alan Modra - - PR 23147 - * peXXigen.c (pe_print_idata): Bound check hint_addr. - -2018-05-08 Nick Clifton - - PR 22809 - * elf.c (bfd_elf_get_str_section): Check for an excessively large - string section. - * elf-attrs.c (_bfd_elf_parse_attributes): Issue an error if the - attribute section is larger than the size of the file. - -2018-05-07 Alan Modra - - * cofflink.c (_bfd_coff_link_input_bfd): Use memcmp rather than - strncmp when checking for ".bf" special symbol. - * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Make pe_required_section_flags - section name a char array, remove sentinal known_sections entry, - and adjust loop over known_sections to suit. Use memcmp rather - than strncmp. - -2018-05-04 Alan Modra - - * elf-linux-core.h (struct elf_external_linux_prpsinfo32_ugid32), - (struct elf_external_linux_prpsinfo32_ugid16), - (struct elf_external_linux_prpsinfo64_ugid32), - (struct elf_external_linux_prpsinfo64_ugid16): Add ATTRIBUTE_NONSTRING - to pr_fname and pr_psargs fields. Remove GCC diagnostic pragmas. - Move comment to.. - * elf.c (elfcore_write_prpsinfo): ..here. Indent nested preprocessor - directives. - * elf32-arm.c (elf32_arm_nabi_write_core_note): Add ATTRIBUTE_NONSTRING - to data. - * elf32-ppc.c (ppc_elf_write_core_note): Likewise. - * elf32-s390.c (elf_s390_write_core_note): Likewise. - * elf64-s390.c (elf_s390_write_core_note): Likewise. - * elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewise. - * elf64-x86-64.c (elf_x86_64_write_core_note): Add GCC diagnostic - pragmas. - * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Use strnlen to avoid - false positive gcc-8 warning. - * cofflink.c (_bfd_coff_link_input_bfd): Likewise. - -2018-05-04 Tulio Magno Quites Machado Filho - - * elf32-ppc.c (_bfd_elf_ppc_merge_fp_attributes): Fix the order - of arguments when warning about different long double types. - -2018-05-03 Simon Atanasyan - - * elf32-mips.c: (elf32_mips_fixup_symbol): New function. - (elf_backend_fixup_symbol): New macro. - * elfxx-mips.c: (mips_elf_output_extsym): Discard _gp_disp - handling. - (_bfd_mips_elf_finish_dynamic_symbol): Likewise. - -2018-04-30 Francois H. Theron - - * Makefile.am: Added NFP files to build. - * archures.c: Added bfd_arch_nfp - * config.bfd: Added NFP support. - * configure.ac: Added NFP support. - * cpu-nfp.c: New, for NFP support. - * elf-bfd.h: Added elf_section_info() - * elf64-nfp.c: New, for NFP support. - * po/SRC-POTFILES.in: Added NFP source files. - * targets.c: Added nfp_elf64_vec - * bfd-in2.h: Regenerate. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2018-04-27 Alan Modra - - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2018-04-27 Alan Modra - - PR 23123 - PR 22374 - * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't drop plt - relocs for ifuncs. - * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Comment fixes. - -2018-04-26 Pedro Alves - - * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't consider - ifunc and non-ifunc symbols duplicates. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * elf32-arm.c (elf32_arm_fdpic_thumb_plt_entry): New. - (elf32_arm_plt_needs_thumb_stub_p): Handle thumb-only case. - (elf32_arm_populate_plt_entry): Likewise. - (elf32_arm_output_plt_map_1): Likewise. - (elf32_arm_output_arch_local_syms): Likewise. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Handle - _GLOBAL_OFFSET_TABLE_ in FDPIC mode. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * elf32-arm.c (bfd_elf32_arm_set_target_params): Handle FDPIC case - for R_ARM_TARGET2. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * elf32-arm.c (DEFAULT_STACK_SIZE): New. - (elf32_arm_always_size_sections): Create stack segment. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * bfd-in2.h (BFD_RELOC_ARM_TLS_GD32_FDPIC) - (BFD_RELOC_ARM_TLS_LDM32_FDPIC, BFD_RELOC_ARM_TLS_IE32_FDPIC): New - relocations. - * elf32-arm.c (elf32_arm_howto_table_2): Add R_ARM_TLS_GD32_FDPIC, - R_ARM_TLS_LDM32_FDPIC, R_ARM_TLS_IE32_FDPIC relocations. - (elf32_arm_reloc_map): Add R_ARM_TLS_GD32_FDPIC, - R_ARM_TLS_LDM32_FDPIC, R_ARM_TLS_IE32_FDPIC. - (struct elf32_arm_link_hash_table): Update comment. - (elf32_arm_final_link_relocate): Handle TLS FDPIC relocations. - (IS_ARM_TLS_RELOC): Likewise. - (elf32_arm_check_relocs): Likewise. - (allocate_dynrelocs_for_symbol): Likewise. - (elf32_arm_size_dynamic_sections): Update comment. - * reloc.c: Add BFD_RELOC_ARM_TLS_GD32_FDPIC, - BFD_RELOC_ARM_TLS_LDM32_FDPIC, BFD_RELOC_ARM_TLS_IE32_FDPIC. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * elf32-arm.c (elf32_arm_fdpic_plt_entry): New. - (elf32_arm_create_dynamic_sections): Handle FDPIC. - (elf32_arm_allocate_plt_entry): Likewise. - (elf32_arm_populate_plt_entry): Likewise. - (elf32_arm_output_plt_map_1): Likewise. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * elf32-arm.c (struct fdpic_local): New. - (elf_arm_obj_tdata): Add local_fdpic_cnts field. - (elf32_arm_local_fdpic_cnts): New. - (struct fdpic_global): New. - (elf32_arm_link_hash_entry): Add fdpic_cnts field. - (elf32_arm_link_hash_table): Add srofixup field. - (arm_elf_add_rofixup): New. - (arm_elf_fill_funcdesc): New. - (elf32_arm_link_hash_newfunc): Handle fdpic_cnts. - (elf32_arm_allocate_local_sym_info): Likewise. - (create_got_section): Create .rofixup section. - (elf32_arm_copy_indirect_symbol): Handle fdpic_cnts. - (bfd_elf32_arm_set_target_params): Handle FDPIC. - (elf32_arm_final_link_relocate): Likewise. - (elf32_arm_check_relocs): Likewise. - (allocate_dynrelocs_for_symbol): Likewise. - (elf32_arm_size_dynamic_sections): Likewise. - (elf32_arm_finish_dynamic_sections): Likewise. - (elf32_arm_output_arch_local_syms): Likewise. - (elf32_arm_fdpic_omit_section_dynsym): New. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * bfd-in2.c (BFD_RELOC_ARM_GOTFUNCDESC) - (BFD_RELOC_ARM_GOTOFFFUNCDESC, BFD_RELOC_ARM_FUNCDESC) - (BFD_RELOC_ARM_FUNCDESC_VALUE): New. - * elf32-arm.c (elf32_arm_howto_table_2): Add R_ARM_GOTFUNCDESC, - R_ARM_GOTOFFFUNCDESC, R_ARM_FUNCDESC, R_ARM_FUNCDESC_VALUE. - (elf32_arm_howto_from_type): Take new members of - elf32_arm_howto_table_2 into account. - (elf32_arm_reloc_map): Add BFD_RELOC_ARM_GOTFUNCDESC, - BFD_RELOC_ARM_GOTOFFFUNCDESC, BFD_RELOC_ARM_FUNCDESC, - BFD_RELOC_ARM_FUNCDESC_VALUE. - * reloc.c: Add BFD_RELOC_ARM_GOTFUNCDESC, - BFD_RELOC_ARM_GOTOFFFUNCDESC, BFD_RELOC_ARM_FUNCDESC, - BFD_RELOC_ARM_FUNCDESC_VALUE. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * elf32-arm.c (elf32_arm_print_private_bfd_data): Support - EF_ARM_PIC and ELFOSABI_ARM_FDPIC. - (elf32_arm_post_process_headers): Support ELFOSABI_ARM_FDPIC. - (ELF_OSABI): Define to ELFOSABI_ARM_FDPIC. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * config.bfd (arm*-*-linux-*): Add arm_elf32_fdpic_be_vec and - arm_elf32_fdpic_le_vec to targ_selvecs. Accept - arm*-*-uclinuxfdpiceabi. - * configure.ac: Add support for arm_elf32_fdpic_be_vec and - arm_elf32_fdpic_le_vec. - * configure: Regenerate. - * elf32-arm.c (struct elf32_arm_link_hash_table): Add fdpic_p. - (elf32_arm_link_hash_table_create): Initialize fdpic_p. - (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, TARGET_BIG_SYM) - (TARGET_BIG_NAME, elf_match_priority): Define for FDPIC targets. - (elf32_arm_fdpic_link_hash_table_create): New. - * targets.c (_bfd_target_vector): Add arm_elf32_fdpic_be_vec and - arm_elf32_fdpic_le_vec. - -2018-04-25 Alan Modra - - * elf-linux-core.h: Disable gcc-8 string truncation warning. - * elf.c (elfcore_write_prpsinfo): Likewise. - -2018-04-25 Alan Modra - - * Makefile.am: Remove arm-aout and arm-coff support. - * config.bfd: Likewise. - * configure.ac: Likewise. - * targets.c: Likewise. - * aout-arm.c: Delete. - * armnetbsd.c: Delete. - * riscix.c: Delete. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-24 Nick Clifton - - PR 23113 - * elf.c (ignore_section_sym): Check for the output_section pointer - being NULL before dereferencing it. - - PR 23110 - * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Check for - a negative PE_DEBUG_DATA size before iterating over the debug data. - -2018-04-23 Alan Modra - - * elf-linux-core.h: Revert last change. - * elf.c: Likewise. - -2018-04-23 Nick Clifton - - PR 23056 - * aoutx.h (aout_get_external_symbols): Allocate an extra byte at - the end of the string table, and zero it. - -2018-04-23 Alan Modra - - * elf-linux-core.h (swap_linux_prpsinfo32_ugid32_out): Disable - gcc-8 string truncation warning. - (swap_linux_prpsinfo32_ugid16_out): Likewise. - (swap_linux_prpsinfo64_ugid32_out): Likewise. - (swap_linux_prpsinfo64_ugid16_out): Likewise. - * elf.c (elfcore_write_prpsinfo): Likewise. - -2018-04-23 Nick Clifton - - PR 23056 - * aoutx.h (aout_get_external_symbols): Allocate an extra byte at - the end of the string table, and zero it. - -2018-04-20 Alan Modra - - PR 22978 - * elf32-hppa.c (got_relocs_needed): Add extra param to special - case both dtprel and tprel relocs. - (allocate_dynrelocs): Adjust conditions for got relocs. - (elf32_hppa_relocate_section): Likewise for local sym got relocs. - Emit dynamic relocs on TLS GOT entries for shared libraries, - not when pic. Omit dynamic reloc on dtprel entry when local, - and on tprel entry when local and executable. - -2018-04-19 Alan Modra - - PR 22537 - * elf32-hppa.c (elf32_hppa_size_stubs): Init "destination" to -1. - (hppa_type_of_stub): Don't return a long branch stub for - symbols other than those defined statically. - -2018-04-19 Alan Modra - - * Makefile.am: Revert 2018-04-18 coff-mips changes. - * config.bfd: Add back mips_ecoff_le_vec and mips_ecoff_be_vec - to selvecs for mips targets change 2018-04-18. - * configure.ac: Reinstate mips_ecoff_le_vec, mips_ecoff_be_vec - and mips_ecoff_bele_vec. - * targets.c: Likewise. - * coff-mips.c: Resurrect. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-18 Alan Modra - - * Makefile.am: Remove mips aout and coff support. - * config.bfd: Likewise. - * configure.ac: Likewise. - * targets.c: Likewise. - * coff-mips.c: Delete - * mipsbsd.c: Delete - * pe-mips.c: Delete - * pei-mips.c: Delete - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-17 H.J. Lu - - * elf32-i386.c (elf32_bed): Define before including - "elf32-target.h". - * elf64-x86-64.c (elf64_bed): Define before including - "elf64-target.h". - (elf32_bed): Define before including "elf32-target.h". - -2018-04-17 H.J. Lu - - PR ld/23055 - * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Use a - normal input file with compatible relocation. - -2018-04-18 Alan Modra - - * Makefile.am: Remove support for assorted i386 aout and coff targets. - * config.bfd: Likewise. - * configure.ac: Likewise. - * doc/bfdint.texi: Likewise. - * targets.c: Likewise. - * freebsd.h: Delete. - * i386dynix.c: Delete. - * i386freebsd.c: Delete. - * i386linux.c: Delete. - * i386mach3.c: Delete. - * i386netbsd.c: Delete. - * i386os9k.c: Delete. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-17 Andrew Sadek - - Microblaze Target: PIC data text relative - - * bfd/reloc.c (2 new BFD relocations): - BFD_RELOC_MICROBLAZE_64_TEXTPCREL & - BFD_RELOC_MICROBLAZE_64_TEXTPCREL - * bfd/bfd-in2.h: Regenerate - * bfd/libbfd.h: Regenerate - * bfd/elf32-microblaze.c (Handle new relocs): define 'HOWTO' of 3 - new relocs and handle them in both relocate and relax functions. - (microblaze_elf_reloc_type_lookup): add mapping between for new - bfd relocs. - (microblaze_elf_relocate_section): Handle new relocs in case of - elf relocation. - (microblaze_elf_relax_section): Handle new relocs for elf relaxation. - -2018-04-17 Nick Clifton - - PR 23055 - * aoutx.h (find_nearest_line): Check that the symbol name exists - and is long enough, before attempting to see if it is for a .o - file. - * hash.c (bfd_hash_hash): Add an assertion that the string is not - NULL. - * linker.c (bfd_link_hash_lookup): Fail if the table or string are - NULL. - (_bfd_generic_link_add_archive_symbols): Fail if an archive entry - has no name. - - PR 23065 - * dwarf2.c (concat_filename): Check for a NULL table pointer. - -2018-04-16 Nick Clifton - - PR 23061 - * coffgen.c (coff_pointerize_aux): Check for an out of range - fixup. - -2018-04-16 Alan Modra - - * Makefile.am: Remove arm-epoc-pe support. - * coff-arm.c: Likewise. - * config.bfd: Likewise. - * configure.ac: Likewise. - * targets.c: Likewise. - * epoc-pe-arm.c: Delete. - * epoc-pei-arm.c: Delete. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove sparc-aout and sparc-coff support. - * config.bfd: Likewise. - * configure.ac: Likewise. - * targets.c: Likewise. - * aout-sparcle.c: Delete. - * aoutf1.h: Delete. - * cf-sparclynx.c: Delete. - * coff-sparc.c: Delete. - * demo64.c: Delete. - * sparclinux.c: Delete. - * sparclynx.c: Delete. - * sparcnetbsd.c: Delete. - * sunos.c: Delete. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove m68k-aout and m68k-coff support. - * aoutf1.h: Likewise. - * aoutx.h: Likewise. - * archive.c: Likewise. - * bfd-in.h: Likewise. - * bfd.c: Likewise. - * coffcode.h: Likewise. - * coffswap.h: Likewise. - * config.bfd: Likewise. - * configure.ac: Likewise. - * configure.host: Likewise. - * doc/bfd.texinfo: Likewise. - * doc/bfdint.texi: Likewise. - * freebsd.h: Likewise. - * gen-aout.c: Likewise. - * hpux-core.c: Likewise. - * libaout.h: Likewise. - * libbfd-in.h: Likewise. - * pdp11.c: Likewise. - * peicode.h: Likewise. - * riscix.c: Likewise. - * targets.c: Likewise. - * aout0.c: Delete. - * coff-apollo.c: Delete. - * coff-aux.c: Delete. - * coff-m68k.c: Delete. - * coff-svm68k.c: Delete. - * coff-u68k.c: Delete. - * hosts/delta68.h: Delete. - * hosts/hp300bsd.h: Delete. - * hosts/m68kaux.h: Delete. - * hosts/news.h: Delete. - * hp300bsd.c: Delete. - * hp300hpux.c: Delete. - * liboasys.h: Delete. - * m68k4knetbsd.c: Delete. - * m68klinux.c: Delete. - * m68knetbsd.c: Delete. - * oasys.c: Delete. - * versados.c: Delete. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * libbfd.h: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove sh5 and sh64 support. - * archures.c: Likewise. - * config.bfd: Likewise. - * configure.ac: Likewise. - * cpu-sh.c: Likewise. - * elf32-sh-relocs.h: Likewise. - * elf32-sh.c: Likewise. - * targets.c: Likewise. - * elf32-sh64-com.c: Delete. - * elf32-sh64.c: Delete. - * elf32-sh64.h: Delete. - * elf64-sh64.c: Delete. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove sh-symbianelf support. - * config.bfd: Likewise. - * configure.ac: Likewise. - * targets.c: Likewise. - * elf32-sh-symbian.c: Delete. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove vax-bsd and vax-ultrix support. - * config.bfd: Likewise. - * configure.ac: Likewise. - * targets.c: Likewise. - * vaxbsd.c: Delete. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove w65 support. - * archures.c: Likewise. - * coffcode.h: Likewise. - * config.bfd: Likewise. - * configure.ac: Likewise. - * targets.c: Likewise. - * coff-w65.c: Delete. - * cpu-w65.c: Delete. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove we32k support. - * archures.c: Likewise. - * coffcode.h: Likewise. - * config.bfd: Likewise. - * configure.ac: Likewise. - * targets.c: Likewise. - * coff-we32k.c: Delete. - * cpu-we32k.c: Delete. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove m88k support. - * aoutx.h: Likewise. - * archures.c: Likewise. - * coffcode.h: Likewise. - * coffswap.h: Likewise. - * config.bfd: Likewise. - * configure.ac: Likewise. - * cpu-ns32k.c: Likewise. - * elf32-nds32.c: Likewise. - * mach-o.c: Likewise. - * netbsd-core.c: Likewise. - * reloc.c: Likewise. - * targets.c: Likewise. - * coff-m88k.c: Delete. - * cpu-m88k.c: Delete. - * elf32-m88k.c: Delete. - * hosts/m88kmach3.h: Delete. - * m88kmach3.c: Delete. - * m88kopenbsd.c: Delete. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove i370 support. - * archures.c: Likewise. - * config.bfd: Likewise. - * configure.ac: Likewise. - * targets.c: Likewise. - * cpu-i370.c: Delete. - * elf32-i370.c: Delete. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove h8500 support. - * archures.c: Likewise. - * coffcode.h: Likewise. - * config.bfd: Likewise. - * configure.ac: Likewise. - * targets.c: Likewise. - * coff-h8500.c: Delete. - * cpu-h8500.c: Delete. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove h8300-coff support. - * coffcode.h: Likewise. - * config.bfd: Likewise. - * configure.ac: Likewise. - * reloc16.c: Likewise. - * targets.c: Likewise. - * coff-h8300.c: Delete. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove IEEE 695 support. - * archures.c: Likewise. - * bfd.c: Likewise. - * config.bfd: Likewise. - * configure.ac: Likewise. - * doc/bfd.texinfo: Likewise. - * doc/bfdint.texi: Likewise. - * doc/bfdsumm.texi: Likewise. - * section.c: Likewise. - * targets.c: Likewise. - * ieee.c: Delete. - * libieee.h: Delete. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * config.bfd: Remove tandem support. - -2018-04-16 Alan Modra - - * Makefile.am: Remove newsos3 support. - * aoutx.h: Likewise. - * config.bfd: Likewise. - * configure.ac: Likewise. - * targets.c: Likewise. - * newsos3.c: Delete. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove netware support. - * bfd-in.h: Likewise. - * bfd.c: Likewise. - * config.bfd: Likewise. - * configure.ac: Likewise. - * doc/bfdint.texi: Likewise. - * ecoff.c: Likewise. - * targets.c: Likewise. - * libnlm.h: Delete. - * nlm-target.h: Delete. - * nlm.c: Delete. - * nlm32-alpha.c: Delete. - * nlm32-i386.c: Delete. - * nlm32-ppc.c: Delete. - * nlm32-sparc.c: Delete. - * nlm32.c: Delete. - * nlm64.c: Delete. - * nlmcode.h: Delete. - * nlmswap.h: Delete. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * archures.c: Remove tahoe support. - * config.bfd: Likewise. - * configure.ac: Likewise. - * hosts/tahoe.h: Delete. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - -2018-04-14 Alan Modra - - * elf-bfd.h (struct elf_backend_data): Add relropagesize. - * elfxx-target.h (ELF_RELROPAGESIZE): Provide default and - sanity test. - (elfNN_bed): Init relropagesize. - * bfd.c (bfd_emul_get_commonpagesize): Add boolean param to - select relropagesize. - * elf32-ppc.c (ELF_COMMONPAGESIZE): Define as 0x1000. - (ELF_RELROPAGESIZE): Define as ELF_MAXPAGESIZE. - (ELF_MINPAGESIZE): Don't define. - * elf64-ppc.c (ELF_COMMONPAGESIZE): Define as 0x1000. - (ELF_RELROPAGESIZE): Define as ELF_MAXPAGESIZE. - * bfd-in2.h: Regenerate. - -2018-04-14 Alan Modra - - * elf32-ppc.c (ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): Don't depend - on __QNXTARGET__ define. - -2018-04-14 Alan Modra - - * config.bfd: Add powerpc-*-lynxos* and powerpc-*-windiss* - to obsolete list. - -2018-04-11 Alan Modra - - * aout-adobe.c: Delete. - * bout.c: Delete. - * coff-i860.c: Delete. - * coff-i960.c: Delete. - * cpu-i860.c: Delete. - * cpu-i960.c: Delete. - * elf32-i860.c: Delete. - * elf32-i960.c: Delete. - * hosts/i860mach3.h: Delete. - * Makefile.am: Remove i860, i960, bout, and adobe support. - * archures.c: Remove i860 and i960 support. - * coffcode.h: Likewise. - * reloc.c: Likewise. - * aoutx.h: Comment updates. - * archive.c: Remove BOUT and i960 support. - * bfd.c: Remove BOUT support. - * coffswap.h: Remove i960 support. - * config.bfd: Remove i860, i960 and adobe targets. - * configure.ac: Remove adode, bout, i860, i960, icoff targets. - * targets.c: Likewise. - * ieee.c: Remove i960 support. - * mach-o.c: Remove i860 support. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * libbfd.h: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2018-04-09 Maciej W. Rozycki - - * elf64-mips.c (mips_elf64_write_rel): Handle a NULL BFD pointer - in the BFD symbol referred by the relocation. - (mips_elf64_write_rela): Likewise. - -2018-04-09 Maciej W. Rozycki - - * elf64-mips.c (mips_elf64_slurp_one_reloc_table): Issue an - error for out-of-range `r_sym' values. - -2018-04-09 Alan Modra - - * elf64-ppc.c (struct _ppc64_elf_section_data): Add has_pltcall field. - (struct ppc_link_hash_table): Add can_convert_all_inline_plt. - (ppc64_elf_check_relocs): Set has_pltcall. - (ppc64_elf_adjust_dynamic_symbol): Discard some PLT entries. - (ppc64_elf_inline_plt): New function. - (ppc64_elf_size_dynamic_sections): Discard some PLT entries for locals. - * elf64-ppc.h (ppc64_elf_inline_plt): Declare. - * elf32-ppc.c (has_pltcall): Define. - (struct ppc_elf_link_hash_table): Add can_convert_all_inline_plt. - (ppc_elf_check_relocs): Set has_pltcall. - (ppc_elf_inline_plt): New function. - (ppc_elf_adjust_dynamic_symbol): Discard some PLT entries. - (ppc_elf_size_dynamic_sections): Likewise. - * elf32-ppc.h (ppc_elf_inline_plt): Declare. - -2018-04-09 Alan Modra - - * elf32-ppc.c (ppc_elf_howto_raw): Add PLTSEQ and PLTCALL howtos. - (is_plt_seq_reloc): New function. - (ppc_elf_check_relocs): Handle PLTSEQ and PLTCALL relocs. - (ppc_elf_tls_optimize): Handle inline plt call sequence. - (ppc_elf_relax_section): Handle PLTCALL reloc. - (ppc_elf_relocate_section): Nop out inline plt call sequence when - resolving locally. - * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_PLTSEQ and - R_PPC64_PLTCALL entries. Comment R_PPC64_TOCSAVE. - (has_tls_get_addr_call): Correct comment. - (is_branch_reloc): Add PLTCALL. - (is_plt_seq_reloc): New function. - (ppc64_elf_check_relocs): Handle PLT16_LO_DS reloc. Set - has_tls_reloc for R_PPC64_TLSGD and R_PPC64_TLSLD. Create plt - entry for R_PPC64_PLTCALL. - (ppc64_elf_tls_optimize): Handle inline plt call sequence. - (ppc_type_of_stub): Handle PLTCALL reloc. - (toc_adjusting_stub_needed): Likewise. - (ppc64_elf_relocate_section): Set "can_plt_call" for PLTCALL - reloc insn. Nop out inline plt call sequence when resolving - locally. Handle __tls_get_addr inline plt call optimization. - -2018-04-09 Alan Modra - - * elf64-ppc.c (LOCAL_PLT_ENTRY_SIZE): Define. - (struct ppc_stub_hash_entry): Add symtype field. - (PLT_KEEP): Define. - (struct ppc_link_hash_table): Add pltlocal and relpltlocal. - (create_linkage_sections): Create pltlocal and relpltlocal. - (ppc64_elf_check_relocs): Allow PLT relocs on local symbols. - Set PLT_KEEP. - (ppc64_elf_adjust_dynamic_symbol): Keep PLT entries for inline calls. - (allocate_dynrelocs): Allocate pltlocal and relpltlocal. - (ppc64_elf_size_dynamic_sections): Size pltlocal and relpltlocal. - Keep PLT entries for inline calls against locals. - (ppc_build_one_stub): Use pltlocal as appropriate. - (ppc_size_one_stub): Likewise. - (ppc64_elf_size_stubs): Set symtype. - (build_global_entry_stubs_and_plt): Init pltlocal and write - relpltlocal for globals. - (write_plt_relocs_for_local_syms): Likewise for local syms. - (ppc64_elf_relocate_section): Support PLT for local syms. - * elf32-ppc.c (PLT_KEEP): Define. - (struct ppc_elf_link_hash_table): Add pltlocal and relpltlocal. - (ppc_elf_create_glink): Create pltlocal and relpltlocal. - (ppc_elf_check_relocs): Allow PLT relocs on local symbols. - Set PLT_KEEP. Adjust update_local_sym_info call. - (ppc_elf_adjust_dynamic_symbol): Keep PLT entries for inline calls. - (allocate_dynrelocs): Allocate pltlocal and relpltlocal. - (ppc_elf_size_dynamic_sections): Size pltlocal and relpltlocal. - (ppc_elf_relocate_section): Support PLT16 relocs for local syms. - (write_global_sym_plt): Init pltlocal and write relpltlocal. - (ppc_finish_symbols): Likewise for locals. - -2018-04-09 Alan Modra - - * elf64-ppc.c (ppc_build_one_stub): Move output of PLT relocs - for local symbols to.. - (write_plt_relocs_for_local_syms): ..here. New function. - (ppc64_elf_finish_dynamic_symbol): Move output of PLT relocs for - global symbols to.. - (build_global_entry_stubs_and_plt): ..here. Rename from - build_global_entry_stubs. - (ppc64_elf_build_stubs): Always call build_global_entry_stubs_and_plt. - Call write_plt_relocs_for_local_syms. - * elf32-ppc.c (get_sym_h): New function. - (ppc_elf_relax_section): Use get_sym_h. - (ppc_elf_relocate_section): Move output of PLT relocs and glink - stubs for local symbols to.. - (ppc_finish_symbols): ..here. New function. - (ppc_elf_finish_dynamic_symbol): Move output of PLT relocs for - global syms to.. - (write_global_sym_plt): ..here. New function. - * elf32-ppc.h (ppc_elf_modify_segment_map): Delete attribute. - (ppc_finish_symbols): Declare. - -2018-04-09 Alan Modra - - * elf32-ppc.c (ppc_elf_check_relocs): Handle PLT16 relocs. - (ppc_elf_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_check_relocs): Handle PLT16_LO_DS. - (ppc64_elf_relocate_section): Likewise. Correct PLT16 - resolution to plt entry relative to toc pointer. - -2018-04-09 Alan Modra - - * elf64-ppc.c (TLS_TLS, TLS_GD, TLS_LD, TLS_TPREL, TLS_DTPREL, - TLS_TPRELGD, TLS_EXPLICIT): Renumber. Test TLS_TLS throughout - file when other TLS flags are tested in a mask. - (TLS_MARK, NON_GOT): Define. - (PLT_IFUNC): Redefine, and test TLS_TLS throughout file as well. - (update_local_sym_info): Don't create got entry when NON_GOT. - (ppc64_elf_check_relocs): Pass NON_GOT with PLT_IFUNC. - Set TLS_MARK. - (get_tls_mask): Do toc lookup if tls_mask is just TLS_MARK. - (ppc64_elf_relocate_section): Likewise. - (ppc64_elf_tls_optimize): Don't attempt to optimize indirect - __tls_get_addr calls lacking a marker reloc. - * elf32-ppc.c (TLS_TLS, TLS_GD, TLS_LD, TLS_TPREL, TLS_DTPREL, - TLS_TPRELGD): Renumber. Update comment. - (TLS_MARK, NON_GOT): Define. - (PLT_IFUNC): Redefine, and test TLS_TLS throughout file as well. - (update_local_sym_info): Don't create got entry when NON_GOT. - (ppc_elf_check_relocs): Pass NON_GOT with PLT_IFUNC. - Set TLS_MARK. - (ppc_elf_tls_optimize): Don't attempt to optimize indirect - __tls_get_addr calls lacking a marker reloc. - -2018-04-06 H.J. Lu - - * elf64-x86-64.c (elf_x86_64_info_to_howto): Don't mask out - R_X86_64_converted_reloc_bit. - -2018-04-05 H.J. Lu - - PR gas/22318 - * configure: Regenerated. - -2018-04-05 Alan Modra - - * elf-hppa.h (elf_hppa_info_to_howto): Init howto to NULL. - (elf_hppa_info_to_howto_rel): Likewise. - -2018-04-04 Maciej W. Rozycki - - * elf-hppa.h (elf_hppa_info_to_howto): Also return - unsuccessfully for unimplemented relocations. - (elf_hppa_info_to_howto_rel): Likewise. - -2018-04-04 Maciej W. Rozycki - - * elf32-i860.c (lookup_howto): Add `abfd' parameter. Set the - `bfd_error_bad_value' error and call `_bfd_error_handler' on a - howto lookup failure. - (elf32_i860_reloc_type_lookup): Adjust `lookup_howto' call - accordingly. - (elf32_i860_info_to_howto_rela): Likewise. - (elf32_i860_relocate_splitn): Likewise. - (elf32_i860_relocate_pc16): Likewise. - (elf32_i860_relocate_pc26): Likewise. - (elf32_i860_relocate_section): Likewise. - -2018-04-04 Maciej W. Rozycki - - * elf32-visium.c (visium_info_to_howto_rela): Correct the range - check for `visium_elf_howto_table' table access. - -2018-04-04 Maciej W. Rozycki - - * elf32-iq2000.c (iq2000_info_to_howto_rela): Correct the range - check for `iq2000_elf_howto_table' table access. - -2018-04-04 Maciej W. Rozycki - - * elf32-frv.c (frv_info_to_howto_rela): Correct the range check - for `elf32_frv_howto_table' table access. - -2018-04-04 Maciej W. Rozycki - - * elf32-mips.c (mips_elf32_rtype_to_howto): Also return - unsuccessfully for placeholder howtos. - * elf64-mips.c (mips_elf64_rtype_to_howto): Likewise. - * elfn32-mips.c (mips_elf_n32_rtype_to_howto): Likewise. - -2018-03-29 Maciej W. Rozycki - - * elf32-mips.c (mips_info_to_howto_rel): Remove the calls to - `_bfd_error_handler' and to set the `bfd_error_bad_value' error. - -2018-03-28 Maciej W. Rozycki - - * elf-hppa.h (elf_hppa_info_to_howto_rel): Remove - ATTRIBUTE_UNUSED from `abfd'. - -2018-03-28 Maciej W. Rozycki - - * elf-hppa.h (elf_hppa_info_to_howto_rel): Correct - `_bfd_error_handler' call formatting. - -2018-03-28 Maciej W. Rozycki - - * elf32-mips.c (mips_info_to_howto_rel): Call - `mips_elf32_rtype_to_howto' directly rather than via - `->elf_backend_mips_rtype_to_howto'. - -2018-03-28 Renlin Li - - PR ld/22970 - * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Add cases for - BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12, - BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC, - BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12, - BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC, - BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12, - BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC, - BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12, - BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC. - (elfNN_aarch64_final_link_relocate): Support new relocations. - * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Support new - relocations. - (_bfd_aarch64_elf_resolve_relocation): Support new relocations. - -2018-03-28 Renlin Li - - PR ld/22970 - * reloc.c: Add BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12 - BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC, - BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12, - BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC, - BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12, - BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC, - BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12, - BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC, - BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12, - BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC. - * elfnn-aarch64.c (elfNN_aarch64_howto_table): Add table entry for - TLSLE_LDST16_TPREL_LO12, - TLSLE_LDST16_TPREL_LO12_NC, - TLSLE_LDST32_TPREL_LO12, - TLSLE_LDST32_TPREL_LO12_NC, - TLSLE_LDST64_TPREL_LO12, - TLSLE_LDST64_TPREL_LO12_NC, - TLSLE_LDST8_TPREL_LO12, - TLSLE_LDST8_TPREL_LO12_NC. - * bfd-in2.h: Regenerated. - * libbfd.h: Regenerated. - -2018-03-28 Eric Botcazou - - PR ld/22972 - * elfxx-sparc.c (struct _bfd_sparc_elf_link_hash_entry): Add new flag - has_old_style_got_reloc. - (_bfd_sparc_elf_check_relocs) : Set it for old-style - relocations. Fix a couple of long lines. - (_bfd_sparc_elf_relocate_section) : Do not generate - a R_SPARC_NONE for the GOT slot if the symbol is also subject to old-style - GOT relocations. - -2018-03-25 H.J. Lu - - PR ld/23000 - * elf64-x86-64.c (elf_x86_64_finish_dynamic_sections): Add - ENDBR64 to the TLSDESC PLT entry. - -2018-03-21 Alan Modra - - * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Trim uninteresting - symbols. Use size_t counts. Delete redundant opd test. - -2018-03-21 Alan Modra - - * elf32-ppc.c (ppc_elf_tls_optimize): Delete locsyms. - -2018-03-21 Alan Modra - - * elf32-ppc.c (struct ppc_elf_link_hash_entry): Make tls_mask - field unsigned. - (update_local_sym_info): Likewise for local_got_tls_masks. - (ppc_elf_tls_optimize): Likewise for lgot_masks. - -2018-03-21 Alan Modra - - * elf64-ppc.c (ppc_size_one_stub): Fix comment typo. - (ppc64_elf_layout_multitoc): Allocate relocs for tprel as we - do in size_dynamic_sections. - -2018-03-21 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section): Don't access rel[1] - without first checking array bounds. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - -2018-03-20 H.J. Lu - - PR ld/22983 - * elflink.c (bfd_elf_link_mark_dynamic_symbol): Set - non_ir_ref_dynamic if a symbol is made dynamic by --dynamic-list. - -2018-03-19 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2018-03-15 Max Filippov - - * elf32-xtensa.c (xlate_map_entry): Change types of address - fields from 'unsigned' to 'bfd_vma'. - (xlate_offset_with_removed_text): Use struct xlate_map_entry as - the key argument to bsearch. Allow offsets past the end of a - section, use the last map entry for translation of such offsets. - -2018-03-15 Kuan-Lin Chen - - * elf32-nds32.c (nds32_elf_ex9_build_hash_table): Removed. - Not support the target feature. - (nds32_elf_ex9_itb_base): Likewise. - (nds32_elf_ex9_import_table): Likewise. - (nds32_elf_ex9_finish): Likewise. - (nds32_elf_ex9_reloc_jmp): Likewise. - (nds32_elf_get_insn_with_reg): Likewise. - (nds32_get_local_syms): Likewise. - (nds32_elf_ex9_replace_instruction): Likewise. - (nds32_elf_ifc_calc): Likewise. - (nds32_elf_ifc_finish): Likewise. - (nds32_elf_ifc_replace): Likewise. - (nds32_elf_ifc_reloc): Likewise. - -2018-03-14 Alan Modra - - * elf64-ppc.c (sfpr_define): Adjust for stub_sec size having - sfpr size added before defining alias symbols. - (ppc64_elf_build_stubs): Add stub section padding before - copying sfpr contents and defining save/restore alias symbols. - -2018-03-14 H.J. Lu - - PR ld/20882 - * elflink.c (elf_gc_mark_debug_section): Also check the local - debug definition section. - -2018-03-13 Nick Clifton - - PR 22113 - * pei-x86_64.c (pex64_get_unwind_info): Change to a boolean - function. Add an end address parameter. Check access of the data - pointer to make sure that they do not extend beyond the end - address. Return FALSE if any check fails. Add the end address - pointer to the ui structure. - (pex64_xdata_print_uwd_codes): Check accesses of the raw unwind - codes to make sure that they do not extend beyond the end address - pointer. Print an error message and return immediately if any - check fails. - -2018-03-09 Nick Clifton - - * elf64-s390.c (elf_s390_relocate_section): Move check for - relocations against non-allocated sections to before the code that - handles ifunc relocations. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Treat - relocs against IFUNC symbols in non-allocated sections as relocs - against FUNC symbols. - * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. - -2018-03-08 H.J. Lu - - PR ld/22929 - * elf32-i386.c (elf_i386_relocate_section): Treat relocation - against IFUNC symbol in SHT_NOTE section without SHF_ALLOC as - relocation against FUNC symbol. - * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. - -2018-03-07 Renlin Li - - PR ld/20402 - * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Check absolute - symbol, and don't emit relocation in specific case. - -2018-03-07 Alan Modra - - * elf64-mips.c (mips_elf64_rtype_to_howto): Return NULL on error. - (mips_elf64_slurp_one_reloc_table): Pass on error. - -2018-03-03 James Cowgill - Maciej W. Rozycki - - PR ld/21900 - * elfxx-mips.c (mips_elf_calculate_relocation): Only return - after calling `undefined_symbol' hook if this is an error - condition. Assume the value of 0 for the symbol requested - otherwise. - -2018-03-02 Jim Wilson - - PR 22903 - * elfnn-aarch64.c (_bfd_aarch64_resize_stubs): Add 8 bytes for branch - and nop instead of 4. - (elfNN_arch64_build_stubs): Add nop after branch. Increase size by - 8 instead of 4. - -2018-03-01 Jim Wilson - - PR 22756 - * elfnn-riscv.c (riscv_relax_delete_bytes): When adjust st_size, use - else if instead of if. - -2018-03-01 Alan Modra - - * elf32-ft32.c (ft32_info_to_howto_rela): Correct range test. - -2018-02-28 Alan Modra - - PR 22887 - * aoutx.h (swap_std_reloc_in): Correct r_index bound check. - -2018-02-28 Nick Clifton - - PR 22895 - PR 22893 - * dwarf2.c (read_n_bytes): Replace size parameter with dwarf_block - pointer. Drop unused abfd parameter. Check the size of the block - before initialising the data field. Return the end pointer if the - size is invalid. - (read_attribute_value): Adjust invocations of read_n_bytes. - - PR 22894 - * dwarf1.c (parse_die): Check the length of form blocks before - advancing the data pointer. - -2018-02-28 Alan Modra - - PR 22887 - * aoutx.h (translate_symbol_table): Print an error message and set - bfd_error on finding an invalid name string offset. - -2018-02-27 H.J. Lu - - * config.in: Regenerated. - * configure: Likewise. - * configure.ac: Add --enable-separate-code. - (DEFAULT_LD_Z_SEPARATE_CODE): New AC_DEFINE_UNQUOTED. Default - to 1 for Linux/x86 targets, - * elf64-x86-64.c (ELF_MAXPAGESIZE): Set to 0x1000 if - DEFAULT_LD_Z_SEPARATE_CODE is 1. - -2018-02-27 Nick Clifton - - * aout-cris.c (swap_ext_reloc_out): Standadize error/warning - message. - * elf-hppa.h (elf_hppa_info_to_howto_rel): Likewise. - * elf32-i386.c (elf_i386_reloc_type_lookup): Likewise. - * elf32-xtensa.c (elf_xtensa_reloc_type_lookup): Likewise. - * elf64-ppc.c (ppc64_elf_reloc_type_lookup): Likewise. - * elf64-s390.c (elf_s390_reloc_type_lookup): Likewise. - * elf64-sh64.c (sh_elf64_info_to_howto): Likewise. - * elfxx-ia64.c (ia64_elf_reloc_type_lookup): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_reloc_type_lookup): Likewise. - * elfxx-tilegx.c (tilegx_reloc_type_lookup): Likewise. - - PR 22875 - * elf-bfd.h (struct elf_backend_data): Change the return type of - the elf_info_to_howto and elf_info_to_howto_rel function pointers - to bfd_boolean. - * elfcode.h (elf_slurp_reloc_table_from_section): Check the return - value from the info_to_howto function and fail if that function - failed. - * elf32-h8300.c (elf32_h8_relocate_section): Check return value - from the info_to_howto function. - (elf32_h8_relax_section): Likewise. - * elf32-lm32.c (lm32_elf_relocate_section): Likewise. - * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise. - * elf32-score.c (s3_bfd_score_elf_relocate_section): Likewise. - * elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise. - * elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise. - * elf64-ia64-vms.c (elf64_ia64_relocate_section): Likewise. - * elf64-sparc.c (elf64_sparc_slurp_one_reloc_table): Likewise. - * elf64-x86-64.c (elf_x86_64_tls_transition): Likewise. - * elfnn-ia64.c (elfNN_ia64_relocate_section): Likewise. - * elfnn-riscv.c (riscv_elf_check_relocs): Likewise. - (riscv_elf_relocate_section): Likewise. - * elf-hppa.h (elf_hppa_info_to_howto): Change return type to - bfd_boolean. Issue an error message, set an error value and - return FALSE if the reloc is not recognized. - (elf_hppa_info_to_howto_rel): Likewise. - * elf-m10200.c (mn10200_info_to_howto): Likewise. - * elf-m10300.c (mn10300_info_to_howto): Likewise. - * elf.c (_bfd_elf_no_info_to_howto): Likewise. - * elf32-arc.c (arc_info_to_howto_rel): Likewise. - * elf32-arm.c (elf32_arm_info_to_howto): Likewise. - * elf32-avr.c (avr_info_to_howto_rela): Likewise. - * elf32-bfin.c (bfin_info_to_howto): Likewise. - * elf32-cr16.c (elf_cr16_info_to_howto): Likewise. - * elf32-cr16c.c (elf_cr16c_info_to_howto): Likewise. - * elf32-cris.c (elf_cr16c_info_to_howto_rel) - (cris_info_to_howto_rela): Likewise. - * elf32-crx.c (elf_crx_info_to_howto): Likewise. - * elf32-d10v.c (d10v_info_to_howto_rel): Likewise. - * elf32-d30v.c (d30v_info_to_howto_rel, d30v_info_to_howto_rela): - Likewise. - * elf32-dlx.c (dlx_rtype_to_howto, elf32_dlx_info_to_howto) - (elf32_dlx_info_to_howto_rel): Likewise. - * elf32-epiphany.c (epiphany_info_to_howto_rela): Likewise. - * elf32-fr30.c (fr30_info_to_howto_rela): Likewise. - * elf32-frv.c (frv_info_to_howto_rela) - (frvfdpic_info_to_howto_rel): Likewise. - * elf32-ft32.c (ft32_info_to_howto_rela): Likewise. - * elf32-gen.c (elf_generic_info_to_howto) - (elf_generic_info_to_howto_rel): Likewise. - * elf32-h8300.c (elf32_h8_info_to_howto) - (elf32_h8_info_to_howto_rel): Likewise. - * elf32-i370.c (i370_elf_info_to_howto): Likewise. - * elf32-i386.c (elf_i386_reloc_type_lookup) - (elf_i386_rtype_to_howto, elf_i386_info_to_howto_rel): Likewise. - * elf32-i860.c (lookup_howto, elf32_i860_info_to_howto_rela): - Likewise. - * elf32-i960.c (elf32_i960_info_to_howto_rel): Likewise. - * elf32-ip2k.c (ip2k_info_to_howto_rela): Likewise. - * elf32-iq2000.c (iq2000_info_to_howto_rela): Likewise. - * elf32-lm32.c (lm32_info_to_howto_rela): Likewise. - * elf32-m32c.c (m32c_info_to_howto_rela): Likewise. - * elf32-m32r.c (m32r_info_to_howto_rel, m32r_info_to_howto): - Likewise. - * elf32-m68hc11.c (m68hc11_info_to_howto_rel): Likewise. - * elf32-m68hc12.c (m68hc11_info_to_howto_rel): Likewise. - * elf32-m68k.c (rtype_to_howto): Likewise. - * elf32-mcore.c (mcore_elf_info_to_howto): Likewise. - * elf32-mep.c (mep_info_to_howto_rela): Likewise. - * elf32-metag.c (metag_info_to_howto_rela): Likewise. - * elf32-microblaze.c (microblaze_elf_info_to_howto): Likewise. - * elf32-mips.c (mips_info_to_howto_rel, mips_info_to_howto_rela): - Likewise. - * elf32-moxie.c (moxie_info_to_howto_rela): Likewise. - * elf32-msp430.c (msp430_info_to_howto_rela): Likewise. - * elf32-mt.c (mt_info_to_howto_rela): Likewise. - * elf32-nds32.c (nds32_info_to_howto_rel, nds32_info_to_howto): - Likewise. - * elf32-nios2.c (nios2_elf32_info_to_howto): Likewise. - * elf32-or1k.c (or1k_info_to_howto_rela): Likewise. - * elf32-pj.c (pj_elf_info_to_howto): Likewise. - * elf32-ppc.c (ppc_elf_info_to_howto): Likewise. - * elf32-pru.c (pru_elf32_info_to_howto): Likewise. - * elf32-rl78.c (rl78_info_to_howto_rela): Likewise. - * elf32-rx.c (rx_info_to_howto_rela): Likewise. - * elf32-s390.c (elf_s390_info_to_howto): Likewise. - * elf32-score.c (s3_bfd_score_info_to_howto) - (_bfd_score_info_to_howto): Likewise. - * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise. - * elf32-sh.c (sh_elf_info_to_howto): Likewise. - * elf32-spu.c (spu_elf_info_to_howto): Likewise. - * elf32-tic6x.c (elf32_tic6x_info_to_howto) - (elf32_tic6x_info_to_howto_rel): Likewise. - * elf32-tilepro.c (tilepro_info_to_howto_rela): Likewise. - * elf32-v850.c (v850_elf_info_to_howto_rel) - (v850_elf_info_to_howto_rela, v800_elf_info_to_howto): Likewise. - * elf32-vax.c (rtype_to_howto): Likewise. - * elf32-visium.c (visium_info_to_howto_rela): Likewise. - * elf32-wasm32.c (elf32_wasm32_rtype_to_howto) - (elf32_wasm32_info_to_howto_rela): Likewise. - * elf32-xc16x.c (elf32_xc16x_info_to_howto): Likewise. - * elf32-xgate.c (xgate_info_to_howto_rel): Likewise. - * elf32-xstormy16.c (xstormy16_info_to_howto_rela): Likewise. - * elf32-xtensa.c (elf_xtensa_info_to_howto_rela): Likewise. - * elf64-alpha.c (elf64_alpha_info_to_howto): Likewise. - * elf64-gen.c (elf_generic_info_to_howto) - (elf_generic_info_to_howto_rel): Likewise. - * elf64-ia64-vms.c (elf64_ia64_info_to_howto): Likewise. - * elf64-mips.c (mips_elf64_info_to_howto_rela): Likewise. - * elf64-mmix.c (mmix_info_to_howto_rela): Likewise. - * elf64-ppc.c (ppc64_elf_info_to_howto): Likewise. - * elf64-s390.c (elf_s390_reloc_type_lookup): Likewise. - * elf64-sh64.c (elf_s390_info_to_howto, sh_elf64_info_to_howto): - Likewise. - * elf64-x86-64.c (elf_x86_64_info_to_howto): Likewise. - * elfn32-mips.c (mips_info_to_howto_rel, mips_info_to_howto_rela): - Likewise. - * elfnn-aarch64.c (elfNN_aarch64_info_to_howto): Likewise. - * elfnn-ia64.c (elfNN_ia64_info_to_howto): Likewise. - * elfnn-riscv.c (riscv_info_to_howto_rela): Likewise. - * elfxx-ia64.c (ia64_elf_reloc_type_lookup): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_info_to_howto): Likewise. - * elfxx-tilegx.c (tilegx_info_to_howto_rela): Likewise. - * elf32-score.h (s7_bfd_score_info_to_howto): Update prototype. - * elfxx-sparc.h (_bfd_sparc_elf_info_to_howto): Update prototype. - * elfxx-tilegx.h (tilegx_info_to_howto_rela): Update prototype. - * elfxx-target.h (elf_info_to_howto, elf_info_to_howto_rel): - Default to NULL. - -2018-02-26 Jim Wilson - Stephan Schreiber - - PR 15904 - * elfnn-ia64.c (elfNN_ia64_relax_section): After ia64_elf_relax_brl - call, set changed_contents and changed_relocs. Likewise after - successful ia64_elf_relax_br call. - -2018-02-26 Alan Modra - - * elf.c (assign_file_positions_except_relocs): Don't segfault - when actual number of phdrs is less than allocated. Delete - outdated comment. Formatting. - -2018-02-26 Alan Modra - - * elf-m10300.c, * elf-s390-common.c, * elf32-arc.c, * elf32-cris.c, - * elf32-dlx.c, * elf32-frv.c, * elf32-i370.c, * elf32-lm32.c, - * elf32-m32r.c, * elf32-m68hc1x.c, * elf32-m68k.c, - * elf32-microblaze.c, * elf32-msp430.c, * elf32-nds32.c, - * elf32-nios2.c, * elf32-or1k.c, * elf32-rl78.c, * elf32-rx.c, - * elf32-score.c, * elf32-score7.c, * elf32-sh-symbian.c, - * elf32-sh.c, * elf32-spu.c, * elf32-v850.c, * elf32-xtensa.c, - * elf64-alpha.c, * elf64-ia64-vms.c, * elf64-mmix.c, - * elf64-sh64.c, * elf64-sparc.c, * elfnn-ia64.c, * elfxx-tilegx.c, - * mmo.c, * osf-core.c, * srec.c, * vms-alpha.c: Standardize - error/warning messages. - -2018-02-26 Alan Modra - - * archive.c, * bfd.c, * linker.c, * reloc.c, * stabs.c, - * syms.c: Standardize error/warning messages. - -2018-02-26 Alan Modra - - * aout-adobe.c, * aout-cris.c, * i386linux.c, * m68klinux.c, - * sparclinux.c, * coff-alpha.c, * coff-arm.c, * coff-mcore.c, - * coffcode.h, * coffgen.c, * cofflink.c, * ecoff.c, * pe-mips.c, - * peXXigen.c, * peicode.h: Standardize error/warning messages. - -2018-02-26 Alan Modra - - * elf32-arm.c, * elfnn-aarch64.c: Standardize error/warning messages. - -2018-02-26 Alan Modra - - * elfxx-mips.c: Standardize error/warning messages. - -2018-02-26 Alan Modra - - * dwarf2.c, * elf-attrs.c, * elf-eh-frame.c, * elf.c, * elf32-gen.c, - * elflink.c: Standardize error/warning messages. Replace use of - linker callback einfo with _bfd_error_handler when possible. - -2018-02-26 Alan Modra - - * aoutx.h, * coff-alpha.c, * coff-i860.c, * coff-m68k.c, - * coff-mcore.c, * coff-ppc.c, * coff-rs6000.c, * coff-sh.c, - * coff-tic4x.c, * coff-tic54x.c, * coff-tic80.c, * coff-w65.c, - * elf-bfd.h, * elf-m10300.c, * elf.c, * elf32-avr.c, * elf32-bfin.c, - * elf32-cr16.c, * elf32-cr16c.c, * elf32-cris.c, * elf32-crx.c, - * elf32-d10v.c, * elf32-d30v.c, * elf32-dlx.c, * elf32-epiphany.c, - * elf32-fr30.c, * elf32-frv.c, * elf32-i370.c, * elf32-i386.c, - * elf32-i960.c, * elf32-ip2k.c, * elf32-iq2000.c, * elf32-lm32.c, - * elf32-m32c.c, * elf32-m32r.c, * elf32-m68hc11.c, * elf32-m68hc12.c, - * elf32-m68k.c, * elf32-mcore.c, * elf32-mep.c, * elf32-metag.c, - * elf32-microblaze.c, * elf32-mips.c, * elf32-moxie.c, - * elf32-msp430.c, * elf32-mt.c, * elf32-nds32.c, * elf32-or1k.c, - * elf32-pj.c, * elf32-ppc.c, * elf32-rl78.c, * elf32-rx.c, - * elf32-s390.c, * elf32-sh.c, * elf32-spu.c, * elf32-tic6x.c, - * elf32-v850.c, * elf32-vax.c, * elf32-visium.c, * elf32-wasm32.c, - * elf32-xgate.c, * elf32-xtensa.c, * elf64-alpha.c, - * elf64-ia64-vms.c, * elf64-mips.c, * elf64-mmix.c, - * elf64-ppc.c, * elf64-s390.c, * elf64-sparc.c, * elf64-x86-64.c, - * elfn32-mips.c, * elfnn-aarch64.c, * elfnn-ia64.c, - * elfnn-riscv.c, * elfxx-mips.c, * elfxx-riscv.c, * elfxx-riscv.h, - * elfxx-sparc.c, * elfxx-sparc.h, * reloc.c: Standardize - unrecognized/unsupported reloc message. - -2018-02-26 Alan Modra - - * elf32-ppc.c: Standardize error/warning messages. Use - _bfd_error_handler rather than einfo when einfo features not used. - * elf64-ppc.c: Likewise. - -2018-02-23 Alan Modra - - PR 22881 - * elf.c (assign_file_positions_for_non_load_sections): Remove RELRO - segment if no matching LOAD segment. - -2018-02-23 Kuan-Lin Chen - - * elf32-nds32.h: Define mask for ict_model. - -2018-02-20 Jason Duerstock - - * elfnn-ia64.c (elf_backend_can_gc_sections): Enable. - -2018-02-19 Maciej W. Rozycki - - Revert - 2018-01-12 Vlad Ivanov - - * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when - .reginfo section has wrong size. - -2018-02-19 Maciej W. Rozycki - - * elfxx-mips.c (_bfd_mips_elf_always_size_sections): Set - SEC_FIXED_SIZE and SEC_HAS_CONTENTS flags for `.reginfo' and - `.MIPS.abiflags' sections. - (_bfd_mips_elf_final_link): Avoid reading beyond `.reginfo' - section's end. - -2018-02-19 Maciej W. Rozycki - - * section.c (SEC_FIXED_SIZE): New macro. - * bfd-in2.h: Regenerate. - -2018-02-19 Maciej W. Rozycki - - * section.c (SEC_HAS_GOT_REF): Remove macro. - * bfd-in2.h: Regenerate. - -2018-02-19 Alan Modra - - * elf-attrs.c (_bfd_elf_parse_attributes): Correct _bfd_error_handler - arguments. - * elfxx-mips.c (_bfd_mips_elf_final_link): Likewise. - * elfnn-riscv.c (_bfd_riscv_relax_align): Likewise. - (_bfd_riscv_relax_pc): Likewise and fix typos. - * libbfd-in.h (_bfd_error_handler): Add attribute printf. - * libbfd.h: Regenerate. - -2018-02-19 Alan Modra - - * dwarf2.c (read_section): Don't use 'll' format modifier. - (find_abstract_instance): Likewise. - * elfcore.h (elf_core_file_p): Likewise. - -2018-02-19 Alan Modra - - * bfd-in.h: Include inttypes.h or if not available define - PRId64, PRIu64 and PRIx64. - * bfd.c (_bfd_doprnt, _bfd_doprnt_scan): Remove support for L - modifier to print bfd_vma. - * coff-arm.c, * coff-mcore.c, * coff-ppc.c, * coff-rs6000.c, - * coff-sh.c, * coff-tic80.c, * coffcode.h, * coffgen.c, * cofflink.c, - * compress.c, * dwarf2.c, * elf-m10300.c, * elf.c, * elf32-arc.c, - * elf32-arm.c, * elf32-bfin.c, * elf32-cris.c, * elf32-hppa.c, - * elf32-i386.c, * elf32-ip2k.c, * elf32-lm32.c, * elf32-m32r.c, - * elf32-m68k.c, * elf32-metag.c, * elf32-nds32.c, * elf32-nios2.c, - * elf32-ppc.c, * elf32-rx.c, * elf32-s390.c, * elf32-score.c, - * elf32-score7.c, * elf32-sh.c, * elf32-sh64.c, * elf32-spu.c, - * elf32-tic6x.c, * elf32-tilepro.c, * elf32-v850.c, * elf32-vax.c, - * elf32-xtensa.c, * elf64-alpha.c, * elf64-hppa.c, * elf64-ia64-vms.c, - * elf64-mmix.c, * elf64-s390.c, * elf64-sh64.c, * elf64-x86-64.c, - * elfcode.h, * elfcore.h, * elflink.c, * elfnn-aarch64.c, - * elfnn-ia64.c, * elfnn-riscv.c, * elfxx-mips.c, * elfxx-sparc.c, - * elfxx-tilegx.c, * ieee.c, * ihex.c, * mach-o.c, * merge.c, * mmo.c, - * peXXigen.c, * xcofflink.c: Replace use of Lx modifier with PRIx64, - and cast input to uint64_t, and similarly for Ld and Lu. - * bfd-in2.h: Regenerate. - -2018-02-19 Alan Modra - - * elf32-arm.c, * elf32-hppa.c, * elf32-lm32.c, * elf32-m32r.c, - * elf32-metag.c, * elf32-nds32.c, * elf32-or1k.c, * elf32-ppc.c, - * elf32-s390.c, * elf32-sh.c, * elf32-tic6x.c, * elf32-tilepro.c, - * elf64-ppc.c, * elf64-s390.c, * elflink.c, * elfnn-aarch64.c, - * elfnn-riscv.c, * elfxx-sparc.c, * elfxx-tilegx.c, * elfxx-x86.c, - * reloc.c: Replace use of %R and %T in format strings passed to - einfo and friends by %pR and %pT. - -2018-02-19 Alan Modra - - * bfd.c (_bfd_doprnt, _bfd_doprnt_scan): Handle %pA and %pB in place - of %A and %B. - * aout-adobe.c: Update all messages using %A and %B. - * aout-cris.c: Likewise. - * aoutx.h: Likewise. - * archive.c: Likewise. - * binary.c: Likewise. - * cache.c: Likewise. - * coff-alpha.c: Likewise. - * coff-arm.c: Likewise. - * coff-i860.c: Likewise. - * coff-mcore.c: Likewise. - * coff-ppc.c: Likewise. - * coff-rs6000.c: Likewise. - * coff-sh.c: Likewise. - * coff-tic4x.c: Likewise. - * coff-tic54x.c: Likewise. - * coff-tic80.c: Likewise. - * coff64-rs6000.c: Likewise. - * coffcode.h: Likewise. - * coffgen.c: Likewise. - * cofflink.c: Likewise. - * coffswap.h: Likewise. - * compress.c: Likewise. - * cpu-arm.c: Likewise. - * ecoff.c: Likewise. - * elf-attrs.c: Likewise. - * elf-eh-frame.c: Likewise. - * elf-ifunc.c: Likewise. - * elf-m10300.c: Likewise. - * elf-properties.c: Likewise. - * elf-s390-common.c: Likewise. - * elf.c: Likewise. - * elf32-arc.c: Likewise. - * elf32-arm.c: Likewise. - * elf32-avr.c: Likewise. - * elf32-bfin.c: Likewise. - * elf32-cr16.c: Likewise. - * elf32-cr16c.c: Likewise. - * elf32-cris.c: Likewise. - * elf32-crx.c: Likewise. - * elf32-d10v.c: Likewise. - * elf32-d30v.c: Likewise. - * elf32-epiphany.c: Likewise. - * elf32-fr30.c: Likewise. - * elf32-frv.c: Likewise. - * elf32-gen.c: Likewise. - * elf32-hppa.c: Likewise. - * elf32-i370.c: Likewise. - * elf32-i386.c: Likewise. - * elf32-i960.c: Likewise. - * elf32-ip2k.c: Likewise. - * elf32-iq2000.c: Likewise. - * elf32-lm32.c: Likewise. - * elf32-m32c.c: Likewise. - * elf32-m32r.c: Likewise. - * elf32-m68hc11.c: Likewise. - * elf32-m68hc12.c: Likewise. - * elf32-m68hc1x.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-mcore.c: Likewise. - * elf32-mep.c: Likewise. - * elf32-metag.c: Likewise. - * elf32-microblaze.c: Likewise. - * elf32-moxie.c: Likewise. - * elf32-msp430.c: Likewise. - * elf32-mt.c: Likewise. - * elf32-nds32.c: Likewise. - * elf32-nios2.c: Likewise. - * elf32-or1k.c: Likewise. - * elf32-pj.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-rl78.c: Likewise. - * elf32-rx.c: Likewise. - * elf32-s390.c: Likewise. - * elf32-score.c: Likewise. - * elf32-score7.c: Likewise. - * elf32-sh-symbian.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-sh64.c: Likewise. - * elf32-sparc.c: Likewise. - * elf32-spu.c: Likewise. - * elf32-tic6x.c: Likewise. - * elf32-tilepro.c: Likewise. - * elf32-v850.c: Likewise. - * elf32-vax.c: Likewise. - * elf32-visium.c: Likewise. - * elf32-wasm32.c: Likewise. - * elf32-xgate.c: Likewise. - * elf32-xtensa.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-gen.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-sparc.c: Likewise. - * elf64-x86-64.c: Likewise. - * elfcode.h: Likewise. - * elfcore.h: 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. - * elfxx-x86.c: Likewise. - * hpux-core.c: Likewise. - * ieee.c: Likewise. - * ihex.c: Likewise. - * libbfd.c: Likewise. - * linker.c: Likewise. - * mach-o.c: Likewise. - * merge.c: Likewise. - * mmo.c: Likewise. - * oasys.c: Likewise. - * pdp11.c: Likewise. - * pe-mips.c: Likewise. - * peXXigen.c: Likewise. - * peicode.h: Likewise. - * reloc.c: Likewise. - * rs6000-core.c: Likewise. - * srec.c: Likewise. - * stabs.c: Likewise. - * vms-alpha.c: Likewise. - * xcofflink.c: Likewise. - -2018-02-19 Alan Modra - - PR 22845 - * elf.c (IS_TBSS): Define. - (_bfd_elf_map_sections_to_segments): Use IS_TBSS. - (assign_file_positions_for_non_load_sections): Revert last change. - Properly calculate load segment limits to compare against relro limits. - -2018-02-17 Alan Modra - - PR 22845 - * elf.c (assign_file_positions_for_non_load_sections): Ignore - degenerate zero size PT_LOAD segments when finding one overlapping - the PT_GNU_RELRO segment. - -2018-02-16 Alan Modra - - * libbfd.c (_bfd_bool_bfd_false_error): Rename from bfd_false. - (_bfd_bool_bfd_true): Rename from bfd_true. - (_bfd_ptr_bfd_null_error): Rename from bfd_nullvoidptr. - (_bfd_int_bfd_0): Rename from bfd_0. - (_bfd_uint_bfd_0): Rename from bfd_0u. - (_bfd_long_bfd_0): Rename from bfd_0l. - (_bfd_long_bfd_n1_error): Rename from _bfd_n1. - (_bfd_void_bfd): Rename from bfd_void. - (_bfd_bool_bfd_false, _bfd_bool_bfd_asymbol_false), - (_bfd_bool_bfd_link_false_error), - (_bfd_bool_bfd_link_true, _bfd_bool_bfd_bfd_true), - (_bfd_bool_bfd_uint_true, _bfd_bool_bfd_ptr_true), - (_bfd_bool_bfd_asection_bfd_asection_true), - (_bfd_bool_bfd_asymbol_bfd_asymbol_true), - (_bfd_void_bfd_link, _bfd_void_bfd_asection): New functions. - * archive.c (_bfd_noarchive_get_elt_at_index), - (_bfd_noarchive_openr_next_archived_file), - (_bfd_noarchive_construct_extended_name_table), - (_bfd_noarchive_write_ar_hdr, _bfd_noarchive_truncate_arname), - (_bfd_noarchive_write_armap): New functions. - * archures.c (_bfd_nowrite_set_arch_mach): New function. - * coff-alpha.c (alpha_ecoff_swap_coff_aux_in), - (alpha_ecoff_swap_coff_sym_in, alpha_ecoff_swap_coff_lineno_in), - (alpha_ecoff_swap_coff_aux_out, alpha_ecoff_swap_coff_sym_out), - (alpha_ecoff_swap_coff_lineno_out), - (alpha_ecoff_swap_coff_reloc_out): New functions. - * coff-mips.c (mips_ecoff_swap_coff_aux_in), - (mips_ecoff_swap_coff_sym_in, mips_ecoff_swap_coff_lineno_in), - (mips_ecoff_swap_coff_aux_out, mips_ecoff_swap_coff_sym_out), - (mips_ecoff_swap_coff_lineno_out), - (mips_ecoff_swap_coff_reloc_out): New functions. - * coffcode.h (coff_set_alignment_hook): Replace define with - new function. - (symname_in_debug_hook): Likewise. - * ecoff.c (_bfd_ecoff_set_alignment_hook): New function. - * elfxx-target.h (elf_backend_allow_non_load_phdr): Default to 0. - * elf.c (assign_file_positions_except_relocs): Test - elf_backend_allow_non_load_phdr for NULL. - * elflink.c (_bfd_elf_omit_section_dynsym_default): Rename from - _bfd_elf_link_omit_section_dynsym. Update uses. - (_bfd_elf_omit_section_dynsym_all): New function. - * elf-bfd.h (_bfd_elf_link_omit_section_dynsym): Delete. - (_bfd_elf_omit_section_dynsym_default): Declare. - (_bfd_elf_omit_section_dynsym_all): Declare. - * linker.c (_bfd_nolink_sizeof_headers, _bfd_nolink_bfd_relax_section), - (_bfd_nolink_bfd_get_relocated_section_contents), - (_bfd_nolink_bfd_lookup_section_flags), - (_bfd_nolink_bfd_is_group_section, _bfd_nolink_bfd_discard_group), - (_bfd_nolink_bfd_link_hash_table_create), - (_bfd_nolink_bfd_link_just_syms), - (_bfd_nolink_bfd_copy_link_hash_symbol_type), - (_bfd_nolink_bfd_link_split_section), - (_bfd_nolink_section_already_linked), - (_bfd_nolink_bfd_define_common_symbol), - (_bfd_nolink_bfd_define_start_stop): New functions. - * reloc.c (_bfd_norelocs_bfd_reloc_type_lookup), - (_bfd_norelocs_bfd_reloc_name_lookup), - (_bfd_nodynamic_canonicalize_dynamic_reloc): New functions. - * section.c (_bfd_nowrite_set_section_contents): New function. - * syms.c (_bfd_nosymbols_canonicalize_symtab), - (_bfd_nosymbols_print_symbol, _bfd_nosymbols_get_symbol_info), - (_bfd_nosymbols_get_symbol_version_string), - (_bfd_nosymbols_bfd_is_local_label_name), - (_bfd_nosymbols_get_lineno, _bfd_nosymbols_find_nearest_line), - (_bfd_nosymbols_find_line, _bfd_nosymbols_find_inliner_info), - (_bfd_nosymbols_bfd_make_debug_symbol), - ( _bfd_nosymbols_read_minisymbols), - ( _bfd_nosymbols_minisymbol_to_symbol), - (_bfd_nodynamic_get_synthetic_symtab): New functions. - * libbfd-in.h: Declare new functions. Update existing defines, - removing casts. - * aix386-core.c: Update to use new hooks. Formatting. - * aout-adobe.c: Likewise. - * aout-arm.c: Likewise. - * aout-target.h: Likewise. - * aout-tic30.c: Likewise. - * aoutf1.h: Likewise. - * binary.c: Likewise. - * bout.c: Likewise. - * cisco-core.c: Likewise. - * coff-alpha.c: Likewise. - * coff-i386.c: Likewise. - * coff-i860.c: Likewise. - * coff-i960.c: Likewise. - * coff-ia64.c: Likewise. - * coff-mips.c: Likewise. - * coff-ppc.c: Likewise. - * coff-rs6000.c: Likewise. - * coff-sh.c: Likewise. - * coff-tic30.c: Likewise. - * coff-tic54x.c: Likewise. - * coff-x86_64.c: Likewise. - * coff64-rs6000.c: Likewise. - * coffcode.h: Likewise. - * elf-m10300.c: Likewise. - * elf32-cr16.c: Likewise. - * elf32-lm32.c: Likewise. - * elf32-m32r.c: Likewise. - * elf32-metag.c: Likewise. - * elf32-score.c: Likewise. - * elf32-score7.c: Likewise. - * elf32-tilepro.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-sh64.c: Likewise. - * elfnn-ia64.c: Likewise. - * elfxx-sparc.c: Likewise. - * elfxx-target.h: Likewise. - * elfxx-tilegx.c: Likewise. - * elfxx-x86.h: Likewise. - * hp300hpux.c: Likewise. - * hppabsd-core.c: Likewise. - * hpux-core.c: Likewise. - * i386msdos.c: Likewise. - * i386os9k.c: Likewise. - * ieee.c: Likewise. - * ihex.c: Likewise. - * irix-core.c: Likewise. - * libaout.h: Likewise. - * libecoff.h: Likewise. - * mach-o-target.c: Likewise. - * mach-o.c: Likewise. - * mipsbsd.c: Likewise. - * mmo.c: Likewise. - * netbsd-core.c: Likewise. - * nlm-target.h: Likewise. - * oasys.c: Likewise. - * osf-core.c: Likewise. - * pdp11.c: Likewise. - * pe-mips.c: Likewise. - * pe-x86_64.c: Likewise. - * pef.c: Likewise. - * plugin.c: Likewise. - * ppcboot.c: Likewise. - * ptrace-core.c: Likewise. - * sco5-core.c: Likewise. - * som.c: Likewise. - * sparclynx.c: Likewise. - * srec.c: Likewise. - * tekhex.c: Likewise. - * trad-core.c: Likewise. - * verilog.c: Likewise. - * versados.c: Likewise. - * vms-alpha.c: Likewise. - * vms-lib.c: Likewise. - * wasm-module.c: Likewise. - * xsym.c: Likewise. - * libbfd.h: Regenerate. - -2018-02-15 Jim Wilson - - * elfnn-riscv.c (_bfd_riscv_relax_section): Ifdef out check to ignore - symbols whose section address is zero. - - * elfnn-riscv.c (riscv_elf_relocate_section): Use bfd_reloc_dangerous - when pcrel_lo reloc has an addend. Use reloc_dangerous callback for - bfd_reloc_dangerous. Use einfo instead of warning callback for errors. - Add %X%P to error messages. - -2018-02-15 Eric Botcazou - - PR ld/22832 - * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) : - Pass FALSE instead of TRUE as 'create' argument to bfd_link_hash_lookup - and assert that the result of the call is not NULL. - -2018-02-14 Nick Clifton - - PR 22823 - Revert previous delta. Add extra casts to avoid compile time - warnings instead. - * libbfd-in.h (_bfd_generic_bfd_copy_private_bfd_data): Add extra - cast to avoid warning from gcc v8 compiler. - (_bfd_generic_bfd_merge_private_bfd_data): Likewise. - (_bfd_generic_bfd_set_private_flags): Likewise. - (_bfd_generic_bfd_copy_private_section_data): Likewise. - (_bfd_generic_bfd_copy_private_symbol_data): Likewise. - (_bfd_generic_bfd_copy_private_header_data): Likewise. - (_bfd_generic_bfd_print_private_bfd_data): Likewise. - (_bfd_noarchive_construct_extended_name_table): Likewise. - (_bfd_noarchive_truncate_arname): Likewise. - (_bfd_noarchive_write_ar_hdr): Likewise. - (_bfd_noarchive_get_elt_at_index): Likewise. - (_bfd_nosymbols_canonicalize_symtab): Likewise. - (_bfd_nosymbols_print_symbol): Likewise. - (_bfd_nosymbols_get_symbol_info): Likewise. - (_bfd_nosymbols_get_symbol_version_string): Likewise. - (_bfd_nosymbols_bfd_is_local_label_name): Likewise. - (_bfd_nosymbols_bfd_is_target_special_symbol): Likewise. - (_bfd_nosymbols_get_lineno): Likewise. - (_bfd_nosymbols_find_nearest_line): Likewise. - (_bfd_nosymbols_find_line): Likewise. - (_bfd_nosymbols_find_inliner_info): Likewise. - (_bfd_nosymbols_bfd_make_debug_symbol): Likewise. - (_bfd_nosymbols_read_minisymbols): Likewise. - (_bfd_nosymbols_minisymbol_to_symbol): Likewise. - (_bfd_norelocs_bfd_reloc_type_lookup): Likewise. - (_bfd_norelocs_bfd_reloc_name_lookup): Likewise. - (_bfd_nowrite_set_arch_mach): Likewise. - (_bfd_nowrite_set_section_contents): Likewise. - (_bfd_nolink_sizeof_headers): Likewise. - (_bfd_nolink_bfd_get_relocated_section_contents): Likewise. - (_bfd_nolink_bfd_relax_section): Likewise. - (_bfd_nolink_bfd_gc_sections): Likewise. - (_bfd_nolink_bfd_lookup_section_flags): Likewise. - (_bfd_nolink_bfd_merge_sections): Likewise. - (_bfd_nolink_bfd_is_group_section): Likewise. - (_bfd_nolink_bfd_discard_group): Likewise. - (_bfd_nolink_bfd_link_hash_table_create): Likewise. - (_bfd_nolink_bfd_link_add_symbols): Likewise. - (_bfd_nolink_bfd_link_just_syms): Likewise. - (_bfd_nolink_bfd_copy_link_hash_symbol_type): Likewise. - (_bfd_nolink_bfd_final_link): Likewise. - (_bfd_nolink_bfd_link_split_section): Likewise. - (_bfd_nolink_section_already_linked): Likewise. - (_bfd_nolink_bfd_define_common_symbol): Likewise. - (_bfd_nolink_bfd_define_start_stop): Likewise. - (_bfd_nodynamic_canonicalize_dynamic_symtab): Likewise. - (_bfd_nodynamic_get_synthetic_symtab): Likewise. - (_bfd_nodynamic_get_dynamic_reloc_upper_bound _bfd_): Likewise. - (_bfd_nodynamic_canonicalize_dynamic_reloc): Likewise. - * libbfd.c (bfd_false_any): Delete. - (bfd_true_any, bfd_nullvoidptr_any, bfd_0_any): Delete. - (bfd_0u_any, bfd_0l_any, _bfd_n1_any, bfd_void_any): Delete. - * libbfd.h (extern): Regenerate - * aout-target.h (MY_bfd_is_target_special_symbol): Add extra - cast to avoid warning from gcc v8 compiler. - * aout-tic30.c (tic30_aout_set_arch_mach): Likewise. - * binary.c (binary_get_symbol_info): Likewise. - * coff-alpha.c (alpha_ecoff_backend_data): Likewise. - * coff-mips.c (mips_ecoff_backend_data): Likewise. - * coffcode.h (coff_set_alignment_hook): Likewise. - (symname_in_debug_hook): Likewise. - (bfd_coff_backend_data bigobj_swap_table): Likewise. - * elf-m10300.c (elf_backend_omit_section_dynsym): Likewise. - * elf32-cr16.c (elf_backend_omit_section_dynsym): Likewise. - * elf32-lm32.c (elf_backend_omit_section_dynsym): Likewise. - * elf32-m32r.c (elf_backend_omit_section_dynsym): Likewise. - * elf32-metag.c (elf_backend_omit_section_dynsym): Likewise. - * elf32-score.c (elf_backend_omit_section_dynsym): Likewise. - * elf32-score7.c (elf_backend_omit_section_dynsym): Likewise. - * elf32-xstormy16.c (elf_backend_omit_section_dynsym): Likewise. - * elf32-xtensa.c (elf_backend_omit_section_dynsym): Likewise. - * elf64-alpha.c (elf_backend_omit_section_dynsym): Likewise. - * elf64-hppa.c (elf_backend_omit_section_dynsym): Likewise. - * elf64-ia64-vms.c (elf_backend_omit_section_dynsym): Likewise. - * elf64-mmix.c (elf_backend_omit_section_dynsym): Likewise. - * elf64-sh64.c (elf_backend_omit_section_dynsym): Likewise. - * elfnn-ia64.c (elf_backend_omit_section_dynsym): Likewise. - * elfxx-target.h (bfd_elfNN_bfd_debug_info_accumulate): Likewise. - (bfd_elfNN_bfd_make_debug_symbol): Likewise. - (bfd_elfNN_bfd_merge_private_bfd_data): Likewise. - (bfd_elfNN_bfd_set_private_flags): Likewise. - (bfd_elfNN_bfd_is_target_special_symbol): Likewise. - (elf_backend_init_index_section): Likewise. - (elf_backend_allow_non_load_phdr): Likewise. - * elfxx-x86.h (elf_backend_omit_section_dynsym): Likewise. - * i386msdos.c (msdos_bfd_is_target_special_symbol): Likewise. - * ieee.c (ieee_construct_extended_name_table): Likewise. - (ieee_write_armap): Likewise. - (ieee_write_ar_hdr): Likewise. - (ieee_bfd_is_target_special_symbol): Likewise. - * ihex.c (ihex_canonicalize_symtab): Likewise. - (ihex_bfd_is_target_special_symbol): Likewise. - * libaout.h (aout_32_bfd_is_target_special_symbol): Likewise. - * libecoff.h (_bfd_ecoff_bfd_is_target_special_symbol): Likewise. - (_bfd_ecoff_set_alignment_hook): Likewise. - * mach-o-target.c (bfd_mach_o_bfd_is_target_special_symbol): Likewise. - * mmo.c (mmo_bfd_is_target_special_symbol): Likewise. - * nlm-target.h (nlm_bfd_is_target_special_symbol): Likewise. - * oasys.c (oasys_construct_extended_name_table): Likewise. - (oasys_write_armap): Likewise. - (oasys_write_ar_hdr): Likewise. - (oasys_bfd_is_target_special_symbol): Likewise. - * pef.c (bfd_pef_bfd_is_target_special_symbol): Likewise. - * plugin.c (bfd_plugin_bfd_is_target_special_symbol): Likewise. - * ppcboot.c (ppcboot_bfd_is_target_special_symbol): Likewise. - * som.c (som_bfd_is_target_special_symbol): Likewise. - * srec.c (srec_bfd_is_target_special_symbol): Likewise. - * tekhex.c (tekhex_bfd_is_target_special_symbol): Likewise. - * verilog.c (verilog_bfd_is_target_special_symbol): Likewise. - * versados.c (versados_bfd_is_target_special_symbol): Likewise. - (versados_bfd_reloc_name_lookup): Likewise. - * vms-alpha.c (vms_bfd_is_target_special_symbol): Likewise. - (vms_bfd_define_start_stop): Likewise. - (alpha_vms_bfd_is_target_special_symbol): Likewise. - * wasm-module.c (wasm_bfd_is_target_special_symbol): Likewise. - * xsym.c (bfd_sym_bfd_is_target_special_symbol): Likewise. - -2018-02-14 H.J. Lu - - PR ld/22842 - * elf32-i386.c (elf_i386_check_relocs): Pass FALSE for non - PC-relative PLT to NEED_DYNAMIC_RELOCATION_P. - * elf64-x86-64.c (elf_x86_64_check_relocs): Create PLT for - R_X86_64_PC32 reloc against dynamic function in data section. - Pass TRUE for PC-relative PLT to NEED_DYNAMIC_RELOCATION_P. - (elf_x86_64_relocate_section): Use PLT for R_X86_64_PC32 reloc - against dynamic function in data section. - * elfxx-x86.c (elf_x86_allocate_dynrelocs): Use PLT in PIE as - function address only if pcrel_plt is true. - (_bfd_x86_elf_link_hash_table_create): Set pcrel_plt. - * elfxx-x86.h (NEED_DYNAMIC_RELOCATION_P): Add PCREL_PLT for - PC-relative PLT. If PLT is PC-relative, don't generate dynamic - PC-relative relocation against a function definition in data - secton in PIE. Remove the obsolete comments. - (elf_x86_link_hash_table): Add pcrel_plt. - -2018-02-13 H.J. Lu - - * elfxx-x86.c (elf_x86_allocate_dynrelocs): Check bfd_link_dll, - instead of bfd_link_pic, for building shared library. - -2018-02-13 H.J. Lu - - PR gas/22791 - * elf64-x86-64.c (is_32bit_relative_branch): Removed. - (elf_x86_64_relocate_section): Check PIC relocations in PIE. - Remove is_32bit_relative_branch usage. Disallow PC32 reloc - against protected function in shared object. - -2018-02-13 Sergei Trofimovich - - PR 22828 - * po/ru.po: Fix typo in Russian translation. - -2018-02-13 Maciej W. Rozycki - - * wasm-module.c (wasm_scan_name_function_section): Rename - `index' local variable to `idx'. - -2018-02-13 Nick Clifton - - PR 22823 - Fix compile time warnings generated by gcc version 8. - * libbfd-in.h: Remove extraneous text from prototypes. - Add prototypes for bfd_false_any, bfd_true_any, - bfd_nullvoidptr_any, bfd_0_any, bfd_0u_any, bfd_0l_any, - bfd_n1_any, bfd_void_any. - (_bfd_generic_bfd_copy_private_bfd_data): Use vararg based dummy - function. - (_bfd_generic_bfd_merge_private_bfd_data): Likewise. - (_bfd_generic_bfd_set_private_flags): Likewise. - (_bfd_generic_bfd_copy_private_section_data): Likewise. - (_bfd_generic_bfd_copy_private_symbol_data): Likewise. - (_bfd_generic_bfd_copy_private_header_data): Likewise. - (_bfd_generic_bfd_print_private_bfd_data): Likewise. - (_bfd_noarchive_construct_extended_name_table): Likewise. - (_bfd_noarchive_truncate_arname): Likewise. - (_bfd_noarchive_write_ar_hdr): Likewise. - (_bfd_noarchive_get_elt_at_index): Likewise. - (_bfd_nosymbols_canonicalize_symtab): Likewise. - (_bfd_nosymbols_print_symbol): Likewise. - (_bfd_nosymbols_get_symbol_info): Likewise. - (_bfd_nosymbols_get_symbol_version_string): Likewise. - (_bfd_nosymbols_bfd_is_local_label_name): Likewise. - (_bfd_nosymbols_bfd_is_target_special_symbol): Likewise. - (_bfd_nosymbols_get_lineno): Likewise. - (_bfd_nosymbols_find_nearest_line): Likewise. - (_bfd_nosymbols_find_line): Likewise. - (_bfd_nosymbols_find_inliner_info): Likewise. - (_bfd_nosymbols_bfd_make_debug_symbol): Likewise. - (_bfd_nosymbols_read_minisymbols): Likewise. - (_bfd_nosymbols_minisymbol_to_symbol): Likewise. - (_bfd_norelocs_bfd_reloc_type_lookup): Likewise. - (_bfd_norelocs_bfd_reloc_name_lookup): Likewise. - (_bfd_nowrite_set_arch_mach): Likewise. - (_bfd_nowrite_set_section_contents): Likewise. - (_bfd_nolink_sizeof_headers): Likewise. - (_bfd_nolink_bfd_get_relocated_section_contents): Likewise. - (_bfd_nolink_bfd_relax_section): Likewise. - (_bfd_nolink_bfd_gc_sections): Likewise. - (_bfd_nolink_bfd_lookup_section_flags): Likewise. - (_bfd_nolink_bfd_merge_sections): Likewise. - (_bfd_nolink_bfd_is_group_section): Likewise. - (_bfd_nolink_bfd_discard_group): Likewise. - (_bfd_nolink_bfd_link_hash_table_create): Likewise. - (_bfd_nolink_bfd_link_add_symbols): Likewise. - (_bfd_nolink_bfd_link_just_syms): Likewise. - (_bfd_nolink_bfd_copy_link_hash_symbol_type): Likewise. - (_bfd_nolink_bfd_final_link): Likewise. - (_bfd_nolink_bfd_link_split_section): Likewise. - (_bfd_nolink_section_already_linked): Likewise. - (_bfd_nolink_bfd_define_common_symbol): Likewise. - (_bfd_nolink_bfd_define_start_stop): Likewise. - (_bfd_nodynamic_canonicalize_dynamic_symtab): Likewise. - (_bfd_nodynamic_get_synthetic_symtab): Likewise. - (_bfd_nodynamic_get_dynamic_reloc_upper_bound _bfd_): Likewise. - (_bfd_nodynamic_canonicalize_dynamic_reloc): Likewise. - * libbfd.c (bfd_false_any): New function. Like bfd_false but - accepts one or more arguments. - (bfd_true_any): Likewise. - (bfd_nullvoidptr_any): Likewise. - (bfd_0_any): Likewise. - (bfd_0u_any): Likewise. - (bfd_0l_any): Likewise. - (_bfd_n1_any): Likewise. - (bfd_void_any): Likewise. - * libbfd.h (extern): Regenerate - * aout-target.h (MY_bfd_is_target_special_symbol): Use vararg - based dummy function. - * aout-tic30.c (tic30_aout_set_arch_mach): Likewise. - * binary.c (binary_get_symbol_info): Likewise. - * coff-alpha.c (alpha_ecoff_backend_data): Likewise. - * coff-mips.c (mips_ecoff_backend_data): Likewise. - * coffcode.h (coff_set_alignment_hook): Likewise. - (symname_in_debug_hook): Likewise. - (bfd_coff_backend_data bigobj_swap_table): Likewise. - * elf-m10300.c (elf_backend_omit_section_dynsym): Likewise. - * elf32-cr16.c (elf_backend_omit_section_dynsym): Likewise. - * elf32-lm32.c (elf_backend_omit_section_dynsym): Likewise. - * elf32-m32r.c (elf_backend_omit_section_dynsym): Likewise. - * elf32-metag.c (elf_backend_omit_section_dynsym): Likewise. - * elf32-score.c (elf_backend_omit_section_dynsym): Likewise. - * elf32-score7.c (elf_backend_omit_section_dynsym): Likewise. - * elf32-xstormy16.c (elf_backend_omit_section_dynsym): Likewise. - * elf32-xtensa.c (elf_backend_omit_section_dynsym): Likewise. - * elf64-alpha.c (elf_backend_omit_section_dynsym): Likewise. - * elf64-hppa.c (elf_backend_omit_section_dynsym): Likewise. - * elf64-ia64-vms.c (elf_backend_omit_section_dynsym): Likewise. - * elf64-mmix.c (elf_backend_omit_section_dynsym): Likewise. - * elf64-sh64.c (elf_backend_omit_section_dynsym): Likewise. - * elfnn-ia64.c (elf_backend_omit_section_dynsym): Likewise. - * elfxx-target.h (bfd_elfNN_bfd_debug_info_accumulate): Likewise. - (bfd_elfNN_bfd_make_debug_symbol): Likewise. - (bfd_elfNN_bfd_merge_private_bfd_data): Likewise. - (bfd_elfNN_bfd_set_private_flags): Likewise. - (bfd_elfNN_bfd_is_target_special_symbol): Likewise. - (elf_backend_init_index_section): Likewise. - (elf_backend_allow_non_load_phdr): Likewise. - * elfxx-x86.h (elf_backend_omit_section_dynsym): Likewise. - * i386msdos.c (msdos_bfd_is_target_special_symbol): Likewise. - * ieee.c (ieee_construct_extended_name_table): Likewise. - (ieee_write_armap): Likewise. - (ieee_write_ar_hdr): Likewise. - (ieee_bfd_is_target_special_symbol): Likewise. - * ihex.c (ihex_canonicalize_symtab): Likewise. - (ihex_bfd_is_target_special_symbol): Likewise. - * libaout.h (aout_32_bfd_is_target_special_symbol): Likewise. - * libecoff.h (_bfd_ecoff_bfd_is_target_special_symbol): Likewise. - (_bfd_ecoff_set_alignment_hook): Likewise. - * mach-o-target.c (bfd_mach_o_bfd_is_target_special_symbol): Likewise. - * mmo.c (mmo_bfd_is_target_special_symbol): Likewise. - * nlm-target.h (nlm_bfd_is_target_special_symbol): Likewise. - * oasys.c (oasys_construct_extended_name_table): Likewise. - (oasys_write_armap): Likewise. - (oasys_write_ar_hdr): Likewise. - (oasys_bfd_is_target_special_symbol): Likewise. - * pef.c (bfd_pef_bfd_is_target_special_symbol): Likewise. - * plugin.c (bfd_plugin_bfd_is_target_special_symbol): Likewise. - * ppcboot.c (ppcboot_bfd_is_target_special_symbol): Likewise. - * som.c (som_bfd_is_target_special_symbol): Likewise. - * srec.c (srec_bfd_is_target_special_symbol): Likewise. - * tekhex.c (tekhex_bfd_is_target_special_symbol): Likewise. - * verilog.c (verilog_bfd_is_target_special_symbol): Likewise. - * versados.c (versados_bfd_is_target_special_symbol): Likewise. - (versados_bfd_reloc_name_lookup): Likewise. - * vms-alpha.c (vms_bfd_is_target_special_symbol): Likewise. - (vms_bfd_define_start_stop): Likewise. - (alpha_vms_bfd_is_target_special_symbol): Likewise. - * wasm-module.c (wasm_bfd_is_target_special_symbol): Likewise. - * xsym.c (bfd_sym_bfd_is_target_special_symbol): Likewise. - * elf32-arc.c (get_replace_function): Assign replacement function - to func pointer. - * elf32-i370.c (i370_noop): Update prototype. - -2018-02-13 Alan Modra - - PR 22836 - * elf.c (_bfd_elf_fixup_group_sections): Account for removed - relocation sections. If size reduces to just the flag word, - remove that too and mark with SEC_EXCLUDE. - * elflink.c (bfd_elf_final_link): Strip empty group sections. - -2018-02-13 Alan Modra - - PR 22829 - * elf.c (assign_file_positions_for_non_load_sections): Rewrite - PT_GNU_RELRO setup. - -2018-02-12 Zebediah Figura - - * i386msdos.c (msdos_mkobject); New function. - (msdos_object_p): New function. - (i386_msdos_vec): Use msdos_object_p as the check_format - function. - * peicode.h: Rename external_PEI_DOS_hdr, DOSMAGIC, and - NT_SIGNATURE to external_DOS_hdr, IMAGE_DOS_SIGNATURE, and - IMAGE_NT_SIGNATURE. - * peXXigen.c: Likewise. - * coff-ia64.c: Likewise. - -2018-02-12 Nick Clifton - - * elf32-nds32.c (nds32_elf_relax_longjump3): Remove redundant - assignment. - * elf32-arc.c (elf_arc_relocate_section): Likewise. - -2018-02-09 Eric Botcazou - - * elfxx-sparc.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Reorder conditions. - (sparc_elf_append_rela): Assert that there is enough room in section. - (_bfd_sparc_elf_copy_indirect_symbol): Fix formatting. - (_bfd_sparc_elf_adjust_dynamic_symbol): Minor tweak. - (allocate_dynrelocs): Remove outdated comments and reorder conditions. - For a symbol subject to a GOT relocation, reserve a slot in the - relocation section if the symbol isn't dynamic and we are in PIC mode. - (_bfd_sparc_elf_relocate_section) : If relocation - is relaxed and a slot was reserved, generate a R_SPARC_NONE relocation. - : Adjust comments. - : Reorder conditions. Remove always-false assertion. - (_bfd_sparc_elf_finish_dynamic_symbol): Rename local_undefweak into - resolved_to_zero. Do not generate a dynamic GOT relocation for an - undefined weak symbol with non-default visibility. Remove superfluous - 'else' and fix formatting. - -2018-02-09 H.J. Lu - - * elf32-i386.c (elf_i386_get_synthetic_symtab): Also handle - is_solaris. - (i386_elf32_sol2_vec): Don't declare. - (elf_i386_link_setup_gnu_properties): Also handle is_solaris. - Don't set need_global_offset_table. - (elf_i386_solaris_arch_bed): New. - (elf_backend_arch_data): Set to elf_i386_solaris_arch_bed for - Solaris. - * elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Check - target_os != is_nacl instead of target_os == is_normal. - (x86_64_elf64_sol2_vec): Don't declare. - (elf_x86_64_link_setup_gnu_properties): Check target_os != - is_nacl instead of target_os == is_normal. Don't set - need_global_offset_table. - (elf_x86_64_solaris_arch_bed): New. - (elf_backend_arch_data): Set to elf_x86_64_solaris_arch_bed for - Solaris. - * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Keep - _GLOBAL_OFFSET_TABLE_ for Solaris. - (_bfd_x86_elf_link_setup_gnu_properties): Don't copy - need_global_offset_table. - * elfxx-x86.h (elf_x86_target_os): Add is_solaris. - (elf_x86_link_hash_table): Remove need_global_offset_table. - (elf_x86_init_table): Likewise. - -2018-02-08 H.J. Lu - - * elf32-i386.c (elf32_i386_copy_solaris_special_section_fields): - Remove prototype. - (i386_elf32_sol2_vec): Declared. - (elf_i386_link_setup_gnu_properties): Set - need_global_offset_table with info->output_bfd->xvec. - * elf64-x86-64.c (elf64_x86_64_copy_solaris_special_section_fields): - Remove prototype. - (x86_64_elf64_sol2_vec): Declared. - (elf_x86_64_link_setup_gnu_properties): Set - need_global_offset_table with info->output_bfd->xvec. - -2018-02-08 H.J. Lu - - * elf32-i386.c (elf32_i386_copy_solaris_special_section_fields): - New prototype. - (elf_i386_link_setup_gnu_properties): Set need_global_offset_table - for Solaris. - * elf64-x86-64.c (elf64_x86_64_copy_solaris_special_section_fields): - New prototype. - (elf_x86_64_link_setup_gnu_properties): Set - need_global_offset_table for Solaris. - * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Keep the - unused _GLOBAL_OFFSET_TABLE_ for Solaris. - (_bfd_x86_elf_link_setup_gnu_properties): Copy - need_global_offset_table. - * elfxx-x86.h (elf_x86_link_hash_table): Add - need_global_offset_table. - (elf_x86_init_table): Likewise. - -2018-02-08 Jim Wilson - - * elfnn-riscv.c (riscv_elf_relocate_section): Add comment for previous - change. - -2018-02-08 Nick Clifton - - PR 22788 - * elf.c (elf_parse_notes): Reject notes with excessuively large - alignments. - -2018-02-07 Alan Modra - - Revert 2018-01-17 Alan Modra - * elf32-ppc.c: Remove speculation barrier support. - * elf32-ppc.h: Likewise. - * elf64-ppc.c: Likewise. - * elf64-ppc.h: Likewise. - -2018-02-06 Jim Wilson - - * elfnn-riscv.c (riscv_elf_relocate_section): Return TRUE if used - callback to report an error. - -2018-02-06 Eric Botcazou - - PR ld/22263 - * elfxx-sparc.c (sparc_elf_tls_transition): Turn call to bfd_link_pic - into call to !bfd_link_executable and tidy up. - (_bfd_sparc_elf_check_relocs): Fix formatting and tidy up. - : Turn call to bfd_link_pic into call to - !bfd_link_executable. - : Likewise. - : Remove useless code, tidy and merge related blocks. - : Turn call to bfd_link_pic into call to - !bfd_link_executable. - : Tidy up. - (_bfd_sparc_elf_gc_mark_hook): Turn call to bfd_link_pic into call to - !bfd_link_executable. - (allocate_dynrelocs): Likewise. - (_bfd_sparc_elf_relocate_section): Fix formatting and tidy up. - : Merge into... - : ...this. Adjust 4th argument in call to - sparc_elf_tls_transition and remove redundant code. - : Turn call to bfd_link_pic into call to - !bfd_link_executable. - : Likewise. - : Likewise. Tidy up. - : Likewise. - : Likewise. Tidy up. - : Likewise. - : Likewise. - : Likewise. - : Likewise. - -2018-02-06 Miloš Stojanović - - PR 22789 - * elfxx-mips.c (_bfd_mips_elf_find_nearest_line): If the dwarf - functions failed to find the function name, try the generic elf - find function instead. - -2018-02-06 Sergio Durigan Junior - - * coff-rs6000.c (xcoff_write_archive_contents_old): Use - 'memcpy' instead of 'strncpy' when writing the magic number. - -2018-02-06 Nick Clifton - - PR 22794 - * opncls.c (bfd_get_debug_link_info_1): Check the size of the - section before attempting to read it in. - (bfd_get_alt_debug_link_info): Likewise. - -2018-02-06 Paul Carroll - - * bfd/dwarf2.c (find_abstract_name): Modified to return file and - line information in addition to name, if they can be found. - -2018-02-05 Renlin Li - - PR ld/22764 - * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Relax the - R_AARCH64_ABS32 and R_AARCH64_ABS16 for absolute symbol. Apply the - check for writeable section as well. - -2018-02-05 H.J. Lu - - PR ld/22782 - * elf32-i386.c (elf_i386_check_relocs): Set got_referenced if - _GLOBAL_OFFSET_TABLE_ is referenced or GOT is needed to resolve - undefined weak symbol to 0. - * elf64-x86-64.c (elf_x86_64_check_relocs): Set got_referenced - if _GLOBAL_OFFSET_TABLE_ is referenced. - * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Check - got_referenced instead of ref_regular_nonweak. Remove the - unused _GLOBAL_OFFSET_TABLE_ from symbol table. - * elfxx-x86.h (elf_x86_link_hash_table): Add got_referenced. - -2018-02-05 Maciej W. Rozycki - - * elfnn-riscv.c (_bfd_riscv_relax_pc): Use `memset' to - initialize `hi_reloc'. - -2018-02-05 Maciej W. Rozycki - - * elfxx-mips.c (_bfd_mips_elf_section_processing): For - SHT_MIPS_REGINFO sections don't assert the correct size and - report an error instead. - -2018-02-05 Maciej W. Rozycki - - * elf.c (_bfd_elf_write_object_contents): Propagate a failure - status from `->elf_backend_section_processing'. - -2018-02-02 Jim Wilson - - PR ld/22756 - * elfnn-riscv.c (riscv_relax_delete_bytes): New parameter link_info. - If link_info->wrap_hash, check for a duplicate symbol and ignore. - (_bfd_riscv_relax_call, bfd_riscv_relax_lui, _bfd_riscv_relax_tls_le): - Pass new argument to riscv_relax_delete_bytes. - (_bfd_riscv_relax_align, _bfd_riscv_relax_delete): Likewise. Remove - ATTRIBUTE_UNUSED from link_info parameter. - -2018-02-02 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section): Don't relocate nops - emitted for toc sequence optimization. Set and use "howto" later. - -2018-02-01 Simon Marchi - - * elf64-ppc.c (ppc64_elf_archive_symbol_lookup): Avoid pointer - arithmetic on NULL pointer. - * elflink.c (_bfd_elf_archive_symbol_lookup, - elf_link_add_archive_symbols): Likewise. - -2018-01-31 Michael Matz - - * elflink.c (bfd_elf_define_start_stop): Fix check of - def_dynamic. - -2018-01-31 H.J. Lu - - PR ld/21964 - * elflink.c (bfd_elf_define_start_stop): Check if __start and - __stop symbols are referenced by shared objects. - -2018-01-30 Alan Modra - - PR 22758 - * elf.c (_bfd_elf_map_sections_to_segments): Don't start a new - segment when demand paged with lma on the same page. Test this - before load/non-load, executable/non-executable, - writable/non-writable tests and simplify. Delete bogus relro - condition in writable/non-writable test. Delete outdated - comment. Formatting. - -2018-01-30 Alan Modra - - * elflink.c (bfd_elf_define_start_stop): Make __start and __stop - symbols dynamic. - -2018-01-29 Alan Modra - - PR 22741 - * coffgen.c (coff_pointerize_aux): Ensure auxent tagndx is in - range before converting to a symbol table pointer. - -2018-01-27 Nick Clifton - - * po/ru.po: Updated Russian translation. - -2018-01-26 Alan Modra - - * elflink.c (bfd_elf_define_start_stop): Override symbols when - they are defined dynamically. - -2018-01-26 Alan Modra - - * elf64-ppc.c (ppc64_elf_size_stubs): Iterate sizing when - .branch_lt changes size. - -2018-01-25 Alan Modra - - PR 22746 - * elfcode.h (elf_object_p): Avoid integer overflow. - -2018-01-25 Eric Botcazou - - PR ld/22727 - * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) : - Do a mere lookup of the __tls_get_addr symbol instead of adding it. - - Revert - 2017-10-19 H.J. Lu - - PR ld/22263 - * elfxx-sparc.c (sparc_elf_tls_transition): Replace - bfd_link_pic with !bfd_link_executable, !bfd_link_pic with - bfd_link_executable for TLS check. - (_bfd_sparc_elf_check_relocs): Likewise. - (allocate_dynrelocs): Likewise. - (_bfd_sparc_elf_relocate_section): Likewise. - -2018-01-24 Renlin Li - - * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Add support for - BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, - BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, - BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, - BFD_RELOC_AARCH64_MOVW_PREL_G3. - * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise. - (_bfd_aarch64_elf_resolve_relocation): Likewise. - -2018-01-24 Renlin Li - - * reloc.c: Add BFD_RELOC_AARCH64_MOVW_PREL_G0, - BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, BFD_RELOC_AARCH64_MOVW_PREL_G1, - BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, BFD_RELOC_AARCH64_MOVW_PREL_G2, - BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, BFD_RELOC_AARCH64_MOVW_PREL_G3. - * elfnn-aarch64.c (elfNN_aarch64_howto_table): Add entries for - BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, - BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, - BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, - BFD_RELOC_AARCH64_MOVW_PREL_G3. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2018-01-23 Maciej W. Rozycki - - * elfxx-mips.c (_bfd_mips_elf_final_link): Update a stale - `mips_elf32_section_processing' comment reference. - -2018-01-20 H.J. Lu - - PR ld/22721 - * elfxx-x86.c (_bfd_x86_elf_link_check_relocs): Check the - versioned __tls_get_addr symbol. - -2018-01-19 Nick Clifton - - * po/fr.po: Updated French translation. - -2018-01-18 Alan Modra - - * elf32-ppc.c (ppc_elf_create_glink): Correct alignment of .glink. - * elf64-ppc.c (ppc64_elf_size_stubs): Handle negative plt_stub_align. - (ppc64_elf_build_stubs): Likewise. - -2018-01-17 Nick Clifton - - * po/ru.po: Updated Russian translation. - * po/uk/po: Updated Ukranian translation. - -2018-01-17 Alan Modra - - * elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning. - -2018-01-17 Alan Modra - - * elf32-ppc.c (GLINK_ENTRY_SIZE): Handle speculation barrier. - (CRSETEQ, BEQCTRM): Define. - (is_nonpic_glink_stub): Don't check bctr. - (ppc_elf_link_hash_table_create): Init new ppc_elf_params field. - (ppc_elf_relax_section): Size speculation barrier. - (output_bctr): New function. - (write_glink_stub): Use output_bctr. - (ppc_elf_relocate_section): Use output_bctr for long branch stub. - (ppc_elf_finish_dynamic_symbol): Likewise. - (ppc_elf_finish_dynamic_sections): Use output_bctr. - * elf32-ppc.h (struct ppc_elf_params): Add speculate_indirect_jumps. - * elf64-ppc.c (CRSETEQ, BEQCTRM, BEQCTRLM): Define. - (GLINK_PLTRESOLVE_SIZE): Size speculation barrier. - (size_global_entry_stubs): Handle speculation barrier sizing. - (plt_stub_size): Likewise. - (output_bctr): New function. - (build_plt_stub, build_tls_get_addr_stub): Output speculation - barrier. - (ppc_build_one_stub): Likewise for ppc_stub_plt_branch. - (ppc_size_one_stub): Size speculation barrier in ppc_stub_plt_branch. - (build_global_entry_stubs): Output speculation barrier. - (ppc64_elf_build_stubs): Likewise in __glink_PLTresolve stub. - * elf64-ppc.h (struct ppc64_elf_params): Add speculate_indirect_jumps. - -2018-01-17 Alan Modra - - * elf32-ppc.c (GLINK_ENTRY_SIZE): Add parameters, handle - __tls_get_addr_opt, and alignment sizing. - (TLS_GET_ADDR_GLINK_SIZE): Delete. - (is_nonpic_glink_stub): Don't use GLINK_ENTRY_SIZE. - (ppc_elf_get_synthetic_symtab): Recognize stubs spaced at 4, 6, - or 8 insns. - (ppc_elf_link_hash_table_create): Init new ppc_elf_params field. - (allocate_dynrelocs): Use new GLINK_ENTRY_SIZE. - (ppc_elf_size_dynamic_sections): Likewise. Size branch table - by PLT reloc count. - (write_glink_stub): Handle __tls_get_addr_opt stub. - Pad out to size given by GLINK_ENTRY_SIZE. - (ppc_elf_relocate_section): Adjust write_glink_stub call. - (ppc_elf_finish_dynamic_symbol): Likewise. - (ppc_elf_finish_dynamic_sections): Write PLTresolve without using - insn array since so many need rewriting. - * elf32-ppc.h (struct ppc_elf_params): Add plt_stub_align. - * elf64-ppc.c (GLINK_PLTRESOLVE_SIZE): Rename from - GLINK_CALL_STUB_SIZE. Add htab param and evaluate to size without - nops. Adjust all uses. - (ppc64_elf_get_synthetic_symtab): Don't use GLINK_CALL_STUB_SIZE - in glink_vma calculation. - (struct ppc_link_hash_table): Add global_entry section pointer. - (create_linkage_sections): Create separate section for global - entry stubs. - (PPC_LO, PPC_HI, PPC_HA): Move earlier. - (size_global_entry_stubs): Handle sizing for aligned stubs. - (ppc64_elf_size_dynamic_sections): Handle global_entry alloc, - and don't stash end of glink branch table in rawsize. - (ppc_build_one_stub): Rewrite stub size calculations. - (build_global_entry_stubs): Use new section. - (ppc64_elf_build_stubs): Don't pad __glink_PLTresolve with nops. - Build lazy link stubs out to end of section. Build global entry - stubs in new section. - -2018-01-15 Nick Clifton - - * po/uk.po: Updated Ukranian translation. - -2018-01-13 Nick Clifton - - * po/bfd.pot: Regenerated. - -2018-01-13 Nick Clifton - - * version.m4: Bump version to 2.30.51 - * configure: Regenerate. - -2018-01-13 Nick Clifton - - 2.30 branch created. - -2018-01-12 Jens Widell - - * elf.c (setup_group): Optimize search for group by remembering - last found group and restarting search at that index. - * elf-bfd.h (struct elf_obj_tdata): Add group_search_offset field. - -2018-01-12 Gunther Nikl - - * aoutx.h (aout_link_check_ar_symbols): Remove default and handle - bfd_link_common_skip_none in switch. - -2018-01-12 Alan Modra - - PR ld/22649 - * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic - references on forced local symbols. - -2018-01-12 Vlad Ivanov - - * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when - .reginfo section has wrong size. - -2018-01-11 H.J. Lu - - PR ld/22393 - * elf.c (_bfd_elf_map_sections_to_segments): When generating - separate code and read-only data LOAD segments, create a new - LOAD segment if the previous section contains text and the - current section doesn't or vice versa. Don't put a writable - section in a read-only segment if there is a RELRO segment. - -2018-01-11 H.J. Lu - - PR ld/22649 - * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic - references on forced local symbols. - -2018-01-11 H.J. Lu - - PR ld/22677 - * elflink.c (bfd_elf_gc_sections): Keep all PREINIT_ARRAY, - INIT_ARRAY as well as FINI_ARRAY sections for ld -r --gc-section. - -2018-01-09 Kuan-Lin Chen - - PR 22662 - * elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error. - -2018-01-03 John Baldwin - - * elf.c (elfcore_grok_freebsd_note): Handle - NT_FREEBSD_PROCSTAT_PROC, NT_FREEBSD_PROCSTAT_FILES, and - NT_FREEBSD_PROCSTAT_VMMAP. - -2018-01-03 Alan Modra - - Update year range in copyright notice of all files. - -For older changes see ChangeLog-2017 +For older changes see ChangeLog-2018 -Copyright (C) 2018 Free Software Foundation, Inc. +Copyright (C) 2019 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/bfd/ChangeLog-2018 b/bfd/ChangeLog-2018 new file mode 100644 index 0000000000..370466f137 --- /dev/null +++ b/bfd/ChangeLog-2018 @@ -0,0 +1,4949 @@ +2018-12-31 Alan Modra + + PR 24041 + * elflink.c (elf_link_add_object_symbols): Don't segfault on + crafted ET_DYN with no program headers. + +2018-12-31 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section ): When + editing an old-style __tls_get_addr call, replace a toc restore + insn with a nop. + +2018-12-28 Alan Modra + + PR 24015 + * elf.c (bfd_elf_get_default_section_type): Make common sections + SHT_NOBITS. + * linker.c (bfd_generic_define_common_symbol): Clear + SEC_HAS_CONTENTS. + +2018-12-28 Alan Modra + + PR 23966 + * libbfd.c (SSIZE_MAX): Define. + (bfd_malloc, bfd_realloc): Don't cast size to long to check for + "negative" values, compare against SSIZE_MAX instead. + +2018-12-23 H.J. Lu + + * elf32-i386.c (elf_i386_rtype_to_howto): Remove the unused bfd + pointer argument. + (elf_i386_info_to_howto_rel): Updated. + (elf_i386_tls_transition): Likewise. + (elf_i386_relocate_section): Likewise. + +2018-12-20 H.J. Lu + + * elf32-i386.c (elf_i386_relocate_section): Call + elf_i386_rtype_to_howto to get reloc_howto_type pointer. + * elf64-x86-64.c (elf_x86_64_relocate_section): Call + elf_x86_64_rtype_to_howto to get reloc_howto_type pointer. + +2018-12-18 Alan Modra + + * Makefile.am (bfdinclude_HEADERS): Add bfd_stdint.h. + (BFD_H_DEPS): Add include/diagnostics.h. + (LOCAL_H_DEPS): Add bfd_stdint.h. + * bfd-in.h: Include bfd_stdint.h. + * arc-plt.h: Don't include stdint.h. + * coff-rs6000.c: Likewise. + * coff64-rs6000.c: Likewise. + * elfxx-riscv.c: Likewise. + * cache.c: Don't include bfd_stdint.h. + * elf32-arm.c: Likewise. + * elf32-avr.c: Likewise. + * elf32-nds32.c: Likewise. + * elf32-rl78.c: Likewise. + * elf32-rx.c: Likewise. + * elf32-wasm32.c: Likewise. + * elf64-nfp.c: Likewise. + * elflink.c: Likewise. + * elfnn-aarch64.c: Likewise. + * elfnn-ia64.c: Likewise. + * elfxx-ia64.c: Likewise. + * elfxx-x86.h: Likewise. + * wasm-module.c: Likewise, and don't include sysdep.h twice. + * elf-nacl.h: Don't include bfd.h. + * mach-o.h: Likewise. + * elfxx-aarch64.c: Include bfd.h and elf-bfd.h. + * elfxx-aarch64.h: Don't include bfd.h, elf-bfd.h or stdint.h. + * mach-o-aarch64.c: Include mach-o.h later. + * mach-o-arm.c: Likewise. + * mach-o-i386.c: Likewise. + * mach-o-x86-64.c: Likewise. + * mach-o.c: Likewise. + * sysdep.h: Don't include ansidecl.h or sys/stat.h. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + +2018-12-18 Alan Modra + + PR 23980 + * elf32-i386.c (elf_i386_relocate_section): Exit with wrong format + error rather than asserting input file is as expected. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elf32-sh.c (sh_elf_relocate_section): Likewise. + * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Exit with wrong format + error if input file is not ppc32 ELF. + +2018-12-18 Alan Modra + + PR 23980 + * elf64-ppc.c (ppc64_elf_hide_symbol): Check hash table type + before referencing ppc64-only fields of hash entries. + +2018-12-17 Alan Modra + + PR 23994 + * aoutx.h: Include limits.h. + (get_reloc_upper_bound): Detect long overflow and return a file + too big error if it occurs. + * elf.c: Include limits.h. + (_bfd_elf_get_symtab_upper_bound): Detect long overflow and return + a file too big error if it occurs. + (_bfd_elf_get_dynamic_symtab_upper_bound): Likewise. + (_bfd_elf_get_dynamic_reloc_upper_bound): Likewise. + +2018-12-14 H.J. Lu + + PR ld/23900 + * elf.c (get_program_header_size): Add a PT_GNU_PROPERTY + segment for NOTE_GNU_PROPERTY_SECTION_NAME. + (_bfd_elf_map_sections_to_segments): Create a PT_GNU_PROPERTY + segment for NOTE_GNU_PROPERTY_SECTION_NAME. + * elfxx-x86.c (_bfd_elf_link_setup_gnu_properties): Don't set + GNU_PROPERTY_X86_UINT32_VALID. + +2018-12-11 Max Filippov + + * elf32-xtensa.c (elf_xtensa_do_reloc): Limit const16 opcode + immediate field to 16 least significant bits. + +2018-12-11 H.J. Lu + + * elf32-xc16x.c (elf32_xc16x_rtype_to_howto): New function. + (elf32_xc16x_relocate_section): Call elf32_xc16x_rtype_to_howto + instead of xc16x_reloc_type_lookup to get reloc_howto_type. + +2018-12-07 H.J. Lu + + PR ld/23958 + * elflink.c (_bfd_elf_add_default_symbol): Override the previous + definition from IR object. + +2018-12-08 Stafford Horne + + * elf32-or1k.c (or1k_grok_prstatus): New function. + (or1k_grok_psinfo): Likewise. + +2018-12-07 H.J. Lu + + * elf-properties.c (elf_find_and_remove_property): Add a + bfd_boolean argument to indicate if the property should be + removed. + (elf_merge_gnu_property_list): Updated. Report + property change in linker map file. + (elf_get_gnu_property_section_size): Skip property_remove + properties. + (elf_write_gnu_properties): Likewise. + (_bfd_elf_link_setup_gnu_properties): Report property merge + in linker map file. Pass abfd to elf_merge_gnu_property_list. + +2018-12-07 Alan Modra + + PR 23952 + * syms.c (_bfd_generic_read_minisymbols): Free syms before + returning with zero symcount. + +2018-12-06 Alan Modra + + * elf32-ppc.c (ppc_elf_howto_raw ): Correct + mask and shift value. + (ppc_elf_vle_split16): Use E_OPCODE_MASK. Handle e_li + specially. + +2018-12-05 Sam Tebbs + + * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Add check for 'B'. + +2018-12-04 H.J. Lu + + PR ld/23372 + * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Don't remove + empty properties for GNU_PROPERTY_X86_COMPAT_ISA_1_USED and + GNU_PROPERTY_X86_UINT32_OR_AND. + (_bfd_x86_elf_link_fixup_gnu_properties): Likewise. + +2018-12-03 Kito Cheng + + * elfxx-riscv.h (RISCV_DONT_CARE_VERSION): New macro. + (struct riscv_subset_t): New structure. + (riscv_subset_t): New typedef. + (riscv_subset_list_t): New structure. + (riscv_release_subset_list): New prototype. + (riscv_add_subset): Likewise. + (riscv_lookup_subset): Likewise. + (riscv_lookup_subset_version): Likewise. + (riscv_release_subset_list): Likewise. + * elfxx-riscv.c: Include safe-ctype.h. + (riscv_parsing_subset_version): New function. + (riscv_supported_std_ext): Likewise. + (riscv_parse_std_ext): Likewise. + (riscv_parse_sv_or_non_std_ext): Likewise. + (riscv_parse_subset): Likewise. + (riscv_add_subset): Likewise. + (riscv_lookup_subset): Likewise. + (riscv_lookup_subset_version): Likewise. + (riscv_release_subset_list): Likewise. + +2018-12-01 H.J. Lu + + PR ld/23930 + * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Update + the iplt section alignment if it is non-empty. + (_bfd_x86_elf_link_setup_gnu_properties): Set plt.iplt_alignment + and delay setting the iplt section alignment. + * elfxx-x86.h (elf_x86_plt_layout): Add iplt_alignment. + +2018-11-30 Nick Clifton + + PR 23942 + * elfcode.h (elf_object_p): Check for corrupt input files with + more program headers than can actually fit in the file. + +2018-11-30 Nick Clifton + + PR 23932 + * elf.c (IS_CONTAINED_BY_LMA): Add a check for a negative section + size. + (rewrite_elf_program_header): If no sections are mapped into a + segment return an error. + +2018-11-30 Alan Modra + + PR 23937 + * elf64-ppc.c (write_plt_relocs_for_local_syms): Don't add local + entry offset for ifuncs. + +2018-11-29 H.J. Lu + + PR ld/23929 + * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Don't + merge .note.gnu.property section in IR inputs. + +2018-11-27 Thomas Preud'homme + + * cpu-arm.c (processors): Add processors known to GAS but missing here + and reindent. + (bfd_arm_update_notes): Add comment explaining why the list of + architectures in the switch should not be updated. + (architectures): Likewise. + +2018-11-27 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_elf_check_relocs) + + : Also accept an + absolute symbol in PIC code. + +2018-11-27 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_elf_check_relocs) + : Use `info->callbacks->einfo' + rather than `_bfd_error_handler' to report refused relocations + in PIC code and continue processing. Fix error message: `can + not' -> `cannot'. + +2018-11-27 H.J. Lu + + PR binutils/23919 + * compress.c (bfd_is_section_compressed_with_header): Initialize + *uncompressed_align_pow_p to 0. + +2018-11-27 Tamar Christina + + PR ld/23904 + * elfnn-aarch64.c (_bfd_aarch64_adrp_p): Use existing constants. + (_bfd_aarch64_erratum_843419_branch_to_stub): Use _bfd_aarch64_adrp_p. + (struct erratum_835769_branch_to_stub_clear_data): New. + (_bfd_aarch64_erratum_843419_clear_stub): New. + (clear_erratum_843419_entry): New. + (elfNN_aarch64_tls_relax): Use it. + (elfNN_aarch64_relocate_section): Pass input_section. + (aarch64_map_one_stub): Handle branch type none as valid. + +2018-11-27 Mark Wielaard + + PR binutils/23919 + * bfd.c (bfd_update_compression_header): Explicitly set alignment. + (bfd_check_compression_header): Add uncompressed_alignment_power + argument. Check ch_addralign is a power of 2. + * bfd-in2.h: Regenerated. + * compress.c (bfd_compress_section_contents): Get and set + orig_uncompressed_alignment_pow if section is decompressed. + (bfd_is_section_compressed_with_header): Add and get + uncompressed_align_pow_p argument. + (bfd_is_section_compressed): Add uncompressed_align_power argument + to bfd_is_section_compressed_with_header call. + (bfd_init_section_decompress_status): Get and set + uncompressed_alignment_power. + * elf.c (_bfd_elf_make_section_from_shdr): Add + uncompressed_align_power argument to + bfd_is_section_compressed_with_header call. + +2018-11-21 Jozef Lawrynowicz + + * elf32-msp430.c (elf32_msp430_merge_mspabi_attributes): Do not + error when .MSP430.attributes section is missing from objects + created by LTO. + +2018-11-13 Jim Wilson + + * elfnn-riscv.c (riscv_float_abi_string): New. + (_bfd_riscv_elf_merge_private_bfd_data): Use it for error message. + +2018-11-09 Bernhard M. Wiedemann + + * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Correct comment + concerning timestamp insertion. + +2018-11-09 Cupertino Miranda + + * arc-got.h (arc_got_entry_type_for_reloc): Changed to + correct static TLS relocs. + * elf32-arc.c (elf_arc_check_relocs): Introduced warning to + TLS relocs which require -fPIC. + (arc_create_forced_local_got_entries_for_tls): Created. + Traverses list of GOT entries to be resolved statically + when needed. + (elf_arc_finish_dynamic_sections): Changed. Calls + arc_create_forced_local_got_entries_for_tls for each known + possibly GOT symbol. + +2018-11-09 rhn + + PR 23699 + * ihex.c (ihex_write_object_contents): Check for sign extended + addresses that cannot be supported in the ihex format. + +2018-11-09 Claudiu Zissulescu + + * arc-got.h (arc_get_local_got_ents): Revamp it; use + elf_local_got_ents to store the local got list. + (get_got_entry_list_for_symbo): Restructure it. + * elf32-arc.c (elf_arc_relocate_section): Correct the call to + get_got_entry_list_for_symbol. + +2018-11-07 Nick Clifton + + * po/fr.po: Updated French translation. + * po/pt.po: Updated Portuguese translation. + +2018-11-06 Roman Bolshakov + Saagar Jha + + * mach-o.h: Add new enums for BFD_MACH_O_PLATFORM_MACOS, + BFD_MACH_O_PLATFORM_IOS, BFD_MACH_O_PLATFORM_TVOS, + BFD_MACH_O_PLATFORM_WATCHOS, BFD_MACH_O_PLATFORM_BRIDGEOS, + BFD_MACH_O_TOOL_CLANG, BFD_MACH_O_TOOL_SWIFT, BFD_MACH_O_TOOL_LD. + (struct bfd_mach_o_note_command): New. + (struct bfd_mach_o_build_version_tool): New. + (struct bfd_mach_o_build_version_command): New. + (bfd_mach_o_read_version_min): Don't split version into + a few fields. Rename reserved to sdk. + * mach-o.c (bfd_mach_o_read_version_min): Don't split version into a + few fields. Rename reserved to sdk. + (bfd_mach_o_read_command): Handle LC_VERSION_MIN_TVOS, LC_NOTE, + LC_BUILD_VERSION. + (bfd_mach_o_read_note): New. + (bfd_mach_o_read_build_version): New. + +2018-11-07 Yoshinori Sato + + * config.bfd: Add rx-*-linux. + * congigure.ac: Likewise. + * elf32-rx.c (rx_linux_object_p): New function. + (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME) + (elf_backend_object_p, elf32_bed): Define rx-*-linux. + * targets.c: Add rx_elf32_linux_le_vec. + * configure: Regenerate. + +2018-11-06 Romain Margheriti + + PR 23742 + * mach-o.c (bfd_mach_o_read_command): Accept and ignore + BFD_MACH_O_LC_LINKER_OPTIONS and BFD_MACH_O_LC_BUILD_VERSION + commands. + +2018-11-02 Alan Modra + + PR 23850 + * elf.c (bfd_section_from_shdr): Treat SHF_ALLOC SHT_REL* sections + in an executable or shared library as normal sections. + +2018-10-31 Renlin Li + + * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Don't create got + section for Local Exec TLS model. + +2018-10-24 H.J. Lu + + PR ld/23818 + * elflink.c (_bfd_elf_link_assign_sym_version): Hide symbols + defined in discarded input sections. + +2018-10-24 Alan Modra + + * elf32-arm.c (elf32_arm_size_stubs): Ignore as-needed libs that + were not needed. + +2018-10-23 Alan Modra + + PR 23806 + * merge.c (_bfd_add_merge_section): Don't attempt to merge + sections with ridiculously large alignments. + +2018-10-23 Alan Modra + + PR 23805 + * elflink.c (elf_link_input_bfd): Don't segfault on finding + STT_TLS symbols without any TLS sections. Instead, change the + symbol type to STT_NOTYPE. + +2018-10-23 Alan Modra + + PR 23804 + * merge.c (_bfd_add_merge_section): Don't attempt to merge + sections where size is not a multiple of entsize. + +2018-10-20 Alan Modra + + PR 23788 + * elf.c (section_match): Don't require a size match for SHT_SYMTAB + or SHT_STRTAB. + +2018-10-17 Alan Modra + + PR 23653 + * elflink.c (_bfd_elf_link_create_dynstrtab): Match elf_object_id + too when choosing dynobj. + +2018-10-16 Alan Modra + + * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Simplify + PE_DEBUG_DATA size checks. + +2018-10-16 Alan Modra + + PR 23781 + * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Free data + before returning. + +2018-10-16 Alan Modra + + PR 23534 + * init.c (bfd_init): Return an unsigned int. + bfd-in2.h: Regenerate. + +2018-10-15 Alan Modra + + PR 23534 + * init.c (BFD_INIT_MAGIC): Define. + (bfd_init): Return BFD_INIT_MAGIC. + bfd-in2.h: Regenerate. + +2018-10-13 Alan Modra + + PR 23770 + PR 23425 + * reloc.c (_bfd_clear_contents): Replace "location" param with + "buf" and "off". Bounds check "off". Return status. + * cofflink.c (_bfd_coff_generic_relocate_section): Update + _bfd_clear_contents call. + * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Likewise. + * elf32-arc.c (elf_arc_relocate_section): Likewise. + * elf32-i386.c (elf_i386_relocate_section): Likewise. + * elf32-metag.c (metag_final_link_relocate): Likewise. + * elf32-nds32.c (nds32_elf_get_relocated_section_contents): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf32-visium.c (visium_elf_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + * elf64-x86-64.c *(elf_x86_64_relocate_section): Likewise. + * libbfd-in.h (_bfd_clear_contents): Update prototype. + * libbfd.h: Regenerate. + +2018-10-09 Egeyar Bagcioglu + + * elflink.c (elf_link_output_extsym): Do not place symbols into a + discarded .dynsym. + +2018-10-08 H.J. Lu + + PR ld/23428 + * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Don't + add GNU_PROPERTY_X86_FEATURE_2_NEEDED to force program header + in non-code PT_LOAD segment. + +2018-10-08 Alan Modra + + * elf-nacl.c (nacl_modify_segment_map): Cope with header PT_LOAD + lacking sections. + * elf.c (_bfd_elf_map_sections_to_segments): Assume file and + program headers are required when info->load_phdrs. Reorganize + code handling program headers. Generate a mapping without + sections just for file and program headers when -z separate-code + would indicate they should be on a different page to the first + section. + +2018-10-08 Alan Modra + + * elf.c (assign_file_positions_for_load_sections): Set p_vaddr + from m->p_vaddr_offset for segments without sections. Invert + sign of p_vaddr_offset. + (rewrite_elf_program_header, copy_elf_program_header): Save + old segment p_vaddr to p_vaddr_offset. Invert sign of + p_vaddr_offset. + +2018-10-08 Alan Modra + + * elf.c (get_program_header_size): Don't count PT_INTERP if + .interp is empty. + (_bfd_elf_map_sections_to_segments): Don't create PT_INTERP if + .interp is empty. + +2018-10-08 Alan Modra + + * elf32-spu.c (spu_elf_modify_segment_map): Don't insert + overlays before segment containing headers. + +2018-10-08 Alan Modra + + * elf.c (make_mapping): Cope with zero size array at end of + struct elf_segment_map. + (_bfd_elf_map_sections_to_segments): Likewise. + (rewrite_elf_program_header, copy_elf_program_header): Likewise. + (_bfd_elf_map_sections_to_segments): Rename phdr_index to hdr_index. + +2018-10-05 Alan Modra + + * elf32-spu.c (spu_elf_create_sections): Make .note.spu_name + SHT_NOTE. + +2018-10-05 Richard Henderson + + * bfd-in2.h: Regenerated. + * elf32-or1k.c: (or1k_elf_howto_table): Fix formatting for + R_OR1K_PLT26, Add R_OR1K_PCREL_PG21, R_OR1K_GOT_PG21, + R_OR1K_TLS_GD_PG21, R_OR1K_TLS_LDM_PG21, R_OR1K_TLS_IE_PG21, + R_OR1K_LO13, R_OR1K_GOT_LO13, R_OR1K_TLS_GD_LO13, R_OR1K_TLS_LDM_LO13, + R_OR1K_TLS_IE_LO13, R_OR1K_SLO13, R_OR1K_PLTA26. + (or1k_reloc_map): Add BFD_RELOC_OR1K_PCREL_PG21, + BFD_RELOC_OR1K_GOT_PG21, BFD_RELOC_OR1K_TLS_GD_PG21, + BFD_RELOC_OR1K_TLS_LDM_PG21, BFD_RELOC_OR1K_TLS_IE_PG21, + BFD_RELOC_OR1K_LO13, BFD_RELOC_OR1K_GOT_LO13, + BFD_RELOC_OR1K_TLS_GD_LO13, BFD_RELOC_OR1K_TLS_GD_LO13, + BFD_RELOC_OR1K_TLS_LDM_LO13, BFD_RELOC_OR1K_TLS_IE_LO13, + BFD_RELOC_OR1K_SLO13, BFD_RELOC_OR1K_PLTA26. + (elf_or1k_link_hash_table): Add field saw_plta. + (or1k_final_link_relocate): Add value calculations for new relocations. + (or1k_elf_relocate_section): Add section relocations for new + relocations. + (or1k_write_plt_entry): New function. + (or1k_elf_finish_dynamic_sections): Add support for PLTA relocations + using new l.adrp instruction. Cleanup PLT relocation code generation. + * libbfd.h: Regenerated. + * reloc.c: Add BFD_RELOC_OR1K_PCREL_PG21, BFD_RELOC_OR1K_LO13, + BFD_RELOC_OR1K_SLO13, BFD_RELOC_OR1K_GOT_PG21, BFD_RELOC_OR1K_GOT_LO13, + BFD_RELOC_OR1K_PLTA26, BFD_RELOC_OR1K_TLS_GD_PG21, + BFD_RELOC_OR1K_TLS_GD_LO13, BFD_RELOC_OR1K_TLS_LDM_PG21, + BFD_RELOC_OR1K_TLS_LDM_LO13, BFD_RELOC_OR1K_TLS_IE_PG21, + BFD_RELOC_OR1K_TLS_IE_LO13. + +2018-10-05 Richard Henderson + + * elf32-or1k.c (or1k_elf_relocate_section): Add error for unknown + relocations. Add error for non zero addend with plt and got + relocations. Add error for got and plt references against dynamic, non + local, symbols. Add error when linking non shared liraries with + flag_pic. + +2018-10-05 Richard Henderson + Stafford Horne + + * bfd-in2.h: Regenerated. + * elf32-or1k.c (N_ONES): New macro. + (or1k_elf_howto_table): Fix R_OR1K_PLT26 to complain on overflow. + Add definitions for R_OR1K_TLS_TPOFF, R_OR1K_TLS_DTPOFF, + R_OR1K_TLS_DTPMOD, R_OR1K_AHI16, R_OR1K_GOTOFF_AHI16, + R_OR1K_TLS_IE_AHI16, R_OR1K_TLS_LE_AHI16, R_OR1K_SLO16, + R_OR1K_GOTOFF_SLO16, R_OR1K_TLS_LE_SLO16. + (or1k_reloc_map): Add entries for BFD_RELOC_HI16_S, + BFD_RELOC_LO16_GOTOFF, BFD_RELOC_HI16_GOTOFF, BFD_RELOC_HI16_S_GOTOFF, + BFD_RELOC_OR1K_TLS_IE_AHI16, BFD_RELOC_OR1K_TLS_LE_AHI16, + BFD_RELOC_OR1K_SLO16, BFD_RELOC_OR1K_GOTOFF_SLO16, + BFD_RELOC_OR1K_TLS_LE_SLO16. + (or1k_reloc_type_lookup): Change search loop to start ad index 0 and + also check results before returning. + (or1k_reloc_name_lookup): Simplify loop to use R_OR1K_max as index + limit. + (or1k_final_link_relocate): New function. + (or1k_elf_relocate_section): Add support for new AHI and SLO + relocations. Use or1k_final_link_relocate instead of generic + _bfd_final_link_relocate. + (or1k_elf_check_relocs): Add support for new AHI and SLO relocations. + * reloc.c: Add new enums for BFD_RELOC_OR1K_SLO16, + BFD_RELOC_OR1K_GOTOFF_SLO16, BFD_RELOC_OR1K_TLS_IE_AHI16, + BFD_RELOC_OR1K_TLS_IE_AHI16, BFD_RELOC_OR1K_TLS_LE_AHI16, + BFD_RELOC_OR1K_TLS_LE_SLO16. Remove unused BFD_RELOC_OR1K_GOTOFF_HI16 + and BFD_RELOC_OR1K_GOTOFF_LO16. + * libbfd.h: Regenerated. + +2018-10-04 Jim Wilson + + * elfnn-riscv.c (riscv_elf_size_dynamic_sections): In dynobj->sections + loop, handle htab->sdyntdata section. + +2018-10-04 Jose E. Marchesi + + * elf64-sparc.c (elf64_sparc_output_arch_syms): Do notcorrect the + impact of STT_REGISTER symbols in the dynsym sh_info here... + * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_sections): ...but + do it here. + +2018-10-03 H.J. Lu + + PR ld/23658 + * elf.c (get_program_header_size): Put all adjacent SHT_NOTE + sections with the same section alignment into a single PT_NOTE + segment. Check SHT_NOTE section type instead of section name. + (_bfd_elf_map_sections_to_segments): Likewise. + +2018-10-03 Millan Wolff + + PR 23715 + * dwarf2.c (find_abstract_instance): Allow recursive invocations + of find_abstract_instance to override the name variable. + +2018-10-03 Nick Clifton + + * po/pt.po: Updated Portuguese translation. + +2018-10-01 Cupertino Miranda + + * arc-got.h (relocate_fix_got_relocs_for_got_info): Changed. Take TLS + section alignment in consideration for this relocation. Fixed TCB_SIZE + offset size to include section alignment. + (get_got_entry_list_for_symbol): Changed. + * elf32-arc.c (FINAL_SECTSTART): Added this formula macro. + (ARC_TLS_DTPOFF) Updated reloc to use new created macro instead. + (arc_special_overflow_checks): Fixed TCB_SIZE offsize to include + section alignment. + (elf_arc_check_relocs): Changed. + (elf_arc_finish_dynamic_symbol) Return FALSE in case arc_htab is NULL. + (struct elf_arc_link_hash_entry): Moved and changed. + (elf_arc_link_hash_newfunc): Changed. + (arc_elf_link_hash_table_create): Removed old initializations. + (elf_arc_relocate_section, elf_arc_finish_dynamic_symbol): Changed. + +2018-09-28 H.J. Lu + + * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Use + elfclass instead of bed->s->elfclass. + +2018-09-27 Jim Wilson + + * elfnn-riscv.c (riscv_init_pcgp_relocs): Add explanatory comment. + (riscv_free_pcgp_relocs, riscv_record_pcgp_reloc): Likewise. + (riscv_find_pcgp_hi_reloc, riscv_reocrd_pcgp_lo_reloc): Likewise. + (riscv_find_pcgp_lo_reloc): Likewise. + (riscv_delete_pcgp_hi_reloc, riscv_use_pcgp_hi_reloc): Delete. + (riscv_delete_pcgp_lo_reloc): Likewise. + (_bfd_riscv_relax_pc): Don't call riscv_use_pcgp_hi_reloc. Replace + calls to riscv_delete_pcgp_lo_reloc and riscv_delete_pcgp_hi_reloc + with TRUE. Mark abfd arg as ATTRIBUTE_UNUSED. + +2018-09-25 Jim Wilson + + * elfnn-riscv.c (riscv_make_plt_header): New arg output_bfd. Change + return type to bfd_boolean. If EF_RISCV_RVE call _bfd_error_handler + and return FALSE. Return TRUE at end. + (riscv_make_plt_entry): Likewise. + (riscv_elf_finish_dynamic_symbol): Update call to riscv_make_plt_entry. + (riscv_elf_finish_dynamic_sections): Update call to + riscv_make_plt_header. + +2018-09-24 Jim Wilson + + * elfnn-riscv.c (_bfd_riscv_relax_pc) : New local + hi_sec_off which is symbol address with addend subtracted. Use in + riscv_find_pcgp_hi_reloc and riscv_record_pcgp_lo_reloc calls. + + * elfnn-riscv.c (riscv_resolve_pcrel_lo_relocs): Add check for reloc + overflow with addend. Use reloc_dangerous instead of reloc_overflow. + Add strings for the two errors handled here. + (riscv_elf_relocate_section) In case R_RISCV_PCREL_LO12_I, rewrite + comment. Only give error with addend when used with section symbol. + In case bfd_reloc_dangerous, update error string. + +2018-09-24 Jozef Lawrynowicz + + PR gdb/20948 + * elf.c (_bfd_elf_write_object_contents): Return from function + early if abfd->direction == both_direction. + +2018-09-21 Simon Marchi + + * configure.ac: Check for fls. + * elf32-nds32.c (fls): Only define if !HAVE_FLS. + * config.in: Re-generate. + * configure: Re-generate. + +2018-09-20 Maciej W. Rozycki + + * config.bfd : Remove + duplicate `case' selectors. + +2018-09-20 Nelson Chu + + * elf32-nds32.c (nds32_elf_relax_loadstore): + Remove the unused target features. + (bfd_elf32_nds32_set_target_option): Remove the unused parameters. + (nds32_elf_relax_piclo12, nds32_elf_relax_letlslo12, + nds32_elf_relax_letlsadd, nds32_elf_relax_letlsls, + nds32_elf_relax_pltgot_suff, nds32_elf_relax_got_suff + nds32_elf_relax_gotoff_suff, calculate_plt_memory_address, + calculate_plt_offset, calculate_got_memory_address, + nds32_elf_check_dup_relocs): Removed. + All callers changed. + * elf32-nds32.h: Remove the unused macros and defines. + (elf_nds32_link_hash_table): Remove the unused variable. + (bfd_elf32_nds32_set_target_option): Update prototype. + (nds32_elf_ex9_init): Removed. + * elf32-nds32.c (nds32_convert_32_to_16): Updated. + * elf32-nds32.c (HOWTO2, HOWTO3): Define new HOWTO macros + to initialize array nds32_elf_howto_table in any order + without lots of EMPTY_HOWTO. + (nds32_reloc_map): Updated. + * reloc.c: Add BFD_RELOC_NDS32_LSI. + * bfd-in2.h: Regenerated. + * bfd/libbfd.h: Regenerated. + * elf32-nds32.c (nds32_elf_relax_howto_table): Add R_NDS32_LSI. + (nds32_reloc_map): Likewise. + (nds32_elf_relax_flsi): New function. + (nds32_elf_relax_section): Support floating load/store relaxation. + * elf32-nds32.c (NDS32_GUARD_SEC_P, elf32_nds32_local_gp_offset): + New macro. + (struct elf_nds32_link_hash_entry): New `offset_to_gp' field. + (struct elf_nds32_obj_tdata): New `offset_to_gp' and `hdr_size' fields. + (elf32_nds32_allocate_local_sym_info, nds32_elf_relax_guard, + nds32_elf_is_target_special_symbol, nds32_elf_maybe_function_sym): + New functions. + (nds32_info_to_howto_rel): Add BFD_ASSERT. + (bfd_elf32_bfd_reloc_type_table_lookup, nds32_elf_link_hash_newfunc, + nds32_elf_link_hash_table_create, nds32_elf_relocate_section, + nds32_elf_relax_loadstore, nds32_elf_relax_lo12, nds32_relax_adjust_label, + bfd_elf32_nds32_set_target_option, nds32_fag_mark_relax): Updated. + (nds32_elf_final_sda_base): Improve it to find the better gp value. + (insert_nds32_elf_blank): Must consider `len' when inserting blanks. + * elf32-nds32.h (bfd_elf32_nds32_set_target_option): Update prototype. + (struct elf_nds32_link_hash_table): Add new variable `hyper_relax'. + * elf32-nds32.c (elf32_nds32_allocate_dynrelocs): New function. + (create_got_section): Likewise. + (allocate_dynrelocs, nds32_elf_size_dynamic_sections, + nds32_elf_relocate_section, nds32_elf_finish_dynamic_symbol): Updated. + (nds32_elf_check_relocs): Fix the issue that the shared library may + has TEXTREL entry in the dynamic section. + (nds32_elf_create_dynamic_sections): Enable to call readonly_dynrelocs + since the TEXTREL issue is fixed in the nds32_elf_check_relocs. + (nds32_elf_finish_dynamic_sections): Update and add DT_RELASZ + dynamic entry. + (calculate_offset): Remove the unused parameter `pic_ext_target' and + related codes. + All callers changed. + (elf_backend_dtrel_excludes_plt): Disable it temporarily since it + will cause some errors for our test cases. + * elf32-nds32.c (nds32_elf_merge_private_bfd_data): Allow to link the + generic object. + * reloc.c: Add TLS relocations. + * libbfd.h: Regenerated. + * bfd-in2.h: Regenerated. + * elf32-nds32.h (struct section_id_list_t): New. + (elf32_nds32_lookup_section_id, elf32_nds32_check_relax_group, + elf32_nds32_unify_relax_group, nds32_elf_unify_tls_model): + New prototypes. + (elf32_nds32_compute_jump_table_size, elf32_nds32_local_tlsdesc_gotent): + New macro. + (nds32_insertion_sort, bfd_elf32_nds32_set_target_option, + elf_nds32_link_hash_table): Updated. + * elf32-nds32.c (enum elf_nds32_tls_type): New. + (struct elf32_nds32_relax_group_t, struct relax_group_list_t): New. + (elf32_nds32_add_dynreloc, patch_tls_desc_to_ie, get_tls_type, + fls, ones32, list_insert, list_insert_sibling, dump_chain, + elf32_nds32_check_relax_group, elf32_nds32_lookup_section_id, + elf32_nds32_unify_relax_group, nds32_elf_unify_tls_model): New functions. + (elf_nds32_obj_tdata): Add new fields. + (elf32_nds32_relax_group_ptr, nds32_elf_local_tlsdesc_gotent): New macros. + (nds32_elf_howto_table): Add TLS relocations. + (nds32_reloc_map): Likewise. + (nds32_elf_copy_indirect_symbol, nds32_elf_size_dynamic_sections, + nds32_elf_finish_dynamic_symbol, elf32_nds32_allocate_local_sym_info, + nds32_elf_relocate_section, bfd_elf32_nds32_set_target_option, + nds32_elf_check_relocs, allocate_dynrelocs): Updated. + (nds32_elf_relax_section): Call nds32_elf_unify_tls_model. + (dtpoff_base): Rename it to `gottpof' and then update it. + +2018-09-20 Alan Modra + + PR 23685 + * peXXigen.c (pe_print_edata): Correct export address table + overflow checks. Check dataoff against section size too. + +2018-09-20 Alan Modra + + PR 23686 + * dwarf2.c (read_section): Error when attempting to malloc + "(bfd_size_type) -1". + * syms.c (_bfd_stab_section_find_nearest_line): Bounds check + function_name. Bounds check reloc address. Formatting. Ensure + .stabstr zero terminated. + +2018-09-18 Nick Clifton + + PR 23657 + * elfcode.h (elf_swap_shdr_in): Generate a warning message if an + ELF section has contents and size larger than the file size. + +2018-09-14 Maciej W. Rozycki + + PR ld/21375 + * elfxx-mips.h (_bfd_mips_elf_hide_symbol): New prototype. + (_bfd_mips_elf_linker_flags): Update prototype. + * elf32-mips.c (elf_backend_hide_symbol): New macro. + * elf64-mips.c (elf_backend_hide_symbol): Likewise. + * elfn32-mips.c (elf_backend_hide_symbol): Likewise. + * elfxx-mips.c (mips_elf_link_hash_table): Add + `use_absolute_zero' and `gnu_target' members. + (mips_elf_record_global_got_symbol): Call + `_bfd_mips_elf_hide_symbol' rather than + `_bfd_elf_link_hash_hide_symbol'. + (mips_use_local_got_p): Return FALSE if the symbol is absolute. + (mips_elf_obtain_contents): Reorder function. + (mips_elf_nullify_got_load): New function. + (mips_elf_calculate_relocation): Add `contents' parameter. + Nullify GOT loads or if it is not possible, then redirect GOT + relocations to the `__gnu_absolute_zero' symbol, for references + that are supposed to resolve to zero. + (mips_elf_define_absolute_zero): New function. + (_bfd_mips_elf_check_relocs): Prepare for arrangements made in + `mips_elf_calculate_relocation' for references made via the GOT + that are supposed to resolve to zero. + (_bfd_mips_elf_hide_symbol): New function. + (_bfd_mips_elf_linker_flags): Add the `gnu_target' parameter, + set the `gnu_target' member of the MIPS hash table. + (MIPS_LIBC_ABI_ABSOLUTE): New enumeration constant. + (_bfd_mips_post_process_headers): Use it. + +2018-09-14 Maciej W. Rozycki + + * elfxx-mips.c (mips_elf_store_contents): New function... + (mips_elf_perform_relocation): ... factored out from here. + +2018-09-14 Lifang Xia + + * elf32-csky.c (csky_elf_howto_table): Fill special_function of + R_CKCORE_PCREL32. + (csky_elf_relocate_section): Add R_CKCORE_PCREL32 process. + +2018-09-14 Alan Modra + + PR 23425 + * reloc.c (bfd_generic_get_relocated_section_contents): Zero reloc + fields in debug sections when reloc is against an undefined symbol + and called from bfd_simple_get_relocated_section_contents or + similar. + * dwarf2.c (find_abstract_instance): Return true for zero offset + DW_FORM_ref_addr without returning values. + +2018-09-06 Alan Modra + + PR 23570 + * elf32-avr.c (elf_avr_special_sections): New. + (elf_backend_special_sections): Define. + +2018-09-04 Jose E. Marchesi + + * elfxx-sparc.c (_bfd_sparc_elf_info_to_howto): Do not issue an + error when an invalid relocation is passed; this is already done + by `_bfd_sparc_elf_info_to_howto_ptr'. + +2018-09-04 Jose E. Marchesi + + * elf64-sparc.c (elf64_sparc_slurp_one_reloc_table): Issue an + error when an invalid symbol index is retrieved in ELF64_R_SYM of + a relocation seen in an input file. + +2018-09-03 Jozef Lawrynowicz + Alan Modra + + PR 23595 + elf.c (copy_elf_program_header): When first segment contains + only the headers and SHT_NOBITS sections, use segment p_filesz + to calculate header and padding size. Use filepos of the first + section otherwise. + +2018-08-31 H.J. Lu + + PR ld/23600 + * archures.c (bfd_arch_get_compatible): Allow an IR object with + unknown architecture. + +2018-08-31 Alan Modra + + * elf64-ppc.c (num_relocs_for_offset): New function. + (emit_relocs_for_offset): New function. + (use_global_in_relocs): New function, split out from.. + (ppc_build_one_stub): ..here. Output relocations for notoc stubs. + (ppc_size_one_stub): Calculate reloc count for notoc stubs. + (ppc64_elf_size_stubs): Don't count undefined syms in stub_globals. + +2018-08-31 Alan Modra + + * reloc.c (BFD_RELOC_PPC64_REL16_HIGH, BFD_RELOC_PPC64_REL16_HIGHA), + (BFD_RELOC_PPC64_REL16_HIGHER, BFD_RELOC_PPC64_REL16_HIGHERA), + (BFD_RELOC_PPC64_REL16_HIGHEST, BFD_RELOC_PPC64_REL16_HIGHESTA): + Define. + * elf64-ppc.c (ppc64_elf_howto_raw): Add new REL16 howtos. + (ppc64_elf_reloc_type_lookup): Translate new REL16 relocs. + (ppc64_elf_check_relocs, ppc64_elf_relocate_section): Handle them. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2018-08-31 Alan Modra + + * elf64-ppc.c: Correct _notoc stub comments. + (ppc_build_one_stub): Simplify output of branch for notoc + long branch stub. Don't include label offset of 8 bytes in + "off" calculation for notoc plt stub. Don't emit insns to get pc. + (build_offset): Emit insns to get pc here instead. + (size_offset): Add 4 extra insns. + (plt_stub_size): Adjust for "off" and size_offset changes. + (ppc_size_one_stub): Rearrange code into a switch, duplicating + some to better match ppc_build_one_stub. + +2018-08-29 Chenghua Xu + + * archures.c (bfd_architecture): New machine + bfd_mach_mips_gs264e. + * bfd-in2.h (bfd_architecture): Likewise. + * cpu-mips.c (enum I_xxx): Likewise. + (arch_info_struct): Likewise. + * elfxx-mips.c (_bfd_elf_mips_mach): Handle + E_MIPS_MACH_GS264E. + (mips_set_isa_flags): Likewise. + (mips_mach_extensions): Map bfd_mach_mips_gs264e to + bfd_mach_mips_gs464e extension. + +2018-08-29 Chenghua Xu + + * archures.c (bfd_architecture): New machine + bfd_mach_mips_gs464e. + * bfd-in2.h (bfd_architecture): Likewise. + * cpu-mips.c (enum I_xxx): Likewise. + (arch_info_struct): Likewise. + * elfxx-mips.c (_bfd_elf_mips_mach): Handle + E_MIPS_MACH_GS464E. + (mips_set_isa_flags): Likewise. + (mips_mach_extensions): Map bfd_mach_mips_gs464e to + bfd_mach_mips_gs464 extension. + +2018-08-29 Chenghua Xu + + * archures.c (bfd_architecture): Rename + bfd_mach_mips_loongson_3a to bfd_mach_mips_gs464. + * bfd-in2.h (bfd_architecture): Likewise. + * cpu-mips.c (enum I_xxx): Likewise. + (arch_info_struct): Likewise. + * elfxx-mips.c (_bfd_elf_mips_mach): Likewise. + (mips_set_isa_flags): Likewise. + (mips_mach_extensions): Likewise. + (bfd_mips_isa_ext_mach): Likewise. + (bfd_mips_isa_ext): Likewise. + (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A. + +2018-08-29 Chenghua Xu + + * elfxx-mips.c (print_mips_ases): Add Loongson EXT2 extension. + +2018-08-29 Chenghua Xu + + * elfxx-mips.c (infer_mips_abiflags): Use ases instead of + isa_ext for infer ABI flags. + (print_mips_ases): Add Loongson EXT extension. + +2018-08-29 Chenghua Xu + + * elfxx-mips.c (print_mips_ases): Add CAM extension. + +2018-08-27 H.J. Lu + + * elfxx-x86.c (_bfd_x86_elf_parse_gnu_properties): Don't mask + out the GNU_PROPERTY_X86_UINT32_VALID bit. + +2018-08-25 H.J. Lu + + PR ld/23499 + * elf.c (_bfd_elf_get_symbol_version_string): Return + _("") for corrupt symbol version info. + +2018-08-24 H.J. Lu + + * elfxx-x86.c (_bfd_x86_elf_parse_gnu_properties): Handle + X86_COMPAT_ISA_1_USED, X86_COMPAT_ISA_1_NEEDED, + X86_UINT32_AND_LO, X86_UINT32_AND_HI, X86_UINT32_OR_LO, + X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and X86_UINT32_OR_AND_HI + instead of X86_ISA_1_USED, X86_ISA_1_NEEDED and X86_FEATURE_1_AND. + (_bfd_x86_elf_merge_gnu_properties): Likewise. + (_bfd_x86_elf_link_setup_gnu_properties): Add X86_FEATURE_2_NEEDED + instead of X86_ISA_1_NEEDED. + (_bfd_x86_elf_link_fixup_gnu_properties): Handle + X86_COMPAT_ISA_1_USED, X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, + X86_UINT32_AND_HI, X86_UINT32_OR_LO, X86_UINT32_OR_HI, + X86_UINT32_OR_AND_LO and X86_UINT32_OR_AND_HI instead of + X86_ISA_1_USED, X86_ISA_1_NEEDED and X86_FEATURE_1_AND. + +2018-08-24 H.J. Lu + + * elfxx-x86.c (_bfd_x86_elf_parse_gnu_properties): Mask out the + GNU_PROPERTY_X86_UINT32_VALID bit. + (_bfd_x86_elf_link_fixup_gnu_properties): Set the + GNU_PROPERTY_X86_UINT32_VALID bit for non-relocatable output. + +2018-08-23 Zenith423 + + PR 23460 + * plugin.c (struct plugin_list_entry): New structure. + (plugin_list): New variable. + (try_load_plugin): Place opened plugins on a list. Ensure that + the refcount in the dynamic loader is kept at 1. + +2018-08-23 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section): Revise "call lacks + nop" error message. + +2018-08-23 Nick Clifton + + * elf64-hppa.c (elf_hppa_final_link_relocate): Replace unworkable + code with an assertion. + +2018-08-23 Nick Clifton + + PR 23061 + * coffgen.c (coff_pointerize_aux): Add table_end parameter. Use + it to prevent walking off the end of the table. + (coff_get_normalized_symtab): Pass internal_end pointer to + coff_pointerize_aux. + +2018-08-23 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section): Don't miss clearing + unresolved_reloc on ppc_stub_plt_call_notoc. + +2018-08-22 H.J. Lu + + PR ld/23536 + * development.sh (experimental): New. + +2018-08-22 Helge Deller + Nick Clifton + + * elf-hppa.h (elf_hppa_fake_sections): Use SHT_PARISC_UNWIND as + the section type of the .PARISC.unwind section on 64-bit binaries + and SHT_PROGBITS for 32-bit binaries. Add a comment about it. + Add comment about the sh_entsize value. + +2018-08-22 Rafeal Auler + + PR 23560 + * elfnn-aarch64.c (elfNN_aarch64_size_stubs): Always update the + stub's target, since it may have been changed after the layout. + +2018-08-21 John Darington + + * elf32-s12z.c (opru18_reloc): New function. + (elf_s12z_howto_table): Adjust Howto according to new knowledge. + +2018-08-21 mephi42 + + PR binutils/23315 + * mach-o.c (bfd_mach_o_mangle_symbols): Update n_type even if + data is already considered filled. + +2018-08-21 Alan Modra + + * elf64-ppc.c (HOW): Define. + (ONES): Delete. + (ppc64_elf_howto_raw): Use HOW to initialize entries. + * elf32-ppc.c (HOW): Define. + (ppc_elf_howto_raw): Use HOW to initialize entries, updating + R_PPC_VLE_REL15 and R_PPC_VLE_REL24 to use bitpos=0. + +2018-08-21 Alan Modra + + * reloc.c (reloc_howto_type): Typedef. + (bfd_symbol): Delete forward declaration. + (struct reloc_howto_struct): Add "negate" field. Make "size", + "bitsize", "rightshift", "bitpos", "complain_on_overflow", + "pc_relative", "partial_inplace", and "pcrel_offset" bitfields. + Rearrange for better packing. Revise comments. + (HOWTO): Map to rearranged reloc_howto_struct. + (bfd_get_reloc_size): Delete now unused cases. + (read_reloc, write_reloc): Likewise. + (apply_reloc, _bfd_relocate_contents): Test howto->negate + rather than howto->size < 0 for negated relocation values. + * coff-rs6000.c (xcoff_complain_overflow_bitfield_func): Avoid + signed/unsigned warning. + (xcoff_ppc_relocate_section): Delete "condition is always false" + code. + * coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise. + * cpu-ns32k.c (do_ns32k_reloc): Adjust to suit reloc_howto_struct + changes. + * vms-alpha.c (_bfd_vms_write_etir, alpha_vms_slurp_relocs): Use + size 16 for ALPHA_R_LINKAGE. + (alpha_howto_table ): Set encoded size and + bitsize to zero. + * bfd-in.h (reloc_howto_type): Delete. + * bfd-in2.h: Regenerate. + +2018-08-21 Alan Modra + + * reloc.c (HOWTO): Revise comment. + (NEWHOWTO, HOWTO_PREPARE): Delete. + * coff-arm.c (coff_arm_reloc_type_lookup): Replace const struc + reloc_howto_struct with reloc_howto_type. + * ns32knetbsd.c (MY_bfd_reloc_type_lookup): Likewise. + * vms-alpha.c (alpha_vms_bfd_reloc_type_lookup): Likewise. + * elf-hppa.h (HOW): Define. + (elf_hppa_howto_table): Use it to simplify this table, correcting + name of R_PARISC_LTOFF16WF, R_PARISC_LTOFF_FPTR64, and + R_PARISC_LTOFF_FPTR16DF. + * elf32-mep.c (MEPREL): Use HOWTO. + * bfd-in2.h: Regenerate. + +2018-08-20 Alan Modra + + * mmo.c (valid_mmo_symbol_character_set): Initialize and make + array const. + (mmo_init): Don't init valid_mmo_symbol_character_set. + +2018-08-20 Alan Modra + + * rs6000-core.c (CORE_COMMONSZ): Balance parentheses in expression. + +2018-08-17 H.J. Lu + + PR ld/23515 + * elf-bfd.h (elf_backend_data): Add fixup_gnu_properties. + * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Call + backend fixup_gnu_properties if it isn't NULL. Discard + .note.gnu.property section if all properties have been removed. + * elfxx-target.h (elf_backend_fixup_gnu_properties): New. + (elfNN_bed): Initialize fixup_gnu_properties. + * elfxx-x86.c (_bfd_x86_elf_link_fixup_gnu_properties): New + function. + * elfxx-x86.h (_bfd_x86_elf_link_fixup_gnu_properties): New + prototype. + (elf_backend_fixup_gnu_properties): New. + +2018-08-16 Alan Modra + + * elf64-ppc.c: Correct ppc_stub_long_branch_notoc example. + Formatting. + +2018-08-12 H.J. Lu + + PR binutils/23494 + * Makefile.am (BFD32_LIBS): Add elf-properties.lo. + (BFD32_LIBS_CFILES): Add elf-properties.c. + (BFD32_BACKENDS): Remove elf-properties.lo. + (BFD32_BACKENDS_CFILES): Remove elf-properties.c. + * configure.ac (elf): Remove elf-properties.lo. + * Makefile.in: Regenerated. + * configure: Likewise. + +2018-08-11 H.J. Lu + + PR ld/23428 + * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Don't + add X86_ISA_1_NEEDED property only if existing properties won't + be removed. + +2018-08-11 Alan Modra + + * reloc.c (bfd_get_reloc_size): Sort switch. + (read_reloc, write_reloc, apply_reloc): New functions. + (bfd_perform_relocation, bfd_install_relocation): Use apply_reloc. + (_bfd_relocate_contents): Use read_reloc and write_reloc. + (_bfd_clear_contents): Likewise. + +2018-08-11 John Darrington + + * reloc.c (_bfd_relocate_contents): Handle 3 byte relocs. + (_bfd_clear_contents): Likewise. + (bfd_perform_relocation): Likewise. + (bfd_install_relocation): Likewise. + +2018-08-10 H.J. Lu + + PR ld/23499 + * elflink.c (bfd_elf_record_link_assignment): Always clear + h->verinfo.verdef when overriding a dynamic definition. + +2018-08-10 H.J. Lu + + PR binutils/23494 + * elf-properties.c (elf_get_gnu_property_section_size): Always + use align_size as pr_datasz for GNU_PROPERTY_STACK_SIZE. + (elf_write_gnu_properties): Likewise. + +2018-08-08 H.J. Lu + + PR binutils/23494 + * bfd.c (bfd_convert_section_size): Check BFD_DECOMPRESS after + calling _bfd_elf_convert_gnu_property_size to convert + .note.gnu.property section size. + (bfd_convert_section_contents): Check BFD_DECOMPRESS after + calling _bfd_elf_convert_gnu_properties to convert + .note.gnu.property section. + * elf-bfd.h (_bfd_elf_convert_gnu_property_size): New prototype. + (_bfd_elf_convert_gnu_properties): Likewise. + * elf-properties.c (elf_get_gnu_property_section_size): New + function. + (elf_write_gnu_properties): Likewise. + (_bfd_elf_convert_gnu_property_size): Likewise. + (_bfd_elf_convert_gnu_properties): Likewise. + (_bfd_elf_link_setup_gnu_properties): Use + elf_get_gnu_property_section_size and elf_write_gnu_properties. + +2018-08-08 H.J. Lu + + PR ld/23486 + * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Remove + GNU_PROPERTY_X86_ISA_1_USED if an input file doesn't have it. + (_bfd_x86_elf_link_setup_gnu_properties): Adding the + GNU_PROPERTY_X86_ISA_1_NEEDED, instead of + GNU_PROPERTY_X86_ISA_1_USED, property. + +2018-08-07 Alan Modra + + * elf64-ppc.c (struct map_stub): Delete tls_get_addr_opt_bctrl. + Add lr_restore, eh_size and eh_base. + (eh_advance, eh_advance_size): New functions. + (build_tls_get_addr_stub): Emit EH info for stub. + (ppc_build_one_stub): Likewise for _notoc stubs. + (ppc_size_one_stub): Size EH info for stub. + (group_sections): Init new map_stub fields. + (stub_eh_frame_size): Delete. + (ppc64_elf_size_stubs): Size EH info for stubs. Set up dummy EH + program for stubs. + (ppc64_elf_build_stubs): Reinit new map_stub fields. Set FDE + offset to stub section here.. + (ppc64_elf_finish_dynamic_sections): ..rather than here. + +2018-08-07 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section): Don't skip first + instruction of __tls_get_addr_opt stub. + (plt_stub_size): Omit ALWAYS_EMIT_R2SAVE condition when + dealing with __tls_get_addr_opt stub. + (build_tls_get_addr_stub, ppc_size_one_stub): Likewise. + +2018-08-06 Claudiu Zissulescu + + * elf32-arc.c (arc_elf_merge_private_bfd_data): Complain about + efalgs only when in/out exists. + (elf32_arc_section_from_shdr): Don't complain about 0x0c + section type. It is mwdt compiler specific. + +2018-08-06 Claudiu Zissulescu + + * elf32-arc.c (arc_elf_merge_attributes): Fix merge attributes. + +2018-08-06 Claudiu Zissulescu + + * elf32-arc.c (arc_elf_merge_attributes): Handle + Tag_ARC_ATR_version. + +2018-08-05 Alan Modra + + * elf64-ppc.c (ADDI_R12_R11, ADDI_R12_R12, LIS_R12), + (ADDIS_R12_R11, ORIS_R12_R12_0, ORI_R12_R12_0), + (SLDI_R12_R12_32, LDX_R12_R11_R12, ADD_R12_R11_R12): Define. + (ppc64_elf_howto_raw): Add R_PPC64_REL24_NOTOC entry. + (ppc64_elf_reloc_type_lookup): Support R_PPC64_REL24_NOTOC. + (ppc_stub_type): Add ppc_stub_long_branch_notoc, + ppc_stub_long_branch_both, ppc_stub_plt_branch_notoc, + ppc_stub_plt_branch_both, ppc_stub_plt_call_notoc, and + ppc_stub_plt_call_both. + (is_branch_reloc): Add R_PPC64_REL24_NOTOC. + (build_offset, size_offset): New functions. + (plt_stub_size): Support plt_call_notoc and plt_call_both. + (ppc_build_one_stub, ppc_size_one_stub): Support new stubs. + (toc_adjusting_stub_needed): Handle R_PPC64_REL24_NOTOC. + (ppc64_elf_size_stubs): Likewise, and new stubs. + (ppc64_elf_build_stubs, ppc64_elf_relocate_section): Likewise. + * reloc.c: Add BFD_RELOC_PPC64_REL24_NOTOC. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2018-08-05 Alan Modra + + * elf64-ppc.c (ppc_build_one_stub): Lose "_r2off" in stub symbols. + +2018-08-02 Jim Wilson + + * elfnn-riscv.c (riscv_elf_create_dynamic_sections): For .tdata.dyn, + add SEC_LINKER_CREATED flag. + +2018-08-01 Nick Clifton + + * coff-rs6000.c (_bfd_xcoff_put_ldsymbol_name): Suppress warnings + about potentially truncated strncpy operations. + (_bfd_xcoff_put_symbol_name): Likewise. + + * elf32-avr.c (avr_stub_name): Check for a NULL return from + bfd_malloc. + +2018-08-01 Zenith + + PR 23460 + * plugin.c (bfd_plugin_open_input): Close file descriptor if the + call to fstat fails. + (try_claim): Always close the file descriptor at the end of the + function. + (try_load_plugin): If a plugin has already been registered, then + skip the dlopen and onload steps and go straight to claiming the + file. If these is an error, close the plugin. + +2018-08-01 Alan Modra + + * elf64-ppc.c (plt_stub_pad): Delay plt_stub_size call until needed. + (ppc_build_one_stub): Don't set stub_offset, instead assert that + it is sane. Don't adjust stub_offset for alignment. Adjust size + calculation. Use "targ" temp when calculating offsets. + (ppc_size_one_stub): Set stub_offset here. Use "targ" temp when + calculating offsets. Adjust for alignment before setting + tls_get_addr_opt_bctrl. + +2018-08-01 Alan Modra + + * po/SRC-POTFILES.in: Regenerate. + +2018-07-30 Nick Clifton + + PR 22706 + * elf32-sh.c (sh_elf_relocate_section): When processing + translation relocs, fail if the relocation offset is too small. + Replace BFD_ASSERTs with more helpful error messages. + +2018-07-30 Andrew Jenner + + * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES): Add C-SKY. + (BFD32_BACKENDS, BFD_BACKENDS_CFILES): Likewise. + * Makefile.in: Regenerated. + * archures.c (enum bfd_architecture): Add bfd_arch_csky and + related bfd_mach defines. + (bfd_csky_arch): Declare. + (bfd_archures_list): Add C-SKY. + * bfd-in.h (elf32_csky_build_stubs): Declare. + (elf32_csky_size_stubs): Declare. + (elf32_csky_next_input_section: Declare. + (elf32_csky_setup_section_lists): Declare. + * bfd-in2.h: Regenerated. + * config.bfd: Add C-SKY. + * configure.ac: Likewise. + * configure: Regenerated. + * cpu-csky.c: New file. + * elf-bfd.h (enum elf_target_id): Add C-SKY. + * elf32-csky.c: New file. + * libbfd.h: Regenerated. + * reloc.c: Add C-SKY relocations. + * targets.c (csky_elf32_be_vec, csky_elf32_le_vec): Declare. + (_bfd_target_vector): Add C-SKY target vector entries. + +2018-07-27 John Darrington + + * elf32-s12z.c (ELF_TARGET_ID): Don't define. + +2018-07-27 John Darrington + + * libbfd.c (bfd_getb24, bfd_getl24): New functions. + (bfd_get_24, bfd_put_24): New macros. + * bfd-in2.h: Regenerate. + +2018-07-27 John Darrington + + * elf32-s12z.c (s12z_elf_set_mach_from_flags): Remove comment. + +2018-07-26 Alan Modra + + * elf64-ppc.c (ppc64_elf_size_stubs): Use a ppc_stub_long_branch_r2off + for calls to symbols with STO_PPC64_LOCAL_MASK bits set to 1. + +2018-07-25 Alan Modra + + * elf32-ppc.c (ppc_elf_relax_section): Ignore common or undef locals. + Avoid trashing toff with added when used as a symbol index. + Ignore R_PPC_PLTREL24 addends in unused example code. Avoid + creating unnecessary fixups when relocatable. + +2018-07-25 Alan Modra + + * elf32-arm.c (elf32_arm_nabi_write_core_note): Disable + -Wstringop-truncation warning for gcc-8.0 too. + * elf32-ppc.c (ppc_elf_write_core_note): Likewise. + * elf64-ppc.c (ppc64_elf_write_core_note): Likewise. + * elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewise. + * elf32-s390.c (elf_s390_write_core_note): Comment fix. + * elf64-s390.c (elf_s390_write_core_note): Likewise. + +2018-07-24 Alan Modra + + PR 23430 + * dwarf2.c (dwarf_debug_section_enum): Fix comment typo. + * elf.c (bfd_section_from_shdr, elf_sort_sections): Likewise. + +2018-07-23 Max Filippov + + * elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Move + relocation sections consistency check to always check both + .rela.dyn and .rela.plt when they exist. Rearrange variable + definition and assignment places. + +2018-07-23 Max Filippov + + * elf32-xtensa.c (shrink_dynamic_reloc_sections): Shrink dynamic + relocations section for dynamic undefined weak symbols when + linking a shared object. + +2018-07-23 Tom Tromey + + * elf.c (bfd_get_elf_phdrs): Don't call memcpy with size 0. + +2018-07-21 Eric Botcazou + + * elf32-arm.c (elf32_arm_final_link_relocate) : Small + cleanup for the case of a global symbol that binds locally. Also + install a value in the GOT slot in the case of a local symbol in + a non-PIC link. + +2018-07-20 H.J. Lu + + PR ld/23428 + * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): If the + separate code program header is needed, make sure that the first + read-only PT_LOAD segment has no code by adding a + GNU_PROPERTY_X86_ISA_1_USED note. + +2018-07-20 Chenghua Xu + Maciej W. Rozycki + + * elfxx-mips.c (print_mips_ases): Add MMI extension. + +2018-07-20 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Do not + create DT_REL, DT_RELSZ or DT_RELENT dynamic entries if the + dynamic relocation section will be discarded from output. + (_bfd_mips_elf_finish_dynamic_sections) : Assert that + the dynamic relocation section will be retained in output. + +2018-07-18 Maciej W. Rozycki + + * xcofflink.c (xcoff_write_global_symbol): Fix symbol type + checks for defined weak symbols. + +2018-07-17 Maciej W. Rozycki + + * elf32-nds32.c (nds32_elf_relax_loadstore): Use + `bfd_is_abs_symbol' rather than `bfd_is_abs_section' in checking + whether the symbol is absolute. + (nds32_elf_relax_lo12): Likewise. + * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Likewise. + (elfNN_aarch64_check_relocs): Likewise. + * xcofflink.c (xcoff_need_ldrel_p): Likewise. + (bfd_xcoff_import_symbol): Likewise. + (xcoff_write_global_symbol): Likewise. + +2018-07-17 Maciej W. Rozycki + + * linker.c (bfd_is_abs_symbol): New macro. + * bfd-in2.h: Regenerate. + +2018-07-16 Edjunior Barbosa Machado + + * elf-bfd.h (elfcore_write_ppc_tar): Add prototype. + (elfcore_write_ppc_ppr): Likewise. + (elfcore_write_ppc_dscr): Likewise. + (elfcore_write_ppc_ebb): Likewise. + (elfcore_write_ppc_pmu): Likewise. + (elfcore_write_ppc_tm_cgpr): Likewise. + (elfcore_write_ppc_tm_cfpr): Likewise. + (elfcore_write_ppc_tm_cvmx): Likewise. + (elfcore_write_ppc_tm_cvsx): Likewise. + (elfcore_write_ppc_tm_spr): Likewise. + (elfcore_write_ppc_tm_ctar): Likewise. + (elfcore_write_ppc_tm_cppr): Likewise. + (elfcore_write_ppc_tm_cdscr): Likewise. + * elf.c (elfcore_write_ppc_tar): New function. + (elfcore_write_ppc_ppr): Likewise. + (elfcore_write_ppc_dscr): Likewise. + (elfcore_write_ppc_ebb): Likewise. + (elfcore_write_ppc_pmu): Likewise. + (elfcore_write_ppc_tm_cgpr): Likewise. + (elfcore_write_ppc_tm_cfpr): Likewise. + (elfcore_write_ppc_tm_cvmx): Likewise. + (elfcore_write_ppc_tm_cvsx): Likewise. + (elfcore_write_ppc_tm_spr): Likewise. + (elfcore_write_ppc_tm_ctar): Likewise. + (elfcore_write_ppc_tm_cppr): Likewise. + (elfcore_write_ppc_tm_cdscr): Likewise. + (elfcore_write_register_note): Call them. + (elfcore_grok_ppc_tar): New function. + (elfcore_grok_ppc_ppr): Likewise. + (elfcore_grok_ppc_dscr): Likewise. + (elfcore_grok_ppc_ebb): Likewise. + (elfcore_grok_ppc_pmu): Likewise. + (elfcore_grok_ppc_tm_cgpr): Likewise. + (elfcore_grok_ppc_tm_cfpr): Likewise. + (elfcore_grok_ppc_tm_cvmx): Likewise. + (elfcore_grok_ppc_tm_cvsx): Likewise. + (elfcore_grok_ppc_tm_spr): Likewise. + (elfcore_grok_ppc_tm_ctar): Likewise. + (elfcore_grok_ppc_tm_cppr): Likewise. + (elfcore_grok_ppc_tm_cdscr): Likewise. + (elfcore_grok_note): Call them. + +2018-07-11 Maciej W. Rozycki + + * elfxx-mips.c (mips_tls_got_relocs): Use `bfd_link_dll' rather + than `!bfd_link_pic' in determining the dynamic symbol index. + Avoid the index of -1. + (mips_elf_initialize_tls_slots): Likewise. Flatten code by + moving `dyn' to the beginning of the function block. + +2018-07-11 Maciej W. Rozycki + Rich Felker + + PR ld/22570 + * elfxx-mips.c (mips_tls_got_relocs): Use `bfd_link_dll' rather + than `bfd_link_pic' to determine whether dynamic relocations are + to be produced. + (mips_elf_initialize_tls_slots): Likewise. + +2018-07-10 Maciej W. Rozycki + + * elflink.c (bfd_elf_final_link): Rename `remove' local variable + to `remove_section'. + +2018-07-10 Alan Modra + + * elf32-xgate.h: Delete. + * elf32-xgate.c: Delete unnecessary forward declarations, add two + that are now needed. + (xgate_elf_bfd_link_hash_table_create) + (xgate_elf_bfd_link_hash_table_free) + (xgate_elf_set_mach_from_flags, struct xgate_scan_param) + (stub_hash_newfunc, elf32_xgate_add_symbol_hook) + (elf32_xgate_setup_section_lists, elf32_xgate_size_stubs) + (elf32_xgate_build_stubs, elf32_xgate_check_relocs) + (elf32_xgate_relocate_section, _bfd_xgate_elf_set_private_flags) + (elf32_xgate_post_process_headers): Delete. + (elf32_xgate_backend_symbol_processing): New function. + (xgate_elf_ignore_reloc, xgate_elf_special_reloc) + (_bfd_xgate_elf_print_private_bfd_data): Make static. + (ELF_TARGET_ID, elf_info_to_howto, elf_backend_check_relocs) + (elf_backend_relocate_section, elf_backend_object_p) + (elf_backend_final_write_processing, elf_backend_can_gc_sections) + (elf_backend_post_process_headers, elf_backend_add_symbol_hook) + (bfd_elf32_bfd_link_hash_table_create) + (bfd_elf32_bfd_set_private_flags) + (xgate_stub_hash_lookup): Don't define. + (elf_backend_symbol_processing): Define. + * elf-bfd.h (elf_target_id): Delete XGATE_ELF_DATA. + +2018-07-09 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_elf_adjust_dynamic_symbol): Don't set + `->needs_lazy_stub' if the stubs output section is the absolute + section. + +2018-07-09 H.J. Lu + + PR ld/23388 + * configure.ac: Use changequote for "i[3-7]86-*-linux-*". + * configure: Regenerated. + +2018-07-09 Alan Modra + + * elf32-m68hc1x.c (elf32_m68hc11_post_process_headers): Call + _bfd_elf_post_process_headers. + +2018-07-06 Max Filippov + + * elf32-xtensa.c (elf_xtensa_allocate_dynrelocs): Don't allocate + space for dynamic relocation for undefined weak symbol. + (elf_xtensa_relocate_section): Don't emit R_XTENSA_RELATIVE + relocation for undefined weak symbols. + (shrink_dynamic_reloc_sections): Don't shrink dynamic relocation + section for relocations against undefined weak symbols. + +2018-07-06 Alan Hayward + + * elf.c (elfcore_grok_aarch_sve): New function. + (elfcore_grok_note): Check for Aarch64 SVE. + (elfcore_write_aarch_sve): New function. + (elfcore_write_register_note): Check for Aarch64 SVE. + * elf-bfd.h(elfcore_grok_aarch_sve): New declaration. + +2018-07-06 Alan Modra + + * elf32-arm.c (elf32_arm_nabi_write_core_note): Don't use + DIAGNOTIC_PUSH and DIAGNOSTIC_POP unconditionally. + * elf32-ppc.c (ppc_elf_write_core_note): Likewise. + * elf32-s390.c (elf_s390_write_core_note): Likewise. + * elf64-ppc.c (ppc64_elf_write_core_note): Likewise. + * elf64-s390.c (elf_s390_write_core_note): Likewise. + * elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewise. + +2018-07-05 Jim Wilson + + * config.bfd (riscv32*-*-*): Renamed from riscv32-*-*. + (riscv64*-*-*): Likewise. + (riscv-*-*): Add as an alias for riscv32*-*-*. + +2018-07-05 H.J. Lu + + PR ld/23372 + * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Remove x86 + ISA properties with empty bits. + +2018-07-05 Nick Clifton + + * po/ru.po: Updated Russian translation. + +2018-07-05 Alan Modra + + * elf-bfd.h (_bfd_elf_ppc_merge_fp_attributes): Update prototype. + * elf32-ppc.c (_bfd_elf_ppc_merge_fp_attributes): Return error + on mismatch. Remove "warning: " from messages. Track last bfd + used to set tags. + (ppc_elf_merge_obj_attributes): Likewise. Handle status from + _bfd_elf_ppc_merge_fp_attributes. + * elf64-ppc.c (ppc64_elf_merge_private_bfd_data): Handle status + from _bfd_elf_ppc_merge_fp_attributes. + +2018-07-04 H.J. Lu + + * Makefile.am (bfdinclude_HEADERS): Add $(INCDIR)/diagnostics.h. + * Makefile.in: Regenerated. + +2018-07-03 Alan Modra + + * elflink.c (bfd_elf_final_link): Remove zero size .gnu.attributes + sections. + +2018-07-03 Alan Modra + + * elf-bfd.h (ATTR_TYPE_FLAG_ERROR, ATTR_TYPE_HAS_ERROR): Define. + * elf-attrs.c (is_default_attr): Handle ATTR_TYPE_HAS_ERROR. + * elf32-ppc.c (_bfd_elf_ppc_merge_fp_attributes): Use + ATTR_TYPE_FLAG_INT_VAL. Set ATTR_TYPE_HAS_ERROR on finding + incompatible attribute. + (ppc_elf_merge_obj_attributes): Likewise. Return + _bfd_elf_merge_object_attributes result. + * elf64-ppc.c (ppc64_elf_merge_private_bfd_data): Return + _bfd_elf_merge_object_attributes result. + +2018-07-03 Alan Modra + + PR 17550 + * elflink.c (_bfd_elf_fix_symbol_flags): Hide dynamic symbols + in discarded sections. + +2018-07-02 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Set + `mark' for symbols created from `mips_elf_dynsym_rtproc_names' + list. + +2018-07-02 Maciej W. Rozycki + + * elf64-mips.c (micromips_elf64_howto_table_rel): Add + R_MICROMIPS_HI0_LO16, R_MICROMIPS_TLS_GD, R_MICROMIPS_TLS_LDM, + R_MICROMIPS_TLS_DTPREL_HI16, R_MICROMIPS_TLS_DTPREL_LO16, + R_MICROMIPS_TLS_GOTTPREL, R_MICROMIPS_TLS_TPREL_HI16, + R_MICROMIPS_TLS_TPREL_LO16, R_MICROMIPS_GPREL7_S2 and + R_MICROMIPS_PC23_S2 relocation entries. + (micromips_elf64_howto_table_rela): Likewise. + (micromips_reloc_map): Likewise. + * elfn32-mips.c (elf_micromips_howto_table_rel): Likewise. + (elf_micromips_howto_table_rela): Likewise. + (micromips_reloc_map): Likewise. + +2018-07-02 H.J. Lu + + PR ld/23324 + * elf64-x86-64.c (elf_x86_64_relocate_section): Clear the + R_X86_64_converted_reloc_bit bit. + +2018-07-02 Jeff Muizelaar + Tom Tromey + + PR 13157 + PR 21787 + * mach-o.c (bfd_mach_o_fat_close_and_cleanup): New function. + (bfd_mach_o_close_and_cleanup): Redefine. + * archive.c (_bfd_unlink_from_archive_parent): New function, + extracted from.. + (_bfd_archive_close_and_cleanup): ..here. + (bfd_generic_archive_p): Do not clear archive's format. + * libbfd-in.h (_bfd_unlink_from_archive_parent): Declare. + * libbfd.h: Regenerate. + +2018-07-02 Thomas Preud'homme + + * archures.c (bfd_mach_arm_5TEJ, bfd_mach_arm_6, bfd_mach_arm_6KZ, + bfd_mach_arm_6T2, bfd_mach_arm_6K, bfd_mach_arm_7, bfd_mach_arm_6M, + bfd_mach_arm_6SM, bfd_mach_arm_7EM, bfd_mach_arm_8, bfd_mach_arm_8R, + bfd_mach_arm_8M_BASE, bfd_mach_arm_8M_MAIN): Define. + * bfd-in2.h: Regenerate. + * cpu-arm.c (arch_info_struct): Add entries for above new + bfd_mach_arm values. + * elf32-arm.c (bfd_arm_get_mach_from_attributes): Add Tag_CPU_arch to + bfd_mach_arm mapping logic for pre Armv4 and Armv5TEJ and later + architectures. Force assert failure for any new Tag_CPU_arch value. + +2018-07-02 Thomas Preud'homme + + * doc/bfdint.texi: Use command-line consistently when used in a + compount word. + * doc/bfdsumm.texi: Likewise. + +2018-06-29 Maciej W. Rozycki + + * elfxx-mips.c (allocate_dynrelocs): Remove extraneous symbol + visibility check made for undefined weak symbols. + +2018-06-26 Nick Clifton + + * po/uk.po: Updated Ukranian translation. + +2018-06-25 Nick Clifton + + * elfnn-aarch64.c (_bfd_aarch64_erratum_835769_stub_name): Check + for malloc returning NULL. + (_bfd_aarch64_erratum_843419_fixup): Check for + _bfd_aarch64_erratum_835769_stub_name returning NULL. + +2018-06-24 Nick Clifton + + * po/bfd.pot: Regenerate. + +2018-06-24 Nick Clifton + + * version.m4: Update version string to 2.31.51. + * configure: Regenerate. + +2018-06-24 Nick Clifton + + 2.31 branch created. + +2018-06-21 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_elf_compact_eh_encoding) + (_bfd_mips_elf_cant_unwind_opcode): Correct formatting. + +2018-06-21 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_post_process_headers): Keep + EI_ABIVERSION setting together. + +2018-06-21 Maciej W. Rozycki + + * elfxx-mips.c (MIPS_LIBC_ABI_DEFAULT, MIPS_LIBC_ABI_MIPS_PLT) + (MIPS_LIBC_ABI_UNIQUE, MIPS_LIBC_ABI_MIPS_O32_FP64) + (MIPS_LIBC_ABI_MAX): New enumeration constants. + (_bfd_mips_post_process_headers): Use them in place of magic + numbers. + +2018-06-21 Jim Wilson + + * elfnn-riscv.c (riscv_elf_finish_dynamic_symbol): Update comment. + Use SYMBOL_REFERENCES_LOCAL. Add asserts for h->got.offset. + +2018-06-21 Alan Modra + + * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign". + * doc/Makefile.in: Regenerate. + +2018-06-20 Renlin Li + + * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Use PG_OFFSET + to resolve BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC. + +2018-06-20 Nick Clifton + + PR 23316 + * opncls.c (get_build_id): Check for a negative or excessive data + size in the build-id note. + +2018-06-20 Nick Clifton + + PR 23299 + * mach-o.c (cputype): New function. + (cpusubtype): New function. + (bfd_mach_o_bfd_print_private_data): New function. Dispalys the + values in the MACH-O file header. + (bfd_mach_o_bfd_copy_private_header_data): Copy the cputype and + cpusubtype fields from the input bfd's mach-o header to the output + bfd. + * mach-o-target.c (bfd_mach_o_bfd_print_private_bfd_data): + Redefine to bfd_mach_o_bfd_print_private_data. + * mach-o.h (bfd_mach_o_bfd_print_private_bfd_data): Prototype. + +2018-06-19 Maciej W. Rozycki + + PR ld/22966 + * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Verify the + `.got.plt' entry referred is in range. + (mips_finish_exec_plt): Correct the range check for `.got.plt' + start. Replace the assertion used for that with a proper error + message. + +2018-06-19 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Fix + formatting. + +2018-06-19 Simon Marchi + + * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11. + (INCLUDES): Rename to ... + (AM_CPPFLAGS): ... this. + * configure.ac: Remove AC_PREREQ. + * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9, cygnus, add + info-in-builddir no-texinfo.tex. + (info_TEXINFOS): Rename bfd.texinfo to bfd.texi. + * doc/bfd.texinfo: Rename to ... + * doc/bfd.texi: ... this. + * Makefile.in: Re-generate. + * aclocal.m4: Re-generate. + * config.in: Re-generate. + * configure: Re-generate. + * doc/Makefile.in: Re-generate. + +2018-06-18 Mephi + + PR 23297 + * mach-o-x86-64.c (x86_64_howto_table): Add entry for + BFD_RELOC_MACH_O_X86_64_RELOC_TLV. + (bfd_mach_o_x86_64_canonicalize_one_reloc): Handle the new reloc. + (bfd_mach_o_x86_64_swap_reloc_out): Likewise. + * reloc.c (BFD_RELOC_MACH_O_X86_64_TV): New entry. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2018-06-14 Faraz Shahbazker + + * elfxx-mips.c (print_mips_ases): Add GINV extension. + +2018-06-14 H.J. Lu + + PR binutils/23267 + * elf.c (_bfd_elf_get_symbol_version_string): Check if the first + symbol version is base version. + +2018-06-14 Alan Modra + + * elf-bfd.h (struct elf_link_hash_table): Add "dynamic_relocs". + * elflink.c (_bfd_elf_init_2_index_sections): Comment fix. + (_bfd_elf_add_dynamic_entry): Set "dynamic_relocs". + (_bfd_elf_link_renumber_dynsyms): Exclude all section symbols when + "dynamic_relocs" is not set. + * elfxx-mips.c (count_section_dynsyms): Likewise. + +2018-06-14 Alan Modra + + PR 23282 + * bfdio.c (bfd_seek): Optimize away seeks to current position. + +2018-06-13 Scott Egerton + Faraz Shahbazker + + * elfxx-mips.c (print_mips_ases): Add CRC. + +2018-06-08 H.J. Lu + + PR ld/23161 + * elfxx-x86.c (elf_x86_hide_linker_defined): New function. + (_bfd_x86_elf_link_check_relocs): Use it to hide hidden + __bss_start, _end and _edata in shared libraries. + +2018-06-07 Alan Modra + + * elf32-tic6x.c (elf32_tic6x_check_relocs): Reference + __c6xabi_DSBT_BASE explicitly for R_C6000_SBR_* relocs. + +2018-06-05 Alan Modra + + * bfd.c (struct bfd): Update comment on "where" usage. + * bfdio.c (bfd_bwrite, bfd_stat): Use and update "iovec", + "iostream", and "where" from containing archive file. Return + error on NULL iovec. + (bfd_bread): Similarly, and return error attempted out of + bounds archive element access. + (bfd_tell, bfd_flush): Use and update "iovec", "iostream", and + "where" from containing archive file. + (bfd_seek): Likewise. Return error on NULL iovec. Don't + attempt to optimize away seeks. Don't paper over errors by + calling bfd_tell. + (bfd_get_mtime): Call bfd_stat rather than iovec->bstat. + (bfd_get_size): Likewise. + (bfd_mmap): Operate on and use iovec of containing archive + file. Return error on NULL iovec. + * cache.c (bfd_cache_lookup_worker): Abort if working on + archive element bfd. + (cache_bread_1): Delete bfd parameter, add FILE* parameter. + Don't ignore zero byte reads. + (cache_bread): Look up FILE* in cache here. Error on NULL + lookup. + (cache_bwrite): Rename "where" to "from". + (cache_bmmap): Don't handle archive elements. + * coffcode.h (coff_slurp_line_table): Exit early on zero + lineno count. + * bfd-in2.h: Regenerate. + +2018-06-05 Alan Modra + + PR 23254 + * plugin.c (bfd_plugin_open_input): Allow for possibility of + nested archives. Open file again for plugin. + (try_claim): Don't save and restore file position. Close file + if not claimed. + * sysdep.h (O_BINARY): Define. + +2018-06-04 Max Filippov + + * elf32-xtensa.c (xtensa_read_table_entries): Make global. + (compute_fill_extra_space): Drop declaration. Rename function to + xtensa_compute_fill_extra_space. + (compute_ebb_actions, remove_dead_literal): Update references to + compute_fill_extra_space. + +2018-06-04 Volodymyr Arbatov + + * elf32-xtensa.c (elf32xtensa_separate_props): New global + variable. + (xtensa_add_names): New function. + (xtensa_property_section_name): Add new parameter + separate_sections, use it to choose property section name. + (xtensa_get_separate_property_section): New function. + (xtensa_get_property_section): Invoke + xtensa_get_separate_property_section to get individual property + section if it exists, common property section otherwise. + (xtensa_make_property_section): Pass elf32xtensa_separate_props + to xtensa_property_section_name. + +2018-06-04 H.J. Lu + + PR binutils/23146 + * bfd-in.h: Include "diagnostics.h". + * bfd-in2.h: Regenerated. + * elf32-arm.c (elf32_arm_nabi_write_core_note): Use + DIAGNOSTIC_PUSH, DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION and + DIAGNOSTIC_POP to silence GCC 8.1 warnings with + -Wstringop-truncation. + * elf32-ppc.c (ppc_elf_write_core_note): Likewse. + * elf32-s390.c (elf_s390_write_core_note): Likewse. + * elf64-ppc.c (ppc64_elf_write_core_note): Likewse. + * elf64-s390.c (elf_s390_write_core_note): Likewse. + * elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewse. + +2018-06-03 Jim Wilson + + PR ld/23244 + * elfnn-riscv.c (riscv_elf_relocate_section) : Check + for and handle an undefined weak with no PLT. + + PR ld/22756 + * elfnn-riscv.c (riscv_relax_delete_bytes): Add versioned_hidden check + to code that ignores duplicate symbols. + +2018-06-01 H.J. Lu + + * version.m4: Bump version to 2.30.52 + * configure: Regenerated. + +2018-06-01 Alan Modra + + * bfd.c (_bfd_error_handler): Arrange for this function to be + declared in bfd-in2.h. + * libbfd-in.h (_bfd_error_handler): Don't declare. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + +2018-05-30 Amaan Cheval + + * config.bfd (x86_64-*-*): Add pei-x86-64 target to x86_64-*-rtems* + This is needed to generate UEFI application image files from ELFs. + +2018-05-28 H.J. Lu + + * elf32-i386.c (elf_i386_lazy_plt): Add plt_tlsdesc_entry, + plt_tlsdesc_entry_size, plt_tlsdesc_got1_offset, + plt_tlsdesc_got2_offset, plt_tlsdesc_got1_insn_end and + plt_tlsdesc_got2_insn_end for TLSDESC entry. + (elf_i386_lazy_ibt_plt): Likewise. + (elf_i386_nacl_plt): Likewise. + * elf64-x86-64.c (tlsdesc_plt_entry): Moved and renamed to ... + (elf_x86_64_tlsdesc_plt_entry): This. + (elf_x86_64_lazy_plt): Add plt_tlsdesc_entry, + plt_tlsdesc_entry_size, plt_tlsdesc_got1_offset, + plt_tlsdesc_got2_offset, plt_tlsdesc_got1_insn_end and + plt_tlsdesc_got2_insn_end for TLSDESC entry. + (elf_x86_64_lazy_bnd_plt): Likewise. + (elf_x86_64_lazy_ibt_plt): Likewise. + (elf_x32_lazy_ibt_plt): Likewise. + (elf_x86_64_nacl_plt): Likewise. + (elf_x86_64_finish_dynamic_sections): Use plt_tlsdesc_entry, + plt_tlsdesc_entry_size, plt_tlsdesc_got1_offset, + plt_tlsdesc_got2_offset, plt_tlsdesc_got1_insn_end and + plt_tlsdesc_got2_insn_end to update TLSDESC entry. + * elfxx-x86.h (elf_x86_lazy_plt_layout): Update comments. + Add plt_tlsdesc_entry, plt_tlsdesc_entry_size, + plt_tlsdesc_got1_offset, plt_tlsdesc_got2_offset, + plt_tlsdesc_got1_insn_end and plt_tlsdesc_got2_insn_end. + (elf_x86_non_lazy_plt_layout): Update comments. + (elf_x86_plt_layout): Likewise. + +2018-05-28 H.J. Lu + + PR ld/23238 + * elf-s390-common.c (elf_s390_add_symbol_hook): Removed. + * elf32-arc.c (elf_arc_add_symbol_hook): Likewise. + (elf_backend_add_symbol_hook): Likewise. + * elf32-m68k.c (elf_m68k_add_symbol_hook): Likewise. + (elf_backend_add_symbol_hook): Likewise. + * elf32-s390.c (elf_backend_add_symbol_hook): Likewise. + * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise. + (elf_backend_add_symbol_hook): Likewise. + * elf64-s390.c (elf_backend_add_symbol_hook): Likewise. + * elfxx-aarch64.c (_bfd_aarch64_elf_add_symbol_hook): Likewise. + * elfxx-aarch64.h (_bfd_aarch64_elf_add_symbol_hook): Likewise. + (elf_backend_add_symbol_hook): Likewise. + * elf32-arm.c (elf32_arm_add_symbol_hook): Remove STT_GNU_IFUNC + handling. + * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise. + * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise. + * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise. + * elflink.c (elf_link_add_object_symbols): Set + elf_gnu_symbol_ifunc for STT_GNU_IFUNC symbols. + +2018-05-26 H.J. Lu + + PR ld/23194 + * elf-bfd.h (_bfd_elf_link_hide_sym_by_version): New. + * elflink.c (_bfd_elf_link_hide_versioned_symbol): New function. + Extracted from _bfd_elf_link_assign_sym_version. + (_bfd_elf_link_hide_sym_by_version): New function. + (_bfd_elf_link_assign_sym_version): Use + _bfd_elf_link_hide_versioned_symbol. + * elfxx-x86.c (_bfd_x86_elf_link_symbol_references_local): Call + _bfd_elf_link_hide_sym_by_version instead of + bfd_hide_sym_by_version. Don't check unversioned symbol. + +2018-05-25 Alan Modra + + * Makefile.in: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-05-25 Alan Modra + + * configure.ac (bfd_cv_hidden): Run test with -Werror in CFLAGS. + * configure: Regenerate. + +2018-05-23 H.J. Lu + + * elf64-ppc.c (ppc64_elf_write_core_note): Add ATTRIBUTE_NONSTRING + to data. + +2018-05-22 Alan Modra + + PR 23207 + * elf32-hppa.c (hppa_get_stub_entry): Return NULL when link_sec + is NULL. + (elf32_hppa_size_stubs): Only create stubs for load, alloc, code + sections. + (final_link_relocate): Revert last change. + +2018-05-22 Alan Modra + + PR 23207 + * elf32-hppa.c (final_link_relocate): Don't look for plt call + stubs in non-alloc sections. + +2018-05-21 H.J. Lu + + PR ld/23201 + * aout-target.h (MY_bfd_link_hide_symbol): New. + * aout-tic30.c (MY_bfd_link_hide_symbol): Likewise. + * binary.c (binary_bfd_link_hide_symbol): Likewise. + * coff-alpha.c (_bfd_ecoff_bfd_link_hide_symbol): Likewise. + * coff-mips.c (_bfd_ecoff_bfd_link_hide_symbol): Likewise. + * coff-rs6000.c (_bfd_xcoff_bfd_link_hide_symbol): Likewise. + * coffcode.h (coff_bfd_link_hide_symbol): Likewise. + * elf-bfd.h (_bfd_elf_link_hide_symbol): Likewise. + * elfxx-target.h (bfd_elfNN_bfd_link_hide_symbol): Likewise. + * i386msdos.c (msdos_bfd_link_hide_symbol): Likewise. + * ihex.c (ihex_bfd_link_hide_symbol): Likewise. + * libbfd-in.h (_bfd_nolink_bfd_link_hide_symbol): Likewise. + * linker.c (_bfd_generic_link_hide_symbol): Likewise. + (bfd_link_hide_symbol): Likewise. + * mach-o-target.c (bfd_mach_o_bfd_link_hide_symbol): Likewise. + * mmo.c (mmo_bfd_link_hide_symbol): Likewise. + * pef.c (bfd_pef_bfd_link_hide_symbol): Likewise. + * plugin.c (bfd_plugin_bfd_link_hide_symbol): Likewise. + * ppcboot.c (ppcboot_bfd_link_hide_symbol): Likewise. + * som.c (som_bfd_link_hide_symbol): Likewise. + * srec.c (srec_bfd_link_hide_symbol): Likewise. + * tekhex.c (tekhex_bfd_link_hide_symbol): Likewise. + * vms-alpha.c (vms_bfd_link_hide_symbol): Likewise. + (alpha_vms_bfd_link_hide_symbol): Likewise. + * xsym.c (bfd_sym_bfd_link_hide_symbol): Likewise. + * coff64-rs6000.c (rs6000_xcoff64_vec): Add + _bfd_generic_link_hide_symbol. + (rs6000_xcoff64_aix_vec): Likewise. + * elflink.c (bfd_elf_record_link_assignment): Don't make forced + local symbol dynamic. + (_bfd_elf_link_hide_symbol): New function. + * elfxx-x86.c (_bfd_x86_elf_link_symbol_references_local): Don't + check root.ldscript_def. + * targets.c (bfd_target): Add _bfd_link_hide_symbol. + (BFD_JUMP_TABLE_LINK): Add NAME##_bfd_link_hide_symbol. + * bfd-in2.h: Regenerated. + * libbfd.h: Likewise. + +2018-05-21 H.J. Lu + + PR binutils/23199 + * elf.c (setup_group): Mark section in a section group with + SHF_GROUP. + +2018-05-18 H.J. Lu + + PR ld/23194 + * elfxx-x86.c (_bfd_x86_elf_link_symbol_references_local): Don't + set eh->local_ref to 1 if a symbol is versioned and there is a + version script. + +2018-05-18 Kito Cheng + + * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Handle + EF_RISCV_RVE. + +2018-05-18 Jim Wilson + + * elfnn-riscv.c (allocate_dynrelocs): Discard dynamic relocations if + UNDEFWEAK_NO_DYNAMIC_RELOC is true. + (riscv_elf_relocate_section): Don't generate dynamic relocation if + UNDEFWEAK_NO_DYNAMIC_RELOC is true. + (riscv_elf_finish_dynamic_symbol): Likewise. + +2018-05-18 John Darrington + + * Makefile.am: Add s12z files. + * Makefile.in: Regenerate. + * archures.c: Add bfd_s12z_arch. + * bfd-in.h: Add exports of bfd_putb24 and bfd_putl24. + * bfd-in2.h: Regenerate. + * config.bfd: Add s12z target. + * configure.ac: Add s12z target. + * configure: Regenerate. + * cpu-s12z.c: New file. + * elf32-s12z.c: New file. + * libbfd.c (bfd_putb24): New function. + (bfd_putl24): New function. + * libbfd.h: Regenerate. + * reloc.c: Add s12z relocations. + (bfd_get_reloc_size): Handle size 5 relocs. + * targets.c: Add s12z_elf32_vec. + +2018-05-18 H.J. Lu + + PR ld/23189 + * elf32-i386.c (elf_i386_relocate_section): Handle R_386_GOT32X + like R_386_GOT32. + * elfxx-x86.c (_bfd_x86_elf_link_symbol_references_local): Don't + set eh->local_ref to 1 for linker defined symbols. + +2018-05-18 Alan Modra + + PR 23199 + * elf.c (setup_group): Formatting. Check that SHT_GROUP entries + don't point at other SHT_GROUP sections. Set shdr corresponding + to invalid entry, to NULL rather than section 0. Identify + SHT_GROUP section index when reporting an error. Cope with NULL + shdr pointer. + +2018-05-18 Alan Modra + + * libbfd-in.h (ATTRIBUTE_HIDDEN): Define and use throughout. + * configure.ac (HAVE_HIDDEN): Check compiler support for hidden + visibility. + * libbfd.h: Regenerate. + * configure: Regenerate. + * config.in: Regenerate. + +2018-05-18 Alan Modra + + * libbfd-in.h: Add include guard. + * libcoff-in.h: Likewise. + * doc/Makefile.am (libbfd.h, libcoff.h): Append another #endif. + * doc/Makefile.in: Regenerate. + * libbfd.h: Regenerate. + * libcoff.h: Regenerate. + +2018-05-16 Maciej W. Rozycki + + * elf32-nds32.c (nds32_convert_32_to_16): Preset `insn_type'. + +2018-05-16 Alan Modra + + PR 22458 + * format.c (struct bfd_preserve): Add section_id. + (bfd_preserve_save, bfd_preserve_restore): Save and restore + _bfd_section_id. + (bfd_reinit): Set _bfd_section_id. + (bfd_check_format_matches): Put all matches of any priority into + matching_vector. Save initial section id and start each attempted + match at that section id. + * libbfd-in.h (_bfd_section_id): Declare. + * section.c (_bfd_section_id): Rename from section_id and make + global. Adjust uses. + (bfd_get_next_section_id): Delete. + * elf64-ppc.c (ppc64_elf_setup_section_lists): Replace use of + bfd_get_section_id with _bfd_section_id. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + +2018-05-15 Christophe Guillon + + * coffcode.h (coff_bigobj_swap_aux_in): Make sure that all fields + of the aux structure are initialised. + +2018-05-15 Francois H. Theron + + * targets.c: Wrap nfp_elf64_vec in BFD64 ifdef. + +2018-05-15 Nick Clifton + + * po/pt.po: New Portuguese translation. + * configure.ac (ALL_LINGUAS): Add pt. + * configure: Regenerate. + +2018-05-14 H.J. Lu + + PR ld/23169 + * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Don't issue + an error on IFUNC pointer defined in PDE. + * elf32-i386.c (elf_i386_finish_dynamic_symbol): Call + _bfd_x86_elf_link_fixup_ifunc_symbol. + * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise. + * elfxx-x86.c (_bfd_x86_elf_link_fixup_ifunc_symbol): New + function. + * elfxx-x86.h (_bfd_x86_elf_link_fixup_ifunc_symbol): New. + +2018-05-14 H.J. Lu + + PR ld/23162 + * elfxx-x86.c (elf_x86_linker_defined): New function. + (_bfd_x86_elf_link_check_relocs): Use it to mark __bss_start, + _end and _edata locally defined within executables. + +2018-05-12 Alan Modra + + PR 20659 + * elf.c (rewrite_elf_program_header): Use segment_mark only for + PT_LOAD headers. Delete first_matching_lma and first_suggested_lma. + Instead make matching_lma and suggested_lma pointers to the + sections. Align section vma and lma calculated from segment. + Don't clear includes_phdrs or includes_filehdr based on p_paddr + test. Try to handle alignment padding before first section by + adjusting new segment lma down. Adjust PT_PHDR map p_paddr. + +2018-05-09 Dimitar Dimitrov + + * elf32-pru.c (pru_elf32_do_ldi32_relocate): Make LDI32 relocation + conformant to TI ABI. + (pru_elf32_relax_section): Likewise. + (pru_elf_relax_delete_bytes): Fix offsets for new LDI32 code. + * elf32-pru.c (pru_elf32_do_ldi32_relocate): Ignore addend. + (pru_elf32_pmem_relocate): Trap - should not get here. + (pru_elf32_relocate_section): Add support for REL relocations. + (elf_info_to_howto_rel): Enable REL. + (elf_backend_may_use_rel_p): Likewise. + (elf_backend_may_use_rela_p): Likewise. + (elf_backend_default_use_rela_p): Likewise. + +2018-05-09 Alan Modra + + PR 23148 + * peXXigen.c (pe_print_edata): Correct minimum size. + +2018-05-09 Alan Modra + + PR 23147 + * peXXigen.c (pe_print_idata): Bound check hint_addr. + +2018-05-08 Nick Clifton + + PR 22809 + * elf.c (bfd_elf_get_str_section): Check for an excessively large + string section. + * elf-attrs.c (_bfd_elf_parse_attributes): Issue an error if the + attribute section is larger than the size of the file. + +2018-05-07 Alan Modra + + * cofflink.c (_bfd_coff_link_input_bfd): Use memcmp rather than + strncmp when checking for ".bf" special symbol. + * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Make pe_required_section_flags + section name a char array, remove sentinal known_sections entry, + and adjust loop over known_sections to suit. Use memcmp rather + than strncmp. + +2018-05-04 Alan Modra + + * elf-linux-core.h (struct elf_external_linux_prpsinfo32_ugid32), + (struct elf_external_linux_prpsinfo32_ugid16), + (struct elf_external_linux_prpsinfo64_ugid32), + (struct elf_external_linux_prpsinfo64_ugid16): Add ATTRIBUTE_NONSTRING + to pr_fname and pr_psargs fields. Remove GCC diagnostic pragmas. + Move comment to.. + * elf.c (elfcore_write_prpsinfo): ..here. Indent nested preprocessor + directives. + * elf32-arm.c (elf32_arm_nabi_write_core_note): Add ATTRIBUTE_NONSTRING + to data. + * elf32-ppc.c (ppc_elf_write_core_note): Likewise. + * elf32-s390.c (elf_s390_write_core_note): Likewise. + * elf64-s390.c (elf_s390_write_core_note): Likewise. + * elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewise. + * elf64-x86-64.c (elf_x86_64_write_core_note): Add GCC diagnostic + pragmas. + * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Use strnlen to avoid + false positive gcc-8 warning. + * cofflink.c (_bfd_coff_link_input_bfd): Likewise. + +2018-05-04 Tulio Magno Quites Machado Filho + + * elf32-ppc.c (_bfd_elf_ppc_merge_fp_attributes): Fix the order + of arguments when warning about different long double types. + +2018-05-03 Simon Atanasyan + + * elf32-mips.c: (elf32_mips_fixup_symbol): New function. + (elf_backend_fixup_symbol): New macro. + * elfxx-mips.c: (mips_elf_output_extsym): Discard _gp_disp + handling. + (_bfd_mips_elf_finish_dynamic_symbol): Likewise. + +2018-04-30 Francois H. Theron + + * Makefile.am: Added NFP files to build. + * archures.c: Added bfd_arch_nfp + * config.bfd: Added NFP support. + * configure.ac: Added NFP support. + * cpu-nfp.c: New, for NFP support. + * elf-bfd.h: Added elf_section_info() + * elf64-nfp.c: New, for NFP support. + * po/SRC-POTFILES.in: Added NFP source files. + * targets.c: Added nfp_elf64_vec + * bfd-in2.h: Regenerate. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2018-04-27 Alan Modra + + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2018-04-27 Alan Modra + + PR 23123 + PR 22374 + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't drop plt + relocs for ifuncs. + * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Comment fixes. + +2018-04-26 Pedro Alves + + * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't consider + ifunc and non-ifunc symbols duplicates. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * elf32-arm.c (elf32_arm_fdpic_thumb_plt_entry): New. + (elf32_arm_plt_needs_thumb_stub_p): Handle thumb-only case. + (elf32_arm_populate_plt_entry): Likewise. + (elf32_arm_output_plt_map_1): Likewise. + (elf32_arm_output_arch_local_syms): Likewise. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Handle + _GLOBAL_OFFSET_TABLE_ in FDPIC mode. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * elf32-arm.c (bfd_elf32_arm_set_target_params): Handle FDPIC case + for R_ARM_TARGET2. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * elf32-arm.c (DEFAULT_STACK_SIZE): New. + (elf32_arm_always_size_sections): Create stack segment. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * bfd-in2.h (BFD_RELOC_ARM_TLS_GD32_FDPIC) + (BFD_RELOC_ARM_TLS_LDM32_FDPIC, BFD_RELOC_ARM_TLS_IE32_FDPIC): New + relocations. + * elf32-arm.c (elf32_arm_howto_table_2): Add R_ARM_TLS_GD32_FDPIC, + R_ARM_TLS_LDM32_FDPIC, R_ARM_TLS_IE32_FDPIC relocations. + (elf32_arm_reloc_map): Add R_ARM_TLS_GD32_FDPIC, + R_ARM_TLS_LDM32_FDPIC, R_ARM_TLS_IE32_FDPIC. + (struct elf32_arm_link_hash_table): Update comment. + (elf32_arm_final_link_relocate): Handle TLS FDPIC relocations. + (IS_ARM_TLS_RELOC): Likewise. + (elf32_arm_check_relocs): Likewise. + (allocate_dynrelocs_for_symbol): Likewise. + (elf32_arm_size_dynamic_sections): Update comment. + * reloc.c: Add BFD_RELOC_ARM_TLS_GD32_FDPIC, + BFD_RELOC_ARM_TLS_LDM32_FDPIC, BFD_RELOC_ARM_TLS_IE32_FDPIC. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * elf32-arm.c (elf32_arm_fdpic_plt_entry): New. + (elf32_arm_create_dynamic_sections): Handle FDPIC. + (elf32_arm_allocate_plt_entry): Likewise. + (elf32_arm_populate_plt_entry): Likewise. + (elf32_arm_output_plt_map_1): Likewise. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * elf32-arm.c (struct fdpic_local): New. + (elf_arm_obj_tdata): Add local_fdpic_cnts field. + (elf32_arm_local_fdpic_cnts): New. + (struct fdpic_global): New. + (elf32_arm_link_hash_entry): Add fdpic_cnts field. + (elf32_arm_link_hash_table): Add srofixup field. + (arm_elf_add_rofixup): New. + (arm_elf_fill_funcdesc): New. + (elf32_arm_link_hash_newfunc): Handle fdpic_cnts. + (elf32_arm_allocate_local_sym_info): Likewise. + (create_got_section): Create .rofixup section. + (elf32_arm_copy_indirect_symbol): Handle fdpic_cnts. + (bfd_elf32_arm_set_target_params): Handle FDPIC. + (elf32_arm_final_link_relocate): Likewise. + (elf32_arm_check_relocs): Likewise. + (allocate_dynrelocs_for_symbol): Likewise. + (elf32_arm_size_dynamic_sections): Likewise. + (elf32_arm_finish_dynamic_sections): Likewise. + (elf32_arm_output_arch_local_syms): Likewise. + (elf32_arm_fdpic_omit_section_dynsym): New. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * bfd-in2.c (BFD_RELOC_ARM_GOTFUNCDESC) + (BFD_RELOC_ARM_GOTOFFFUNCDESC, BFD_RELOC_ARM_FUNCDESC) + (BFD_RELOC_ARM_FUNCDESC_VALUE): New. + * elf32-arm.c (elf32_arm_howto_table_2): Add R_ARM_GOTFUNCDESC, + R_ARM_GOTOFFFUNCDESC, R_ARM_FUNCDESC, R_ARM_FUNCDESC_VALUE. + (elf32_arm_howto_from_type): Take new members of + elf32_arm_howto_table_2 into account. + (elf32_arm_reloc_map): Add BFD_RELOC_ARM_GOTFUNCDESC, + BFD_RELOC_ARM_GOTOFFFUNCDESC, BFD_RELOC_ARM_FUNCDESC, + BFD_RELOC_ARM_FUNCDESC_VALUE. + * reloc.c: Add BFD_RELOC_ARM_GOTFUNCDESC, + BFD_RELOC_ARM_GOTOFFFUNCDESC, BFD_RELOC_ARM_FUNCDESC, + BFD_RELOC_ARM_FUNCDESC_VALUE. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * elf32-arm.c (elf32_arm_print_private_bfd_data): Support + EF_ARM_PIC and ELFOSABI_ARM_FDPIC. + (elf32_arm_post_process_headers): Support ELFOSABI_ARM_FDPIC. + (ELF_OSABI): Define to ELFOSABI_ARM_FDPIC. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * config.bfd (arm*-*-linux-*): Add arm_elf32_fdpic_be_vec and + arm_elf32_fdpic_le_vec to targ_selvecs. Accept + arm*-*-uclinuxfdpiceabi. + * configure.ac: Add support for arm_elf32_fdpic_be_vec and + arm_elf32_fdpic_le_vec. + * configure: Regenerate. + * elf32-arm.c (struct elf32_arm_link_hash_table): Add fdpic_p. + (elf32_arm_link_hash_table_create): Initialize fdpic_p. + (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, TARGET_BIG_SYM) + (TARGET_BIG_NAME, elf_match_priority): Define for FDPIC targets. + (elf32_arm_fdpic_link_hash_table_create): New. + * targets.c (_bfd_target_vector): Add arm_elf32_fdpic_be_vec and + arm_elf32_fdpic_le_vec. + +2018-04-25 Alan Modra + + * elf-linux-core.h: Disable gcc-8 string truncation warning. + * elf.c (elfcore_write_prpsinfo): Likewise. + +2018-04-25 Alan Modra + + * Makefile.am: Remove arm-aout and arm-coff support. + * config.bfd: Likewise. + * configure.ac: Likewise. + * targets.c: Likewise. + * aout-arm.c: Delete. + * armnetbsd.c: Delete. + * riscix.c: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-24 Nick Clifton + + PR 23113 + * elf.c (ignore_section_sym): Check for the output_section pointer + being NULL before dereferencing it. + + PR 23110 + * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Check for + a negative PE_DEBUG_DATA size before iterating over the debug data. + +2018-04-23 Alan Modra + + * elf-linux-core.h: Revert last change. + * elf.c: Likewise. + +2018-04-23 Nick Clifton + + PR 23056 + * aoutx.h (aout_get_external_symbols): Allocate an extra byte at + the end of the string table, and zero it. + +2018-04-23 Alan Modra + + * elf-linux-core.h (swap_linux_prpsinfo32_ugid32_out): Disable + gcc-8 string truncation warning. + (swap_linux_prpsinfo32_ugid16_out): Likewise. + (swap_linux_prpsinfo64_ugid32_out): Likewise. + (swap_linux_prpsinfo64_ugid16_out): Likewise. + * elf.c (elfcore_write_prpsinfo): Likewise. + +2018-04-23 Nick Clifton + + PR 23056 + * aoutx.h (aout_get_external_symbols): Allocate an extra byte at + the end of the string table, and zero it. + +2018-04-20 Alan Modra + + PR 22978 + * elf32-hppa.c (got_relocs_needed): Add extra param to special + case both dtprel and tprel relocs. + (allocate_dynrelocs): Adjust conditions for got relocs. + (elf32_hppa_relocate_section): Likewise for local sym got relocs. + Emit dynamic relocs on TLS GOT entries for shared libraries, + not when pic. Omit dynamic reloc on dtprel entry when local, + and on tprel entry when local and executable. + +2018-04-19 Alan Modra + + PR 22537 + * elf32-hppa.c (elf32_hppa_size_stubs): Init "destination" to -1. + (hppa_type_of_stub): Don't return a long branch stub for + symbols other than those defined statically. + +2018-04-19 Alan Modra + + * Makefile.am: Revert 2018-04-18 coff-mips changes. + * config.bfd: Add back mips_ecoff_le_vec and mips_ecoff_be_vec + to selvecs for mips targets change 2018-04-18. + * configure.ac: Reinstate mips_ecoff_le_vec, mips_ecoff_be_vec + and mips_ecoff_bele_vec. + * targets.c: Likewise. + * coff-mips.c: Resurrect. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-18 Alan Modra + + * Makefile.am: Remove mips aout and coff support. + * config.bfd: Likewise. + * configure.ac: Likewise. + * targets.c: Likewise. + * coff-mips.c: Delete + * mipsbsd.c: Delete + * pe-mips.c: Delete + * pei-mips.c: Delete + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-17 H.J. Lu + + * elf32-i386.c (elf32_bed): Define before including + "elf32-target.h". + * elf64-x86-64.c (elf64_bed): Define before including + "elf64-target.h". + (elf32_bed): Define before including "elf32-target.h". + +2018-04-17 H.J. Lu + + PR ld/23055 + * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Use a + normal input file with compatible relocation. + +2018-04-18 Alan Modra + + * Makefile.am: Remove support for assorted i386 aout and coff targets. + * config.bfd: Likewise. + * configure.ac: Likewise. + * doc/bfdint.texi: Likewise. + * targets.c: Likewise. + * freebsd.h: Delete. + * i386dynix.c: Delete. + * i386freebsd.c: Delete. + * i386linux.c: Delete. + * i386mach3.c: Delete. + * i386netbsd.c: Delete. + * i386os9k.c: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-17 Andrew Sadek + + Microblaze Target: PIC data text relative + + * bfd/reloc.c (2 new BFD relocations): + BFD_RELOC_MICROBLAZE_64_TEXTPCREL & + BFD_RELOC_MICROBLAZE_64_TEXTPCREL + * bfd/bfd-in2.h: Regenerate + * bfd/libbfd.h: Regenerate + * bfd/elf32-microblaze.c (Handle new relocs): define 'HOWTO' of 3 + new relocs and handle them in both relocate and relax functions. + (microblaze_elf_reloc_type_lookup): add mapping between for new + bfd relocs. + (microblaze_elf_relocate_section): Handle new relocs in case of + elf relocation. + (microblaze_elf_relax_section): Handle new relocs for elf relaxation. + +2018-04-17 Nick Clifton + + PR 23055 + * aoutx.h (find_nearest_line): Check that the symbol name exists + and is long enough, before attempting to see if it is for a .o + file. + * hash.c (bfd_hash_hash): Add an assertion that the string is not + NULL. + * linker.c (bfd_link_hash_lookup): Fail if the table or string are + NULL. + (_bfd_generic_link_add_archive_symbols): Fail if an archive entry + has no name. + + PR 23065 + * dwarf2.c (concat_filename): Check for a NULL table pointer. + +2018-04-16 Nick Clifton + + PR 23061 + * coffgen.c (coff_pointerize_aux): Check for an out of range + fixup. + +2018-04-16 Alan Modra + + * Makefile.am: Remove arm-epoc-pe support. + * coff-arm.c: Likewise. + * config.bfd: Likewise. + * configure.ac: Likewise. + * targets.c: Likewise. + * epoc-pe-arm.c: Delete. + * epoc-pei-arm.c: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove sparc-aout and sparc-coff support. + * config.bfd: Likewise. + * configure.ac: Likewise. + * targets.c: Likewise. + * aout-sparcle.c: Delete. + * aoutf1.h: Delete. + * cf-sparclynx.c: Delete. + * coff-sparc.c: Delete. + * demo64.c: Delete. + * sparclinux.c: Delete. + * sparclynx.c: Delete. + * sparcnetbsd.c: Delete. + * sunos.c: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove m68k-aout and m68k-coff support. + * aoutf1.h: Likewise. + * aoutx.h: Likewise. + * archive.c: Likewise. + * bfd-in.h: Likewise. + * bfd.c: Likewise. + * coffcode.h: Likewise. + * coffswap.h: Likewise. + * config.bfd: Likewise. + * configure.ac: Likewise. + * configure.host: Likewise. + * doc/bfd.texinfo: Likewise. + * doc/bfdint.texi: Likewise. + * freebsd.h: Likewise. + * gen-aout.c: Likewise. + * hpux-core.c: Likewise. + * libaout.h: Likewise. + * libbfd-in.h: Likewise. + * pdp11.c: Likewise. + * peicode.h: Likewise. + * riscix.c: Likewise. + * targets.c: Likewise. + * aout0.c: Delete. + * coff-apollo.c: Delete. + * coff-aux.c: Delete. + * coff-m68k.c: Delete. + * coff-svm68k.c: Delete. + * coff-u68k.c: Delete. + * hosts/delta68.h: Delete. + * hosts/hp300bsd.h: Delete. + * hosts/m68kaux.h: Delete. + * hosts/news.h: Delete. + * hp300bsd.c: Delete. + * hp300hpux.c: Delete. + * liboasys.h: Delete. + * m68k4knetbsd.c: Delete. + * m68klinux.c: Delete. + * m68knetbsd.c: Delete. + * oasys.c: Delete. + * versados.c: Delete. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * libbfd.h: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove sh5 and sh64 support. + * archures.c: Likewise. + * config.bfd: Likewise. + * configure.ac: Likewise. + * cpu-sh.c: Likewise. + * elf32-sh-relocs.h: Likewise. + * elf32-sh.c: Likewise. + * targets.c: Likewise. + * elf32-sh64-com.c: Delete. + * elf32-sh64.c: Delete. + * elf32-sh64.h: Delete. + * elf64-sh64.c: Delete. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove sh-symbianelf support. + * config.bfd: Likewise. + * configure.ac: Likewise. + * targets.c: Likewise. + * elf32-sh-symbian.c: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove vax-bsd and vax-ultrix support. + * config.bfd: Likewise. + * configure.ac: Likewise. + * targets.c: Likewise. + * vaxbsd.c: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove w65 support. + * archures.c: Likewise. + * coffcode.h: Likewise. + * config.bfd: Likewise. + * configure.ac: Likewise. + * targets.c: Likewise. + * coff-w65.c: Delete. + * cpu-w65.c: Delete. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove we32k support. + * archures.c: Likewise. + * coffcode.h: Likewise. + * config.bfd: Likewise. + * configure.ac: Likewise. + * targets.c: Likewise. + * coff-we32k.c: Delete. + * cpu-we32k.c: Delete. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove m88k support. + * aoutx.h: Likewise. + * archures.c: Likewise. + * coffcode.h: Likewise. + * coffswap.h: Likewise. + * config.bfd: Likewise. + * configure.ac: Likewise. + * cpu-ns32k.c: Likewise. + * elf32-nds32.c: Likewise. + * mach-o.c: Likewise. + * netbsd-core.c: Likewise. + * reloc.c: Likewise. + * targets.c: Likewise. + * coff-m88k.c: Delete. + * cpu-m88k.c: Delete. + * elf32-m88k.c: Delete. + * hosts/m88kmach3.h: Delete. + * m88kmach3.c: Delete. + * m88kopenbsd.c: Delete. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove i370 support. + * archures.c: Likewise. + * config.bfd: Likewise. + * configure.ac: Likewise. + * targets.c: Likewise. + * cpu-i370.c: Delete. + * elf32-i370.c: Delete. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove h8500 support. + * archures.c: Likewise. + * coffcode.h: Likewise. + * config.bfd: Likewise. + * configure.ac: Likewise. + * targets.c: Likewise. + * coff-h8500.c: Delete. + * cpu-h8500.c: Delete. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove h8300-coff support. + * coffcode.h: Likewise. + * config.bfd: Likewise. + * configure.ac: Likewise. + * reloc16.c: Likewise. + * targets.c: Likewise. + * coff-h8300.c: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove IEEE 695 support. + * archures.c: Likewise. + * bfd.c: Likewise. + * config.bfd: Likewise. + * configure.ac: Likewise. + * doc/bfd.texinfo: Likewise. + * doc/bfdint.texi: Likewise. + * doc/bfdsumm.texi: Likewise. + * section.c: Likewise. + * targets.c: Likewise. + * ieee.c: Delete. + * libieee.h: Delete. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * config.bfd: Remove tandem support. + +2018-04-16 Alan Modra + + * Makefile.am: Remove newsos3 support. + * aoutx.h: Likewise. + * config.bfd: Likewise. + * configure.ac: Likewise. + * targets.c: Likewise. + * newsos3.c: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove netware support. + * bfd-in.h: Likewise. + * bfd.c: Likewise. + * config.bfd: Likewise. + * configure.ac: Likewise. + * doc/bfdint.texi: Likewise. + * ecoff.c: Likewise. + * targets.c: Likewise. + * libnlm.h: Delete. + * nlm-target.h: Delete. + * nlm.c: Delete. + * nlm32-alpha.c: Delete. + * nlm32-i386.c: Delete. + * nlm32-ppc.c: Delete. + * nlm32-sparc.c: Delete. + * nlm32.c: Delete. + * nlm64.c: Delete. + * nlmcode.h: Delete. + * nlmswap.h: Delete. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * archures.c: Remove tahoe support. + * config.bfd: Likewise. + * configure.ac: Likewise. + * hosts/tahoe.h: Delete. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + +2018-04-14 Alan Modra + + * elf-bfd.h (struct elf_backend_data): Add relropagesize. + * elfxx-target.h (ELF_RELROPAGESIZE): Provide default and + sanity test. + (elfNN_bed): Init relropagesize. + * bfd.c (bfd_emul_get_commonpagesize): Add boolean param to + select relropagesize. + * elf32-ppc.c (ELF_COMMONPAGESIZE): Define as 0x1000. + (ELF_RELROPAGESIZE): Define as ELF_MAXPAGESIZE. + (ELF_MINPAGESIZE): Don't define. + * elf64-ppc.c (ELF_COMMONPAGESIZE): Define as 0x1000. + (ELF_RELROPAGESIZE): Define as ELF_MAXPAGESIZE. + * bfd-in2.h: Regenerate. + +2018-04-14 Alan Modra + + * elf32-ppc.c (ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): Don't depend + on __QNXTARGET__ define. + +2018-04-14 Alan Modra + + * config.bfd: Add powerpc-*-lynxos* and powerpc-*-windiss* + to obsolete list. + +2018-04-11 Alan Modra + + * aout-adobe.c: Delete. + * bout.c: Delete. + * coff-i860.c: Delete. + * coff-i960.c: Delete. + * cpu-i860.c: Delete. + * cpu-i960.c: Delete. + * elf32-i860.c: Delete. + * elf32-i960.c: Delete. + * hosts/i860mach3.h: Delete. + * Makefile.am: Remove i860, i960, bout, and adobe support. + * archures.c: Remove i860 and i960 support. + * coffcode.h: Likewise. + * reloc.c: Likewise. + * aoutx.h: Comment updates. + * archive.c: Remove BOUT and i960 support. + * bfd.c: Remove BOUT support. + * coffswap.h: Remove i960 support. + * config.bfd: Remove i860, i960 and adobe targets. + * configure.ac: Remove adode, bout, i860, i960, icoff targets. + * targets.c: Likewise. + * ieee.c: Remove i960 support. + * mach-o.c: Remove i860 support. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * libbfd.h: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2018-04-09 Maciej W. Rozycki + + * elf64-mips.c (mips_elf64_write_rel): Handle a NULL BFD pointer + in the BFD symbol referred by the relocation. + (mips_elf64_write_rela): Likewise. + +2018-04-09 Maciej W. Rozycki + + * elf64-mips.c (mips_elf64_slurp_one_reloc_table): Issue an + error for out-of-range `r_sym' values. + +2018-04-09 Alan Modra + + * elf64-ppc.c (struct _ppc64_elf_section_data): Add has_pltcall field. + (struct ppc_link_hash_table): Add can_convert_all_inline_plt. + (ppc64_elf_check_relocs): Set has_pltcall. + (ppc64_elf_adjust_dynamic_symbol): Discard some PLT entries. + (ppc64_elf_inline_plt): New function. + (ppc64_elf_size_dynamic_sections): Discard some PLT entries for locals. + * elf64-ppc.h (ppc64_elf_inline_plt): Declare. + * elf32-ppc.c (has_pltcall): Define. + (struct ppc_elf_link_hash_table): Add can_convert_all_inline_plt. + (ppc_elf_check_relocs): Set has_pltcall. + (ppc_elf_inline_plt): New function. + (ppc_elf_adjust_dynamic_symbol): Discard some PLT entries. + (ppc_elf_size_dynamic_sections): Likewise. + * elf32-ppc.h (ppc_elf_inline_plt): Declare. + +2018-04-09 Alan Modra + + * elf32-ppc.c (ppc_elf_howto_raw): Add PLTSEQ and PLTCALL howtos. + (is_plt_seq_reloc): New function. + (ppc_elf_check_relocs): Handle PLTSEQ and PLTCALL relocs. + (ppc_elf_tls_optimize): Handle inline plt call sequence. + (ppc_elf_relax_section): Handle PLTCALL reloc. + (ppc_elf_relocate_section): Nop out inline plt call sequence when + resolving locally. + * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_PLTSEQ and + R_PPC64_PLTCALL entries. Comment R_PPC64_TOCSAVE. + (has_tls_get_addr_call): Correct comment. + (is_branch_reloc): Add PLTCALL. + (is_plt_seq_reloc): New function. + (ppc64_elf_check_relocs): Handle PLT16_LO_DS reloc. Set + has_tls_reloc for R_PPC64_TLSGD and R_PPC64_TLSLD. Create plt + entry for R_PPC64_PLTCALL. + (ppc64_elf_tls_optimize): Handle inline plt call sequence. + (ppc_type_of_stub): Handle PLTCALL reloc. + (toc_adjusting_stub_needed): Likewise. + (ppc64_elf_relocate_section): Set "can_plt_call" for PLTCALL + reloc insn. Nop out inline plt call sequence when resolving + locally. Handle __tls_get_addr inline plt call optimization. + +2018-04-09 Alan Modra + + * elf64-ppc.c (LOCAL_PLT_ENTRY_SIZE): Define. + (struct ppc_stub_hash_entry): Add symtype field. + (PLT_KEEP): Define. + (struct ppc_link_hash_table): Add pltlocal and relpltlocal. + (create_linkage_sections): Create pltlocal and relpltlocal. + (ppc64_elf_check_relocs): Allow PLT relocs on local symbols. + Set PLT_KEEP. + (ppc64_elf_adjust_dynamic_symbol): Keep PLT entries for inline calls. + (allocate_dynrelocs): Allocate pltlocal and relpltlocal. + (ppc64_elf_size_dynamic_sections): Size pltlocal and relpltlocal. + Keep PLT entries for inline calls against locals. + (ppc_build_one_stub): Use pltlocal as appropriate. + (ppc_size_one_stub): Likewise. + (ppc64_elf_size_stubs): Set symtype. + (build_global_entry_stubs_and_plt): Init pltlocal and write + relpltlocal for globals. + (write_plt_relocs_for_local_syms): Likewise for local syms. + (ppc64_elf_relocate_section): Support PLT for local syms. + * elf32-ppc.c (PLT_KEEP): Define. + (struct ppc_elf_link_hash_table): Add pltlocal and relpltlocal. + (ppc_elf_create_glink): Create pltlocal and relpltlocal. + (ppc_elf_check_relocs): Allow PLT relocs on local symbols. + Set PLT_KEEP. Adjust update_local_sym_info call. + (ppc_elf_adjust_dynamic_symbol): Keep PLT entries for inline calls. + (allocate_dynrelocs): Allocate pltlocal and relpltlocal. + (ppc_elf_size_dynamic_sections): Size pltlocal and relpltlocal. + (ppc_elf_relocate_section): Support PLT16 relocs for local syms. + (write_global_sym_plt): Init pltlocal and write relpltlocal. + (ppc_finish_symbols): Likewise for locals. + +2018-04-09 Alan Modra + + * elf64-ppc.c (ppc_build_one_stub): Move output of PLT relocs + for local symbols to.. + (write_plt_relocs_for_local_syms): ..here. New function. + (ppc64_elf_finish_dynamic_symbol): Move output of PLT relocs for + global symbols to.. + (build_global_entry_stubs_and_plt): ..here. Rename from + build_global_entry_stubs. + (ppc64_elf_build_stubs): Always call build_global_entry_stubs_and_plt. + Call write_plt_relocs_for_local_syms. + * elf32-ppc.c (get_sym_h): New function. + (ppc_elf_relax_section): Use get_sym_h. + (ppc_elf_relocate_section): Move output of PLT relocs and glink + stubs for local symbols to.. + (ppc_finish_symbols): ..here. New function. + (ppc_elf_finish_dynamic_symbol): Move output of PLT relocs for + global syms to.. + (write_global_sym_plt): ..here. New function. + * elf32-ppc.h (ppc_elf_modify_segment_map): Delete attribute. + (ppc_finish_symbols): Declare. + +2018-04-09 Alan Modra + + * elf32-ppc.c (ppc_elf_check_relocs): Handle PLT16 relocs. + (ppc_elf_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_check_relocs): Handle PLT16_LO_DS. + (ppc64_elf_relocate_section): Likewise. Correct PLT16 + resolution to plt entry relative to toc pointer. + +2018-04-09 Alan Modra + + * elf64-ppc.c (TLS_TLS, TLS_GD, TLS_LD, TLS_TPREL, TLS_DTPREL, + TLS_TPRELGD, TLS_EXPLICIT): Renumber. Test TLS_TLS throughout + file when other TLS flags are tested in a mask. + (TLS_MARK, NON_GOT): Define. + (PLT_IFUNC): Redefine, and test TLS_TLS throughout file as well. + (update_local_sym_info): Don't create got entry when NON_GOT. + (ppc64_elf_check_relocs): Pass NON_GOT with PLT_IFUNC. + Set TLS_MARK. + (get_tls_mask): Do toc lookup if tls_mask is just TLS_MARK. + (ppc64_elf_relocate_section): Likewise. + (ppc64_elf_tls_optimize): Don't attempt to optimize indirect + __tls_get_addr calls lacking a marker reloc. + * elf32-ppc.c (TLS_TLS, TLS_GD, TLS_LD, TLS_TPREL, TLS_DTPREL, + TLS_TPRELGD): Renumber. Update comment. + (TLS_MARK, NON_GOT): Define. + (PLT_IFUNC): Redefine, and test TLS_TLS throughout file as well. + (update_local_sym_info): Don't create got entry when NON_GOT. + (ppc_elf_check_relocs): Pass NON_GOT with PLT_IFUNC. + Set TLS_MARK. + (ppc_elf_tls_optimize): Don't attempt to optimize indirect + __tls_get_addr calls lacking a marker reloc. + +2018-04-06 H.J. Lu + + * elf64-x86-64.c (elf_x86_64_info_to_howto): Don't mask out + R_X86_64_converted_reloc_bit. + +2018-04-05 H.J. Lu + + PR gas/22318 + * configure: Regenerated. + +2018-04-05 Alan Modra + + * elf-hppa.h (elf_hppa_info_to_howto): Init howto to NULL. + (elf_hppa_info_to_howto_rel): Likewise. + +2018-04-04 Maciej W. Rozycki + + * elf-hppa.h (elf_hppa_info_to_howto): Also return + unsuccessfully for unimplemented relocations. + (elf_hppa_info_to_howto_rel): Likewise. + +2018-04-04 Maciej W. Rozycki + + * elf32-i860.c (lookup_howto): Add `abfd' parameter. Set the + `bfd_error_bad_value' error and call `_bfd_error_handler' on a + howto lookup failure. + (elf32_i860_reloc_type_lookup): Adjust `lookup_howto' call + accordingly. + (elf32_i860_info_to_howto_rela): Likewise. + (elf32_i860_relocate_splitn): Likewise. + (elf32_i860_relocate_pc16): Likewise. + (elf32_i860_relocate_pc26): Likewise. + (elf32_i860_relocate_section): Likewise. + +2018-04-04 Maciej W. Rozycki + + * elf32-visium.c (visium_info_to_howto_rela): Correct the range + check for `visium_elf_howto_table' table access. + +2018-04-04 Maciej W. Rozycki + + * elf32-iq2000.c (iq2000_info_to_howto_rela): Correct the range + check for `iq2000_elf_howto_table' table access. + +2018-04-04 Maciej W. Rozycki + + * elf32-frv.c (frv_info_to_howto_rela): Correct the range check + for `elf32_frv_howto_table' table access. + +2018-04-04 Maciej W. Rozycki + + * elf32-mips.c (mips_elf32_rtype_to_howto): Also return + unsuccessfully for placeholder howtos. + * elf64-mips.c (mips_elf64_rtype_to_howto): Likewise. + * elfn32-mips.c (mips_elf_n32_rtype_to_howto): Likewise. + +2018-03-29 Maciej W. Rozycki + + * elf32-mips.c (mips_info_to_howto_rel): Remove the calls to + `_bfd_error_handler' and to set the `bfd_error_bad_value' error. + +2018-03-28 Maciej W. Rozycki + + * elf-hppa.h (elf_hppa_info_to_howto_rel): Remove + ATTRIBUTE_UNUSED from `abfd'. + +2018-03-28 Maciej W. Rozycki + + * elf-hppa.h (elf_hppa_info_to_howto_rel): Correct + `_bfd_error_handler' call formatting. + +2018-03-28 Maciej W. Rozycki + + * elf32-mips.c (mips_info_to_howto_rel): Call + `mips_elf32_rtype_to_howto' directly rather than via + `->elf_backend_mips_rtype_to_howto'. + +2018-03-28 Renlin Li + + PR ld/22970 + * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Add cases for + BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12, + BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12, + BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12, + BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12, + BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC. + (elfNN_aarch64_final_link_relocate): Support new relocations. + * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Support new + relocations. + (_bfd_aarch64_elf_resolve_relocation): Support new relocations. + +2018-03-28 Renlin Li + + PR ld/22970 + * reloc.c: Add BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12 + BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12, + BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12, + BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12, + BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12, + BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC. + * elfnn-aarch64.c (elfNN_aarch64_howto_table): Add table entry for + TLSLE_LDST16_TPREL_LO12, + TLSLE_LDST16_TPREL_LO12_NC, + TLSLE_LDST32_TPREL_LO12, + TLSLE_LDST32_TPREL_LO12_NC, + TLSLE_LDST64_TPREL_LO12, + TLSLE_LDST64_TPREL_LO12_NC, + TLSLE_LDST8_TPREL_LO12, + TLSLE_LDST8_TPREL_LO12_NC. + * bfd-in2.h: Regenerated. + * libbfd.h: Regenerated. + +2018-03-28 Eric Botcazou + + PR ld/22972 + * elfxx-sparc.c (struct _bfd_sparc_elf_link_hash_entry): Add new flag + has_old_style_got_reloc. + (_bfd_sparc_elf_check_relocs) : Set it for old-style + relocations. Fix a couple of long lines. + (_bfd_sparc_elf_relocate_section) : Do not generate + a R_SPARC_NONE for the GOT slot if the symbol is also subject to old-style + GOT relocations. + +2018-03-25 H.J. Lu + + PR ld/23000 + * elf64-x86-64.c (elf_x86_64_finish_dynamic_sections): Add + ENDBR64 to the TLSDESC PLT entry. + +2018-03-21 Alan Modra + + * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Trim uninteresting + symbols. Use size_t counts. Delete redundant opd test. + +2018-03-21 Alan Modra + + * elf32-ppc.c (ppc_elf_tls_optimize): Delete locsyms. + +2018-03-21 Alan Modra + + * elf32-ppc.c (struct ppc_elf_link_hash_entry): Make tls_mask + field unsigned. + (update_local_sym_info): Likewise for local_got_tls_masks. + (ppc_elf_tls_optimize): Likewise for lgot_masks. + +2018-03-21 Alan Modra + + * elf64-ppc.c (ppc_size_one_stub): Fix comment typo. + (ppc64_elf_layout_multitoc): Allocate relocs for tprel as we + do in size_dynamic_sections. + +2018-03-21 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section): Don't access rel[1] + without first checking array bounds. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + +2018-03-20 H.J. Lu + + PR ld/22983 + * elflink.c (bfd_elf_link_mark_dynamic_symbol): Set + non_ir_ref_dynamic if a symbol is made dynamic by --dynamic-list. + +2018-03-19 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2018-03-15 Max Filippov + + * elf32-xtensa.c (xlate_map_entry): Change types of address + fields from 'unsigned' to 'bfd_vma'. + (xlate_offset_with_removed_text): Use struct xlate_map_entry as + the key argument to bsearch. Allow offsets past the end of a + section, use the last map entry for translation of such offsets. + +2018-03-15 Kuan-Lin Chen + + * elf32-nds32.c (nds32_elf_ex9_build_hash_table): Removed. + Not support the target feature. + (nds32_elf_ex9_itb_base): Likewise. + (nds32_elf_ex9_import_table): Likewise. + (nds32_elf_ex9_finish): Likewise. + (nds32_elf_ex9_reloc_jmp): Likewise. + (nds32_elf_get_insn_with_reg): Likewise. + (nds32_get_local_syms): Likewise. + (nds32_elf_ex9_replace_instruction): Likewise. + (nds32_elf_ifc_calc): Likewise. + (nds32_elf_ifc_finish): Likewise. + (nds32_elf_ifc_replace): Likewise. + (nds32_elf_ifc_reloc): Likewise. + +2018-03-14 Alan Modra + + * elf64-ppc.c (sfpr_define): Adjust for stub_sec size having + sfpr size added before defining alias symbols. + (ppc64_elf_build_stubs): Add stub section padding before + copying sfpr contents and defining save/restore alias symbols. + +2018-03-14 H.J. Lu + + PR ld/20882 + * elflink.c (elf_gc_mark_debug_section): Also check the local + debug definition section. + +2018-03-13 Nick Clifton + + PR 22113 + * pei-x86_64.c (pex64_get_unwind_info): Change to a boolean + function. Add an end address parameter. Check access of the data + pointer to make sure that they do not extend beyond the end + address. Return FALSE if any check fails. Add the end address + pointer to the ui structure. + (pex64_xdata_print_uwd_codes): Check accesses of the raw unwind + codes to make sure that they do not extend beyond the end address + pointer. Print an error message and return immediately if any + check fails. + +2018-03-09 Nick Clifton + + * elf64-s390.c (elf_s390_relocate_section): Move check for + relocations against non-allocated sections to before the code that + handles ifunc relocations. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Treat + relocs against IFUNC symbols in non-allocated sections as relocs + against FUNC symbols. + * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. + +2018-03-08 H.J. Lu + + PR ld/22929 + * elf32-i386.c (elf_i386_relocate_section): Treat relocation + against IFUNC symbol in SHT_NOTE section without SHF_ALLOC as + relocation against FUNC symbol. + * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. + +2018-03-07 Renlin Li + + PR ld/20402 + * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Check absolute + symbol, and don't emit relocation in specific case. + +2018-03-07 Alan Modra + + * elf64-mips.c (mips_elf64_rtype_to_howto): Return NULL on error. + (mips_elf64_slurp_one_reloc_table): Pass on error. + +2018-03-03 James Cowgill + Maciej W. Rozycki + + PR ld/21900 + * elfxx-mips.c (mips_elf_calculate_relocation): Only return + after calling `undefined_symbol' hook if this is an error + condition. Assume the value of 0 for the symbol requested + otherwise. + +2018-03-02 Jim Wilson + + PR 22903 + * elfnn-aarch64.c (_bfd_aarch64_resize_stubs): Add 8 bytes for branch + and nop instead of 4. + (elfNN_arch64_build_stubs): Add nop after branch. Increase size by + 8 instead of 4. + +2018-03-01 Jim Wilson + + PR 22756 + * elfnn-riscv.c (riscv_relax_delete_bytes): When adjust st_size, use + else if instead of if. + +2018-03-01 Alan Modra + + * elf32-ft32.c (ft32_info_to_howto_rela): Correct range test. + +2018-02-28 Alan Modra + + PR 22887 + * aoutx.h (swap_std_reloc_in): Correct r_index bound check. + +2018-02-28 Nick Clifton + + PR 22895 + PR 22893 + * dwarf2.c (read_n_bytes): Replace size parameter with dwarf_block + pointer. Drop unused abfd parameter. Check the size of the block + before initialising the data field. Return the end pointer if the + size is invalid. + (read_attribute_value): Adjust invocations of read_n_bytes. + + PR 22894 + * dwarf1.c (parse_die): Check the length of form blocks before + advancing the data pointer. + +2018-02-28 Alan Modra + + PR 22887 + * aoutx.h (translate_symbol_table): Print an error message and set + bfd_error on finding an invalid name string offset. + +2018-02-27 H.J. Lu + + * config.in: Regenerated. + * configure: Likewise. + * configure.ac: Add --enable-separate-code. + (DEFAULT_LD_Z_SEPARATE_CODE): New AC_DEFINE_UNQUOTED. Default + to 1 for Linux/x86 targets, + * elf64-x86-64.c (ELF_MAXPAGESIZE): Set to 0x1000 if + DEFAULT_LD_Z_SEPARATE_CODE is 1. + +2018-02-27 Nick Clifton + + * aout-cris.c (swap_ext_reloc_out): Standadize error/warning + message. + * elf-hppa.h (elf_hppa_info_to_howto_rel): Likewise. + * elf32-i386.c (elf_i386_reloc_type_lookup): Likewise. + * elf32-xtensa.c (elf_xtensa_reloc_type_lookup): Likewise. + * elf64-ppc.c (ppc64_elf_reloc_type_lookup): Likewise. + * elf64-s390.c (elf_s390_reloc_type_lookup): Likewise. + * elf64-sh64.c (sh_elf64_info_to_howto): Likewise. + * elfxx-ia64.c (ia64_elf_reloc_type_lookup): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_reloc_type_lookup): Likewise. + * elfxx-tilegx.c (tilegx_reloc_type_lookup): Likewise. + + PR 22875 + * elf-bfd.h (struct elf_backend_data): Change the return type of + the elf_info_to_howto and elf_info_to_howto_rel function pointers + to bfd_boolean. + * elfcode.h (elf_slurp_reloc_table_from_section): Check the return + value from the info_to_howto function and fail if that function + failed. + * elf32-h8300.c (elf32_h8_relocate_section): Check return value + from the info_to_howto function. + (elf32_h8_relax_section): Likewise. + * elf32-lm32.c (lm32_elf_relocate_section): Likewise. + * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise. + * elf32-score.c (s3_bfd_score_elf_relocate_section): Likewise. + * elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise. + * elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise. + * elf64-ia64-vms.c (elf64_ia64_relocate_section): Likewise. + * elf64-sparc.c (elf64_sparc_slurp_one_reloc_table): Likewise. + * elf64-x86-64.c (elf_x86_64_tls_transition): Likewise. + * elfnn-ia64.c (elfNN_ia64_relocate_section): Likewise. + * elfnn-riscv.c (riscv_elf_check_relocs): Likewise. + (riscv_elf_relocate_section): Likewise. + * elf-hppa.h (elf_hppa_info_to_howto): Change return type to + bfd_boolean. Issue an error message, set an error value and + return FALSE if the reloc is not recognized. + (elf_hppa_info_to_howto_rel): Likewise. + * elf-m10200.c (mn10200_info_to_howto): Likewise. + * elf-m10300.c (mn10300_info_to_howto): Likewise. + * elf.c (_bfd_elf_no_info_to_howto): Likewise. + * elf32-arc.c (arc_info_to_howto_rel): Likewise. + * elf32-arm.c (elf32_arm_info_to_howto): Likewise. + * elf32-avr.c (avr_info_to_howto_rela): Likewise. + * elf32-bfin.c (bfin_info_to_howto): Likewise. + * elf32-cr16.c (elf_cr16_info_to_howto): Likewise. + * elf32-cr16c.c (elf_cr16c_info_to_howto): Likewise. + * elf32-cris.c (elf_cr16c_info_to_howto_rel) + (cris_info_to_howto_rela): Likewise. + * elf32-crx.c (elf_crx_info_to_howto): Likewise. + * elf32-d10v.c (d10v_info_to_howto_rel): Likewise. + * elf32-d30v.c (d30v_info_to_howto_rel, d30v_info_to_howto_rela): + Likewise. + * elf32-dlx.c (dlx_rtype_to_howto, elf32_dlx_info_to_howto) + (elf32_dlx_info_to_howto_rel): Likewise. + * elf32-epiphany.c (epiphany_info_to_howto_rela): Likewise. + * elf32-fr30.c (fr30_info_to_howto_rela): Likewise. + * elf32-frv.c (frv_info_to_howto_rela) + (frvfdpic_info_to_howto_rel): Likewise. + * elf32-ft32.c (ft32_info_to_howto_rela): Likewise. + * elf32-gen.c (elf_generic_info_to_howto) + (elf_generic_info_to_howto_rel): Likewise. + * elf32-h8300.c (elf32_h8_info_to_howto) + (elf32_h8_info_to_howto_rel): Likewise. + * elf32-i370.c (i370_elf_info_to_howto): Likewise. + * elf32-i386.c (elf_i386_reloc_type_lookup) + (elf_i386_rtype_to_howto, elf_i386_info_to_howto_rel): Likewise. + * elf32-i860.c (lookup_howto, elf32_i860_info_to_howto_rela): + Likewise. + * elf32-i960.c (elf32_i960_info_to_howto_rel): Likewise. + * elf32-ip2k.c (ip2k_info_to_howto_rela): Likewise. + * elf32-iq2000.c (iq2000_info_to_howto_rela): Likewise. + * elf32-lm32.c (lm32_info_to_howto_rela): Likewise. + * elf32-m32c.c (m32c_info_to_howto_rela): Likewise. + * elf32-m32r.c (m32r_info_to_howto_rel, m32r_info_to_howto): + Likewise. + * elf32-m68hc11.c (m68hc11_info_to_howto_rel): Likewise. + * elf32-m68hc12.c (m68hc11_info_to_howto_rel): Likewise. + * elf32-m68k.c (rtype_to_howto): Likewise. + * elf32-mcore.c (mcore_elf_info_to_howto): Likewise. + * elf32-mep.c (mep_info_to_howto_rela): Likewise. + * elf32-metag.c (metag_info_to_howto_rela): Likewise. + * elf32-microblaze.c (microblaze_elf_info_to_howto): Likewise. + * elf32-mips.c (mips_info_to_howto_rel, mips_info_to_howto_rela): + Likewise. + * elf32-moxie.c (moxie_info_to_howto_rela): Likewise. + * elf32-msp430.c (msp430_info_to_howto_rela): Likewise. + * elf32-mt.c (mt_info_to_howto_rela): Likewise. + * elf32-nds32.c (nds32_info_to_howto_rel, nds32_info_to_howto): + Likewise. + * elf32-nios2.c (nios2_elf32_info_to_howto): Likewise. + * elf32-or1k.c (or1k_info_to_howto_rela): Likewise. + * elf32-pj.c (pj_elf_info_to_howto): Likewise. + * elf32-ppc.c (ppc_elf_info_to_howto): Likewise. + * elf32-pru.c (pru_elf32_info_to_howto): Likewise. + * elf32-rl78.c (rl78_info_to_howto_rela): Likewise. + * elf32-rx.c (rx_info_to_howto_rela): Likewise. + * elf32-s390.c (elf_s390_info_to_howto): Likewise. + * elf32-score.c (s3_bfd_score_info_to_howto) + (_bfd_score_info_to_howto): Likewise. + * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise. + * elf32-sh.c (sh_elf_info_to_howto): Likewise. + * elf32-spu.c (spu_elf_info_to_howto): Likewise. + * elf32-tic6x.c (elf32_tic6x_info_to_howto) + (elf32_tic6x_info_to_howto_rel): Likewise. + * elf32-tilepro.c (tilepro_info_to_howto_rela): Likewise. + * elf32-v850.c (v850_elf_info_to_howto_rel) + (v850_elf_info_to_howto_rela, v800_elf_info_to_howto): Likewise. + * elf32-vax.c (rtype_to_howto): Likewise. + * elf32-visium.c (visium_info_to_howto_rela): Likewise. + * elf32-wasm32.c (elf32_wasm32_rtype_to_howto) + (elf32_wasm32_info_to_howto_rela): Likewise. + * elf32-xc16x.c (elf32_xc16x_info_to_howto): Likewise. + * elf32-xgate.c (xgate_info_to_howto_rel): Likewise. + * elf32-xstormy16.c (xstormy16_info_to_howto_rela): Likewise. + * elf32-xtensa.c (elf_xtensa_info_to_howto_rela): Likewise. + * elf64-alpha.c (elf64_alpha_info_to_howto): Likewise. + * elf64-gen.c (elf_generic_info_to_howto) + (elf_generic_info_to_howto_rel): Likewise. + * elf64-ia64-vms.c (elf64_ia64_info_to_howto): Likewise. + * elf64-mips.c (mips_elf64_info_to_howto_rela): Likewise. + * elf64-mmix.c (mmix_info_to_howto_rela): Likewise. + * elf64-ppc.c (ppc64_elf_info_to_howto): Likewise. + * elf64-s390.c (elf_s390_reloc_type_lookup): Likewise. + * elf64-sh64.c (elf_s390_info_to_howto, sh_elf64_info_to_howto): + Likewise. + * elf64-x86-64.c (elf_x86_64_info_to_howto): Likewise. + * elfn32-mips.c (mips_info_to_howto_rel, mips_info_to_howto_rela): + Likewise. + * elfnn-aarch64.c (elfNN_aarch64_info_to_howto): Likewise. + * elfnn-ia64.c (elfNN_ia64_info_to_howto): Likewise. + * elfnn-riscv.c (riscv_info_to_howto_rela): Likewise. + * elfxx-ia64.c (ia64_elf_reloc_type_lookup): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_info_to_howto): Likewise. + * elfxx-tilegx.c (tilegx_info_to_howto_rela): Likewise. + * elf32-score.h (s7_bfd_score_info_to_howto): Update prototype. + * elfxx-sparc.h (_bfd_sparc_elf_info_to_howto): Update prototype. + * elfxx-tilegx.h (tilegx_info_to_howto_rela): Update prototype. + * elfxx-target.h (elf_info_to_howto, elf_info_to_howto_rel): + Default to NULL. + +2018-02-26 Jim Wilson + Stephan Schreiber + + PR 15904 + * elfnn-ia64.c (elfNN_ia64_relax_section): After ia64_elf_relax_brl + call, set changed_contents and changed_relocs. Likewise after + successful ia64_elf_relax_br call. + +2018-02-26 Alan Modra + + * elf.c (assign_file_positions_except_relocs): Don't segfault + when actual number of phdrs is less than allocated. Delete + outdated comment. Formatting. + +2018-02-26 Alan Modra + + * elf-m10300.c, * elf-s390-common.c, * elf32-arc.c, * elf32-cris.c, + * elf32-dlx.c, * elf32-frv.c, * elf32-i370.c, * elf32-lm32.c, + * elf32-m32r.c, * elf32-m68hc1x.c, * elf32-m68k.c, + * elf32-microblaze.c, * elf32-msp430.c, * elf32-nds32.c, + * elf32-nios2.c, * elf32-or1k.c, * elf32-rl78.c, * elf32-rx.c, + * elf32-score.c, * elf32-score7.c, * elf32-sh-symbian.c, + * elf32-sh.c, * elf32-spu.c, * elf32-v850.c, * elf32-xtensa.c, + * elf64-alpha.c, * elf64-ia64-vms.c, * elf64-mmix.c, + * elf64-sh64.c, * elf64-sparc.c, * elfnn-ia64.c, * elfxx-tilegx.c, + * mmo.c, * osf-core.c, * srec.c, * vms-alpha.c: Standardize + error/warning messages. + +2018-02-26 Alan Modra + + * archive.c, * bfd.c, * linker.c, * reloc.c, * stabs.c, + * syms.c: Standardize error/warning messages. + +2018-02-26 Alan Modra + + * aout-adobe.c, * aout-cris.c, * i386linux.c, * m68klinux.c, + * sparclinux.c, * coff-alpha.c, * coff-arm.c, * coff-mcore.c, + * coffcode.h, * coffgen.c, * cofflink.c, * ecoff.c, * pe-mips.c, + * peXXigen.c, * peicode.h: Standardize error/warning messages. + +2018-02-26 Alan Modra + + * elf32-arm.c, * elfnn-aarch64.c: Standardize error/warning messages. + +2018-02-26 Alan Modra + + * elfxx-mips.c: Standardize error/warning messages. + +2018-02-26 Alan Modra + + * dwarf2.c, * elf-attrs.c, * elf-eh-frame.c, * elf.c, * elf32-gen.c, + * elflink.c: Standardize error/warning messages. Replace use of + linker callback einfo with _bfd_error_handler when possible. + +2018-02-26 Alan Modra + + * aoutx.h, * coff-alpha.c, * coff-i860.c, * coff-m68k.c, + * coff-mcore.c, * coff-ppc.c, * coff-rs6000.c, * coff-sh.c, + * coff-tic4x.c, * coff-tic54x.c, * coff-tic80.c, * coff-w65.c, + * elf-bfd.h, * elf-m10300.c, * elf.c, * elf32-avr.c, * elf32-bfin.c, + * elf32-cr16.c, * elf32-cr16c.c, * elf32-cris.c, * elf32-crx.c, + * elf32-d10v.c, * elf32-d30v.c, * elf32-dlx.c, * elf32-epiphany.c, + * elf32-fr30.c, * elf32-frv.c, * elf32-i370.c, * elf32-i386.c, + * elf32-i960.c, * elf32-ip2k.c, * elf32-iq2000.c, * elf32-lm32.c, + * elf32-m32c.c, * elf32-m32r.c, * elf32-m68hc11.c, * elf32-m68hc12.c, + * elf32-m68k.c, * elf32-mcore.c, * elf32-mep.c, * elf32-metag.c, + * elf32-microblaze.c, * elf32-mips.c, * elf32-moxie.c, + * elf32-msp430.c, * elf32-mt.c, * elf32-nds32.c, * elf32-or1k.c, + * elf32-pj.c, * elf32-ppc.c, * elf32-rl78.c, * elf32-rx.c, + * elf32-s390.c, * elf32-sh.c, * elf32-spu.c, * elf32-tic6x.c, + * elf32-v850.c, * elf32-vax.c, * elf32-visium.c, * elf32-wasm32.c, + * elf32-xgate.c, * elf32-xtensa.c, * elf64-alpha.c, + * elf64-ia64-vms.c, * elf64-mips.c, * elf64-mmix.c, + * elf64-ppc.c, * elf64-s390.c, * elf64-sparc.c, * elf64-x86-64.c, + * elfn32-mips.c, * elfnn-aarch64.c, * elfnn-ia64.c, + * elfnn-riscv.c, * elfxx-mips.c, * elfxx-riscv.c, * elfxx-riscv.h, + * elfxx-sparc.c, * elfxx-sparc.h, * reloc.c: Standardize + unrecognized/unsupported reloc message. + +2018-02-26 Alan Modra + + * elf32-ppc.c: Standardize error/warning messages. Use + _bfd_error_handler rather than einfo when einfo features not used. + * elf64-ppc.c: Likewise. + +2018-02-23 Alan Modra + + PR 22881 + * elf.c (assign_file_positions_for_non_load_sections): Remove RELRO + segment if no matching LOAD segment. + +2018-02-23 Kuan-Lin Chen + + * elf32-nds32.h: Define mask for ict_model. + +2018-02-20 Jason Duerstock + + * elfnn-ia64.c (elf_backend_can_gc_sections): Enable. + +2018-02-19 Maciej W. Rozycki + + Revert + 2018-01-12 Vlad Ivanov + + * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when + .reginfo section has wrong size. + +2018-02-19 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_elf_always_size_sections): Set + SEC_FIXED_SIZE and SEC_HAS_CONTENTS flags for `.reginfo' and + `.MIPS.abiflags' sections. + (_bfd_mips_elf_final_link): Avoid reading beyond `.reginfo' + section's end. + +2018-02-19 Maciej W. Rozycki + + * section.c (SEC_FIXED_SIZE): New macro. + * bfd-in2.h: Regenerate. + +2018-02-19 Maciej W. Rozycki + + * section.c (SEC_HAS_GOT_REF): Remove macro. + * bfd-in2.h: Regenerate. + +2018-02-19 Alan Modra + + * elf-attrs.c (_bfd_elf_parse_attributes): Correct _bfd_error_handler + arguments. + * elfxx-mips.c (_bfd_mips_elf_final_link): Likewise. + * elfnn-riscv.c (_bfd_riscv_relax_align): Likewise. + (_bfd_riscv_relax_pc): Likewise and fix typos. + * libbfd-in.h (_bfd_error_handler): Add attribute printf. + * libbfd.h: Regenerate. + +2018-02-19 Alan Modra + + * dwarf2.c (read_section): Don't use 'll' format modifier. + (find_abstract_instance): Likewise. + * elfcore.h (elf_core_file_p): Likewise. + +2018-02-19 Alan Modra + + * bfd-in.h: Include inttypes.h or if not available define + PRId64, PRIu64 and PRIx64. + * bfd.c (_bfd_doprnt, _bfd_doprnt_scan): Remove support for L + modifier to print bfd_vma. + * coff-arm.c, * coff-mcore.c, * coff-ppc.c, * coff-rs6000.c, + * coff-sh.c, * coff-tic80.c, * coffcode.h, * coffgen.c, * cofflink.c, + * compress.c, * dwarf2.c, * elf-m10300.c, * elf.c, * elf32-arc.c, + * elf32-arm.c, * elf32-bfin.c, * elf32-cris.c, * elf32-hppa.c, + * elf32-i386.c, * elf32-ip2k.c, * elf32-lm32.c, * elf32-m32r.c, + * elf32-m68k.c, * elf32-metag.c, * elf32-nds32.c, * elf32-nios2.c, + * elf32-ppc.c, * elf32-rx.c, * elf32-s390.c, * elf32-score.c, + * elf32-score7.c, * elf32-sh.c, * elf32-sh64.c, * elf32-spu.c, + * elf32-tic6x.c, * elf32-tilepro.c, * elf32-v850.c, * elf32-vax.c, + * elf32-xtensa.c, * elf64-alpha.c, * elf64-hppa.c, * elf64-ia64-vms.c, + * elf64-mmix.c, * elf64-s390.c, * elf64-sh64.c, * elf64-x86-64.c, + * elfcode.h, * elfcore.h, * elflink.c, * elfnn-aarch64.c, + * elfnn-ia64.c, * elfnn-riscv.c, * elfxx-mips.c, * elfxx-sparc.c, + * elfxx-tilegx.c, * ieee.c, * ihex.c, * mach-o.c, * merge.c, * mmo.c, + * peXXigen.c, * xcofflink.c: Replace use of Lx modifier with PRIx64, + and cast input to uint64_t, and similarly for Ld and Lu. + * bfd-in2.h: Regenerate. + +2018-02-19 Alan Modra + + * elf32-arm.c, * elf32-hppa.c, * elf32-lm32.c, * elf32-m32r.c, + * elf32-metag.c, * elf32-nds32.c, * elf32-or1k.c, * elf32-ppc.c, + * elf32-s390.c, * elf32-sh.c, * elf32-tic6x.c, * elf32-tilepro.c, + * elf64-ppc.c, * elf64-s390.c, * elflink.c, * elfnn-aarch64.c, + * elfnn-riscv.c, * elfxx-sparc.c, * elfxx-tilegx.c, * elfxx-x86.c, + * reloc.c: Replace use of %R and %T in format strings passed to + einfo and friends by %pR and %pT. + +2018-02-19 Alan Modra + + * bfd.c (_bfd_doprnt, _bfd_doprnt_scan): Handle %pA and %pB in place + of %A and %B. + * aout-adobe.c: Update all messages using %A and %B. + * aout-cris.c: Likewise. + * aoutx.h: Likewise. + * archive.c: Likewise. + * binary.c: Likewise. + * cache.c: Likewise. + * coff-alpha.c: Likewise. + * coff-arm.c: Likewise. + * coff-i860.c: Likewise. + * coff-mcore.c: Likewise. + * coff-ppc.c: Likewise. + * coff-rs6000.c: Likewise. + * coff-sh.c: Likewise. + * coff-tic4x.c: Likewise. + * coff-tic54x.c: Likewise. + * coff-tic80.c: Likewise. + * coff64-rs6000.c: Likewise. + * coffcode.h: Likewise. + * coffgen.c: Likewise. + * cofflink.c: Likewise. + * coffswap.h: Likewise. + * compress.c: Likewise. + * cpu-arm.c: Likewise. + * ecoff.c: Likewise. + * elf-attrs.c: Likewise. + * elf-eh-frame.c: Likewise. + * elf-ifunc.c: Likewise. + * elf-m10300.c: Likewise. + * elf-properties.c: Likewise. + * elf-s390-common.c: Likewise. + * elf.c: Likewise. + * elf32-arc.c: Likewise. + * elf32-arm.c: Likewise. + * elf32-avr.c: Likewise. + * elf32-bfin.c: Likewise. + * elf32-cr16.c: Likewise. + * elf32-cr16c.c: Likewise. + * elf32-cris.c: Likewise. + * elf32-crx.c: Likewise. + * elf32-d10v.c: Likewise. + * elf32-d30v.c: Likewise. + * elf32-epiphany.c: Likewise. + * elf32-fr30.c: Likewise. + * elf32-frv.c: Likewise. + * elf32-gen.c: Likewise. + * elf32-hppa.c: Likewise. + * elf32-i370.c: Likewise. + * elf32-i386.c: Likewise. + * elf32-i960.c: Likewise. + * elf32-ip2k.c: Likewise. + * elf32-iq2000.c: Likewise. + * elf32-lm32.c: Likewise. + * elf32-m32c.c: Likewise. + * elf32-m32r.c: Likewise. + * elf32-m68hc11.c: Likewise. + * elf32-m68hc12.c: Likewise. + * elf32-m68hc1x.c: Likewise. + * elf32-m68k.c: Likewise. + * elf32-mcore.c: Likewise. + * elf32-mep.c: Likewise. + * elf32-metag.c: Likewise. + * elf32-microblaze.c: Likewise. + * elf32-moxie.c: Likewise. + * elf32-msp430.c: Likewise. + * elf32-mt.c: Likewise. + * elf32-nds32.c: Likewise. + * elf32-nios2.c: Likewise. + * elf32-or1k.c: Likewise. + * elf32-pj.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-rl78.c: Likewise. + * elf32-rx.c: Likewise. + * elf32-s390.c: Likewise. + * elf32-score.c: Likewise. + * elf32-score7.c: Likewise. + * elf32-sh-symbian.c: Likewise. + * elf32-sh.c: Likewise. + * elf32-sh64.c: Likewise. + * elf32-sparc.c: Likewise. + * elf32-spu.c: Likewise. + * elf32-tic6x.c: Likewise. + * elf32-tilepro.c: Likewise. + * elf32-v850.c: Likewise. + * elf32-vax.c: Likewise. + * elf32-visium.c: Likewise. + * elf32-wasm32.c: Likewise. + * elf32-xgate.c: Likewise. + * elf32-xtensa.c: Likewise. + * elf64-alpha.c: Likewise. + * elf64-gen.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-sparc.c: Likewise. + * elf64-x86-64.c: Likewise. + * elfcode.h: Likewise. + * elfcore.h: 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. + * elfxx-x86.c: Likewise. + * hpux-core.c: Likewise. + * ieee.c: Likewise. + * ihex.c: Likewise. + * libbfd.c: Likewise. + * linker.c: Likewise. + * mach-o.c: Likewise. + * merge.c: Likewise. + * mmo.c: Likewise. + * oasys.c: Likewise. + * pdp11.c: Likewise. + * pe-mips.c: Likewise. + * peXXigen.c: Likewise. + * peicode.h: Likewise. + * reloc.c: Likewise. + * rs6000-core.c: Likewise. + * srec.c: Likewise. + * stabs.c: Likewise. + * vms-alpha.c: Likewise. + * xcofflink.c: Likewise. + +2018-02-19 Alan Modra + + PR 22845 + * elf.c (IS_TBSS): Define. + (_bfd_elf_map_sections_to_segments): Use IS_TBSS. + (assign_file_positions_for_non_load_sections): Revert last change. + Properly calculate load segment limits to compare against relro limits. + +2018-02-17 Alan Modra + + PR 22845 + * elf.c (assign_file_positions_for_non_load_sections): Ignore + degenerate zero size PT_LOAD segments when finding one overlapping + the PT_GNU_RELRO segment. + +2018-02-16 Alan Modra + + * libbfd.c (_bfd_bool_bfd_false_error): Rename from bfd_false. + (_bfd_bool_bfd_true): Rename from bfd_true. + (_bfd_ptr_bfd_null_error): Rename from bfd_nullvoidptr. + (_bfd_int_bfd_0): Rename from bfd_0. + (_bfd_uint_bfd_0): Rename from bfd_0u. + (_bfd_long_bfd_0): Rename from bfd_0l. + (_bfd_long_bfd_n1_error): Rename from _bfd_n1. + (_bfd_void_bfd): Rename from bfd_void. + (_bfd_bool_bfd_false, _bfd_bool_bfd_asymbol_false), + (_bfd_bool_bfd_link_false_error), + (_bfd_bool_bfd_link_true, _bfd_bool_bfd_bfd_true), + (_bfd_bool_bfd_uint_true, _bfd_bool_bfd_ptr_true), + (_bfd_bool_bfd_asection_bfd_asection_true), + (_bfd_bool_bfd_asymbol_bfd_asymbol_true), + (_bfd_void_bfd_link, _bfd_void_bfd_asection): New functions. + * archive.c (_bfd_noarchive_get_elt_at_index), + (_bfd_noarchive_openr_next_archived_file), + (_bfd_noarchive_construct_extended_name_table), + (_bfd_noarchive_write_ar_hdr, _bfd_noarchive_truncate_arname), + (_bfd_noarchive_write_armap): New functions. + * archures.c (_bfd_nowrite_set_arch_mach): New function. + * coff-alpha.c (alpha_ecoff_swap_coff_aux_in), + (alpha_ecoff_swap_coff_sym_in, alpha_ecoff_swap_coff_lineno_in), + (alpha_ecoff_swap_coff_aux_out, alpha_ecoff_swap_coff_sym_out), + (alpha_ecoff_swap_coff_lineno_out), + (alpha_ecoff_swap_coff_reloc_out): New functions. + * coff-mips.c (mips_ecoff_swap_coff_aux_in), + (mips_ecoff_swap_coff_sym_in, mips_ecoff_swap_coff_lineno_in), + (mips_ecoff_swap_coff_aux_out, mips_ecoff_swap_coff_sym_out), + (mips_ecoff_swap_coff_lineno_out), + (mips_ecoff_swap_coff_reloc_out): New functions. + * coffcode.h (coff_set_alignment_hook): Replace define with + new function. + (symname_in_debug_hook): Likewise. + * ecoff.c (_bfd_ecoff_set_alignment_hook): New function. + * elfxx-target.h (elf_backend_allow_non_load_phdr): Default to 0. + * elf.c (assign_file_positions_except_relocs): Test + elf_backend_allow_non_load_phdr for NULL. + * elflink.c (_bfd_elf_omit_section_dynsym_default): Rename from + _bfd_elf_link_omit_section_dynsym. Update uses. + (_bfd_elf_omit_section_dynsym_all): New function. + * elf-bfd.h (_bfd_elf_link_omit_section_dynsym): Delete. + (_bfd_elf_omit_section_dynsym_default): Declare. + (_bfd_elf_omit_section_dynsym_all): Declare. + * linker.c (_bfd_nolink_sizeof_headers, _bfd_nolink_bfd_relax_section), + (_bfd_nolink_bfd_get_relocated_section_contents), + (_bfd_nolink_bfd_lookup_section_flags), + (_bfd_nolink_bfd_is_group_section, _bfd_nolink_bfd_discard_group), + (_bfd_nolink_bfd_link_hash_table_create), + (_bfd_nolink_bfd_link_just_syms), + (_bfd_nolink_bfd_copy_link_hash_symbol_type), + (_bfd_nolink_bfd_link_split_section), + (_bfd_nolink_section_already_linked), + (_bfd_nolink_bfd_define_common_symbol), + (_bfd_nolink_bfd_define_start_stop): New functions. + * reloc.c (_bfd_norelocs_bfd_reloc_type_lookup), + (_bfd_norelocs_bfd_reloc_name_lookup), + (_bfd_nodynamic_canonicalize_dynamic_reloc): New functions. + * section.c (_bfd_nowrite_set_section_contents): New function. + * syms.c (_bfd_nosymbols_canonicalize_symtab), + (_bfd_nosymbols_print_symbol, _bfd_nosymbols_get_symbol_info), + (_bfd_nosymbols_get_symbol_version_string), + (_bfd_nosymbols_bfd_is_local_label_name), + (_bfd_nosymbols_get_lineno, _bfd_nosymbols_find_nearest_line), + (_bfd_nosymbols_find_line, _bfd_nosymbols_find_inliner_info), + (_bfd_nosymbols_bfd_make_debug_symbol), + ( _bfd_nosymbols_read_minisymbols), + ( _bfd_nosymbols_minisymbol_to_symbol), + (_bfd_nodynamic_get_synthetic_symtab): New functions. + * libbfd-in.h: Declare new functions. Update existing defines, + removing casts. + * aix386-core.c: Update to use new hooks. Formatting. + * aout-adobe.c: Likewise. + * aout-arm.c: Likewise. + * aout-target.h: Likewise. + * aout-tic30.c: Likewise. + * aoutf1.h: Likewise. + * binary.c: Likewise. + * bout.c: Likewise. + * cisco-core.c: Likewise. + * coff-alpha.c: Likewise. + * coff-i386.c: Likewise. + * coff-i860.c: Likewise. + * coff-i960.c: Likewise. + * coff-ia64.c: Likewise. + * coff-mips.c: Likewise. + * coff-ppc.c: Likewise. + * coff-rs6000.c: Likewise. + * coff-sh.c: Likewise. + * coff-tic30.c: Likewise. + * coff-tic54x.c: Likewise. + * coff-x86_64.c: Likewise. + * coff64-rs6000.c: Likewise. + * coffcode.h: Likewise. + * elf-m10300.c: Likewise. + * elf32-cr16.c: Likewise. + * elf32-lm32.c: Likewise. + * elf32-m32r.c: Likewise. + * elf32-metag.c: Likewise. + * elf32-score.c: Likewise. + * elf32-score7.c: Likewise. + * elf32-tilepro.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-sh64.c: Likewise. + * elfnn-ia64.c: Likewise. + * elfxx-sparc.c: Likewise. + * elfxx-target.h: Likewise. + * elfxx-tilegx.c: Likewise. + * elfxx-x86.h: Likewise. + * hp300hpux.c: Likewise. + * hppabsd-core.c: Likewise. + * hpux-core.c: Likewise. + * i386msdos.c: Likewise. + * i386os9k.c: Likewise. + * ieee.c: Likewise. + * ihex.c: Likewise. + * irix-core.c: Likewise. + * libaout.h: Likewise. + * libecoff.h: Likewise. + * mach-o-target.c: Likewise. + * mach-o.c: Likewise. + * mipsbsd.c: Likewise. + * mmo.c: Likewise. + * netbsd-core.c: Likewise. + * nlm-target.h: Likewise. + * oasys.c: Likewise. + * osf-core.c: Likewise. + * pdp11.c: Likewise. + * pe-mips.c: Likewise. + * pe-x86_64.c: Likewise. + * pef.c: Likewise. + * plugin.c: Likewise. + * ppcboot.c: Likewise. + * ptrace-core.c: Likewise. + * sco5-core.c: Likewise. + * som.c: Likewise. + * sparclynx.c: Likewise. + * srec.c: Likewise. + * tekhex.c: Likewise. + * trad-core.c: Likewise. + * verilog.c: Likewise. + * versados.c: Likewise. + * vms-alpha.c: Likewise. + * vms-lib.c: Likewise. + * wasm-module.c: Likewise. + * xsym.c: Likewise. + * libbfd.h: Regenerate. + +2018-02-15 Jim Wilson + + * elfnn-riscv.c (_bfd_riscv_relax_section): Ifdef out check to ignore + symbols whose section address is zero. + + * elfnn-riscv.c (riscv_elf_relocate_section): Use bfd_reloc_dangerous + when pcrel_lo reloc has an addend. Use reloc_dangerous callback for + bfd_reloc_dangerous. Use einfo instead of warning callback for errors. + Add %X%P to error messages. + +2018-02-15 Eric Botcazou + + PR ld/22832 + * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) : + Pass FALSE instead of TRUE as 'create' argument to bfd_link_hash_lookup + and assert that the result of the call is not NULL. + +2018-02-14 Nick Clifton + + PR 22823 + Revert previous delta. Add extra casts to avoid compile time + warnings instead. + * libbfd-in.h (_bfd_generic_bfd_copy_private_bfd_data): Add extra + cast to avoid warning from gcc v8 compiler. + (_bfd_generic_bfd_merge_private_bfd_data): Likewise. + (_bfd_generic_bfd_set_private_flags): Likewise. + (_bfd_generic_bfd_copy_private_section_data): Likewise. + (_bfd_generic_bfd_copy_private_symbol_data): Likewise. + (_bfd_generic_bfd_copy_private_header_data): Likewise. + (_bfd_generic_bfd_print_private_bfd_data): Likewise. + (_bfd_noarchive_construct_extended_name_table): Likewise. + (_bfd_noarchive_truncate_arname): Likewise. + (_bfd_noarchive_write_ar_hdr): Likewise. + (_bfd_noarchive_get_elt_at_index): Likewise. + (_bfd_nosymbols_canonicalize_symtab): Likewise. + (_bfd_nosymbols_print_symbol): Likewise. + (_bfd_nosymbols_get_symbol_info): Likewise. + (_bfd_nosymbols_get_symbol_version_string): Likewise. + (_bfd_nosymbols_bfd_is_local_label_name): Likewise. + (_bfd_nosymbols_bfd_is_target_special_symbol): Likewise. + (_bfd_nosymbols_get_lineno): Likewise. + (_bfd_nosymbols_find_nearest_line): Likewise. + (_bfd_nosymbols_find_line): Likewise. + (_bfd_nosymbols_find_inliner_info): Likewise. + (_bfd_nosymbols_bfd_make_debug_symbol): Likewise. + (_bfd_nosymbols_read_minisymbols): Likewise. + (_bfd_nosymbols_minisymbol_to_symbol): Likewise. + (_bfd_norelocs_bfd_reloc_type_lookup): Likewise. + (_bfd_norelocs_bfd_reloc_name_lookup): Likewise. + (_bfd_nowrite_set_arch_mach): Likewise. + (_bfd_nowrite_set_section_contents): Likewise. + (_bfd_nolink_sizeof_headers): Likewise. + (_bfd_nolink_bfd_get_relocated_section_contents): Likewise. + (_bfd_nolink_bfd_relax_section): Likewise. + (_bfd_nolink_bfd_gc_sections): Likewise. + (_bfd_nolink_bfd_lookup_section_flags): Likewise. + (_bfd_nolink_bfd_merge_sections): Likewise. + (_bfd_nolink_bfd_is_group_section): Likewise. + (_bfd_nolink_bfd_discard_group): Likewise. + (_bfd_nolink_bfd_link_hash_table_create): Likewise. + (_bfd_nolink_bfd_link_add_symbols): Likewise. + (_bfd_nolink_bfd_link_just_syms): Likewise. + (_bfd_nolink_bfd_copy_link_hash_symbol_type): Likewise. + (_bfd_nolink_bfd_final_link): Likewise. + (_bfd_nolink_bfd_link_split_section): Likewise. + (_bfd_nolink_section_already_linked): Likewise. + (_bfd_nolink_bfd_define_common_symbol): Likewise. + (_bfd_nolink_bfd_define_start_stop): Likewise. + (_bfd_nodynamic_canonicalize_dynamic_symtab): Likewise. + (_bfd_nodynamic_get_synthetic_symtab): Likewise. + (_bfd_nodynamic_get_dynamic_reloc_upper_bound _bfd_): Likewise. + (_bfd_nodynamic_canonicalize_dynamic_reloc): Likewise. + * libbfd.c (bfd_false_any): Delete. + (bfd_true_any, bfd_nullvoidptr_any, bfd_0_any): Delete. + (bfd_0u_any, bfd_0l_any, _bfd_n1_any, bfd_void_any): Delete. + * libbfd.h (extern): Regenerate + * aout-target.h (MY_bfd_is_target_special_symbol): Add extra + cast to avoid warning from gcc v8 compiler. + * aout-tic30.c (tic30_aout_set_arch_mach): Likewise. + * binary.c (binary_get_symbol_info): Likewise. + * coff-alpha.c (alpha_ecoff_backend_data): Likewise. + * coff-mips.c (mips_ecoff_backend_data): Likewise. + * coffcode.h (coff_set_alignment_hook): Likewise. + (symname_in_debug_hook): Likewise. + (bfd_coff_backend_data bigobj_swap_table): Likewise. + * elf-m10300.c (elf_backend_omit_section_dynsym): Likewise. + * elf32-cr16.c (elf_backend_omit_section_dynsym): Likewise. + * elf32-lm32.c (elf_backend_omit_section_dynsym): Likewise. + * elf32-m32r.c (elf_backend_omit_section_dynsym): Likewise. + * elf32-metag.c (elf_backend_omit_section_dynsym): Likewise. + * elf32-score.c (elf_backend_omit_section_dynsym): Likewise. + * elf32-score7.c (elf_backend_omit_section_dynsym): Likewise. + * elf32-xstormy16.c (elf_backend_omit_section_dynsym): Likewise. + * elf32-xtensa.c (elf_backend_omit_section_dynsym): Likewise. + * elf64-alpha.c (elf_backend_omit_section_dynsym): Likewise. + * elf64-hppa.c (elf_backend_omit_section_dynsym): Likewise. + * elf64-ia64-vms.c (elf_backend_omit_section_dynsym): Likewise. + * elf64-mmix.c (elf_backend_omit_section_dynsym): Likewise. + * elf64-sh64.c (elf_backend_omit_section_dynsym): Likewise. + * elfnn-ia64.c (elf_backend_omit_section_dynsym): Likewise. + * elfxx-target.h (bfd_elfNN_bfd_debug_info_accumulate): Likewise. + (bfd_elfNN_bfd_make_debug_symbol): Likewise. + (bfd_elfNN_bfd_merge_private_bfd_data): Likewise. + (bfd_elfNN_bfd_set_private_flags): Likewise. + (bfd_elfNN_bfd_is_target_special_symbol): Likewise. + (elf_backend_init_index_section): Likewise. + (elf_backend_allow_non_load_phdr): Likewise. + * elfxx-x86.h (elf_backend_omit_section_dynsym): Likewise. + * i386msdos.c (msdos_bfd_is_target_special_symbol): Likewise. + * ieee.c (ieee_construct_extended_name_table): Likewise. + (ieee_write_armap): Likewise. + (ieee_write_ar_hdr): Likewise. + (ieee_bfd_is_target_special_symbol): Likewise. + * ihex.c (ihex_canonicalize_symtab): Likewise. + (ihex_bfd_is_target_special_symbol): Likewise. + * libaout.h (aout_32_bfd_is_target_special_symbol): Likewise. + * libecoff.h (_bfd_ecoff_bfd_is_target_special_symbol): Likewise. + (_bfd_ecoff_set_alignment_hook): Likewise. + * mach-o-target.c (bfd_mach_o_bfd_is_target_special_symbol): Likewise. + * mmo.c (mmo_bfd_is_target_special_symbol): Likewise. + * nlm-target.h (nlm_bfd_is_target_special_symbol): Likewise. + * oasys.c (oasys_construct_extended_name_table): Likewise. + (oasys_write_armap): Likewise. + (oasys_write_ar_hdr): Likewise. + (oasys_bfd_is_target_special_symbol): Likewise. + * pef.c (bfd_pef_bfd_is_target_special_symbol): Likewise. + * plugin.c (bfd_plugin_bfd_is_target_special_symbol): Likewise. + * ppcboot.c (ppcboot_bfd_is_target_special_symbol): Likewise. + * som.c (som_bfd_is_target_special_symbol): Likewise. + * srec.c (srec_bfd_is_target_special_symbol): Likewise. + * tekhex.c (tekhex_bfd_is_target_special_symbol): Likewise. + * verilog.c (verilog_bfd_is_target_special_symbol): Likewise. + * versados.c (versados_bfd_is_target_special_symbol): Likewise. + (versados_bfd_reloc_name_lookup): Likewise. + * vms-alpha.c (vms_bfd_is_target_special_symbol): Likewise. + (vms_bfd_define_start_stop): Likewise. + (alpha_vms_bfd_is_target_special_symbol): Likewise. + * wasm-module.c (wasm_bfd_is_target_special_symbol): Likewise. + * xsym.c (bfd_sym_bfd_is_target_special_symbol): Likewise. + +2018-02-14 H.J. Lu + + PR ld/22842 + * elf32-i386.c (elf_i386_check_relocs): Pass FALSE for non + PC-relative PLT to NEED_DYNAMIC_RELOCATION_P. + * elf64-x86-64.c (elf_x86_64_check_relocs): Create PLT for + R_X86_64_PC32 reloc against dynamic function in data section. + Pass TRUE for PC-relative PLT to NEED_DYNAMIC_RELOCATION_P. + (elf_x86_64_relocate_section): Use PLT for R_X86_64_PC32 reloc + against dynamic function in data section. + * elfxx-x86.c (elf_x86_allocate_dynrelocs): Use PLT in PIE as + function address only if pcrel_plt is true. + (_bfd_x86_elf_link_hash_table_create): Set pcrel_plt. + * elfxx-x86.h (NEED_DYNAMIC_RELOCATION_P): Add PCREL_PLT for + PC-relative PLT. If PLT is PC-relative, don't generate dynamic + PC-relative relocation against a function definition in data + secton in PIE. Remove the obsolete comments. + (elf_x86_link_hash_table): Add pcrel_plt. + +2018-02-13 H.J. Lu + + * elfxx-x86.c (elf_x86_allocate_dynrelocs): Check bfd_link_dll, + instead of bfd_link_pic, for building shared library. + +2018-02-13 H.J. Lu + + PR gas/22791 + * elf64-x86-64.c (is_32bit_relative_branch): Removed. + (elf_x86_64_relocate_section): Check PIC relocations in PIE. + Remove is_32bit_relative_branch usage. Disallow PC32 reloc + against protected function in shared object. + +2018-02-13 Sergei Trofimovich + + PR 22828 + * po/ru.po: Fix typo in Russian translation. + +2018-02-13 Maciej W. Rozycki + + * wasm-module.c (wasm_scan_name_function_section): Rename + `index' local variable to `idx'. + +2018-02-13 Nick Clifton + + PR 22823 + Fix compile time warnings generated by gcc version 8. + * libbfd-in.h: Remove extraneous text from prototypes. + Add prototypes for bfd_false_any, bfd_true_any, + bfd_nullvoidptr_any, bfd_0_any, bfd_0u_any, bfd_0l_any, + bfd_n1_any, bfd_void_any. + (_bfd_generic_bfd_copy_private_bfd_data): Use vararg based dummy + function. + (_bfd_generic_bfd_merge_private_bfd_data): Likewise. + (_bfd_generic_bfd_set_private_flags): Likewise. + (_bfd_generic_bfd_copy_private_section_data): Likewise. + (_bfd_generic_bfd_copy_private_symbol_data): Likewise. + (_bfd_generic_bfd_copy_private_header_data): Likewise. + (_bfd_generic_bfd_print_private_bfd_data): Likewise. + (_bfd_noarchive_construct_extended_name_table): Likewise. + (_bfd_noarchive_truncate_arname): Likewise. + (_bfd_noarchive_write_ar_hdr): Likewise. + (_bfd_noarchive_get_elt_at_index): Likewise. + (_bfd_nosymbols_canonicalize_symtab): Likewise. + (_bfd_nosymbols_print_symbol): Likewise. + (_bfd_nosymbols_get_symbol_info): Likewise. + (_bfd_nosymbols_get_symbol_version_string): Likewise. + (_bfd_nosymbols_bfd_is_local_label_name): Likewise. + (_bfd_nosymbols_bfd_is_target_special_symbol): Likewise. + (_bfd_nosymbols_get_lineno): Likewise. + (_bfd_nosymbols_find_nearest_line): Likewise. + (_bfd_nosymbols_find_line): Likewise. + (_bfd_nosymbols_find_inliner_info): Likewise. + (_bfd_nosymbols_bfd_make_debug_symbol): Likewise. + (_bfd_nosymbols_read_minisymbols): Likewise. + (_bfd_nosymbols_minisymbol_to_symbol): Likewise. + (_bfd_norelocs_bfd_reloc_type_lookup): Likewise. + (_bfd_norelocs_bfd_reloc_name_lookup): Likewise. + (_bfd_nowrite_set_arch_mach): Likewise. + (_bfd_nowrite_set_section_contents): Likewise. + (_bfd_nolink_sizeof_headers): Likewise. + (_bfd_nolink_bfd_get_relocated_section_contents): Likewise. + (_bfd_nolink_bfd_relax_section): Likewise. + (_bfd_nolink_bfd_gc_sections): Likewise. + (_bfd_nolink_bfd_lookup_section_flags): Likewise. + (_bfd_nolink_bfd_merge_sections): Likewise. + (_bfd_nolink_bfd_is_group_section): Likewise. + (_bfd_nolink_bfd_discard_group): Likewise. + (_bfd_nolink_bfd_link_hash_table_create): Likewise. + (_bfd_nolink_bfd_link_add_symbols): Likewise. + (_bfd_nolink_bfd_link_just_syms): Likewise. + (_bfd_nolink_bfd_copy_link_hash_symbol_type): Likewise. + (_bfd_nolink_bfd_final_link): Likewise. + (_bfd_nolink_bfd_link_split_section): Likewise. + (_bfd_nolink_section_already_linked): Likewise. + (_bfd_nolink_bfd_define_common_symbol): Likewise. + (_bfd_nolink_bfd_define_start_stop): Likewise. + (_bfd_nodynamic_canonicalize_dynamic_symtab): Likewise. + (_bfd_nodynamic_get_synthetic_symtab): Likewise. + (_bfd_nodynamic_get_dynamic_reloc_upper_bound _bfd_): Likewise. + (_bfd_nodynamic_canonicalize_dynamic_reloc): Likewise. + * libbfd.c (bfd_false_any): New function. Like bfd_false but + accepts one or more arguments. + (bfd_true_any): Likewise. + (bfd_nullvoidptr_any): Likewise. + (bfd_0_any): Likewise. + (bfd_0u_any): Likewise. + (bfd_0l_any): Likewise. + (_bfd_n1_any): Likewise. + (bfd_void_any): Likewise. + * libbfd.h (extern): Regenerate + * aout-target.h (MY_bfd_is_target_special_symbol): Use vararg + based dummy function. + * aout-tic30.c (tic30_aout_set_arch_mach): Likewise. + * binary.c (binary_get_symbol_info): Likewise. + * coff-alpha.c (alpha_ecoff_backend_data): Likewise. + * coff-mips.c (mips_ecoff_backend_data): Likewise. + * coffcode.h (coff_set_alignment_hook): Likewise. + (symname_in_debug_hook): Likewise. + (bfd_coff_backend_data bigobj_swap_table): Likewise. + * elf-m10300.c (elf_backend_omit_section_dynsym): Likewise. + * elf32-cr16.c (elf_backend_omit_section_dynsym): Likewise. + * elf32-lm32.c (elf_backend_omit_section_dynsym): Likewise. + * elf32-m32r.c (elf_backend_omit_section_dynsym): Likewise. + * elf32-metag.c (elf_backend_omit_section_dynsym): Likewise. + * elf32-score.c (elf_backend_omit_section_dynsym): Likewise. + * elf32-score7.c (elf_backend_omit_section_dynsym): Likewise. + * elf32-xstormy16.c (elf_backend_omit_section_dynsym): Likewise. + * elf32-xtensa.c (elf_backend_omit_section_dynsym): Likewise. + * elf64-alpha.c (elf_backend_omit_section_dynsym): Likewise. + * elf64-hppa.c (elf_backend_omit_section_dynsym): Likewise. + * elf64-ia64-vms.c (elf_backend_omit_section_dynsym): Likewise. + * elf64-mmix.c (elf_backend_omit_section_dynsym): Likewise. + * elf64-sh64.c (elf_backend_omit_section_dynsym): Likewise. + * elfnn-ia64.c (elf_backend_omit_section_dynsym): Likewise. + * elfxx-target.h (bfd_elfNN_bfd_debug_info_accumulate): Likewise. + (bfd_elfNN_bfd_make_debug_symbol): Likewise. + (bfd_elfNN_bfd_merge_private_bfd_data): Likewise. + (bfd_elfNN_bfd_set_private_flags): Likewise. + (bfd_elfNN_bfd_is_target_special_symbol): Likewise. + (elf_backend_init_index_section): Likewise. + (elf_backend_allow_non_load_phdr): Likewise. + * elfxx-x86.h (elf_backend_omit_section_dynsym): Likewise. + * i386msdos.c (msdos_bfd_is_target_special_symbol): Likewise. + * ieee.c (ieee_construct_extended_name_table): Likewise. + (ieee_write_armap): Likewise. + (ieee_write_ar_hdr): Likewise. + (ieee_bfd_is_target_special_symbol): Likewise. + * ihex.c (ihex_canonicalize_symtab): Likewise. + (ihex_bfd_is_target_special_symbol): Likewise. + * libaout.h (aout_32_bfd_is_target_special_symbol): Likewise. + * libecoff.h (_bfd_ecoff_bfd_is_target_special_symbol): Likewise. + (_bfd_ecoff_set_alignment_hook): Likewise. + * mach-o-target.c (bfd_mach_o_bfd_is_target_special_symbol): Likewise. + * mmo.c (mmo_bfd_is_target_special_symbol): Likewise. + * nlm-target.h (nlm_bfd_is_target_special_symbol): Likewise. + * oasys.c (oasys_construct_extended_name_table): Likewise. + (oasys_write_armap): Likewise. + (oasys_write_ar_hdr): Likewise. + (oasys_bfd_is_target_special_symbol): Likewise. + * pef.c (bfd_pef_bfd_is_target_special_symbol): Likewise. + * plugin.c (bfd_plugin_bfd_is_target_special_symbol): Likewise. + * ppcboot.c (ppcboot_bfd_is_target_special_symbol): Likewise. + * som.c (som_bfd_is_target_special_symbol): Likewise. + * srec.c (srec_bfd_is_target_special_symbol): Likewise. + * tekhex.c (tekhex_bfd_is_target_special_symbol): Likewise. + * verilog.c (verilog_bfd_is_target_special_symbol): Likewise. + * versados.c (versados_bfd_is_target_special_symbol): Likewise. + (versados_bfd_reloc_name_lookup): Likewise. + * vms-alpha.c (vms_bfd_is_target_special_symbol): Likewise. + (vms_bfd_define_start_stop): Likewise. + (alpha_vms_bfd_is_target_special_symbol): Likewise. + * wasm-module.c (wasm_bfd_is_target_special_symbol): Likewise. + * xsym.c (bfd_sym_bfd_is_target_special_symbol): Likewise. + * elf32-arc.c (get_replace_function): Assign replacement function + to func pointer. + * elf32-i370.c (i370_noop): Update prototype. + +2018-02-13 Alan Modra + + PR 22836 + * elf.c (_bfd_elf_fixup_group_sections): Account for removed + relocation sections. If size reduces to just the flag word, + remove that too and mark with SEC_EXCLUDE. + * elflink.c (bfd_elf_final_link): Strip empty group sections. + +2018-02-13 Alan Modra + + PR 22829 + * elf.c (assign_file_positions_for_non_load_sections): Rewrite + PT_GNU_RELRO setup. + +2018-02-12 Zebediah Figura + + * i386msdos.c (msdos_mkobject); New function. + (msdos_object_p): New function. + (i386_msdos_vec): Use msdos_object_p as the check_format + function. + * peicode.h: Rename external_PEI_DOS_hdr, DOSMAGIC, and + NT_SIGNATURE to external_DOS_hdr, IMAGE_DOS_SIGNATURE, and + IMAGE_NT_SIGNATURE. + * peXXigen.c: Likewise. + * coff-ia64.c: Likewise. + +2018-02-12 Nick Clifton + + * elf32-nds32.c (nds32_elf_relax_longjump3): Remove redundant + assignment. + * elf32-arc.c (elf_arc_relocate_section): Likewise. + +2018-02-09 Eric Botcazou + + * elfxx-sparc.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Reorder conditions. + (sparc_elf_append_rela): Assert that there is enough room in section. + (_bfd_sparc_elf_copy_indirect_symbol): Fix formatting. + (_bfd_sparc_elf_adjust_dynamic_symbol): Minor tweak. + (allocate_dynrelocs): Remove outdated comments and reorder conditions. + For a symbol subject to a GOT relocation, reserve a slot in the + relocation section if the symbol isn't dynamic and we are in PIC mode. + (_bfd_sparc_elf_relocate_section) : If relocation + is relaxed and a slot was reserved, generate a R_SPARC_NONE relocation. + : Adjust comments. + : Reorder conditions. Remove always-false assertion. + (_bfd_sparc_elf_finish_dynamic_symbol): Rename local_undefweak into + resolved_to_zero. Do not generate a dynamic GOT relocation for an + undefined weak symbol with non-default visibility. Remove superfluous + 'else' and fix formatting. + +2018-02-09 H.J. Lu + + * elf32-i386.c (elf_i386_get_synthetic_symtab): Also handle + is_solaris. + (i386_elf32_sol2_vec): Don't declare. + (elf_i386_link_setup_gnu_properties): Also handle is_solaris. + Don't set need_global_offset_table. + (elf_i386_solaris_arch_bed): New. + (elf_backend_arch_data): Set to elf_i386_solaris_arch_bed for + Solaris. + * elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Check + target_os != is_nacl instead of target_os == is_normal. + (x86_64_elf64_sol2_vec): Don't declare. + (elf_x86_64_link_setup_gnu_properties): Check target_os != + is_nacl instead of target_os == is_normal. Don't set + need_global_offset_table. + (elf_x86_64_solaris_arch_bed): New. + (elf_backend_arch_data): Set to elf_x86_64_solaris_arch_bed for + Solaris. + * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Keep + _GLOBAL_OFFSET_TABLE_ for Solaris. + (_bfd_x86_elf_link_setup_gnu_properties): Don't copy + need_global_offset_table. + * elfxx-x86.h (elf_x86_target_os): Add is_solaris. + (elf_x86_link_hash_table): Remove need_global_offset_table. + (elf_x86_init_table): Likewise. + +2018-02-08 H.J. Lu + + * elf32-i386.c (elf32_i386_copy_solaris_special_section_fields): + Remove prototype. + (i386_elf32_sol2_vec): Declared. + (elf_i386_link_setup_gnu_properties): Set + need_global_offset_table with info->output_bfd->xvec. + * elf64-x86-64.c (elf64_x86_64_copy_solaris_special_section_fields): + Remove prototype. + (x86_64_elf64_sol2_vec): Declared. + (elf_x86_64_link_setup_gnu_properties): Set + need_global_offset_table with info->output_bfd->xvec. + +2018-02-08 H.J. Lu + + * elf32-i386.c (elf32_i386_copy_solaris_special_section_fields): + New prototype. + (elf_i386_link_setup_gnu_properties): Set need_global_offset_table + for Solaris. + * elf64-x86-64.c (elf64_x86_64_copy_solaris_special_section_fields): + New prototype. + (elf_x86_64_link_setup_gnu_properties): Set + need_global_offset_table for Solaris. + * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Keep the + unused _GLOBAL_OFFSET_TABLE_ for Solaris. + (_bfd_x86_elf_link_setup_gnu_properties): Copy + need_global_offset_table. + * elfxx-x86.h (elf_x86_link_hash_table): Add + need_global_offset_table. + (elf_x86_init_table): Likewise. + +2018-02-08 Jim Wilson + + * elfnn-riscv.c (riscv_elf_relocate_section): Add comment for previous + change. + +2018-02-08 Nick Clifton + + PR 22788 + * elf.c (elf_parse_notes): Reject notes with excessuively large + alignments. + +2018-02-07 Alan Modra + + Revert 2018-01-17 Alan Modra + * elf32-ppc.c: Remove speculation barrier support. + * elf32-ppc.h: Likewise. + * elf64-ppc.c: Likewise. + * elf64-ppc.h: Likewise. + +2018-02-06 Jim Wilson + + * elfnn-riscv.c (riscv_elf_relocate_section): Return TRUE if used + callback to report an error. + +2018-02-06 Eric Botcazou + + PR ld/22263 + * elfxx-sparc.c (sparc_elf_tls_transition): Turn call to bfd_link_pic + into call to !bfd_link_executable and tidy up. + (_bfd_sparc_elf_check_relocs): Fix formatting and tidy up. + : Turn call to bfd_link_pic into call to + !bfd_link_executable. + : Likewise. + : Remove useless code, tidy and merge related blocks. + : Turn call to bfd_link_pic into call to + !bfd_link_executable. + : Tidy up. + (_bfd_sparc_elf_gc_mark_hook): Turn call to bfd_link_pic into call to + !bfd_link_executable. + (allocate_dynrelocs): Likewise. + (_bfd_sparc_elf_relocate_section): Fix formatting and tidy up. + : Merge into... + : ...this. Adjust 4th argument in call to + sparc_elf_tls_transition and remove redundant code. + : Turn call to bfd_link_pic into call to + !bfd_link_executable. + : Likewise. + : Likewise. Tidy up. + : Likewise. + : Likewise. Tidy up. + : Likewise. + : Likewise. + : Likewise. + : Likewise. + +2018-02-06 Miloš Stojanović + + PR 22789 + * elfxx-mips.c (_bfd_mips_elf_find_nearest_line): If the dwarf + functions failed to find the function name, try the generic elf + find function instead. + +2018-02-06 Sergio Durigan Junior + + * coff-rs6000.c (xcoff_write_archive_contents_old): Use + 'memcpy' instead of 'strncpy' when writing the magic number. + +2018-02-06 Nick Clifton + + PR 22794 + * opncls.c (bfd_get_debug_link_info_1): Check the size of the + section before attempting to read it in. + (bfd_get_alt_debug_link_info): Likewise. + +2018-02-06 Paul Carroll + + * bfd/dwarf2.c (find_abstract_name): Modified to return file and + line information in addition to name, if they can be found. + +2018-02-05 Renlin Li + + PR ld/22764 + * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Relax the + R_AARCH64_ABS32 and R_AARCH64_ABS16 for absolute symbol. Apply the + check for writeable section as well. + +2018-02-05 H.J. Lu + + PR ld/22782 + * elf32-i386.c (elf_i386_check_relocs): Set got_referenced if + _GLOBAL_OFFSET_TABLE_ is referenced or GOT is needed to resolve + undefined weak symbol to 0. + * elf64-x86-64.c (elf_x86_64_check_relocs): Set got_referenced + if _GLOBAL_OFFSET_TABLE_ is referenced. + * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Check + got_referenced instead of ref_regular_nonweak. Remove the + unused _GLOBAL_OFFSET_TABLE_ from symbol table. + * elfxx-x86.h (elf_x86_link_hash_table): Add got_referenced. + +2018-02-05 Maciej W. Rozycki + + * elfnn-riscv.c (_bfd_riscv_relax_pc): Use `memset' to + initialize `hi_reloc'. + +2018-02-05 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_elf_section_processing): For + SHT_MIPS_REGINFO sections don't assert the correct size and + report an error instead. + +2018-02-05 Maciej W. Rozycki + + * elf.c (_bfd_elf_write_object_contents): Propagate a failure + status from `->elf_backend_section_processing'. + +2018-02-02 Jim Wilson + + PR ld/22756 + * elfnn-riscv.c (riscv_relax_delete_bytes): New parameter link_info. + If link_info->wrap_hash, check for a duplicate symbol and ignore. + (_bfd_riscv_relax_call, bfd_riscv_relax_lui, _bfd_riscv_relax_tls_le): + Pass new argument to riscv_relax_delete_bytes. + (_bfd_riscv_relax_align, _bfd_riscv_relax_delete): Likewise. Remove + ATTRIBUTE_UNUSED from link_info parameter. + +2018-02-02 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section): Don't relocate nops + emitted for toc sequence optimization. Set and use "howto" later. + +2018-02-01 Simon Marchi + + * elf64-ppc.c (ppc64_elf_archive_symbol_lookup): Avoid pointer + arithmetic on NULL pointer. + * elflink.c (_bfd_elf_archive_symbol_lookup, + elf_link_add_archive_symbols): Likewise. + +2018-01-31 Michael Matz + + * elflink.c (bfd_elf_define_start_stop): Fix check of + def_dynamic. + +2018-01-31 H.J. Lu + + PR ld/21964 + * elflink.c (bfd_elf_define_start_stop): Check if __start and + __stop symbols are referenced by shared objects. + +2018-01-30 Alan Modra + + PR 22758 + * elf.c (_bfd_elf_map_sections_to_segments): Don't start a new + segment when demand paged with lma on the same page. Test this + before load/non-load, executable/non-executable, + writable/non-writable tests and simplify. Delete bogus relro + condition in writable/non-writable test. Delete outdated + comment. Formatting. + +2018-01-30 Alan Modra + + * elflink.c (bfd_elf_define_start_stop): Make __start and __stop + symbols dynamic. + +2018-01-29 Alan Modra + + PR 22741 + * coffgen.c (coff_pointerize_aux): Ensure auxent tagndx is in + range before converting to a symbol table pointer. + +2018-01-27 Nick Clifton + + * po/ru.po: Updated Russian translation. + +2018-01-26 Alan Modra + + * elflink.c (bfd_elf_define_start_stop): Override symbols when + they are defined dynamically. + +2018-01-26 Alan Modra + + * elf64-ppc.c (ppc64_elf_size_stubs): Iterate sizing when + .branch_lt changes size. + +2018-01-25 Alan Modra + + PR 22746 + * elfcode.h (elf_object_p): Avoid integer overflow. + +2018-01-25 Eric Botcazou + + PR ld/22727 + * elfxx-sparc.c (_bfd_sparc_elf_check_relocs) : + Do a mere lookup of the __tls_get_addr symbol instead of adding it. + + Revert + 2017-10-19 H.J. Lu + + PR ld/22263 + * elfxx-sparc.c (sparc_elf_tls_transition): Replace + bfd_link_pic with !bfd_link_executable, !bfd_link_pic with + bfd_link_executable for TLS check. + (_bfd_sparc_elf_check_relocs): Likewise. + (allocate_dynrelocs): Likewise. + (_bfd_sparc_elf_relocate_section): Likewise. + +2018-01-24 Renlin Li + + * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Add support for + BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, + BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, + BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, + BFD_RELOC_AARCH64_MOVW_PREL_G3. + * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise. + (_bfd_aarch64_elf_resolve_relocation): Likewise. + +2018-01-24 Renlin Li + + * reloc.c: Add BFD_RELOC_AARCH64_MOVW_PREL_G0, + BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, BFD_RELOC_AARCH64_MOVW_PREL_G1, + BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, BFD_RELOC_AARCH64_MOVW_PREL_G2, + BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, BFD_RELOC_AARCH64_MOVW_PREL_G3. + * elfnn-aarch64.c (elfNN_aarch64_howto_table): Add entries for + BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, + BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, + BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, + BFD_RELOC_AARCH64_MOVW_PREL_G3. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2018-01-23 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_elf_final_link): Update a stale + `mips_elf32_section_processing' comment reference. + +2018-01-20 H.J. Lu + + PR ld/22721 + * elfxx-x86.c (_bfd_x86_elf_link_check_relocs): Check the + versioned __tls_get_addr symbol. + +2018-01-19 Nick Clifton + + * po/fr.po: Updated French translation. + +2018-01-18 Alan Modra + + * elf32-ppc.c (ppc_elf_create_glink): Correct alignment of .glink. + * elf64-ppc.c (ppc64_elf_size_stubs): Handle negative plt_stub_align. + (ppc64_elf_build_stubs): Likewise. + +2018-01-17 Nick Clifton + + * po/ru.po: Updated Russian translation. + * po/uk/po: Updated Ukranian translation. + +2018-01-17 Alan Modra + + * elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning. + +2018-01-17 Alan Modra + + * elf32-ppc.c (GLINK_ENTRY_SIZE): Handle speculation barrier. + (CRSETEQ, BEQCTRM): Define. + (is_nonpic_glink_stub): Don't check bctr. + (ppc_elf_link_hash_table_create): Init new ppc_elf_params field. + (ppc_elf_relax_section): Size speculation barrier. + (output_bctr): New function. + (write_glink_stub): Use output_bctr. + (ppc_elf_relocate_section): Use output_bctr for long branch stub. + (ppc_elf_finish_dynamic_symbol): Likewise. + (ppc_elf_finish_dynamic_sections): Use output_bctr. + * elf32-ppc.h (struct ppc_elf_params): Add speculate_indirect_jumps. + * elf64-ppc.c (CRSETEQ, BEQCTRM, BEQCTRLM): Define. + (GLINK_PLTRESOLVE_SIZE): Size speculation barrier. + (size_global_entry_stubs): Handle speculation barrier sizing. + (plt_stub_size): Likewise. + (output_bctr): New function. + (build_plt_stub, build_tls_get_addr_stub): Output speculation + barrier. + (ppc_build_one_stub): Likewise for ppc_stub_plt_branch. + (ppc_size_one_stub): Size speculation barrier in ppc_stub_plt_branch. + (build_global_entry_stubs): Output speculation barrier. + (ppc64_elf_build_stubs): Likewise in __glink_PLTresolve stub. + * elf64-ppc.h (struct ppc64_elf_params): Add speculate_indirect_jumps. + +2018-01-17 Alan Modra + + * elf32-ppc.c (GLINK_ENTRY_SIZE): Add parameters, handle + __tls_get_addr_opt, and alignment sizing. + (TLS_GET_ADDR_GLINK_SIZE): Delete. + (is_nonpic_glink_stub): Don't use GLINK_ENTRY_SIZE. + (ppc_elf_get_synthetic_symtab): Recognize stubs spaced at 4, 6, + or 8 insns. + (ppc_elf_link_hash_table_create): Init new ppc_elf_params field. + (allocate_dynrelocs): Use new GLINK_ENTRY_SIZE. + (ppc_elf_size_dynamic_sections): Likewise. Size branch table + by PLT reloc count. + (write_glink_stub): Handle __tls_get_addr_opt stub. + Pad out to size given by GLINK_ENTRY_SIZE. + (ppc_elf_relocate_section): Adjust write_glink_stub call. + (ppc_elf_finish_dynamic_symbol): Likewise. + (ppc_elf_finish_dynamic_sections): Write PLTresolve without using + insn array since so many need rewriting. + * elf32-ppc.h (struct ppc_elf_params): Add plt_stub_align. + * elf64-ppc.c (GLINK_PLTRESOLVE_SIZE): Rename from + GLINK_CALL_STUB_SIZE. Add htab param and evaluate to size without + nops. Adjust all uses. + (ppc64_elf_get_synthetic_symtab): Don't use GLINK_CALL_STUB_SIZE + in glink_vma calculation. + (struct ppc_link_hash_table): Add global_entry section pointer. + (create_linkage_sections): Create separate section for global + entry stubs. + (PPC_LO, PPC_HI, PPC_HA): Move earlier. + (size_global_entry_stubs): Handle sizing for aligned stubs. + (ppc64_elf_size_dynamic_sections): Handle global_entry alloc, + and don't stash end of glink branch table in rawsize. + (ppc_build_one_stub): Rewrite stub size calculations. + (build_global_entry_stubs): Use new section. + (ppc64_elf_build_stubs): Don't pad __glink_PLTresolve with nops. + Build lazy link stubs out to end of section. Build global entry + stubs in new section. + +2018-01-15 Nick Clifton + + * po/uk.po: Updated Ukranian translation. + +2018-01-13 Nick Clifton + + * po/bfd.pot: Regenerated. + +2018-01-13 Nick Clifton + + * version.m4: Bump version to 2.30.51 + * configure: Regenerate. + +2018-01-13 Nick Clifton + + 2.30 branch created. + +2018-01-12 Jens Widell + + * elf.c (setup_group): Optimize search for group by remembering + last found group and restarting search at that index. + * elf-bfd.h (struct elf_obj_tdata): Add group_search_offset field. + +2018-01-12 Gunther Nikl + + * aoutx.h (aout_link_check_ar_symbols): Remove default and handle + bfd_link_common_skip_none in switch. + +2018-01-12 Alan Modra + + PR ld/22649 + * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic + references on forced local symbols. + +2018-01-12 Vlad Ivanov + + * elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when + .reginfo section has wrong size. + +2018-01-11 H.J. Lu + + PR ld/22393 + * elf.c (_bfd_elf_map_sections_to_segments): When generating + separate code and read-only data LOAD segments, create a new + LOAD segment if the previous section contains text and the + current section doesn't or vice versa. Don't put a writable + section in a read-only segment if there is a RELRO segment. + +2018-01-11 H.J. Lu + + PR ld/22649 + * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic + references on forced local symbols. + +2018-01-11 H.J. Lu + + PR ld/22677 + * elflink.c (bfd_elf_gc_sections): Keep all PREINIT_ARRAY, + INIT_ARRAY as well as FINI_ARRAY sections for ld -r --gc-section. + +2018-01-09 Kuan-Lin Chen + + PR 22662 + * elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error. + +2018-01-03 John Baldwin + + * elf.c (elfcore_grok_freebsd_note): Handle + NT_FREEBSD_PROCSTAT_PROC, NT_FREEBSD_PROCSTAT_FILES, and + NT_FREEBSD_PROCSTAT_VMMAP. + +2018-01-03 Alan Modra + + Update year range in copyright notice of all files. + +For older changes see ChangeLog-2017 + +Copyright (C) 2018 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 3a251e9760..c2900e0b00 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,1550 +1,6 @@ -2018-12-14 H.J. Lu - - PR ld/23900 - * readelf.c (get_segment_type): Support PT_GNU_PROPERTY. - (decode_x86_isa): Don't check GNU_PROPERTY_X86_UINT32_VALID. - (decode_x86_feature_1): Likewise. - (decode_x86_feature_2): Likewise. - (print_gnu_property_note): Remove GNU_PROPERTY_X86_UINT32_VALID - check. - * testsuite/binutils-all/i386/empty.d: Updated. - * testsuite/binutils-all/x86-64/empty-x32.d: Likewise. - * testsuite/binutils-all/x86-64/empty.d: Likewise. - * testsuite/binutils-all/i386/pr21231b.s: Change - GNU_PROPERTY_X86_ISA_1_USED bits to 0x7fffffff. - * testsuite/binutils-all/x86-64/pr21231b.s: Likewise. - -2018-12-13 Sam Tebbs - - * dwarf.c (read_cie): Add check for 'B'. - -2018-12-11 Nick Clifton - - * NEWS: Note that recursion limit has increased to 2048. - * doc/binutils.texi: Likewise. - -2018-12-08 Alan Modra - - * strings.c (unget_part_char): New function. - (print_strings): Use unget_part_char. Formatting. - * testsuite/binutils-all/strings.exp (test_multibyte): Don't - use square brackets in fail message. Expect "String1\nString2". - -2018-12-07 Alan Modra - - * nm.c (display_rel_file): Use xrealloc to increase minisyms - for synthetic symbols. - -2018-12-07 Nick Clifton - - * addr2line.c (demangle_flags): New static variable. - (long_options): Add --recurse-limit and --no-recurse-limit. - (translate_address): Pass demangle_flags to bfd_demangle. - (main): Handle --recurse-limit and --no-recurse-limit options. - * cxxfilt.c: (long_options): Add --recurse-limit and - --no-recurse-limit. - (main): Handle new options. - * nm.c (demangle_flags): New static variable. - (long_options): Add --recurse-limit and --no-recurse-limit. - (main): Handle new options. - * objdump.c (demangle_flags): New static variable. - (usage): Add --recurse-limit and --no-recurse-limit. - (long_options): Likewise. - (objdump_print_symname): Pass demangle_flags to bfd_demangle. - (disassemble_section): Likewise. - (dump_dymbols): Likewise. - (main): Handle new options. - * prdbg.c (demangle_flags): New static variable. - (tg_variable): Pass demangle_flags to demangler. - (tg_start_function): Likewise. - * stabs.c (demangle_flags): New static variable. - (stab_demangle_template): Pass demangle_flags to demangler. - (stab_demangle_v3_argtypes): Likewise. - (stab_demangle_v3_arg): Likewise. - * doc/binutuls.texi: Document new command line options. - * NEWS: Mention the new feature. - * testsuite/config/default.exp (CXXFILT): Define if not already - defined. - (CXXFILTFLAGS): Likewise. - * testsuite/binutils-all/cxxfilt.exp: New file. Runs a few - simple tests of the cxxfilt program. - -2018-12-03 Nick Clifton - - PR 23941 - * testsuite/binutils-all/i386/compressed-1a.d: Update expected output. - * testsuite/binutils-all/x86-64/compressed-1a.d: Likewise. - -2018-12-01 Alan Modra - - PR 23946 - * readelf.c (slurp_ia64_unwind_table): Bounds check symbol index - on reloc. - (slurp_hppa_unwind_table): Likewise. - -2018-12-01 Alan Modra - - PR 23945 - * readelf.c (slurp_ia64_unwind_table): Don't call elf_ia64_reloc_type - needlessly. - (slurp_hppa_unwind_table): Use same range checks and error messages - as slurp_ia64_unwind_table. - -2018-11-29 Nick Clifton - - PR 23931 - * objdump.c (dump_relocs_in_section): When checking for an - unreasonable amount of relocs in a bfd, allow for the fact that - the internal representation of a reloc may be bigger than the - external representation. - -2018-11-27 Mark Wielaard - - PR binutils/23919 - * readelf.c (dump_sections_as_strings): Remove bogus addralign check. - (dump_sections_as_bytes): Likewise. - (load_specific_debug_sections): Likewise. - * testsuite/binutils-all/dw2-3.rS: Adjust alignment. - * testsuite/binutils-all/dw2-3.rt: Likewise. - -2018-11-20 H.J. Lu - - PR binutils/23898 - * testsuite/lib/binutils-common.exp (prune_warnings_extra): - Prune gaps in build notes. - -2018-11-13 Francois H. Theron - - * testsuite/binutils-all/nfp/test1.d: Test for swapped operand crc[]. - - -2018-11-09 Hafiz Abid Qadeer - - * configure: Regenerate. - -2018-11-09 Mathias - - * strings.c (print_strings): Check for multibyte encodings. - * binutils-all/strings-1.bin: New file. Test binary for string decoding. - * testsuite/binutils-all/strings.exp: New file. Test the strings program. - * testsuite/config/default.exp (STRINGS): Define if not provided - by the environment. - (STRINGSFLAGS): Likewise. - -2018-11-07 Masatake Yamato - - * objdump.c (long_options): Have the --disassemble option take an - optional argument. - (usage): Add description for the `symbol' argument to the - --disassemble option. - (disasm_sym): New file private variable. - (struct objdump_disasm_info): New field `symbol'. - (disassemble_section): Introduce `do_print' local variable - to control whether objdump displays the result of disassembling - for a symbol or not. - (main): Set `symbol' file private variable if the option argument - for the --disassemble option is given. - * doc/binutils.texi (objdump): Add description for the option - argument. - * NEWS: Mention the new feature. - * testsuite/binutils-all/objdump.exp: Add tests of the -d and - --disassemble= options. - * testsuite/binutils-all/bintest.s: Add more symbols and code. - * testsuite/binutils-all/readelf.s: Update expected output. - * testsuite/binutils-all/readelf.ss-64: Likewise. - * testsuite/binutils-all/readelf.ss-mips: Likewise. - * testsuite/binutils-all/readelf.ss-tmips: Likewise. - -2018-11-07 Nick Clifton - - * po/pt.po: Updated Portuguese translation. - -2018-11-06 Roman Bolshakov - Saagar Jha - - PR 23728 - * od-macho.c (printf_version): New. - (dump_load_command): Use it to print version. Print sdk version. Print - version info for watchOS and tvOS. Print LC_NOTE, LC_BUILD_VERSION. - (dump_buld_version): New. - (bfd_mach_o_platform_name): New - (bfd_mach_o_tool_name): New - -2018-11-07 Yoshinori Sato - - * testsuite/lib/binutils-common.exp: Special section name - use only rx-*-elf. - -2018-11-06 H.J. Lu - - * doc/binutils.texi: Document --enable-x86-feature and - --disable-x86-feature options for elfedit. - * elfedit.c: Include "config.h" and . - (enable_x86_features): New. - (disable_x86_features): Likewise. - (update_gnu_property): Likewise. - (elf_x86_feature): Likewise. - (process_file): Call update_gnu_property on ET_EXEC or ET_DYN - file. - (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and - OPTION_DISABLE_X86_FEATURE. - (options): Add--enable-x86-feature and --disable-x86-feature. - (usage): Likewise. - (main): Handle OPTION_ENABLE_X86_FEATURE and - OPTION_DISABLE_X86_FEATURE. - -2018-11-03 H.J. Lu - - * elfedit.c (update_elf_header): Move EI_MAG? check to ... - (get_file_header): Here. - -2018-11-02 H.J. Lu - - * configure.ac (AC_FUNC_MMAP): New. - * config.in: Regenerated. - * configure: Likewise. - -2018-11-02 Alan Modra - - * readelf.c (process_section_headers): Don't warn on a zero - sh_info or sh_link for any reloc section in an executable or - shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL. - -2018-11-01 Thomas Preud'homme - - * testsuite/config/default.exp: Define LD, LDFLAGS and - ld_elf_shared_opt. - * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved - from ld-lib.exp. - (run_dump_test): Set ld to $LD. - -2018-10-18 Nick Clifton - - * doc/binutils.texi (readelf): Document alternatives to the - --unwind option if it is not supported for the target - architecture. - -2018-10-16 Alan Modra - - PR 23780 - * readelf.c (display_raw_attribute): Correct assertion. - -2018-10-15 Alan Modra - - PR 23534 - * addr2line.c (main): Exit with fatal error if bfd_init - returns an unexpected value. - * ar.c (main): Likewise. - * dlltool.c (identify_dll_for_implib): Likewise. - * nm.c (main): Likewise. - * objcopy.c (main): Likewise. - * objdump.c (main): Likewise. - * size.c (main): Likewise. - * strings.c (main): Likewise. - * windmc.c (main): Likewise. - * windres.c (main): Likewise. - -2018-10-11 Jordan Rupprecht - Nick Clifton - - * objcopy.c (copy_main): Issue a fata error if the - --keep-global-symbol(s) and the --globalize-symbol(s) options are - used together. - * doc/binutils.texi: Document that the two options are - incompatible. - * testsuite/binutils-all/copy-5.d: New test. - * testsuite/binutils-all/objcopy.exp: Run the new test. - -2018-10-10 Helge Deller - Alan Modra - - * readelf.c (hppa_process_unwind): Don't use eh_addr_size to - calculate number of entries. - (slurp_hppa_unwind_table): Don't use eh_addr_size here either. - -2018-10-10 Alan Modra - - * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4. - -2018-10-08 Andreas Schwab - - * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL. - -2018-10-03 Nick Clifton - - * po/pt.po: Updated Portuguese translation. - * po/fr.po: Updated French translation. - -2018-09-22 Alan Modra - - * readelf.c (apply_relocations): Don't return FALSE for warnings. - -2018-09-20 Nelson Chu - - * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number - from 215 to 255 for NDS32. - -2018-09-17 H.J. Lu - - * objcopy.c (strip_specific_buffer): New. - (strip_unneeded_buffer): Likewise. - (keep_specific_buffer): Likewise. - (localize_specific_buffer): Likewise. - (globalize_specific_buffer): Likewise. - (keepglobal_specific_buffer): Likewise. - (weaken_specific_buffer): Likewise. - (add_specific_symbols): Add an argument to return pointer to - allocated buffer. - (copy_main): Update add_specific_symbols to update pointers to - allocated buffer. Free pointers to allocated buffer before - return. - -2018-09-17 Alan Modra - - * objcopy.c (handle_remove_section_option): Don't require a dot - after .rela and .rel to handle a possible relocation section. - * testsuite/binutils-all/remove-relocs-07.s, - * testsuite/binutils-all/remove-relocs-07.d, - * testsuite/binutils-all/remove-relocs-08.d: New tests. - * testsuite/binutils-all/remove-relocs-01.d, - * testsuite/binutils-all/remove-relocs-04.d, - * testsuite/binutils-all/remove-relocs-05.d, - * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd. - -2018-09-17 Alan Modra - - * testsuite/lib/binutils-common.exp (is_som_format): New proc. - (run_dump_test): Correct target test for alternate .comm syntax. - (get_standard_section_names): Handle som format. - * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags): - Correct target test for alternate .comm syntax. - -2018-09-17 Alan Modra - - * testsuite/binutils-all/strip-13mips64.s: Add section flags - for reloc section. - * testsuite/binutils-all/strip-13rel.s: Likewise. - * testsuite/binutils-all/strip-13rela.s: Likewise. - * testsuite/binutils-all/strip-14mips64.s: Likewise. - * testsuite/binutils-all/strip-14rel.s: Likewise. - * testsuite/binutils-all/strip-14rela.s: Likewise. - * testsuite/binutils-all/strip-15mips64.s: Likewise. - * testsuite/binutils-all/strip-15rel.s: Likewise. - * testsuite/binutils-all/strip-15rela.s: Likewise. - -2018-09-17 Nick Clifton - - * testsuite/binutils-all/compress.exp: Rename second "objcopy - zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi - compress debug sections 3" and use gabi object files instead - of gnu object files. - * testsuite/binutils-all/objcopy.exp: Add suffix to the names - of the "ELF group" tests. - * testsuite/binutils-all/readelf.exp (proc readelf_find_size): - Add an iteration parameter and include it in the name of the - test. Update callers to include an iteration count. - -2018-09-15 Alan Modra - - * testsuite/binutils-all/add-symbol.d: Add "section_subst: no". - * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile. - * testsuite/binutils-all/symbols-1.d, - * testsuite/binutils-all/symbols-2.d, - * testsuite/binutils-all/symbols-3.d, - * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'. - * testsuite/binutils-all/add-empty-section.d, - * testsuite/binutils-all/add-section.d, - * testsuite/binutils-all/elfedit.exp, - * testsuite/binutils-all/note-1.d, - * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir. - * testsuite/config/default.exp (AS, ASFLAGS): Define. - * testsuite/config/hppa.sed: Handle all common symbols. - * testsuite/lib/binutils-common.exp (run_dump_test): New proc, - merged from three other versions. - (slurp_options, file_contents, set_file_contents): Likewise. - (big_or_little_endian, get_standard_section_names): Likewise. - * testsuite/lib/utils-lib.exp (run_dump_test): Delete. - (slurp_options, proc file_contents): Delete. - (get_standard_section_names): Delete. - -2018-09-15 Alan Modra - - * testsuite/binutils-all/copy-2.d, - * testsuite/binutils-all/copy-3.d, - * testsuite/binutils-all/copy-4.d, - * testsuite/binutils-all/elfedit-1.d, - * testsuite/binutils-all/note-1.d, - * testsuite/binutils-all/note-2-64.d, - * testsuite/binutils-all/strip-11.d, - * testsuite/binutils-all/strip-13.d, - * testsuite/binutils-all/strip-14.d, - * testsuite/binutils-all/testranges.d, - * testsuite/binutils-all/x86-64/pr23494a-x32.d, - * testsuite/binutils-all/x86-64/pr23494a.d, - * testsuite/binutils-all/x86-64/pr23494b-x32.d, - * testsuite/binutils-all/x86-64/pr23494b.d, - * testsuite/binutils-all/x86-64/pr23494c-x32.d, - * testsuite/binutils-all/x86-64/pr23494c.d, - * testsuite/binutils-all/x86-64/pr23494d-x32.d, - * testsuite/binutils-all/x86-64/pr23494d.d, - * testsuite/binutils-all/x86-64/pr23494e-x32.d, - * testsuite/binutils-all/x86-64/pr23494e.d, - * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target - and not-skip with notarget and noskip. - -2018-09-15 Alan Modra - - * testsuite/binutils-all/group-7a.d, - * testsuite/binutils-all/group-7b.d, - * testsuite/binutils-all/group-7c.d, - * testsuite/binutils-all/symbols-1.d, - * testsuite/binutils-all/symbols-2.d, - * testsuite/binutils-all/symbols-3.d, - * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG. - -2018-09-14 Alan Modra - - PR binutils/23633 - * testsuite/binutils-all/pr23633.d: Don't fail when assembler - generates sections other than .text. - -2018-09-13 H.J. Lu - - PR binutils/23633 - * testsuite/binutils-all/objcopy.exp: Run pr23633. - * testsuite/binutils-all/pr23633.d: New file. - * testsuite/binutils-all/pr23633.list: Likewise. - * testsuite/binutils-all/pr23633.s: Likewise. - -2018-09-13 Nick Clifton - - PR 23633 - * objcopy.c (add_specific_symbols): Do not free the buffer at the - end of the function. - -2018-09-10 Alan Modra - - PR binutils/23611 - * objcopy.c (handle_remove_section_option): Consider .rela and - .rel sections for stripping directly as well as attached to the - associated section they relocate. - * doc/binutils.texi (remove-relocations): Specify that this - option removes non-dynamic relocation sections. - * testsuite/binutils-all/objcopy.exp - (objcopy_remove_relocations_from_executable): New test. - -2018-09-03 Nick Clifton - - * po/ja.po: Updated Japanese translation. - -2018-08-31 H.J. Lu - - * testsuite/binutils-all/readelf.s-64: Adjusted for - .note.gnu.property section. - * testsuite/binutils-all/strip-3.d: Also strip - .note.gnu.property section. - -2018-08-31 H.J. Lu - - * testsuite/binutils-all/i386/compressed-1b.d: Pass - -mx86-used-note=no to assembler. - * testsuite/binutils-all/i386/compressed-1c.d: Likewise. - * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise. - * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise. - * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes - to assembler and update expected output from "readelf -n". - * testsuite/binutils-all/i386/ibt.d: Likewise. - * testsuite/binutils-all/i386/pr21231a.d: Likewise. - * testsuite/binutils-all/i386/pr21231b.d: Likewise. - * testsuite/binutils-all/i386/shstk.d: Likewise. - * testsuite/binutils-all/x86-64/empty-x32.d: Likewise. - * testsuite/binutils-all/x86-64/empty.d: Likewise. - * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise. - * testsuite/binutils-all/x86-64/ibt.d: Likewise. - * testsuite/binutils-all/x86-64/pr21231a.d: Likewise. - * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494b.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494e.d: Likewise. - * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise. - * testsuite/binutils-all/x86-64/shstk.d: Likewise. - -2018-08-30 H.J. Lu - - * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and - SHT_PREINIT_ARRAY as relocatable sections. - -2018-08-30 Chenghua Xu - - * MAINTAINERS: Add myself as a MIPS port maintainer. - -2018-08-29 Chenghua Xu - - * NEWS: Mention Loongson 2K1000 proccessor support. - * readelf.c (get_machine_flags): Handle gs264e. - -2018-08-29 Chenghua Xu - - * NEWS: Mention Loongson 3A2000/3A3000 proccessor support. - * readelf.c (get_machine_flags): Handle gs464e. - -2018-08-29 Chenghua Xu - - * NEWS: Mention Loongson 3A1000 proccessor support. - * readelf.c (get_machine_flags): Rename loongson-3a to gs464. - (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A. - -2018-08-29 Chenghua Xu - - * readelf.c (print_mips_ases): Add Loongson EXT2 extension. - -2018-08-29 Chenghua Xu - - * readelf.c (print_mips_ases): Add Loongson EXT extension. - -2018-08-29 Chenghua Xu - - * readelf.c (print_mips_ases): Add CAM extension. - -2018-08-27 H.J. Lu - - * readelf.c (decode_x86_isa): Print if bitmask only - contains the GNU_PROPERTY_X86_UINT32_VALID bit. - (decode_x86_feature_1): Likewise. - (decode_x86_feature_2): Likewise. - (print_gnu_property_note): Don't mask out the - GNU_PROPERTY_X86_UINT32_VALID bit. - * testsuite/binutils-all/i386/pr21231b.d: Updated. - * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. - -2018-08-27 H.J. Lu - - * readelf.c (decode_x86_compat_isa): Break multi-statement line. - (decode_x86_isa): Likewise. - (decode_x86_feature_2): Likewise. - -2018-08-25 H.J. Lu - - PR ld/23499 - * readelf.c (get_symbol_version_string): Return _("") - for corrupt symbol version info. - -2018-08-24 H.J. Lu - - * readelf.c (decode_x86_compat_isa): New function. - (decode_x86_feature_2): Likewise. - (decode_x86_isa): Updated for new X86_ISA_1_XXX bits. - (decode_x86_feature): Renamed to ... - (decode_x86_feature_1): This. Remove the type argument. - (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED, - X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI, - X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and - X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED - and X86_FEATURE_1_AND. - * testsuite/binutils-all/i386/pr21231b.s: Updated to the current - GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED - values. - * testsuite/binutils-all/x86-64/pr21231b.s: Likewise. - * testsuite/binutils-all/x86-64/pr23494a.s: Likewise. - * testsuite/binutils-all/x86-64/pr23494b.s: Likewise. - * testsuite/binutils-all/x86-64/pr23494c.s: Likewise. - * testsuite/binutils-all/i386/pr21231b.d: Updated. - * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494e.d: Likewise. - -2018-08-24 H.J. Lu - - * readelf.c (print_gnu_property_note): Check the - GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note. - -2018-08-23 Alan Modra - - * readelf.c (get_ppc64_symbol_other): Return NULL if st_other - field contains unrecognised or reserved values. Handle - localentry:1 value. - -2018-08-23 H.J. Lu - - PR ld/23536 - * Makefile.am (development.exp): New target. - (EXTRA_DEJAGNU_SITE_CONFIG): New. - (DISTCLEANFILES): Add development.exp. - * Makefile.in: Regenerated. - * testsuite/binutils-all/objcopy.exp (strip_test): Call - prune_warnings to prune BFD output. - (strip_test_with_saving_a_symbol): Likewise. - (objcopy_test_without_global_symbol): Likewise. - * testsuite/lib/binutils-common.exp (prune_warnings_extra): - New proc. - (prune_warnings): Likewise. - -2018-08-23 H.J. Lu - - * README-how-to-make-a-release: Document setting "experimental" - to false. - -2018-08-22 Alan Modra - - * readelf.c (process_file_header): Assign updated values from - section_header[0] fields to e_phnum, e_shnum and e_shstrndx - during printing of header. Correct e_shstrndx range check. - Remove unnecessary casts and use %u rather than %ld for - unsigned int header fields. Don't print a random %lx when - reporting an unknown EI_VERSION. - -2018-08-21 Nick Clifton - - * MAINTAINERS: Note that Arnold Metselaar has retired as the z80 - maintainer. - -2018-08-21 L. Simon - - PR 23531 - * readelf.c (hppa_process_unwind): Only dump the unwind table if - the data was successfully read in. - -2018-08-18 Alan Modra - - * testsuite/lib/binutils-common.exp (is_elf64): Use directory of - input file for readelf.out. - (is_rela): New proc. - * testsuite/binutils-all/objcopy.exp (elf64): Set new variable - from first result of is_elf64 test. - (reloc_format): Set using is_rela. - (strip-13): Pass RELOC and ELF64 to assembler. - (strip-14, strip-15): Use elf64 rather than calling is_elf64 again. - * testsuite/binutils-all/strip-13.d: Run for more targets. - * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set - addend to zero. - * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64. - Don't add _NONE reloc. - * testsuite/binutils-all/strip-13rela.s: Likewise. - -2018-08-10 H.J. Lu - - PR binutils/23494 - * testsuite/binutils-all/x86-64/pr23494c.s: New file. - * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494e.d: Likewise. - -2018-08-10 H.J. Lu - - * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl - targets. - * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494b.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. - -2018-08-08 H.J. Lu - - PR binutils/23494 - * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file. - * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494a.s: Likewise. - * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494b.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494b.s: Likewise. - * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. - * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. - -2018-08-08 Kevin Buettner - - * dwarf.c (decode_location_expresion): Add case for - DW_OP_GNU_variable_value. - -2018-08-06 Claudiu Zissulescu - - * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version. - -2018-08-03 Nick Clifton - - * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge - identical function notes. - -2018-08-01 Nick Clifton - - * README-how-to-make-a-release: Add note about regenerating the - info files prior to the release. - -2018-07-30 Andrew Jenner - - * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer. - -2018-07-30 Andrew Jenner - - * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer. - -2018-07-30 Andrew Jenner - - * readelf.c: Include elf/csky.h. - (guess_is_rela): Handle EM_CSKY. - (dump_relocations): Likewise. - (get_machine_name): Likewise. - (is_32bit_abs_reloc): Likewise. - -2018-07-25 Nick Clifton - - * rdcoff.c (parse_coff_struct_type): Free fields array upon early - exit. - (parse_coff_enum_type): Free names and vals arrays upon early - exit. - * rddbg.c (read_section_stabs_debugging_info): Free shandle and - strings and stabs arrays upon early exit. - * readelf.c (get_32bit_section_headers): Free shdrs structure upon - early exit. - (get_64bit_section_headers): Likewise. - (get_32bit_elf_symbols): Generate an error if multiple symbol - table index sections are associated with the same symbol section. - (get_64bit_elf_symbols): Likewise. - (process_dynamic_section): Generate an error if there are multiple - dynamic symbol table sections, multiple dynamic string tables or - multiple dynamic symbol information sections. - -2018-07-24 Nick Clifton - - * po/sv.po: Updated Swedish translation. - -2018-07-24 Alan Modra - - PR 23431 - * dwarf.c (display_formatted_table): Replace "what" parameter - with "is_dir". Expand messages. Fix capitalisation. - * testsuite/binutils-all/dw5.W: Update expected output. - -2018-07-24 Alan Modra - - PR 23430 - * elfcomm.h (struct archive_info): Rename uses_64bit_indicies - to uses_64bit_indices. - * elfcomm.c (setup_archive): Update uses of above. - * readelf.c (process_archive): Likewise. - (get_section_type_name): Rename indicies to indices. - (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise. - (process_section_groups): Likewise. - -2018-07-20 Maciej W. Rozycki - - * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV - ISA maintenance. - -2018-07-20 Nick Clifton - - * objcopy.c (add_specific_symbols): Free buffer on exit. - (add_redefine_syms_file): Close file handle on exit. - (copy_object): Close file handle on early exit. - Free buffer on early exit. - Free gaps buffers once they are no longer needed. - * dwarf.c (display_debug_frames): Free allocated memory on exit. - (load_separate_debug_info): Free allocate memory on early exit. - -2018-07-20 Chenghua Xu - Maciej W. Rozycki - - * readelf.c (print_mips_ases): Add MMI extension. - -2018-07-19 DJ Delorie - - * MAINTAINERS (RL78, RX): Remove myself as maintainer. - -2018-07-19 Nick Clifton - - * dwarf.c (read_cie): Free allocated memory before returning with - a failure result. - -2018-07-16 Pedro Franco de Carvalho - - * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note - description. - -2018-07-16 Nick Clifton - - * README-how-to-make-a-release: Add note to check for new top - level files and add them to the src-release.sh script. - -2018-07-14 Nick Clifton - - * README-how-to-make-a-release: Updated with corrections based on - the 2.31 release experience. - -2018-07-12 Francois H. Theron - - * readelf.c (process_section_headers): Don't print section type - twice for --section-details. - -2018-07-10 Alan Modra - - * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return - zero for xgate. - -2018-07-06 Nick Clifton - - * readelf.c (same_section): New function. - (print_gnu_build_attribute_description): Do not complain about - gaps that cross a section boundary. - -2018-07-05 Nick Clifton - - * po/bg.po: Updated Bulgarian translation. - -2018-07-02 Thomas Preud'homme - - * NEWS: Use command-line consistently when used in a compount word. - * doc/binutils.texi: Likewise and fix trailing whitespace on same - line. - -2018-06-26 Nick Clifton - - * po/sv.po: Updated Swedish translation. - * po/uk.po: Updated Ukranian translation. - -2018-06-26 Nick Clifton - - * doc/binutils.texi: Fix spelling mistakes. - * README--how-to-make-a-release: Likewise. - -2018-06-25 Tom Tromey - - * dwarf-mode.el (dwarf-mode-syntax-table): New variable. - Bump version number. - -2018-06-24 Nick Clifton - - * README-how-to-make-a-release: Update with experiences from - making 2.31 branch. - * po/binutils.pot: Regenerate. - * configure: Regenerate. - -2018-06-24 Nick Clifton - - 2.31 branch created. - * NEWS: Add marker for 2.31. - -2018-06-21 Alan Modra - - * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign". - * doc/Makefile.in: Regenerate. - -2018-06-19 Simon Marchi - - * configure.ac: Remove AC_PREREQ. - * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add - info-in-builddir no-texinfo.tex. - * Makefile.in: Re-generate. - * aclocal.m4: Re-generate. - * config.in: Re-generate. - * configure: Re-generate. - * doc/Makefile.in: Re-generate. - -2018-06-19 Andreas Schwab - - * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16. - (is_8bit_abs_reloc): New function. - (is_6bit_abs_reloc): New function. - (is_6bit_inplace_sub_reloc): New function. - (apply_relocations): Use them. Handle 6-bit relocations. - -2018-06-14 Faraz Shahbazker - - * readelf.c (print_mips_ases): Add GINV extension. - -2018-06-14 H.J. Lu - - PR binutils/23267 - * readelf.c (get_symbol_version_string): Check if the first - symbol version is base version. - -2018-06-13 Scott Egerton - Faraz Shahbazker - - * readelf.c (print_mips_ases): Add CRC. - -2018-06-13 Nick Clifton - - * doc/binutils.texi (objdump): Add missing closing square - parenthesis to listing of objcopy's command line options. - -2018-06-11 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2018-06-01 H.J. Lu - - * configure: Regenerated. - -2018-05-31 Alan Modra - - * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't - set CC_FOR_TARGET. Run test non-native. - * testsuite/binutils-all/objdump.exp (test_build_id_debuglink): - Likewise. - (test_follow_debuglink): Run test non-native. - -2018-05-30 Ant Bikeneev - - PR 23107 - * ar.c (display_offsets): New variable. - (usage): Add description of 'O' operator. - (decode_option): Handle 'O' operator. - (print_descr): Pass display_offsets to print_arelt_descr. - * arsup.c: Update call to printy_arelt_descr. - * objdump.c: Likewise. - * bucomm.c (print_arelt_descr): If offsets parameter is true then - display offset of archive element within the archive. - * bucomm.h: Update prototype for print_arelt_descr. - * doc/binutils.texi: Update description of ar command. - * NEWS: Mention the new feature. - * testsuite/binutils-all/ar.exp: Add text of new feature. - -2018-05-28 Alan Modra - - PR 23235 - * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return - unsupported rather than fail on compile errors. - * testsuite/binutils-all/objdump.exp (test_build_id_debuglink): - Likewise. Save and restore CFLAGS_FOR_TARGET. - -2018-05-18 Kito Cheng - - * readelf.c (get_machine_flags): Handle EF_RISCV_RVE. - -2018-05-18 John Darrington - - * readelf.c: Add support for s12z architecture. - * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z - targets. - -2018-05-15 Tamar Christina - - PR binutils/21446 - * doc/binutils.texi (-M): Document AArch64 options. - -2018-05-15 Tamar Christina - - PR binutils/21446 - * doc/binutils.texi (-M): Document AArch64 options. - * NEWS: Document notes and warnings. - -2018-05-15 Alan Modra - - * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus, - cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*, - and *uclinux* into *linux*. - * testsuite/binutils-all/objcopy.exp: Accept armeb for rel - strip-13 test, exclude arm-vxworks and arm-windiss. - -2018-05-10 John Darrington - - * readelf.c (get_machine_name): EM_S12Z - handle new case. - -2018-05-09 Alan Modra - - * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch. - -2018-05-09 Sebastian Rasmussen - - * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming. - -2018-05-08 Alan Modra - - PR 23141 - * objcopy.c (is_strip_section): Strip groups without a valid - signature symbol. - -2018-05-07 Alan Modra - - PR 23142 - * objcopy.c (group_signature): Don't accept groups that use a - symbol table other than the one we've read. - -2018-04-30 Francois H. Theron - - * readelf.c: Very basic support for EM_NFP and its section types. - * testsuite/binutils-all/nfp: New directory. - * testsuite/binutils-all/nfp/objdump.exp: New file. Run new - tests. - * testsuite/binutils-all/nfp/test2_ctx8.d: New file. - * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file. - * testsuite/binutils-all/nfp/test1.d: New file. - * testsuite/binutils-all/nfp/nfp6000.nffw: New file. - * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file. - * NEWS: Mention the new support. - -2018-04-27 Maciej W. Rozycki - - * testsuite/lib/binutils-common.exp (match_target): New procedure. - * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place - of `istarget' for matching with `target', `not-target', `skip' - and `not-skip' options. - -2018-04-26 Nick Clifton - - * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a - 32-bit absolute reloc for the HPPA target. - * testsuite/binutils-all/note-5.d: New test. - * testsuite/binutils-all/note-5.s: Source file for new test. - * testsuite/binutils-all/objcopy.exp: Run new test. - -2018-04-25 Christophe Lyon - - * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi. - * testsuite/binutils-all/elfedit-3.d: Likewise. - * testsuite/binutils-all/objcopy.exp: Likewise. - * testsuite/binutils-all/strip-3.d: Likewise. - * testsuite/lib/binutils-common.exp: Likewise. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC. - (get_osabi_name): Support ELFOSABI_ARM_FDPIC. - -2018-04-25 Alan Modra - - * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and - arm-coff support. - * testsuite/binutils-all/objcopy.exp: Likewise. - * testsuite/lib/binutils-common.exp: Likewise. - -2018-04-18 Nick Clifton - - PR 23062 - * dwarf.c (read_and_display_attr_value): Replace assertions with - test and warning message. - -2018-04-18 Alan Modra - - * testsuite/lib/binutils-common.exp: Remove support for assorted - aout targets. - -2018-04-17 Nick Clifton - - PR 23063 - * readelf.c (print_symbol): If the width is zero, return straight - away. - - PR 23064 - * dwarf.c (process_cu_tu_index): Test for a potential buffer - overrun before copying signature pointer. - -2018-04-17 Alan Modra - - * readelf.c: Revert 2018-04-16 and 2018-04-11 changes. - -2018-04-16 Alan Modra - - * readelf.c (get_machine_name): Correct typo. - -2018-04-16 Alan Modra - - * configure.ac: Remove arm-epoc-pe support. - * dlltool.c: Likewise. - * configure: Regenerate. - -2018-04-16 Alan Modra - - * testsuite/lib/binutils-common.exp: Remove sparc-aout and - sparc-coff support. - -2018-04-16 Alan Modra - - * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff - support. - * testsuite/binutils-all/copy-3.d: Likewise. - * testsuite/binutils-all/objcopy.exp: Likewise. - * testsuite/lib/binutils-common.exp: Likewise. - -2018-04-16 Alan Modra - - * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support. - -2018-04-16 Alan Modra - - * testsuite/binutils-all/objcopy.exp: Remove w65 support. - -2018-04-16 Alan Modra - - * testsuite/binutils-all/objdump.exp: Remove we32k support. - -2018-04-16 Alan Modra - - * MAINTAINERS (Mark Kettenis): Move to past maintainers. - * testsuite/binutils-all/objdump.exp: Remove m88k support. - -2018-04-16 Alan Modra - - * readelf.c: Remove i370 support. - * testsuite/binutils-all/objdump.exp: Likewise. - -2018-04-16 Alan Modra - - * testsuite/binutils-all/objcopy.exp: Remove h8500 support. - * testsuite/lib/binutils-common.exp: Likewise. - -2018-04-16 Alan Modra - - * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support. - -2018-04-16 Alan Modra - - * Makefile.am: Remove IEEE 695 support. - * budbg.h: Likewise. - * doc/binutils.texi: Likewise. - * makefile.vms: Likewise. - * objcopy.c: Likewise. - * objdump.c: Likewise. - * rddbg.c: Likewise. - * ieee.c: Delete. - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * testsuite/binutils-all/copy-2.d: Remove newsos3 support. - * testsuite/binutils-all/nm.exp: Likewise. - -2018-04-16 Alan Modra - - * .gitignore: Remove netware support. - * Makefile.am: Likewise. - * configure.ac: Likewise. - * doc/Makefile.am: Likewise. - * doc/binutils.texi: Likewise. - * testsuite/binutils-all/nm.exp: Likewise. - * nlmconv.c: Delete. - * nlmconv.h: Delete. - * nlmheader.y: Delete. - * Makefile.in: Regenerate. - * configure: Regenerate. - * doc/Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * testsuite/binutils-all/objdump.exp: Remove tahoe support. - -2018-04-14 Alan Modra - - * readelf.c (get_machine_name): Revert 2018-04-11 change. - -2018-04-12 Nick Clifton - - PR 23050 - * readelf.c (process_dynamic_section): Correct dynamic string - table size calculation. - -2018-04-11 Alan Modra - - * ieee.c: Remove i960 support. - * od-macho.c: Remove i860 support. - * readelf.c: Remove i860 and i960 support. - * testsuite/binutils-all/objcopy.exp: Likewise. - * testsuite/binutils-all/objdump.exp: Likewise. - * testsuite/lib/binutils-common.exp: Likewise. - -2018-04-11 Maciej W. Rozycki - - * testsuite/lib/binutils-common.exp (is_elf_format): Also return - 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets. - -2018-04-10 Alan Modra - - * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose - reloc=11 for pru and reloc=50 for nds32. - * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number. - -2018-04-09 Maciej W. Rozycki - - * testsuite/binutils-all/strip-15.d: New test. - * testsuite/binutils-all/strip-15rel.s: New test source. - * testsuite/binutils-all/strip-15rela.s: New test source. - * testsuite/binutils-all/strip-15mips64.s: New test source. - * testsuite/binutils-all/objcopy.exp: Run the new test. - -2018-04-09 Maciej W. Rozycki - - * testsuite/binutils-all/strip-14.d: New test. - * testsuite/binutils-all/strip-14rel.s: New test source. - * testsuite/binutils-all/strip-14rela.s: New test source. - * testsuite/binutils-all/strip-14mips64.s: New test source. - * testsuite/binutils-all/objcopy.exp: Run the new test. - -2018-04-06 Tom Tromey - - * dwarf.c (read_and_display_attr_value): Add missing DW_LANG - constants from DWARF 5. - -2018-04-05 H.J. Lu - - PR gas/22318 - * configure: Regenerated. - -2018-04-05 Maciej W. Rozycki - - * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather - than `.dc.w' in second relocation. - -2018-04-05 Maciej W. Rozycki - - * testsuite/binutils-all/strip-13.d: Also expect `unsupported - relocation type 0x8f' error message. - -2018-04-05 Maciej W. Rozycki - - * testsuite/binutils-all/strip-13.s: Rename to... - * testsuite/binutils-all/strip-13rela.s: ... this. - * testsuite/binutils-all/strip-13rel.s: New test source. - * testsuite/binutils-all/strip-13mips64.s: New test source. - * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*', - `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and - `m68hc11-*' to `not-target' list. - * testsuite/binutils-all/objcopy.exp: Switch between sources for - `strip-13'. - -2018-04-05 Maciej W. Rozycki - - * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than - 241 (0xf1) for the relocation number and RELA addend. - * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the - `not-target' list. - -2018-04-04 John David Anglin - - * MAINTAINERS: Update my e-mail address. - -2018-04-04 Nick Clifton - - * MAINTAINERS: Move Jason Eckhardt to past maintainers section. - -2018-03-23 Nick Clifton - - * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping - symbols. - (print_gnu_build_attribute_description): If no file start symbol - could be found, look for one two bytes into the file. - * testsuite/binutils-all/note-4-64.s: Set the address of the file - start symbol to two bytes into the file. - * testsuite/binutils-all/note-4-32.s: Likewise. - -2018-03-21 H.J. Lu - - * readelf.c (process_dynamic_section): Also dump DF_1_KMOD, - DF_1_WEAKFILTER and DF_1_NOCOMMON. - -2018-03-20 Nick Clifton - - * po/es.po: Updated Spanish translation. - * po/ru.po: Updated Russian translation. - -2018-03-13 Nick Clifton - - PR 22957 - * stabs.c (pop_binincl): Fail if the file index is off the end of - the stack. - -2018-03-13 Nick Clifton - - PR 22955 - * stabs.c (parse_number): Add p_end parameter and use it to check - the validity of the pp parameter. Add checks to prevent walking - off the end of the string buffer. - (parse_stab_string): Likewise. - (parse_stab_type): Likewise. - (parse_stab_type_number): Likewise. - (parse_stab_range_type): Likewise. - (parse_stab_sun_builtin_type): Likewise. - (parse_stab_sun_floating_type): Likewise. - (parse_stab_enum_type): Likewise. - (parse_stab_struct_type): Likewise. - (parse_stab_baseclasses): Likewise. - (parse_stab_struct_fields): Likewise. - (parse_stab_cpp_abbrev): Likewise. - (parse_stab_one_struct_field): Likewise. - (parse_stab_members): Likewise. - (parse_stab_tilde_field): Likewise. - (parse_stab_array_type): Likewise. - - * parse_stab: Compute the end of the string and then pass it on to - individual parser functions. - -2018-03-07 Paul Pluzhnikov - - PR binutils/22923 - * binutils/readelf.c (get_ver_flags): Expand buffer to avoid - overflow. - -2018-03-07 Alan Modra - - * configure.ac: Add objdump_private_desc_xcoff for rs6000. - * configure: Regenerate. - -2018-03-05 H.J. Lu - - PR binutils/22911 - * objdump.c (is_significant_symbol_name): Return TRUE for all - .plt* sections. - (find_symbol_for_address): Replace linear search with binary - search on dynamic relocations. - -2018-03-01 Nick Clifton - - PR 22905 - * dwarf.c (display_debug_ranges): Check that the offset loaded - from the range_entry structure is valid. - -2018-03-01 Alan Modra - - * configure.ac (ALL_LINGUAS): Add sr. Sort. - * configure: Regenerate. - -2018-02-27 Nick Clifton - - * po/pt.po: New Portuguese translation. - * configure.ac (ALL_LINGUAS): Add pt. - * configure: Regenerate. - -2018-02-27 Nick Clifton - - PR 22875 - * objcopy.c (copy_object): Check the error status after marking - symbols used in relocations. - * testsuite/binutils-all/strip-13.s: New test source file. - * testsuite/binutils-all/strip-13.s: New test driver file. - * testsuite/binutils-all/objcopy.exp: Run the new test. - -2018-02-26 Alan Modra - - * testsuite/binutils-all/mips/mips-reginfo-n32.d, - * testsuite/binutils-all/mips/mips-reginfo.d: Update. - -2018-02-23 Alan Modra - - * testsuite/binutils-all/mips/mips-reginfo-n32.d, - * testsuite/binutils-all/mips/mips-reginfo.d: Update. - -2018-02-20 Ronald Hoogenboom - - * doc/binutils.texi (objcopy): Add missing closing square - parenthesis to listing of objcopy's command line options. - -2018-02-19 Matthias Klose - - * strings.c (long_options): Include-all-whitespace does not take - an extra agument. - -2018-02-13 Alan Modra - - PR 22836 - * testsuite/binutils-all/group-7.s, - * testsuite/binutils-all/group-7a.d, - * testsuite/binutils-all/group-7b.d, - * testsuite/binutils-all/group-7c.d: New tests. - * testsuite/binutils-all/objcopy.exp: Run them. - -2018-02-08 Nick Clifton - - PR 22802 - * dwarf.c (load_separate_debug_file): Return early if the user is - not interested in debug links. - -2018-02-06 Nick Clifton - - PR 22793 - * readelf.c (find_section): Replace assertion with test and return - of NULL. - (find_section_by_address): Add test of section header table - existance. - (find_section_by_type): Likewise. - (find_section_in_set): Likewise. - -2018-02-05 Maciej W. Rozycki - - * testsuite/binutils-all/mips/mips-reginfo.d: New test. - * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test. - * testsuite/binutils-all/mips/mips-reginfo.s: New test source. - * testsuite/binutils-all/mips/mips.exp: Run the new tests. - -2018-02-05 Maciej W. Rozycki - - * testsuite/config/default.exp (binutils_run): Document - `binutils_run_status'. - * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise, - and set it. - (run_dump_test): Add `error', `error_output', `warning' and - `warning_output' options. Update documentation accordingly. - -2018-02-02 Andrew Burgess - - * dwarf.c (dwarf_regnames_riscv): New register name table. - (init_dwarf_regnames_riscv): New function. - (init_dwarf_regnames): Add call to initialise RiscV register - names. - * dwarf.h (init_dwarf_regnames_riscv): Declare. - * objdump.c (dump_dwarf): Add call to initialise RiscV register - names. - -2018-02-01 Alan Modra - - PR 22769 - * objdump.c (load_specific_debug_section): Check for overflow - when adding one to section size for a string section terminator. - -2018-01-30 Nick Clifton - - PR 22734 - * doc/binutils.texi (nm): Update description to point out that - zero-initialized values can also be shown as type B, b, S or s - since they can be stored in the BSS section. - -2018-01-30 Alan Modra - - * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as - "artificially large" end address. - -2018-01-28 Nick Clifton - - * README-how-to-make-a-release: Add note about checking gpg key - and the results of gnupload. - -2018-01-27 Nick Clifton - - * README-how-to-make-a-release: Add details on how to actually - make the release. - -2018-01-26 Nick Clifton - - * README-how-to-make-a-release: Add more details on updating - version numbers. - -2018-01-22 Maciej W. Rozycki - - * doc/binutils.texi (objcopy): Fix a typo in `--rename-section' - option description. - -2018-01-22 Maciej W. Rozycki - - * MAINTAINERS: Update my company e-mail address. - -2018-01-22 Nick Clifton - - * po/sv.po: Updated Swedish translation. - -2018-01-18 Nick Clifton - - * po/bg.po: Updated Bulgarian translation. - -2018-01-16 Joel Brobecker - - * README-how-to-make-a-release: Add reminder to update the - branch name in gdbadmin's crontab on sourceware. - -2018-01-16 Joel Brobecker - - * README-how-to-make-a-release: Remove trailing spaces. - -2018-01-16 Nick Clifton - - * po/fr.po: Updated French translation. - -2018-01-15 Nick Clifton - - * po/uk.po: Updated Ukranian translation. - -2018-01-13 Nick Clifton - - * README-how-to-make-a-release: Update notes. - * po/binutils.pot: Regenerated. - -2018-01-13 Nick Clifton - - * configure: Regenerate. - -2018-01-13 Nick Clifton - - 2.30 branch created. - * NEWS: Add marker for 2.30. - -2018-01-12 Nick Clifton - - * README-how-to-make-a-release: Add notes on how to make the - branch and prelease snapshot. - * BRANCHES: Add binutils-2_29-branch. - -2018-01-10 Nick Clifton - - * MAINTAINERS: Note that it is now the configure.ac file and not - the configure.in file that needs to be kept in sync with gcc. - Add a note about sending patches for libiberty to gcc. - -2018-01-03 Nick Clifton - - * objcopy.c (merge_gnu_build_notes): Add cast to maximum address - constants. - -2018-01-03 Nick Clifton - - * objcopy.c (objcopy_internal_note): New structure. - (gap_exists): New function. - (is_open_note): New function. - (is_func_note): New function. - (is_64bit): New function. - (merge_gnu_build_notes): Handle v3 notes. Do not merge - if there are relocations against the notes. - * readelf.c (get_note_type): Use short names for build attribute - notes. - (print_symbol_for_build_attribute): Rename to - get_symbol_for_build_attribute. Returns the found symbol rather - than printing it. - (print_gnu_build_attribute_description): Maintain address ranges - for function notes as well as global notes. Handle v3 notes. - (print_gnu_build_attribute_name): Use more space for printing the - name in wide mode. - * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word. - Eliminate symbol references in order to remove the need for - relocations. - * testsuite/binutils-all/note-2-64.s: Likewise. - * testsuite/binutils-all/note-3-32.s: Add a size to the note_1 - symbol. - * testsuite/binutils-all/note-3-64.s: Likewise. - * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected - output. - * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise. - * testsuite/binutils-all/mips/mips-note-2r.d: Likewise. - * testsuite/binutils-all/note-2-32.d: Likewise. - * testsuite/binutils-all/note-2-64.d: Likewise. - * testsuite/binutils-all/note-3-32.d: Likewise. - * testsuite/binutils-all/note-3-64.d: Likewise. - * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes. - * testsuite/binutils-all/note-4-32.s: New test. - * testsuite/binutils-all/note-4-64.d: New test result file. - * testsuite/binutils-all/note-4-32.d: New test result file. - -2018-01-03 Alan Modra - - Update year range in copyright notice of all files. - -For older changes see ChangeLog-2017 +For older changes see ChangeLog-2018 -Copyright (C) 2018 Free Software Foundation, Inc. +Copyright (C) 2019 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/binutils/ChangeLog-2018 b/binutils/ChangeLog-2018 new file mode 100644 index 0000000000..3a251e9760 --- /dev/null +++ b/binutils/ChangeLog-2018 @@ -0,0 +1,1558 @@ +2018-12-14 H.J. Lu + + PR ld/23900 + * readelf.c (get_segment_type): Support PT_GNU_PROPERTY. + (decode_x86_isa): Don't check GNU_PROPERTY_X86_UINT32_VALID. + (decode_x86_feature_1): Likewise. + (decode_x86_feature_2): Likewise. + (print_gnu_property_note): Remove GNU_PROPERTY_X86_UINT32_VALID + check. + * testsuite/binutils-all/i386/empty.d: Updated. + * testsuite/binutils-all/x86-64/empty-x32.d: Likewise. + * testsuite/binutils-all/x86-64/empty.d: Likewise. + * testsuite/binutils-all/i386/pr21231b.s: Change + GNU_PROPERTY_X86_ISA_1_USED bits to 0x7fffffff. + * testsuite/binutils-all/x86-64/pr21231b.s: Likewise. + +2018-12-13 Sam Tebbs + + * dwarf.c (read_cie): Add check for 'B'. + +2018-12-11 Nick Clifton + + * NEWS: Note that recursion limit has increased to 2048. + * doc/binutils.texi: Likewise. + +2018-12-08 Alan Modra + + * strings.c (unget_part_char): New function. + (print_strings): Use unget_part_char. Formatting. + * testsuite/binutils-all/strings.exp (test_multibyte): Don't + use square brackets in fail message. Expect "String1\nString2". + +2018-12-07 Alan Modra + + * nm.c (display_rel_file): Use xrealloc to increase minisyms + for synthetic symbols. + +2018-12-07 Nick Clifton + + * addr2line.c (demangle_flags): New static variable. + (long_options): Add --recurse-limit and --no-recurse-limit. + (translate_address): Pass demangle_flags to bfd_demangle. + (main): Handle --recurse-limit and --no-recurse-limit options. + * cxxfilt.c: (long_options): Add --recurse-limit and + --no-recurse-limit. + (main): Handle new options. + * nm.c (demangle_flags): New static variable. + (long_options): Add --recurse-limit and --no-recurse-limit. + (main): Handle new options. + * objdump.c (demangle_flags): New static variable. + (usage): Add --recurse-limit and --no-recurse-limit. + (long_options): Likewise. + (objdump_print_symname): Pass demangle_flags to bfd_demangle. + (disassemble_section): Likewise. + (dump_dymbols): Likewise. + (main): Handle new options. + * prdbg.c (demangle_flags): New static variable. + (tg_variable): Pass demangle_flags to demangler. + (tg_start_function): Likewise. + * stabs.c (demangle_flags): New static variable. + (stab_demangle_template): Pass demangle_flags to demangler. + (stab_demangle_v3_argtypes): Likewise. + (stab_demangle_v3_arg): Likewise. + * doc/binutuls.texi: Document new command line options. + * NEWS: Mention the new feature. + * testsuite/config/default.exp (CXXFILT): Define if not already + defined. + (CXXFILTFLAGS): Likewise. + * testsuite/binutils-all/cxxfilt.exp: New file. Runs a few + simple tests of the cxxfilt program. + +2018-12-03 Nick Clifton + + PR 23941 + * testsuite/binutils-all/i386/compressed-1a.d: Update expected output. + * testsuite/binutils-all/x86-64/compressed-1a.d: Likewise. + +2018-12-01 Alan Modra + + PR 23946 + * readelf.c (slurp_ia64_unwind_table): Bounds check symbol index + on reloc. + (slurp_hppa_unwind_table): Likewise. + +2018-12-01 Alan Modra + + PR 23945 + * readelf.c (slurp_ia64_unwind_table): Don't call elf_ia64_reloc_type + needlessly. + (slurp_hppa_unwind_table): Use same range checks and error messages + as slurp_ia64_unwind_table. + +2018-11-29 Nick Clifton + + PR 23931 + * objdump.c (dump_relocs_in_section): When checking for an + unreasonable amount of relocs in a bfd, allow for the fact that + the internal representation of a reloc may be bigger than the + external representation. + +2018-11-27 Mark Wielaard + + PR binutils/23919 + * readelf.c (dump_sections_as_strings): Remove bogus addralign check. + (dump_sections_as_bytes): Likewise. + (load_specific_debug_sections): Likewise. + * testsuite/binutils-all/dw2-3.rS: Adjust alignment. + * testsuite/binutils-all/dw2-3.rt: Likewise. + +2018-11-20 H.J. Lu + + PR binutils/23898 + * testsuite/lib/binutils-common.exp (prune_warnings_extra): + Prune gaps in build notes. + +2018-11-13 Francois H. Theron + + * testsuite/binutils-all/nfp/test1.d: Test for swapped operand crc[]. + + +2018-11-09 Hafiz Abid Qadeer + + * configure: Regenerate. + +2018-11-09 Mathias + + * strings.c (print_strings): Check for multibyte encodings. + * binutils-all/strings-1.bin: New file. Test binary for string decoding. + * testsuite/binutils-all/strings.exp: New file. Test the strings program. + * testsuite/config/default.exp (STRINGS): Define if not provided + by the environment. + (STRINGSFLAGS): Likewise. + +2018-11-07 Masatake Yamato + + * objdump.c (long_options): Have the --disassemble option take an + optional argument. + (usage): Add description for the `symbol' argument to the + --disassemble option. + (disasm_sym): New file private variable. + (struct objdump_disasm_info): New field `symbol'. + (disassemble_section): Introduce `do_print' local variable + to control whether objdump displays the result of disassembling + for a symbol or not. + (main): Set `symbol' file private variable if the option argument + for the --disassemble option is given. + * doc/binutils.texi (objdump): Add description for the option + argument. + * NEWS: Mention the new feature. + * testsuite/binutils-all/objdump.exp: Add tests of the -d and + --disassemble= options. + * testsuite/binutils-all/bintest.s: Add more symbols and code. + * testsuite/binutils-all/readelf.s: Update expected output. + * testsuite/binutils-all/readelf.ss-64: Likewise. + * testsuite/binutils-all/readelf.ss-mips: Likewise. + * testsuite/binutils-all/readelf.ss-tmips: Likewise. + +2018-11-07 Nick Clifton + + * po/pt.po: Updated Portuguese translation. + +2018-11-06 Roman Bolshakov + Saagar Jha + + PR 23728 + * od-macho.c (printf_version): New. + (dump_load_command): Use it to print version. Print sdk version. Print + version info for watchOS and tvOS. Print LC_NOTE, LC_BUILD_VERSION. + (dump_buld_version): New. + (bfd_mach_o_platform_name): New + (bfd_mach_o_tool_name): New + +2018-11-07 Yoshinori Sato + + * testsuite/lib/binutils-common.exp: Special section name + use only rx-*-elf. + +2018-11-06 H.J. Lu + + * doc/binutils.texi: Document --enable-x86-feature and + --disable-x86-feature options for elfedit. + * elfedit.c: Include "config.h" and . + (enable_x86_features): New. + (disable_x86_features): Likewise. + (update_gnu_property): Likewise. + (elf_x86_feature): Likewise. + (process_file): Call update_gnu_property on ET_EXEC or ET_DYN + file. + (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and + OPTION_DISABLE_X86_FEATURE. + (options): Add--enable-x86-feature and --disable-x86-feature. + (usage): Likewise. + (main): Handle OPTION_ENABLE_X86_FEATURE and + OPTION_DISABLE_X86_FEATURE. + +2018-11-03 H.J. Lu + + * elfedit.c (update_elf_header): Move EI_MAG? check to ... + (get_file_header): Here. + +2018-11-02 H.J. Lu + + * configure.ac (AC_FUNC_MMAP): New. + * config.in: Regenerated. + * configure: Likewise. + +2018-11-02 Alan Modra + + * readelf.c (process_section_headers): Don't warn on a zero + sh_info or sh_link for any reloc section in an executable or + shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL. + +2018-11-01 Thomas Preud'homme + + * testsuite/config/default.exp: Define LD, LDFLAGS and + ld_elf_shared_opt. + * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved + from ld-lib.exp. + (run_dump_test): Set ld to $LD. + +2018-10-18 Nick Clifton + + * doc/binutils.texi (readelf): Document alternatives to the + --unwind option if it is not supported for the target + architecture. + +2018-10-16 Alan Modra + + PR 23780 + * readelf.c (display_raw_attribute): Correct assertion. + +2018-10-15 Alan Modra + + PR 23534 + * addr2line.c (main): Exit with fatal error if bfd_init + returns an unexpected value. + * ar.c (main): Likewise. + * dlltool.c (identify_dll_for_implib): Likewise. + * nm.c (main): Likewise. + * objcopy.c (main): Likewise. + * objdump.c (main): Likewise. + * size.c (main): Likewise. + * strings.c (main): Likewise. + * windmc.c (main): Likewise. + * windres.c (main): Likewise. + +2018-10-11 Jordan Rupprecht + Nick Clifton + + * objcopy.c (copy_main): Issue a fata error if the + --keep-global-symbol(s) and the --globalize-symbol(s) options are + used together. + * doc/binutils.texi: Document that the two options are + incompatible. + * testsuite/binutils-all/copy-5.d: New test. + * testsuite/binutils-all/objcopy.exp: Run the new test. + +2018-10-10 Helge Deller + Alan Modra + + * readelf.c (hppa_process_unwind): Don't use eh_addr_size to + calculate number of entries. + (slurp_hppa_unwind_table): Don't use eh_addr_size here either. + +2018-10-10 Alan Modra + + * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4. + +2018-10-08 Andreas Schwab + + * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL. + +2018-10-03 Nick Clifton + + * po/pt.po: Updated Portuguese translation. + * po/fr.po: Updated French translation. + +2018-09-22 Alan Modra + + * readelf.c (apply_relocations): Don't return FALSE for warnings. + +2018-09-20 Nelson Chu + + * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number + from 215 to 255 for NDS32. + +2018-09-17 H.J. Lu + + * objcopy.c (strip_specific_buffer): New. + (strip_unneeded_buffer): Likewise. + (keep_specific_buffer): Likewise. + (localize_specific_buffer): Likewise. + (globalize_specific_buffer): Likewise. + (keepglobal_specific_buffer): Likewise. + (weaken_specific_buffer): Likewise. + (add_specific_symbols): Add an argument to return pointer to + allocated buffer. + (copy_main): Update add_specific_symbols to update pointers to + allocated buffer. Free pointers to allocated buffer before + return. + +2018-09-17 Alan Modra + + * objcopy.c (handle_remove_section_option): Don't require a dot + after .rela and .rel to handle a possible relocation section. + * testsuite/binutils-all/remove-relocs-07.s, + * testsuite/binutils-all/remove-relocs-07.d, + * testsuite/binutils-all/remove-relocs-08.d: New tests. + * testsuite/binutils-all/remove-relocs-01.d, + * testsuite/binutils-all/remove-relocs-04.d, + * testsuite/binutils-all/remove-relocs-05.d, + * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd. + +2018-09-17 Alan Modra + + * testsuite/lib/binutils-common.exp (is_som_format): New proc. + (run_dump_test): Correct target test for alternate .comm syntax. + (get_standard_section_names): Handle som format. + * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags): + Correct target test for alternate .comm syntax. + +2018-09-17 Alan Modra + + * testsuite/binutils-all/strip-13mips64.s: Add section flags + for reloc section. + * testsuite/binutils-all/strip-13rel.s: Likewise. + * testsuite/binutils-all/strip-13rela.s: Likewise. + * testsuite/binutils-all/strip-14mips64.s: Likewise. + * testsuite/binutils-all/strip-14rel.s: Likewise. + * testsuite/binutils-all/strip-14rela.s: Likewise. + * testsuite/binutils-all/strip-15mips64.s: Likewise. + * testsuite/binutils-all/strip-15rel.s: Likewise. + * testsuite/binutils-all/strip-15rela.s: Likewise. + +2018-09-17 Nick Clifton + + * testsuite/binutils-all/compress.exp: Rename second "objcopy + zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi + compress debug sections 3" and use gabi object files instead + of gnu object files. + * testsuite/binutils-all/objcopy.exp: Add suffix to the names + of the "ELF group" tests. + * testsuite/binutils-all/readelf.exp (proc readelf_find_size): + Add an iteration parameter and include it in the name of the + test. Update callers to include an iteration count. + +2018-09-15 Alan Modra + + * testsuite/binutils-all/add-symbol.d: Add "section_subst: no". + * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile. + * testsuite/binutils-all/symbols-1.d, + * testsuite/binutils-all/symbols-2.d, + * testsuite/binutils-all/symbols-3.d, + * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'. + * testsuite/binutils-all/add-empty-section.d, + * testsuite/binutils-all/add-section.d, + * testsuite/binutils-all/elfedit.exp, + * testsuite/binutils-all/note-1.d, + * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir. + * testsuite/config/default.exp (AS, ASFLAGS): Define. + * testsuite/config/hppa.sed: Handle all common symbols. + * testsuite/lib/binutils-common.exp (run_dump_test): New proc, + merged from three other versions. + (slurp_options, file_contents, set_file_contents): Likewise. + (big_or_little_endian, get_standard_section_names): Likewise. + * testsuite/lib/utils-lib.exp (run_dump_test): Delete. + (slurp_options, proc file_contents): Delete. + (get_standard_section_names): Delete. + +2018-09-15 Alan Modra + + * testsuite/binutils-all/copy-2.d, + * testsuite/binutils-all/copy-3.d, + * testsuite/binutils-all/copy-4.d, + * testsuite/binutils-all/elfedit-1.d, + * testsuite/binutils-all/note-1.d, + * testsuite/binutils-all/note-2-64.d, + * testsuite/binutils-all/strip-11.d, + * testsuite/binutils-all/strip-13.d, + * testsuite/binutils-all/strip-14.d, + * testsuite/binutils-all/testranges.d, + * testsuite/binutils-all/x86-64/pr23494a-x32.d, + * testsuite/binutils-all/x86-64/pr23494a.d, + * testsuite/binutils-all/x86-64/pr23494b-x32.d, + * testsuite/binutils-all/x86-64/pr23494b.d, + * testsuite/binutils-all/x86-64/pr23494c-x32.d, + * testsuite/binutils-all/x86-64/pr23494c.d, + * testsuite/binutils-all/x86-64/pr23494d-x32.d, + * testsuite/binutils-all/x86-64/pr23494d.d, + * testsuite/binutils-all/x86-64/pr23494e-x32.d, + * testsuite/binutils-all/x86-64/pr23494e.d, + * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target + and not-skip with notarget and noskip. + +2018-09-15 Alan Modra + + * testsuite/binutils-all/group-7a.d, + * testsuite/binutils-all/group-7b.d, + * testsuite/binutils-all/group-7c.d, + * testsuite/binutils-all/symbols-1.d, + * testsuite/binutils-all/symbols-2.d, + * testsuite/binutils-all/symbols-3.d, + * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG. + +2018-09-14 Alan Modra + + PR binutils/23633 + * testsuite/binutils-all/pr23633.d: Don't fail when assembler + generates sections other than .text. + +2018-09-13 H.J. Lu + + PR binutils/23633 + * testsuite/binutils-all/objcopy.exp: Run pr23633. + * testsuite/binutils-all/pr23633.d: New file. + * testsuite/binutils-all/pr23633.list: Likewise. + * testsuite/binutils-all/pr23633.s: Likewise. + +2018-09-13 Nick Clifton + + PR 23633 + * objcopy.c (add_specific_symbols): Do not free the buffer at the + end of the function. + +2018-09-10 Alan Modra + + PR binutils/23611 + * objcopy.c (handle_remove_section_option): Consider .rela and + .rel sections for stripping directly as well as attached to the + associated section they relocate. + * doc/binutils.texi (remove-relocations): Specify that this + option removes non-dynamic relocation sections. + * testsuite/binutils-all/objcopy.exp + (objcopy_remove_relocations_from_executable): New test. + +2018-09-03 Nick Clifton + + * po/ja.po: Updated Japanese translation. + +2018-08-31 H.J. Lu + + * testsuite/binutils-all/readelf.s-64: Adjusted for + .note.gnu.property section. + * testsuite/binutils-all/strip-3.d: Also strip + .note.gnu.property section. + +2018-08-31 H.J. Lu + + * testsuite/binutils-all/i386/compressed-1b.d: Pass + -mx86-used-note=no to assembler. + * testsuite/binutils-all/i386/compressed-1c.d: Likewise. + * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise. + * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise. + * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes + to assembler and update expected output from "readelf -n". + * testsuite/binutils-all/i386/ibt.d: Likewise. + * testsuite/binutils-all/i386/pr21231a.d: Likewise. + * testsuite/binutils-all/i386/pr21231b.d: Likewise. + * testsuite/binutils-all/i386/shstk.d: Likewise. + * testsuite/binutils-all/x86-64/empty-x32.d: Likewise. + * testsuite/binutils-all/x86-64/empty.d: Likewise. + * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise. + * testsuite/binutils-all/x86-64/ibt.d: Likewise. + * testsuite/binutils-all/x86-64/pr21231a.d: Likewise. + * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494b.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494e.d: Likewise. + * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise. + * testsuite/binutils-all/x86-64/shstk.d: Likewise. + +2018-08-30 H.J. Lu + + * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and + SHT_PREINIT_ARRAY as relocatable sections. + +2018-08-30 Chenghua Xu + + * MAINTAINERS: Add myself as a MIPS port maintainer. + +2018-08-29 Chenghua Xu + + * NEWS: Mention Loongson 2K1000 proccessor support. + * readelf.c (get_machine_flags): Handle gs264e. + +2018-08-29 Chenghua Xu + + * NEWS: Mention Loongson 3A2000/3A3000 proccessor support. + * readelf.c (get_machine_flags): Handle gs464e. + +2018-08-29 Chenghua Xu + + * NEWS: Mention Loongson 3A1000 proccessor support. + * readelf.c (get_machine_flags): Rename loongson-3a to gs464. + (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A. + +2018-08-29 Chenghua Xu + + * readelf.c (print_mips_ases): Add Loongson EXT2 extension. + +2018-08-29 Chenghua Xu + + * readelf.c (print_mips_ases): Add Loongson EXT extension. + +2018-08-29 Chenghua Xu + + * readelf.c (print_mips_ases): Add CAM extension. + +2018-08-27 H.J. Lu + + * readelf.c (decode_x86_isa): Print if bitmask only + contains the GNU_PROPERTY_X86_UINT32_VALID bit. + (decode_x86_feature_1): Likewise. + (decode_x86_feature_2): Likewise. + (print_gnu_property_note): Don't mask out the + GNU_PROPERTY_X86_UINT32_VALID bit. + * testsuite/binutils-all/i386/pr21231b.d: Updated. + * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. + +2018-08-27 H.J. Lu + + * readelf.c (decode_x86_compat_isa): Break multi-statement line. + (decode_x86_isa): Likewise. + (decode_x86_feature_2): Likewise. + +2018-08-25 H.J. Lu + + PR ld/23499 + * readelf.c (get_symbol_version_string): Return _("") + for corrupt symbol version info. + +2018-08-24 H.J. Lu + + * readelf.c (decode_x86_compat_isa): New function. + (decode_x86_feature_2): Likewise. + (decode_x86_isa): Updated for new X86_ISA_1_XXX bits. + (decode_x86_feature): Renamed to ... + (decode_x86_feature_1): This. Remove the type argument. + (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED, + X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI, + X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and + X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED + and X86_FEATURE_1_AND. + * testsuite/binutils-all/i386/pr21231b.s: Updated to the current + GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED + values. + * testsuite/binutils-all/x86-64/pr21231b.s: Likewise. + * testsuite/binutils-all/x86-64/pr23494a.s: Likewise. + * testsuite/binutils-all/x86-64/pr23494b.s: Likewise. + * testsuite/binutils-all/x86-64/pr23494c.s: Likewise. + * testsuite/binutils-all/i386/pr21231b.d: Updated. + * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494e.d: Likewise. + +2018-08-24 H.J. Lu + + * readelf.c (print_gnu_property_note): Check the + GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note. + +2018-08-23 Alan Modra + + * readelf.c (get_ppc64_symbol_other): Return NULL if st_other + field contains unrecognised or reserved values. Handle + localentry:1 value. + +2018-08-23 H.J. Lu + + PR ld/23536 + * Makefile.am (development.exp): New target. + (EXTRA_DEJAGNU_SITE_CONFIG): New. + (DISTCLEANFILES): Add development.exp. + * Makefile.in: Regenerated. + * testsuite/binutils-all/objcopy.exp (strip_test): Call + prune_warnings to prune BFD output. + (strip_test_with_saving_a_symbol): Likewise. + (objcopy_test_without_global_symbol): Likewise. + * testsuite/lib/binutils-common.exp (prune_warnings_extra): + New proc. + (prune_warnings): Likewise. + +2018-08-23 H.J. Lu + + * README-how-to-make-a-release: Document setting "experimental" + to false. + +2018-08-22 Alan Modra + + * readelf.c (process_file_header): Assign updated values from + section_header[0] fields to e_phnum, e_shnum and e_shstrndx + during printing of header. Correct e_shstrndx range check. + Remove unnecessary casts and use %u rather than %ld for + unsigned int header fields. Don't print a random %lx when + reporting an unknown EI_VERSION. + +2018-08-21 Nick Clifton + + * MAINTAINERS: Note that Arnold Metselaar has retired as the z80 + maintainer. + +2018-08-21 L. Simon + + PR 23531 + * readelf.c (hppa_process_unwind): Only dump the unwind table if + the data was successfully read in. + +2018-08-18 Alan Modra + + * testsuite/lib/binutils-common.exp (is_elf64): Use directory of + input file for readelf.out. + (is_rela): New proc. + * testsuite/binutils-all/objcopy.exp (elf64): Set new variable + from first result of is_elf64 test. + (reloc_format): Set using is_rela. + (strip-13): Pass RELOC and ELF64 to assembler. + (strip-14, strip-15): Use elf64 rather than calling is_elf64 again. + * testsuite/binutils-all/strip-13.d: Run for more targets. + * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set + addend to zero. + * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64. + Don't add _NONE reloc. + * testsuite/binutils-all/strip-13rela.s: Likewise. + +2018-08-10 H.J. Lu + + PR binutils/23494 + * testsuite/binutils-all/x86-64/pr23494c.s: New file. + * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494e.d: Likewise. + +2018-08-10 H.J. Lu + + * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl + targets. + * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494b.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. + +2018-08-08 H.J. Lu + + PR binutils/23494 + * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file. + * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494a.s: Likewise. + * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494b.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494b.s: Likewise. + * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. + +2018-08-08 Kevin Buettner + + * dwarf.c (decode_location_expresion): Add case for + DW_OP_GNU_variable_value. + +2018-08-06 Claudiu Zissulescu + + * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version. + +2018-08-03 Nick Clifton + + * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge + identical function notes. + +2018-08-01 Nick Clifton + + * README-how-to-make-a-release: Add note about regenerating the + info files prior to the release. + +2018-07-30 Andrew Jenner + + * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer. + +2018-07-30 Andrew Jenner + + * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer. + +2018-07-30 Andrew Jenner + + * readelf.c: Include elf/csky.h. + (guess_is_rela): Handle EM_CSKY. + (dump_relocations): Likewise. + (get_machine_name): Likewise. + (is_32bit_abs_reloc): Likewise. + +2018-07-25 Nick Clifton + + * rdcoff.c (parse_coff_struct_type): Free fields array upon early + exit. + (parse_coff_enum_type): Free names and vals arrays upon early + exit. + * rddbg.c (read_section_stabs_debugging_info): Free shandle and + strings and stabs arrays upon early exit. + * readelf.c (get_32bit_section_headers): Free shdrs structure upon + early exit. + (get_64bit_section_headers): Likewise. + (get_32bit_elf_symbols): Generate an error if multiple symbol + table index sections are associated with the same symbol section. + (get_64bit_elf_symbols): Likewise. + (process_dynamic_section): Generate an error if there are multiple + dynamic symbol table sections, multiple dynamic string tables or + multiple dynamic symbol information sections. + +2018-07-24 Nick Clifton + + * po/sv.po: Updated Swedish translation. + +2018-07-24 Alan Modra + + PR 23431 + * dwarf.c (display_formatted_table): Replace "what" parameter + with "is_dir". Expand messages. Fix capitalisation. + * testsuite/binutils-all/dw5.W: Update expected output. + +2018-07-24 Alan Modra + + PR 23430 + * elfcomm.h (struct archive_info): Rename uses_64bit_indicies + to uses_64bit_indices. + * elfcomm.c (setup_archive): Update uses of above. + * readelf.c (process_archive): Likewise. + (get_section_type_name): Rename indicies to indices. + (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise. + (process_section_groups): Likewise. + +2018-07-20 Maciej W. Rozycki + + * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV + ISA maintenance. + +2018-07-20 Nick Clifton + + * objcopy.c (add_specific_symbols): Free buffer on exit. + (add_redefine_syms_file): Close file handle on exit. + (copy_object): Close file handle on early exit. + Free buffer on early exit. + Free gaps buffers once they are no longer needed. + * dwarf.c (display_debug_frames): Free allocated memory on exit. + (load_separate_debug_info): Free allocate memory on early exit. + +2018-07-20 Chenghua Xu + Maciej W. Rozycki + + * readelf.c (print_mips_ases): Add MMI extension. + +2018-07-19 DJ Delorie + + * MAINTAINERS (RL78, RX): Remove myself as maintainer. + +2018-07-19 Nick Clifton + + * dwarf.c (read_cie): Free allocated memory before returning with + a failure result. + +2018-07-16 Pedro Franco de Carvalho + + * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note + description. + +2018-07-16 Nick Clifton + + * README-how-to-make-a-release: Add note to check for new top + level files and add them to the src-release.sh script. + +2018-07-14 Nick Clifton + + * README-how-to-make-a-release: Updated with corrections based on + the 2.31 release experience. + +2018-07-12 Francois H. Theron + + * readelf.c (process_section_headers): Don't print section type + twice for --section-details. + +2018-07-10 Alan Modra + + * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return + zero for xgate. + +2018-07-06 Nick Clifton + + * readelf.c (same_section): New function. + (print_gnu_build_attribute_description): Do not complain about + gaps that cross a section boundary. + +2018-07-05 Nick Clifton + + * po/bg.po: Updated Bulgarian translation. + +2018-07-02 Thomas Preud'homme + + * NEWS: Use command-line consistently when used in a compount word. + * doc/binutils.texi: Likewise and fix trailing whitespace on same + line. + +2018-06-26 Nick Clifton + + * po/sv.po: Updated Swedish translation. + * po/uk.po: Updated Ukranian translation. + +2018-06-26 Nick Clifton + + * doc/binutils.texi: Fix spelling mistakes. + * README--how-to-make-a-release: Likewise. + +2018-06-25 Tom Tromey + + * dwarf-mode.el (dwarf-mode-syntax-table): New variable. + Bump version number. + +2018-06-24 Nick Clifton + + * README-how-to-make-a-release: Update with experiences from + making 2.31 branch. + * po/binutils.pot: Regenerate. + * configure: Regenerate. + +2018-06-24 Nick Clifton + + 2.31 branch created. + * NEWS: Add marker for 2.31. + +2018-06-21 Alan Modra + + * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign". + * doc/Makefile.in: Regenerate. + +2018-06-19 Simon Marchi + + * configure.ac: Remove AC_PREREQ. + * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add + info-in-builddir no-texinfo.tex. + * Makefile.in: Re-generate. + * aclocal.m4: Re-generate. + * config.in: Re-generate. + * configure: Re-generate. + * doc/Makefile.in: Re-generate. + +2018-06-19 Andreas Schwab + + * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16. + (is_8bit_abs_reloc): New function. + (is_6bit_abs_reloc): New function. + (is_6bit_inplace_sub_reloc): New function. + (apply_relocations): Use them. Handle 6-bit relocations. + +2018-06-14 Faraz Shahbazker + + * readelf.c (print_mips_ases): Add GINV extension. + +2018-06-14 H.J. Lu + + PR binutils/23267 + * readelf.c (get_symbol_version_string): Check if the first + symbol version is base version. + +2018-06-13 Scott Egerton + Faraz Shahbazker + + * readelf.c (print_mips_ases): Add CRC. + +2018-06-13 Nick Clifton + + * doc/binutils.texi (objdump): Add missing closing square + parenthesis to listing of objcopy's command line options. + +2018-06-11 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2018-06-01 H.J. Lu + + * configure: Regenerated. + +2018-05-31 Alan Modra + + * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't + set CC_FOR_TARGET. Run test non-native. + * testsuite/binutils-all/objdump.exp (test_build_id_debuglink): + Likewise. + (test_follow_debuglink): Run test non-native. + +2018-05-30 Ant Bikeneev + + PR 23107 + * ar.c (display_offsets): New variable. + (usage): Add description of 'O' operator. + (decode_option): Handle 'O' operator. + (print_descr): Pass display_offsets to print_arelt_descr. + * arsup.c: Update call to printy_arelt_descr. + * objdump.c: Likewise. + * bucomm.c (print_arelt_descr): If offsets parameter is true then + display offset of archive element within the archive. + * bucomm.h: Update prototype for print_arelt_descr. + * doc/binutils.texi: Update description of ar command. + * NEWS: Mention the new feature. + * testsuite/binutils-all/ar.exp: Add text of new feature. + +2018-05-28 Alan Modra + + PR 23235 + * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return + unsupported rather than fail on compile errors. + * testsuite/binutils-all/objdump.exp (test_build_id_debuglink): + Likewise. Save and restore CFLAGS_FOR_TARGET. + +2018-05-18 Kito Cheng + + * readelf.c (get_machine_flags): Handle EF_RISCV_RVE. + +2018-05-18 John Darrington + + * readelf.c: Add support for s12z architecture. + * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z + targets. + +2018-05-15 Tamar Christina + + PR binutils/21446 + * doc/binutils.texi (-M): Document AArch64 options. + +2018-05-15 Tamar Christina + + PR binutils/21446 + * doc/binutils.texi (-M): Document AArch64 options. + * NEWS: Document notes and warnings. + +2018-05-15 Alan Modra + + * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus, + cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*, + and *uclinux* into *linux*. + * testsuite/binutils-all/objcopy.exp: Accept armeb for rel + strip-13 test, exclude arm-vxworks and arm-windiss. + +2018-05-10 John Darrington + + * readelf.c (get_machine_name): EM_S12Z - handle new case. + +2018-05-09 Alan Modra + + * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch. + +2018-05-09 Sebastian Rasmussen + + * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming. + +2018-05-08 Alan Modra + + PR 23141 + * objcopy.c (is_strip_section): Strip groups without a valid + signature symbol. + +2018-05-07 Alan Modra + + PR 23142 + * objcopy.c (group_signature): Don't accept groups that use a + symbol table other than the one we've read. + +2018-04-30 Francois H. Theron + + * readelf.c: Very basic support for EM_NFP and its section types. + * testsuite/binutils-all/nfp: New directory. + * testsuite/binutils-all/nfp/objdump.exp: New file. Run new + tests. + * testsuite/binutils-all/nfp/test2_ctx8.d: New file. + * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file. + * testsuite/binutils-all/nfp/test1.d: New file. + * testsuite/binutils-all/nfp/nfp6000.nffw: New file. + * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file. + * NEWS: Mention the new support. + +2018-04-27 Maciej W. Rozycki + + * testsuite/lib/binutils-common.exp (match_target): New procedure. + * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place + of `istarget' for matching with `target', `not-target', `skip' + and `not-skip' options. + +2018-04-26 Nick Clifton + + * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a + 32-bit absolute reloc for the HPPA target. + * testsuite/binutils-all/note-5.d: New test. + * testsuite/binutils-all/note-5.s: Source file for new test. + * testsuite/binutils-all/objcopy.exp: Run new test. + +2018-04-25 Christophe Lyon + + * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi. + * testsuite/binutils-all/elfedit-3.d: Likewise. + * testsuite/binutils-all/objcopy.exp: Likewise. + * testsuite/binutils-all/strip-3.d: Likewise. + * testsuite/lib/binutils-common.exp: Likewise. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC. + (get_osabi_name): Support ELFOSABI_ARM_FDPIC. + +2018-04-25 Alan Modra + + * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and + arm-coff support. + * testsuite/binutils-all/objcopy.exp: Likewise. + * testsuite/lib/binutils-common.exp: Likewise. + +2018-04-18 Nick Clifton + + PR 23062 + * dwarf.c (read_and_display_attr_value): Replace assertions with + test and warning message. + +2018-04-18 Alan Modra + + * testsuite/lib/binutils-common.exp: Remove support for assorted + aout targets. + +2018-04-17 Nick Clifton + + PR 23063 + * readelf.c (print_symbol): If the width is zero, return straight + away. + + PR 23064 + * dwarf.c (process_cu_tu_index): Test for a potential buffer + overrun before copying signature pointer. + +2018-04-17 Alan Modra + + * readelf.c: Revert 2018-04-16 and 2018-04-11 changes. + +2018-04-16 Alan Modra + + * readelf.c (get_machine_name): Correct typo. + +2018-04-16 Alan Modra + + * configure.ac: Remove arm-epoc-pe support. + * dlltool.c: Likewise. + * configure: Regenerate. + +2018-04-16 Alan Modra + + * testsuite/lib/binutils-common.exp: Remove sparc-aout and + sparc-coff support. + +2018-04-16 Alan Modra + + * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff + support. + * testsuite/binutils-all/copy-3.d: Likewise. + * testsuite/binutils-all/objcopy.exp: Likewise. + * testsuite/lib/binutils-common.exp: Likewise. + +2018-04-16 Alan Modra + + * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support. + +2018-04-16 Alan Modra + + * testsuite/binutils-all/objcopy.exp: Remove w65 support. + +2018-04-16 Alan Modra + + * testsuite/binutils-all/objdump.exp: Remove we32k support. + +2018-04-16 Alan Modra + + * MAINTAINERS (Mark Kettenis): Move to past maintainers. + * testsuite/binutils-all/objdump.exp: Remove m88k support. + +2018-04-16 Alan Modra + + * readelf.c: Remove i370 support. + * testsuite/binutils-all/objdump.exp: Likewise. + +2018-04-16 Alan Modra + + * testsuite/binutils-all/objcopy.exp: Remove h8500 support. + * testsuite/lib/binutils-common.exp: Likewise. + +2018-04-16 Alan Modra + + * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support. + +2018-04-16 Alan Modra + + * Makefile.am: Remove IEEE 695 support. + * budbg.h: Likewise. + * doc/binutils.texi: Likewise. + * makefile.vms: Likewise. + * objcopy.c: Likewise. + * objdump.c: Likewise. + * rddbg.c: Likewise. + * ieee.c: Delete. + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * testsuite/binutils-all/copy-2.d: Remove newsos3 support. + * testsuite/binutils-all/nm.exp: Likewise. + +2018-04-16 Alan Modra + + * .gitignore: Remove netware support. + * Makefile.am: Likewise. + * configure.ac: Likewise. + * doc/Makefile.am: Likewise. + * doc/binutils.texi: Likewise. + * testsuite/binutils-all/nm.exp: Likewise. + * nlmconv.c: Delete. + * nlmconv.h: Delete. + * nlmheader.y: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * doc/Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * testsuite/binutils-all/objdump.exp: Remove tahoe support. + +2018-04-14 Alan Modra + + * readelf.c (get_machine_name): Revert 2018-04-11 change. + +2018-04-12 Nick Clifton + + PR 23050 + * readelf.c (process_dynamic_section): Correct dynamic string + table size calculation. + +2018-04-11 Alan Modra + + * ieee.c: Remove i960 support. + * od-macho.c: Remove i860 support. + * readelf.c: Remove i860 and i960 support. + * testsuite/binutils-all/objcopy.exp: Likewise. + * testsuite/binutils-all/objdump.exp: Likewise. + * testsuite/lib/binutils-common.exp: Likewise. + +2018-04-11 Maciej W. Rozycki + + * testsuite/lib/binutils-common.exp (is_elf_format): Also return + 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets. + +2018-04-10 Alan Modra + + * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose + reloc=11 for pru and reloc=50 for nds32. + * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number. + +2018-04-09 Maciej W. Rozycki + + * testsuite/binutils-all/strip-15.d: New test. + * testsuite/binutils-all/strip-15rel.s: New test source. + * testsuite/binutils-all/strip-15rela.s: New test source. + * testsuite/binutils-all/strip-15mips64.s: New test source. + * testsuite/binutils-all/objcopy.exp: Run the new test. + +2018-04-09 Maciej W. Rozycki + + * testsuite/binutils-all/strip-14.d: New test. + * testsuite/binutils-all/strip-14rel.s: New test source. + * testsuite/binutils-all/strip-14rela.s: New test source. + * testsuite/binutils-all/strip-14mips64.s: New test source. + * testsuite/binutils-all/objcopy.exp: Run the new test. + +2018-04-06 Tom Tromey + + * dwarf.c (read_and_display_attr_value): Add missing DW_LANG + constants from DWARF 5. + +2018-04-05 H.J. Lu + + PR gas/22318 + * configure: Regenerated. + +2018-04-05 Maciej W. Rozycki + + * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather + than `.dc.w' in second relocation. + +2018-04-05 Maciej W. Rozycki + + * testsuite/binutils-all/strip-13.d: Also expect `unsupported + relocation type 0x8f' error message. + +2018-04-05 Maciej W. Rozycki + + * testsuite/binutils-all/strip-13.s: Rename to... + * testsuite/binutils-all/strip-13rela.s: ... this. + * testsuite/binutils-all/strip-13rel.s: New test source. + * testsuite/binutils-all/strip-13mips64.s: New test source. + * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*', + `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and + `m68hc11-*' to `not-target' list. + * testsuite/binutils-all/objcopy.exp: Switch between sources for + `strip-13'. + +2018-04-05 Maciej W. Rozycki + + * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than + 241 (0xf1) for the relocation number and RELA addend. + * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the + `not-target' list. + +2018-04-04 John David Anglin + + * MAINTAINERS: Update my e-mail address. + +2018-04-04 Nick Clifton + + * MAINTAINERS: Move Jason Eckhardt to past maintainers section. + +2018-03-23 Nick Clifton + + * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping + symbols. + (print_gnu_build_attribute_description): If no file start symbol + could be found, look for one two bytes into the file. + * testsuite/binutils-all/note-4-64.s: Set the address of the file + start symbol to two bytes into the file. + * testsuite/binutils-all/note-4-32.s: Likewise. + +2018-03-21 H.J. Lu + + * readelf.c (process_dynamic_section): Also dump DF_1_KMOD, + DF_1_WEAKFILTER and DF_1_NOCOMMON. + +2018-03-20 Nick Clifton + + * po/es.po: Updated Spanish translation. + * po/ru.po: Updated Russian translation. + +2018-03-13 Nick Clifton + + PR 22957 + * stabs.c (pop_binincl): Fail if the file index is off the end of + the stack. + +2018-03-13 Nick Clifton + + PR 22955 + * stabs.c (parse_number): Add p_end parameter and use it to check + the validity of the pp parameter. Add checks to prevent walking + off the end of the string buffer. + (parse_stab_string): Likewise. + (parse_stab_type): Likewise. + (parse_stab_type_number): Likewise. + (parse_stab_range_type): Likewise. + (parse_stab_sun_builtin_type): Likewise. + (parse_stab_sun_floating_type): Likewise. + (parse_stab_enum_type): Likewise. + (parse_stab_struct_type): Likewise. + (parse_stab_baseclasses): Likewise. + (parse_stab_struct_fields): Likewise. + (parse_stab_cpp_abbrev): Likewise. + (parse_stab_one_struct_field): Likewise. + (parse_stab_members): Likewise. + (parse_stab_tilde_field): Likewise. + (parse_stab_array_type): Likewise. + + * parse_stab: Compute the end of the string and then pass it on to + individual parser functions. + +2018-03-07 Paul Pluzhnikov + + PR binutils/22923 + * binutils/readelf.c (get_ver_flags): Expand buffer to avoid + overflow. + +2018-03-07 Alan Modra + + * configure.ac: Add objdump_private_desc_xcoff for rs6000. + * configure: Regenerate. + +2018-03-05 H.J. Lu + + PR binutils/22911 + * objdump.c (is_significant_symbol_name): Return TRUE for all + .plt* sections. + (find_symbol_for_address): Replace linear search with binary + search on dynamic relocations. + +2018-03-01 Nick Clifton + + PR 22905 + * dwarf.c (display_debug_ranges): Check that the offset loaded + from the range_entry structure is valid. + +2018-03-01 Alan Modra + + * configure.ac (ALL_LINGUAS): Add sr. Sort. + * configure: Regenerate. + +2018-02-27 Nick Clifton + + * po/pt.po: New Portuguese translation. + * configure.ac (ALL_LINGUAS): Add pt. + * configure: Regenerate. + +2018-02-27 Nick Clifton + + PR 22875 + * objcopy.c (copy_object): Check the error status after marking + symbols used in relocations. + * testsuite/binutils-all/strip-13.s: New test source file. + * testsuite/binutils-all/strip-13.s: New test driver file. + * testsuite/binutils-all/objcopy.exp: Run the new test. + +2018-02-26 Alan Modra + + * testsuite/binutils-all/mips/mips-reginfo-n32.d, + * testsuite/binutils-all/mips/mips-reginfo.d: Update. + +2018-02-23 Alan Modra + + * testsuite/binutils-all/mips/mips-reginfo-n32.d, + * testsuite/binutils-all/mips/mips-reginfo.d: Update. + +2018-02-20 Ronald Hoogenboom + + * doc/binutils.texi (objcopy): Add missing closing square + parenthesis to listing of objcopy's command line options. + +2018-02-19 Matthias Klose + + * strings.c (long_options): Include-all-whitespace does not take + an extra agument. + +2018-02-13 Alan Modra + + PR 22836 + * testsuite/binutils-all/group-7.s, + * testsuite/binutils-all/group-7a.d, + * testsuite/binutils-all/group-7b.d, + * testsuite/binutils-all/group-7c.d: New tests. + * testsuite/binutils-all/objcopy.exp: Run them. + +2018-02-08 Nick Clifton + + PR 22802 + * dwarf.c (load_separate_debug_file): Return early if the user is + not interested in debug links. + +2018-02-06 Nick Clifton + + PR 22793 + * readelf.c (find_section): Replace assertion with test and return + of NULL. + (find_section_by_address): Add test of section header table + existance. + (find_section_by_type): Likewise. + (find_section_in_set): Likewise. + +2018-02-05 Maciej W. Rozycki + + * testsuite/binutils-all/mips/mips-reginfo.d: New test. + * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test. + * testsuite/binutils-all/mips/mips-reginfo.s: New test source. + * testsuite/binutils-all/mips/mips.exp: Run the new tests. + +2018-02-05 Maciej W. Rozycki + + * testsuite/config/default.exp (binutils_run): Document + `binutils_run_status'. + * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise, + and set it. + (run_dump_test): Add `error', `error_output', `warning' and + `warning_output' options. Update documentation accordingly. + +2018-02-02 Andrew Burgess + + * dwarf.c (dwarf_regnames_riscv): New register name table. + (init_dwarf_regnames_riscv): New function. + (init_dwarf_regnames): Add call to initialise RiscV register + names. + * dwarf.h (init_dwarf_regnames_riscv): Declare. + * objdump.c (dump_dwarf): Add call to initialise RiscV register + names. + +2018-02-01 Alan Modra + + PR 22769 + * objdump.c (load_specific_debug_section): Check for overflow + when adding one to section size for a string section terminator. + +2018-01-30 Nick Clifton + + PR 22734 + * doc/binutils.texi (nm): Update description to point out that + zero-initialized values can also be shown as type B, b, S or s + since they can be stored in the BSS section. + +2018-01-30 Alan Modra + + * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as + "artificially large" end address. + +2018-01-28 Nick Clifton + + * README-how-to-make-a-release: Add note about checking gpg key + and the results of gnupload. + +2018-01-27 Nick Clifton + + * README-how-to-make-a-release: Add details on how to actually + make the release. + +2018-01-26 Nick Clifton + + * README-how-to-make-a-release: Add more details on updating + version numbers. + +2018-01-22 Maciej W. Rozycki + + * doc/binutils.texi (objcopy): Fix a typo in `--rename-section' + option description. + +2018-01-22 Maciej W. Rozycki + + * MAINTAINERS: Update my company e-mail address. + +2018-01-22 Nick Clifton + + * po/sv.po: Updated Swedish translation. + +2018-01-18 Nick Clifton + + * po/bg.po: Updated Bulgarian translation. + +2018-01-16 Joel Brobecker + + * README-how-to-make-a-release: Add reminder to update the + branch name in gdbadmin's crontab on sourceware. + +2018-01-16 Joel Brobecker + + * README-how-to-make-a-release: Remove trailing spaces. + +2018-01-16 Nick Clifton + + * po/fr.po: Updated French translation. + +2018-01-15 Nick Clifton + + * po/uk.po: Updated Ukranian translation. + +2018-01-13 Nick Clifton + + * README-how-to-make-a-release: Update notes. + * po/binutils.pot: Regenerated. + +2018-01-13 Nick Clifton + + * configure: Regenerate. + +2018-01-13 Nick Clifton + + 2.30 branch created. + * NEWS: Add marker for 2.30. + +2018-01-12 Nick Clifton + + * README-how-to-make-a-release: Add notes on how to make the + branch and prelease snapshot. + * BRANCHES: Add binutils-2_29-branch. + +2018-01-10 Nick Clifton + + * MAINTAINERS: Note that it is now the configure.ac file and not + the configure.in file that needs to be kept in sync with gcc. + Add a note about sending patches for libiberty to gcc. + +2018-01-03 Nick Clifton + + * objcopy.c (merge_gnu_build_notes): Add cast to maximum address + constants. + +2018-01-03 Nick Clifton + + * objcopy.c (objcopy_internal_note): New structure. + (gap_exists): New function. + (is_open_note): New function. + (is_func_note): New function. + (is_64bit): New function. + (merge_gnu_build_notes): Handle v3 notes. Do not merge + if there are relocations against the notes. + * readelf.c (get_note_type): Use short names for build attribute + notes. + (print_symbol_for_build_attribute): Rename to + get_symbol_for_build_attribute. Returns the found symbol rather + than printing it. + (print_gnu_build_attribute_description): Maintain address ranges + for function notes as well as global notes. Handle v3 notes. + (print_gnu_build_attribute_name): Use more space for printing the + name in wide mode. + * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word. + Eliminate symbol references in order to remove the need for + relocations. + * testsuite/binutils-all/note-2-64.s: Likewise. + * testsuite/binutils-all/note-3-32.s: Add a size to the note_1 + symbol. + * testsuite/binutils-all/note-3-64.s: Likewise. + * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected + output. + * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise. + * testsuite/binutils-all/mips/mips-note-2r.d: Likewise. + * testsuite/binutils-all/note-2-32.d: Likewise. + * testsuite/binutils-all/note-2-64.d: Likewise. + * testsuite/binutils-all/note-3-32.d: Likewise. + * testsuite/binutils-all/note-3-64.d: Likewise. + * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes. + * testsuite/binutils-all/note-4-32.s: New test. + * testsuite/binutils-all/note-4-64.d: New test result file. + * testsuite/binutils-all/note-4-32.d: New test result file. + +2018-01-03 Alan Modra + + Update year range in copyright notice of all files. + +For older changes see ChangeLog-2017 + +Copyright (C) 2018 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog index ecae362353..c2900e0b00 100644 --- a/elfcpp/ChangeLog +++ b/elfcpp/ChangeLog @@ -1,57 +1,6 @@ -2018-08-29 Chenghua Xu - - * mips.c (EF_MIPS_MACH): New E_MIPS_MACH_GS264E. - -2018-08-29 Chenghua Xu - - * mips.c (EF_MIPS_MACH): New E_MIPS_MACH_GS464E. - -2018-08-29 Chenghua Xu - - * mips.c (EF_MIPS_MACH): Rename E_MIPS_MACH_LS3A to - E_MIPS_MACH_GS464. - -2018-08-29 Chenghua Xu - - * mips.h (AFL_ASE_LOONGSON_EXT): New enum. - -2018-07-06 Alan Modra - - * powerpc.h (Tag_GNU_Power_ABI_FP): Define. - (Tag_GNU_Power_ABI_Vector, Tag_GNU_Power_ABI_Struct_Return): Define. - -2018-06-24 Nick Clifton - - 2.31 branch created. - -2018-06-22 Cary Coutant - - PR gold/22914 - * elfcpp.h (NT_GNU_PROPERTY_TYPE_0): New note type. - (GNU_PROPERTY_*): New Gnu property types. - * x86_64.h (GNU_PROPERTY_X86_FEATURE_1_IBT) - (GNU_PROPERTY_X86_FEATURE_1_SHSTK): New x86 feature bits. - -2018-04-09 Alan Modra - - * powerpc.h (R_POWERPC_PLTSEQ, R_POWERPC_PLTCALL): Define. - -2018-03-28 Cary Coutant - - PR gold/22969 - * aarch64.h: Fix spelling of R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC. - -2018-01-13 Nick Clifton - - 2.30 branch created. - -2018-01-03 Alan Modra - - Update year range in copyright notice of all files. - -For older changes see ChangeLog-2017 +For older changes see ChangeLog-2018 -Copyright (C) 2018 Free Software Foundation, Inc. +Copyright (C) 2019 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/elfcpp/ChangeLog-2018 b/elfcpp/ChangeLog-2018 new file mode 100644 index 0000000000..ecae362353 --- /dev/null +++ b/elfcpp/ChangeLog-2018 @@ -0,0 +1,65 @@ +2018-08-29 Chenghua Xu + + * mips.c (EF_MIPS_MACH): New E_MIPS_MACH_GS264E. + +2018-08-29 Chenghua Xu + + * mips.c (EF_MIPS_MACH): New E_MIPS_MACH_GS464E. + +2018-08-29 Chenghua Xu + + * mips.c (EF_MIPS_MACH): Rename E_MIPS_MACH_LS3A to + E_MIPS_MACH_GS464. + +2018-08-29 Chenghua Xu + + * mips.h (AFL_ASE_LOONGSON_EXT): New enum. + +2018-07-06 Alan Modra + + * powerpc.h (Tag_GNU_Power_ABI_FP): Define. + (Tag_GNU_Power_ABI_Vector, Tag_GNU_Power_ABI_Struct_Return): Define. + +2018-06-24 Nick Clifton + + 2.31 branch created. + +2018-06-22 Cary Coutant + + PR gold/22914 + * elfcpp.h (NT_GNU_PROPERTY_TYPE_0): New note type. + (GNU_PROPERTY_*): New Gnu property types. + * x86_64.h (GNU_PROPERTY_X86_FEATURE_1_IBT) + (GNU_PROPERTY_X86_FEATURE_1_SHSTK): New x86 feature bits. + +2018-04-09 Alan Modra + + * powerpc.h (R_POWERPC_PLTSEQ, R_POWERPC_PLTCALL): Define. + +2018-03-28 Cary Coutant + + PR gold/22969 + * aarch64.h: Fix spelling of R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC. + +2018-01-13 Nick Clifton + + 2.30 branch created. + +2018-01-03 Alan Modra + + Update year range in copyright notice of all files. + +For older changes see ChangeLog-2017 + +Copyright (C) 2018 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gas/ChangeLog b/gas/ChangeLog index b21680a158..c2900e0b00 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5878 +1,6 @@ -2018-12-19 H.J. Lu - - PR gas/23997 - * config/tc-i386.c (x86_cons): Check for invalid PLT expression. - (md_apply_fix): Subtract the PLT relocation size only for jump - instructions. - * testsuite/gas/i386/reloc32.s: Add test for invalid PLT - expression. - * testsuite/gas/i386/reloc64.s: Likewise. - * testsuite/gas/i386/ilp32/reloc64.s: Likewise. - * testsuite/gas/i386/reloc32.l: Updated. - * testsuite/gas/i386/reloc64.l: Likewise. - * testsuite/gas/i386/ilp32/reloc64.l: Likewise. - -2018-12-14 H.J. Lu - - PR ld/23900 - * config/tc-i386.c (x86_cleanup): Don't set - GNU_PROPERTY_X86_UINT32_VALID. - * testsuite/gas/i386/property-1.s: Change - GNU_PROPERTY_X86_ISA_1_USED bits to 0. - -2018-12-13 Jeff Law - - * dw2gencfi.c (output_cie): Add missing semicolon in last - change. - -2018-12-13 Sam Tebbs - - * config/tc-aarch64.h (enum pointer_auth_key, - tc_fde_entry_extras, tc_cie_entry_extras, tc_fde_entry_init_extra, - tc_output_cie_extra, tc_cie_fde_equivalent_extra, - tc_cie_entry_init_extra): Define. - * dw2gencfi.c (struct cie_entry): Add tc_cie_entry_extras invocation. - (alloc_fde_entry, select_cie_for_fde): Add tc_fde_entry_init_extra - invocation. - (output_cie): Add tc_output_cie_extra invocation. - (select_cie_for_fde): Add tc_cie_fde_equivalent_extra invocation. - * dw2gencfi.h (enum pointer_auth_key): Move to config/tc-aarch64.h. - (struct fde_entry): Add tc_fde_entry_extras invocation - -2018-12-12 Andre Vieira - - * testsuite/gas/arm/blx-local-thumb.d: Skip arm-nto and - arm-netbsdelf. - -2018-12-10 Jim Wilson - - PR gas/23954 - * config/tc-riscv.c (my_getSmallExpression): Expand comment for - register support. Set expr_end if parse a register. - (riscv_ip) <'u'>: Break if imm_expr is not a symbol or constant. - * testsuite/gas/riscv/auipc-parsing.d: New. - * testsuite/gas/riscv/auipc-parsing.l: New. - * testsuite/gas/riscv/auipc-parsing.s: New. - -2018-12-09 H.J. Lu - - PR gas/23968 - * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Put back - BFD_RELOC_X86_64_GOTPCREL. - * testsuite/gas/i386/i386.exp: Run x86-64-gotpcrel-2. - * testsuite/gas/i386/x86-64-gotpcrel-2.d: New file. - * testsuite/gas/i386/x86-64-gotpcrel-2.s: Likewise. - * testsuite/gas/i386/ilp32/x86-64-gotpcrel-2.d: Likewise. - -2018-12-07 Jim Wilson - - PR gas/23956 - * config/tc-riscv.c (validate_riscv_insn) <'1'>: New case. - (percent_op_null): New. - (riscv_ip) <'j'>: Set imm_reloc before p. - <'1'>: New case. - <'0'>: Use percent_op_null and don't set imm_reloc. - : Handle *args == '1'. - * testsuite/gas/riscv/tprel-add.d: New. - * testsuite/gas/riscv/tprel-add.l: New. - * testsuite/gas/riscv/tprel-add.s: New. - -2018-12-06 Alan Modra - - * config/tc-ppc.c (md_assemble): Adjust relocs for VLE before - TLS tweaks. Handle e_li. Warn on unexpected operand field - for lo16/hi16/ha16 relocs. - -2018-12-06 Andrew Burgess - - * config/tc-riscv.h (FAKE_LABEL_NAME): Define as - RISCV_FAKE_LABEL_NAME. - (FAKE_LABEL_CHAR): Define as RISCV_FAKE_LABEL_CHAR. - -2018-12-05 Sam Tebbs - - * dw2gencfi.c (struct cie_entry): Add tc_cie_entry_extras invocation. - (alloc_fde_entry): Add tc_fde_entry_init_extra invocation. - (output_cie): Add tc_output_cie_extra invocation. - (select_cie_for_fde): Add tc_cie_fde_equivalent_extra and - tc_cie_entry_init_extra invocation. - (frch_cfi_data, cfa_save_data): Move to dwgencfi.h. - * config/tc-aarch64.c (s_aarch64_cfi_b_key_frame): Declare. - (md_pseudo_table): Add "cfi_b_key_frame". - * config/tc-aarch64.h (tc_fde_entry_extras, tc_cie_entry_extras, - tc_fde_entry_init_extra, tc_output_cie_extra, - tc_cie_fde_equivalent_extra, tc_cie_entry_init_extra): Define. - * dw2gencfi.h (struct fde_entry): Add tc_fde_entry_extras invocation. - (pointer_auth_key): Define. - (frch_cfi_data, cfa_save_data): Move from dwgencfi.c. - * doc/c-aarch64.texi (.cfi_b_key_frame): Add documentation. - * testsuite/gas/aarch64/(pac_ab_key.d, pac_ab_key.s): New file. - -2018-12-04 wu.heng - - PR 23939 - * dw2gencfi.c (dot_cfi_label): Check frch_cfi_data is non-NULL - before use. - -2018-12-03 Kito Cheng - - * config/tc-riscv.c: Include elfxx-riscv.h. - (struct riscv_subset): Removed. - (riscv_subsets): Change type to riscv_subset_list_t. - (riscv_subset_supports): Removed argument: xlen_required and move - logic into libbfd. - (riscv_multi_subset_supports): Removed argument: xlen_required. - (riscv_clear_subsets): Removed. - (riscv_add_subset): Ditto. - (riscv_set_arch): Extract parsing logic into libbfd. - (riscv_ip): Update argument for riscv_multi_subset_supports and - riscv_subset_supports. Update riscv_subsets due to struct definition - changed. - (riscv_after_parse_args): Update riscv_subsets due to struct - definition changed, update and argument for riscv_subset_supports. - * testsuite/gas/riscv/empty.s: New. - * testsuite/gas/riscv/march-fail-rv32ef.d: Likewise. - * testsuite/gas/riscv/march-fail-rv32ef.l: Likewise. - * testsuite/gas/riscv/march-fail-rv32i.d: Likewise. - * testsuite/gas/riscv/march-fail-rv32i.l: Likewise. - * testsuite/gas/riscv/march-fail-rv32iam.d: Likewise. - * testsuite/gas/riscv/march-fail-rv32iam.l: Likewise. - * testsuite/gas/riscv/march-fail-rv32ic.d: Likewise. - * testsuite/gas/riscv/march-fail-rv32ic.l: Likewise. - * testsuite/gas/riscv/march-fail-rv32icx2p.d: Likewise. - * testsuite/gas/riscv/march-fail-rv32icx2p.l: Likewise. - * testsuite/gas/riscv/march-fail-rv32imc.d: Likewise. - * testsuite/gas/riscv/march-fail-rv32imc.l: Likewise. - * testsuite/gas/riscv/march-fail-rv64I.d: Likewise. - * testsuite/gas/riscv/march-fail-rv64I.l: Likewise. - * testsuite/gas/riscv/march-fail-rv64e.d: Likewise. - * testsuite/gas/riscv/march-fail-rv64e.l: Likewise. - * testsuite/gas/riscv/march-ok-g2.d: Likewise. - * testsuite/gas/riscv/march-ok-g2p0.d: Likewise. - * testsuite/gas/riscv/march-ok-i2p0.d: Likewise. - * testsuite/gas/riscv/march-ok-nse-with-version.: Likewise.d - * testsuite/gas/riscv/march-ok-s-with-version.d: Likewise. - * testsuite/gas/riscv/march-ok-s.d: Likewise. - * testsuite/gas/riscv/march-ok-sx.d: Likewise. - * testsuite/gas/riscv/march-ok-two-nse.d: Likewise. - * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise. - * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise. - -018-12-03 Egeyar Bagcioglu - - PR 23193 - PR 19721 - * testsuite/gas/aarch64/pr19721.s: Add new test cases. - * testsuite/gas/aarch64/pr19721.d: Correct existing test - cases and add new ones. - -2018-12-03 Nick Clifton - - PR 23941 - * dwarf2dbg.c (DWARF2_LINE_VERSION): Change to 3. - * testsuite/gas/elf/dwarf2-3.d: Update expected output. - * testsuite/gas/elf/dwarf2-5.d: Likewise. - * testsuite/gas/i386/debug1.d: Likewise. - * testsuite/gas/i386/dw2-compress-1.d: Likewise. - * testsuite/gas/i386/dw2-compress-3a.d: Likewise. - * testsuite/gas/i386/dw2-compress-3b.d: Likewise. - * testsuite/gas/i386/dw2-compressed-1.d: Likewise. - * testsuite/gas/i386/dw2-compressed-3a.d: Likewise. - * testsuite/gas/i386/dw2-compressed-3b.d: Likewise. - * testsuite/gas/ia64/pr13167.d: Likewise. - * testsuite/gas/mips/loc-swap-2.d: Likewise. - * testsuite/gas/mips/loc-swap.d: Likewise. - * testsuite/gas/mips/micromips@loc-swap-2.d: Likewise. - * testsuite/gas/mips/micromips@loc-swap.d: Likewise. - * testsuite/gas/mips/mips16@loc-swap-2.d: Likewise. - * testsuite/gas/mips/mips16@loc-swap.d: Likewise. - * testsuite/gas/mips/mips16e@loc-swap.d: Likewise. - -2018-12-01 Alan Modra - - PR 23938 - * read.h (get_stab_string_offset): Update prototype. - * stabs.c (get_stab_string_offset): Add free_stabstr_secname - parameter. Free stabstr_secname if unused as section name. - Don't xstrdup name when used. - (s_stab_generic): Remove forward declaration. Add - stab_secname_obstack_end param. Reference notes obstack via - macros. Delete cached_secname. Adjust get_stab_string_offset - call. Free stab_secname if unused as section name. - (s_stab): Adjust s_stab_generic call. - (s_xstab): Likewise. Delete saved_secname and saved_strsecname. - * config/obj-elf.c (obj_elf_init_stab_section): Adjust - get_stab_string_offset call. - * config/obj-coff.c (obj_coff_init_stab_section): Likewise. - * config/obj-som.c (obj_som_init_stab_section): Likewise. - * testsuite/gas/all/pr23938.s: New test. - * testsuite/gas/all/gas.exp: Run it. - -2018-11-30 Fredrik Noring - - * config/tc-mips.c (mips_fix_r5900, mips_fix_r5900_explicit): - New variables. - (options): Add OPTION_FIX_R5900 and OPTION_NO_FIX_R5900 - enumeration constants. - (md_longopts): Add "mfix-r5900" and "mno-fix-r5900" options. - (can_swap_branch_p, md_parse_option, mips_after_parse_args): - Handle the new options. - (md_show_usage): Document the `-mfix-r5900' option. - * doc/as.texi: Likewise. - * doc/c-mips.texi: Likewise. - * testsuite/gas/mips/mips.exp: Run R5900 dump tests. - * testsuite/gas/mips/r5900-fix.d: Test `-mfix-r5900' option. - * testsuite/gas/mips/r5900-fix.s: Likewise. - * testsuite/gas/mips/r5900-no-fix.d: Test `-mno-fix-r5900'. - * testsuite/gas/mips/r5900-no-fix.s: Likewise. - -2018-11-27 Jim Wilson - - * config/tc-riscv.c (validate_riscv_insn) <'F'>: Add support for CF6 - and CF2 operands. - (riscv_ip) <'F'>: Likewise. - * doc/c-riscv.texi (RISC-V-Formats): Add func6 abbreviation. Use rs2 - instead of rs1 in CR description. Add CA docs. - * gas/testsuite/riscv/insn.s: Add use of .insn ca. - * gas/testsuite/riscv/insn.d: Update to match. - -2018-11-27 Thomas Preud'homme - - * testsuite/gas/arm/cpu-arm1020.d: New testcase. - * testsuite/gas/arm/cpu-arm1020e.d: Likewise. - * testsuite/gas/arm/cpu-arm1020t.d: Likewise. - * testsuite/gas/arm/cpu-arm1022e.d: Likewise. - * testsuite/gas/arm/cpu-arm1026ej-s.d: Likewise. - * testsuite/gas/arm/cpu-arm1026ejs.d: Likewise. - * testsuite/gas/arm/cpu-arm10e.d: Likewise. - * testsuite/gas/arm/cpu-arm10t.d: Likewise. - * testsuite/gas/arm/cpu-arm10tdmi.d: Likewise. - * testsuite/gas/arm/cpu-arm1136j-s.d: Likewise. - * testsuite/gas/arm/cpu-arm1136jf-s.d: Likewise. - * testsuite/gas/arm/cpu-arm1136jfs.d: Likewise. - * testsuite/gas/arm/cpu-arm1136js.d: Likewise. - * testsuite/gas/arm/cpu-arm1156t2-s.d: Likewise. - * testsuite/gas/arm/cpu-arm1156t2f-s.d: Likewise. - * testsuite/gas/arm/cpu-arm1176jz-s.d: Likewise. - * testsuite/gas/arm/cpu-arm1176jzf-s.d: Likewise. - * testsuite/gas/arm/cpu-arm2.d: Likewise. - * testsuite/gas/arm/cpu-arm250.d: Likewise. - * testsuite/gas/arm/cpu-arm3.d: Likewise. - * testsuite/gas/arm/cpu-arm6.d: Likewise. - * testsuite/gas/arm/cpu-arm60.d: Likewise. - * testsuite/gas/arm/cpu-arm600.d: Likewise. - * testsuite/gas/arm/cpu-arm610.d: Likewise. - * testsuite/gas/arm/cpu-arm620.d: Likewise. - * testsuite/gas/arm/cpu-arm7.d: Likewise. - * testsuite/gas/arm/cpu-arm70.d: Likewise. - * testsuite/gas/arm/cpu-arm700.d: Likewise. - * testsuite/gas/arm/cpu-arm700i.d: Likewise. - * testsuite/gas/arm/cpu-arm710.d: Likewise. - * testsuite/gas/arm/cpu-arm7100.d: Likewise. - * testsuite/gas/arm/cpu-arm710c.d: Likewise. - * testsuite/gas/arm/cpu-arm710t.d: Likewise. - * testsuite/gas/arm/cpu-arm720.d: Likewise. - * testsuite/gas/arm/cpu-arm720t.d: Likewise. - * testsuite/gas/arm/cpu-arm740t.d: Likewise. - * testsuite/gas/arm/cpu-arm7500.d: Likewise. - * testsuite/gas/arm/cpu-arm7500fe.d: Likewise. - * testsuite/gas/arm/cpu-arm7d.d: Likewise. - * testsuite/gas/arm/cpu-arm7di.d: Likewise. - * testsuite/gas/arm/cpu-arm7dm.d: Likewise. - * testsuite/gas/arm/cpu-arm7dmi.d: Likewise. - * testsuite/gas/arm/cpu-arm7m.d: Likewise. - * testsuite/gas/arm/cpu-arm7t.d: Likewise. - * testsuite/gas/arm/cpu-arm7tdmi-s.d: Likewise. - * testsuite/gas/arm/cpu-arm7tdmi.d: Likewise. - * testsuite/gas/arm/cpu-arm8.d: Likewise. - * testsuite/gas/arm/cpu-arm810.d: Likewise. - * testsuite/gas/arm/cpu-arm9.d: Likewise. - * testsuite/gas/arm/cpu-arm920.d: Likewise. - * testsuite/gas/arm/cpu-arm920t.d: Likewise. - * testsuite/gas/arm/cpu-arm922t.d: Likewise. - * testsuite/gas/arm/cpu-arm926ej-s.d: Likewise. - * testsuite/gas/arm/cpu-arm926ej.d: Likewise. - * testsuite/gas/arm/cpu-arm926ejs.d: Likewise. - * testsuite/gas/arm/cpu-arm940t.d: Likewise. - * testsuite/gas/arm/cpu-arm946e-r0.d: Likewise. - * testsuite/gas/arm/cpu-arm946e-s.d: Likewise. - * testsuite/gas/arm/cpu-arm946e.d: Likewise. - * testsuite/gas/arm/cpu-arm966e-r0.d: Likewise. - * testsuite/gas/arm/cpu-arm966e-s.d: Likewise. - * testsuite/gas/arm/cpu-arm966e.d: Likewise. - * testsuite/gas/arm/cpu-arm968e-s.d: Likewise. - * testsuite/gas/arm/cpu-arm9e-r0.d: Likewise. - * testsuite/gas/arm/cpu-arm9e.d: Likewise. - * testsuite/gas/arm/cpu-arm9tdmi.d: Likewise. - * testsuite/gas/arm/cpu-arm_any.d: Likewise. - * testsuite/gas/arm/cpu-cortex-a12.d: Likewise. - * testsuite/gas/arm/cpu-cortex-a15.d: Likewise. - * testsuite/gas/arm/cpu-cortex-a17.d: Likewise. - * testsuite/gas/arm/cpu-cortex-a32.d: Likewise. - * testsuite/gas/arm/cpu-cortex-a35.d: Likewise. - * testsuite/gas/arm/cpu-cortex-a5.d: Likewise. - * testsuite/gas/arm/cpu-cortex-a53.d: Likewise. - * testsuite/gas/arm/cpu-cortex-a55.d: Likewise. - * testsuite/gas/arm/cpu-cortex-a57.d: Likewise. - * testsuite/gas/arm/cpu-cortex-a7.d: Likewise. - * testsuite/gas/arm/cpu-cortex-a72.d: Likewise. - * testsuite/gas/arm/cpu-cortex-a73.d: Likewise. - * testsuite/gas/arm/cpu-cortex-a75.d: Likewise. - * testsuite/gas/arm/cpu-cortex-a76.d: Likewise. - * testsuite/gas/arm/cpu-cortex-a8.d: Likewise. - * testsuite/gas/arm/cpu-cortex-a9.d: Likewise. - * testsuite/gas/arm/cpu-cortex-m0.d: Likewise. - * testsuite/gas/arm/cpu-cortex-m0plus.d: Likewise. - * testsuite/gas/arm/cpu-cortex-m1.d: Likewise. - * testsuite/gas/arm/cpu-cortex-m23.d: Likewise. - * testsuite/gas/arm/cpu-cortex-m3.d: Likewise. - * testsuite/gas/arm/cpu-cortex-m33.d: Likewise. - * testsuite/gas/arm/cpu-cortex-m4.d: Likewise. - * testsuite/gas/arm/cpu-cortex-m7.d: Likewise. - * testsuite/gas/arm/cpu-cortex-r4.d: Likewise. - * testsuite/gas/arm/cpu-cortex-r4f.d: Likewise. - * testsuite/gas/arm/cpu-cortex-r5.d: Likewise. - * testsuite/gas/arm/cpu-cortex-r52.d: Likewise. - * testsuite/gas/arm/cpu-cortex-r7.d: Likewise. - * testsuite/gas/arm/cpu-cortex-r8.d: Likewise. - * testsuite/gas/arm/cpu-ep9312.d: Likewise. - * testsuite/gas/arm/cpu-exynos-m1.d: Likewise. - * testsuite/gas/arm/cpu-fa526.d: Likewise. - * testsuite/gas/arm/cpu-fa606te.d: Likewise. - * testsuite/gas/arm/cpu-fa616te.d: Likewise. - * testsuite/gas/arm/cpu-fa626.d: Likewise. - * testsuite/gas/arm/cpu-fa626te.d: Likewise. - * testsuite/gas/arm/cpu-fa726te.d: Likewise. - * testsuite/gas/arm/cpu-fmp626.d: Likewise. - * testsuite/gas/arm/cpu-i80200.d: Likewise. - * testsuite/gas/arm/cpu-iwmmxt.d: Likewise. - * testsuite/gas/arm/cpu-iwmmxt2.d: Likewise. - * testsuite/gas/arm/cpu-marvell-pj4.d: Likewise. - * testsuite/gas/arm/cpu-marvell-whitney.d: Likewise. - * testsuite/gas/arm/cpu-mpcore.d: Likewise. - * testsuite/gas/arm/cpu-mpcorenovfp.d: Likewise. - * testsuite/gas/arm/cpu-sa1.d: Likewise. - * testsuite/gas/arm/cpu-strongarm.d: Likewise. - * testsuite/gas/arm/cpu-strongarm1.d: Likewise. - * testsuite/gas/arm/cpu-strongarm110.d: Likewise. - * testsuite/gas/arm/cpu-strongarm1100.d: Likewise. - * testsuite/gas/arm/cpu-strongarm1110.d: Likewise. - * testsuite/gas/arm/cpu-xgene1.d: Likewise. - * testsuite/gas/arm/cpu-xgene2.d: Likewise. - * testsuite/gas/arm/cpu-xscale.d: Likewise. - * testsuite/gas/arm/nop-asm.s: Likewise. - * testsuite/gas/arm/note-march-armv2.d: Likewise. - * testsuite/gas/arm/note-march-armv2.s: Likewise. - * testsuite/gas/arm/note-march-armv2a.d: Likewise. - * testsuite/gas/arm/note-march-armv2a.s: Likewise. - * testsuite/gas/arm/note-march-armv3.d: Likewise. - * testsuite/gas/arm/note-march-armv3.s: Likewise. - * testsuite/gas/arm/note-march-armv3m.d: Likewise. - * testsuite/gas/arm/note-march-armv3m.s: Likewise. - * testsuite/gas/arm/note-march-armv4.d: Likewise. - * testsuite/gas/arm/note-march-armv4.s: Likewise. - * testsuite/gas/arm/note-march-armv4t.d: Likewise. - * testsuite/gas/arm/note-march-armv4t.s: Likewise. - * testsuite/gas/arm/note-march-armv5.d: Likewise. - * testsuite/gas/arm/note-march-armv5.s: Likewise. - * testsuite/gas/arm/note-march-armv5t.d: Likewise. - * testsuite/gas/arm/note-march-armv5t.s: Likewise. - * testsuite/gas/arm/note-march-armv5te.d: Likewise. - * testsuite/gas/arm/note-march-armv5te.d: Likewise. - * testsuite/gas/arm/note-march-ep9312.d: Likewise. - * testsuite/gas/arm/note-march-ep9312.s: Likewise. - * testsuite/gas/arm/note-march-iwmmxt.d: Likewise. - * testsuite/gas/arm/note-march-iwmmxt.s: Likewise. - * testsuite/gas/arm/note-march-iwmmxt2.d: Likewise. - * testsuite/gas/arm/note-march-iwmmxt2.s: Likewise. - * testsuite/gas/arm/note-march-xscale.d: Likewise. - * testsuite/gas/arm/note-march-xscale.s: Likewise. - -2018-11-27 Jozef Lawrynowicz - - * config/tc-msp430.c (is_dint): New. - (is_eint): New. - (gen_nop): New. - (warn_eint_nop): New. - (warn_unsure_interrupt): New. - (msp430_operands): Determine the effect MOV #N,SR insns have on - interrupt state. - Only emit NOP warnings for 430 ISA in certain situations. - (msp430_md_end): Only warn about an EINT at the end of the file - if NOP warnings are enabled. - * testsuite/gas/msp430/bad.l: Adjust expected output for new warnings. - * testsuite/gas/msp430/msp430.exp: Run new tests. - * testsuite/gas/msp430/nop-dint-430.d: New. - * testsuite/gas/msp430/nop-dint-430.l: New. - * testsuite/gas/msp430/nop-dint-430x-ignore.d: New. - * testsuite/gas/msp430/nop-dint-430x-silent.d: New. - * testsuite/gas/msp430/nop-dint-430x.d: New. - * testsuite/gas/msp430/nop-dint-430x.l: New. - * testsuite/gas/msp430/nop-dint.s: New. - * testsuite/gas/msp430/nop-eint-430.d: New. - * testsuite/gas/msp430/nop-eint-430.l: New. - * testsuite/gas/msp430/nop-eint-430x-ignore.d: New. - * testsuite/gas/msp430/nop-eint-430x-silent.d: New. - * testsuite/gas/msp430/nop-eint-430x.d: New. - * testsuite/gas/msp430/nop-eint-430x.l: New. - * testsuite/gas/msp430/nop-eint.s: New. - * testsuite/gas/msp430/nop-int-430.d: New. - * testsuite/gas/msp430/nop-int-430.l: New. - * testsuite/gas/msp430/nop-int-430x-silent.d: New. - * testsuite/gas/msp430/nop-int-430x.d: New. - * testsuite/gas/msp430/nop-int-430x.l: New. - * testsuite/gas/msp430/nop-int.s: New. - -2018-11-23 Andre Vieira - - * testsuite/gas/arm/bl-local-v4t.d: Remove - warning check. - * testsuite/gas/arm/blx-local-thumb.s: New. - * testsuite/gas/arm/blx-local-thumb.d: New. - -2018-11-21 John Darrington - - * testsuite/gas/s12z/shift.s: Add new test case. - * testsuite/gas/s12z/shift.d: Add expected result. - -2018-11-21 John Darrington - - * config/tc-s12z.c (opcodes): bhs, blo: New members. - * testsuite/gas/s12z/bra.d: Add tests for aliases. - * testsuite/gas/s12z/bra.s: Add tests for aliases. - -2018-11-13 Thomas Preud'homme - - * config/tc-arm.c (arm_archs): Reindent. - -2018-11-12 Sudakshina Das - - * testsuite/gas/aarch64/sysreg-4.s: Test IGVAC, IGSW, - CGSW, CIGSW, CGVAC, CGVAP, CGVADP, CIGVAC, GVA, - IGDVAC, IGDSW, CGDSW, CIGDSW, CGDVAC, CGDVAP, CGDVADP, - CIGDVAC and GZVA with DC. - * testsuite/gas/aarch64/sysreg-4.d: Likewise. - * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise. - -2018-11-12 Sudakshina Das - - * testsuite/gas/aarch64/sysreg-4.s: Test TCO, TFSRE0_SL1, - TFSR_EL1, TFSR_EL2, TFSR_EL3, TFSR_EL12, RGSR_EL1 and - GCR_EL1 MSR and MRS. - * testsuite/gas/aarch64/sysreg-4.d: Likewise. - * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise. - -2018-11-12 Sudakshina Das - - * config/tc-aarch64.c (parse_operands): Add switch case for - AARCH64_OPND_ADDR_SIMPLE_2 and allow [base]! for it. - (warn_unpredictable_ldst): Exempt ldstgv_indexed for ldgv. - * testsuite/gas/aarch64/armv8_5-a-memtag.s: Add tests for ldgv and stgv. - * testsuite/gas/aarch64/armv8_5-a-memtag.d: Likewise. - * testsuite/gas/aarch64/illegal-memtag.s: Likewise. - * testsuite/gas/aarch64/illegal-memtag.l: Likewise. - -2018-11-12 Sudakshina Das - - * testsuite/gas/aarch64/armv8_5-a-memtag.s: Add tests for ldg. - * testsuite/gas/aarch64/armv8_5-a-memtag.d: Likewise. - * testsuite/gas/aarch64/illegal-memtag.s: Likewise. - * testsuite/gas/aarch64/illegal-memtag.l: Likewise. - -2018-11-12 Sudakshina Das - - * config/tc-aarch64.c (parse_operands): Add switch case for - AARCH64_OPND_ADDR_SIMM11 and AARCH64_OPND_ADDR_SIMM13. - (fix_insn): Likewise. - (warn_unpredictable_ldst): Exempt STGP. - * testsuite/gas/aarch64/armv8_5-a-memtag.s: Add tests for stg, st2g, - stzg, stz2g and stgp. - * testsuite/gas/aarch64/armv8_5-a-memtag.d: Likewise. - * testsuite/gas/aarch64/illegal-memtag.s: Likewise. - * testsuite/gas/aarch64/illegal-memtag.l: Likewise. - -2018-11-12 Sudakshina Das - - * testsuite/gas/aarch64/armv8_5-a-memtag.s: Add tests for subp, - subps and cmpp. - * testsuite/gas/aarch64/armv8_5-a-memtag.d: Likewise. - * testsuite/gas/aarch64/illegal-memtag.s: Likewise. - * testsuite/gas/aarch64/illegal-memtag.l: Likewise. - -2018-11-12 Sudakshina Das - - * config/tc-aarch64.c (parse_operands): Add switch case for - AARCH64_OPND_UIMM4_ADDG and AARCH64_OPND_UIMM10. - * testsuite/gas/aarch64/armv8_5-a-memtag.s: New. - * testsuite/gas/aarch64/armv8_5-a-memtag.d: Likewise. - * testsuite/gas/aarch64/illegal-memtag.s: Likewise. - * testsuite/gas/aarch64/illegal-memtag.l: Likewise. - * testsuite/gas/aarch64/illegal-memtag.d: Likewise. - -2018-11-12 Sudakshina Das - - * config/tc-aarch64.c (aarch64_features): Add "memtag" - as a new option. - * doc/c-aarch64.texi: Document the same. - -2018-11-09 Alan Modra - - * config/tc-ppc.c (fixup_size): New function. - (md_assemble): Use it to derive size and pcrel directly - from fixup reloc type. - -2018-11-07 Nick Clifton - - * po/fr.po: Updated French translation. - -2018-11-07 Yoshinori Sato - - * configure.tgt: Add rx-*-linux. - * config/tc-rx.h (TARGET_FORMAT): Add "elf32-rx-linux". - -2018-11-06 Matthew Malcomson - - * testsuite/gas/arm/neon-cond-bad_t2.d: Fix testcase for PE target. - -2018-11-06 Matthew Malcomson - - * config/tc-arm.c (do_neon_cvt_1): Add check for neon and condition - codes to half-precision conversion. - * testsuite/gas/arm/neon-cond-bad-inc.s: Check vcvteq disallowed. - * testsuite/gas/arm/neon-cond-bad.l: Likewise. - * testsuite/gas/arm/neon-cond-bad_t2.d: Check vcvteq allowed in IT - block. - * testsuite/gas/arm/vfp-bad.l: Ensure vcvt doesn't work without neon. - * testsuite/gas/arm/vfp-bad.s: Likewise. - -2018-11-06 Alan Modra - - * config/tc-ppc.c (insn_validate): Don't ignore mask in - PPC_OPSHIFT_INV case. Call the insert function to calculate - a mask. - -2018-11-06 Alan Modra - - * config/tc-ppc.c (insn_validate): Check that optional operands - are not followed by non-optional operands. - -2018-11-06 Jan Beulich - - * testsuite/gas/i386/evex-wig.s: Add vpbroadcastd cases. - * testsuite/gas/i386/evex-wig.d, - testsuite/gas/i386/evex-wig1-intel.d: Adjust expectations. - -2018-11-06 Jan Beulich - - * testsuite/gas/i386/evex-wig.s: Add vmovd cases. - * testsuite/gas/i386/evex-wig.d, - testsuite/gas/i386/evex-wig1-intel.d: Adjust expectations. - -2018-11-06 Jan Beulich - - * testsuite/gas/i386/avx-wig.s: Add kmovd cases. - * testsuite/gas/i386/avx-wig.d: Adjust expectations. - -2018-11-06 Jan Beulich - - * testsuite/gas/i386/avx-wig.s, - testsuite/gas/i386/x86-64-avx-wig.s: Add vpextrb, vpextrw, - vpinsrb, and vpinsrw cases. - * testsuite/gas/i386/evex-wig.s: Add vpextrd and vpinsrd cases. - * testsuite/gas/i386/avx-wig.d, testsuite/gas/i386/evex-wig.d, - testsuite/gas/i386/evex-wig1-intel.d, - testsuite/gas/i386/x86-64-avx-wig.d: Adjust expectations. - -2018-11-06 Jan Beulich - - * config/tc-i386.c (build_vex_prefix, build_evex_prefix): - Consider execution mode when .vexw is not set. - * testsuite/gas/i386/avx-wig.s, - testsuite/gas/i386/x86-64-avx-wig.s: Add BMI, BMI2, TBM, LWP, - vcvtsi2s*, vcvt*2si, vmovd, vpcmpestr*, vpextrd, and vpinsrd - cases. - * testsuite/gas/i386/evex-wig.s: Add vcvt*si2s*, vcvt*2*si, - vextractps, vpextrb, vpextrw, vpinsrb, and vpinsrw cases. - * testsuite/gas/i386/x86-64-evex-wig.s: Add vpextrb, vpextrw, - vpinsrb, and vpinsrw cases. - * testsuite/gas/i386/avx-wig.d, testsuite/gas/i386/evex-wig.d, - testsuite/gas/i386/evex-wig1-intel.d, - testsuite/gas/i386/x86-64-evex-wig1.d, - testsuite/gas/i386/x86-64-evex-wig1-intel.d: Adjust expectations. - * testsuite/gas/i386/evex-wig2.d, - testsuite/gas/i386/evex-wig2.s: Delete. - * testsuite/gas/i386/i386.exp: Drop deleted test. - -2018-11-06 Jan Beulich - - * testsuite/gas/i386/evex-lig-2.s, - testsuite/gas/i386/x86-64-evex-lig-2.s: Add extract and insert - cases. - * testsuite/gas/i386/evex-lig-2.d, - testsuite/gas/i386/x86-64-evex-lig-2.d: Adjust expectations. - * testsuite/gas/i386/vex-lig-2.s, - testsuite/gas/i386/vex-lig-2.d, - testsuite/gas/i386/x86-64-vex-lig-2.s, - testsuite/gas/i386/x86-64-vex-lig-2.d: New. - * testsuite/gas/i386/i386.exp: Run new tests. - -2018-11-06 Jan Beulich - - * testsuite/gas/i386/pseudos.s, - testsuite/gas/i386/x86-64-pseudos.s: Add pextrw / vpextrw cases. - * testsuite/gas/i386/pseudos.d, - testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations. - -2018-11-06 Jan Beulich - - * testsuite/gas/i386/avx-wig.s, - testsuite/gas/i386/x86-64-avx-wig.s: Add vandp*, vandnp*, vorp*, - vcmpeq*, and vcvtss2sd cases. - * testsuite/gas/i386/avx2-wig.s, - testsuite/gas/i386/x86-64-avx2-wig.s: Drop redundant vmovntdqa - case. - * testsuite/gas/i386/avx-wig.d, testsuite/gas/i386/avx2-wig.d, - testsuite/gas/i386/x86-64-avx-wig.d, - testsuite/gas/i386/x86-64-avx2-wig.d: Adjust expectations. - -2018-11-05 H.J. Lu - - PR gas/23854 - * config/tc-i386.c (output_disp): Disable GOT relaxation with - data prefix. - * testsuite/gas/i386/mixed-mode-reloc32.d: Updated. - -2018-11-01 Thomas Preud'homme - - * testsuite/config/default.exp: Define LD, LDFLAGS and - ld_elf_shared_opt. - -2018-10-31 Andre Vieira - - * testsuite/gas/arm/armv8-a+rdma-warning.d: Remove objdump execution. - -2018-10-31 Andre Vieira - - * testsuite/gas/arm/udf.d: Update expected output. - -2018-10-31 Andre Vieira - - * testsuite/gas/arm/armv1.d: Assemble for Armv1 and disassemble for - Armv2. - -2018-10-29 Alan Modra - - * Makefile.am (HFILES): Delete struc-symbol.h. - * doc/internals.texi: Delete struc-symbol.h reference and out - of date local symbol description. - * struc-symbol.h: Delete. Move contents to.. - * symbols.c: ..here. - (symbol_on_chain, symbol_symbolS): New functions. - * symbols.h (symbol_on_chain, symbol_symbolS): Declare. - * cgen.c: Don't #include struc-symbol.h. - (gas_cgen_parse_operand): Don't test for local_symbol using - bsym, instead call symbol_symbolS. Use symbol_get_bfdsym. - (weak_operand_overflow_check, make_right_shifted_expr): Use - symbol accessors. - * config/obj-coff.c: Don't #include struc-symbol.h. - (GET_FILENAME_STRING): Delete. - * config/obj-elf.c: Don't #include struc-symbol.h. - (elf_file_symbol): Use symbol accessors. - (elf_adjust_symtab): Call symbol_on_chain. - * config/obj-evax.c: Don't #include struc-symbol.h. - * config/tc-nds32.c: Likewise. - * config/tc-rl78.c: Likewise. - * config/tc-rx.c: Likewise. - * config/tc-alpha.c: Likewise. - (add_to_link_pool, s_alpha_comm): Use symbol accessors. - * config/tc-arc.c: Don't #include struc-symbol.h. - (arc_check_relocs): Use symbol accessors, testing gas symbol - section rather than bfd symbol section. - * config/tc-avr.c: Don't #include struc-symbol.h. - (avr_patch_gccisr_frag): Use symbol accessors. - * config/tc-bfin.c: Don't #include struc-symbol.h. - (bfin_loop_beginend): Use symbol accessors. - * config/tc-csky.c: Don't #include struc-symbol.h. - (v2_work_movih, v2_work_ori): Use symbol accessors. Check for - absolute symbol as well as O_constant. - * config/tc-riscv.c: Don't #include struc-symbol.h. - (riscv_pre_output_hook): Use symbol accessors. - * config/tc-s390.c: Don't #include struc-symbol.h. - (s390_literals): Use symbol accessors. - * config/tc-score.c (s3_build_la_pic, s3_build_lwst_pic): Use - symbol accessors. - (s3_relax_branch_inst16, s3_relax_cmpbranch_inst32): Don't - test symbol bsym. - * config/tc-score7.c: Don't #include struc-symbol.h. - (s7_build_la_pic, s7_build_lwst_pic): Use symbol accessors. - (s7_b32_relax_to_b16): Don't test symbol bsym. - * config/tc-sh.c: Don't #include struc-symbol.h. - (insert_loop_bounds): Use symbol accessors. - (sh_frob_section): Remove bogus symbol canonicalization. - * config/tc-tic54x.c: Don't #include struc-symbol.h. - (tic54x_bss): Use symbol accessors. - * config/tc-tilegx.c: Don't #include struc-symbol.h. - (emit_tilegx_instruction, tilegx_parse_name): Use symbol accessors. - * config/tc-tilepro.c: Don't #include struc-symbol.h. - (emit_tilepro_instruction, tilepro_parse_name): Use accessors. - * config/tc-xtensa.c: Don't #include struc-symbol.h. - (xg_assemble_vliw_tokens): Use symbol accessors. - (xg_order_trampoline_chain): Likewise. - * ehopt.c: Don't #include struc-symbol.h. - (check_eh_frame): Correct local symbol test. Use symbol accessors. - * write.c: Don't #include struc-symbol.h. - (create_note_reloc, maybe_generate_build_notes): Use symbol accessors. - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-10-28 Alan Modra - - PR 23837 - * config/tc-hppa.c: Don't include struc-symbol.h. - (pa_build_unwind_subspace): Call symbol_get_frag rather than - referencing sy_frag. - -2018-10-23 John Darrington - - * config/tc-s12z.c (md_apply_fix): Handle BFD_RELOC_16 for fixups - without a symbol. - -2018-10-22 Alan Modra - - * testsuite/gas/all/simple-forward.d, - * testsuite/gas/all/simple-forward.s: New test. - * testsuite/gas/all/gas.exp: Run it. - * testsuite/gas/all/eqv-dot.d: xfail tic30 and tic54x. - -2018-10-22 Alan Modra - - * config/tc-alpha.c (md_apply_fix): Handle BFD_RELOC_8 for fixups - without a symbol. - * testsuite/gas/all/gas.exp: Don't xfail forward test here.. - * testsuite/gas/all/forward.d: ..do so here, removing alpha. - -2018-10-22 Alan Modra - - PR 23040 - * symbols.c (get_real_sym): New function. - (symbol_same_p): Use get_real_sym. - (symbol_clone_if_forward_ref): Save real original add_symbol and - op_symbol for comparison against that returned from lookup or - recursive calls. - * dwarf2dbg.c (set_or_check_view): Use expr_section for - expression symbols, not absolute_section. - (dwarf2_directive_loc): Check symbol_equated_p and tidy cloning - of view symbols. - * read.c (s_leb128): Don't use deferred_expression. - -2018-10-20 Alan Modra - - PR 23800 - * expr.c (expr): Don't simplify expressions involving forward_ref - symbols when mode is expr_defer. - * config/tc-spu.c (spu_cons): Parse expression using normal - expression evaluation if @ppu is not detected. - * testsuite/gas/all/eqv-dot.d, - * testsuite/gas/all/eqv-dot.s: New test. - * testsuite/gas/all/gas.exp: Run it. - -2018-10-19 Tamar Christina - - * testsuite/gas/arm/undefined-insn-arm.d: Widen pe skip. - * testsuite/gas/arm/undefined-insn-thumb.d: Likewise. - -2018-10-19 Tamar Christina - - * testsuite/gas/arm/undefined-insn-arm.d: New test. - * testsuite/gas/arm/undefined-insn-thumb.d: New test. - * testsuite/gas/arm/undefined-insn.s: New test. - -2018-10-19 Fredrik Noring - - * testsuite/gas/mips/r5900.s: Extend the R5900 short loop fix - test with border cases. - * testsuite/gas/mips/r5900.d: Add extra expected disassembly. - * config/tc-mips.c (can_swap_branch_p): Clarify the R5900 short - loop hardware bug conditions. Correct note on the R5900 - instruction count short loop fix. - -2018-10-16 Matthew Malcomson - - * testsuite/gas/aarch64/illegal-dotproduct.d: New test. - * testsuite/gas/aarch64/illegal-dotproduct.l: New test. - * testsuite/gas/aarch64/illegal-dotproduct.s: New test. - - -2018-10-15 Alan Modra - - PR 23534 - * as.c (main): Exit with fatal error if bfd_init returns an - unexpected value. - -2018-10-11 Jan Beulich - - * testsuite/gas/i386/xmmword.s: Add MOVQ / VMOVQ cases. - * testsuite/gas/i386/xmmword.l: Adjust expectations. - -2018-10-10 Jan Beulich - - * config/tc-i386.c (parse_insn, process_suffix): Replace - opcode_modifier.size uses. - -2018-10-09 Sudakshina Das - - * config/tc-aarch64.c (aarch64_features): Add new "ssbs". - * doc/c-aarch64.texi: Document the same. - * testsuite/gas/aarch64/ssbs-illegal1.d: New test. - * testsuite/gas/aarch64/ssbs-illegal1.l: New test. - * testsuite/gas/aarch64/ssbs-illegal2.d: New test. - * testsuite/gas/aarch64/ssbs-illegal2.l: New test. - * testsuite/gas/aarch64/ssbs.s: New test. - * testsuite/gas/aarch64/ssbs1.d: Test with +ssbs - * testsuite/gas/aarch64/ssbs2.d: Test with armv8.5-a. - -2018-10-09 Sudakshina Das - - * testsuite/gas/aarch64/sysreg-4.s: Test registers - scxtnum_el[0,1,2,3,12] and id_pfr2_el1. - * testsuite/gas/aarch64/sysreg-4.d: Likewise. - * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise. - -2018-10-09 Sudakshina Das - - * config/tc-aarch64.c (parse_bti_operand): New. - (process_omitted_operand): Add case for AARCH64_OPND_BTI_TARGET. - (parse_operands): Likewise. - * testsuite/gas/aarch64/system.d: Update for BTI. - * testsuite/gas/aarch64/bti.s: New. - * testsuite/gas/aarch64/bti.d: New. - * testsuite/gas/aarch64/illegal-bti.d: New. - * testsuite/gas/aarch64/illegal-bti.l: New. - -2018-10-09 Sudakshina Das - - * config/tc-aarch64.c (aarch64_features): New "rng" option. - * doc/c-aarch64.texi: Document the same. - * testsuite/gas/aarch64/sysreg-4.s: Test both instructions. - * testsuite/gas/aarch64/sysreg-4.d: Likewise. - * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise. - -2018-10-09 Sudakshina Das - - * testsuite/gas/aarch64/sysreg-4.s: Test instruction. - * testsuite/gas/aarch64/sysreg-4.d: Likewise. - * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise. - -2018-10-09 Sudakshina Das - - * config/tc-aarch64.c (aarch64_sys_regs_sr_hsh): New. - (parse_operands): Add entry for AARCH64_OPND_SYSREG_SR. - (md_begin): Allocate and initialize aarch64_sys_regs_sr_hsh - with aarch64_sys_regs_sr. - (aarch64_features): Add new "predres" option for older - architectures. - * doc/c-aarch64.texi: Document the same. - * testsuite/gas/aarch64/sysreg-4.s: New. - * testsuite/gas/aarch64/sysreg-4.d: New. - * testsuite/gas/aarch64/illegal-sysreg-4.d: New. - * testsuite/gas/aarch64/illegal-sysreg-4.l: New. - * testsuite/gas/aarch64/predres.s: New. - * testsuite/gas/aarch64/predres.d: New. - -2018-10-09 Sudakshina Das - - * config/tc-aarch64.c (aarch64_features): Add new "sb" option - for older architectures. - * doc/c-aarch64.texi: Document the same. - * testsuite/gas/aarch64/sb.s: New. - * testsuite/gas/aarch64/sb.d: New. - -2018-10-09 Sudakshina Das - - * testsuite/gas/aarch64/armv8_5-a-dp.s: New. - * testsuite/gas/aarch64/armv8_5-a-dp.d: New. - -2018-10-09 Sudakshina Das - - * config/tc-aarch64.c (aarch64_archs): New entry for armv8.5-a. - * doc/c-aarch64.texi: Add documentation for the same. - -2018-10-05 H.J. Lu - - - * testsuite/gas/i386/se1.s: Add enclv. - * testsuite/gas/i386/x86-64-se1.s: Likewise. - * testsuite/gas/i386/se1.d: Updated. - * testsuite/gas/i386/x86-64-se1.d: Likewise. - -2018-10-05 Sudakshina Das - - * config/tc-arm.c (arm_ext_predres): New. - (insns): Add new cfprctx, dvprctx and cpprctx instructions. - (arm_extensions): Add "predres". - * doc/c-arm.texi: Document the above. - * testsuite/gas/arm/predres-bad.d: New test. - * testsuite/gas/arm/predres-bad.l: New test. - * testsuite/gas/arm/predres.s: New test. - * testsuite/gas/arm/predres1.d: New test. - * testsuite/gas/arm/predres2.d: New test. - -2018-10-05 Sudakshina Das - - * config/tc-arm.c (arm_ext_sb): New. - (insns): Add new sb instruction. - (arm_extensions): Add "sb". - * doc/c-arm.texi: Document the above. - * testsuite/gas/arm/sb-bad.d: New test. - * testsuite/gas/arm/sb-bad.l: New test. - * testsuite/gas/arm/sb-thumb1.d: New test. - * testsuite/gas/arm/sb-thumb2.d: New test. - * testsuite/gas/arm/sb.s: New test. - * testsuite/gas/arm/sb1.d: New test. - * testsuite/gas/arm/sb2.d: New test. - -2018-10-05 Sudakshina Das - - * config/tc-arm.c (arm_archs): New entry for armv8.5-a. - (cpu_arch_ver): Likewise. - * doc/c-arm.texi: Add documentation for the same. - * testsuite/gas/arm/attr-march-armv8_5-a.d: New. - -2018-10-05 Stafford Horne - - * doc/Makefile.am (CPU_DOCS): Add entry for OpenRISC. - * doc/Makefile.in: Regenerated. - * doc/all.texi: Set OPENRISC. - * doc/as.texi: Document OpenRISC. - * doc/c-or1k.texi: New file. - -2018-10-05 Stafford Horne - - * testsuite/gas/or1k/allinsn.s: Add instruction tests for - l.muld, l.muldu, l.macu, l.msb, l.msbu. - * testsuite/gas/or1k/allinsn.d: Add test results for new - instructions. - -2018-10-05 Richard Henderson - - * config/tc-or1k.c (or1k_apply_fix): Add BFD_RELOC_OR1K_TLS_GD_PG21, - BFD_RELOC_OR1K_TLS_GD_LO13, BFD_RELOC_OR1K_TLS_LDM_PG21, - BFD_RELOC_OR1K_TLS_LDM_LO13, BFD_RELOC_OR1K_TLS_IE_PG21, - BFD_RELOC_OR1K_TLS_IE_LO13. - * testsuite/gas/or1k/allinsn.s: Add test for l.adrp. - * testsuite/gas/or1k/allinsn.d: Add test results for new - instructions. - * testsuite/gas/or1k/reloc-1.s: Add tests to generate - R_OR1K_PLTA26, R_OR1K_GOT_PG21, R_OR1K_TLS_GD_PG21, R_OR1K_TLS_LDM_PG21, - R_OR1K_TLS_IE_PG21, R_OR1K_LO13, R_OR1K_GOT_LO13, R_OR1K_TLS_GD_LO13, - R_OR1K_TLD_LDM_LO13, R_OR1K_TLS_IE_LO13, R_OR1K_LO13, R_OR1K_SLO13 - relocations. - * testsuite/gas/or1k/reloc-1.d: Add relocation results for - tests. - * testsuite/gas/or1k/reloc-2.s: Add negative tests for store to - gotpo(). - * testsuite/gas/or1k/reloc-2.l: Add expected error test results. - -2018-10-05 Richard Henderson - - * testsuite/gas/or1k/allinsn.d (l_ha): Add result for ha() relocation. - * testsuite/gas/or1k/allinsn.s (l_ha): Add test for ha() relocations. - * testsuite/gas/or1k/allinsn.exp: Renamed to or1k.exp. - * testsuite/gas/or1k/or1k.exp: Add reloc-2 list test. - * testsuite/gas/or1k/reloc-1.d: New file. - * testsuite/gas/or1k/reloc-1.s: New file. - * testsuite/gas/or1k/reloc-2.l: New file. - * testsuite/gas/or1k/reloc-2.s: New file. - -2018-10-03 Tamar Christina - - * testsuite/gas/aarch64/sve-movprfx_1.d: New test. - * testsuite/gas/aarch64/sve-movprfx_1.s: New test. - * testsuite/gas/aarch64/sve-movprfx_10.d: New test. - * testsuite/gas/aarch64/sve-movprfx_10.l: New test. - * testsuite/gas/aarch64/sve-movprfx_10.s: New test. - * testsuite/gas/aarch64/sve-movprfx_11.d: New test. - * testsuite/gas/aarch64/sve-movprfx_11.s: New test. - * testsuite/gas/aarch64/sve-movprfx_12.d: New test. - * testsuite/gas/aarch64/sve-movprfx_12.s: New test. - * testsuite/gas/aarch64/sve-movprfx_13.d: New test. - * testsuite/gas/aarch64/sve-movprfx_13.l: New test. - * testsuite/gas/aarch64/sve-movprfx_13.s: New test. - * testsuite/gas/aarch64/sve-movprfx_14.d: New test. - * testsuite/gas/aarch64/sve-movprfx_14.l: New test. - * testsuite/gas/aarch64/sve-movprfx_14.s: New test. - * testsuite/gas/aarch64/sve-movprfx_15.d: New test. - * testsuite/gas/aarch64/sve-movprfx_15.l: New test. - * testsuite/gas/aarch64/sve-movprfx_15.s: New test. - * testsuite/gas/aarch64/sve-movprfx_16.d: New test. - * testsuite/gas/aarch64/sve-movprfx_16.s: New test. - * testsuite/gas/aarch64/sve-movprfx_17.d: New test. - * testsuite/gas/aarch64/sve-movprfx_17.l: New test. - * testsuite/gas/aarch64/sve-movprfx_17.s: New test. - * testsuite/gas/aarch64/sve-movprfx_18.d: New test. - * testsuite/gas/aarch64/sve-movprfx_18.l: New test. - * testsuite/gas/aarch64/sve-movprfx_18.s: New test. - * testsuite/gas/aarch64/sve-movprfx_19.d: New test. - * testsuite/gas/aarch64/sve-movprfx_19.s: New test. - * testsuite/gas/aarch64/sve-movprfx_2.d: New test. - * testsuite/gas/aarch64/sve-movprfx_2.l: New test. - * testsuite/gas/aarch64/sve-movprfx_2.s: New test. - * testsuite/gas/aarch64/sve-movprfx_20.d: New test. - * testsuite/gas/aarch64/sve-movprfx_20.l: New test. - * testsuite/gas/aarch64/sve-movprfx_20.s: New test. - * testsuite/gas/aarch64/sve-movprfx_21.d: New test. - * testsuite/gas/aarch64/sve-movprfx_21.s: New test. - * testsuite/gas/aarch64/sve-movprfx_22.d: New test. - * testsuite/gas/aarch64/sve-movprfx_22.l: New test. - * testsuite/gas/aarch64/sve-movprfx_22.s: New test. - * testsuite/gas/aarch64/sve-movprfx_23.d: New test. - * testsuite/gas/aarch64/sve-movprfx_23.l: New test. - * testsuite/gas/aarch64/sve-movprfx_23.s: New test. - * testsuite/gas/aarch64/sve-movprfx_24.d: New test. - * testsuite/gas/aarch64/sve-movprfx_24.l: New test. - * testsuite/gas/aarch64/sve-movprfx_24.s: New test. - * testsuite/gas/aarch64/sve-movprfx_25.d: New test. - * testsuite/gas/aarch64/sve-movprfx_25.l: New test. - * testsuite/gas/aarch64/sve-movprfx_25.s: New test. - * testsuite/gas/aarch64/sve-movprfx_26.d: New test. - * testsuite/gas/aarch64/sve-movprfx_26.l: New test. - * testsuite/gas/aarch64/sve-movprfx_26.s: New test. - * testsuite/gas/aarch64/sve-movprfx_3.d: New test. - * testsuite/gas/aarch64/sve-movprfx_3.l: New test. - * testsuite/gas/aarch64/sve-movprfx_3.s: New test. - * testsuite/gas/aarch64/sve-movprfx_4.d: New test. - * testsuite/gas/aarch64/sve-movprfx_4.l: New test. - * testsuite/gas/aarch64/sve-movprfx_4.s: New test. - * testsuite/gas/aarch64/sve-movprfx_5.d: New test. - * testsuite/gas/aarch64/sve-movprfx_5.s: New test. - * testsuite/gas/aarch64/sve-movprfx_6.d: New test. - * testsuite/gas/aarch64/sve-movprfx_6.l: New test. - * testsuite/gas/aarch64/sve-movprfx_6.s: New test. - * testsuite/gas/aarch64/sve-movprfx_7.d: New test. - * testsuite/gas/aarch64/sve-movprfx_7.l: New test. - * testsuite/gas/aarch64/sve-movprfx_7.s: New test. - * testsuite/gas/aarch64/sve-movprfx_8.d: New test. - * testsuite/gas/aarch64/sve-movprfx_8.l: New test. - * testsuite/gas/aarch64/sve-movprfx_8.s: New test. - * testsuite/gas/aarch64/sve-movprfx_9.d: New test. - * testsuite/gas/aarch64/sve-movprfx_9.l: New test. - * testsuite/gas/aarch64/sve-movprfx_9.s: New test. - -2018-10-03 Tamar Christina - - * testsuite/gas/aarch64/sve-movprfx.d: New test. - * testsuite/gas/aarch64/sve-movprfx.s: New test. - * testsuite/gas/aarch64/sve.d: Refactor. - * testsuite/gas/aarch64/sve.s: Refactor. - * testsuite/gas/aarch64/sysreg-diagnostic.d: Update. - -2018-10-03 Tamar Christina - - * config/tc-aarch64.c (force_automatic_sequence_close, - aarch64_frob_section): New. - * config/tc-aarch64.h (tc_frob_section, aarch64_frob_section): New. - -2018-10-03 Tamar Christina - - * config/tc-aarch64.c (output_operand_error_report): Order warnings. - -2018-10-03 Tamar Christina - - * config/tc-aarch64.c (now_instr_sequence): - (*insn_sequence, now_instr_sequence): New. - (output_operand_error_record, do_encode): Add insn_sequence. - (md_assemble): Update insn_sequence. - (try_to_encode_as_unscaled_ldst, fix_mov_imm_insn, fix_insn): - Pass insn_sequence. - * config/tc-aarch64.h (struct aarch64_segment_info_type): - Add insn_sequence. - -2018-10-02 Palmer Dabbelt - - * testsuite/gas/riscv/fence-tso.d: New file. - * testsuite/gas/riscv/fence-tso.s: Likewise. - -2018-09-26 Sandra Loosemore - - * testsuite/gas/all/gas.exp: Skip "Output file must be distinct - from input" test on Windows host. - -2018-09-21 H.J. Lu - - PR gas/23691 - * Makefile.am (bfin-parse.c): Depend on $(srcdir)/../bfd/reloc.c. - (rl78-parse.c): Likewise. - (rx-parse.c): Likewise. - * Makefile.in: Regenerated. - -2018-09-21 Alan Modra - - * testsuite/gas/avr/large-debug-line-table.d: Update. - -2018-09-20 H.J. Lu - - PR binutils/23695 - * testsuite/gas/elf/dwarf2-11.d: Update expected outputs of - "readelf -wL". - * testsuite/gas/elf/dwarf2-12.d: Likewise. - * testsuite/gas/elf/dwarf2-13.d: Likewise. - * testsuite/gas/elf/dwarf2-14.d: Likewise. - * testsuite/gas/elf/dwarf2-15.d: Likewise. - * testsuite/gas/elf/dwarf2-16.d: Likewise. - * testsuite/gas/elf/dwarf2-17.d: Likewise. - * testsuite/gas/elf/dwarf2-18.d: Likewise. - * testsuite/gas/elf/dwarf2-5.d: Likewise. - * testsuite/gas/elf/dwarf2-6.d: Likewise. - * testsuite/gas/elf/dwarf2-7.d: Likewise. - -2018-09-20 Maciej W. Rozycki - - * config/tc-s12z.c (lex_opr): Use an auxiliary unsigned variable - in encoding a constant operand. - -2018-09-20 Maciej W. Rozycki - - * config/tc-ppc.c (ppc_dwsect): Use `valueT' rather than - `offsetT' as the type of `flag'. - -2018-09-20 Maciej W. Rozycki - - * config/tc-arc.c (md_number_to_chars_midend): Append `ull' to - large constants. - -2018-09-20 Nelson Chu - - * config/tc-nds32.c: Remove the unused target features. - (nds32_relax_relocs, md_pseudo_table, nds32_elf_record_fixup_exp, - nds32_set_elf_flags_by_insn, nds32_insert_relax_entry, - nds32_apply_fix): Likewise. - (nds32_no_ex9_begin): Removed. - * config/tc-nds32.c (add_mapping_symbol_for_align, - make_mapping_symbol, add_mapping_symbol): New functions. - * config/tc-nds32.h (enum mstate): New. - (nds32_segment_info_type): Likewise. - * configure.ac (--enable-dsp-ext, --enable-zol-ext): New options. - * config.in: Regenerated. - * configure: Regenerated. - * config/tc-nds32.c (nds32_dx_regs): - Set the value according to the configuration. - (nds32_perf_ext, nds32_perf_ext2, nds32_string_ext, nds32_audio_ext): - Likewise. - (nds32_dsp_ext): New variable. Set the value according to the - configuration. - (nds32_zol_ext): Likewise. - (asm_desc, nds32_pseudo_opcode_table): Make them static. - (nds32_set_elf_flags_by_insn): Updated. - (nds32_check_insn_available): Updated. - (nds32_str_tolower): New function. - * config/tc-nds32.c (relax_table): Updated. - (md_begin): Updated. - (md_assemble): Use XNEW macro to allocate space for `insn.info', - and then remember to free it. - (md_section_align): Cast (-1) to ValueT. - (nds32_get_align): Cast (~0U) to addressT. - (nds32_relax_branch_instructions): Updated. - (md_convert_frag): Add new local variable `final_r_type'. - (invalid_prev_frag): Add new bfd_boolean parameter `relax'. - All callers changed. - * config/tc-nds32.c (struct nds32_relocs_pattern): Add `insn' field. - (struct nds32_hint_map): Add `option_list' field. - (struct suffix_name, suffix_table): Remove the unused `pic' field. - (do_pseudo_b, do_pseudo_bal): Remove the suffix checking. - (do_pseudo_la_internal, do_pseudo_pushpopm): Indent. - (relax_hint_bias, relax_hint_id_current): New static variables. - (reset_bias, relax_hint_begin): New variables. - (nds_itoa): New function. - (CLEAN_REG, GET_OPCODE): New macros. - (struct relax_hint_id): New. - (nds32_relax_hint): For .relax_hint directive, we can use `begin' - and `end' to mark the relax pattern without giving exactly id number. - (nds32_elf_append_relax_relocs): Handle the case that the .relax_hint - directives are attached to pseudo instruction. - (nds32_elf_save_pseudo_pattern): Change the second parameter from - instruction's opcode to byte code. - (nds32_elf_build_relax_relation): Add new bfd_boolean parameter - `pseudo_hint'. - (nds32_lookup_pseudo_opcode): Fix the overflow issue. - (enum nds32_insn_type): Add N32_RELAX_ALU1 and N32_RELAX_16BIT. - (nds32_elf_record_fixup_exp, relax_ls_table, hint_map, - nds32_find_reloc_table, nds32_match_hint_insn, nds32_parse_name): - Updated. - * config/tc-nds32.h (MAX_RELAX_NUM): Extend it to 6. - (enum nds32_relax_hint_type): Merge NDS32_RELAX_HINT_LA and - NDS32_RELAX_HINT_LS into NDS32_RELAX_HINT_LALS. Add - NDS32_RELAX_HINT_LA_PLT, NDS32_RELAX_HINT_LA_GOT and - NDS32_RELAX_HINT_LA_GOTOFF. - * config/tc-nds32.h (relax_ls_table): Add floating load/store - to gp relax pattern. - (hint_map, nds32_find_reloc_table): Likewise. - * configure.ac: Define NDS32_LINUX_TOOLCHAIN. - * configure: Regenerated. - * config.in: Regenerated. - * config/tc-nds32.h (enum nds32_ramp): Updated. - (enum nds32_relax_hint_type): Likewise. - * config/tc-nds32.c: Include "errno.h" and "limits.h". - (relax_ls_table): Add TLS relax patterns. - (nds32_elf_append_relax_relocs): Attach BFD_RELOC_NDS32_GROUP on - each instructions of TLS patterns. - (nds32_elf_record_fixup_exp): Updated. - (nds32_apply_fix): Likewise. - (suffix_table): Add TLSDESC suffix. - -2018-09-18 Tamar Christina - - * config/tc-aarch64.c (output_operand_error_report): Apply filtering to - current instead of head message. - -2018-09-17 Kito Cheng - - * testsuite/gas/riscv/bge.d: New. - * testsuite/gas/riscv/bge.s: Likewise. - -2018-09-17 H.J. Lu - - PR gas/23670 - * testsuite/gas/i386/evex-lig-2.d: New file. - * testsuite/gas/i386/evex-lig-2.s: Likewise. - * testsuite/gas/i386/x86-64-evex-lig-2.d: Likewise. - * testsuite/gas/i386/x86-64-evex-lig-2.s: Likewise. - * testsuite/gas/i386/i386.exp: Run evex-lig-2 and - x86-64-evex-lig-2. - -2018-09-17 H.J. Lu - - PR gas/23665 - * testsuite/gas/i386/avx-scalar.s: Remove vmovq and vmovd tests. - * testsuite/gas/i386/x86-64-avx-scalar.s: Likewise. - * testsuite/gas/i386/avx-scalar-intel.d: Updated. - * testsuite/gas/i386/avx-scalar.d: Likewise. - * testsuite/gas/i386/x86-64-avx-scalar-intel.d: Likewise. - * testsuite/gas/i386/x86-64-avx-scalar.d: Likewise. - * testsuite/gas/i386/i386.exp: Run avx-scalar2 and - x86-64-avx-scalar2. - * testsuite/gas/i386/avx-scalar-2.d: New file. - * testsuite/gas/i386/avx-scalar-2.s: Likewise. - * testsuite/gas/i386/x86-64-avx-scalar-2.d: Likewise. - * testsuite/gas/i386/x86-64-avx-scalar-2.s: Likewise. - -2018-09-17 H.J. Lu - - * gas/NEWS: Mention -mvexwig=[0|1] option. - * config/tc-i386.c (vexwig): New. - (build_vex_prefix): Set the VEX.W bit for -mvexwig=1 for WIG - VEX instructions. - (OPTION_MVEXWIG): New. - (md_longopts): Add -mvexwig=. - (md_parse_option): Handle OPTION_MVEXWIG. - (md_show_usage): Show -mvexwig=[0|1]. - * doc/c-i386.texi: Document -mvexwig=[0|1]. - * testsuite/gas/i386/avx-wig.d: New file. - * testsuite/gas/i386/avx-wig.s: Likewise. - * testsuite/gas/i386/avx2-wig.d: Likewise. - * testsuite/gas/i386/avx2-wig.s: Likewise. - * testsuite/gas/i386/x86-64-avx-wig.d: Likewise. - * testsuite/gas/i386/x86-64-avx-wig.s: Likewise. - * testsuite/gas/i386/x86-64-avx2-wig.d: Likewise. - * testsuite/gas/i386/x86-64-avx2-wig.s: Likewise. - * testsuite/gas/i386/i386.exp: Run avx-wig, avx2-wig, - x86-64-avx-wig and x86-64-avx2-wig. - -2018-09-17 Alan Modra - - * testsuite/gas/arm/arch7.d: Delete notarget. - * testsuite/gas/arm/arch7a-mp.d: Likewise. - * testsuite/gas/arm/arch7em.d: Likewise. - * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise. - * testsuite/gas/arm/barrier.d: Likewise. - * testsuite/gas/arm/bignum1.d: Likewise. - * testsuite/gas/arm/thumb32.d: Likewise. - * testsuite/gas/elf/dwarf2-1.d: Likewise. - * testsuite/gas/elf/dwarf2-2.d: Likewise. - * testsuite/gas/elf/dwarf2-4.d: Likewise. - * testsuite/gas/elf/group2.d: Likewise. - * testsuite/gas/arm/mapshort-elf.d: Only notarget pe and wince. - * testsuite/gas/elf/dwarf2-3.d: Delete notarget, xfail ft32 and h8300. - * testsuite/gas/elf/dwarf2-6.d: Delete notarget, xfail a few. - -2018-09-17 Alan Modra - - * testsuite/gas/all/gas.exp (redef3): Don't xfail for hppa. - (octa): Run for hppa. - * testsuite/gas/elf/elf.exp (common1, common2): Likewise. - * testsuite/gas/elf/symver.d: Delete notarget. - -2018-09-17 Nick Clifton - - * testuite/gas/elf/group0a.d: Add extra details to the test - name. - * testuite/gas/elf/group0b.d: Likewise. - * testuite/gas/elf/group1a.d: Likewise. - * testuite/gas/elf/group1b.d: Likewise. - * testuite/gas/elf/group0b.d: Likewise. - * testuite/gas/elf/section9.d: Likewise. - * testuite/gas/i386/ilp32/lns/lns-common-1.d: Likewise. - * testuite/gas/i386/ilp32/lns/lns-duplicate-1.d: Likewise. - -2018-09-15 H.J. Lu - - PR gas/23665 - * testsuite/gas/i386/avx-scalar-intel.d: Updated. - * testsuite/gas/i386/avx-scalar.d: Likewise. - * testsuite/gas/i386/x86-64-avx-scalar-intel.d: Likewise. - * testsuite/gas/i386/x86-64-avx-scalar.d: Likewise. - -2018-09-15 Alan Modra - - * testsuite/config/default.exp: Make tmpdir. - * testsuite/lib/gas-defs.exp (run_dump_test): Delete. - (get_standard_section_names, slurp_options): Delete. - -2018-09-15 Alan Modra - - * testsuite/gas/mips/aent-2.d, - * testsuite/gas/mips/aent-mdebug-2.d, - * testsuite/gas/mips/attr-gnu-4-0.d, - * testsuite/gas/mips/attr-gnu-4-1.d, - * testsuite/gas/mips/attr-gnu-4-2.d, - * testsuite/gas/mips/attr-gnu-4-3.d, - * testsuite/gas/mips/attr-gnu-4-5.d, - * testsuite/gas/mips/attr-gnu-4-6.d, - * testsuite/gas/mips/attr-gnu-4-7.d, - * testsuite/gas/mips/attr-none-double.d, - * testsuite/gas/mips/attr-none-o32-fp64-nooddspreg.d, - * testsuite/gas/mips/attr-none-o32-fp64.d, - * testsuite/gas/mips/attr-none-o32-fpxx.d, - * testsuite/gas/mips/attr-none-single-float.d, - * testsuite/gas/mips/attr-none-soft-float.d, - * testsuite/gas/mips/elf-rel27.d, - * testsuite/gas/mips/loc-swap-2.d, - * testsuite/gas/mips/loc-swap-3.d, - * testsuite/gas/mips/loc-swap.d, - * testsuite/gas/mips/micromips@loc-swap-2.d, - * testsuite/gas/mips/micromips@loc-swap.d, - * testsuite/gas/mips/micromips@stabs-symbol-type.d, - * testsuite/gas/mips/mips16-intermix.d, - * testsuite/gas/mips/mips16@loc-swap-2.d, - * testsuite/gas/mips/mips16@loc-swap.d, - * testsuite/gas/mips/mips16@stabs-symbol-type.d, - * testsuite/gas/mips/mips16e@loc-swap.d, - * testsuite/gas/mips/no-odd-spreg.d, - * testsuite/gas/mips/odd-spreg.d, - * testsuite/gas/mips/r6-attr-none-double.d, - * testsuite/gas/mips/stabs-symbol-type.d, - * testsuite/lib/gas-defs.exp (run_dump_test): Replace PROG - with DUMPPROG. - -2018-09-15 Alan Modra - - * testsuite/gas/elf/symver.d, - * testsuite/gas/ft32/insn.d, - * testsuite/gas/ft32/insnsc.d, - * testsuite/gas/i386/ilp32/elf/symver.d, - * testsuite/gas/lm32/csr.d, - * testsuite/gas/lm32/insn.d, - * testsuite/gas/m68hc11/9s12x-exg-sex-tfr.d, - * testsuite/gas/m68hc11/9s12x-mov.d, - * testsuite/gas/m68hc11/hexprefix.d, - * testsuite/gas/m68hc11/insns9s12x.d, - * testsuite/gas/m68hc11/insns9s12xg.d, - * testsuite/gas/mep/dj1.be.d, - * testsuite/gas/mep/dj1.le.d, - * testsuite/gas/mips/set-arch.d, - * testsuite/gas/mips/tls-o32.d, - * testsuite/gas/nios2/branch-r2.d, - * testsuite/gas/nios2/branch.d, - * testsuite/gas/pdp11/absreloc.d, - * testsuite/gas/pdp11/opcode.d, - * testsuite/gas/pdp11/pr14480.d, - * testsuite/gas/pdp11/pr23481.d, - * testsuite/gas/ppc/xcoff-dwsect-1-32.d, - * testsuite/gas/ppc/xcoff-dwsect-1-64.d, - * testsuite/gas/rx/abs.d, - * testsuite/gas/rx/adc.d, - * testsuite/gas/rx/add.d, - * testsuite/gas/rx/and.d, - * testsuite/gas/rx/bclr.d, - * testsuite/gas/rx/bcnd.d, - * testsuite/gas/rx/bmcnd.d, - * testsuite/gas/rx/bnot.d, - * testsuite/gas/rx/bra.d, - * testsuite/gas/rx/brk.d, - * testsuite/gas/rx/bset.d, - * testsuite/gas/rx/bsr.d, - * testsuite/gas/rx/btst.d, - * testsuite/gas/rx/clrpsw.d, - * testsuite/gas/rx/cmp.d, - * testsuite/gas/rx/dbt.d, - * testsuite/gas/rx/div.d, - * testsuite/gas/rx/divu.d, - * testsuite/gas/rx/emaca.d, - * testsuite/gas/rx/emsba.d, - * testsuite/gas/rx/emul.d, - * testsuite/gas/rx/emula.d, - * testsuite/gas/rx/emulu.d, - * testsuite/gas/rx/fadd.d, - * testsuite/gas/rx/fcmp.d, - * testsuite/gas/rx/fdiv.d, - * testsuite/gas/rx/fmul.d, - * testsuite/gas/rx/fsqrt.d, - * testsuite/gas/rx/fsub.d, - * testsuite/gas/rx/ftoi.d, - * testsuite/gas/rx/ftou.d, - * testsuite/gas/rx/gprel.d, - * testsuite/gas/rx/int.d, - * testsuite/gas/rx/itof.d, - * testsuite/gas/rx/jmp.d, - * testsuite/gas/rx/jsr.d, - * testsuite/gas/rx/machi.d, - * testsuite/gas/rx/maclh.d, - * testsuite/gas/rx/maclo.d, - * testsuite/gas/rx/max.d, - * testsuite/gas/rx/min.d, - * testsuite/gas/rx/mov.d, - * testsuite/gas/rx/movco.d, - * testsuite/gas/rx/movli.d, - * testsuite/gas/rx/movu.d, - * testsuite/gas/rx/msbhi.d, - * testsuite/gas/rx/msblh.d, - * testsuite/gas/rx/msblo.d, - * testsuite/gas/rx/mul.d, - * testsuite/gas/rx/mulhi.d, - * testsuite/gas/rx/mullh.d, - * testsuite/gas/rx/mullo.d, - * testsuite/gas/rx/mvfacgu.d, - * testsuite/gas/rx/mvfachi.d, - * testsuite/gas/rx/mvfaclo.d, - * testsuite/gas/rx/mvfacmi.d, - * testsuite/gas/rx/mvfc.d, - * testsuite/gas/rx/mvfcp.d, - * testsuite/gas/rx/mvtacgu.d, - * testsuite/gas/rx/mvtachi.d, - * testsuite/gas/rx/mvtaclo.d, - * testsuite/gas/rx/mvtc.d, - * testsuite/gas/rx/mvtcp.d, - * testsuite/gas/rx/neg.d, - * testsuite/gas/rx/nop.d, - * testsuite/gas/rx/not.d, - * testsuite/gas/rx/opecp.d, - * testsuite/gas/rx/or.d, - * testsuite/gas/rx/pop.d, - * testsuite/gas/rx/popc.d, - * testsuite/gas/rx/popm.d, - * testsuite/gas/rx/pr19665.d, - * testsuite/gas/rx/pr22737.d, - * testsuite/gas/rx/push.d, - * testsuite/gas/rx/pushc.d, - * testsuite/gas/rx/pushm.d, - * testsuite/gas/rx/r-bcc.d, - * testsuite/gas/rx/r-bra.d, - * testsuite/gas/rx/racl.d, - * testsuite/gas/rx/racw.d, - * testsuite/gas/rx/rdacl.d, - * testsuite/gas/rx/rdacw.d, - * testsuite/gas/rx/revl.d, - * testsuite/gas/rx/revw.d, - * testsuite/gas/rx/rmpa.d, - * testsuite/gas/rx/rolc.d, - * testsuite/gas/rx/rorc.d, - * testsuite/gas/rx/rotl.d, - * testsuite/gas/rx/rotr.d, - * testsuite/gas/rx/round.d, - * testsuite/gas/rx/rte.d, - * testsuite/gas/rx/rtfi.d, - * testsuite/gas/rx/rts.d, - * testsuite/gas/rx/rtsd.d, - * testsuite/gas/rx/sat.d, - * testsuite/gas/rx/satr.d, - * testsuite/gas/rx/sbb.d, - * testsuite/gas/rx/sccnd.d, - * testsuite/gas/rx/scmpu.d, - * testsuite/gas/rx/setpsw.d, - * testsuite/gas/rx/shar.d, - * testsuite/gas/rx/shll.d, - * testsuite/gas/rx/shlr.d, - * testsuite/gas/rx/smovb.d, - * testsuite/gas/rx/smovf.d, - * testsuite/gas/rx/smovu.d, - * testsuite/gas/rx/sstr.d, - * testsuite/gas/rx/stnz.d, - * testsuite/gas/rx/stz.d, - * testsuite/gas/rx/sub.d, - * testsuite/gas/rx/suntil.d, - * testsuite/gas/rx/swhile.d, - * testsuite/gas/rx/tst.d, - * testsuite/gas/rx/utof.d, - * testsuite/gas/rx/wait.d, - * testsuite/gas/rx/xchg.d, - * testsuite/gas/rx/xor.d, - * testsuite/gas/s12z/abs.d, - * testsuite/gas/s12z/adc-imm.d, - * testsuite/gas/s12z/adc-opr.d, - * testsuite/gas/s12z/add-imm.d, - * testsuite/gas/s12z/add-opr.d, - * testsuite/gas/s12z/and-imm.d, - * testsuite/gas/s12z/and-opr.d, - * testsuite/gas/s12z/and-or-cc.d, - * testsuite/gas/s12z/bfext-special.d, - * testsuite/gas/s12z/bfext.d, - * testsuite/gas/s12z/bit-manip.d, - * testsuite/gas/s12z/bit.d, - * testsuite/gas/s12z/bra-expression-defined.d, - * testsuite/gas/s12z/bra-expression-undef.d, - * testsuite/gas/s12z/bra.d, - * testsuite/gas/s12z/brclr-symbols.d, - * testsuite/gas/s12z/brset-clr-opr-imm-rel.d, - * testsuite/gas/s12z/brset-clr-opr-reg-rel.d, - * testsuite/gas/s12z/brset-clr-reg-imm-rel.d, - * testsuite/gas/s12z/brset-clr-reg-reg-rel.d, - * testsuite/gas/s12z/clb.d, - * testsuite/gas/s12z/clr-opr.d, - * testsuite/gas/s12z/clr.d, - * testsuite/gas/s12z/cmp-imm.d, - * testsuite/gas/s12z/cmp-opr-inc.d, - * testsuite/gas/s12z/cmp-opr-rdirect.d, - * testsuite/gas/s12z/cmp-opr-reg.d, - * testsuite/gas/s12z/cmp-opr-rindirect.d, - * testsuite/gas/s12z/cmp-opr-sxe4.d, - * testsuite/gas/s12z/cmp-opr-xys.d, - * testsuite/gas/s12z/cmp-s-imm.d, - * testsuite/gas/s12z/cmp-s-opr.d, - * testsuite/gas/s12z/cmp-xy.d, - * testsuite/gas/s12z/com-opr.d, - * testsuite/gas/s12z/complex-shifts.d, - * testsuite/gas/s12z/db-tb-cc-opr.d, - * testsuite/gas/s12z/db-tb-cc-reg.d, - * testsuite/gas/s12z/dbCC.d, - * testsuite/gas/s12z/dec-opr.d, - * testsuite/gas/s12z/dec.d, - * testsuite/gas/s12z/div.d, - * testsuite/gas/s12z/eor.d, - * testsuite/gas/s12z/exg.d, - * testsuite/gas/s12z/ext24-ld-xy.d, - * testsuite/gas/s12z/inc-opr.d, - * testsuite/gas/s12z/inc.d, - * testsuite/gas/s12z/inh.d, - * testsuite/gas/s12z/jmp.d, - * testsuite/gas/s12z/jsr.d, - * testsuite/gas/s12z/ld-imm-page2.d, - * testsuite/gas/s12z/ld-imm.d, - * testsuite/gas/s12z/ld-immu18.d, - * testsuite/gas/s12z/ld-large-direct.d, - * testsuite/gas/s12z/ld-opr.d, - * testsuite/gas/s12z/ld-s-opr.d, - * testsuite/gas/s12z/ld-small-direct.d, - * testsuite/gas/s12z/lea-immu18.d, - * testsuite/gas/s12z/lea.d, - * testsuite/gas/s12z/mac.d, - * testsuite/gas/s12z/min-max.d, - * testsuite/gas/s12z/mod.d, - * testsuite/gas/s12z/mov.d, - * testsuite/gas/s12z/mul-imm.d, - * testsuite/gas/s12z/mul-opr-opr.d, - * testsuite/gas/s12z/mul-opr.d, - * testsuite/gas/s12z/mul-reg.d, - * testsuite/gas/s12z/mul.d, - * testsuite/gas/s12z/neg-opr.d, - * testsuite/gas/s12z/not-so-simple-shifts.d, - * testsuite/gas/s12z/opr-18u.d, - * testsuite/gas/s12z/opr-expr.d, - * testsuite/gas/s12z/opr-ext-18.d, - * testsuite/gas/s12z/opr-idx-24-reg.d, - * testsuite/gas/s12z/opr-idx3-reg.d, - * testsuite/gas/s12z/opr-idx3-xysp-24.d, - * testsuite/gas/s12z/opr-indirect-expr.d, - * testsuite/gas/s12z/opr-symbol.d, - * testsuite/gas/s12z/or-imm.d, - * testsuite/gas/s12z/or-opr.d, - * testsuite/gas/s12z/p2-mul.d, - * testsuite/gas/s12z/page2-inh.d, - * testsuite/gas/s12z/psh-pul.d, - * testsuite/gas/s12z/qmul.d, - * testsuite/gas/s12z/rotate.d, - * testsuite/gas/s12z/sat.d, - * testsuite/gas/s12z/sbc-imm.d, - * testsuite/gas/s12z/sbc-opr.d, - * testsuite/gas/s12z/shift.d, - * testsuite/gas/s12z/simple-shift.d, - * testsuite/gas/s12z/single-ops.d, - * testsuite/gas/s12z/specd6.d, - * testsuite/gas/s12z/st-large-direct.d, - * testsuite/gas/s12z/st-opr.d, - * testsuite/gas/s12z/st-s-opr.d, - * testsuite/gas/s12z/st-small-direct.d, - * testsuite/gas/s12z/st-xy.d, - * testsuite/gas/s12z/sub-imm.d, - * testsuite/gas/s12z/sub-opr.d, - * testsuite/gas/s12z/tfr.d, - * testsuite/gas/s12z/trap.d, - * testsuite/gas/sh/fdpic.d, - * testsuite/gas/sh/sh2a-pic.d, - * testsuite/gas/sh/sh2a.d: Don't match object file name. - * testsuite/gas/wasm32/disass-2.d, - * testsuite/gas/wasm32/disass.d: Likewise, and tidy regexps. - -2018-09-15 Alan Modra - - * testsuite/gas/aarch64/armv8_2-a-crypto-fp16-illegal.d, - * testsuite/gas/aarch64/armv8_2-a-illegal.d, - * testsuite/gas/aarch64/armv8_4-a-illegal.d, - * testsuite/gas/aarch64/armv8_4-a-registers-illegal.d, - * testsuite/gas/aarch64/deprecated.d, - * testsuite/gas/aarch64/diagnostic.d, - * testsuite/gas/aarch64/illegal-2.d, - * testsuite/gas/aarch64/illegal-by-element.d, - * testsuite/gas/aarch64/illegal-crypto-nofp.d, - * testsuite/gas/aarch64/illegal-fcmla.d, - * testsuite/gas/aarch64/illegal-fjcvtzs.d, - * testsuite/gas/aarch64/illegal-fp16-nofp.d, - * testsuite/gas/aarch64/illegal-ldapr.d, - * testsuite/gas/aarch64/illegal-ldraa.d, - * testsuite/gas/aarch64/illegal-lse.d, - * testsuite/gas/aarch64/illegal-nofp-armv8_3.d, - * testsuite/gas/aarch64/illegal-nofp16.d, - * testsuite/gas/aarch64/illegal-ras-1.d, - * testsuite/gas/aarch64/illegal-sysreg-2.d, - * testsuite/gas/aarch64/illegal-sysreg-3.d, - * testsuite/gas/aarch64/illegal.d, - * testsuite/gas/aarch64/legacy_reg_names.d, - * testsuite/gas/aarch64/pan-illegal.d, - * testsuite/gas/aarch64/pr22529.d, - * testsuite/gas/aarch64/rm-simd-ext.d, - * testsuite/gas/aarch64/sve-invalid.d, - * testsuite/gas/aarch64/sve-reg-diagnostic.d, - * testsuite/gas/aarch64/sve-sysreg-invalid.d, - * testsuite/gas/aarch64/sysreg-diagnostic.d, - * testsuite/gas/aarch64/verbose-error.d, - * testsuite/gas/all/byte.d, - * testsuite/gas/all/org-1.d, - * testsuite/gas/all/org-2.d, - * testsuite/gas/all/org-3.d, - * testsuite/gas/all/sleb128-9.d, - * testsuite/gas/arc/asm-errors-2.d, - * testsuite/gas/arc/asm-errors-3.d, - * testsuite/gas/arc/asm-errors.d, - * testsuite/gas/arc/attr-rf16.d, - * testsuite/gas/arc/relocs-errors.d, - * testsuite/gas/arc/textinsn-errors.d, - * testsuite/gas/arm/addsw-bad.d, - * testsuite/gas/arm/addthumb2err.d, - * testsuite/gas/arm/adr-invalid.d, - * testsuite/gas/arm/arch7em-bad-1.d, - * testsuite/gas/arm/arch7em-bad-2.d, - * testsuite/gas/arm/arch7em-bad-3.d, - * testsuite/gas/arm/arch7m-bad.d, - * testsuite/gas/arm/archv6s-m-bad.d, - * testsuite/gas/arm/archv6t2-bad.d, - * testsuite/gas/arm/arm-idiv-bad.d, - * testsuite/gas/arm/arm-it-bad-2.d, - * testsuite/gas/arm/arm-it-bad-3.d, - * testsuite/gas/arm/arm-it-bad.d, - * testsuite/gas/arm/arm3-bad.d, - * testsuite/gas/arm/arm7-bad.d, - * testsuite/gas/arm/armv1-bad.d, - * testsuite/gas/arm/armv1.d, - * testsuite/gas/arm/armv2-mp-bad.d, - * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d, - * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d, - * testsuite/gas/arm/armv8-2-fp16-simd-warning.d, - * testsuite/gas/arm/armv8-a+rdma-warning.d, - * testsuite/gas/arm/armv8-a-bad.d, - * testsuite/gas/arm/armv8-a-it-bad.d, - * testsuite/gas/arm/armv8-r-bad.d, - * testsuite/gas/arm/armv8-r-it-bad.d, - * testsuite/gas/arm/armv8_2-a-fp16-illegal.d, - * testsuite/gas/arm/armv8_3-a-fp-bad.d, - * testsuite/gas/arm/armv8_3-a-simd-bad.d, - * testsuite/gas/arm/barrier-bad-thumb.d, - * testsuite/gas/arm/barrier-bad.d, - * testsuite/gas/arm/bl-local-v4t.d, - * testsuite/gas/arm/blx-bl-convert.d, - * testsuite/gas/arm/blx-local.d, - * testsuite/gas/arm/branch-reloc.d, - * testsuite/gas/arm/copro-arm_v2plus-arm_v1.d, - * testsuite/gas/arm/copro-arm_v5plus-arm_v4.d, - * testsuite/gas/arm/copro-arm_v5teplus-arm_v5.d, - * testsuite/gas/arm/copro-arm_v6plus-arm_v5te.d, - * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-1.d, - * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-2.d, - * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-3.d, - * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-4.d, - * testsuite/gas/arm/crc32-armv8-a-bad.d, - * testsuite/gas/arm/crc32-armv8-r-bad.d, - * testsuite/gas/arm/depr-swp.d, - * testsuite/gas/arm/dest-unpredictable.d, - * testsuite/gas/arm/dotprod-illegal.d, - * testsuite/gas/arm/dotprod-legacy-arch.d, - * testsuite/gas/arm/forbid-armv7-idiv-ext.d, - * testsuite/gas/arm/group-reloc-alu-encoding-bad.d, - * testsuite/gas/arm/group-reloc-alu-parsing-bad.d, - * testsuite/gas/arm/group-reloc-ldc-encoding-bad.d, - * testsuite/gas/arm/group-reloc-ldc-parsing-bad.d, - * testsuite/gas/arm/group-reloc-ldr-encoding-bad.d, - * testsuite/gas/arm/group-reloc-ldr-parsing-bad.d, - * testsuite/gas/arm/group-reloc-ldrs-encoding-bad.d, - * testsuite/gas/arm/group-reloc-ldrs-parsing-bad.d, - * testsuite/gas/arm/insn-error-a.d, - * testsuite/gas/arm/insn-error-t.d, - * testsuite/gas/arm/inst-po-2.d, - * testsuite/gas/arm/iwmmxt-bad.d, - * testsuite/gas/arm/iwmmxt-bad2.d, - * testsuite/gas/arm/ld-sp-warn-cortex-m3.d, - * testsuite/gas/arm/ld-sp-warn-cortex-m4.d, - * testsuite/gas/arm/ld-sp-warn-v7.d, - * testsuite/gas/arm/ld-sp-warn-v7a.d, - * testsuite/gas/arm/ld-sp-warn-v7em.d, - * testsuite/gas/arm/ld-sp-warn-v7m.d, - * testsuite/gas/arm/ld-sp-warn-v7r.d, - * testsuite/gas/arm/ld-sp-warn.d, - * testsuite/gas/arm/ldgesb-bad.d, - * testsuite/gas/arm/ldgesh-bad.d, - * testsuite/gas/arm/ldr-bad.d, - * testsuite/gas/arm/ldr-t-bad.d, - * testsuite/gas/arm/ldrd-unpredictable.d, - * testsuite/gas/arm/ldsgeb.d, - * testsuite/gas/arm/ldsgeh.d, - * testsuite/gas/arm/missing.d, - * testsuite/gas/arm/mrs-msr-arm-v7-a-bad.d, - * testsuite/gas/arm/mrs-msr-thumb-v7-m-bad.d, - * testsuite/gas/arm/msr-imm-bad.d, - * testsuite/gas/arm/msr-reg-bad.d, - * testsuite/gas/arm/mul-overlap.d, - * testsuite/gas/arm/neon-addressing-bad.d, - * testsuite/gas/arm/neon-cond-bad.d, - * testsuite/gas/arm/neon-ldst-align-bad.d, - * testsuite/gas/arm/neon-ldst-es-bad.d, - * testsuite/gas/arm/neon-suffix-bad.d, - * testsuite/gas/arm/neon-vmov-bad.d, - * testsuite/gas/arm/noarm.d, - * testsuite/gas/arm/pr18256.d, - * testsuite/gas/arm/pr18347.d, - * testsuite/gas/arm/pr20429.d, - * testsuite/gas/arm/pr22773.d, - * testsuite/gas/arm/r15-bad.d, - * testsuite/gas/arm/reloc-bad.d, - * testsuite/gas/arm/req.d, - * testsuite/gas/arm/shift-bad-pc.d, - * testsuite/gas/arm/shift-bad.d, - * testsuite/gas/arm/simd_by_scalar_low_regbank.d, - * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d, - * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.d, - * testsuite/gas/arm/sp-pc-validations-bad-t.d, - * testsuite/gas/arm/sp-pc-validations-bad.d, - * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.d, - * testsuite/gas/arm/srs-arm.d, - * testsuite/gas/arm/srs-t2.d, - * testsuite/gas/arm/strex-bad-t.d, - * testsuite/gas/arm/t16-bad.d, - * testsuite/gas/arm/thumb-b-bad.d, - * testsuite/gas/arm/thumb-w-bad.d, - * testsuite/gas/arm/thumb2_bad_reg.d, - * testsuite/gas/arm/thumb2_it_bad.d, - * testsuite/gas/arm/thumb2_it_bad_auto.d, - * testsuite/gas/arm/thumb2_ldmstm_bad.d, - * testsuite/gas/arm/thumb2_ldstd_unpredictable.d, - * testsuite/gas/arm/thumb2_mul-bad.d, - * testsuite/gas/arm/thumb2_str-bad.d, - * testsuite/gas/arm/thumb32.d, - * testsuite/gas/arm/udf-bad.d, - * testsuite/gas/arm/udf.d, - * testsuite/gas/arm/undefined.d, - * testsuite/gas/arm/undefined_coff.d, - * testsuite/gas/arm/vcmp-zero-bad.d, - * testsuite/gas/arm/vcvt-bad.d, - * testsuite/gas/arm/vfp-bad.d, - * testsuite/gas/arm/vfp-bad_t2.d, - * testsuite/gas/arm/vfpv3-d16-bad.d, - * testsuite/gas/arm/vldm-thumb-bad.d, - * testsuite/gas/arm/vldmw-arm-bad.d, - * testsuite/gas/arm/vldmw-thumb-bad.d, - * testsuite/gas/arm/vstr-arm-bad.d, - * testsuite/gas/arm/vstr-thumb-bad.d, - * testsuite/gas/arm/weakdef-2.d, - * testsuite/gas/avr/pr21621.d, - * testsuite/gas/elf/bad-bss.d, - * testsuite/gas/elf/bad-group.d, - * testsuite/gas/elf/bad-group.err, - * testsuite/gas/elf/bad-section-flag.d, - * testsuite/gas/elf/bad-section-flag.err, - * testsuite/gas/elf/bad-size.d, - * testsuite/gas/elf/bad-size.err, - * testsuite/gas/elf/common1.d, - * testsuite/gas/elf/common2.d, - * testsuite/gas/elf/common5a.d, - * testsuite/gas/elf/common5b.d, - * testsuite/gas/elf/common5c.d, - * testsuite/gas/elf/common5d.d, - * testsuite/gas/elf/dwarf2-10.d, - * testsuite/gas/elf/dwarf2-8.d, - * testsuite/gas/elf/dwarf2-9.d, - * testsuite/gas/elf/pr21661.d, - * testsuite/gas/elf/pseudo.d, - * testsuite/gas/elf/section13.d, - * testsuite/gas/i386/bad-size.d, - * testsuite/gas/i386/bundle-bad.d, - * testsuite/gas/i386/ilp32/x86-64-sse-check-warn.d, - * testsuite/gas/i386/intel-intel.d, - * testsuite/gas/i386/intel.d, - * testsuite/gas/i386/intelok.d, - * testsuite/gas/i386/mpx-add-bnd-prefix.d, - * testsuite/gas/i386/sse-check-warn.d, - * testsuite/gas/i386/string-ok.d, - * testsuite/gas/i386/vgather-check-warn.d, - * testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d, - * testsuite/gas/i386/x86-64-sse-check-warn.d, - * testsuite/gas/i386/x86-64-vgather-check-warn.d, - * testsuite/gas/mips/addiu-error.d, - * testsuite/gas/mips/branch-extern-3.d, - * testsuite/gas/mips/branch-extern-4.d, - * testsuite/gas/mips/branch-local-2.d, - * testsuite/gas/mips/branch-local-3.d, - * testsuite/gas/mips/branch-local-5.d, - * testsuite/gas/mips/branch-local-6.d, - * testsuite/gas/mips/branch-local-n32-2.d, - * testsuite/gas/mips/branch-local-n32-3.d, - * testsuite/gas/mips/branch-local-n32-5.d, - * testsuite/gas/mips/branch-local-n32-6.d, - * testsuite/gas/mips/branch-local-n64-2.d, - * testsuite/gas/mips/branch-local-n64-3.d, - * testsuite/gas/mips/branch-local-n64-5.d, - * testsuite/gas/mips/branch-local-n64-6.d, - * testsuite/gas/mips/branch-section-3.d, - * testsuite/gas/mips/branch-section-4.d, - * testsuite/gas/mips/branch-weak-3.d, - * testsuite/gas/mips/branch-weak-4.d, - * testsuite/gas/mips/break-error.d, - * testsuite/gas/mips/crc-err.d, - * testsuite/gas/mips/crc64-err.d, - * testsuite/gas/mips/ginv-err.d, - * testsuite/gas/mips/interaptiv-mr2@isa-override-1.d, - * testsuite/gas/mips/interaptiv-mr2@isa-override-2.d, - * testsuite/gas/mips/isa-override-2.d, - * testsuite/gas/mips/lui-1.d, - * testsuite/gas/mips/lui-2.d, - * testsuite/gas/mips/macro-warn-1-n32.d, - * testsuite/gas/mips/macro-warn-1.d, - * testsuite/gas/mips/macro-warn-2.d, - * testsuite/gas/mips/macro-warn-3.d, - * testsuite/gas/mips/macro-warn-4.d, - * testsuite/gas/mips/micromips-branch-delay.d, - * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d, - * testsuite/gas/mips/micromips-branch-relax-insn32.d, - * testsuite/gas/mips/micromips-branch-relax-pic.d, - * testsuite/gas/mips/micromips-branch-relax.d, - * testsuite/gas/mips/micromips-compact.d, - * testsuite/gas/mips/micromips-insn32.d, - * testsuite/gas/mips/micromips-noinsn32.d, - * testsuite/gas/mips/micromips-size-1.d, - * testsuite/gas/mips/micromips-trap.d, - * testsuite/gas/mips/micromips-warn-branch-delay.d, - * testsuite/gas/mips/micromips.d, - * testsuite/gas/mips/micromips@addiu-error.d, - * testsuite/gas/mips/micromips@mips5-fp.d, - * testsuite/gas/mips/micromips@msa-relax.d, - * testsuite/gas/mips/micromips@relax-at.d, - * testsuite/gas/mips/micromips@relax-offset.d, - * testsuite/gas/mips/micromips@relax.d, - * testsuite/gas/mips/mips-gp32-fp64-pic.d, - * testsuite/gas/mips/mips-gp32-fp64.d, - * testsuite/gas/mips/mips-gp64-fp32-pic.d, - * testsuite/gas/mips/mips-gp64-fp32.d, - * testsuite/gas/mips/mips-gp64-fp64.d, - * testsuite/gas/mips/mips16-32@mips16-insn-e.d, - * testsuite/gas/mips/mips16-32@mips16-insn-t.d, - * testsuite/gas/mips/mips16-32@mips16-macro-e.d, - * testsuite/gas/mips/mips16-32@mips16-macro-t.d, - * testsuite/gas/mips/mips16-32@mips16-macro.d, - * testsuite/gas/mips/mips16-64@mips16-insn-e.d, - * testsuite/gas/mips/mips16-64@mips16-insn-t.d, - * testsuite/gas/mips/mips16-absolute-reloc-2.d, - * testsuite/gas/mips/mips16-absolute-reloc-3.d, - * testsuite/gas/mips/mips16-branch-addend-5.d, - * testsuite/gas/mips/mips16-branch-unextended-1.d, - * testsuite/gas/mips/mips16-branch-unextended-2.d, - * testsuite/gas/mips/mips16-insn-e.d, - * testsuite/gas/mips/mips16-insn-t.d, - * testsuite/gas/mips/mips16-jal-t.d, - * testsuite/gas/mips/mips16-macro-e.d, - * testsuite/gas/mips/mips16-macro-t.d, - * testsuite/gas/mips/mips16-pcrel-2.d, - * testsuite/gas/mips/mips16-pcrel-3.d, - * testsuite/gas/mips/mips16-pcrel-4.d, - * testsuite/gas/mips/mips16-pcrel-5.d, - * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d, - * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d, - * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d, - * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d, - * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d, - * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d, - * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d, - * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d, - * testsuite/gas/mips/mips16-pcrel-delay-0.d, - * testsuite/gas/mips/mips16-pcrel-delay-1.d, - * testsuite/gas/mips/mips16-pcrel-n64-0.d, - * testsuite/gas/mips/mips16-pcrel-n64-1.d, - * testsuite/gas/mips/mips16-pcrel-pic-0.d, - * testsuite/gas/mips/mips16-pcrel-pic-1.d, - * testsuite/gas/mips/mips16-reg-error.d, - * testsuite/gas/mips/mips16-relax-unextended-1.d, - * testsuite/gas/mips/mips16-relax-unextended-2.d, - * testsuite/gas/mips/mips16-reloc-error.d, - * testsuite/gas/mips/mips16-sdrasp.d, - * testsuite/gas/mips/mips16@addiu-error.d, - * testsuite/gas/mips/mips16e-32@mips16-insn-e.d, - * testsuite/gas/mips/mips16e-32@mips16-insn-t.d, - * testsuite/gas/mips/mips16e-32@mips16-macro-e.d, - * testsuite/gas/mips/mips16e-32@mips16-macro-t.d, - * testsuite/gas/mips/mips16e-32@mips16-macro.d, - * testsuite/gas/mips/mips16e-32@mips16e-64.d, - * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d, - * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d, - * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d, - * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d, - * testsuite/gas/mips/mips16e2-32@mips16-macro.d, - * testsuite/gas/mips/mips16e2-32@mips16e-64.d, - * testsuite/gas/mips/mips16e2-copy-err.d, - * testsuite/gas/mips/mips16e2-imm-error.d, - * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.d, - * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.d, - * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.d, - * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.d, - * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.d, - * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.d, - * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.d, - * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64.d, - * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.d, - * testsuite/gas/mips/mips16e2-mt-err.d, - * testsuite/gas/mips/mips16e2-reloc-error.d, - * testsuite/gas/mips/mips16e2@lui-2.d, - * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d, - * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d, - * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d, - * testsuite/gas/mips/mips1@isa-override-2.d, - * testsuite/gas/mips/mips1@relax-offset.d, - * testsuite/gas/mips/mips2@isa-override-2.d, - * testsuite/gas/mips/mips32-mt.d, - * testsuite/gas/mips/mips32@isa-override-2.d, - * testsuite/gas/mips/mips32r2@isa-override-2.d, - * testsuite/gas/mips/mips32r3@isa-override-2.d, - * testsuite/gas/mips/mips32r5@isa-override-2.d, - * testsuite/gas/mips/mips32r6@isa-override-2.d, - * testsuite/gas/mips/mips5-fp.d, - * testsuite/gas/mips/mips64-mips3d-incl.d, - * testsuite/gas/mips/mips64-mips3d.d, - * testsuite/gas/mips/mipsr6@mips5-fp.d, - * testsuite/gas/mips/msa-relax.d, - * testsuite/gas/mips/octeon3@isa-override-1.d, - * testsuite/gas/mips/octeon3@isa-override-2.d, - * testsuite/gas/mips/option-pic-relax-2.d, - * testsuite/gas/mips/option-pic-relax-3.d, - * testsuite/gas/mips/option-pic-relax-4.d, - * testsuite/gas/mips/option-pic-relax-5.d, - * testsuite/gas/mips/org-1.d, - * testsuite/gas/mips/org-10.d, - * testsuite/gas/mips/org-4.d, - * testsuite/gas/mips/org-5.d, - * testsuite/gas/mips/org-6.d, - * testsuite/gas/mips/r3000@isa-override-2.d, - * testsuite/gas/mips/r3000@relax-offset.d, - * testsuite/gas/mips/r3900@isa-override-2.d, - * testsuite/gas/mips/r3900@relax-offset.d, - * testsuite/gas/mips/reginfo-2-n32.d, - * testsuite/gas/mips/reginfo-2.d, - * testsuite/gas/mips/relax-at.d, - * testsuite/gas/mips/relax-offset.d, - * testsuite/gas/mips/relax-swap1-mips1.d, - * testsuite/gas/mips/relax-swap1-mips2.d, - * testsuite/gas/mips/relax-swap2.d, - * testsuite/gas/mips/relax.d, - * testsuite/gas/mips/save-err.d, - * testsuite/gas/mips/set-arch.d, - * testsuite/gas/mips/xpa-err.d, - * testsuite/gas/mips/xpa-virt-err.d, - * testsuite/gas/msp430/bad.d, - * testsuite/gas/msp430/errata_warns.d, - * testsuite/gas/msp430/pr22133.d, - * testsuite/gas/ppc/lsp-checks.d, - * testsuite/gas/ppc/misalign.d, - * testsuite/gas/ppc/spe2-checks.d, - * testsuite/gas/riscv/bad-csr.d, - * testsuite/gas/riscv/c-addi16sp-fail.d, - * testsuite/gas/riscv/c-addi4spn-fail.d, - * testsuite/gas/riscv/c-fld-fsd-fail.d, - * testsuite/gas/riscv/c-lui-fail.d, - * testsuite/gas/riscv/c-nonzero-imm.d, - * testsuite/gas/riscv/c-nonzero-reg.d, - * testsuite/gas/riscv/fence-fail.d, - * testsuite/gas/riscv/lla64-fail.d, - * testsuite/gas/riscv/rouding-fail.d, - * testsuite/gas/sh/pcrel-hms.d, - * testsuite/gas/sh/pcrel.d, - * testsuite/gas/sparc/dcti-couples-v8.d, - * testsuite/gas/sparc/dcti-couples-v9c.d, - * testsuite/gas/tic6x/arch-invalid-1.d, - * testsuite/gas/tic6x/arch-invalid-2.d, - * testsuite/gas/tic6x/dir-junk.d, - * testsuite/gas/tic6x/insns-bad-1.d, - * testsuite/gas/tic6x/insns-bad-2.d, - * testsuite/gas/tic6x/parallel-bad-1.d, - * testsuite/gas/tic6x/parallel-bad-2.d, - * testsuite/gas/tic6x/parallel-bad-3.d, - * testsuite/gas/tic6x/parallel-bad-4.d, - * testsuite/gas/tic6x/predicate-bad-1.d, - * testsuite/gas/tic6x/predicate-bad-2.d, - * testsuite/gas/tic6x/predicate-bad-3.d, - * testsuite/gas/tic6x/reloc-bad-1.d, - * testsuite/gas/tic6x/reloc-bad-2.d, - * testsuite/gas/tic6x/reloc-bad-3.d, - * testsuite/gas/tic6x/reloc-bad-4.d, - * testsuite/gas/tic6x/reloc-bad-5.d, - * testsuite/gas/tic6x/reloc-bad-6.d, - * testsuite/gas/tic6x/resource-func-unit-1.d, - * testsuite/gas/tic6x/resource-func-unit-2.d, - * testsuite/gas/tic6x/sploop-bad-1.d, - * testsuite/gas/tic6x/sploop-bad-2.d, - * testsuite/gas/tic6x/sploop-bad-3.d, - * testsuite/gas/tic6x/sploop-bad-4.d, - * testsuite/gas/tic6x/sploop-bad-5.d, - * testsuite/gas/tic6x/sploop-bad-6.d, - * testsuite/gas/tic6x/sploop-bad-7.d, - * testsuite/gas/tic6x/unwind-bad-1.d, - * testsuite/gas/tic6x/unwind-bad-2.d, - * testsuite/lib/gas-defs.exp (run_dump_tests): Replace stderr - and error-output with warning_output and error_output. - (slurp_options): Accept underscore rather than dash. - -2018-09-15 Alan Modra - - * testsuite/gas/aarch64/codealign.d, - * testsuite/gas/aarch64/litpool.d, - * testsuite/gas/aarch64/mapmisc.d, - * testsuite/gas/aarch64/mapping.d, - * testsuite/gas/aarch64/mapping2.d, - * testsuite/gas/aarch64/mapping3.d, - * testsuite/gas/aarch64/mapping4.d, - * testsuite/gas/all/align.d, - * testsuite/gas/all/fill-1.d, - * testsuite/gas/all/incbin.d, - * testsuite/gas/all/redef2.d, - * testsuite/gas/all/redef3.d, - * testsuite/gas/all/relax.d, - * testsuite/gas/all/sleb128-2.d, - * testsuite/gas/all/sleb128-4.d, - * testsuite/gas/all/sleb128-5.d, - * testsuite/gas/all/sleb128-7.d, - * testsuite/gas/all/sleb128-9.d, - * testsuite/gas/all/weakref1.d, - * testsuite/gas/all/weakref1g.d, - * testsuite/gas/all/weakref1l.d, - * testsuite/gas/all/weakref1u.d, - * testsuite/gas/all/weakref1w.d, - * testsuite/gas/arm/abs12.d, - * testsuite/gas/arm/arch4t.d, - * testsuite/gas/arm/arch7.d, - * testsuite/gas/arm/arch7a-mp.d, - * testsuite/gas/arm/arch7em.d, - * testsuite/gas/arm/archv8m-main-dsp-5.d, - * testsuite/gas/arm/armv8a-automatic-hlt.d, - * testsuite/gas/arm/armv8a-automatic-lda.d, - * testsuite/gas/arm/attr-syntax.d, - * testsuite/gas/arm/automatic-bw.d, - * testsuite/gas/arm/automatic-cbz.d, - * testsuite/gas/arm/automatic-clrex.d, - * testsuite/gas/arm/automatic-lda.d, - * testsuite/gas/arm/automatic-ldaex.d, - * testsuite/gas/arm/automatic-ldaexb.d, - * testsuite/gas/arm/automatic-ldrex.d, - * testsuite/gas/arm/automatic-ldrexd.d, - * testsuite/gas/arm/automatic-movw.d, - * testsuite/gas/arm/automatic-sdiv.d, - * testsuite/gas/arm/automatic-strexb.d, - * testsuite/gas/arm/barrier-thumb.d, - * testsuite/gas/arm/barrier.d, - * testsuite/gas/arm/bignum1.d, - * testsuite/gas/arm/blx-bad.d, - * testsuite/gas/arm/blx-local.s, - * testsuite/gas/arm/crc32-armv8-a-bad.d, - * testsuite/gas/arm/crc32-armv8-a.d, - * testsuite/gas/arm/crc32-armv8-r-bad.d, - * testsuite/gas/arm/crc32-armv8-r.d, - * testsuite/gas/arm/eabi_attr_1.d, - * testsuite/gas/arm/fp-save.d, - * testsuite/gas/arm/local_function.d, - * testsuite/gas/arm/local_label_coff.d, - * testsuite/gas/arm/local_label_wince.d, - * testsuite/gas/arm/mapping.d, - * testsuite/gas/arm/mapping2.d, - * testsuite/gas/arm/mapping3.d, - * testsuite/gas/arm/mapping4.d, - * testsuite/gas/arm/mapshort-elf.d, - * testsuite/gas/arm/mask_1-armv8-a.d, - * testsuite/gas/arm/mask_1-armv8-r.d, - * testsuite/gas/arm/mrs-msr-thumb-v6t2.d, - * testsuite/gas/arm/mrs-msr-thumb-v7-m.d, - * testsuite/gas/arm/mrs-msr-thumb-v7e-m.d, - * testsuite/gas/arm/nomapping.d, - * testsuite/gas/arm/pic.d, - * testsuite/gas/arm/pic_vxworks.d, - * testsuite/gas/arm/plt-1.d, - * testsuite/gas/arm/reloc-bad.d, - * testsuite/gas/arm/reloc-fdpic.d, - * testsuite/gas/arm/t2-branch-global.d, - * testsuite/gas/arm/thumb.d, - * testsuite/gas/arm/thumb2_ldr_immediate_armv6.d, - * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d, - * testsuite/gas/arm/thumb2_pool.d, - * testsuite/gas/arm/thumb2_vpool.d, - * testsuite/gas/arm/thumb2_vpool_be.d, - * testsuite/gas/arm/thumb32.d, - * testsuite/gas/arm/thumbver.d, - * testsuite/gas/arm/tls.d, - * testsuite/gas/arm/tls_vxworks.d, - * testsuite/gas/arm/undefined_coff.d, - * testsuite/gas/arm/unwind.d, - * testsuite/gas/arm/unwind_vxworks.d, - * testsuite/gas/arm/v4bx.d, - * testsuite/gas/arm/vfma1.d, - * testsuite/gas/arm/vldm-arm.d, - * testsuite/gas/arm/weakdef-1.d, - * testsuite/gas/arm/weakdef-2.d, - * testsuite/gas/arm/wince.d, - * testsuite/gas/arm/wince_inst.d, - * testsuite/gas/elf/bignums.d, - * testsuite/gas/elf/common5a.d, - * testsuite/gas/elf/common5b.d, - * testsuite/gas/elf/common5c.d, - * testsuite/gas/elf/common5d.d, - * testsuite/gas/elf/dwarf2-1.d, - * testsuite/gas/elf/dwarf2-10.d, - * testsuite/gas/elf/dwarf2-11.d, - * testsuite/gas/elf/dwarf2-12.d, - * testsuite/gas/elf/dwarf2-13.d, - * testsuite/gas/elf/dwarf2-14.d, - * testsuite/gas/elf/dwarf2-15.d, - * testsuite/gas/elf/dwarf2-16.d, - * testsuite/gas/elf/dwarf2-17.d, - * testsuite/gas/elf/dwarf2-18.d, - * testsuite/gas/elf/dwarf2-2.d, - * testsuite/gas/elf/dwarf2-3.d, - * testsuite/gas/elf/dwarf2-4.d, - * testsuite/gas/elf/dwarf2-5.d, - * testsuite/gas/elf/dwarf2-6.d, - * testsuite/gas/elf/dwarf2-7.d, - * testsuite/gas/elf/dwarf2-8.d, - * testsuite/gas/elf/dwarf2-9.d, - * testsuite/gas/elf/group0c.d, - * testsuite/gas/elf/group1a.d, - * testsuite/gas/elf/group2.d, - * testsuite/gas/elf/groupautoa.d, - * testsuite/gas/elf/ifunc-1.d, - * testsuite/gas/elf/section11.d, - * testsuite/gas/elf/section4.d, - * testsuite/gas/elf/section7.d, - * testsuite/gas/elf/syms.d, - * testsuite/gas/elf/symver.d, - * testsuite/gas/i386/iamcu-1.d, - * testsuite/gas/i386/iamcu-2.d, - * testsuite/gas/i386/iamcu-3.d, - * testsuite/gas/i386/iamcu-4.d, - * testsuite/gas/i386/iamcu-5.d, - * testsuite/gas/i386/ilp32/rex.d, - * testsuite/gas/i386/k1om.d, - * testsuite/gas/i386/l1om.d, - * testsuite/gas/i386/rex.d, - * testsuite/gas/mach-o/sections-3.d, - * testsuite/gas/macros/irp.d, - * testsuite/gas/macros/repeat.d, - * testsuite/gas/macros/rept.d, - * testsuite/gas/macros/semi.d, - * testsuite/gas/macros/test2.d, - * testsuite/gas/macros/test3.d, - * testsuite/gas/macros/vararg.d, - * testsuite/gas/mips/jal-svr4pic-local.d, - * testsuite/gas/mips/micromips@jal-svr4pic-local.d, - * testsuite/gas/mips/mips1@jal-svr4pic-local.d, - * testsuite/gas/mips/r3000@jal-svr4pic-local.d, - * testsuite/gas/ppc/machine.d, - * testsuite/lib/gas-defs.exp (run_dump_test): Replace not-target - and not-skip with notarget and noskip. - -2018-09-15 Alan Modra - - * testsuite/gas/mri/char.d: Don't objcopy to srec, objdump instead. - * testsuite/gas/mri/float.d: Likewise. - * testsuite/lib/gas-defs.exp (run_dump_test): Remove support - for objcopy as a dump tool. - -2018-09-14 H.J. Lu - - PR gas/23642 - * testsuite/gas/i386/evex-wig2.d: New file. - * testsuite/gas/i386/evex-wig2.s: Likewise. - * testsuite/gas/i386/x86-64-evex-wig2.d: Likewise. - * testsuite/gas/i386/x86-64-evex-wig2.s: Likewise. - * testsuite/gas/i386/i386.exp: Run evex-wig2 and - x86-64-evex-wig2. - -2018-09-14 H.J. Lu - - PR gas/23642 - * config/tc-i386.c (build_vex_prefix): Check VEXWIG when setting - the VEX.W bit. - (build_evex_prefix): Check VEXWIG when setting the EVEX.W bit. - -2018-09-14 H.J. Lu - - PR binutils/23655 - * testsuite/gas/i386/evex.d: Updated. - -2018-09-14 H.J. Lu - - PR binutils/23655 - * testsuite/gas/i386/evex.d: New file. - * testsuite/gas/i386/evex.s: Likewise. - * testsuite/gas/i386/i386.exp: Run evex. - -2018-09-10 Lifang Xia - - * config/tc-csky.c (md_apply_fix): Transmit BFD_RELOC_32_PCREL to - BFD_RELOC_CKCORE_PCREL32. - (tc_gen_reloc): Trasmit BFD_RELOC_CKCORE_ADDR32 to - BFD_RELOC_CKCORE_PCREL32 while pc-relative. - * config/tc-csky.h (DIFF_EXPR_OK): Define to enable PC relative diff - relocs. - -2018-09-14 Jan Beulich - - * config/tc-i386.c (process_suffix): Simplify CRC32 special - casing code. - -2018-09-13 H.J. Lu - - * config/tc-i386.c (build_vex_prefix): Swap destination and - source only if there are more than 1 register operand. - -2018-09-13 Jan Beulich - - * config/tc-i386.c (operand_size_match): Also deal with three - operand case. - (match_template): Also allow operand reversal for three operand - templates. - -2018-09-13 Jan Beulich - - * config/tc-i386.c (operand_size_match): Mirror - .reg/.regsimd/.acc handling from forward to reverse case. - (build_vex_prefix): Check first and last operand types are equal - and also consider .d for swapping operands for VEX2 encoding. - (match_template): Clear found_reverse_match on every iteration. - Use Opcode_SIMD_FloatD and Opcode_SIMD_IntD. - * testsuite/gas/i386/pseudos.s, - testsuite/gas/i386/x86-64-pseudos.s: Add kmov* tests. - * testsuite/gas/i386/pseudos.d, - testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations. - -2018-09-13 Jan Beulich - - testsuite/gas/i386/ilp32/x86-64-opts.d, - testsuite/gas/i386/ilp32/x86-64-opts-intel.d, - testsuite/gas/i386/ilp32/x86-64-sse2avx-opts.d, - testsuite/gas/i386/ilp32/x86-64-sse2avx-opts-intel.d: Refer to - non-ILP32 output. - -2018-09-13 Jan Beulich - - * config/tc-i386.c (dir_encoding_swap): New enumerator. - (parse_insn): Use it. - (match_template): Re-write reversal check. - * testsuite/gas/i386/pseudos.s: Add various move, ALU, and FPU - tests. - * testsuite/gas/i386/x86-64-pseudos.s: Likewise. - * testsuite/gas/i386/pseudos.d, - testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations. - -2018-09-13 Jan Beulich - - * config/tc-i386.c (parse_insn): Extend comment ahead of pseudo- - suffix handling. - -2018-09-13 Jan Beulich - - * testsuite/gas/i386/x86-64-mpx.s: And BNDMK case with RIP- - relative memory operand. - * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations. - -2018-09-13 Nick Clifton - - * dwarf2dbg.c (generic_dwarf2_emit_offset): Use memset to - initialise expression structure. - (set_or_check_view): Likewise. - (out_set_addr): Likewise. - (emit_fixed_inc_line_addr): Likewise. - (relax_inc_line_addr): Likewise. - (out_debug_line): Likewise. - (out_debug_ranges): Likewise. - (out_debug_aranges): Likewise. - (out_debug_info): Likewise. - -2018-09-06 Alan Modra - - PR 23570 - * config/tc-avr.c: Revert 2018-09-03 change. - -2018-09-04 Daniel Cederman - - * config/tc-sparc.c (md_assemble): Allow non-fpop2 instructions - before floating point branches for Sparc V8 and earlier. - * testsuite/gas/sparc/sparc.exp: Execute the new test. - * testsuite/gas/sparc/v8branch.d: New test. - * testsuite/gas/sparc/v8branch.s: New test. - -2018-09-03 Nick Clifton - - PR gas/23570 - * config/tc-avr.c (md_pseudo_table): Add entry for "secction". - (avr_set_section): New function. Ensures that the .noinit section - gets the NOBITS ELF section type. - -2018-08-31 Kito Cheng - - * testsuite/gas/riscv/c-fld-fsd-fail.d: New. - * testsuite/gas/riscv/c-fld-fsd-fail.l: Likewise. - * testsuite/gas/riscv/c-fld-fsd-fail.s: Likewise. - -2018-08-31 H.J. Lu - - * testsuite/gas/elf/section14.d: Change skip to xfail. - * testsuite/lib/gas-defs.exp (run_dump_test): Add xfail support. - -2018-08-31 Alan Modra - - * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): Allow ADDR16 - HIGH, HIGHA, HIGHER, HIGHERA, HIGHEST, and HIGHESTA relocs. - Group 16-bit relocs. - * config/tc-ppc.c (md_apply_fix): Translate those ADDR16 relocs - to REL16 when pcrel. Sort relocs. - -2018-08-31 H.J. Lu - - * testsuite/gas/elf/elf.exp: Pass -mx86-used-note=no to - assembler for section2 test on ELF/x86 targets. - -2018-08-31 H.J. Lu - - * testsuite/gas/cfi/cfi-label.d: Pass -mx86-used-note=no to - assembler. - -2018-08-31 H.J. Lu - - * testsuite/gas/i386/bss.d: Pass -mx86-used-note=no to assembler. - * testsuite/gas/i386/ilp32/quad.d: Likewise. - * testsuite/gas/i386/ilp32/reloc64.d: Likewise. - * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise. - * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise. - * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise. - * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise. - * testsuite/gas/i386/property-1.d: Likewise. - * testsuite/gas/i386/relax.d: Likewise. - * testsuite/gas/i386/reloc64.d: Likewise. - * testsuite/gas/i386/size-1.d: Likewise. - * testsuite/gas/i386/size-3.d: Likewise. - * testsuite/gas/i386/x86-64-property-1.d: Likewise. - * testsuite/gas/i386/x86-64-size-1.d: Likewise. - * testsuite/gas/i386/x86-64-size-3.d: Likewise. - * testsuite/gas/i386/x86-64-size-5.d: Likewise. - * testsuite/gas/i386/x86-64-unwind.d: Likewise. - * testsuite/gas/i386/divide.d: Append "#pass". - -2018-08-31 H.J. Lu - - * NEWS: Mention -mx86-used-note=[no|yes]. - * configure.ac: Add --enable-x86-used-note. Define - DEFAULT_X86_USED_NOTE. - * config.in: Regenerated. - * configure: Likewise. - * config/tc-i386.c (x86_isa_1_used): New. - (x86_feature_2_used): Likewise. - (x86_used_note): Likewise. - (_i386_insn): Add has_regmmx, has_regxmm, has_regymm and - has_regzmm. - (build_modrm_byte): Set i.has_regmmx, i.has_regzmm. - i.has_regymm and i.has_regxmm. - (x86_cleanup): New function. - (output_insn): Update x86_isa_1_used and x86_feature_2_used. - (OPTION_X86_USED_NOTE): New. - (md_longopts): Add -mx86-used-note=. - (md_parse_option): Handle OPTION_X86_USED_NOTE. - (md_show_usage): Display -mx86-used-note=. - * config/tc-i386.h (x86_cleanup): New prototype. - (md_cleanup): New. - * doc/c-i386.texi: Document -mx86-used-note=. - -2018-08-30 Jose E. Marchesi - - * testsuite/gas/sparc/leon.d: Disassemble v8 code also in sparc64 - targets. - -2018-08-30 Kito Cheng - - * config/tc-riscv.c (riscv_subset_supports): New argument: - xlen_required. - (riscv_multi_subset_supports): New function, able to check more - than one extension. - (riscv_ip): Use riscv_multi_subset_supports instead of - riscv_subset_supports. - (riscv_set_arch): Update call-site for riscv_subset_supports. - (riscv_after_parse_args): Likewise. - -2018-08-30 H.J. Lu - - * testsuite/gas/elf/section14.d: Skip h8300 targets. - -2018-08-30 H.J. Lu - - * testsuite/gas/elf/elf.exp: Run section14. - * testsuite/gas/elf/section14.d: New file. - * testsuite/gas/elf/section14.s: Likewise. - -2018-08-29 Daniel Cederman - - * testsuite/gas/sparc/leon.d: New test. - * testsuite/gas/sparc/leon.s: New test. - * testsuite/gas/sparc/sparc.exp: Execute the pwrpsr test. - -2018-08-29 Chenghua Xu - - * config/tc-mips.c (ISA_HAS_ODD_SINGLE_FPR): Exclude CPU_GS264E. - (mips_cpu_info_table): Add gs264e descriptors. - * doc/as.texi (march table): Add gs264e. - -2018-08-29 Chenghua Xu - - * config/tc-mips.c (ISA_HAS_ODD_SINGLE_FPR): Exclude CPU_GS464E. - (mips_cpu_info_table): Add gs464e descriptors. - * doc/as.texi (march table): Add gs464e. - -2018-08-29 Chenghua Xu - - * config/tc-mips.c (ISA_HAS_ODD_SINGLE_FPR): Rename - CPU_LOONGSON_3A to CPU_GS464. - (mips_cpu_info_table): Add gs464 descriptors, Keep - loongson3a as an alias of gs464 for compatibility. - * doc/as.texi (march table): Rename loongson3a to gs464. - * testsuite/gas/mips/loongson-3a-mmi.d: Set "ISA Extension" - flag to None. - -2018-08-29 Chenghua Xu - - * NEWS: Mention Loongson EXTensions R2 (EXT2) support. - * config/tc-mips.c (options): Add OPTION_LOONGSON_EXT2 and - OPTION_NO_LOONGSON_EXT2. - (md_longopts): Likewise. - (mips_ases): Define availability for EXT. - (mips_convert_ase_flags): Map ASE_LOONGSON_EXT2 to - AFL_ASE_LOONGSON_EXT2. - (md_show_usage): Add help for -mloongson-ext2 and - -mno-loongson-ext2. - * doc/as.texi: Document -mloongson-ext2, -mno-loongson-ext2. - * doc/c-mips.texi: Document -mloongson-ext2, -mno-loongson-ext2, - .set loongson-ext2 and .set noloongson-ext2. - * testsuite/gas/mips/loongson-ext2.d: New test. - * testsuite/gas/mips/loongson-ext2.s: New test. - * testsuite/gas/mips/mips.exp: Run loongson-ext2 test. - -2018-08-29 Chenghua Xu - - * NEWS: Mention Loongson EXTensions (EXT) support. - * config/tc-mips.c (options): Add OPTION_LOONGSON_EXT and - OPTION_NO_LOONGSON_EXT. - (md_longopts): Likewise. - (mips_ases): Define availability for EXT. - (mips_convert_ase_flags): Map ASE_LOONGSON_EXT to - AFL_ASE_LOONGSON_EXT. - (mips_cpu_info_table): Add ASE_LOONGSON_EXT for loongson3a. - (md_show_usage): Add help for -mloongson-ext and - -mno-loongson-ext. - * doc/as.texi: Document -mloongson-ext, -mno-loongson-ext. - * doc/c-mips.texi: Document -mloongson-ext, -mno-loongson-ext, - .set loongson-ext and .set noloongson-ext. - * testsuite/gas/mips/loongson-mmi.d: Add ASE flag. - -2018-08-29 Chenghua Xu - - * NEWS: Mention Loongson Content Address Memory (CAM) - support. - * config/tc-mips.c (options): Add OPTION_LOONGSON_CAM and - OPTION_NO_LOONGSON_CAM. - (md_longopts): Likewise. - (mips_ases): Define availability for CAM. - (mips_convert_ase_flags): Map ASE_LOONGSON_CAM to - AFL_ASE_LOONGSON_CAM. - (mips_cpu_info_table): Add ASE_LOONGSON_CAM for loongson3a. - (md_show_usage): Add help for -mloongson-cam and - -mno-loongson-cam. - * doc/as.texi: Document -mloongson-cam, -mno-loongson-cam. - * doc/c-mips.texi: Document -mloongson-cam, -mno-loongson-cam, - .set loongson-cam and .set noloongson-cam. - * testsuite/gas/mips/loongson-3a-2.d: Move cam test to ... - * testsuite/gas/mips/loongson-cam.d: Here. Add ISA/ASE - flag verification. - * testsuite/gas/mips/loongson-3a-2.s: Move cam test to ... - * testsuite/gas/mips/loongson-cam.s: Here. - * testsuite/gas/mips/loongson-3a-mmi.d: Add ASE flag. - * testsuite/gas/mips/mips.exp: Run loongson-cam test. - -2018-08-27 H.J. Lu - - * testsuite/gas/i386/i386.exp: Run property-1 and - x86-64-property-1. - * testsuite/gas/i386/property-1.d: New file. - * testsuite/gas/i386/property-1.s: Likewise. - * testsuite/gas/i386/x86-64-property-1.d: Likewise. - -2018-08-23 Kito Cheng - - * config/tc-riscv.c (arg_lookup): Checking - length before look up. - * testsuite/gas/riscv/fence-fail.d: New file. - * testsuite/gas/riscv/fence-fail.l: Likewise. - * testsuite/gas/riscv/fence-fail.s: Likewise. - * testsuite/gas/riscv/rouding-fail.d: Likewise. - * testsuite/gas/riscv/rouding-fail.l: Likewise. - * testsuite/gas/riscv/rouding-fail.s: Likewise. - -2018-08-23 H.J. Lu - - PR ld/23536 - * Makefile.am (development.exp): New target. - (EXTRA_DEJAGNU_SITE_CONFIG): New. - (DISTCLEANFILES): Add development.exp. - * Makefile.in: Regenerated. - -2018-08-22 Alan Modra - - * dw2gencfi.c (emit_expr_encoded, output_fde): Warning fixes. - -2018-08-21 Arnold Metselaar - - * config/tc-z80.c: Correct treatment of undocumented instruction - sli/sll. - (emit_mr): Add argument unportable. - (emit_bit): Adapt call to emit_mr. - (emit_mr_z80): New function. - (emit_mr_unport): New function. - (instab[]): Replace emit_mr with emit_mr_z80 or emit_mr_unportable - as appropriate. - -2018-08-21 Andreas Schwab - - * read.c (do_repeat_with_expander): Use memmove instead of strcpy - on unterminated string buffer. - -2018-08-21 Alan Modra - - * config/tc-ppc.c (md_assemble): Delay counting of optional - operands until one is encountered. Allow for the possibility - of optional base regs, ie. PPC_OPERAND_PARENS. Call - ppc_optional_operand_value with extra args. - -2018-08-21 Alan Modra - - * testsuite/gas/s12z/bit-manip-invalid.d: Correct regexps. - -2018-08-18 John Darrington - - * testsuite/gas/s12z/bit-manip-invalid.d: New file. - * testsuite/gas/s12z/bit-manip-invalid.s: New file. - * testsuite/gas/s12z/s12z.exp: Add them. - -2018-08-14 H.J. Lu - - * testsuite/gas/i386/evex-no-scale-64.d: Updated. - * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise. - * testsuite/gas/i386/x86-64-addr32.d: Likewise. - * testsuite/gas/i386/ilp32/x86-64-addr32-intel.d: Likewise. - * testsuite/gas/i386/ilp32/x86-64-addr32.d: Likewise. - * testsuite/gas/i386/x86-64-addr32.s: Add %eiz tests. - -2018-08-14 Robert Yang - - * as.c (main): Improve check for input file matching output file. - -2018-08-11 H.J. Lu - - * config/tc-i386.c (cpu_arch): Add .cmov and .fxsr. - (cpu_noarch): Add nocmov and nofxsr. - * doc/c-i386.texi: Document cmov and fxsr. - -2018-08-10 H.J. Lu - - * config/tc-i386.c (md_show_usage): Don't display --32/--64/--x32 - if BFD64 is undefined. - * testsuite/gas/i386/i386.exp (gas_bfd64_check): New. - Run code64-inval if gas_bfd64_check fails. - -2018-08-10 H.J. Lu - - * testsuite/gas/i386/evex-no-scale.s: Removed. - * testsuite/gas/i386/evex-no-scale-32.d: Don't use - evex-no-scale.s. - * testsuite/gas/i386/evex-no-scale-64.d: Likewise. - * testsuite/gas/i386/evex-no-scale-32.s: New file. - * testsuite/gas/i386/evex-no-scale-64.s: Likewise. - -2018-08-09 H.J. Lu - - * as.c (show_usage): Display default option for --elf-stt-common=. - -2018-08-09 H.J. Lu - - * config/tc-i386.c (md_show_usage): Display default options. - -2018-08-07 James Patrick Conlon - Nick Clifton - - PR 23481 - * config/tc-pdp11.c (parse_op_noreg): Check for deferred register - addressing before assuming non-deferred addressing. - * testsuite/gas/pdp11/pr23481.s: New test source file. - * testsuite/gas/pdp11/pr23481.d: New test driver file. - * testsuite/gas/pdp11/pdp11.exp: Run the new test. - -2018-08-06 Claudiu Zissulescu - - * config/tc-arc.c (rf16_only): New static variable. - (autodetect_attributes): Check if we are rf16 compliant. - (arc_set_public_attributes): Fix and emit the warning is required. - * testsuite/gas/arc/attr-rf16.d: New file. - * testsuite/gas/arc/attr-rf16.err: Likewise. - * testsuite/gas/arc/attr-rf16.s: Likewise. - -2018-08-06 Claudiu Zissulescu - - * config/tc-arc.c (arc_set_public_attributes): Add - Tag_ARC_ATR_version. - (arc_convert_symbolic_attribute): Likewise. - * testsuite/gas/arc/attr-arc600.d: Update test. - * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise. - * testsuite/gas/arc/attr-arc600_norm.d: Likewise. - * testsuite/gas/arc/attr-arc601.d: Likewise. - * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise. - * testsuite/gas/arc/attr-arc601_mul64.d: Likewise. - * testsuite/gas/arc/attr-arc601_norm.d: Likewise. - * testsuite/gas/arc/attr-arc700.d: Likewise. - * testsuite/gas/arc/attr-arcem.d: Likewise. - * testsuite/gas/arc/attr-archs.d: Likewise. - * testsuite/gas/arc/attr-autodetect-1.d: Likewise. - * testsuite/gas/arc/attr-cpu-a601.d: Likewise. - * testsuite/gas/arc/attr-cpu-a700.d: Likewise. - * testsuite/gas/arc/attr-cpu-em.d: Likewise. - * testsuite/gas/arc/attr-cpu-hs.d: Likewise. - * testsuite/gas/arc/attr-em.d: Likewise. - * testsuite/gas/arc/attr-em4.d: Likewise. - * testsuite/gas/arc/attr-em4_dmips.d: Likewise. - * testsuite/gas/arc/attr-em4_fpuda.d: Likewise. - * testsuite/gas/arc/attr-em4_fpus.d: Likewise. - * testsuite/gas/arc/attr-hs.d: Likewise. - * testsuite/gas/arc/attr-hs34.d: Likewise. - * testsuite/gas/arc/attr-hs38.d: Likewise. - * testsuite/gas/arc/attr-hs38_linux.d: Likewise. - * testsuite/gas/arc/attr-mul64.d: Likewise. - * testsuite/gas/arc/attr-name.d: Likewise. - * testsuite/gas/arc/attr-nps400.d: Likewise. - * testsuite/gas/arc/attr-override-mcpu.d: Likewise. - * testsuite/gas/arc/attr-quarkse_em.d: Likewise. - -2018-08-06 Claudiu Zissulescu - - * config/tc-arc.c (find_opcode_match): Accept uppercase aux-regs - names. - * testsuite/gas/arc/ld2.d: Update test. - * testsuite/gas/arc/taux.d: Likewise. - * testsuite/gas/arc/taux.s: Likewise. - -2018-08-06 Jan Beulich - - * config/tc-i386.c (build_modrm_byte): Use RegIP and RegIZ. - (output_disp): Use RegIP. - (i386_addressing_mode): Drop uses of RegEip and RegEiz. - (i386_index_check): Replace uses of RegEip/RegEiz. - (parse_real_register): Use RegIZ. - * config/tc-i386-intel.c (i386_intel_simplify_register): Use - RegIZ. - * testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust expectations. - -2018-08-05 H.J. Lu - - * testsuite/gas/i386/i386.exp: Run evex-no-scale-32 and - evex-no-scale-64 only for ELF targets. - * testsuite/gas/i386/prefix32.s: Append ".p2align 4,0". - * testsuite/gas/i386/prefix64.s: Likewise. - * testsuite/gas/i386/prefix32.l: Updated. - * testsuite/gas/i386/prefix64.l: Likewise. - -2018-08-05 Alan Modra - - * config/tc-ppc.c (ppc_elf_suffix): Support @notoc. - (ppc_force_relocation, ppc_fix_adjustable): Handle REL24_NOTOC. - -2018-08-03 Dimitar Dimitrov - - * config/tc-pru.c (pru_regname_to_dw2regnum): Return the starting HW - byte-register number. - (pru_frame_initial_instructions): Use byte-numbering for FP index. - * config/tc-pru.h (DWARF2_DEFAULT_RETURN_COLUMN): Use number from - latest GCC. - (DWARF2_CIE_DATA_ALIGNMENT): Set to -1. - -2018-08-03 Jan Beulich - - * config/tc-i386.c (Operand_Mem): Define. - (operand_size_match): Use it. - (check_VecOperands): Likewise. - (i386_att_operand): Likewise. - (swap_2_operands): Also swap flags fields. - * config/tc-i386-intel.c (i386_intel_operand): Likewise. - -2018-08-01 James Patrick Conlon - Nick Clifton - - PR 14480 - * config/tc-pdp11.c (parse_op_noreg): Check for and handle auto - increment deferred. - * testsuite/gas/pdp11/pr14480.d: New test driver file. - * testsuite/gas/pdp11/pr14480.s: New test source file file. - * testsuite/gas/pdp11/pdp11.exp: Run the new test. - -2018-08-01 Nick Clifton - - * config/tc-ns32k.c (addr_mode): Replace "Drop through" comment - with "Fall through" so that it will be recognised by gcc's switch - statment error checker. - -2018-08-01 Alan Modra - - * po/POTFILES.in: Regenerate. - -2018-07-31 Jan Beulich - - * config/tc-i386.c (optimize_encoding): Also handle kandnd, - kandnq, kxord, and kxorq. - * testsuite/gas/i386/optimize-1.s: Add kandn and kxor tests. - * testsuite/gas/i386/optimize-1.d, - testsuite/gas/i386/optimize-4.d, - testsuite/gas/i386/optimize-5.d: Adjust expectations. - -2018-07-31 Jan Beulich - - * config/tc-i386.c (check_VecOperands): Convert masking handling - to switch(), to deal with DYNAMIC_MASKING. - -2018-07-31 Jan Beulich - - * testsuite/gas/i386/inval-avx512f.s: Add invalid zeroing- - masking tests. - * testsuite/gas/i386/inval-avx512f.l: Adjust expectations. - -2018-07-31 Jan Beulich - - * testsuite/gas/i386/sg.s, testsuite/gas/i386/sg.l: New. - * testsuite/gas/i386/i386.exp: Run new test. - * testsuite/gas/i386/avx512f.s, testsuite/gas/i386/avx512f_vl.s, - testsuite/gas/i386/avx512pf.s, - testsuite/gas/i386/x86-64-avx512f.s, - testsuite/gas/i386/x86-64-avx512f_vl.s, - testsuite/gas/i386/x86-64-avx512pf.s: Drop unnessecary operand - size specifiers from scatter/gather insns in Intel mode. - -2018-07-31 Jan Beulich - - * config/tc-i386.c (is_any_vex_encoding): New. - (process_immext, process_suffix): Use it. - (md_assemble): Likewise. Reject DATA_PREFIX with VEX/XOP/EVEX - insn. - * testsuite/gas/i386/prefix32.s, testsuite/gas/i386/prefix32.l, - testsuite/gas/i386/prefix64.s, testsuite/gas/i386/prefix64.l - New. - * testsuite/gas/i386/i386.exp: Run new tests. - -2018-07-31 Jan Beulich - - * config/tc-i386.c (parse_real_register): Use cpuavx512f instead - of cpuvrex. - -2018-07-30 Jan Beulich - - PR gas/23465 - * config/tc-i386.c (output_disp): Restrict scaling. - * testsuite/gas/i386/evex-no-scale.s, - testsuite/gas/i386/evex-no-scale-32.d - testsuite/gas/i386/evex-no-scale-64.d: New. - * testsuite/gas/i386/i386.exp: Run new tests. - -2018-07-30 Andrew Jenner - - * Makefile.am (TARGET_CPU_CFILES): Add entry for C-SKY. - (TARGET_CPU_HFILES, TARGET_ENV_HFILES): Likewise. - * Makefile.in: Regenerated. - * config/tc-csky.c: New file. - * config/tc-csky.h: New file. - * config/te-csky_abiv1.h: New file. - * config/te-csky_abiv1_linux.h: New file. - * config/te-csky_abiv2.h: New file. - * config/te-csky_abiv2_linux.h: New file. - * configure.tgt: Add C-SKY. - * doc/Makefile.am (CPU_DOCS): Add entry for C-SKY. - * doc/Makefile.in: Regenerated. - * doc/all.texi: Set CSKY feature. - * doc/as.texi (Overview): Add C-SKY options. - (Machine Dependencies): Likewise. - * doc/c-csky.texi: New file. - * testsuite/gas/csky/*: New test cases. - * NEWS: Mention the support. - -2018-07-29 John David Anglin - - * config/tc-hppa.c: Include "struc-symbol.h". - (pa_build_unwind_subspace): Use call_info->start_symbol->sy_frag - instead of frag_now for local symbol replacement. - -2018-07-27 Jim Wilson - - * configure.tgt (riscv*): Accept as alias for riscv32*. - -2018-07-26 H.J. Lu - - PR gas/23453 - * config/tc-i386.c (parse_operands): Check for more than 2 - memory references. - * testsuite/gas/i386/inval.s: Add a movsd test with 3 memory - references. - * testsuite/gas/i386/x86-64-inval.s: Likewise. - * testsuite/gas/i386/inval.l: Updated. - * testsuite/gas/i386/x86-64-inval.l: Likewise. - -2018-07-26 H.J. Lu - - * config/tc-i386.c (check_VecOperations): Initialize - broadcast_op.bytes to 0. - -2018-07-26 Alex Chadwick - - * config/tc-ppc.c (md_show_usage): Add -mgekko and -mbroadway. - * doc/as.texi (Target PowerPC options): Add -mgekko and -mbroadway. - * doc/c-ppc.texi (PowerPC-Opts): Likewise. - * testsuite/gas/ppc/broadway.d, - * testsuite/gas/ppc/broadway.s: New test for broadway. - * testsuite/gas/ppc/ppc.exp: Run new test. - -2018-07-26 Alan Modra - - * config/tc-ppc.c (ppc_elf_localentry): Allow .localentry values - of 1 and 7 to directly set value into STO_PPC64_LOCAL_MASK bits. - -2018-07-25 H.J. Lu - - * config/tc-i386.c (Broadcast_Operation): Add bytes. - (build_evex_prefix): Use i.broadcast->bytes. - (match_broadcast_size): New function. - (check_VecOperands): Use the broadcast field to compute the - number of bytes to broadcast directly. Set i.broadcast->bytes. - Use match_broadcast_size. - -2018-07-25 Thomas Preud'homme - - * doc/c-arm.texi (.arch directive): Clarify that name must not include - an extension. - (.cpu directive): Likewise. - -2018-07-24 H.J. Lu - - * config/tc-i386.c (build_vex_prefix): Use unsigned int to - iterate through multi-length vector operands. - (build_evex_prefix): Likewise. - -2018-07-24 Jan Beulich - - * config/tc-i386.c (check_VecOperands): Handle EVEXLIG when - deriving i.memshift. - * testsuite/gas/i386/cvtsi2sX.s, testsuite/gas/i386/cvtsi2sX.l: - New. - * testsuite/gas/i386/i386.exp: Run new test. - * testsuite/gas/i386/avx512f.d, - testsuite/gas/i386/evex-lig256.d, - testsuite/gas/i386/evex-lig512.d,, - testsuite/gas/i386/x86-64-avx512f.d, - testsuite/gas/i386/x86-64-evex-lig256.d, - testsuite/gas/i386/x86-64-evex-lig512.d: Adjust expectations. - -2018-07-23 H.J. Lu - - * testsuite/gas/i386/inval-avx512f.s: Add a test for missing - broadcast. - * testsuite/gas/i386/x86-64-inval-avx512f.s: Likewise. - * testsuite/gas/i386/inval-avx512f.l: Updated. - * testsuite/gas/i386/x86-64-inval-avx512f.l: Likewise. - -2018-07-23 H.J. Lu - - * config/tc-i386.c (i386_error): Remove - broadcast_not_on_src_operand. - (match_template): Likewse. - -2018-07-23 Claudiu Zissulescu - - * testsuite/gas/arc/st.d: Fix test. - -2018-07-23 Claudiu Zissulescu - - * config/tc-arc.c (tokenize_extinsn): Convert to lower case the - name of extension instructions. - * testsuite/gas/arc/textinsn_case.d: New file. - * testsuite/gas/arc/textinsn_case.s: Likewise. - -2018-07-22 H.J. Lu - - * config/tc-i386.c (build_vex_prefix): Determine vector - length from the last multi-length vector operand. - (build_evex_prefix): Likewise. - -2018-07-20 H.J. Lu - - * config/tc-i386.c (match_simd_size): Break long line. - (match_mem_size): Likewise. - -2018-07-20 H.J. Lu - - * config/tc-i386.c (match_reg_size): Renamed to ... - (match_operand_size): This. Update comments. - (match_simd_size): Update comments. Replace match_reg_size - with match_operand_size. - (match_mem_size): Likewise. - (operand_size_match): Replace match_reg_size with - match_operand_size. - -2018-07-20 Chenghua Xu - Maciej W. Rozycki - - * NEWS: Mention MultiMedia extensions Instructions (MMI) - support. - * config/tc-mips.c (options): Add OPTION_LOONGSON_MMI and - OPTION_NO_LOONGSON_MMI. - (md_longopts): Likewise. - (mips_ases): Define availability for MMI. - (mips_convert_ase_flags): Map ASE_LOONGSON_MMI to - AFL_ASE_LOONGSON_MMI. - (mips_cpu_info_table): Add ASE_LOONGSON_MMI for loongson2f/3a. - (md_show_usage): Add help for -mloongson-mmi and - -mno-loongson-mmi. - * doc/as.texi: Document -mloongson-mmi, -mno-loongson-mmi. - * doc/c-mips.texi: Document -mloongson-mmi, -mno-loongson-mmi, - .set loongson-mmi and .set noloongson-mmi. - * testsuite/gas/mips/loongson-2f.d: Move mmi test to ... - * testsuite/gas/mips/loongson-2f-mmi.d: Here. Add ISA/ASE - flag verification. - * testsuite/gas/mips/loongson-2f.s: Move mmi test to ... - * testsuite/gas/mips/loongson-2f-mmi.s: Here. - * testsuite/gas/mips/loongson-3a.d: Move mmi test to ... - * testsuite/gas/mips/loongson-3a-mmi.d: Here. Add ISA/ASE - flag verification. - * testsuite/gas/mips/loongson-3a.s: Move mmi test to ... - * testsuite/gas/mips/loongson-3a-mmi.s: Here. - * testsuite/gas/mips/mips.exp: Run loongson-2f-mmi and - loongson-3a-mmi tests. - -2018-07-20 Jose E. Marchesi - Rainer Orth - - * testsuite/gas/sparc/sparc.exp (set_tests_arch): New proc. - Prefix v9c, v9d, v9v, v9m, v9m8 tests with corresponding - set_tests_arch. - -2018-07-19 Jan Beulich - - * config/tc-i386.c (build_evex_prefix): Derive vector length - from broadcast specification if necessary. - (match_template): Also exclude broadcast when checking whether - to reject 32-bit operands on pre-386. - -2018-07-19 Jan Beulich - - * testsuite/gas/i386/noavx512-2.l: Adjust expectations. - -2018-07-19 Jan Beulich - - * config/tc-i386.c (is_evex_encoding): Also check disp8memshift. - (optimize_encoding): Also cover templates without cpuavx512vl - allowing for zmmword and having a ymmword actual. - (check_VecOperands): Handle DISP8_SHIFT_VL. - * testsuite/gas/i386/noavx512-2.l: Adjust expectations. - -2018-07-18 Maciej W. Rozycki - - * testsuite/gas/mips/loongson-2e.d: Correct whitespace issues. - * testsuite/gas/mips/loongson-2f.d: Likewise. - * testsuite/gas/mips/loongson-2f-2.d: Likewise. - * testsuite/gas/mips/loongson-2f-3.d: Likewise. - * testsuite/gas/mips/loongson-3a.d: Likewise. - * testsuite/gas/mips/loongson-3a-2.d: Likewise. - * testsuite/gas/mips/loongson-2e.s: Likewise. - * testsuite/gas/mips/loongson-2f.s: Likewise. - * testsuite/gas/mips/loongson-2f-3.s: Likewise. - * testsuite/gas/mips/loongson-3a.s: Likewise. - * testsuite/gas/mips/loongson-3a-2.s: Likewise. - -2018-07-18 H.J. Lu - - PR gas/23418 - * testsuite/gas/i386/xmmword.s: Add tests for vcvtps2qq, - vcvtps2uqq, vcvttps2qq and vcvttps2uqq. - * testsuite/gas/i386/xmmword.l: Updated. - -2018-07-16 Jan Beulich - - * config/tc-i386.c (match_reg_size): Split second parameter - into two. - (match_simd_size): Likewise. - (match_mem_size): Likewise. - (MATCH_STRAIGHT, MATCH_REVERSE): Define. - (operand_size_match): Change return type. New local variable - "match". Always check for reverse match when opcode_modifier.d - is set. - (match_template) New local variable "size_match". Skip further - matching if operand_size_match() did not report a respective - match. - * testsuite/gas/i386/inval.s: Add control register reads/writes. - * testsuite/gas/i386/inval.l: Adjust expectations. - -2018-07-13 Nick Clifton - - * testsuite/gas/elf/missing-build-notes.s: New test. Checks that - relocs are correctly generated for missing build notes. - * testsuite/gas/elf/missing-build-notes.d: New file. Expected - output from objdump. - * testsuite/gas/elf/elf.exp: Run the new test. - -2018-07-13 Nick Clifton - - * config/tc-arm.c (do_neon_mov): When converting an integer - immediate into a floating point value, check that the conversion - is valid. Also warn if the immediate is valid as both a floating - point value and a bit pattern. - * testsuite/gas/arm/vfp-mov-enc.s: Add instructions that use - floating point bit patterns. - * testsuite/gas/arm/vfp-mov-enc.d: Add regexps for the disassembly - of the new insns. - -2018-07-12 Sudakshina Das - - * testsuite/gas/aarch64/system.s: Add test for ssbb - and pssbb. - * testsuite/gas/aarch64/system.d: Update accordingly - and remove explicit addresses. - -2018-07-11 Tamar Christina - - PR binutils/23192 - * testsuite/gas/aarch64/illegal-by-element.s: New. - * testsuite/gas/aarch64/illegal-by-element.d: New. - * testsuite/gas/aarch64/illegal-by-element.l: New. - -2018-07-11 Sudakshina Das - - * config/tc-arm.c (insns): Add new ssbb and pssbb instructions. - * testsuite/gas/arm/csdb.s: Add new tests for ssbb and pssbb. - * testsuite/gas/arm/csdb.d: Likewise - * testsuite/gas/arm/thumb2_it_bad.s: Likewise. - * testsuite/gas/arm/thumb2_it_bad.l: Likewise. - * testsuite/gas/arm/barrier.d: Update with ssbb. - * testsuite/gas/arm/barrier-thumb.d: Likewise. - -2018-07-11 Jan Beulich - - * config/tc-i386.c (inoutportreg, reg16_inoutportreg): Delete. - (i386_att_operand): Replace uses of reg16_inoutportreg and - inoutportreg. - -2018-07-11 Jan Beulich - - * config/tc-i386.c (output_insn): Remove check_prefix label and - fold remaining expression. - -2018-07-11 Jan Beulich - - * testsuite/gas/i386/cet.s, testsuite/gas/i386/x86-64-cet.s: - Add Intel cases with operand size specifiers. - * testsuite/gas/i386/cet-intel.d, testsuite/gas/i386/cet.d, - testsuite/gas/i386/x86-64-cet-intel.d, - testsuite/gas/i386/x86-64-cet.d: Adjust expectations. - -2018-07-11 Jan Beulich - - * config/tc-i386.c (md_assemble): Also replace an already - present REP prefix. - * testsuite/gas/i386/mpx-add-bnd-prefix.s, - testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.s: Test RET with - all REP flavors. - * testsuite/gas/i386/mpx-add-bnd-prefix.d, - testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d: Adjust - expectations. - * testsuite/gas/i386/mpx-add-bnd-prefix.e, - testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.e: New. - -2018-07-09 Jeff Law - - * testsuite/nds32/ji-jr.d: Fix name tag. - -2018-07-06 Tamar Christina - - PR binutils/23369 - * testsuite/gas/aarch64/msr.d (csselr_el1, - vsesr_el2, osdtrrx_el1, osdtrtx_el1, pmsidr_el1): New. - * testsuite/gas/aarch64/msr.s: Likewise. - -2018-07-06 Nick Clifton - - * write.c (maybe_generate_build_notes): Bias reloc offsets by the - number of notes already generated. - -2018-07-05 Nick Clifton - - * po/ru.po: Updated Russian translation. - -2018-07-02 Maciej W. Rozycki - - * config/tc-mips.c (macro_build) <'i', 'j'>: Also accept - BFD_RELOC_16, BFD_RELOC_MIPS_GOT16, BFD_RELOC_MIPS_CALL16, - BFD_RELOC_MIPS_GOT_HI16, BFD_RELOC_MIPS_GOT_LO16, - BFD_RELOC_MIPS_CALL_HI16, BFD_RELOC_MIPS_CALL_LO16, - BFD_RELOC_MIPS_SUB, BFD_RELOC_MIPS_GOT_PAGE, - BFD_RELOC_MIPS_HIGHEST, BFD_RELOC_MIPS_GOT_DISP, - BFD_RELOC_MIPS_TLS_GD, BFD_RELOC_MIPS_TLS_LDM, - BFD_RELOC_MIPS_TLS_DTPREL_HI16, BFD_RELOC_MIPS_TLS_DTPREL_LO16, - BFD_RELOC_MIPS_TLS_GOTTPREL, BFD_RELOC_MIPS_TLS_TPREL_HI16 and - BFD_RELOC_MIPS_TLS_TPREL_LO16 relocations if in the microMIPS - mode. - * testsuite/gas/mips/elf-rel28-lldscd-n32.d: New test. - * testsuite/gas/mips/elf-rel28-lldscd-micromips-n32.d: New test. - * testsuite/gas/mips/elf-rel28-lldscd-n64.d: New test. - * testsuite/gas/mips/elf-rel28-lldscd-micromips-n64.d: New test. - * testsuite/gas/mips/elf-rel28.s: Add instruction selection. - * testsuite/gas/mips/mips.exp: Run the new tests. - -2018-07-02 Maciej W. Rozycki - - * testsuite/gas/mips/elf-rel28-micromips-n32.d: New test. - * testsuite/gas/mips/elf-rel28-micromips-n64.d: New test. - * testsuite/gas/mips/mips.exp: Run the new tests. - -2018-07-02 Thomas Preud'homme - - * config/tc-arm.c (cpu_arch_ver): Use symbolic TAG_CPU_ARCH macros - rather than hardcode their values. - -2018-07-02 Thomas Preud'homme - - * NEWS: Use command-line consistently when used in a compount word. - * doc/as.texi: Likewise. - * doc/c-aarch64.texi: Likewise. - * doc/c-alpha.texi: Likewise. - * doc/c-arc.texi: Likewise. - * doc/c-arm.texi: Likewise. - * doc/c-avr.texi: Likewise. - * doc/c-bfin.texi: Likewise. - * doc/c-cris.texi: Likewise. - * doc/c-epiphany.texi: Likewise. - * doc/c-i386.texi: Likewise. - * doc/c-ia64.texi: Likewise. - * doc/c-lm32.texi: Likewise. - * doc/c-m32r.texi: Likewise. - * doc/c-m68k.texi: Likewise. - * doc/c-mips.texi: Likewise. - * doc/c-mmix.texi: Likewise. - * doc/c-msp430.texi: Likewise. - * doc/c-mt.texi: Likewise. - * doc/c-nios2.texi: Likewise. - * doc/c-ppc.texi: Likewise. - * doc/c-pru.texi: Likewise. - * doc/c-rl78.texi: Likewise. - * doc/c-rx.texi: Likewise. - * doc/c-tic6x.texi: Likewise. - * doc/c-v850.texi: Likewise. - * doc/c-vax.texi: Likewise. - * doc/c-visium.texi: Likewise. - * doc/c-xstormy16.texi: Likewise. - * doc/c-xtensa.texi: Likewise. - * doc/c-z80.texi: Likewise. - * doc/c-z8k.texi: Likewise. - * doc/internals.texi: Likewise. - -2018-06-29 Jim Wilson - - * config/tc-riscv.c (md_begin): Call hash_reg_name for "fp". - -2018-06-29 Ramana Radhakrishnan - - * config/tc-aarch64.c (warn_unpredictable_ldst): Add unpredictable - cases for ldxp, stlxrb, stlxrh, stlxr. - * testsuite/gas/aarch64/diagnostic.s: New tests. - * testsuite/gas/aarch64/diagnostic.l: Adjust. - -2018-06-29 Tamar Christina - - PR binutils/23192 - * config/tc-aarch64.c (process_omitted_operand, parse_operands): Add - AARCH64_OPND_Em16 - * testsuite/gas/aarch64/advsimd-armv8_3.s: Expand tests to cover upper - 16 registers. - * testsuite/gas/aarch64/advsimd-armv8_3.d: Likewise. - * testsuite/gas/aarch64/advsimd-compnum.s: Likewise. - * testsuite/gas/aarch64/advsimd-compnum.d: Likewise. - * testsuite/gas/aarch64/sve.d: Likewise. - -2018-06-27 Alan Modra - - * configure.ac: Specify extra_objects with leading "config/" - for xtensa-relax.o and te-vms.o. Use case statements to unique - extra_objects. Formatting. - * configure: Regenerate. - -2018-06-26 Nick Clifton - - * po/uk.po: Updated Ukranian translation. - -2018-06-26 Nick Clifton - - PR 23335 - * config/tc-msp430.c (check_reg): Only accept register name - strings that do not end in an alphanumeric character. - * testsuite/gas/msp430/msp430x.d: Update expected disassembly. - -2018-06-24 Nick Clifton - - * configure: Regenerate. - * po/gas.pot: Regenerate. - -2018-06-24 Nick Clifton - - 2.31 branch created. - * NEWS: Add marker for 2.31. - -2018-06-22 Tamar Christina - - * testsuite/gas/aarch64/addsub.s: Add negs to zero reg test. - * testsuite/gas/aarch64/addsub.d: Likewise. - -2018-06-21 Alan Modra - - * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign". - * doc/Makefile.in: Regenerate. - -2018-06-20 Nick Clifton - - PR 21458 - * tc-arm.c (do_adr): Only set the bottom bit of an imported thumb - function symbol address if -mthumb-interwork is active. - (do_adrl): Likewise. - * doc/c-arm.texi: Update descriptions of the -mthumb-interwork - option and the ADR and ADRL pseudo-ops. - * NEWS: Mention the new behaviour of the ADR and ADRL pseudo-ops. - * testsuite/gas/arm/pr21458.d: Add -mthumb-interwork option to - assembler command line. - * testsuite/gas/arm/adr.d: Likewise. - * testsuite/gas/arm/adrl.d: Likewise. - -2018-06-20 Sebastian Huber - - PR gas/23305 - * config/tc-riscv.c (riscv_ip): Add format specifier 'B' for - constants and symbols. - * testsuite/gas/riscv/lla32.d: New file. - * testsuite/gas/riscv/lla32.s: Likewise. - * testsuite/gas/riscv/lla64-fail.d: Likewise. - * testsuite/gas/riscv/lla64-fail.l: Likewise. - * testsuite/gas/riscv/lla64-fail.s: Likewise. - * testsuite/gas/riscv/lla64.d: Likewise. - * testsuite/gas/riscv/lla64.s: Likewise. - -2018-06-19 Simon Marchi - - * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11, add subdir-objects. - (TARG_CPU_O, OBJ_FORMAT_O, ATOF_TARG_O): Add config/ prefix. - * configure.ac (TARG_CPU_O, OBJ_FORMAT_O, ATOF_TARG_O, emfiles, - extra_objects): Add config/ prefix. - * doc/as.texinfo: Rename to... - * doc/as.texi: ... this. - * doc/Makefile.am: Rename as.texinfo to as.texi throughout. - Remove DISTCLEANFILES hack. - (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add no-texinfo.tex and - info-in-builddir. - * Makefile.in: Re-generate. - * aclocal.m4: Re-generate. - * config.in: Re-generate. - * configure: Re-generate. - * doc/Makefile.in: Re-generate. - -2018-06-14 Faraz Shahbazker - - * NEWS: Mention MIPS Global INValidate ASE support. - * config/tc-mips.c (options): Add OPTION_GINV and OPTION_NO_GINV. - (md_longopts): Likewise. - (mips_ases): Define availability for GINV. - (mips_convert_ase_flags): Map ASE_GINV to AFL_ASE_GINV. - (md_show_usage): Add help for -mginv and -mno-ginv. - * doc/as.texinfo: Document -mginv, -mno-ginv. - * doc/c-mips.texi: Document -mginv, -mno-ginv, .set ginv and - .set noginv. - * testsuite/gas/mips/ase-errors-1.s: Add error checks for GINV - ASE. - * testsuite/gas/mips/ase-errors-2.s: Likewise. - * testsuite/gas/mips/ase-errors-1.l: Likewise. - * testsuite/gas/mips/ase-errors-2.l: Likewise. - * testsuite/gas/mips/ginv.d: New test. - * testsuite/gas/mips/ginv-err.d: New test. - * testsuite/gas/mips/ginv-err.l: New test stderr output. - * testsuite/gas/mips/ginv.s: New test source. - * testsuite/gas/mips/ginv-err.s: New test source. - * testsuite/gas/mips/mips.exp: Run the new tests. - -2018-06-13 Scott Egerton - Faraz Shahbazker - Maciej W. Rozycki - - * NEWS: Mention CRC ASE support. - * config/tc-mips.c (options): Add OPTION_CRC and OPTION_NO_CRC. - (md_longopts): Likewise. - (md_show_usage): Add help for -mcrc and -mno-crc. - (mips_ases): Define availability for CRC and CRC64. - (mips_convert_ase_flags): Map ASE_CRC to AFL_ASE_CRC. - * doc/as.texinfo: Document -mcrc, -mno-crc. - * doc/c-mips.texi: Document -mcrc, -mno-crc, .set crc and - .set no-crc. - * testsuite/gas/mips/ase-errors-1.l: Add error checks for CRC - ASE. - * testsuite/gas/mips/ase-errors-2.l: Likewise. - * testsuite/gas/mips/ase-errors-1.s: Likewise. - * testsuite/gas/mips/ase-errors-2.s: Likewise. - * testsuite/gas/mips/crc.d: New test. - * testsuite/gas/mips/crc64.d: New test. - * testsuite/gas/mips/crc-err.d: New test. - * testsuite/gas/mips/crc64-err.d: New test. - * testsuite/gas/mips/crc-err.l: New test stderr output. - * testsuite/gas/mips/crc64-err.l: New test stderr output. - * testsuite/gas/mips/crc.s: New test source. - * testsuite/gas/mips/crc64.s: New test source. - * testsuite/gas/mips/crc-err.s: New test source. - * testsuite/gas/mips/crc64-err.s: New test source. - * testsuite/gas/mips/mips.exp: Run the new tests. - -2018-06-11 Maciej W. Rozycki - - * config/tc-mips.c (md_show_usage): Correct help text for `-O0' - and `-O'. Mention `-O1'. Add `-O2' and its description. - -2018-06-08 Kyrylo Tkachov - - * config/tc-arm.c (arm_cpus): Add Cortex-A76 entry. - * doc/c-arm.texi (-mcpu): Document cortex-a76. - -2018-06-08 Kyrylo Tkachov - - * config/tc-aarch64.c (aarch64_cpus): Add Cortex-A76 entry. - * doc/c-aarch64.texi (-mcpu): Document cortex-a76. - -2018-06-08 Egeyar Bagcioglu - - PR 20319 - * testsuite/gas/aarch64/illegal-3.s: Test if unallocated FMOV encodings - are detected as undefined. - * testsuite/gas/aarch64/illegal-3.d: Likewise. - * testsuite/gas/aarch64/illegal.s: Test if FMOV instructions that are - changing the size from 32 bits to 64 bits and vice versa trigger an - error. - * testsuite/gas/aarch64/illegal.l: Likewise. - -2018-06-08 Tamar Christina - - PR binutils/21446 - * tc-aarch64.c (record_operand_error, record_operand_error_with_data): - Initialize non_fatal. - -2018-06-06 Sameera Deshpande - - * config/tc-aarch64.c (aarch64_cpus): Add support of ARMv8.4 in - saphira. - -2018-06-05 Alan Modra - - * Makefile.in: Regenerate. - -2018-06-04 Volodymyr Arbatov - - * config/tc-xtensa.c (elf32xtensa_separate_props): New - declaration. - (option_separate_props, option_no_separate_props): New - enumeration constants. - (md_longopts): Add separate-prop-tables option. - (md_parse_option): Add cases for option_separate_props and - option_no_separate_props. - (md_show_usage): Add help for [no-]separate-prop-tables options. - -2018-06-01 H.J. Lu - - * configure: Regenerated. - -2018-06-01 Alexandre Oliva - - * dwarf2dbg.c (dwarf2_consume_line_info): Drop view. - -2018-06-01 Jan Beulich - - * testsuite/gas/i386/ilp32/x86-64-opcode.d, - testsuite/gas/i386/x86-64-opcode.d: Adjust expectations. - -2018-06-01 Jan Beulich - - * config/tc-i386.c (add_prefix): Check REX bits individually. - * testsuite/gas/i386/rex.s: Add tests for overriding individual - REX bits, including when others are already set. - * testsuite/gas/i386/ilp32/rex.d, testsuite/gas/i386/rex.d: - Adjust expectations. - -2018-06-01 Jan Beulich - - * config/tc-i386.c (control): Delete. - (parse_real_register): Simply check "control" bit. Re-wrap. - -2018-06-01 Jan Beulich - - * config/tc-i386.c (build_modrm_byte): Drop REX_B from condition - checking for the need of emitting LOCK. Check "control" bit just - once. - -2018-06-01 Jan Beulich - - * testsuite/gas/i386/invpcid.s, - testsuite/gas/i386/x86-64-invpcid.s: Add test with explicit - "oword ptr". - * testsuite/gas/i386/invpcid.d, - testsuite/gas/i386/invpcid-intel.d, - testsuite/gas/i386/x86-64-invpcid.d, - testsuite/gas/i386/x86-64-invpcid-intel.d: Adjust expectations. - -2018-05-30 Amit Pawar - - * config/tc-i386.c (cpu_flag_init): Add CPU_ZNVER2_FLAGS. - * doc/c-i386.texi : Document znver2. - * gas/testsuite/gas/i386/arch-13.s: Updated for znver2. - * gas/testsuite/gas/i386/arch-13.d: Updated. - * gas/testsuite/gas/i386/arch-13-znver1.d: Updated. - * gas/testsuite/gas/i386/arch-13-znver2.d: New file. - * gas/testsuite/gas/i386/x86-64-arch-3.s: Updated for znver2. - * gas/testsuite/gas/i386/x86-64-arch-3.d: Updated. - * gas/testsuite/gas/i386/x86-64-arch-3-znver1.d: Updated. - * gas/testsuite/gas/i386/x86-64-arch-3-znver2.d: New file. - * gas/testsuite/gas/i386/i386.exp: Updated for new test. - -2018-05-25 Alan Modra - - * po/POTFILES.in: Regenerate. - -2018-05-24 Jim Wilson - - PR gas/23219 - * config/tc-riscv.c (riscv_frag_align_code): Move frag_more call after - !riscv_opts.relax check. - (riscv_handle_align): Rewrite !riscv_opts.relax support. - * config/tc-riscv (MAX_MEM_FOR_RS_ALIGN_CODE): Update. - * testsuite/gas/riscv/no-relax-align.d: New - * testsuite/gas/riscv/no-relax-align.s: New - * testsuite/gas/riscv/no-relax-align-2.d: New - * testsuite/gas/riscv/no-relax-align-2.s: New - -2018-05-21 Peter Bergner - - * config/tc-ppc.c (md_assemble): Delete handling of fake operands. - * testsuite/gas/ppc/common.s (crmove, cror, or., or, nor., nor): Add - test of extended mnemonics. - * testsuite/gas/ppc/common.d: Likewise. Don't match instruction offset. - * testsuite/gas/ppc/spe.s (evor, evnor): Add test of extended mnemonics. - * testsuite/gas/ppc/spe.d: Likewise. Don't match instruction offset. - -2018-05-18 Kito Cheng - Monk Chiang - Jim Wilson - - * config/tc-riscv.c (rve_abi): New. - (riscv_set_options): Add rve field. Initialize it. - (riscv_set_rve) New function. - (riscv_set_arch): Support 'e' ISA subset. - (reg_lookup_internal): If rve, check register is available. - (riscv_set_abi): New parameter rve. - (md_parse_option): Pass new argument to riscv_set_abi. - (riscv_after_parse_args): Call riscv_set_rve. If rve_abi, set - EF_RISCV_RVE. - * doc/c-riscv.texi (-mabi): Document new ilp32e argument. - -2018-05-18 John Darrington - - * Makefile.am: Add support for s12z target. - * Makefile.in: Regenerate. - * NEWS: Mention the new support. - * config/tc-s12z.c: New file. - * config/tc-s12z.h: New file. - * configure.tgt: Add s12z support. - * doc/Makefile.am: Likewise. - * doc/Makefile.in: Regenerate. - * doc/all.texi: Add s12z documentation. - * doc/as.textinfo: Likewise. - * doc/c-s12z.texi: New file. - * testsuite/gas/s12z: New directory. - * testsuite/gas/s12z/abs.d: New file. - * testsuite/gas/s12z/abs.s: New file. - * testsuite/gas/s12z/adc-imm.d: New file. - * testsuite/gas/s12z/adc-imm.s: New file. - * testsuite/gas/s12z/adc-opr.d: New file. - * testsuite/gas/s12z/adc-opr.s: New file. - * testsuite/gas/s12z/add-imm.d: New file. - * testsuite/gas/s12z/add-imm.s: New file. - * testsuite/gas/s12z/add-opr.d: New file. - * testsuite/gas/s12z/add-opr.s: New file. - * testsuite/gas/s12z/and-imm.d: New file. - * testsuite/gas/s12z/and-imm.s: New file. - * testsuite/gas/s12z/and-opr.d: New file. - * testsuite/gas/s12z/and-opr.s: New file. - * testsuite/gas/s12z/and-or-cc.d: New file. - * testsuite/gas/s12z/and-or-cc.s: New file. - * testsuite/gas/s12z/bfext-special.d: New file. - * testsuite/gas/s12z/bfext-special.s: New file. - * testsuite/gas/s12z/bfext.d: New file. - * testsuite/gas/s12z/bfext.s: New file. - * testsuite/gas/s12z/bit-manip.d: New file. - * testsuite/gas/s12z/bit-manip.s: New file. - * testsuite/gas/s12z/bit.d: New file. - * testsuite/gas/s12z/bit.s: New file. - * testsuite/gas/s12z/bra-expression-defined.d: New file. - * testsuite/gas/s12z/bra-expression-defined.s: New file. - * testsuite/gas/s12z/bra-expression-undef.d: New file. - * testsuite/gas/s12z/bra-expression-undef.s: New file. - * testsuite/gas/s12z/bra.d: New file. - * testsuite/gas/s12z/bra.s: New file. - * testsuite/gas/s12z/brclr-symbols.d: New file. - * testsuite/gas/s12z/brclr-symbols.s: New file. - * testsuite/gas/s12z/brset-clr-opr-imm-rel.d: New file. - * testsuite/gas/s12z/brset-clr-opr-imm-rel.s: New file. - * testsuite/gas/s12z/brset-clr-opr-reg-rel.d: New file. - * testsuite/gas/s12z/brset-clr-opr-reg-rel.s: New file. - * testsuite/gas/s12z/brset-clr-reg-imm-rel.d: New file. - * testsuite/gas/s12z/brset-clr-reg-imm-rel.s: New file. - * testsuite/gas/s12z/brset-clr-reg-reg-rel.d: New file. - * testsuite/gas/s12z/brset-clr-reg-reg-rel.s: New file. - * testsuite/gas/s12z/clb.d: New file. - * testsuite/gas/s12z/clb.s: New file. - * testsuite/gas/s12z/clr-opr.d: New file. - * testsuite/gas/s12z/clr-opr.s: New file. - * testsuite/gas/s12z/clr.d: New file. - * testsuite/gas/s12z/clr.s: New file. - * testsuite/gas/s12z/cmp-imm.d: New file. - * testsuite/gas/s12z/cmp-imm.s: New file. - * testsuite/gas/s12z/cmp-opr-inc.d: New file. - * testsuite/gas/s12z/cmp-opr-inc.s: New file. - * testsuite/gas/s12z/cmp-opr-rdirect.d: New file. - * testsuite/gas/s12z/cmp-opr-rdirect.s: New file. - * testsuite/gas/s12z/cmp-opr-reg.d: New file. - * testsuite/gas/s12z/cmp-opr-reg.s: New file. - * testsuite/gas/s12z/cmp-opr-rindirect.d: New file. - * testsuite/gas/s12z/cmp-opr-rindirect.s: New file. - * testsuite/gas/s12z/cmp-opr-sxe4.d: New file. - * testsuite/gas/s12z/cmp-opr-sxe4.s: New file. - * testsuite/gas/s12z/cmp-opr-xys.d: New file. - * testsuite/gas/s12z/cmp-opr-xys.s: New file. - * testsuite/gas/s12z/cmp-s-imm.d: New file. - * testsuite/gas/s12z/cmp-s-imm.s: New file. - * testsuite/gas/s12z/cmp-s-opr.d: New file. - * testsuite/gas/s12z/cmp-s-opr.s: New file. - * testsuite/gas/s12z/cmp-xy.d: New file. - * testsuite/gas/s12z/cmp-xy.s: New file. - * testsuite/gas/s12z/com-opr.d: New file. - * testsuite/gas/s12z/com-opr.s: New file. - * testsuite/gas/s12z/complex-shifts.d: New file. - * testsuite/gas/s12z/complex-shifts.s: New file. - * testsuite/gas/s12z/db-tb-cc-opr.d: New file. - * testsuite/gas/s12z/db-tb-cc-opr.s: New file. - * testsuite/gas/s12z/db-tb-cc-reg.d: New file. - * testsuite/gas/s12z/db-tb-cc-reg.s: New file. - * testsuite/gas/s12z/dbCC.d: New file. - * testsuite/gas/s12z/dbCC.s: New file. - * testsuite/gas/s12z/dec-opr.d: New file. - * testsuite/gas/s12z/dec-opr.s: New file. - * testsuite/gas/s12z/dec.d: New file. - * testsuite/gas/s12z/dec.s: New file. - * testsuite/gas/s12z/div.d: New file. - * testsuite/gas/s12z/div.s: New file. - * testsuite/gas/s12z/eor.d: New file. - * testsuite/gas/s12z/eor.s: New file. - * testsuite/gas/s12z/exg.d: New file. - * testsuite/gas/s12z/exg.s: New file. - * testsuite/gas/s12z/ext24-ld-xy.d: New file. - * testsuite/gas/s12z/ext24-ld-xy.s: New file. - * testsuite/gas/s12z/inc-opr.d: New file. - * testsuite/gas/s12z/inc-opr.s: New file. - * testsuite/gas/s12z/inc.d: New file. - * testsuite/gas/s12z/inc.s: New file. - * testsuite/gas/s12z/inh.d: New file. - * testsuite/gas/s12z/inh.s: New file. - * testsuite/gas/s12z/jmp.d: New file. - * testsuite/gas/s12z/jmp.s: New file. - * testsuite/gas/s12z/jsr.d: New file. - * testsuite/gas/s12z/jsr.s: New file. - * testsuite/gas/s12z/ld-imm-page2.d: New file. - * testsuite/gas/s12z/ld-imm-page2.s: New file. - * testsuite/gas/s12z/ld-imm.d: New file. - * testsuite/gas/s12z/ld-imm.s: New file. - * testsuite/gas/s12z/ld-immu18.d: New file. - * testsuite/gas/s12z/ld-immu18.s: New file. - * testsuite/gas/s12z/ld-large-direct.d: New file. - * testsuite/gas/s12z/ld-large-direct.s: New file. - * testsuite/gas/s12z/ld-opr.d: New file. - * testsuite/gas/s12z/ld-opr.s: New file. - * testsuite/gas/s12z/ld-s-opr.d: New file. - * testsuite/gas/s12z/ld-s-opr.s: New file. - * testsuite/gas/s12z/ld-small-direct.d: New file. - * testsuite/gas/s12z/ld-small-direct.s: New file. - * testsuite/gas/s12z/lea-immu18.d: New file. - * testsuite/gas/s12z/lea-immu18.s: New file. - * testsuite/gas/s12z/lea.d: New file. - * testsuite/gas/s12z/lea.s: New file. - * testsuite/gas/s12z/mac.d: New file. - * testsuite/gas/s12z/mac.s: New file. - * testsuite/gas/s12z/min-max.d: New file. - * testsuite/gas/s12z/min-max.s: New file. - * testsuite/gas/s12z/mod.d: New file. - * testsuite/gas/s12z/mod.s: New file. - * testsuite/gas/s12z/mov.d: New file. - * testsuite/gas/s12z/mov.s: New file. - * testsuite/gas/s12z/mul-imm.d: New file. - * testsuite/gas/s12z/mul-imm.s: New file. - * testsuite/gas/s12z/mul-opr-opr.d: New file. - * testsuite/gas/s12z/mul-opr-opr.s: New file. - * testsuite/gas/s12z/mul-opr.d: New file. - * testsuite/gas/s12z/mul-opr.s: New file. - * testsuite/gas/s12z/mul-reg.d: New file. - * testsuite/gas/s12z/mul-reg.s: New file. - * testsuite/gas/s12z/mul.d: New file. - * testsuite/gas/s12z/mul.s: New file. - * testsuite/gas/s12z/neg-opr.d: New file. - * testsuite/gas/s12z/neg-opr.s: New file. - * testsuite/gas/s12z/not-so-simple-shifts.d: New file. - * testsuite/gas/s12z/not-so-simple-shifts.s: New file. - * testsuite/gas/s12z/opr-18u.d: New file. - * testsuite/gas/s12z/opr-18u.s: New file. - * testsuite/gas/s12z/opr-expr.d: New file. - * testsuite/gas/s12z/opr-expr.s: New file. - * testsuite/gas/s12z/opr-ext-18.d: New file. - * testsuite/gas/s12z/opr-ext-18.s: New file. - * testsuite/gas/s12z/opr-idx-24-reg.d: New file. - * testsuite/gas/s12z/opr-idx-24-reg.s: New file. - * testsuite/gas/s12z/opr-idx3-reg.d: New file. - * testsuite/gas/s12z/opr-idx3-reg.s: New file. - * testsuite/gas/s12z/opr-idx3-xysp-24.d: New file. - * testsuite/gas/s12z/opr-idx3-xysp-24.s: New file. - * testsuite/gas/s12z/opr-indirect-expr.d: New file. - * testsuite/gas/s12z/opr-indirect-expr.s: New file. - * testsuite/gas/s12z/opr-symbol.d: New file. - * testsuite/gas/s12z/opr-symbol.s: New file. - * testsuite/gas/s12z/or-imm.d: New file. - * testsuite/gas/s12z/or-imm.s: New file. - * testsuite/gas/s12z/or-opr.d: New file. - * testsuite/gas/s12z/or-opr.s: New file. - * testsuite/gas/s12z/p2-mul.d: New file. - * testsuite/gas/s12z/p2-mul.s: New file. - * testsuite/gas/s12z/page2-inh.d: New file. - * testsuite/gas/s12z/page2-inh.s: New file. - * testsuite/gas/s12z/psh-pul.d: New file. - * testsuite/gas/s12z/psh-pul.s: New file. - * testsuite/gas/s12z/qmul.d: New file. - * testsuite/gas/s12z/qmul.s: New file. - * testsuite/gas/s12z/rotate.d: New file. - * testsuite/gas/s12z/rotate.s: New file. - * testsuite/gas/s12z/s12z.exp: New file. - * testsuite/gas/s12z/sat.d: New file. - * testsuite/gas/s12z/sat.s: New file. - * testsuite/gas/s12z/sbc-imm.d: New file. - * testsuite/gas/s12z/sbc-imm.s: New file. - * testsuite/gas/s12z/sbc-opr.d: New file. - * testsuite/gas/s12z/sbc-opr.s: New file. - * testsuite/gas/s12z/shift.d: New file. - * testsuite/gas/s12z/shift.s: New file. - * testsuite/gas/s12z/simple-shift.d: New file. - * testsuite/gas/s12z/simple-shift.s: New file. - * testsuite/gas/s12z/single-ops.d: New file. - * testsuite/gas/s12z/single-ops.s: New file. - * testsuite/gas/s12z/specd6.d: New file. - * testsuite/gas/s12z/specd6.s: New file. - * testsuite/gas/s12z/st-large-direct.d: New file. - * testsuite/gas/s12z/st-large-direct.s: New file. - * testsuite/gas/s12z/st-opr.d: New file. - * testsuite/gas/s12z/st-opr.s: New file. - * testsuite/gas/s12z/st-s-opr.d: New file. - * testsuite/gas/s12z/st-s-opr.s: New file. - * testsuite/gas/s12z/st-small-direct.d: New file. - * testsuite/gas/s12z/st-small-direct.s: New file. - * testsuite/gas/s12z/st-xy.d: New file. - * testsuite/gas/s12z/st-xy.s: New file. - * testsuite/gas/s12z/sub-imm.d: New file. - * testsuite/gas/s12z/sub-imm.s: New file. - * testsuite/gas/s12z/sub-opr.d: New file. - * testsuite/gas/s12z/sub-opr.s: New file. - * testsuite/gas/s12z/tfr.d: New file. - * testsuite/gas/s12z/tfr.s: New file. - * testsuite/gas/s12z/trap.d: New file. - * testsuite/gas/s12z/trap.s: New file. - -2018-05-16 Maciej W. Rozycki - - * tc-nds32.c (md_assemble): Rename `expr' local variable to - `insn_expr'. - -2018-05-15 Tamar Christina - - PR binutils/21446 - * testsuite/gas/aarch64/illegal-sysreg-2.s: Fix pmbidr_el1 test. - * testsuite/gas/aarch64/illegal-sysreg-2.l: Likewise. - * testsuite/gas/aarch64/illegal-sysreg-2.d: Likewise. - * testsuite/gas/aarch64/sysreg-diagnostic.s: New. - * testsuite/gas/aarch64/sysreg-diagnostic.l: New. - * testsuite/gas/aarch64/sysreg-diagnostic.d: New. - -2018-05-15 Tamar Christina - - PR binutils/21446 - * config/tc-aarch64.c (print_operands): Indicate no notes. - (output_operand_error_record): Support non-fatal errors. - (output_operand_error_report, warn_unpredictable_ldst, md_assemble): - Likewise. - -2018-05-15 Tamar Christina - - PR binutils/21446 - * config/tc-aarch64.c (parse_sys_reg): Return register flags. - (parse_operands): Fill in register flags. - -2018-05-14 Nick Clifton - - * write.c (maybe_generate_build_notes): Generate notes on a - per-code-section basis. Skip linkonce sections. - -2018-05-14 Nick Clifton - - PR 23153 - * as.c (main): When checking for an output file that is also an - input file, also check that the inode is not zero. - -2018-05-12 Alan Modra - - * config/tc-score.c (s3_do_macro_bcmp): Don't use fixed size - buffers. - (s3_do_macro_bcmpz): Likewise. - -2018-05-10 Tamar Christina - - * config/tc-aarch64.c (parse_aarch64_imm_float): Remove restrictions. - * testsuite/gas/aarch64/diagnostic.s: Move fmov int test to.. - * testsuite/gas/aarch64/fpmov.s: Here. - * testsuite/gas/aarch64/fpmov.d: Update results with fmov. - * testsuite/gas/aarch64/diagnostic.l: Remove fmov values. - * testsuite/gas/aarch64/sve-invalid.s: Update test files. - * testsuite/gas/aarch64/sve-invalid.l: Likewise - -2018-05-10 Tamar Christina - - * gas/config/tc-arm.c (do_neon_mov): Allow integer literal for float - immediate. - * testsuite/gas/arm/vfp-mov-enc.s: New. - * testsuite/gas/arm/vfp-mov-enc.d: New. - -2018-05-09 Max Filippov - - * config/tc-xtensa.c (xtensa_is_init_fini): New function. - (xtensa_move_literals): Only attempt to assign literal pool to - literals with tc_frag_data.is_literal mark and not in .init or - .fini sections. - Join nested 'if' conditions to simplify function structure. - (xtensa_switch_to_non_abs_literal_fragment): Use - xtensa_is_init_fini to test for .init/.fini sections. - * testsuite/gas/xtensa/all.exp (auto-litpools-3) - (auto-litpools-4, text-section-literals-1): New tests. - * testsuite/gas/xtensa/auto-litpools-3.d: New test results. - * testsuite/gas/xtensa/auto-litpools-3.s: New test source. - * testsuite/gas/xtensa/auto-litpools-4.d: New test results. - * testsuite/gas/xtensa/auto-litpools-4.s: New test source. - * testsuite/gas/xtensa/text-section-literals-1.d: New test results. - * testsuite/gas/xtensa/text-section-literals-1.s: New test source. - -2018-05-09 Dimitar Dimitrov - - * config/tc-pru.c (md_apply_fix): Make LDI32 relocation conformant - to TI ABI. - (pru_assemble_arg_i): Likewise. - (output_insn_ldi32): Likewise. - * testsuite/gas/pru/ldi.d: Update test for the now fixed LDI32. - * gas/config/tc-pru.c (pru_assemble_arg_b): Check imm8 operand range. - * gas/testsuite/gas/pru/illegal2.l: New test. - * gas/testsuite/gas/pru/illegal2.s: New test. - * gas/testsuite/gas/pru/pru.exp: Register new illegal2 test. - -2018-05-08 Jim Wilson - - * testsuite/gas/riscv/c-zero-imm.d: Add more tests. - * testsuite/gas/riscv/c-zero-imm.s: Likewise. - * testsuite/gas/riscv/c-zero-reg.d: Fix typo in test. Add disabled - future test for RV128 support. - * testsuite/gas/riscv/c-zero-reg.s: Likewise. - -2018-05-07 Igor Tsimbalist - H.J. Lu - - * config/tc-i386.c (cpu_arch): Add .movdir, .movdir64b. - (cpu_noarch): Likewise. - (process_suffix): Add check for register size. - * doc/c-i386.texi: Document movdiri, movdir64b. - * testsuite/gas/i386/i386.exp: Run MOVDIR{I,64B} tests. - * testsuite/gas/i386/movdir-intel.d: New file. - * testsuite/gas/i386/movdir.d: Likewise. - * testsuite/gas/i386/movdir.s: Likewise. - * testsuite/gas/i386/movdir64b-reg.s: Likewise. - * testsuite/gas/i386/movdir64b-reg.l: Likewise. - * testsuite/gas/i386/x86-64-movdir-intel.d: Likewise. - * testsuite/gas/i386/x86-64-movdir.d: Likewise. - * testsuite/gas/i386/x86-64-movdir.s: Likewise. - * testsuite/gas/i386/x86-64-movdir64b-reg.s: Likewise. - * testsuite/gas/i386/x86-64-movdir64b-reg.l: Likewise. - -2018-05-07 H.J. Lu - - * config/tc-i386.c (process_suffix): Check addrprefixopreg - instead of addrprefixop0. - -2018-05-07 Peter Bergner - - * config/tc-ppc.c (ppc_setup_opcodes) : Rewrite code - to dump the entire opcode table. - (ppc_setup_opcodes) : Likewise. - (ppc_setup_opcodes) : Likewise. Fix calculation of - opcode index. - -2018-05-06 H.J. Lu - - * testsuite/gas/i386/xmmhi32.d: Also allow dir32 relocation. - -2018-05-06 H.J. Lu - - * testsuite/gas/i386/avx512f-plain.s: Append ".p2align 4,0". - * testsuite/gas/i386/avx512vl-plain.s: Likewise. - * testsuite/gas/i386/bnd.s: Likewise. - * testsuite/gas/i386/stN.s: Likewise. - * testsuite/gas/i386/avx512f-plain.l: Updated. - * testsuite/gas/i386/avx512vl-plain.l: Likewise. - * testsuite/gas/i386/bnd.l: Likewise. - * testsuite/gas/i386/stN.l: Likewise. - -2018-05-04 Alan Modra - - * config/obj-evax.c (shorten_identifier): Use memcpy in place - of strncpy. - * config/obj-macho.c (obj_mach_o_make_or_get_sect): Ensure - segname and sectname fields are NUL terminated. - -2018-05-01 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2018-04-27 Maciej W. Rozycki - - * testsuite/lib/gas-defs.exp (run_dump_test): Use `match_target' - in place of `istarget' for matching with `target', `not-target', - `skip' and `not-skip' options. - -2018-04-26 Nick Clifton - - * as.c (flag_generate_build_notes): New variable. - (show_usage): Add entry for --generate-missing-build-notes. - (parse_args): Parse --generate-missing-build-notes. - * as.h: Export flag_generate_build_notes. - * symbols.c (save_symbol_name): Ensure that the name parameter is - not NULL. - * write.c (create_obj_attrs_section): Reformat. - (create_note_reloc): New function - creates a relocation for a - field in a GNU Build attribute note. - (maybe_generate_build_notes): New function - created GNU Build - attribute notes if none are present in the output file. - (write_object_file): Call maybe_generate_build_notes. - * configure.ac (--enable-generate-build-notes): New option. - * NEWS: Announce the new feature. - * doc/as.textinfo: Document the new option. - * config.in: Regenerate. - * configure: Regenerate. - -2018-04-26 Jan Beulich - - * config/tc-i386.c (check_VecOperands): Add AVX512VL check. Set - .baseindex. - (match_template): Don't set suffix_check when Intel syntax and - broadcast. Make check_register a per-operand bitmap. - -2018-04-26 Jan Beulich - - * config/tc-i386.c (optimize_encoding): Check for zeroing - masking. - * testsuite/gas/i386/optimize-1.d, - testsuite/gas/i386/optimize-4.d, - testsuite/gas/i386/optimize-5.d, - testsuite/gas/i386/x86-64-optimize-2.d, - testsuite/gas/i386/x86-64-optimize-5.d, - testsuite/gas/i386/x86-64-optimize-6.d: Adjust expectations. - -2018-04-26 Jan Beulich - - * config/tc-i386.c (parse_real_register): Check .cpuvrex before - recording EVEX encoding. Don't check previously specified - encoding. - * testsuite/gas/i386/xmmhi32.s: Add {x,y,z}mm{16,24} cases. - * testsuite/gas/i386/xmmhi32.d: Adjust expectations. - * testsuite/gas/i386/xmmhi64.s, testsuite/gas/i386/xmmhi64.d: - New. - * testsuite/gas/i386/i386.exp: Run new test. - -2018-04-26 Jan Beulich - - * testsuite/gas/i386/xsave.s: Add AVX, LWP, MPX, and PKU - dependency tests. - * testsuite/gas/i386/xsave.d, - testsuite/gas/i386/xsave-intel.d: Adjust expecations. - -2018-04-26 Jan Beulich - - * config/tc-i386.c (parse_real_register): Re-write {,x,y,z}mm - and mask register handling. - * testsuite/gas/i386/avx512f-ymm.s, testsuite/gas/i386/avx512f-ymm.d, - testsuite/gas/i386/xmmhi32.s, testsuite/gas/i386/xmmhi32.d: New. - * testsuite/gas/i386/i386.exp: Run new tests. - -2018-04-26 Jan Beulich - - * config/tc-i386.c (parse_real_register): Check bnd - registers. - * testsuite/gas/i386/bnd.s, testsuite/gas/i386/bnd.l: New. - * testsuite/gas/i386/i386.exp: Run new test. - -2018-04-26 Jan Beulich - - * config/tc-i386.c (parse_real_register): Check FPU register - earlier. - * testsuite/gas/i386/fpu.s, testsuite/gas/i386/fpu.l, - testsuite/gas/i386/stN.s, testsuite/gas/i386/stN.l: New. - * testsuite/gas/i386/i386.exp: Run new tests. - -2018-04-26 Jan Beulich - - * config/tc-i386.c (build_modrm_byte): Use tabs for indentation. - -2018-04-26 Jan Beulich - - * config/tc-i386.c (build_modrm_byte): Move and fold - source/reg_slot calculations. - -2018-04-26 Jan Beulich - - * config/tc-i386.c (build_modrm_byte): Drop .veximmext uses. - Move part of the remaining assertion. - -2018-04-26 Jan Beulich - - * config/tc-i386.c (build_modrm_byte): Extend assertion in - vex_3_sources handling to cover more cases. - -2018-04-26 Jan Beulich - - * config/tc-i386.c (build_modrm_byte): Drop code dealing with - .veximmext and .immext set at the same time. Drop code dealing - with .cpufma when .vexsources == VEX3SOURCES. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * config/tc-arm.c (reloc_names): Add TLSGD_FDPIC, TLSLDM_FDPIC, - GOTTPOFF_FDIC relocations. - (md_apply_fix): Handle the new TLS FDPIC relocations. - (tc_gen_reloc): Likewise. - (arm_fix_adjustable): Likewise. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * config/tc-arm.c (reloc_names): Add gotfuncdesc, gotofffuncdesc, - funcdesc. - (md_apply_fix): Support the new relocations. - (tc_gen_reloc): Likewise. - * testsuite/gas/arm/reloc-fdpic.d: New. - * testsuite/gas/arm/reloc-fdpic.s: New. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * config/tc-arm.c (arm_fdpic): New. - (elf32_arm_target_format): Support FDPIC. - (OPTION_FDPIC): New. - (md_longopts): Support FDPIC. - (md_parse_option): Likewise. - (md_show_usage): Likewise. - -2018-04-25 Tamar Christina - - * testsuite/gas/aarch64/rdma.s: Test for larger register numbers. - * testsuite/gas/aarch64/rdma.d: Update results. - * testsuite/gas/aarch64/rdma-directive.d: Likewise. - -2018-04-25 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2018-04-25 Alan Modra - - * Makefile.am: Remove arm-aout and arm-coff support. - * config/tc-arm.c: Likewise. - * config/tc-arm.h: Likewise. - * configure.tgt: Likewise. - * testsuite/gas/aarch64/codealign.d: Likewise. - * testsuite/gas/aarch64/mapping.d: Likewise. - * testsuite/gas/aarch64/mapping2.d: Likewise. - * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: Likewise. - * testsuite/gas/arm/adds-thumb1-reloc-local.d: Likewise. - * testsuite/gas/arm/addsw-bad.d: Likewise. - * testsuite/gas/arm/align.d: Likewise. - * testsuite/gas/arm/align64.d: Likewise. - * testsuite/gas/arm/arch7.d: Likewise. - * testsuite/gas/arm/arch7a-mp.d: Likewise. - * testsuite/gas/arm/arch7em.d: Likewise. - * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise. - * testsuite/gas/arm/arm-it-auto-2.d: Likewise. - * testsuite/gas/arm/arm-it-auto-3.d: Likewise. - * testsuite/gas/arm/arm-it-auto.d: Likewise. - * testsuite/gas/arm/arm-it-bad-2.d: Likewise. - * testsuite/gas/arm/arm-it.d: Likewise. - * testsuite/gas/arm/armv7e-m+fpv5-d16.d: Likewise. - * testsuite/gas/arm/armv7e-m+fpv5-sp-d16.d: Likewise. - * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: Likewise. - * testsuite/gas/arm/armv8-2-fp16-scalar.d: Likewise. - * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise. - * testsuite/gas/arm/armv8-2-fp16-simd.d: Likewise. - * testsuite/gas/arm/armv8-a+crypto.d: Likewise. - * testsuite/gas/arm/armv8-a+fp.d: Likewise. - * testsuite/gas/arm/armv8-a+ras.d: Likewise. - * testsuite/gas/arm/armv8-a+rdma-warning.d: Likewise. - * testsuite/gas/arm/armv8-a+rdma.d: Likewise. - * testsuite/gas/arm/armv8-a+simd.d: Likewise. - * testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise. - * testsuite/gas/arm/armv8-r+fp.d: Likewise. - * testsuite/gas/arm/armv8-r+simd.d: Likewise. - * testsuite/gas/arm/armv8-r-barrier-thumb.d: Likewise. - * testsuite/gas/arm/armv8_1-a+simd.d: Likewise. - * testsuite/gas/arm/armv8_2+rdma.d: Likewise. - * testsuite/gas/arm/armv8_2-a.d: Likewise. - * testsuite/gas/arm/armv8_3-a-fp.d: Likewise. - * testsuite/gas/arm/armv8_3-a-simd.d: Likewise. - * testsuite/gas/arm/armv8a-automatic-hlt.d: Likewise. - * testsuite/gas/arm/armv8a-automatic-lda.d: Likewise. - * testsuite/gas/arm/attr-syntax.d: Likewise. - * testsuite/gas/arm/automatic-bw.d: Likewise. - * testsuite/gas/arm/automatic-cbz.d: Likewise. - * testsuite/gas/arm/automatic-clrex.d: Likewise. - * testsuite/gas/arm/automatic-lda.d: Likewise. - * testsuite/gas/arm/automatic-ldaex.d: Likewise. - * testsuite/gas/arm/automatic-ldaexb.d: Likewise. - * testsuite/gas/arm/automatic-ldrex.d: Likewise. - * testsuite/gas/arm/automatic-ldrexd.d: Likewise. - * testsuite/gas/arm/automatic-movw.d: Likewise. - * testsuite/gas/arm/automatic-sdiv.d: Likewise. - * testsuite/gas/arm/automatic-strexb.d: Likewise. - * testsuite/gas/arm/barrier-bad-thumb.d: Likewise. - * testsuite/gas/arm/barrier-bad.d: Likewise. - * testsuite/gas/arm/barrier-thumb.d: Likewise. - * testsuite/gas/arm/barrier.d: Likewise. - * testsuite/gas/arm/bignum1.d: Likewise. - * testsuite/gas/arm/blx-bad.d: Likewise. - * testsuite/gas/arm/blx-bl-convert.d: Likewise. - * testsuite/gas/arm/blx-local.s: Likewise. - * testsuite/gas/arm/crc32-armv8-a-bad.d: Likewise. - * testsuite/gas/arm/crc32-armv8-a.d: Likewise. - * testsuite/gas/arm/crc32-armv8-r-bad.d: Likewise. - * testsuite/gas/arm/crc32-armv8-r.d: Likewise. - * testsuite/gas/arm/dis-data.d: Likewise. - * testsuite/gas/arm/dis-data2.d: Likewise. - * testsuite/gas/arm/dis-data3.d: Likewise. - * testsuite/gas/arm/eabi_attr_1.d: Likewise. - * testsuite/gas/arm/fp-save.d: Likewise. - * testsuite/gas/arm/group-reloc-alu-encoding-bad.d: Likewise. - * testsuite/gas/arm/group-reloc-alu-parsing-bad.d: Likewise. - * testsuite/gas/arm/group-reloc-alu.d: Likewise. - * testsuite/gas/arm/group-reloc-ldc-encoding-bad.d: Likewise. - * testsuite/gas/arm/group-reloc-ldc-parsing-bad.d: Likewise. - * testsuite/gas/arm/group-reloc-ldc.d: Likewise. - * testsuite/gas/arm/group-reloc-ldr-encoding-bad.d: Likewise. - * testsuite/gas/arm/group-reloc-ldr-parsing-bad.d: Likewise. - * testsuite/gas/arm/group-reloc-ldr.d: Likewise. - * testsuite/gas/arm/group-reloc-ldrs-encoding-bad.d: Likewise. - * testsuite/gas/arm/group-reloc-ldrs-parsing-bad.d: Likewise. - * testsuite/gas/arm/group-reloc-ldrs.d: Likewise. - * testsuite/gas/arm/insn-error-a.d: Likewise. - * testsuite/gas/arm/insn-error-t.d: Likewise. - * testsuite/gas/arm/inst-po-2.d: Likewise. - * testsuite/gas/arm/inst-po-3.d: Likewise. - * testsuite/gas/arm/inst-po-be.d: Likewise. - * testsuite/gas/arm/inst-po.d: Likewise. - * testsuite/gas/arm/ldconst.d: Likewise. - * testsuite/gas/arm/ldgesb-bad.d: Likewise. - * testsuite/gas/arm/ldgesh-bad.d: Likewise. - * testsuite/gas/arm/ldst-offset0.d: Likewise. - * testsuite/gas/arm/local_function.d: Likewise. - * testsuite/gas/arm/local_label_coff.d: Likewise. - * testsuite/gas/arm/local_label_elf.d: Likewise. - * testsuite/gas/arm/mapping.d: Likewise. - * testsuite/gas/arm/mapping2.d: Likewise. - * testsuite/gas/arm/mapping3.d: Likewise. - * testsuite/gas/arm/mapping4.d: Likewise. - * testsuite/gas/arm/mapshort-elf.d: Likewise. - * testsuite/gas/arm/mask_1-armv8-a.d: Likewise. - * testsuite/gas/arm/mask_1-armv8-r.d: Likewise. - * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: Likewise. - * testsuite/gas/arm/movs-thumb1-reloc-local.d: Likewise. - * testsuite/gas/arm/movw-local.d: Likewise. - * testsuite/gas/arm/mrs-msr-thumb-v6t2.d: Likewise. - * testsuite/gas/arm/mrs-msr-thumb-v7-m.d: Likewise. - * testsuite/gas/arm/mrs-msr-thumb-v7e-m.d: Likewise. - * testsuite/gas/arm/msr-imm-bad.d: Likewise. - * testsuite/gas/arm/msr-reg-bad.d: Likewise. - * testsuite/gas/arm/msr-reg-thumb.d: Likewise. - * testsuite/gas/arm/nomapping.d: Likewise. - * testsuite/gas/arm/nops.d: Likewise. - * testsuite/gas/arm/pic.d: Likewise. - * testsuite/gas/arm/pinsn.d: Likewise. - * testsuite/gas/arm/plt-1.d: Likewise. - * testsuite/gas/arm/pr21458.d: Likewise. - * testsuite/gas/arm/pr9722.d: Likewise. - * testsuite/gas/arm/strex-t.d: Likewise. - * testsuite/gas/arm/t2-branch-global.d: Likewise. - * testsuite/gas/arm/target-reloc-1.d: Likewise. - * testsuite/gas/arm/thumb-b-bad.d: Likewise. - * testsuite/gas/arm/thumb-w-bad.d: Likewise. - * testsuite/gas/arm/thumb-w-good.d: Likewise. - * testsuite/gas/arm/thumb.d: Likewise. - * testsuite/gas/arm/thumb2_it.d: Likewise. - * testsuite/gas/arm/thumb2_it_auto.d: Likewise. - * testsuite/gas/arm/thumb2_it_search.d: Likewise. - * testsuite/gas/arm/thumb2_ldmstm.d: Likewise. - * testsuite/gas/arm/thumb2_ldr_immediate_armv6.d: Likewise. - * testsuite/gas/arm/thumb2_ldr_immediate_armv6t2.d: Likewise. - * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Likewise. - * testsuite/gas/arm/thumb2_pool.d: Likewise. - * testsuite/gas/arm/thumb2_vpool.d: Likewise. - * testsuite/gas/arm/thumb2_vpool_be.d: Likewise. - * testsuite/gas/arm/thumb32.d: Likewise. - * testsuite/gas/arm/thumbver.d: Likewise. - * testsuite/gas/arm/tls.d: Likewise. - * testsuite/gas/arm/tls_vxworks.d: Likewise. - * testsuite/gas/arm/undefined.d: Likewise. - * testsuite/gas/arm/undefined_coff.d: Likewise. - * testsuite/gas/arm/unwind.d: Likewise. - * testsuite/gas/arm/v4bx.d: Likewise. - * testsuite/gas/arm/vcmp-noprefix-imm.d: Likewise. - * testsuite/gas/arm/vcvt-bad.d: Likewise. - * testsuite/gas/arm/vfma1.d: Likewise. - * testsuite/gas/arm/vldconst.d: Likewise. - * testsuite/gas/arm/vldconst_be.d: Likewise. - * testsuite/gas/arm/vldm-arm.d: Likewise. - * testsuite/gas/arm/vldr.d: Likewise. - * testsuite/gas/arm/weakdef-1.d: Likewise. - * testsuite/gas/arm/weakdef-2.d: Likewise. - * config/te-riscix.h: Delete. - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-23 Alan Modra - - * stabs.c (generate_asm_file): Use memcpy rather than strncpy. - Remove call to strlen inside loop. - * config/tc-cr16.c (getreg_image): Warning fix. - * config/tc-crx.c (getreg_image): Warning fix. - -2018-04-20 Kito Cheng - - * config/tc-riscv.c (options): Add OPTION_RELAX and - OPTION_NO_RELAX. - (md_longopts): New option -mrelax and -mno-relax. - (md_parse_option): Handle -mrelax and -mno-relax. - * doc/c-riscv.texi: Document for -mrelax and -mno-relax. - * testsuite/gas/riscv/no-relax-reloc.d: New. - * testsuite/gas/riscv/no-relax-reloc.s: New. - * testsuite/gas/riscv/relax-reloc.d: New. - * testsuite/gas/riscv/relax-reloc.s: New. - -2018-04-20 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2018-04-18 Alan Modra - - * Makefile.am: Remove support for assorted i386 aout and coff targets. - * config/obj-elf.c: Likewise. - * config/tc-i386.h: Likewise. - * configure.ac: Likewise. - * configure.tgt: Likewise. - * config/te-dynix.h: Delete. - * config/te-i386aix.h: Delete. - * config/te-mach.h: Delete. - * Makefile.in: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-18 Alan Modra - - * configure.tgt: Remove *-*-bsd* entry. - -2018-04-17 Andrew Sadek - - Microblaze Target: PIC data text relative - - * gas/config/tc-microblaze.c (Handle new relocs directives in - assembler): Handle new relocs from compiler output. - (imm_types): add new imm types for data text relative addressing - TEXT_OFFSET, TEXT_PC_OFFSET - (md_convert_frag): conversion for BFD_RELOC_MICROBLAZE_64_TEXTPCREL, - BFD_RELOC_MICROBLAZE_64_TEXTPCREL - (md_apply_fix): apply fix for BFD_RELOC_MICROBLAZE_64_TEXTPCREL, - BFD_RELOC_MICROBLAZE_64_TEXTPCREL - (md_estimate_size_before_relax): estimate size for - BFD_RELOC_MICROBLAZE_64_TEXTPCREL, - BFD_RELOC_MICROBLAZE_64_TEXTPCREL - (tc_gen_reloc): generate relocations for - BFD_RELOC_MICROBLAZE_64_TEXTPCREL, - BFD_RELOC_MICROBLAZE_64_TEXTPCREL - -2018-04-17 Igor Tsimbalist - - * testsuite/gas/i386/nops.s: Revert back deleted lines and - change encoding to 0x0f1c /1 to map to NOP. - * testsuite/gas/i386/x86-64-nops.s: Likewise. - * testsuite/gas/i386/nops.d: Likewise. - * testsuite/gas/i386/x86-64-nops.d: Likewise. - * testsuite/gas/i386/ilp32/x86-64-nops.d: Likewis. - -2018-04-17 Igor Tsimbalist - - * config/tc-i386.c (cpu_arch): Add .cldemote. - * doc/c-i386.texi: Document cldemote/.cldemote. - * testsuite/gas/i386/cldemote-intel.d: New. - * testsuite/gas/i386/cldemote.d: Likewise. - * testsuite/gas/i386/cldemote.s: Likewise. - * testsuite/gas/i386/i386.exp: Run new tests. - * testsuite/gas/i386/x86-64-cldemote-intel.d: New. - * testsuite/gas/i386/x86-64-cldemote.d: Likewise. - * testsuite/gas/i386/x86-64-cldemote.s: Likewise. - * testsuite/gas/i386/ilp32/x86-64-nops.d: Remove 0x0f1c - NOP encoding that maps to cldemote. - * testsuite/gas/i386/nops.d: Likewise. - * testsuite/gas/i386/nops.s: Likewise. - * testsuite/gas/i386/x86-64-nops.d: Likewise. - * testsuite/gas/i386/x86-64-nops.s: Likewise. - -2018-04-16 Nick Clifton - - PR 23054 - * cond.c (s_ifsef): Replace use of obstack_copy with obstack_alloc - followed by memcpy. - (s_if, s_ifb, s_ifc, s_ifeqs): Likewise. - * obj-elf.c (elf_adjust_symtab): Check for local symbols before - attempting to dereference the sy_next field of a symbol. - * stabs.c (get_stab_string_offset): Fail if there is no string - following the stab directive. - -2018-04-16 Alan Modra - - * Makefile.am: Remove arm-epoc-pe support. - * config/tc-arm.h: Likewise. - * configure.tgt: Likewise. - * testsuite/gas/all/gas.exp: Likewise. - * testsuite/gas/arm/local_label_coff.d: Likewise. - * testsuite/gas/arm/undefined.d: Likewise. - * testsuite/gas/arm/undefined_coff.d: Likewise. - * config/te-epoc-pe.h: Delete. - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove sparc-aout and sparc-coff support. - * config/obj-coff.h: Likewise. - * config/tc-sparc.c: Likewise. - * config/tc-sparc.h: Likewise. - * configure.tgt: Likewise. - * config/te-sparcaout.h: Delete. - * testsuite/gas/sun4/addend.d: Delete. - * testsuite/gas/sun4/addend.exp: Delete. - * testsuite/gas/sun4/addend.s: Delete. - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove m68k-aout and m68k-coff support. - * config/tc-m68k.c: Likewise. - * config/tc-m68k.h: Likewise. - * configure.ac: Likewise. - * configure.tgt: Likewise. - * testsuite/gas/all/weakref1u.d: Likewise. - * testsuite/gas/m68k/all.exp: Likewise. - * testsuite/gas/m68k/br-isaa.d: Likewise. - * testsuite/gas/m68k/br-isab.d: Likewise. - * testsuite/gas/m68k/br-isac.d: Likewise. - * config/te-psos.h: Delete. - * config/te-sun3.h: Delete. - * testsuite/gas/m68k-coff/gas.exp: Delete. - * testsuite/gas/m68k-coff/p2389.s: Delete. - * testsuite/gas/m68k-coff/p2389a.s: Delete. - * testsuite/gas/m68k-coff/p2430.s: Delete. - * testsuite/gas/m68k-coff/p2430a.s: Delete. - * testsuite/gas/m68k-coff/t1.s: Delete. - * testsuite/gas/m68k/p3041.d: Delete. - * testsuite/gas/m68k/p3041.s: Delete. - * testsuite/gas/m68k/p3041data.d: Delete. - * testsuite/gas/m68k/p3041data.s: Delete. - * testsuite/gas/m68k/p3041pcrel.d: Delete. - * testsuite/gas/m68k/p3041pcrel.s: Delete. - * testsuite/gas/m68k/t2.d: Delete. - * Makefile.in: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove sh5 and sh64 support. - * config/tc-sh.c: Likewise. - * configure.tgt: Likewise. - * doc/Makefile.am: Likewise. - * doc/as.texinfo: Likewise. - * testsuite/gas/cfi/cfi.exp: Likewise. - * testsuite/gas/sh/basic.exp: Likewise. - * config/tc-sh64.c: Delete. - * config/tc-sh64.h: Delete. - * doc/c-sh64.texi: Delete. - * testsuite/gas/sh/sh64/abi-32.d: Delete. - * testsuite/gas/sh/sh64/abi-32.s: Delete. - * testsuite/gas/sh/sh64/abi-64.d: Delete. - * testsuite/gas/sh/sh64/abi-64.s: Delete. - * testsuite/gas/sh/sh64/basic-1.d: Delete. - * testsuite/gas/sh/sh64/basic-1.s: Delete. - * testsuite/gas/sh/sh64/case-1.d: Delete. - * testsuite/gas/sh/sh64/case-1.s: Delete. - * testsuite/gas/sh/sh64/case-noexp-1.d: Delete. - * testsuite/gas/sh/sh64/crange1-1.d: Delete. - * testsuite/gas/sh/sh64/crange1-2.d: Delete. - * testsuite/gas/sh/sh64/crange1.s: Delete. - * testsuite/gas/sh/sh64/crange2-1.d: Delete. - * testsuite/gas/sh/sh64/crange2-2.d: Delete. - * testsuite/gas/sh/sh64/crange2-noexp-1.d: Delete. - * testsuite/gas/sh/sh64/crange2.s: Delete. - * testsuite/gas/sh/sh64/crange3-1.d: Delete. - * testsuite/gas/sh/sh64/crange3.s: Delete. - * testsuite/gas/sh/sh64/crange4-1.d: Delete. - * testsuite/gas/sh/sh64/crange4.s: Delete. - * testsuite/gas/sh/sh64/crange5-1.d: Delete. - * testsuite/gas/sh/sh64/crange5.s: Delete. - * testsuite/gas/sh/sh64/creg-1.d: Delete. - * testsuite/gas/sh/sh64/creg-1.s: Delete. - * testsuite/gas/sh/sh64/creg-2.d: Delete. - * testsuite/gas/sh/sh64/creg-2.s: Delete. - * testsuite/gas/sh/sh64/datal-1.s: Delete. - * testsuite/gas/sh/sh64/datal-2.d: Delete. - * testsuite/gas/sh/sh64/datal-2.s: Delete. - * testsuite/gas/sh/sh64/datal-3.s: Delete. - * testsuite/gas/sh/sh64/datal32-1.d: Delete. - * testsuite/gas/sh/sh64/datal32-3.d: Delete. - * testsuite/gas/sh/sh64/datal64-1.d: Delete. - * testsuite/gas/sh/sh64/datal64-3.d: Delete. - * testsuite/gas/sh/sh64/eh-1.d: Delete. - * testsuite/gas/sh/sh64/eh-1.s: Delete. - * testsuite/gas/sh/sh64/endian-1.d: Delete. - * testsuite/gas/sh/sh64/endian-1.s: Delete. - * testsuite/gas/sh/sh64/endian-2.d: Delete. - * testsuite/gas/sh/sh64/endian-2.s: Delete. - * testsuite/gas/sh/sh64/err-1.s: Delete. - * testsuite/gas/sh/sh64/err-2.s: Delete. - * testsuite/gas/sh/sh64/err-3.s: Delete. - * testsuite/gas/sh/sh64/err-4.s: Delete. - * testsuite/gas/sh/sh64/err-abi-32.s: Delete. - * testsuite/gas/sh/sh64/err-abi-64.s: Delete. - * testsuite/gas/sh/sh64/err-dsp.s: Delete. - * testsuite/gas/sh/sh64/err-movi-noexp-1.s: Delete. - * testsuite/gas/sh/sh64/err-noexp-cmd1.s: Delete. - * testsuite/gas/sh/sh64/err-pt-1.s: Delete. - * testsuite/gas/sh/sh64/err-pt32-cmd1.s: Delete. - * testsuite/gas/sh/sh64/err-pt32-cmd2.s: Delete. - * testsuite/gas/sh/sh64/err-pt32-cmd3.s: Delete. - * testsuite/gas/sh/sh64/err-ptb-1.s: Delete. - * testsuite/gas/sh/sh64/err-ptb-2.s: Delete. - * testsuite/gas/sh/sh64/err.exp: Delete. - * testsuite/gas/sh/sh64/immexpr1.s: Delete. - * testsuite/gas/sh/sh64/immexpr2.s: Delete. - * testsuite/gas/sh/sh64/immexpr32-1.d: Delete. - * testsuite/gas/sh/sh64/immexpr32-2.d: Delete. - * testsuite/gas/sh/sh64/immexpr64-1.d: Delete. - * testsuite/gas/sh/sh64/immexpr64-2.d: Delete. - * testsuite/gas/sh/sh64/lineno.d: Delete. - * testsuite/gas/sh/sh64/lineno.s: Delete. - * testsuite/gas/sh/sh64/localcom-1.d: Delete. - * testsuite/gas/sh/sh64/localcom-1.s: Delete. - * testsuite/gas/sh/sh64/mix-1.d: Delete. - * testsuite/gas/sh/sh64/mix-1.s: Delete. - * testsuite/gas/sh/sh64/mix-noexp-1.d: Delete. - * testsuite/gas/sh/sh64/movi-1.s: Delete. - * testsuite/gas/sh/sh64/movi-2.s: Delete. - * testsuite/gas/sh/sh64/movi-3.d: Delete. - * testsuite/gas/sh/sh64/movi-3.s: Delete. - * testsuite/gas/sh/sh64/movi32-1.d: Delete. - * testsuite/gas/sh/sh64/movi32-2.d: Delete. - * testsuite/gas/sh/sh64/movi32-noexp-2.d: Delete. - * testsuite/gas/sh/sh64/movi64-1.d: Delete. - * testsuite/gas/sh/sh64/movi64-2.d: Delete. - * testsuite/gas/sh/sh64/movi64-2.s: Delete. - * testsuite/gas/sh/sh64/movi64-3.d: Delete. - * testsuite/gas/sh/sh64/movi64-noexp-2.d: Delete. - * testsuite/gas/sh/sh64/pt-1.d: Delete. - * testsuite/gas/sh/sh64/pt-1.s: Delete. - * testsuite/gas/sh/sh64/pt-2.s: Delete. - * testsuite/gas/sh/sh64/pt-noexp-1.d: Delete. - * testsuite/gas/sh/sh64/pt32-1.d: Delete. - * testsuite/gas/sh/sh64/pt32-noexp-2.d: Delete. - * testsuite/gas/sh/sh64/pt64-1.d: Delete. - * testsuite/gas/sh/sh64/pt64-32-1.d: Delete. - * testsuite/gas/sh/sh64/pt64-32-2.d: Delete. - * testsuite/gas/sh/sh64/pt64-noexp-2.d: Delete. - * testsuite/gas/sh/sh64/ptc-1.s: Delete. - * testsuite/gas/sh/sh64/ptc32-1.d: Delete. - * testsuite/gas/sh/sh64/ptc32-noexp-1.d: Delete. - * testsuite/gas/sh/sh64/ptc64-1.d: Delete. - * testsuite/gas/sh/sh64/ptc64-32-1.d: Delete. - * testsuite/gas/sh/sh64/ptc64-noexp-1.d: Delete. - * testsuite/gas/sh/sh64/ptext-1.s: Delete. - * testsuite/gas/sh/sh64/ptext32-1.d: Delete. - * testsuite/gas/sh/sh64/ptext32-noexp-1.d: Delete. - * testsuite/gas/sh/sh64/ptext64-1.d: Delete. - * testsuite/gas/sh/sh64/ptext64-32-1.d: Delete. - * testsuite/gas/sh/sh64/ptext64-noexp-1.d: Delete. - * testsuite/gas/sh/sh64/rel-1.s: Delete. - * testsuite/gas/sh/sh64/rel-2.s: Delete. - * testsuite/gas/sh/sh64/rel-3.s: Delete. - * testsuite/gas/sh/sh64/rel-4.s: Delete. - * testsuite/gas/sh/sh64/rel-5.s: Delete. - * testsuite/gas/sh/sh64/rel32-1.d: Delete. - * testsuite/gas/sh/sh64/rel32-2.d: Delete. - * testsuite/gas/sh/sh64/rel32-3.d: Delete. - * testsuite/gas/sh/sh64/rel32-4.d: Delete. - * testsuite/gas/sh/sh64/rel32-5.d: Delete. - * testsuite/gas/sh/sh64/rel64-1.d: Delete. - * testsuite/gas/sh/sh64/rel64-2.d: Delete. - * testsuite/gas/sh/sh64/rel64-3.d: Delete. - * testsuite/gas/sh/sh64/rel64-4.d: Delete. - * testsuite/gas/sh/sh64/rel64-5.d: Delete. - * testsuite/gas/sh/sh64/relax-1.d: Delete. - * testsuite/gas/sh/sh64/relax-1.s: Delete. - * testsuite/gas/sh/sh64/relax-2.d: Delete. - * testsuite/gas/sh/sh64/relax-2.s: Delete. - * testsuite/gas/sh/sh64/relax-3.d: Delete. - * testsuite/gas/sh/sh64/relax-3.s: Delete. - * testsuite/gas/sh/sh64/sh64.exp: Delete. - * testsuite/gas/sh/sh64/shift-1.s: Delete. - * testsuite/gas/sh/sh64/shift-2.s: Delete. - * testsuite/gas/sh/sh64/shift-3.s: Delete. - * testsuite/gas/sh/sh64/shift32-1.d: Delete. - * testsuite/gas/sh/sh64/shift32-3.d: Delete. - * testsuite/gas/sh/sh64/shift32-noexp-3.d: Delete. - * testsuite/gas/sh/sh64/shift64-1.d: Delete. - * testsuite/gas/sh/sh64/shift64-2.d: Delete. - * testsuite/gas/sh/sh64/shift64-3.d: Delete. - * testsuite/gas/sh/sh64/shift64-noexp-3.d: Delete. - * testsuite/gas/sh/sh64/syntax-1.d: Delete. - * testsuite/gas/sh/sh64/syntax-1.s: Delete. - * testsuite/gas/sh/sh64/syntax-2.d: Delete. - * testsuite/gas/sh/sh64/syntax-2.s: Delete. - * testsuite/gas/sh/sh64/ua-1.s: Delete. - * testsuite/gas/sh/sh64/ua32-1.d: Delete. - * testsuite/gas/sh/sh64/ua64-1.d: Delete. - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * config/tc-sh.c: Remove sh-symbianelf support. - * config/tc-sh.h: Likewise. - * configure.ac: Likewise. - * configure.tgt: Likewise. - * testsuite/gas/sh/reg-prefix.d: Likewise. - * testsuite/gas/sh/sh2a-pic.d: Likewise. - * config.in: Regenerate. - * configure: Regenerate. - -2018-04-16 Alan Modra - - * configure.ac: Remove m88k support. - * config.in: Regenerate. - * configure: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove i370 support. - * app.c: Likewise. - * config/obj-elf.c: Likewise. - * configure.tgt: Likewise. - * doc/Makefile.am: Likewise. - * doc/as.texinfo: Likewise. - * testsuite/gas/all/gas.exp: Likewise. - * testsuite/gas/elf/warn-2.s: Likewise. - * testsuite/gas/lns/lns.exp: Likewise. - * config/tc-i370.c: Delete. - * config/tc-i370.h: Delete. - * doc/c-i370.texi: Delete. - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * config/obj-coff.h: Remove h8500 support. - -2018-04-16 Alan Modra - - * config/obj-coff.h: Remove h8300-coff support. - * config/tc-h8300.c: Likewise. - * config/tc-h8300.h: Likewise. - * testsuite/gas/h8300/h8300.exp: Likewise. - * testsuite/gas/h8300/branch-coff.s: Delete. - * testsuite/gas/h8300/branchh-coff.s: Delete. - * testsuite/gas/h8300/branchs-coff.s: Delete. - * testsuite/gas/h8300/ffxx1-coff.d: Delete. - * testsuite/gas/h8300/ffxx1-coff.s: Delete. - * testsuite/gas/h8300/h8300-coff.exp: Delete. - -2018-04-16 Alan Modra - - * app.c: Remove IEEE 695 support. - * symbols.c: Likewise. - -2018-04-16 Alan Modra - - * Makefile.am: Remove netware support. - * config/tc-i386.c: Likewise. - * configure.tgt: Likewise. - * config/te-netware.h: Delete. - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-15 H.J. Lu - - * testsuite/gas/i386/x86-64-waitpkg.s: Add 32-bit registers - tests for tpause and umwait. - * testsuite/gas/i386/x86-64-waitpkg-intel.d: Updated. - * testsuite/gas/i386/x86-64-waitpkg.d: Likewise. - -2018-04-12 John Darrington - - * as.c (main): Fail if the output is the same as one of the input - files. - * testsuite/gas/all/gas.exp: Test the new feature. - -2018-04-12 Nick Clifton - - * po/es.po: Updated Spanish translation. - * po/ru.po: Updated Russian translation. - -2018-04-11 Igor Tsimbalist - - * config/tc-i386.c (cpu_arch): Add WAITPKG. - (cpu_noarch): Likewise. - * doc/c-i386.texi: Document WAITPKG. - * i386/i386.exp: Run WAITPKG tests. - * testsuite/gas/i386/waitpkg-intel.d: New test. - * testsuite/gas/i386/waitpkg.d: Likewise. - * testsuite/gas/i386/waitpkg.s: Likewise. - * testsuite/gas/i386/x86-64-waitpkg-intel.d: Likewise. - * testsuite/gas/i386/x86-64-waitpkg.d: Likewise. - * testsuite/gas/i386/x86-64-waitpkg.s: Likewise. - -2018-04-11 Alan Modra - - * config/aout_gnu.h: Delete. - * config/tc-i860.c: Delete. - * config/tc-i860.h: Delete. - * config/tc-i960.c: Delete. - * config/tc-i960.h: Delete. - * doc/c-i860.texi: Delete. - * doc/c-i960.texi: Delete. - * testsuite/gas/i860/README.i860: Delete. - * testsuite/gas/i860/bitwise.d: Delete. - * testsuite/gas/i860/bitwise.s: Delete. - * testsuite/gas/i860/branch.d: Delete. - * testsuite/gas/i860/branch.s: Delete. - * testsuite/gas/i860/bte.d: Delete. - * testsuite/gas/i860/bte.s: Delete. - * testsuite/gas/i860/dir-align01.d: Delete. - * testsuite/gas/i860/dir-align01.s: Delete. - * testsuite/gas/i860/dir-intel01.d: Delete. - * testsuite/gas/i860/dir-intel01.s: Delete. - * testsuite/gas/i860/dir-intel02.d: Delete. - * testsuite/gas/i860/dir-intel02.s: Delete. - * testsuite/gas/i860/dir-intel03-err.l: Delete. - * testsuite/gas/i860/dir-intel03-err.s: Delete. - * testsuite/gas/i860/dual01.d: Delete. - * testsuite/gas/i860/dual01.s: Delete. - * testsuite/gas/i860/dual02-err.l: Delete. - * testsuite/gas/i860/dual02-err.s: Delete. - * testsuite/gas/i860/dual03.d: Delete. - * testsuite/gas/i860/dual03.s: Delete. - * testsuite/gas/i860/fldst01.d: Delete. - * testsuite/gas/i860/fldst01.s: Delete. - * testsuite/gas/i860/fldst02.d: Delete. - * testsuite/gas/i860/fldst02.s: Delete. - * testsuite/gas/i860/fldst03.d: Delete. - * testsuite/gas/i860/fldst03.s: Delete. - * testsuite/gas/i860/fldst04.d: Delete. - * testsuite/gas/i860/fldst04.s: Delete. - * testsuite/gas/i860/fldst05.d: Delete. - * testsuite/gas/i860/fldst05.s: Delete. - * testsuite/gas/i860/fldst06.d: Delete. - * testsuite/gas/i860/fldst06.s: Delete. - * testsuite/gas/i860/fldst07.d: Delete. - * testsuite/gas/i860/fldst07.s: Delete. - * testsuite/gas/i860/fldst08.d: Delete. - * testsuite/gas/i860/fldst08.s: Delete. - * testsuite/gas/i860/float01.d: Delete. - * testsuite/gas/i860/float01.s: Delete. - * testsuite/gas/i860/float02.d: Delete. - * testsuite/gas/i860/float02.s: Delete. - * testsuite/gas/i860/float03.d: Delete. - * testsuite/gas/i860/float03.s: Delete. - * testsuite/gas/i860/float04.d: Delete. - * testsuite/gas/i860/float04.s: Delete. - * testsuite/gas/i860/form.d: Delete. - * testsuite/gas/i860/form.s: Delete. - * testsuite/gas/i860/i860.exp: Delete. - * testsuite/gas/i860/iarith.d: Delete. - * testsuite/gas/i860/iarith.s: Delete. - * testsuite/gas/i860/ldst01.d: Delete. - * testsuite/gas/i860/ldst01.s: Delete. - * testsuite/gas/i860/ldst02.d: Delete. - * testsuite/gas/i860/ldst02.s: Delete. - * testsuite/gas/i860/ldst03.d: Delete. - * testsuite/gas/i860/ldst03.s: Delete. - * testsuite/gas/i860/ldst04.d: Delete. - * testsuite/gas/i860/ldst04.s: Delete. - * testsuite/gas/i860/ldst05.d: Delete. - * testsuite/gas/i860/ldst05.s: Delete. - * testsuite/gas/i860/ldst06.d: Delete. - * testsuite/gas/i860/ldst06.s: Delete. - * testsuite/gas/i860/pfam.d: Delete. - * testsuite/gas/i860/pfam.s: Delete. - * testsuite/gas/i860/pfmam.d: Delete. - * testsuite/gas/i860/pfmam.s: Delete. - * testsuite/gas/i860/pfmsm.d: Delete. - * testsuite/gas/i860/pfmsm.s: Delete. - * testsuite/gas/i860/pfsm.d: Delete. - * testsuite/gas/i860/pfsm.s: Delete. - * testsuite/gas/i860/pseudo-ops01.d: Delete. - * testsuite/gas/i860/pseudo-ops01.s: Delete. - * testsuite/gas/i860/regress01.d: Delete. - * testsuite/gas/i860/regress01.s: Delete. - * testsuite/gas/i860/shift.d: Delete. - * testsuite/gas/i860/shift.s: Delete. - * testsuite/gas/i860/simd.d: Delete. - * testsuite/gas/i860/simd.s: Delete. - * testsuite/gas/i860/system.d: Delete. - * testsuite/gas/i860/system.s: Delete. - * testsuite/gas/i860/xp.d: Delete. - * testsuite/gas/i860/xp.s: Delete. - * Makefile.am: Remove i860 and i960 support. - * configure.tgt: Likewise. - * doc/Makefile.am: Likewise. - * doc/all.texi: Likewise. - * testsuite/gas/all/gas.exp - * config/obj-coff.h: Remove i960 support. - * doc/internals.texi: Likewise. - * expr.c: Likewise. - * read.c: Likewise. - * write.c: Likewise. - * write.h: Likewise. - * testsuite/gas/lns/lns.exp: Likewise. - * testsuite/gas/symver/symver.exp: Likewise. - * config/tc-m68k.c: Remove BOUT support. - * config/tc-score.c: Likewise. - * config/tc-score7.c: Likewise. - * config/tc-sparc.c: Likewise. - * symbols.c: Likewise. - * doc/h8.texi: Likewise. - * configure.ac: Remove BOUT and i860 support. - * doc/as.texinfo: Remove BOUT, i860 and i960 support - * Makefile.in: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - * doc/Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-05 H.J. Lu - - PR gas/22318 - * configure: Regenerated. - -2018-04-04 H.J. Lu - - PR binutils/23025 - * testsuite/gas/i386/prefix.s: Add tests for vcvtpd2dq with - VEX and EVEX prefixes. - * testsuite/gas/i386/prefix.d: Updated. - -2018-03-30 Peter Bergner - - PR binutils/23013 - * config/tc-ppc.c (ppc_set_cpu): Select appropriate cpu when ppc_obj64 - and little endian. - -2018-03-28 Renlin Li - - PR ld/22970 - * config/tc-aarch64.c (reloc_table): Update entry for tprel_lo12 and - tprel_lo12_nc with pseudo relocations. - (ldst_lo12_determine_real_reloc_type): Add new relocations support. - (parse_operands): Handle BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12 and - BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC pseudo relocations. - (md_apply_fix): Add handling for new relocation. - (aarch64_force_relocation): Likewise. - * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.d: New. - * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.s: New. - * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.d: New. - * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.s: New. - * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.d: New. - * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.s: New. - * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.d: New. - * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.s: New. - * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.d: New. - * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.s: New. - * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.d: New. - * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.s: New. - * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.d: New. - * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.s: New. - * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.d: New. - * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.s: New. - * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16-ilp32.d: New. - * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32-ilp32.d: New. - * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64-ilp32.d: New. - * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8-ilp32.d: New. - * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16-ilp32.d: New. - * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32-ilp32.d: New. - * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64-ilp32.d: New. - * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8-ilp32.d: New. - -2018-03-28 Jan Beulich - - * config/tc-i386.c (check_VecOperands): Replace uses of - .vecesize. Always initialize op. - * testsuite/gas/i386/avx512_vpopcntdq.s, - testsuite/gas/i386/avx512bitalg_vl.s: Add Intel syntax vpopcnt - broadcast cases with explicit operand size. - * testsuite/gas/i386/avx512_vpopcntdq.d, - testsuite/gas/i386/avx512_vpopcntdq-intel.d, - testsuite/gas/i386/avx512bitalg_vl.d - testsuite/gas/i386/avx512bitalg_vl-intel.d: Adjust expectations. - -2018-03-28 Jan Beulich - - * config/tc-i386.c (struct Broadcast_Operation): Adjust comment. - (check_VecOperands): Re-write broadcast validation code. - (check_VecOperations): Replace BROADCAST_1TO* uses. - * testsuite/gas/i386/inval-avx512f.s: Add various broadcast - cases. - * testsuite/gas/i386/inval-avx512f.l: Adjust expectations. - -2018-03-28 Jan Beulich - - * config/tc-i386.c (process_suffix): Check .todword/.toqword - before zapping suffix. - -2018-03-28 Jan Beulich - - * testsuite/gas/i386/ilp32/x86-64-simd-suffix.d, - testsuite/gas/i386/x86-64-simd-suffix.d: Drop q suffix from - cvt*2si. - -2018-03-28 Nick Clifton - - PR 22988 - * config/tc-aarch64.c (parse_operands): Add code to handle - AARCH64_OPN_SVE_ADDR_R. - * testsuite/gas/aarch64/sve.s: Add tests for LDFF1xx instructions - with an assumed XZR offset address register. - * testsuite/gas/aarch64/sve.d: Update expected disassembly. - -2018-03-22 Jan Beulich - - * config/tc-i386.c (check_VecOperands): Latch - i.broadcast->operand into op. - -2018-03-22 Jan Beulich - - * config/tc-i386.c (match_template): Special case base opcode - 0xa0 with HLE prefix. - * testsuite/gas/i386/hle.s: Add mov-accumulator-to-disp cases. - * testsuite/gas/i386/hle.d, testsuite/gas/i386/hle-intel.d: - Adjust expectations. - -2018-03-22 Jan Beulich - - * testsuite/gas/i386/opts.s: Add bndmov cases. - * testsuite/gas/i386/opts.d, testsuite/gas/i386/opts-intel.d, - testsuite/gas/i386/sse2avx-opts.d, - testsuite/gas/i386/sse2avx-opts-intel.d: Adjust expectations. - -2018-03-22 Jan Beulich - - * config/tc-i386.c (match_mem_size): Extend sub-xmmword - exceptions. - * testsuite/gas/i386/xmmword.l, testsuite/gas/i386/xmmword.s: - New. - * testsuite/gas/i386/i386.exp: Run new test. - -2018-03-22 Jan Beulich - - * config/tc-i386.c (match_template): Also match 2nd and 4th - operand's register sizes. - * testsuite/gas/i386/unspec.l, testsuite/gas/i386/unspec.s: New. - * testsuite/gas/i386/i386.exp: Run new test. - -2018-03-19 Nick Clifton - - * po/uk.po: Updated Ukranian translation. - -2018-03-16 Jim Wilson - - * config/tc-riscv.c (check_absolute_expr): Expand comment. New - parameter maybe_csr. If maybe_csr and O_symbol, print CSR name. - (riscv_ip): Add new argument to check_absolute_expr calls. - * testsuite/gas/riscv/bad-csr.d: New. - * testsuite/gas/riscv/bad-csr.l: New. - * testsuite/gas/riscv/bad-csr.s: New. - -2018-03-14 Kito Cheng - - * config/tc-riscv.c (opcode_name_list): New. - (opcode_names_hash): Likewise. - (init_opcode_names_hash): Likewise. - (opcode_name_lookup): Likewise. - (validate_riscv_insn): New argument length, and add new format - which used in .insn directive. - (md_begin): Refine hash table initialization logic into - init_opcode_hash. - (init_opcode_hash): New. - (my_getOpcodeExpression): Parse opcode name for .insn. - (riscv_ip): New argument hash, able to handle .insn directive. - (s_riscv_insn): Handler for .insn directive. - (riscv_pseudo_table): New entry for .insn. - * doc/c-riscv.texi: Add documentation for .insn directive. - * testsuite/gas/riscv/insn.d: Add testcase for .insn directive. - * testsuite/gas/riscv/insn.s: Likewise. - -2018-03-13 Nick Clifton - - * po/ru.po: Updated Russian translation. - -2018-03-09 H.J. Lu - - * config/tc-i386.c (optimize_encoding): Encode EVEX instructions - with VEX128 if EVEX encoding isn't required. - * testsuite/gas/i386/optimize-1.d: Updated. - * testsuite/gas/i386/x86-64-optimize-2.d: Likewise. - -2018-03-09 H.J. Lu - - * config/tc-i386.c (check_VecOperations): Strip whitespace. - * testsuite/gas/i386/optimize-1.s: Add whitespaces before - {%k7} and {z}, - * testsuite/gas/i386/x86-64-optimize-2.s: Likewise. - -2018-03-08 H.J. Lu - - * config/tc-i386.c (set_cpu_arch): Set cpu_arch_isa_flags. - (md_parse_option): Likewise. - (optimize_encoding): Check i.tm.cpu_flags and cpu_arch_isa_flags - for cpuavx512vl instead of cpu_arch_flags. Optimize EVEX with - EVEX128 when EVEX encoding is required. - * testsuite/gas/i386/i386.exp: Run optimize-4, optimize-5, - x86-64-optimize-5 and x86-64-optimize-6. - * testsuite/gas/i386/optimize-1.d: Updated. - * testsuite/gas/i386/x86-64-optimize-2.d: Likewise. - * testsuite/gas/i386/optimize-4.d: New file. - * testsuite/gas/i386/optimize-4.s: Likewise. - * testsuite/gas/i386/optimize-5.d: Likewise. - * testsuite/gas/i386/optimize-5.s: Likewise. - * testsuite/gas/i386/x86-64-optimize-5.d: Likewise. - * testsuite/gas/i386/x86-64-optimize-5.s: Likewise. - * testsuite/gas/i386/x86-64-optimize-6.d: Likewise. - * testsuite/gas/i386/x86-64-optimize-6.s: Likewise. - -2018-03-08 H.J. Lu - - * config/tc-i386.c (optimize_encoding): Also encode "clr reg64" - as "xor reg32, reg32". - * testsuite/gas/i386/x86-64-optimize-1.s: Add "clr reg64" tests. - * testsuite/gas/i386/x86-64-optimize-1.d: Updated. - -2018-03-08 H.J. Lu - - * NEWS: Mention -mold-gcc removal. - * config/tc-i386.c (i386_error): Remove old_gcc_only. - (old_gcc): Removed. - (match_template): Remove old gcc support. - (OPTION_MOLD_GCC): Removed. - (OPTION_MRELAX_RELOCATIONS): Updated. - (md_longopts): Remove OPTION_MOLD_GCC. - (md_parse_option): Likewise. - (md_show_usage): Remove -mold-gcc. - * testsuite/gas/i386/general.s: Convert fsub/fdiv tests for old - (<= 2.8.1) versions of gcc. - * testsuite/gas/i386/intel.s: Likewise. - * testsuite/gas/i386/general.l: Updated. - * testsuite/gas/i386/intel-intel.d: Likewise. - * testsuite/gas/i386/intel.d: Likewise. - * testsuite/gas/i386/intel.e: Likewise. - * testsuite/gas/i386/i386.exp: Don't pass -mold-gcc to general. - -2018-03-08 Jan Beulich - - * config/tc-i386.c (is_evex_encoding): New. - (optimize_encoding, md_assemble, md_assemble, - VEX_check_operands, build_modrm_byte): Use is_evex_encoding. - (build_evex_prefix): Derive EVEX length field from actual - operands if the template allows multiple ones. - -2018-03-08 Jan Beulich - - * config/tc-i386.c (build_modrm_byte): Make VexNDD handling cope - with 3rd (immediate) operand. - -2018-03-08 Jan Beulich - - * config/tc-i386.c (XMMWORD_MNEM_SUFFIX, YMMWORD_MNEM_SUFFIX, - ZMMWORD_MNEM_SUFFIX): Delete. - (process_suffix): Drop their uses. Re-arrange final part of - logic into a switch() statement. Drop special casing of - cmpxchg8b. - -2018-03-08 Jan Beulich - - * config/tc-i386.c (match_template): Also match register - operands 0 and 2 for 3-operand forms. - * testsuite/gas/i386/unspec64.l, testsuite/gas/i386/unspec64.s: - New. - * testsuite/gas/i386/i386.exp: Run new test. - -2018-03-08 Jan Beulich - - * config/tc-i386.c (process_suffix): Do common part of register - checks first. - -2018-03-08 Jan Beulich - - * config/tc-i386.c (parse_insn): Move success return up. Combine - failure returns. - -2018-03-08 Jan Beulich - - * config/tc-i386.c (cpu_flags_match): Add GFNI check to AVX - logic. Add respective logic for AVX512F. - * testsuite/gas/i386/arch-avx-1.s: Add GFNI test. - testsuite/gas/i386/arch-avx-1.d, - testsuite/gas/i386/arch-avx-1-1.l, - testsuite/gas/i386/arch-avx-1-2.l, - testsuite/gas/i386/arch-avx-1-3.l, - testsuite/gas/i386/arch-avx-1-4.l, - testsuite/gas/i386/arch-avx-1-5.l, - testsuite/gas/i386/arch-avx-1-6.l: Adjust expectations. - * testsuite/gas/i386/arch-avx-1-7.l, - testsuite/gas/i386/arch-avx-1-7.s, - testsuite/gas/i386/arch-avx-1-8.l, - testsuite/gas/i386/arch-avx-1-8.s, - testsuite/gas/i386/avx512f-plain.l, - testsuite/gas/i386/avx512f-plain.s, - testsuite/gas/i386/avx512vl-plain.l, - testsuite/gas/i386/avx512vl-plain.s: New. - * testsuite/gas/i386/i386.exp: Run new tests. - -2018-03-08 Jan Beulich - - * config/tc-i386.c (cpu_flags_match): Move AVX512VL check ahead. - -2018-03-08 Jan Beulich - - * config/tc-i386.c (CPU_FLAGS_32BIT_MATCH): Delete. - (cpu_flags_match): Use CPU_FLAGS_ARCH_MATCH instead of - CPU_FLAGS_32BIT_MATCH. - -2018-03-08 Jan Beulich - - * config/tc-i386.c (CPU_FLAGS_AES_MATCH, CPU_FLAGS_AVX_MATCH, - CPU_FLAGS_PCLMUL_MATCH): Delete. - (CPU_FLAGS_32BIT_MATCH): Drop uses of deleted CPU_FLAGS_*_MATCH. - (cpu_flags_match): Combine AVX checks into - single if(). - -2018-03-08 Jan Beulich - - * config/tc-i386.c (cpu_flags_match): Drop "else" branches - setting CPU_FLAGS_ARCH_MATCH. - -2018-03-08 Jan Beulich - - * config/tc-i386.c (md_assemble): Extend SSE check conditional. - * testsuite/gas/i386/ilp32/x86-64-sse-check-none.d, - testsuite/gas/i386/ilp32/x86-64-sse-check-warn.d, - testsuite/gas/i386/ilp32/x86-64-sse-check.d, - testsuite/gas/i386/sse-check-none.d, - testsuite/gas/i386/sse-check-warn.d, - testsuite/gas/i386/x86-64-sse-check.d, - testsuite/gas/i386/x86-64-sse-check-none.d, - testsuite/gas/i386/x86-64-sse-check-warn.d: Refer to sse-check.d. - * testsuite/gas/i386/sse-check.s: Add AES, GFNI, and PCLMUL - tests. - * testsuite/gas/i386/sse-check-none.s: Replace code by inclusion - of sse-check.s. - * testsuite/gas/i386/sse-check.d: Adjust expectations. - * testsuite/gas/i386/sse-check-error.l, - testsuite/gas/i386/x86-64-sse-check-error.l: Likewise. - * testsuite/gas/i386/sse-check-warn.e: Likewise. - -2018-03-08 Jan Beulich - - * config/tc-i386.c (operand_size_match): Drop / replace uses of - .floatd. - -2018-03-08 Jan Beulich - - * testsuite/gas/i386/intel-intel.d: New. - * testsuite/gas/i386/i386.exp: Run new test. - -2018-03-08 Jan Beulich - - * config/tc-i386.c (process_operands): Access operands only - after operand count assertion. Sanitize warning text. Fix - indentation. - * testsuite/gas/i386/avx512_4fmaps-warn.l, - gas/i386/x86-64-avx512_4fmaps-warn.l: Adjust expectations. - -2018-03-08 Jan Beulich - - * testsuite/gas/i386/x86-64-movd.s: Drop bogus vmovd memory forms. - * testsuite/gas/i386/x86-64-movd.d, - testsuite/gas/i386/x86-64-movd-intel.d: Adjust expectations. - -2018-03-08 Jan Beulich - - * config/tc-i386.c (operand_type_and_not): New. - (build_modrm_byte): Use it to prevent clearing unrelated bits. - -2018-03-08 Alan Modra - - * config/tc-ppc.c (ppc_handle_align): Correct last patch. Really - don't emit a group terminating nop for power9. Simplify cpu - tests. - -2018-03-08 Alan Modra - - * config/tc-ppc.c (ppc_handle_align): Don't emit a group - terminating nop for power9. - -2018-03-07 H.J. Lu - - PR gas/22874 - * config/tc-i386.c (f32_5): Removed. - (f32_8): Likewise. - (f32_9): Likewise. - (f32_10): Likewise. - (f32_11): Likewise. - (f32_12): Likewise. - (f32_13): Likewise. - (f32_14): Likewise. - (f16_5): Likewise. - (f16_6): Likewise. - (f16_7): Likewise. - (f16_8): Likewise. - (jump_31): Likewise. - (alt64_11): Likewise. - (alt64_patt): Likewise. - (jump_disp8): New. - (jump32_disp32): Likewise. - (jump16_disp32): Likewise. - (alt_11): Likewise. - (f32_patt): Updated. - (f16_patt): Likewise. - (alt_patt): Add alt_11. - (i386_align_code): Merged with ... - (i386_generate_nops): This. Rewritten. - (fits_in_imm7): Moved before i386_generate_nops. - (fits_in_imm31): Likewise. - * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Updated to - 4095. - (i386_align_code): Removed. - (HANDLE_ALIGN): Rewritten with i386_generate_nops. - * doc/as.texinfo: Update limits of control byte for x86 .nops - directive. - * testsuite/gas/i386/i386.exp: Run nops-7 and x86-64-nops-7. - * gas/testsuite/gas/i386/noavx-3.l: Updated. - * gas/testsuite/gas/i386/nop-1.d: Likewise. - * gas/testsuite/gas/i386/nop-1.s: Likewise. - * gas/testsuite/gas/i386/nop-2.d: Likewise. - * gas/testsuite/gas/i386/nop-2.s: Likewise. - * gas/testsuite/gas/i386/nop-3.d: Likewise. - * gas/testsuite/gas/i386/nop-4.d: Likewise. - * gas/testsuite/gas/i386/nop-5.d: Likewise. - * gas/testsuite/gas/i386/nop-5.s: Likewise. - * gas/testsuite/gas/i386/nop-6.d: Likewise. - * gas/testsuite/gas/i386/nop-bad-1.l: Likewise. - * gas/testsuite/gas/i386/nops-1-core2.d: Likewise. - * gas/testsuite/gas/i386/nops-1-i386-i686.d: Likewise. - * gas/testsuite/gas/i386/nops-1-i386.d: Likewise. - * gas/testsuite/gas/i386/nops-1-i686.d: Likewise. - * gas/testsuite/gas/i386/nops-1-k8.d: Likewise. - * gas/testsuite/gas/i386/nops-1.d: Likewise. - * gas/testsuite/gas/i386/nops-2-core2.d: Likewise. - * gas/testsuite/gas/i386/nops-2-i386.d: Likewise. - * gas/testsuite/gas/i386/nops-2.d: Likewise. - * gas/testsuite/gas/i386/nops-3-i386.d: Likewise. - * gas/testsuite/gas/i386/nops-3-i686.d: Likewise. - * gas/testsuite/gas/i386/nops-3.d: Likewise. - * gas/testsuite/gas/i386/nops-4-i386.d: Likewise. - * gas/testsuite/gas/i386/nops-4-i686.d: Likewise. - * gas/testsuite/gas/i386/nops-4.d: Likewise. - * gas/testsuite/gas/i386/nops-4a-i686.d: Likewise. - * gas/testsuite/gas/i386/nops-5-i686.d: Likewise. - * gas/testsuite/gas/i386/nops-5.d: Likewise. - * gas/testsuite/gas/i386/nops-6.d: Likewise. - * gas/testsuite/gas/i386/nops16-1.d: Likewise. - * gas/testsuite/gas/i386/x86-64-nop-1.d: Likewise. - * gas/testsuite/gas/i386/x86-64-nop-2.d: Likewise. - * gas/testsuite/gas/i386/x86-64-nop-5.d: Likewise. - * gas/testsuite/gas/i386/x86-64-nops-1-core2.d: Likewise. - * gas/testsuite/gas/i386/x86-64-nops-1-g64.d: Likewise. - * gas/testsuite/gas/i386/x86-64-nops-1-k8.d: Likewise. - * gas/testsuite/gas/i386/x86-64-nops-1-pentium.d: Likewise. - * gas/testsuite/gas/i386/x86-64-nops-1.d: Likewise. - * gas/testsuite/gas/i386/x86-64-nops-2.d: Likewise. - * gas/testsuite/gas/i386/x86-64-nops-3.d: Likewise. - * gas/testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise. - * gas/testsuite/gas/i386/x86-64-nops-4-k8.d: Likewise. - * gas/testsuite/gas/i386/x86-64-nops-4.d: Likewise. - * gas/testsuite/gas/i386/x86-64-nops-5-k8.d: Likewise. - * gas/testsuite/gas/i386/x86-64-nops-5.d: Likewise. - * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise. - * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise. - * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-pentium.d: Likewise. - * gas/testsuite/gas/i386/ilp32/x86-64-nops-1.d: Likewise. - * gas/testsuite/gas/i386/ilp32/x86-64-nops-2.d: Likewise. - * gas/testsuite/gas/i386/ilp32/x86-64-nops-3.d: Likewise. - * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise. - * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise. - * gas/testsuite/gas/i386/ilp32/x86-64-nops-4.d: Likewise. - * gas/testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise. - * gas/testsuite/gas/i386/ilp32/x86-64-nops-5.d: Likewise. - * gas/testsuite/gas/i386/nops-7.d: New file. - * gas/testsuite/gas/i386/nops-7.s: Likewise. - * gas/testsuite/gas/i386/x86-64-nops-7.d: Likewise. - -2018-03-07 Alan Modra - - * testsuite/gas/ppc/aix.exp: Run for rs6000 too. - * testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets. - * testsuite/gas/ppc/machine.d: Don't run for PE targets. - -2018-03-02 Thomas Preud'homme - - * config/tc-arm.c (md_begin): Add NULL pointer check before - dereferencing march_ext_opt. - -2018-03-01 Thomas Preud'homme - - * config/tc-arm.c (cpu_variant, arm_arch_used, thumb_arch_used, - legacy_cpu, legacy_fpu, mcpu_cpu_opt, dyn_mcpu_ext_opt, - mcpu_fpu_opt, march_cpu_opt, dyn_march_ext_opt, march_fpu_opt, - mfpu_opt, object_arch, selected_cpu): Comment meaning of variables. - (dyn_mcpu_ext_opt): Also rename into ... - (mcpu_ext_opt): This. - (dyn_march_ext_opt): Also rename into ... - (march_ext_opt): This. - (object_arch): Also rename into ... - (selected_object_arch): This and make it a plain arm_feature_set - structure. - (selected_arch, selected_ext, selected_fpu): New static variables. - (mark_feature_used): Fix comments, feature is marked as used iff it is - currently allowed. - (do_bx): Adapt to change in name and type of object_arch. - (md_begin): Set selected_arch rather than mcpu_cpu_opt, selected_ext - rather than dyn_mcpu_ext_opt and selected_fpu rather than mfpu_opt. - Remove dead code to set default FPU if architecture version is greater - than 5. Set all CPU bits of cpu_variant directly in autodection - leaving mcpu_cpu_opt, selected_arch and selected_cpu unset. - (arm_parse_extension): Take extension feature set pointer parameter by - value rather than by pointer. Remove allocation code. Adapt code - accordingly. - (arm_parse_cpu): Adapt to variable renaming and changes in - arm_parse_extension () signature. - (arm_parse_arch): Likewise. - (aeabi_set_public_attributes): Also set selected_arch and selected_ext - in addition to selected_cpu. Set flags_arch and flags_ext from them - instead of selected_cpu. Adapt to variables renaming and type change. - (arm_md_post_relax): Adapt to variable renaming. - (s_arm_cpu): Set selcted_cpu_cpu and selected_ext instead of - mcpu_cpu_opt and dyn_mcpu_ext_opt. Set selected_cpu from them and - cpu_variant from selected_cpu and selected_fpu. - (s_arm_arch): Likewise. - (s_arm_object_arch): Adapt to variable renaming. - (s_arm_arch_extension): Use ARM_CPU_IS_ANY instead of checking feature - set against arm_any. Check selected_arch rather than *mcpu_cpu_opt. - Set selected_ext rather than *dyn_mcpu_ext_opt and remove allocation - code. - (s_arm_fpu): Set selected_fpu instead of mfpu_opt. Set all CPU feature - bits if in autodetection mode. - -2018-03-01 H.J. Lu - - * config/tc-i386.c (optimize_encoding): Optimize AVX256 and - AVX512 vpsub[bwdq] instructions. - * testsuite/gas/i386/optimize-1.s: Add tests for AVX256 and - AVX512 vpsub[bwdq] instructions. - * testsuite/gas/i386/x86-64-optimize-2.s: Likewise. - * testsuite/gas/i386/optimize-1.d: Updated. - * testsuite/gas/i386/x86-64-optimize-2.d: Likewise. - -2018-03-01 Alan Modra - - * configure.ac (ALL_LINGUAS): Add uk. Sort. - * configure: Regenerate. - -2018-02-27 H.J. Lu - - * NEWS: Rename .nop to .nops. - * doc/as.texinfo: Likewise. - * read.c (potable): Add "nops". Remove "nop". - (s_nop): Renamed to ... - (s_nops): This. - * read.h (s_nop): Renamed to ... - (s_nops): This. - * write.c (cvt_frag_to_fill): Rename .nop to .nops. - (md_generate_nops): Likewise. - (relax_segment): Likewise. - * testsuite/gas/i386/nop-1.d: Updated. - * testsuite/gas/i386/nop-1.s: Likewise. - * testsuite/gas/i386/nop-2.d: Likewise. - * testsuite/gas/i386/nop-2.s: Likewise. - * testsuite/gas/i386/nop-3.d: Likewise. - * testsuite/gas/i386/nop-3.s: Likewise. - * testsuite/gas/i386/nop-4.d: Likewise. - * testsuite/gas/i386/nop-4.s: Likewise. - * testsuite/gas/i386/nop-5.d: Likewise. - * testsuite/gas/i386/nop-5.s: Likewise. - * testsuite/gas/i386/nop-6.d: Likewise. - * testsuite/gas/i386/nop-6.s: Likewise. - * testsuite/gas/i386/nop-bad-1.l: Likewise. - * testsuite/gas/i386/nop-bad-1.s: Likewise. - * testsuite/gas/i386/x86-64-nop-1.d: Likewise. - * testsuite/gas/i386/x86-64-nop-2.d: Likewise. - * testsuite/gas/i386/x86-64-nop-3.d: Likewise. - * testsuite/gas/i386/x86-64-nop-4.d: Likewise. - * testsuite/gas/i386/x86-64-nop-5.d: Likewise. - * testsuite/gas/i386/x86-64-nop-6.d: Likewise. - -2018-02-27 H.J. Lu - - PR gas/22871 - * NEWS: Mention -O[2|s]. - * config/tc-i386.c (_i386_insn): Add no_optimize. - (optimize): New. - (optimize_for_space): Likewise. - (fits_in_imm7): New function. - (fits_in_imm31): Likewise. - (optimize_encoding): Likewise. - (md_assemble): Call optimize_encoding to optimize encoding. - (parse_insn): Handle {nooptimize}. - (md_shortopts): Append "O::". - (md_parse_option): Handle -On. - * doc/c-i386.texi: Document -O0, -O, -O1, -O2 and -Os as well - as {nooptimize}. - * testsuite/gas/cfi/cfi-x86_64.d: Pass -O0 to assembler. - * testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d: Likewise. - * testsuite/gas/i386/i386.exp: Run optimize-1, optimize-2, - optimize-3, x86-64-optimize-1, x86-64-optimize-2, - x86-64-optimize-3 and x86-64-optimize-4. - * testsuite/gas/i386/optimize-1.d: New file. - * testsuite/gas/i386/optimize-1.s: Likewise. - * testsuite/gas/i386/optimize-2.d: Likewise. - * testsuite/gas/i386/optimize-2.s: Likewise. - * testsuite/gas/i386/optimize-3.d: Likewise. - * testsuite/gas/i386/optimize-3.s: Likewise. - * testsuite/gas/i386/x86-64-optimize-1.s: Likewise. - * testsuite/gas/i386/x86-64-optimize-1.d: Likewise. - * testsuite/gas/i386/x86-64-optimize-2.d: Likewise. - * testsuite/gas/i386/x86-64-optimize-2.s: Likewise. - * testsuite/gas/i386/x86-64-optimize-3.d: Likewise. - * testsuite/gas/i386/x86-64-optimize-3.s: Likewise. - * testsuite/gas/i386/x86-64-optimize-4.d: Likewise. - * testsuite/gas/i386/x86-64-optimize-4.s: Likewise. - -2018-02-27 Nick Clifton - - * po/ru.po: Updated Russian translation. - -2018-02-26 Maciej W. Rozycki - - * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds' - descriptions. - -2018-02-26 Nick Clifton - - * doc/as.texinfo (Dc): Fix typo. - -2018-02-26 Alan Modra - - * testsuite/gas/mips/reginfo-2.l: Update. - -2018-02-23 Alan Modra - - * testsuite/gas/mips/reginfo-2.l: Update. - -2018-02-23 Nick Clifton - - * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds. - -2018-02-23 Kuan-Lin Chen - - * config/tc-nds32.c (ict_model): New function. Hook new - directive .ict_model. - (nds32_insert_relax_entry): Tag the bits of entry relocation - for .ict_model. - -2018-02-22 H.J. Lu - - * config/tc-i386.c (_i386_insn): Add rex_encoding. - (md_assemble): When i.rex_encoding is true, generate a REX byte - if possible. - (parse_insn): Set i.rex_encoding for {rex}. - * doc/c-i386.texi: Document {rex}. - * testsuite/gas/i386/x86-64-pseudos.s: Add {rex} tests. - * testsuite/gas/i386/x86-64-pseudos.d: Updated. - -2018-02-22 A. Wilcox - - PR 22014 - * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the - instruction size suffix. - -2018-02-20 Maciej W. Rozycki - - * testsuite/gas/mips/mips16-branch-reloc-4.d: New test. - * testsuite/gas/mips/mips16-branch-reloc-5.d: New test. - * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source. - * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source. - * testsuite/gas/mips/mips.exp: Run the new tests. - -2018-02-20 Max Filippov - - * config/tc-xtensa.c (struct litpool_frag): Add new field - literal_count. - (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS) - (MAX_POOL_LITERALS): New macro definitions. - (auto_litpool_limit): Initialize to 0. - (md_parse_option): Set auto_litpool_limit in the presence of - --auto-litpools option. - (xtensa_maybe_create_literal_pool_frag): Zero-initialize - literal_count field. - (xg_find_litpool): New function. Make sure that found literal - pool size is within the limit. - (xtensa_move_literals): Extract literal pool search code into - the new function. - * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test. - * testsuite/gas/xtensa/auto-litpools-2.d: New file. - * testsuite/gas/xtensa/auto-litpools-2.s: New file. - * testsuite/gas/xtensa/auto-litpools.d: Fix up changed - addresses. - * testsuite/gas/xtensa/auto-litpools.s: Change literal value so - that objdump doesn't get out of sync. - -2018-02-20 Thomas Preud'homme - - * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are - also the same as -march. - -2018-02-17 H.J. Lu - - * NEWS: Mention .nop directive. - * as.h (_relax_state): Add rs_space_nop and rs_fill_nop. - * read.c (potable): Add .nop. - (s_nop): New function. - * read.h (s_nop): New prototype. - * write.c (cvt_frag_to_fill): Handle rs_space_nop and - rs_fill_nop. - (md_generate_nops): New function. - (relax_segment): Likewise. - (write_contents): Use md_generate_nops for rs_fill_nop. - * config/tc-i386.c (alt64_11): New. - (alt64_patt): Likewise. - (md_convert_frag): Handle rs_space_nop. - (i386_output_nops): New function. - (i386_generate_nops): Likewise. - (i386_align_code): Call i386_output_nops. - * config/tc-i386.h (i386_generate_nops): New. - (md_generate_nops): Likewise. - * doc/as.texinfo: Document .nop directive. - * testsuite/gas/i386/i386.exp: Run .nop directive tests. - * testsuite/gas/i386/nop-1.d: New file. - * testsuite/gas/i386/nop-1.s: Likewise. - * testsuite/gas/i386/nop-2.d: Likewise. - * testsuite/gas/i386/nop-2.s: Likewise. - * testsuite/gas/i386/nop-3.d: Likewise. - * testsuite/gas/i386/nop-3.s: Likewise. - * testsuite/gas/i386/nop-4.d: Likewise. - * testsuite/gas/i386/nop-4.s: Likewise. - * testsuite/gas/i386/nop-5.d: Likewise. - * testsuite/gas/i386/nop-5.s: Likewise. - * testsuite/gas/i386/nop-6.d: Likewise. - * testsuite/gas/i386/nop-6.s: Likewise. - * testsuite/gas/i386/nop-bad-1.l: Likewise. - * testsuite/gas/i386/nop-bad-1.s: Likewise. - * testsuite/gas/i386/x86-64-nop-1.d: Likewise. - * testsuite/gas/i386/x86-64-nop-2.d: Likewise. - * testsuite/gas/i386/x86-64-nop-3.d: Likewise. - * testsuite/gas/i386/x86-64-nop-4.d: Likewise. - * testsuite/gas/i386/x86-64-nop-5.d: Likewise. - * testsuite/gas/i386/x86-64-nop-6.d: Likewise. - -2018-02-15 Tamar Christina - - * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A. - * testsuite/gas/arm/attr-march-armv8_4-a.d: New. - -2018-02-13 Max Filippov - - * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline - frag that contains source address. - -2018-02-13 Nick Clifton - - PR 22773 - * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR - instruction before assuming that it is a MOV instruction. - * testsuite/gas/arm/pr22773.s: New test. - * testsuite/gas/arm/pr22773.d: New test driver. - * testsuite/gas/arm/pr22773.l: New expected output. - -2018-02-13 H.J. Lu - - PR gas/22791 - * config/tc-i386.c (need_plt32_p): New function. - (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible. - (md_estimate_size_before_relax): Likewise. - * testsuite/gas/i386/reloc64.d: Updated. - * testsuite/gas/i386/x86-64-jump.d: Likewise. - * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise. - * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise. - * testsuite/gas/i386/x86-64-relax-2.d: Likewise. - * testsuite/gas/i386/x86-64-relax-3.d: Likewise. - * testsuite/gas/i386/ilp32/reloc64.d: Likewise. - * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise. - -2018-02-13 Maciej W. Rozycki - - * testsuite/gas/mips/loongson-3a-2.d: Rename test. - -2018-02-13 Nick Clifton - - PR 22823 - * config/obj-elf.c (elf_pseudo_table): Remove now redundant - casts. - (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit. - (obj_elf_vtable_inherit): New stub function that calls - obj_elf_get_vtable_inherit. - (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry. - (obj_elf_vtable_entry): New stub function that calls - obj_elf_get_vtable_entry. - * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype. - (obj_elf_vtable_entry) Likewise. - (obj_elf_get_vtable_inherit) Likewise. - (obj_elf_get_vtable_entry) Likewise. - * config/tc-arm.c (md_pseudo_table): Remove now redundant cast. - * config/tc-i386c (md_pseudo_table): Likewise. - * config/tc-hppa.c (pa_vtable_entry): Call - obj_elf_get_vtable_entry. - (pa_vtable_inherit): Call obj_elf_get_vtable_inherit. - * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file - with call to dwarf2_get_filename. - * dwarf2dbg.c (dwarf2_directive_file): Rename to - dwarf2_directive_filename. - (dwarf2_directive_file): New stub function that calls - dwarf2_directive_filename. - * dwarf2dbg.h: Prototype dwarf2_directive_filename. - -2018-02-12 Maciej W. Rozycki - - * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to - `as' flags. - -2018-02-12 Henry Wong - - * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix. - * testsuite/gas/mips/r6-n32.d: Likewise. - * testsuite/gas/mips/r6-n64.d: Likewise. - -2018-02-12 Nick Clifton - - * po/ru.po: Updated Russian translation. - -2018-02-08 Alan Modra - - PR 22819 - * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking. - (ppc_frag_check): Likewise. - * testsuite/gas/ppc/misalign.d, - * testsuite/gas/ppc/misalign.l, - * testsuite/gas/ppc/misalign.s: New test. - * testsuite/gas/ppc/misalign2.d, - * testsuite/gas/ppc/misalign2.s: New test. - * testsuite/gas/ppc/ppc.exp: Run them. - -2018-02-05 Maciej W. Rozycki - - * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename - `expr' parameter to `ep'. - -2018-02-05 Maciej W. Rozycki - - * testsuite/gas/mips/reginfo-2.d: New test. - * testsuite/gas/mips/reginfo-2-n32.d: New test. - * testsuite/gas/mips/reginfo-2.l: New test stderr output. - * testsuite/gas/mips/reginfo-2.s: New test source. - * testsuite/gas/mips/mips.exp: Run the new tests. - -2018-02-05 Nick Clifton - - * po/ru.po: Updated Russian translation. - -2018-01-31 Alan Modra - - PR 22714 - * app.c (last_char): New static var. - (struct app_save): Add last_char field. - (app_push, app_pop): Handle it. - (do_scrub_chars): Use last_char in test for "\@". Set last_char. - -2018-01-29 Eric Botcazou - - PR gas/22738 - * config/tc-sparc.h (sparc_mach): Declare. - (TARGET_MACH): Define to above. - * config/tc-sparc.c (sparc_mach): New function. - (sparc_md_end): Minor tweak. - -2018-01-29 Nick Clifton - - * po/ru.po: Updated Russian translation. - -2018-01-26 Maciej W. Rozycki - - * configure.tgt: Use generic emulation for `mips-*-windiss', - overriding the blanket choice made for `*-*-windiss'. - -2018-01-26 Maciej W. Rozycki - - * configure.tgt: Use `mips-*-sysv4*' rather than - `mips-*-sysv4*MP*'. - -2018-01-24 Renlin Li - - * config/tc-aarch64.c (reloc_table): add entries for - BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, - BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, - BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, - BFD_RELOC_AARCH64_MOVW_PREL_G3. - (process_movw_reloc_info): Supports newly added MOVW_PREL relocations. - (md_apply_fix): Likewise - * testsuite/gas/aarch64/prel_g0.s: New. - * testsuite/gas/aarch64/prel_g0.d: New. - * testsuite/gas/aarch64/prel_g0_nc.s: New. - * testsuite/gas/aarch64/prel_g0_nc.d: New. - * testsuite/gas/aarch64/prel_g1.s: New. - * testsuite/gas/aarch64/prel_g1.d: New. - * testsuite/gas/aarch64/prel_g1_nc.s: New. - * testsuite/gas/aarch64/prel_g1_nc.d: New. - * testsuite/gas/aarch64/prel_g2.s: New. - * testsuite/gas/aarch64/prel_g2.d: New. - * testsuite/gas/aarch64/prel_g2_nc.s: New. - * testsuite/gas/aarch64/prel_g2_nc.d: New. - * testsuite/gas/aarch64/prel_g3.s: New. - * testsuite/gas/aarch64/prel_g3.d: New. - -2018-01-23 Maciej W. Rozycki - - * configure.ac: Also set `mips_default_abi' to N32_ABI for - `mips64*-ps2-elf*'. - * configure: Regenerate. - -2018-01-23 Maciej W. Rozycki - - * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE - enum value. - -2018-01-23 Igor Tsimbalist - - * config/tc-i386.c (cpu_arch): Add .pconfig. - * doc/c-i386.texi: Document .pconfig. - * testsuite/gas/i386/i386.exp: Add PCONFIG tests. - * testsuite/gas/i386/pconfig-intel.d: New test. - * testsuite/gas/i386/pconfig.d: Likewise. - * testsuite/gas/i386/pconfig.s: Likewise. - * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise. - * testsuite/gas/i386/x86-64-pconfig.d: Likewise. - * testsuite/gas/i386/x86-64-pconfig.s: Likewise. - -2018-01-23 Igor Tsimbalist - - * config/tc-i386.c (cpu_arch): Add .wbnoinvd. - * doc/c-i386.texi: Document .wbnoinvd. - * testsuite/gas/i386/i386.exp: Add WBNOINVD tests. - * testsuite/gas/i386/wbnoinvd-intel.d: New test. - * testsuite/gas/i386/wbnoinvd.d: Likewise. - * testsuite/gas/i386/wbnoinvd.s: Likewise. - * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise. - * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise. - * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise. - -2018-01-23 Maciej W. Rozycki - - * config/tc-mips.c (md_show_usage): Correctly indicate the - configuration-specific default ABI. - -2018-01-23 Maciej W. Rozycki - - * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and - `-mno-mips16e2' options. - -2018-01-22 Maciej W. Rozycki - - * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides): - Correct syntax of the `.set nomips16e2' directive description. - -2018-01-22 Oleg Endo - - PR 22737 - * config/tc-rx.c (rx_start_line): Handle escaped double-quote character. - * testsuite/gas/rx/pr22737.s: New test. - * testsuite/gas/rx/pr22737.d: Likewise. - * testsuite/gas/rx/rx.exp: Run the new test. - -2018-01-19 Thomas Preud'homme - - * config/tc-arm.c (ToC macro): Remove spurious comment. - (ToU macro): Likewise. - -2018-01-17 Jim Wilson - - * config/tc-riscv.c (validate_riscv_insn) <'z'>: New. - (riscv_ip) <'z'>: New. - -2018-01-17 Igor Tsimbalist - - * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk. - (cpu_noarch): Add noibt, noshstk. - (parse_insn): Change cpucet to cpuibt. - * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk. - * testsuite/gas/i386/cet-ibt-inval.l: New test. - * testsuite/gas/i386/cet-ibt-inval.s: Likewise. - * testsuite/gas/i386/cet-shstk-inval.l: Likewise. - * testsuite/gas/i386/cet-shstk-inval.s: Likewise. - * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise. - * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise. - * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise. - * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise. - -2018-01-16 Nick Clifton - - * po/fr.po: Updated French translation. - -2018-01-15 Jim Wilson - - * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop. - * testsuite/gas/riscv/c-zero-imm.d: Likewise. - -2018-01-15 Thomas Preud'homme - - * config/tc-arm.c (ToC): Define macro. - (ToU): Likewise. - (insns): Make use of above macros for new instructions introduced in - Armv8-M. - -2018-01-15 Thomas Preud'homme - - * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm - and vlstm conditionally executable and reindent parameters. - * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of - aforementionned instructions. - -2018-01-15 Thomas Preud'homme - - * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M - profile architecture or if in autodetection mode. Clarify that - deprecation is for performance reason and concerns Armv8-A and Armv8-R. - * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning - message. - * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise. - * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise. - * testsuite/gas/arm/udf.l: Likewise. - * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely. - -2018-01-15 Nick Clifton - - * po/uk.po: Updated Ukranian translation. - -2018-01-13 Nick Clifton - - * po/gas.pot: Regenerated. - -2018-01-13 Nick Clifton - - * configure: Regenerate. - -2018-01-13 Nick Clifton - - 2.30 branch created. - * NEWS: Add marker for 2.30. - -2018-01-12 Gunther Nikl - - * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly - define to 0 and 1. Remove a dangling reference to "AMD 29000" - in a comment. - -2018-01-11 Igor Tsimbalist - - * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise. - * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise. - * testsuite/i386/avx512_4fmaps_vl.d: Likewise. - * testsuite/i386/avx512_4fmaps_vl.s: Likewise. - * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise. - * testsuite/i386/avx512_4vnniw_vl.d: Likewise. - * testsuite/i386/avx512_4vnniw_vl.s: Likewise. - * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw - tests. - * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed. - * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise. - * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise. - * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise. - * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise. - * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise. - * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise. - * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise. - -2018-01-11 Alan Modra - - * config/tc-arm.c (aeabi_set_public_attributes): Avoid false - positive "‘profile’ may be used uninitialized". - -2018-01-10 Jan Beulich - - * testsuite/gas/i386/avx512_4fmaps.s, - testsuite/gas/i386/avx512_4fmaps_vl.s, - testsuite/gas/i386/x86-64-avx512_4fmaps.s, - testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test - Disp8 forms (and the transition happening at the right - boundary). - * testsuite/gas/i386/avx512_4fmaps.d, - testsuite/gas/i386/avx512_4fmaps-intel.d, - testsuite/gas/i386/avx512_4fmaps_vl.d, - testsuite/gas/i386/avx512_4fmaps_vl-intel.d, - testsuite/gas/i386/x86-64-avx512_4fmaps.d, - testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d, - testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d, - testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust - expectations. - -2018-01-10 Jan Beulich - - * testsuite/gas/i386/avx512bw.s, - testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory - operands. - * testsuite/gas/i386/avx512bw-intel.d, - testsuite/gas/i386/avx512bw.d, - testsuite/gas/i386/avx512bw_vl-intel.d. - testsuite/gas/i386/avx512bw_vl.d: Adjust expectations. - -2018-01-09 Jim Wilson - - * testsuite/gas/riscv/auipc-x0.d: New. - * testsuite/gas/riscv/auipc-x0.s: New. - -2018-01-09 James Greenhalgh - - * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above - in Arm execution state, and Armv6T2 and above in Thumb execution - state. - * testsuite/gas/arm/csdb.s: New. - * testsuite/gas/arm/csdb.d: New. - * testsuite/gas/arm/thumb2_it_bad.l: Add csdb. - * testsuite/gas/arm/thumb2_it_bad.s: Add csdb. - -2018-01-09 James Greenhalgh - - * testsuite/gas/aarch64/system.d: Update expected results to expect - CSDB for hint 0x14. - -2018-01-08 H.J. Lu - - PR gas/22681 - * testsuite/gas/i386/i386.exp: Run x86-64-movd and - x86-64-movd-intel. - * testsuite/gas/i386/x86-64-movd-intel.d: New file. - * testsuite/gas/i386/x86-64-movd.d: Likewise. - * testsuite/gas/i386/x86-64-movd.s: Likewise. - -2018-01-08 Nick Clifton - - PR 22553 - * doc/c-i386.texi (i386-Directives): Document the .largecomm - directive. - -2018-01-04 Jim Wilson - - * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval. - * testsuite/gas/riscv/priv-reg.d: Likewise. - -2018-01-03 Alan Modra - - Update year range in copyright notice of all files. - -2018-01-02 Nick Clifton - - PR 18119 - * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked - version of ARM MRS instruction. - -For older changes see ChangeLog-2017 +For older changes see ChangeLog-2018 -Copyright (C) 2018 Free Software Foundation, Inc. +Copyright (C) 2019 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/gas/ChangeLog-2018 b/gas/ChangeLog-2018 new file mode 100644 index 0000000000..b21680a158 --- /dev/null +++ b/gas/ChangeLog-2018 @@ -0,0 +1,5886 @@ +2018-12-19 H.J. Lu + + PR gas/23997 + * config/tc-i386.c (x86_cons): Check for invalid PLT expression. + (md_apply_fix): Subtract the PLT relocation size only for jump + instructions. + * testsuite/gas/i386/reloc32.s: Add test for invalid PLT + expression. + * testsuite/gas/i386/reloc64.s: Likewise. + * testsuite/gas/i386/ilp32/reloc64.s: Likewise. + * testsuite/gas/i386/reloc32.l: Updated. + * testsuite/gas/i386/reloc64.l: Likewise. + * testsuite/gas/i386/ilp32/reloc64.l: Likewise. + +2018-12-14 H.J. Lu + + PR ld/23900 + * config/tc-i386.c (x86_cleanup): Don't set + GNU_PROPERTY_X86_UINT32_VALID. + * testsuite/gas/i386/property-1.s: Change + GNU_PROPERTY_X86_ISA_1_USED bits to 0. + +2018-12-13 Jeff Law + + * dw2gencfi.c (output_cie): Add missing semicolon in last + change. + +2018-12-13 Sam Tebbs + + * config/tc-aarch64.h (enum pointer_auth_key, + tc_fde_entry_extras, tc_cie_entry_extras, tc_fde_entry_init_extra, + tc_output_cie_extra, tc_cie_fde_equivalent_extra, + tc_cie_entry_init_extra): Define. + * dw2gencfi.c (struct cie_entry): Add tc_cie_entry_extras invocation. + (alloc_fde_entry, select_cie_for_fde): Add tc_fde_entry_init_extra + invocation. + (output_cie): Add tc_output_cie_extra invocation. + (select_cie_for_fde): Add tc_cie_fde_equivalent_extra invocation. + * dw2gencfi.h (enum pointer_auth_key): Move to config/tc-aarch64.h. + (struct fde_entry): Add tc_fde_entry_extras invocation + +2018-12-12 Andre Vieira + + * testsuite/gas/arm/blx-local-thumb.d: Skip arm-nto and + arm-netbsdelf. + +2018-12-10 Jim Wilson + + PR gas/23954 + * config/tc-riscv.c (my_getSmallExpression): Expand comment for + register support. Set expr_end if parse a register. + (riscv_ip) <'u'>: Break if imm_expr is not a symbol or constant. + * testsuite/gas/riscv/auipc-parsing.d: New. + * testsuite/gas/riscv/auipc-parsing.l: New. + * testsuite/gas/riscv/auipc-parsing.s: New. + +2018-12-09 H.J. Lu + + PR gas/23968 + * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Put back + BFD_RELOC_X86_64_GOTPCREL. + * testsuite/gas/i386/i386.exp: Run x86-64-gotpcrel-2. + * testsuite/gas/i386/x86-64-gotpcrel-2.d: New file. + * testsuite/gas/i386/x86-64-gotpcrel-2.s: Likewise. + * testsuite/gas/i386/ilp32/x86-64-gotpcrel-2.d: Likewise. + +2018-12-07 Jim Wilson + + PR gas/23956 + * config/tc-riscv.c (validate_riscv_insn) <'1'>: New case. + (percent_op_null): New. + (riscv_ip) <'j'>: Set imm_reloc before p. + <'1'>: New case. + <'0'>: Use percent_op_null and don't set imm_reloc. + : Handle *args == '1'. + * testsuite/gas/riscv/tprel-add.d: New. + * testsuite/gas/riscv/tprel-add.l: New. + * testsuite/gas/riscv/tprel-add.s: New. + +2018-12-06 Alan Modra + + * config/tc-ppc.c (md_assemble): Adjust relocs for VLE before + TLS tweaks. Handle e_li. Warn on unexpected operand field + for lo16/hi16/ha16 relocs. + +2018-12-06 Andrew Burgess + + * config/tc-riscv.h (FAKE_LABEL_NAME): Define as + RISCV_FAKE_LABEL_NAME. + (FAKE_LABEL_CHAR): Define as RISCV_FAKE_LABEL_CHAR. + +2018-12-05 Sam Tebbs + + * dw2gencfi.c (struct cie_entry): Add tc_cie_entry_extras invocation. + (alloc_fde_entry): Add tc_fde_entry_init_extra invocation. + (output_cie): Add tc_output_cie_extra invocation. + (select_cie_for_fde): Add tc_cie_fde_equivalent_extra and + tc_cie_entry_init_extra invocation. + (frch_cfi_data, cfa_save_data): Move to dwgencfi.h. + * config/tc-aarch64.c (s_aarch64_cfi_b_key_frame): Declare. + (md_pseudo_table): Add "cfi_b_key_frame". + * config/tc-aarch64.h (tc_fde_entry_extras, tc_cie_entry_extras, + tc_fde_entry_init_extra, tc_output_cie_extra, + tc_cie_fde_equivalent_extra, tc_cie_entry_init_extra): Define. + * dw2gencfi.h (struct fde_entry): Add tc_fde_entry_extras invocation. + (pointer_auth_key): Define. + (frch_cfi_data, cfa_save_data): Move from dwgencfi.c. + * doc/c-aarch64.texi (.cfi_b_key_frame): Add documentation. + * testsuite/gas/aarch64/(pac_ab_key.d, pac_ab_key.s): New file. + +2018-12-04 wu.heng + + PR 23939 + * dw2gencfi.c (dot_cfi_label): Check frch_cfi_data is non-NULL + before use. + +2018-12-03 Kito Cheng + + * config/tc-riscv.c: Include elfxx-riscv.h. + (struct riscv_subset): Removed. + (riscv_subsets): Change type to riscv_subset_list_t. + (riscv_subset_supports): Removed argument: xlen_required and move + logic into libbfd. + (riscv_multi_subset_supports): Removed argument: xlen_required. + (riscv_clear_subsets): Removed. + (riscv_add_subset): Ditto. + (riscv_set_arch): Extract parsing logic into libbfd. + (riscv_ip): Update argument for riscv_multi_subset_supports and + riscv_subset_supports. Update riscv_subsets due to struct definition + changed. + (riscv_after_parse_args): Update riscv_subsets due to struct + definition changed, update and argument for riscv_subset_supports. + * testsuite/gas/riscv/empty.s: New. + * testsuite/gas/riscv/march-fail-rv32ef.d: Likewise. + * testsuite/gas/riscv/march-fail-rv32ef.l: Likewise. + * testsuite/gas/riscv/march-fail-rv32i.d: Likewise. + * testsuite/gas/riscv/march-fail-rv32i.l: Likewise. + * testsuite/gas/riscv/march-fail-rv32iam.d: Likewise. + * testsuite/gas/riscv/march-fail-rv32iam.l: Likewise. + * testsuite/gas/riscv/march-fail-rv32ic.d: Likewise. + * testsuite/gas/riscv/march-fail-rv32ic.l: Likewise. + * testsuite/gas/riscv/march-fail-rv32icx2p.d: Likewise. + * testsuite/gas/riscv/march-fail-rv32icx2p.l: Likewise. + * testsuite/gas/riscv/march-fail-rv32imc.d: Likewise. + * testsuite/gas/riscv/march-fail-rv32imc.l: Likewise. + * testsuite/gas/riscv/march-fail-rv64I.d: Likewise. + * testsuite/gas/riscv/march-fail-rv64I.l: Likewise. + * testsuite/gas/riscv/march-fail-rv64e.d: Likewise. + * testsuite/gas/riscv/march-fail-rv64e.l: Likewise. + * testsuite/gas/riscv/march-ok-g2.d: Likewise. + * testsuite/gas/riscv/march-ok-g2p0.d: Likewise. + * testsuite/gas/riscv/march-ok-i2p0.d: Likewise. + * testsuite/gas/riscv/march-ok-nse-with-version.: Likewise.d + * testsuite/gas/riscv/march-ok-s-with-version.d: Likewise. + * testsuite/gas/riscv/march-ok-s.d: Likewise. + * testsuite/gas/riscv/march-ok-sx.d: Likewise. + * testsuite/gas/riscv/march-ok-two-nse.d: Likewise. + * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise. + * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise. + +018-12-03 Egeyar Bagcioglu + + PR 23193 + PR 19721 + * testsuite/gas/aarch64/pr19721.s: Add new test cases. + * testsuite/gas/aarch64/pr19721.d: Correct existing test + cases and add new ones. + +2018-12-03 Nick Clifton + + PR 23941 + * dwarf2dbg.c (DWARF2_LINE_VERSION): Change to 3. + * testsuite/gas/elf/dwarf2-3.d: Update expected output. + * testsuite/gas/elf/dwarf2-5.d: Likewise. + * testsuite/gas/i386/debug1.d: Likewise. + * testsuite/gas/i386/dw2-compress-1.d: Likewise. + * testsuite/gas/i386/dw2-compress-3a.d: Likewise. + * testsuite/gas/i386/dw2-compress-3b.d: Likewise. + * testsuite/gas/i386/dw2-compressed-1.d: Likewise. + * testsuite/gas/i386/dw2-compressed-3a.d: Likewise. + * testsuite/gas/i386/dw2-compressed-3b.d: Likewise. + * testsuite/gas/ia64/pr13167.d: Likewise. + * testsuite/gas/mips/loc-swap-2.d: Likewise. + * testsuite/gas/mips/loc-swap.d: Likewise. + * testsuite/gas/mips/micromips@loc-swap-2.d: Likewise. + * testsuite/gas/mips/micromips@loc-swap.d: Likewise. + * testsuite/gas/mips/mips16@loc-swap-2.d: Likewise. + * testsuite/gas/mips/mips16@loc-swap.d: Likewise. + * testsuite/gas/mips/mips16e@loc-swap.d: Likewise. + +2018-12-01 Alan Modra + + PR 23938 + * read.h (get_stab_string_offset): Update prototype. + * stabs.c (get_stab_string_offset): Add free_stabstr_secname + parameter. Free stabstr_secname if unused as section name. + Don't xstrdup name when used. + (s_stab_generic): Remove forward declaration. Add + stab_secname_obstack_end param. Reference notes obstack via + macros. Delete cached_secname. Adjust get_stab_string_offset + call. Free stab_secname if unused as section name. + (s_stab): Adjust s_stab_generic call. + (s_xstab): Likewise. Delete saved_secname and saved_strsecname. + * config/obj-elf.c (obj_elf_init_stab_section): Adjust + get_stab_string_offset call. + * config/obj-coff.c (obj_coff_init_stab_section): Likewise. + * config/obj-som.c (obj_som_init_stab_section): Likewise. + * testsuite/gas/all/pr23938.s: New test. + * testsuite/gas/all/gas.exp: Run it. + +2018-11-30 Fredrik Noring + + * config/tc-mips.c (mips_fix_r5900, mips_fix_r5900_explicit): + New variables. + (options): Add OPTION_FIX_R5900 and OPTION_NO_FIX_R5900 + enumeration constants. + (md_longopts): Add "mfix-r5900" and "mno-fix-r5900" options. + (can_swap_branch_p, md_parse_option, mips_after_parse_args): + Handle the new options. + (md_show_usage): Document the `-mfix-r5900' option. + * doc/as.texi: Likewise. + * doc/c-mips.texi: Likewise. + * testsuite/gas/mips/mips.exp: Run R5900 dump tests. + * testsuite/gas/mips/r5900-fix.d: Test `-mfix-r5900' option. + * testsuite/gas/mips/r5900-fix.s: Likewise. + * testsuite/gas/mips/r5900-no-fix.d: Test `-mno-fix-r5900'. + * testsuite/gas/mips/r5900-no-fix.s: Likewise. + +2018-11-27 Jim Wilson + + * config/tc-riscv.c (validate_riscv_insn) <'F'>: Add support for CF6 + and CF2 operands. + (riscv_ip) <'F'>: Likewise. + * doc/c-riscv.texi (RISC-V-Formats): Add func6 abbreviation. Use rs2 + instead of rs1 in CR description. Add CA docs. + * gas/testsuite/riscv/insn.s: Add use of .insn ca. + * gas/testsuite/riscv/insn.d: Update to match. + +2018-11-27 Thomas Preud'homme + + * testsuite/gas/arm/cpu-arm1020.d: New testcase. + * testsuite/gas/arm/cpu-arm1020e.d: Likewise. + * testsuite/gas/arm/cpu-arm1020t.d: Likewise. + * testsuite/gas/arm/cpu-arm1022e.d: Likewise. + * testsuite/gas/arm/cpu-arm1026ej-s.d: Likewise. + * testsuite/gas/arm/cpu-arm1026ejs.d: Likewise. + * testsuite/gas/arm/cpu-arm10e.d: Likewise. + * testsuite/gas/arm/cpu-arm10t.d: Likewise. + * testsuite/gas/arm/cpu-arm10tdmi.d: Likewise. + * testsuite/gas/arm/cpu-arm1136j-s.d: Likewise. + * testsuite/gas/arm/cpu-arm1136jf-s.d: Likewise. + * testsuite/gas/arm/cpu-arm1136jfs.d: Likewise. + * testsuite/gas/arm/cpu-arm1136js.d: Likewise. + * testsuite/gas/arm/cpu-arm1156t2-s.d: Likewise. + * testsuite/gas/arm/cpu-arm1156t2f-s.d: Likewise. + * testsuite/gas/arm/cpu-arm1176jz-s.d: Likewise. + * testsuite/gas/arm/cpu-arm1176jzf-s.d: Likewise. + * testsuite/gas/arm/cpu-arm2.d: Likewise. + * testsuite/gas/arm/cpu-arm250.d: Likewise. + * testsuite/gas/arm/cpu-arm3.d: Likewise. + * testsuite/gas/arm/cpu-arm6.d: Likewise. + * testsuite/gas/arm/cpu-arm60.d: Likewise. + * testsuite/gas/arm/cpu-arm600.d: Likewise. + * testsuite/gas/arm/cpu-arm610.d: Likewise. + * testsuite/gas/arm/cpu-arm620.d: Likewise. + * testsuite/gas/arm/cpu-arm7.d: Likewise. + * testsuite/gas/arm/cpu-arm70.d: Likewise. + * testsuite/gas/arm/cpu-arm700.d: Likewise. + * testsuite/gas/arm/cpu-arm700i.d: Likewise. + * testsuite/gas/arm/cpu-arm710.d: Likewise. + * testsuite/gas/arm/cpu-arm7100.d: Likewise. + * testsuite/gas/arm/cpu-arm710c.d: Likewise. + * testsuite/gas/arm/cpu-arm710t.d: Likewise. + * testsuite/gas/arm/cpu-arm720.d: Likewise. + * testsuite/gas/arm/cpu-arm720t.d: Likewise. + * testsuite/gas/arm/cpu-arm740t.d: Likewise. + * testsuite/gas/arm/cpu-arm7500.d: Likewise. + * testsuite/gas/arm/cpu-arm7500fe.d: Likewise. + * testsuite/gas/arm/cpu-arm7d.d: Likewise. + * testsuite/gas/arm/cpu-arm7di.d: Likewise. + * testsuite/gas/arm/cpu-arm7dm.d: Likewise. + * testsuite/gas/arm/cpu-arm7dmi.d: Likewise. + * testsuite/gas/arm/cpu-arm7m.d: Likewise. + * testsuite/gas/arm/cpu-arm7t.d: Likewise. + * testsuite/gas/arm/cpu-arm7tdmi-s.d: Likewise. + * testsuite/gas/arm/cpu-arm7tdmi.d: Likewise. + * testsuite/gas/arm/cpu-arm8.d: Likewise. + * testsuite/gas/arm/cpu-arm810.d: Likewise. + * testsuite/gas/arm/cpu-arm9.d: Likewise. + * testsuite/gas/arm/cpu-arm920.d: Likewise. + * testsuite/gas/arm/cpu-arm920t.d: Likewise. + * testsuite/gas/arm/cpu-arm922t.d: Likewise. + * testsuite/gas/arm/cpu-arm926ej-s.d: Likewise. + * testsuite/gas/arm/cpu-arm926ej.d: Likewise. + * testsuite/gas/arm/cpu-arm926ejs.d: Likewise. + * testsuite/gas/arm/cpu-arm940t.d: Likewise. + * testsuite/gas/arm/cpu-arm946e-r0.d: Likewise. + * testsuite/gas/arm/cpu-arm946e-s.d: Likewise. + * testsuite/gas/arm/cpu-arm946e.d: Likewise. + * testsuite/gas/arm/cpu-arm966e-r0.d: Likewise. + * testsuite/gas/arm/cpu-arm966e-s.d: Likewise. + * testsuite/gas/arm/cpu-arm966e.d: Likewise. + * testsuite/gas/arm/cpu-arm968e-s.d: Likewise. + * testsuite/gas/arm/cpu-arm9e-r0.d: Likewise. + * testsuite/gas/arm/cpu-arm9e.d: Likewise. + * testsuite/gas/arm/cpu-arm9tdmi.d: Likewise. + * testsuite/gas/arm/cpu-arm_any.d: Likewise. + * testsuite/gas/arm/cpu-cortex-a12.d: Likewise. + * testsuite/gas/arm/cpu-cortex-a15.d: Likewise. + * testsuite/gas/arm/cpu-cortex-a17.d: Likewise. + * testsuite/gas/arm/cpu-cortex-a32.d: Likewise. + * testsuite/gas/arm/cpu-cortex-a35.d: Likewise. + * testsuite/gas/arm/cpu-cortex-a5.d: Likewise. + * testsuite/gas/arm/cpu-cortex-a53.d: Likewise. + * testsuite/gas/arm/cpu-cortex-a55.d: Likewise. + * testsuite/gas/arm/cpu-cortex-a57.d: Likewise. + * testsuite/gas/arm/cpu-cortex-a7.d: Likewise. + * testsuite/gas/arm/cpu-cortex-a72.d: Likewise. + * testsuite/gas/arm/cpu-cortex-a73.d: Likewise. + * testsuite/gas/arm/cpu-cortex-a75.d: Likewise. + * testsuite/gas/arm/cpu-cortex-a76.d: Likewise. + * testsuite/gas/arm/cpu-cortex-a8.d: Likewise. + * testsuite/gas/arm/cpu-cortex-a9.d: Likewise. + * testsuite/gas/arm/cpu-cortex-m0.d: Likewise. + * testsuite/gas/arm/cpu-cortex-m0plus.d: Likewise. + * testsuite/gas/arm/cpu-cortex-m1.d: Likewise. + * testsuite/gas/arm/cpu-cortex-m23.d: Likewise. + * testsuite/gas/arm/cpu-cortex-m3.d: Likewise. + * testsuite/gas/arm/cpu-cortex-m33.d: Likewise. + * testsuite/gas/arm/cpu-cortex-m4.d: Likewise. + * testsuite/gas/arm/cpu-cortex-m7.d: Likewise. + * testsuite/gas/arm/cpu-cortex-r4.d: Likewise. + * testsuite/gas/arm/cpu-cortex-r4f.d: Likewise. + * testsuite/gas/arm/cpu-cortex-r5.d: Likewise. + * testsuite/gas/arm/cpu-cortex-r52.d: Likewise. + * testsuite/gas/arm/cpu-cortex-r7.d: Likewise. + * testsuite/gas/arm/cpu-cortex-r8.d: Likewise. + * testsuite/gas/arm/cpu-ep9312.d: Likewise. + * testsuite/gas/arm/cpu-exynos-m1.d: Likewise. + * testsuite/gas/arm/cpu-fa526.d: Likewise. + * testsuite/gas/arm/cpu-fa606te.d: Likewise. + * testsuite/gas/arm/cpu-fa616te.d: Likewise. + * testsuite/gas/arm/cpu-fa626.d: Likewise. + * testsuite/gas/arm/cpu-fa626te.d: Likewise. + * testsuite/gas/arm/cpu-fa726te.d: Likewise. + * testsuite/gas/arm/cpu-fmp626.d: Likewise. + * testsuite/gas/arm/cpu-i80200.d: Likewise. + * testsuite/gas/arm/cpu-iwmmxt.d: Likewise. + * testsuite/gas/arm/cpu-iwmmxt2.d: Likewise. + * testsuite/gas/arm/cpu-marvell-pj4.d: Likewise. + * testsuite/gas/arm/cpu-marvell-whitney.d: Likewise. + * testsuite/gas/arm/cpu-mpcore.d: Likewise. + * testsuite/gas/arm/cpu-mpcorenovfp.d: Likewise. + * testsuite/gas/arm/cpu-sa1.d: Likewise. + * testsuite/gas/arm/cpu-strongarm.d: Likewise. + * testsuite/gas/arm/cpu-strongarm1.d: Likewise. + * testsuite/gas/arm/cpu-strongarm110.d: Likewise. + * testsuite/gas/arm/cpu-strongarm1100.d: Likewise. + * testsuite/gas/arm/cpu-strongarm1110.d: Likewise. + * testsuite/gas/arm/cpu-xgene1.d: Likewise. + * testsuite/gas/arm/cpu-xgene2.d: Likewise. + * testsuite/gas/arm/cpu-xscale.d: Likewise. + * testsuite/gas/arm/nop-asm.s: Likewise. + * testsuite/gas/arm/note-march-armv2.d: Likewise. + * testsuite/gas/arm/note-march-armv2.s: Likewise. + * testsuite/gas/arm/note-march-armv2a.d: Likewise. + * testsuite/gas/arm/note-march-armv2a.s: Likewise. + * testsuite/gas/arm/note-march-armv3.d: Likewise. + * testsuite/gas/arm/note-march-armv3.s: Likewise. + * testsuite/gas/arm/note-march-armv3m.d: Likewise. + * testsuite/gas/arm/note-march-armv3m.s: Likewise. + * testsuite/gas/arm/note-march-armv4.d: Likewise. + * testsuite/gas/arm/note-march-armv4.s: Likewise. + * testsuite/gas/arm/note-march-armv4t.d: Likewise. + * testsuite/gas/arm/note-march-armv4t.s: Likewise. + * testsuite/gas/arm/note-march-armv5.d: Likewise. + * testsuite/gas/arm/note-march-armv5.s: Likewise. + * testsuite/gas/arm/note-march-armv5t.d: Likewise. + * testsuite/gas/arm/note-march-armv5t.s: Likewise. + * testsuite/gas/arm/note-march-armv5te.d: Likewise. + * testsuite/gas/arm/note-march-armv5te.d: Likewise. + * testsuite/gas/arm/note-march-ep9312.d: Likewise. + * testsuite/gas/arm/note-march-ep9312.s: Likewise. + * testsuite/gas/arm/note-march-iwmmxt.d: Likewise. + * testsuite/gas/arm/note-march-iwmmxt.s: Likewise. + * testsuite/gas/arm/note-march-iwmmxt2.d: Likewise. + * testsuite/gas/arm/note-march-iwmmxt2.s: Likewise. + * testsuite/gas/arm/note-march-xscale.d: Likewise. + * testsuite/gas/arm/note-march-xscale.s: Likewise. + +2018-11-27 Jozef Lawrynowicz + + * config/tc-msp430.c (is_dint): New. + (is_eint): New. + (gen_nop): New. + (warn_eint_nop): New. + (warn_unsure_interrupt): New. + (msp430_operands): Determine the effect MOV #N,SR insns have on + interrupt state. + Only emit NOP warnings for 430 ISA in certain situations. + (msp430_md_end): Only warn about an EINT at the end of the file + if NOP warnings are enabled. + * testsuite/gas/msp430/bad.l: Adjust expected output for new warnings. + * testsuite/gas/msp430/msp430.exp: Run new tests. + * testsuite/gas/msp430/nop-dint-430.d: New. + * testsuite/gas/msp430/nop-dint-430.l: New. + * testsuite/gas/msp430/nop-dint-430x-ignore.d: New. + * testsuite/gas/msp430/nop-dint-430x-silent.d: New. + * testsuite/gas/msp430/nop-dint-430x.d: New. + * testsuite/gas/msp430/nop-dint-430x.l: New. + * testsuite/gas/msp430/nop-dint.s: New. + * testsuite/gas/msp430/nop-eint-430.d: New. + * testsuite/gas/msp430/nop-eint-430.l: New. + * testsuite/gas/msp430/nop-eint-430x-ignore.d: New. + * testsuite/gas/msp430/nop-eint-430x-silent.d: New. + * testsuite/gas/msp430/nop-eint-430x.d: New. + * testsuite/gas/msp430/nop-eint-430x.l: New. + * testsuite/gas/msp430/nop-eint.s: New. + * testsuite/gas/msp430/nop-int-430.d: New. + * testsuite/gas/msp430/nop-int-430.l: New. + * testsuite/gas/msp430/nop-int-430x-silent.d: New. + * testsuite/gas/msp430/nop-int-430x.d: New. + * testsuite/gas/msp430/nop-int-430x.l: New. + * testsuite/gas/msp430/nop-int.s: New. + +2018-11-23 Andre Vieira + + * testsuite/gas/arm/bl-local-v4t.d: Remove + warning check. + * testsuite/gas/arm/blx-local-thumb.s: New. + * testsuite/gas/arm/blx-local-thumb.d: New. + +2018-11-21 John Darrington + + * testsuite/gas/s12z/shift.s: Add new test case. + * testsuite/gas/s12z/shift.d: Add expected result. + +2018-11-21 John Darrington + + * config/tc-s12z.c (opcodes): bhs, blo: New members. + * testsuite/gas/s12z/bra.d: Add tests for aliases. + * testsuite/gas/s12z/bra.s: Add tests for aliases. + +2018-11-13 Thomas Preud'homme + + * config/tc-arm.c (arm_archs): Reindent. + +2018-11-12 Sudakshina Das + + * testsuite/gas/aarch64/sysreg-4.s: Test IGVAC, IGSW, + CGSW, CIGSW, CGVAC, CGVAP, CGVADP, CIGVAC, GVA, + IGDVAC, IGDSW, CGDSW, CIGDSW, CGDVAC, CGDVAP, CGDVADP, + CIGDVAC and GZVA with DC. + * testsuite/gas/aarch64/sysreg-4.d: Likewise. + * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise. + +2018-11-12 Sudakshina Das + + * testsuite/gas/aarch64/sysreg-4.s: Test TCO, TFSRE0_SL1, + TFSR_EL1, TFSR_EL2, TFSR_EL3, TFSR_EL12, RGSR_EL1 and + GCR_EL1 MSR and MRS. + * testsuite/gas/aarch64/sysreg-4.d: Likewise. + * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise. + +2018-11-12 Sudakshina Das + + * config/tc-aarch64.c (parse_operands): Add switch case for + AARCH64_OPND_ADDR_SIMPLE_2 and allow [base]! for it. + (warn_unpredictable_ldst): Exempt ldstgv_indexed for ldgv. + * testsuite/gas/aarch64/armv8_5-a-memtag.s: Add tests for ldgv and stgv. + * testsuite/gas/aarch64/armv8_5-a-memtag.d: Likewise. + * testsuite/gas/aarch64/illegal-memtag.s: Likewise. + * testsuite/gas/aarch64/illegal-memtag.l: Likewise. + +2018-11-12 Sudakshina Das + + * testsuite/gas/aarch64/armv8_5-a-memtag.s: Add tests for ldg. + * testsuite/gas/aarch64/armv8_5-a-memtag.d: Likewise. + * testsuite/gas/aarch64/illegal-memtag.s: Likewise. + * testsuite/gas/aarch64/illegal-memtag.l: Likewise. + +2018-11-12 Sudakshina Das + + * config/tc-aarch64.c (parse_operands): Add switch case for + AARCH64_OPND_ADDR_SIMM11 and AARCH64_OPND_ADDR_SIMM13. + (fix_insn): Likewise. + (warn_unpredictable_ldst): Exempt STGP. + * testsuite/gas/aarch64/armv8_5-a-memtag.s: Add tests for stg, st2g, + stzg, stz2g and stgp. + * testsuite/gas/aarch64/armv8_5-a-memtag.d: Likewise. + * testsuite/gas/aarch64/illegal-memtag.s: Likewise. + * testsuite/gas/aarch64/illegal-memtag.l: Likewise. + +2018-11-12 Sudakshina Das + + * testsuite/gas/aarch64/armv8_5-a-memtag.s: Add tests for subp, + subps and cmpp. + * testsuite/gas/aarch64/armv8_5-a-memtag.d: Likewise. + * testsuite/gas/aarch64/illegal-memtag.s: Likewise. + * testsuite/gas/aarch64/illegal-memtag.l: Likewise. + +2018-11-12 Sudakshina Das + + * config/tc-aarch64.c (parse_operands): Add switch case for + AARCH64_OPND_UIMM4_ADDG and AARCH64_OPND_UIMM10. + * testsuite/gas/aarch64/armv8_5-a-memtag.s: New. + * testsuite/gas/aarch64/armv8_5-a-memtag.d: Likewise. + * testsuite/gas/aarch64/illegal-memtag.s: Likewise. + * testsuite/gas/aarch64/illegal-memtag.l: Likewise. + * testsuite/gas/aarch64/illegal-memtag.d: Likewise. + +2018-11-12 Sudakshina Das + + * config/tc-aarch64.c (aarch64_features): Add "memtag" + as a new option. + * doc/c-aarch64.texi: Document the same. + +2018-11-09 Alan Modra + + * config/tc-ppc.c (fixup_size): New function. + (md_assemble): Use it to derive size and pcrel directly + from fixup reloc type. + +2018-11-07 Nick Clifton + + * po/fr.po: Updated French translation. + +2018-11-07 Yoshinori Sato + + * configure.tgt: Add rx-*-linux. + * config/tc-rx.h (TARGET_FORMAT): Add "elf32-rx-linux". + +2018-11-06 Matthew Malcomson + + * testsuite/gas/arm/neon-cond-bad_t2.d: Fix testcase for PE target. + +2018-11-06 Matthew Malcomson + + * config/tc-arm.c (do_neon_cvt_1): Add check for neon and condition + codes to half-precision conversion. + * testsuite/gas/arm/neon-cond-bad-inc.s: Check vcvteq disallowed. + * testsuite/gas/arm/neon-cond-bad.l: Likewise. + * testsuite/gas/arm/neon-cond-bad_t2.d: Check vcvteq allowed in IT + block. + * testsuite/gas/arm/vfp-bad.l: Ensure vcvt doesn't work without neon. + * testsuite/gas/arm/vfp-bad.s: Likewise. + +2018-11-06 Alan Modra + + * config/tc-ppc.c (insn_validate): Don't ignore mask in + PPC_OPSHIFT_INV case. Call the insert function to calculate + a mask. + +2018-11-06 Alan Modra + + * config/tc-ppc.c (insn_validate): Check that optional operands + are not followed by non-optional operands. + +2018-11-06 Jan Beulich + + * testsuite/gas/i386/evex-wig.s: Add vpbroadcastd cases. + * testsuite/gas/i386/evex-wig.d, + testsuite/gas/i386/evex-wig1-intel.d: Adjust expectations. + +2018-11-06 Jan Beulich + + * testsuite/gas/i386/evex-wig.s: Add vmovd cases. + * testsuite/gas/i386/evex-wig.d, + testsuite/gas/i386/evex-wig1-intel.d: Adjust expectations. + +2018-11-06 Jan Beulich + + * testsuite/gas/i386/avx-wig.s: Add kmovd cases. + * testsuite/gas/i386/avx-wig.d: Adjust expectations. + +2018-11-06 Jan Beulich + + * testsuite/gas/i386/avx-wig.s, + testsuite/gas/i386/x86-64-avx-wig.s: Add vpextrb, vpextrw, + vpinsrb, and vpinsrw cases. + * testsuite/gas/i386/evex-wig.s: Add vpextrd and vpinsrd cases. + * testsuite/gas/i386/avx-wig.d, testsuite/gas/i386/evex-wig.d, + testsuite/gas/i386/evex-wig1-intel.d, + testsuite/gas/i386/x86-64-avx-wig.d: Adjust expectations. + +2018-11-06 Jan Beulich + + * config/tc-i386.c (build_vex_prefix, build_evex_prefix): + Consider execution mode when .vexw is not set. + * testsuite/gas/i386/avx-wig.s, + testsuite/gas/i386/x86-64-avx-wig.s: Add BMI, BMI2, TBM, LWP, + vcvtsi2s*, vcvt*2si, vmovd, vpcmpestr*, vpextrd, and vpinsrd + cases. + * testsuite/gas/i386/evex-wig.s: Add vcvt*si2s*, vcvt*2*si, + vextractps, vpextrb, vpextrw, vpinsrb, and vpinsrw cases. + * testsuite/gas/i386/x86-64-evex-wig.s: Add vpextrb, vpextrw, + vpinsrb, and vpinsrw cases. + * testsuite/gas/i386/avx-wig.d, testsuite/gas/i386/evex-wig.d, + testsuite/gas/i386/evex-wig1-intel.d, + testsuite/gas/i386/x86-64-evex-wig1.d, + testsuite/gas/i386/x86-64-evex-wig1-intel.d: Adjust expectations. + * testsuite/gas/i386/evex-wig2.d, + testsuite/gas/i386/evex-wig2.s: Delete. + * testsuite/gas/i386/i386.exp: Drop deleted test. + +2018-11-06 Jan Beulich + + * testsuite/gas/i386/evex-lig-2.s, + testsuite/gas/i386/x86-64-evex-lig-2.s: Add extract and insert + cases. + * testsuite/gas/i386/evex-lig-2.d, + testsuite/gas/i386/x86-64-evex-lig-2.d: Adjust expectations. + * testsuite/gas/i386/vex-lig-2.s, + testsuite/gas/i386/vex-lig-2.d, + testsuite/gas/i386/x86-64-vex-lig-2.s, + testsuite/gas/i386/x86-64-vex-lig-2.d: New. + * testsuite/gas/i386/i386.exp: Run new tests. + +2018-11-06 Jan Beulich + + * testsuite/gas/i386/pseudos.s, + testsuite/gas/i386/x86-64-pseudos.s: Add pextrw / vpextrw cases. + * testsuite/gas/i386/pseudos.d, + testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations. + +2018-11-06 Jan Beulich + + * testsuite/gas/i386/avx-wig.s, + testsuite/gas/i386/x86-64-avx-wig.s: Add vandp*, vandnp*, vorp*, + vcmpeq*, and vcvtss2sd cases. + * testsuite/gas/i386/avx2-wig.s, + testsuite/gas/i386/x86-64-avx2-wig.s: Drop redundant vmovntdqa + case. + * testsuite/gas/i386/avx-wig.d, testsuite/gas/i386/avx2-wig.d, + testsuite/gas/i386/x86-64-avx-wig.d, + testsuite/gas/i386/x86-64-avx2-wig.d: Adjust expectations. + +2018-11-05 H.J. Lu + + PR gas/23854 + * config/tc-i386.c (output_disp): Disable GOT relaxation with + data prefix. + * testsuite/gas/i386/mixed-mode-reloc32.d: Updated. + +2018-11-01 Thomas Preud'homme + + * testsuite/config/default.exp: Define LD, LDFLAGS and + ld_elf_shared_opt. + +2018-10-31 Andre Vieira + + * testsuite/gas/arm/armv8-a+rdma-warning.d: Remove objdump execution. + +2018-10-31 Andre Vieira + + * testsuite/gas/arm/udf.d: Update expected output. + +2018-10-31 Andre Vieira + + * testsuite/gas/arm/armv1.d: Assemble for Armv1 and disassemble for + Armv2. + +2018-10-29 Alan Modra + + * Makefile.am (HFILES): Delete struc-symbol.h. + * doc/internals.texi: Delete struc-symbol.h reference and out + of date local symbol description. + * struc-symbol.h: Delete. Move contents to.. + * symbols.c: ..here. + (symbol_on_chain, symbol_symbolS): New functions. + * symbols.h (symbol_on_chain, symbol_symbolS): Declare. + * cgen.c: Don't #include struc-symbol.h. + (gas_cgen_parse_operand): Don't test for local_symbol using + bsym, instead call symbol_symbolS. Use symbol_get_bfdsym. + (weak_operand_overflow_check, make_right_shifted_expr): Use + symbol accessors. + * config/obj-coff.c: Don't #include struc-symbol.h. + (GET_FILENAME_STRING): Delete. + * config/obj-elf.c: Don't #include struc-symbol.h. + (elf_file_symbol): Use symbol accessors. + (elf_adjust_symtab): Call symbol_on_chain. + * config/obj-evax.c: Don't #include struc-symbol.h. + * config/tc-nds32.c: Likewise. + * config/tc-rl78.c: Likewise. + * config/tc-rx.c: Likewise. + * config/tc-alpha.c: Likewise. + (add_to_link_pool, s_alpha_comm): Use symbol accessors. + * config/tc-arc.c: Don't #include struc-symbol.h. + (arc_check_relocs): Use symbol accessors, testing gas symbol + section rather than bfd symbol section. + * config/tc-avr.c: Don't #include struc-symbol.h. + (avr_patch_gccisr_frag): Use symbol accessors. + * config/tc-bfin.c: Don't #include struc-symbol.h. + (bfin_loop_beginend): Use symbol accessors. + * config/tc-csky.c: Don't #include struc-symbol.h. + (v2_work_movih, v2_work_ori): Use symbol accessors. Check for + absolute symbol as well as O_constant. + * config/tc-riscv.c: Don't #include struc-symbol.h. + (riscv_pre_output_hook): Use symbol accessors. + * config/tc-s390.c: Don't #include struc-symbol.h. + (s390_literals): Use symbol accessors. + * config/tc-score.c (s3_build_la_pic, s3_build_lwst_pic): Use + symbol accessors. + (s3_relax_branch_inst16, s3_relax_cmpbranch_inst32): Don't + test symbol bsym. + * config/tc-score7.c: Don't #include struc-symbol.h. + (s7_build_la_pic, s7_build_lwst_pic): Use symbol accessors. + (s7_b32_relax_to_b16): Don't test symbol bsym. + * config/tc-sh.c: Don't #include struc-symbol.h. + (insert_loop_bounds): Use symbol accessors. + (sh_frob_section): Remove bogus symbol canonicalization. + * config/tc-tic54x.c: Don't #include struc-symbol.h. + (tic54x_bss): Use symbol accessors. + * config/tc-tilegx.c: Don't #include struc-symbol.h. + (emit_tilegx_instruction, tilegx_parse_name): Use symbol accessors. + * config/tc-tilepro.c: Don't #include struc-symbol.h. + (emit_tilepro_instruction, tilepro_parse_name): Use accessors. + * config/tc-xtensa.c: Don't #include struc-symbol.h. + (xg_assemble_vliw_tokens): Use symbol accessors. + (xg_order_trampoline_chain): Likewise. + * ehopt.c: Don't #include struc-symbol.h. + (check_eh_frame): Correct local symbol test. Use symbol accessors. + * write.c: Don't #include struc-symbol.h. + (create_note_reloc, maybe_generate_build_notes): Use symbol accessors. + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-10-28 Alan Modra + + PR 23837 + * config/tc-hppa.c: Don't include struc-symbol.h. + (pa_build_unwind_subspace): Call symbol_get_frag rather than + referencing sy_frag. + +2018-10-23 John Darrington + + * config/tc-s12z.c (md_apply_fix): Handle BFD_RELOC_16 for fixups + without a symbol. + +2018-10-22 Alan Modra + + * testsuite/gas/all/simple-forward.d, + * testsuite/gas/all/simple-forward.s: New test. + * testsuite/gas/all/gas.exp: Run it. + * testsuite/gas/all/eqv-dot.d: xfail tic30 and tic54x. + +2018-10-22 Alan Modra + + * config/tc-alpha.c (md_apply_fix): Handle BFD_RELOC_8 for fixups + without a symbol. + * testsuite/gas/all/gas.exp: Don't xfail forward test here.. + * testsuite/gas/all/forward.d: ..do so here, removing alpha. + +2018-10-22 Alan Modra + + PR 23040 + * symbols.c (get_real_sym): New function. + (symbol_same_p): Use get_real_sym. + (symbol_clone_if_forward_ref): Save real original add_symbol and + op_symbol for comparison against that returned from lookup or + recursive calls. + * dwarf2dbg.c (set_or_check_view): Use expr_section for + expression symbols, not absolute_section. + (dwarf2_directive_loc): Check symbol_equated_p and tidy cloning + of view symbols. + * read.c (s_leb128): Don't use deferred_expression. + +2018-10-20 Alan Modra + + PR 23800 + * expr.c (expr): Don't simplify expressions involving forward_ref + symbols when mode is expr_defer. + * config/tc-spu.c (spu_cons): Parse expression using normal + expression evaluation if @ppu is not detected. + * testsuite/gas/all/eqv-dot.d, + * testsuite/gas/all/eqv-dot.s: New test. + * testsuite/gas/all/gas.exp: Run it. + +2018-10-19 Tamar Christina + + * testsuite/gas/arm/undefined-insn-arm.d: Widen pe skip. + * testsuite/gas/arm/undefined-insn-thumb.d: Likewise. + +2018-10-19 Tamar Christina + + * testsuite/gas/arm/undefined-insn-arm.d: New test. + * testsuite/gas/arm/undefined-insn-thumb.d: New test. + * testsuite/gas/arm/undefined-insn.s: New test. + +2018-10-19 Fredrik Noring + + * testsuite/gas/mips/r5900.s: Extend the R5900 short loop fix + test with border cases. + * testsuite/gas/mips/r5900.d: Add extra expected disassembly. + * config/tc-mips.c (can_swap_branch_p): Clarify the R5900 short + loop hardware bug conditions. Correct note on the R5900 + instruction count short loop fix. + +2018-10-16 Matthew Malcomson + + * testsuite/gas/aarch64/illegal-dotproduct.d: New test. + * testsuite/gas/aarch64/illegal-dotproduct.l: New test. + * testsuite/gas/aarch64/illegal-dotproduct.s: New test. + + +2018-10-15 Alan Modra + + PR 23534 + * as.c (main): Exit with fatal error if bfd_init returns an + unexpected value. + +2018-10-11 Jan Beulich + + * testsuite/gas/i386/xmmword.s: Add MOVQ / VMOVQ cases. + * testsuite/gas/i386/xmmword.l: Adjust expectations. + +2018-10-10 Jan Beulich + + * config/tc-i386.c (parse_insn, process_suffix): Replace + opcode_modifier.size uses. + +2018-10-09 Sudakshina Das + + * config/tc-aarch64.c (aarch64_features): Add new "ssbs". + * doc/c-aarch64.texi: Document the same. + * testsuite/gas/aarch64/ssbs-illegal1.d: New test. + * testsuite/gas/aarch64/ssbs-illegal1.l: New test. + * testsuite/gas/aarch64/ssbs-illegal2.d: New test. + * testsuite/gas/aarch64/ssbs-illegal2.l: New test. + * testsuite/gas/aarch64/ssbs.s: New test. + * testsuite/gas/aarch64/ssbs1.d: Test with +ssbs + * testsuite/gas/aarch64/ssbs2.d: Test with armv8.5-a. + +2018-10-09 Sudakshina Das + + * testsuite/gas/aarch64/sysreg-4.s: Test registers + scxtnum_el[0,1,2,3,12] and id_pfr2_el1. + * testsuite/gas/aarch64/sysreg-4.d: Likewise. + * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise. + +2018-10-09 Sudakshina Das + + * config/tc-aarch64.c (parse_bti_operand): New. + (process_omitted_operand): Add case for AARCH64_OPND_BTI_TARGET. + (parse_operands): Likewise. + * testsuite/gas/aarch64/system.d: Update for BTI. + * testsuite/gas/aarch64/bti.s: New. + * testsuite/gas/aarch64/bti.d: New. + * testsuite/gas/aarch64/illegal-bti.d: New. + * testsuite/gas/aarch64/illegal-bti.l: New. + +2018-10-09 Sudakshina Das + + * config/tc-aarch64.c (aarch64_features): New "rng" option. + * doc/c-aarch64.texi: Document the same. + * testsuite/gas/aarch64/sysreg-4.s: Test both instructions. + * testsuite/gas/aarch64/sysreg-4.d: Likewise. + * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise. + +2018-10-09 Sudakshina Das + + * testsuite/gas/aarch64/sysreg-4.s: Test instruction. + * testsuite/gas/aarch64/sysreg-4.d: Likewise. + * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise. + +2018-10-09 Sudakshina Das + + * config/tc-aarch64.c (aarch64_sys_regs_sr_hsh): New. + (parse_operands): Add entry for AARCH64_OPND_SYSREG_SR. + (md_begin): Allocate and initialize aarch64_sys_regs_sr_hsh + with aarch64_sys_regs_sr. + (aarch64_features): Add new "predres" option for older + architectures. + * doc/c-aarch64.texi: Document the same. + * testsuite/gas/aarch64/sysreg-4.s: New. + * testsuite/gas/aarch64/sysreg-4.d: New. + * testsuite/gas/aarch64/illegal-sysreg-4.d: New. + * testsuite/gas/aarch64/illegal-sysreg-4.l: New. + * testsuite/gas/aarch64/predres.s: New. + * testsuite/gas/aarch64/predres.d: New. + +2018-10-09 Sudakshina Das + + * config/tc-aarch64.c (aarch64_features): Add new "sb" option + for older architectures. + * doc/c-aarch64.texi: Document the same. + * testsuite/gas/aarch64/sb.s: New. + * testsuite/gas/aarch64/sb.d: New. + +2018-10-09 Sudakshina Das + + * testsuite/gas/aarch64/armv8_5-a-dp.s: New. + * testsuite/gas/aarch64/armv8_5-a-dp.d: New. + +2018-10-09 Sudakshina Das + + * config/tc-aarch64.c (aarch64_archs): New entry for armv8.5-a. + * doc/c-aarch64.texi: Add documentation for the same. + +2018-10-05 H.J. Lu + + + * testsuite/gas/i386/se1.s: Add enclv. + * testsuite/gas/i386/x86-64-se1.s: Likewise. + * testsuite/gas/i386/se1.d: Updated. + * testsuite/gas/i386/x86-64-se1.d: Likewise. + +2018-10-05 Sudakshina Das + + * config/tc-arm.c (arm_ext_predres): New. + (insns): Add new cfprctx, dvprctx and cpprctx instructions. + (arm_extensions): Add "predres". + * doc/c-arm.texi: Document the above. + * testsuite/gas/arm/predres-bad.d: New test. + * testsuite/gas/arm/predres-bad.l: New test. + * testsuite/gas/arm/predres.s: New test. + * testsuite/gas/arm/predres1.d: New test. + * testsuite/gas/arm/predres2.d: New test. + +2018-10-05 Sudakshina Das + + * config/tc-arm.c (arm_ext_sb): New. + (insns): Add new sb instruction. + (arm_extensions): Add "sb". + * doc/c-arm.texi: Document the above. + * testsuite/gas/arm/sb-bad.d: New test. + * testsuite/gas/arm/sb-bad.l: New test. + * testsuite/gas/arm/sb-thumb1.d: New test. + * testsuite/gas/arm/sb-thumb2.d: New test. + * testsuite/gas/arm/sb.s: New test. + * testsuite/gas/arm/sb1.d: New test. + * testsuite/gas/arm/sb2.d: New test. + +2018-10-05 Sudakshina Das + + * config/tc-arm.c (arm_archs): New entry for armv8.5-a. + (cpu_arch_ver): Likewise. + * doc/c-arm.texi: Add documentation for the same. + * testsuite/gas/arm/attr-march-armv8_5-a.d: New. + +2018-10-05 Stafford Horne + + * doc/Makefile.am (CPU_DOCS): Add entry for OpenRISC. + * doc/Makefile.in: Regenerated. + * doc/all.texi: Set OPENRISC. + * doc/as.texi: Document OpenRISC. + * doc/c-or1k.texi: New file. + +2018-10-05 Stafford Horne + + * testsuite/gas/or1k/allinsn.s: Add instruction tests for + l.muld, l.muldu, l.macu, l.msb, l.msbu. + * testsuite/gas/or1k/allinsn.d: Add test results for new + instructions. + +2018-10-05 Richard Henderson + + * config/tc-or1k.c (or1k_apply_fix): Add BFD_RELOC_OR1K_TLS_GD_PG21, + BFD_RELOC_OR1K_TLS_GD_LO13, BFD_RELOC_OR1K_TLS_LDM_PG21, + BFD_RELOC_OR1K_TLS_LDM_LO13, BFD_RELOC_OR1K_TLS_IE_PG21, + BFD_RELOC_OR1K_TLS_IE_LO13. + * testsuite/gas/or1k/allinsn.s: Add test for l.adrp. + * testsuite/gas/or1k/allinsn.d: Add test results for new + instructions. + * testsuite/gas/or1k/reloc-1.s: Add tests to generate + R_OR1K_PLTA26, R_OR1K_GOT_PG21, R_OR1K_TLS_GD_PG21, R_OR1K_TLS_LDM_PG21, + R_OR1K_TLS_IE_PG21, R_OR1K_LO13, R_OR1K_GOT_LO13, R_OR1K_TLS_GD_LO13, + R_OR1K_TLD_LDM_LO13, R_OR1K_TLS_IE_LO13, R_OR1K_LO13, R_OR1K_SLO13 + relocations. + * testsuite/gas/or1k/reloc-1.d: Add relocation results for + tests. + * testsuite/gas/or1k/reloc-2.s: Add negative tests for store to + gotpo(). + * testsuite/gas/or1k/reloc-2.l: Add expected error test results. + +2018-10-05 Richard Henderson + + * testsuite/gas/or1k/allinsn.d (l_ha): Add result for ha() relocation. + * testsuite/gas/or1k/allinsn.s (l_ha): Add test for ha() relocations. + * testsuite/gas/or1k/allinsn.exp: Renamed to or1k.exp. + * testsuite/gas/or1k/or1k.exp: Add reloc-2 list test. + * testsuite/gas/or1k/reloc-1.d: New file. + * testsuite/gas/or1k/reloc-1.s: New file. + * testsuite/gas/or1k/reloc-2.l: New file. + * testsuite/gas/or1k/reloc-2.s: New file. + +2018-10-03 Tamar Christina + + * testsuite/gas/aarch64/sve-movprfx_1.d: New test. + * testsuite/gas/aarch64/sve-movprfx_1.s: New test. + * testsuite/gas/aarch64/sve-movprfx_10.d: New test. + * testsuite/gas/aarch64/sve-movprfx_10.l: New test. + * testsuite/gas/aarch64/sve-movprfx_10.s: New test. + * testsuite/gas/aarch64/sve-movprfx_11.d: New test. + * testsuite/gas/aarch64/sve-movprfx_11.s: New test. + * testsuite/gas/aarch64/sve-movprfx_12.d: New test. + * testsuite/gas/aarch64/sve-movprfx_12.s: New test. + * testsuite/gas/aarch64/sve-movprfx_13.d: New test. + * testsuite/gas/aarch64/sve-movprfx_13.l: New test. + * testsuite/gas/aarch64/sve-movprfx_13.s: New test. + * testsuite/gas/aarch64/sve-movprfx_14.d: New test. + * testsuite/gas/aarch64/sve-movprfx_14.l: New test. + * testsuite/gas/aarch64/sve-movprfx_14.s: New test. + * testsuite/gas/aarch64/sve-movprfx_15.d: New test. + * testsuite/gas/aarch64/sve-movprfx_15.l: New test. + * testsuite/gas/aarch64/sve-movprfx_15.s: New test. + * testsuite/gas/aarch64/sve-movprfx_16.d: New test. + * testsuite/gas/aarch64/sve-movprfx_16.s: New test. + * testsuite/gas/aarch64/sve-movprfx_17.d: New test. + * testsuite/gas/aarch64/sve-movprfx_17.l: New test. + * testsuite/gas/aarch64/sve-movprfx_17.s: New test. + * testsuite/gas/aarch64/sve-movprfx_18.d: New test. + * testsuite/gas/aarch64/sve-movprfx_18.l: New test. + * testsuite/gas/aarch64/sve-movprfx_18.s: New test. + * testsuite/gas/aarch64/sve-movprfx_19.d: New test. + * testsuite/gas/aarch64/sve-movprfx_19.s: New test. + * testsuite/gas/aarch64/sve-movprfx_2.d: New test. + * testsuite/gas/aarch64/sve-movprfx_2.l: New test. + * testsuite/gas/aarch64/sve-movprfx_2.s: New test. + * testsuite/gas/aarch64/sve-movprfx_20.d: New test. + * testsuite/gas/aarch64/sve-movprfx_20.l: New test. + * testsuite/gas/aarch64/sve-movprfx_20.s: New test. + * testsuite/gas/aarch64/sve-movprfx_21.d: New test. + * testsuite/gas/aarch64/sve-movprfx_21.s: New test. + * testsuite/gas/aarch64/sve-movprfx_22.d: New test. + * testsuite/gas/aarch64/sve-movprfx_22.l: New test. + * testsuite/gas/aarch64/sve-movprfx_22.s: New test. + * testsuite/gas/aarch64/sve-movprfx_23.d: New test. + * testsuite/gas/aarch64/sve-movprfx_23.l: New test. + * testsuite/gas/aarch64/sve-movprfx_23.s: New test. + * testsuite/gas/aarch64/sve-movprfx_24.d: New test. + * testsuite/gas/aarch64/sve-movprfx_24.l: New test. + * testsuite/gas/aarch64/sve-movprfx_24.s: New test. + * testsuite/gas/aarch64/sve-movprfx_25.d: New test. + * testsuite/gas/aarch64/sve-movprfx_25.l: New test. + * testsuite/gas/aarch64/sve-movprfx_25.s: New test. + * testsuite/gas/aarch64/sve-movprfx_26.d: New test. + * testsuite/gas/aarch64/sve-movprfx_26.l: New test. + * testsuite/gas/aarch64/sve-movprfx_26.s: New test. + * testsuite/gas/aarch64/sve-movprfx_3.d: New test. + * testsuite/gas/aarch64/sve-movprfx_3.l: New test. + * testsuite/gas/aarch64/sve-movprfx_3.s: New test. + * testsuite/gas/aarch64/sve-movprfx_4.d: New test. + * testsuite/gas/aarch64/sve-movprfx_4.l: New test. + * testsuite/gas/aarch64/sve-movprfx_4.s: New test. + * testsuite/gas/aarch64/sve-movprfx_5.d: New test. + * testsuite/gas/aarch64/sve-movprfx_5.s: New test. + * testsuite/gas/aarch64/sve-movprfx_6.d: New test. + * testsuite/gas/aarch64/sve-movprfx_6.l: New test. + * testsuite/gas/aarch64/sve-movprfx_6.s: New test. + * testsuite/gas/aarch64/sve-movprfx_7.d: New test. + * testsuite/gas/aarch64/sve-movprfx_7.l: New test. + * testsuite/gas/aarch64/sve-movprfx_7.s: New test. + * testsuite/gas/aarch64/sve-movprfx_8.d: New test. + * testsuite/gas/aarch64/sve-movprfx_8.l: New test. + * testsuite/gas/aarch64/sve-movprfx_8.s: New test. + * testsuite/gas/aarch64/sve-movprfx_9.d: New test. + * testsuite/gas/aarch64/sve-movprfx_9.l: New test. + * testsuite/gas/aarch64/sve-movprfx_9.s: New test. + +2018-10-03 Tamar Christina + + * testsuite/gas/aarch64/sve-movprfx.d: New test. + * testsuite/gas/aarch64/sve-movprfx.s: New test. + * testsuite/gas/aarch64/sve.d: Refactor. + * testsuite/gas/aarch64/sve.s: Refactor. + * testsuite/gas/aarch64/sysreg-diagnostic.d: Update. + +2018-10-03 Tamar Christina + + * config/tc-aarch64.c (force_automatic_sequence_close, + aarch64_frob_section): New. + * config/tc-aarch64.h (tc_frob_section, aarch64_frob_section): New. + +2018-10-03 Tamar Christina + + * config/tc-aarch64.c (output_operand_error_report): Order warnings. + +2018-10-03 Tamar Christina + + * config/tc-aarch64.c (now_instr_sequence): + (*insn_sequence, now_instr_sequence): New. + (output_operand_error_record, do_encode): Add insn_sequence. + (md_assemble): Update insn_sequence. + (try_to_encode_as_unscaled_ldst, fix_mov_imm_insn, fix_insn): + Pass insn_sequence. + * config/tc-aarch64.h (struct aarch64_segment_info_type): + Add insn_sequence. + +2018-10-02 Palmer Dabbelt + + * testsuite/gas/riscv/fence-tso.d: New file. + * testsuite/gas/riscv/fence-tso.s: Likewise. + +2018-09-26 Sandra Loosemore + + * testsuite/gas/all/gas.exp: Skip "Output file must be distinct + from input" test on Windows host. + +2018-09-21 H.J. Lu + + PR gas/23691 + * Makefile.am (bfin-parse.c): Depend on $(srcdir)/../bfd/reloc.c. + (rl78-parse.c): Likewise. + (rx-parse.c): Likewise. + * Makefile.in: Regenerated. + +2018-09-21 Alan Modra + + * testsuite/gas/avr/large-debug-line-table.d: Update. + +2018-09-20 H.J. Lu + + PR binutils/23695 + * testsuite/gas/elf/dwarf2-11.d: Update expected outputs of + "readelf -wL". + * testsuite/gas/elf/dwarf2-12.d: Likewise. + * testsuite/gas/elf/dwarf2-13.d: Likewise. + * testsuite/gas/elf/dwarf2-14.d: Likewise. + * testsuite/gas/elf/dwarf2-15.d: Likewise. + * testsuite/gas/elf/dwarf2-16.d: Likewise. + * testsuite/gas/elf/dwarf2-17.d: Likewise. + * testsuite/gas/elf/dwarf2-18.d: Likewise. + * testsuite/gas/elf/dwarf2-5.d: Likewise. + * testsuite/gas/elf/dwarf2-6.d: Likewise. + * testsuite/gas/elf/dwarf2-7.d: Likewise. + +2018-09-20 Maciej W. Rozycki + + * config/tc-s12z.c (lex_opr): Use an auxiliary unsigned variable + in encoding a constant operand. + +2018-09-20 Maciej W. Rozycki + + * config/tc-ppc.c (ppc_dwsect): Use `valueT' rather than + `offsetT' as the type of `flag'. + +2018-09-20 Maciej W. Rozycki + + * config/tc-arc.c (md_number_to_chars_midend): Append `ull' to + large constants. + +2018-09-20 Nelson Chu + + * config/tc-nds32.c: Remove the unused target features. + (nds32_relax_relocs, md_pseudo_table, nds32_elf_record_fixup_exp, + nds32_set_elf_flags_by_insn, nds32_insert_relax_entry, + nds32_apply_fix): Likewise. + (nds32_no_ex9_begin): Removed. + * config/tc-nds32.c (add_mapping_symbol_for_align, + make_mapping_symbol, add_mapping_symbol): New functions. + * config/tc-nds32.h (enum mstate): New. + (nds32_segment_info_type): Likewise. + * configure.ac (--enable-dsp-ext, --enable-zol-ext): New options. + * config.in: Regenerated. + * configure: Regenerated. + * config/tc-nds32.c (nds32_dx_regs): + Set the value according to the configuration. + (nds32_perf_ext, nds32_perf_ext2, nds32_string_ext, nds32_audio_ext): + Likewise. + (nds32_dsp_ext): New variable. Set the value according to the + configuration. + (nds32_zol_ext): Likewise. + (asm_desc, nds32_pseudo_opcode_table): Make them static. + (nds32_set_elf_flags_by_insn): Updated. + (nds32_check_insn_available): Updated. + (nds32_str_tolower): New function. + * config/tc-nds32.c (relax_table): Updated. + (md_begin): Updated. + (md_assemble): Use XNEW macro to allocate space for `insn.info', + and then remember to free it. + (md_section_align): Cast (-1) to ValueT. + (nds32_get_align): Cast (~0U) to addressT. + (nds32_relax_branch_instructions): Updated. + (md_convert_frag): Add new local variable `final_r_type'. + (invalid_prev_frag): Add new bfd_boolean parameter `relax'. + All callers changed. + * config/tc-nds32.c (struct nds32_relocs_pattern): Add `insn' field. + (struct nds32_hint_map): Add `option_list' field. + (struct suffix_name, suffix_table): Remove the unused `pic' field. + (do_pseudo_b, do_pseudo_bal): Remove the suffix checking. + (do_pseudo_la_internal, do_pseudo_pushpopm): Indent. + (relax_hint_bias, relax_hint_id_current): New static variables. + (reset_bias, relax_hint_begin): New variables. + (nds_itoa): New function. + (CLEAN_REG, GET_OPCODE): New macros. + (struct relax_hint_id): New. + (nds32_relax_hint): For .relax_hint directive, we can use `begin' + and `end' to mark the relax pattern without giving exactly id number. + (nds32_elf_append_relax_relocs): Handle the case that the .relax_hint + directives are attached to pseudo instruction. + (nds32_elf_save_pseudo_pattern): Change the second parameter from + instruction's opcode to byte code. + (nds32_elf_build_relax_relation): Add new bfd_boolean parameter + `pseudo_hint'. + (nds32_lookup_pseudo_opcode): Fix the overflow issue. + (enum nds32_insn_type): Add N32_RELAX_ALU1 and N32_RELAX_16BIT. + (nds32_elf_record_fixup_exp, relax_ls_table, hint_map, + nds32_find_reloc_table, nds32_match_hint_insn, nds32_parse_name): + Updated. + * config/tc-nds32.h (MAX_RELAX_NUM): Extend it to 6. + (enum nds32_relax_hint_type): Merge NDS32_RELAX_HINT_LA and + NDS32_RELAX_HINT_LS into NDS32_RELAX_HINT_LALS. Add + NDS32_RELAX_HINT_LA_PLT, NDS32_RELAX_HINT_LA_GOT and + NDS32_RELAX_HINT_LA_GOTOFF. + * config/tc-nds32.h (relax_ls_table): Add floating load/store + to gp relax pattern. + (hint_map, nds32_find_reloc_table): Likewise. + * configure.ac: Define NDS32_LINUX_TOOLCHAIN. + * configure: Regenerated. + * config.in: Regenerated. + * config/tc-nds32.h (enum nds32_ramp): Updated. + (enum nds32_relax_hint_type): Likewise. + * config/tc-nds32.c: Include "errno.h" and "limits.h". + (relax_ls_table): Add TLS relax patterns. + (nds32_elf_append_relax_relocs): Attach BFD_RELOC_NDS32_GROUP on + each instructions of TLS patterns. + (nds32_elf_record_fixup_exp): Updated. + (nds32_apply_fix): Likewise. + (suffix_table): Add TLSDESC suffix. + +2018-09-18 Tamar Christina + + * config/tc-aarch64.c (output_operand_error_report): Apply filtering to + current instead of head message. + +2018-09-17 Kito Cheng + + * testsuite/gas/riscv/bge.d: New. + * testsuite/gas/riscv/bge.s: Likewise. + +2018-09-17 H.J. Lu + + PR gas/23670 + * testsuite/gas/i386/evex-lig-2.d: New file. + * testsuite/gas/i386/evex-lig-2.s: Likewise. + * testsuite/gas/i386/x86-64-evex-lig-2.d: Likewise. + * testsuite/gas/i386/x86-64-evex-lig-2.s: Likewise. + * testsuite/gas/i386/i386.exp: Run evex-lig-2 and + x86-64-evex-lig-2. + +2018-09-17 H.J. Lu + + PR gas/23665 + * testsuite/gas/i386/avx-scalar.s: Remove vmovq and vmovd tests. + * testsuite/gas/i386/x86-64-avx-scalar.s: Likewise. + * testsuite/gas/i386/avx-scalar-intel.d: Updated. + * testsuite/gas/i386/avx-scalar.d: Likewise. + * testsuite/gas/i386/x86-64-avx-scalar-intel.d: Likewise. + * testsuite/gas/i386/x86-64-avx-scalar.d: Likewise. + * testsuite/gas/i386/i386.exp: Run avx-scalar2 and + x86-64-avx-scalar2. + * testsuite/gas/i386/avx-scalar-2.d: New file. + * testsuite/gas/i386/avx-scalar-2.s: Likewise. + * testsuite/gas/i386/x86-64-avx-scalar-2.d: Likewise. + * testsuite/gas/i386/x86-64-avx-scalar-2.s: Likewise. + +2018-09-17 H.J. Lu + + * gas/NEWS: Mention -mvexwig=[0|1] option. + * config/tc-i386.c (vexwig): New. + (build_vex_prefix): Set the VEX.W bit for -mvexwig=1 for WIG + VEX instructions. + (OPTION_MVEXWIG): New. + (md_longopts): Add -mvexwig=. + (md_parse_option): Handle OPTION_MVEXWIG. + (md_show_usage): Show -mvexwig=[0|1]. + * doc/c-i386.texi: Document -mvexwig=[0|1]. + * testsuite/gas/i386/avx-wig.d: New file. + * testsuite/gas/i386/avx-wig.s: Likewise. + * testsuite/gas/i386/avx2-wig.d: Likewise. + * testsuite/gas/i386/avx2-wig.s: Likewise. + * testsuite/gas/i386/x86-64-avx-wig.d: Likewise. + * testsuite/gas/i386/x86-64-avx-wig.s: Likewise. + * testsuite/gas/i386/x86-64-avx2-wig.d: Likewise. + * testsuite/gas/i386/x86-64-avx2-wig.s: Likewise. + * testsuite/gas/i386/i386.exp: Run avx-wig, avx2-wig, + x86-64-avx-wig and x86-64-avx2-wig. + +2018-09-17 Alan Modra + + * testsuite/gas/arm/arch7.d: Delete notarget. + * testsuite/gas/arm/arch7a-mp.d: Likewise. + * testsuite/gas/arm/arch7em.d: Likewise. + * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise. + * testsuite/gas/arm/barrier.d: Likewise. + * testsuite/gas/arm/bignum1.d: Likewise. + * testsuite/gas/arm/thumb32.d: Likewise. + * testsuite/gas/elf/dwarf2-1.d: Likewise. + * testsuite/gas/elf/dwarf2-2.d: Likewise. + * testsuite/gas/elf/dwarf2-4.d: Likewise. + * testsuite/gas/elf/group2.d: Likewise. + * testsuite/gas/arm/mapshort-elf.d: Only notarget pe and wince. + * testsuite/gas/elf/dwarf2-3.d: Delete notarget, xfail ft32 and h8300. + * testsuite/gas/elf/dwarf2-6.d: Delete notarget, xfail a few. + +2018-09-17 Alan Modra + + * testsuite/gas/all/gas.exp (redef3): Don't xfail for hppa. + (octa): Run for hppa. + * testsuite/gas/elf/elf.exp (common1, common2): Likewise. + * testsuite/gas/elf/symver.d: Delete notarget. + +2018-09-17 Nick Clifton + + * testuite/gas/elf/group0a.d: Add extra details to the test + name. + * testuite/gas/elf/group0b.d: Likewise. + * testuite/gas/elf/group1a.d: Likewise. + * testuite/gas/elf/group1b.d: Likewise. + * testuite/gas/elf/group0b.d: Likewise. + * testuite/gas/elf/section9.d: Likewise. + * testuite/gas/i386/ilp32/lns/lns-common-1.d: Likewise. + * testuite/gas/i386/ilp32/lns/lns-duplicate-1.d: Likewise. + +2018-09-15 H.J. Lu + + PR gas/23665 + * testsuite/gas/i386/avx-scalar-intel.d: Updated. + * testsuite/gas/i386/avx-scalar.d: Likewise. + * testsuite/gas/i386/x86-64-avx-scalar-intel.d: Likewise. + * testsuite/gas/i386/x86-64-avx-scalar.d: Likewise. + +2018-09-15 Alan Modra + + * testsuite/config/default.exp: Make tmpdir. + * testsuite/lib/gas-defs.exp (run_dump_test): Delete. + (get_standard_section_names, slurp_options): Delete. + +2018-09-15 Alan Modra + + * testsuite/gas/mips/aent-2.d, + * testsuite/gas/mips/aent-mdebug-2.d, + * testsuite/gas/mips/attr-gnu-4-0.d, + * testsuite/gas/mips/attr-gnu-4-1.d, + * testsuite/gas/mips/attr-gnu-4-2.d, + * testsuite/gas/mips/attr-gnu-4-3.d, + * testsuite/gas/mips/attr-gnu-4-5.d, + * testsuite/gas/mips/attr-gnu-4-6.d, + * testsuite/gas/mips/attr-gnu-4-7.d, + * testsuite/gas/mips/attr-none-double.d, + * testsuite/gas/mips/attr-none-o32-fp64-nooddspreg.d, + * testsuite/gas/mips/attr-none-o32-fp64.d, + * testsuite/gas/mips/attr-none-o32-fpxx.d, + * testsuite/gas/mips/attr-none-single-float.d, + * testsuite/gas/mips/attr-none-soft-float.d, + * testsuite/gas/mips/elf-rel27.d, + * testsuite/gas/mips/loc-swap-2.d, + * testsuite/gas/mips/loc-swap-3.d, + * testsuite/gas/mips/loc-swap.d, + * testsuite/gas/mips/micromips@loc-swap-2.d, + * testsuite/gas/mips/micromips@loc-swap.d, + * testsuite/gas/mips/micromips@stabs-symbol-type.d, + * testsuite/gas/mips/mips16-intermix.d, + * testsuite/gas/mips/mips16@loc-swap-2.d, + * testsuite/gas/mips/mips16@loc-swap.d, + * testsuite/gas/mips/mips16@stabs-symbol-type.d, + * testsuite/gas/mips/mips16e@loc-swap.d, + * testsuite/gas/mips/no-odd-spreg.d, + * testsuite/gas/mips/odd-spreg.d, + * testsuite/gas/mips/r6-attr-none-double.d, + * testsuite/gas/mips/stabs-symbol-type.d, + * testsuite/lib/gas-defs.exp (run_dump_test): Replace PROG + with DUMPPROG. + +2018-09-15 Alan Modra + + * testsuite/gas/elf/symver.d, + * testsuite/gas/ft32/insn.d, + * testsuite/gas/ft32/insnsc.d, + * testsuite/gas/i386/ilp32/elf/symver.d, + * testsuite/gas/lm32/csr.d, + * testsuite/gas/lm32/insn.d, + * testsuite/gas/m68hc11/9s12x-exg-sex-tfr.d, + * testsuite/gas/m68hc11/9s12x-mov.d, + * testsuite/gas/m68hc11/hexprefix.d, + * testsuite/gas/m68hc11/insns9s12x.d, + * testsuite/gas/m68hc11/insns9s12xg.d, + * testsuite/gas/mep/dj1.be.d, + * testsuite/gas/mep/dj1.le.d, + * testsuite/gas/mips/set-arch.d, + * testsuite/gas/mips/tls-o32.d, + * testsuite/gas/nios2/branch-r2.d, + * testsuite/gas/nios2/branch.d, + * testsuite/gas/pdp11/absreloc.d, + * testsuite/gas/pdp11/opcode.d, + * testsuite/gas/pdp11/pr14480.d, + * testsuite/gas/pdp11/pr23481.d, + * testsuite/gas/ppc/xcoff-dwsect-1-32.d, + * testsuite/gas/ppc/xcoff-dwsect-1-64.d, + * testsuite/gas/rx/abs.d, + * testsuite/gas/rx/adc.d, + * testsuite/gas/rx/add.d, + * testsuite/gas/rx/and.d, + * testsuite/gas/rx/bclr.d, + * testsuite/gas/rx/bcnd.d, + * testsuite/gas/rx/bmcnd.d, + * testsuite/gas/rx/bnot.d, + * testsuite/gas/rx/bra.d, + * testsuite/gas/rx/brk.d, + * testsuite/gas/rx/bset.d, + * testsuite/gas/rx/bsr.d, + * testsuite/gas/rx/btst.d, + * testsuite/gas/rx/clrpsw.d, + * testsuite/gas/rx/cmp.d, + * testsuite/gas/rx/dbt.d, + * testsuite/gas/rx/div.d, + * testsuite/gas/rx/divu.d, + * testsuite/gas/rx/emaca.d, + * testsuite/gas/rx/emsba.d, + * testsuite/gas/rx/emul.d, + * testsuite/gas/rx/emula.d, + * testsuite/gas/rx/emulu.d, + * testsuite/gas/rx/fadd.d, + * testsuite/gas/rx/fcmp.d, + * testsuite/gas/rx/fdiv.d, + * testsuite/gas/rx/fmul.d, + * testsuite/gas/rx/fsqrt.d, + * testsuite/gas/rx/fsub.d, + * testsuite/gas/rx/ftoi.d, + * testsuite/gas/rx/ftou.d, + * testsuite/gas/rx/gprel.d, + * testsuite/gas/rx/int.d, + * testsuite/gas/rx/itof.d, + * testsuite/gas/rx/jmp.d, + * testsuite/gas/rx/jsr.d, + * testsuite/gas/rx/machi.d, + * testsuite/gas/rx/maclh.d, + * testsuite/gas/rx/maclo.d, + * testsuite/gas/rx/max.d, + * testsuite/gas/rx/min.d, + * testsuite/gas/rx/mov.d, + * testsuite/gas/rx/movco.d, + * testsuite/gas/rx/movli.d, + * testsuite/gas/rx/movu.d, + * testsuite/gas/rx/msbhi.d, + * testsuite/gas/rx/msblh.d, + * testsuite/gas/rx/msblo.d, + * testsuite/gas/rx/mul.d, + * testsuite/gas/rx/mulhi.d, + * testsuite/gas/rx/mullh.d, + * testsuite/gas/rx/mullo.d, + * testsuite/gas/rx/mvfacgu.d, + * testsuite/gas/rx/mvfachi.d, + * testsuite/gas/rx/mvfaclo.d, + * testsuite/gas/rx/mvfacmi.d, + * testsuite/gas/rx/mvfc.d, + * testsuite/gas/rx/mvfcp.d, + * testsuite/gas/rx/mvtacgu.d, + * testsuite/gas/rx/mvtachi.d, + * testsuite/gas/rx/mvtaclo.d, + * testsuite/gas/rx/mvtc.d, + * testsuite/gas/rx/mvtcp.d, + * testsuite/gas/rx/neg.d, + * testsuite/gas/rx/nop.d, + * testsuite/gas/rx/not.d, + * testsuite/gas/rx/opecp.d, + * testsuite/gas/rx/or.d, + * testsuite/gas/rx/pop.d, + * testsuite/gas/rx/popc.d, + * testsuite/gas/rx/popm.d, + * testsuite/gas/rx/pr19665.d, + * testsuite/gas/rx/pr22737.d, + * testsuite/gas/rx/push.d, + * testsuite/gas/rx/pushc.d, + * testsuite/gas/rx/pushm.d, + * testsuite/gas/rx/r-bcc.d, + * testsuite/gas/rx/r-bra.d, + * testsuite/gas/rx/racl.d, + * testsuite/gas/rx/racw.d, + * testsuite/gas/rx/rdacl.d, + * testsuite/gas/rx/rdacw.d, + * testsuite/gas/rx/revl.d, + * testsuite/gas/rx/revw.d, + * testsuite/gas/rx/rmpa.d, + * testsuite/gas/rx/rolc.d, + * testsuite/gas/rx/rorc.d, + * testsuite/gas/rx/rotl.d, + * testsuite/gas/rx/rotr.d, + * testsuite/gas/rx/round.d, + * testsuite/gas/rx/rte.d, + * testsuite/gas/rx/rtfi.d, + * testsuite/gas/rx/rts.d, + * testsuite/gas/rx/rtsd.d, + * testsuite/gas/rx/sat.d, + * testsuite/gas/rx/satr.d, + * testsuite/gas/rx/sbb.d, + * testsuite/gas/rx/sccnd.d, + * testsuite/gas/rx/scmpu.d, + * testsuite/gas/rx/setpsw.d, + * testsuite/gas/rx/shar.d, + * testsuite/gas/rx/shll.d, + * testsuite/gas/rx/shlr.d, + * testsuite/gas/rx/smovb.d, + * testsuite/gas/rx/smovf.d, + * testsuite/gas/rx/smovu.d, + * testsuite/gas/rx/sstr.d, + * testsuite/gas/rx/stnz.d, + * testsuite/gas/rx/stz.d, + * testsuite/gas/rx/sub.d, + * testsuite/gas/rx/suntil.d, + * testsuite/gas/rx/swhile.d, + * testsuite/gas/rx/tst.d, + * testsuite/gas/rx/utof.d, + * testsuite/gas/rx/wait.d, + * testsuite/gas/rx/xchg.d, + * testsuite/gas/rx/xor.d, + * testsuite/gas/s12z/abs.d, + * testsuite/gas/s12z/adc-imm.d, + * testsuite/gas/s12z/adc-opr.d, + * testsuite/gas/s12z/add-imm.d, + * testsuite/gas/s12z/add-opr.d, + * testsuite/gas/s12z/and-imm.d, + * testsuite/gas/s12z/and-opr.d, + * testsuite/gas/s12z/and-or-cc.d, + * testsuite/gas/s12z/bfext-special.d, + * testsuite/gas/s12z/bfext.d, + * testsuite/gas/s12z/bit-manip.d, + * testsuite/gas/s12z/bit.d, + * testsuite/gas/s12z/bra-expression-defined.d, + * testsuite/gas/s12z/bra-expression-undef.d, + * testsuite/gas/s12z/bra.d, + * testsuite/gas/s12z/brclr-symbols.d, + * testsuite/gas/s12z/brset-clr-opr-imm-rel.d, + * testsuite/gas/s12z/brset-clr-opr-reg-rel.d, + * testsuite/gas/s12z/brset-clr-reg-imm-rel.d, + * testsuite/gas/s12z/brset-clr-reg-reg-rel.d, + * testsuite/gas/s12z/clb.d, + * testsuite/gas/s12z/clr-opr.d, + * testsuite/gas/s12z/clr.d, + * testsuite/gas/s12z/cmp-imm.d, + * testsuite/gas/s12z/cmp-opr-inc.d, + * testsuite/gas/s12z/cmp-opr-rdirect.d, + * testsuite/gas/s12z/cmp-opr-reg.d, + * testsuite/gas/s12z/cmp-opr-rindirect.d, + * testsuite/gas/s12z/cmp-opr-sxe4.d, + * testsuite/gas/s12z/cmp-opr-xys.d, + * testsuite/gas/s12z/cmp-s-imm.d, + * testsuite/gas/s12z/cmp-s-opr.d, + * testsuite/gas/s12z/cmp-xy.d, + * testsuite/gas/s12z/com-opr.d, + * testsuite/gas/s12z/complex-shifts.d, + * testsuite/gas/s12z/db-tb-cc-opr.d, + * testsuite/gas/s12z/db-tb-cc-reg.d, + * testsuite/gas/s12z/dbCC.d, + * testsuite/gas/s12z/dec-opr.d, + * testsuite/gas/s12z/dec.d, + * testsuite/gas/s12z/div.d, + * testsuite/gas/s12z/eor.d, + * testsuite/gas/s12z/exg.d, + * testsuite/gas/s12z/ext24-ld-xy.d, + * testsuite/gas/s12z/inc-opr.d, + * testsuite/gas/s12z/inc.d, + * testsuite/gas/s12z/inh.d, + * testsuite/gas/s12z/jmp.d, + * testsuite/gas/s12z/jsr.d, + * testsuite/gas/s12z/ld-imm-page2.d, + * testsuite/gas/s12z/ld-imm.d, + * testsuite/gas/s12z/ld-immu18.d, + * testsuite/gas/s12z/ld-large-direct.d, + * testsuite/gas/s12z/ld-opr.d, + * testsuite/gas/s12z/ld-s-opr.d, + * testsuite/gas/s12z/ld-small-direct.d, + * testsuite/gas/s12z/lea-immu18.d, + * testsuite/gas/s12z/lea.d, + * testsuite/gas/s12z/mac.d, + * testsuite/gas/s12z/min-max.d, + * testsuite/gas/s12z/mod.d, + * testsuite/gas/s12z/mov.d, + * testsuite/gas/s12z/mul-imm.d, + * testsuite/gas/s12z/mul-opr-opr.d, + * testsuite/gas/s12z/mul-opr.d, + * testsuite/gas/s12z/mul-reg.d, + * testsuite/gas/s12z/mul.d, + * testsuite/gas/s12z/neg-opr.d, + * testsuite/gas/s12z/not-so-simple-shifts.d, + * testsuite/gas/s12z/opr-18u.d, + * testsuite/gas/s12z/opr-expr.d, + * testsuite/gas/s12z/opr-ext-18.d, + * testsuite/gas/s12z/opr-idx-24-reg.d, + * testsuite/gas/s12z/opr-idx3-reg.d, + * testsuite/gas/s12z/opr-idx3-xysp-24.d, + * testsuite/gas/s12z/opr-indirect-expr.d, + * testsuite/gas/s12z/opr-symbol.d, + * testsuite/gas/s12z/or-imm.d, + * testsuite/gas/s12z/or-opr.d, + * testsuite/gas/s12z/p2-mul.d, + * testsuite/gas/s12z/page2-inh.d, + * testsuite/gas/s12z/psh-pul.d, + * testsuite/gas/s12z/qmul.d, + * testsuite/gas/s12z/rotate.d, + * testsuite/gas/s12z/sat.d, + * testsuite/gas/s12z/sbc-imm.d, + * testsuite/gas/s12z/sbc-opr.d, + * testsuite/gas/s12z/shift.d, + * testsuite/gas/s12z/simple-shift.d, + * testsuite/gas/s12z/single-ops.d, + * testsuite/gas/s12z/specd6.d, + * testsuite/gas/s12z/st-large-direct.d, + * testsuite/gas/s12z/st-opr.d, + * testsuite/gas/s12z/st-s-opr.d, + * testsuite/gas/s12z/st-small-direct.d, + * testsuite/gas/s12z/st-xy.d, + * testsuite/gas/s12z/sub-imm.d, + * testsuite/gas/s12z/sub-opr.d, + * testsuite/gas/s12z/tfr.d, + * testsuite/gas/s12z/trap.d, + * testsuite/gas/sh/fdpic.d, + * testsuite/gas/sh/sh2a-pic.d, + * testsuite/gas/sh/sh2a.d: Don't match object file name. + * testsuite/gas/wasm32/disass-2.d, + * testsuite/gas/wasm32/disass.d: Likewise, and tidy regexps. + +2018-09-15 Alan Modra + + * testsuite/gas/aarch64/armv8_2-a-crypto-fp16-illegal.d, + * testsuite/gas/aarch64/armv8_2-a-illegal.d, + * testsuite/gas/aarch64/armv8_4-a-illegal.d, + * testsuite/gas/aarch64/armv8_4-a-registers-illegal.d, + * testsuite/gas/aarch64/deprecated.d, + * testsuite/gas/aarch64/diagnostic.d, + * testsuite/gas/aarch64/illegal-2.d, + * testsuite/gas/aarch64/illegal-by-element.d, + * testsuite/gas/aarch64/illegal-crypto-nofp.d, + * testsuite/gas/aarch64/illegal-fcmla.d, + * testsuite/gas/aarch64/illegal-fjcvtzs.d, + * testsuite/gas/aarch64/illegal-fp16-nofp.d, + * testsuite/gas/aarch64/illegal-ldapr.d, + * testsuite/gas/aarch64/illegal-ldraa.d, + * testsuite/gas/aarch64/illegal-lse.d, + * testsuite/gas/aarch64/illegal-nofp-armv8_3.d, + * testsuite/gas/aarch64/illegal-nofp16.d, + * testsuite/gas/aarch64/illegal-ras-1.d, + * testsuite/gas/aarch64/illegal-sysreg-2.d, + * testsuite/gas/aarch64/illegal-sysreg-3.d, + * testsuite/gas/aarch64/illegal.d, + * testsuite/gas/aarch64/legacy_reg_names.d, + * testsuite/gas/aarch64/pan-illegal.d, + * testsuite/gas/aarch64/pr22529.d, + * testsuite/gas/aarch64/rm-simd-ext.d, + * testsuite/gas/aarch64/sve-invalid.d, + * testsuite/gas/aarch64/sve-reg-diagnostic.d, + * testsuite/gas/aarch64/sve-sysreg-invalid.d, + * testsuite/gas/aarch64/sysreg-diagnostic.d, + * testsuite/gas/aarch64/verbose-error.d, + * testsuite/gas/all/byte.d, + * testsuite/gas/all/org-1.d, + * testsuite/gas/all/org-2.d, + * testsuite/gas/all/org-3.d, + * testsuite/gas/all/sleb128-9.d, + * testsuite/gas/arc/asm-errors-2.d, + * testsuite/gas/arc/asm-errors-3.d, + * testsuite/gas/arc/asm-errors.d, + * testsuite/gas/arc/attr-rf16.d, + * testsuite/gas/arc/relocs-errors.d, + * testsuite/gas/arc/textinsn-errors.d, + * testsuite/gas/arm/addsw-bad.d, + * testsuite/gas/arm/addthumb2err.d, + * testsuite/gas/arm/adr-invalid.d, + * testsuite/gas/arm/arch7em-bad-1.d, + * testsuite/gas/arm/arch7em-bad-2.d, + * testsuite/gas/arm/arch7em-bad-3.d, + * testsuite/gas/arm/arch7m-bad.d, + * testsuite/gas/arm/archv6s-m-bad.d, + * testsuite/gas/arm/archv6t2-bad.d, + * testsuite/gas/arm/arm-idiv-bad.d, + * testsuite/gas/arm/arm-it-bad-2.d, + * testsuite/gas/arm/arm-it-bad-3.d, + * testsuite/gas/arm/arm-it-bad.d, + * testsuite/gas/arm/arm3-bad.d, + * testsuite/gas/arm/arm7-bad.d, + * testsuite/gas/arm/armv1-bad.d, + * testsuite/gas/arm/armv1.d, + * testsuite/gas/arm/armv2-mp-bad.d, + * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d, + * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d, + * testsuite/gas/arm/armv8-2-fp16-simd-warning.d, + * testsuite/gas/arm/armv8-a+rdma-warning.d, + * testsuite/gas/arm/armv8-a-bad.d, + * testsuite/gas/arm/armv8-a-it-bad.d, + * testsuite/gas/arm/armv8-r-bad.d, + * testsuite/gas/arm/armv8-r-it-bad.d, + * testsuite/gas/arm/armv8_2-a-fp16-illegal.d, + * testsuite/gas/arm/armv8_3-a-fp-bad.d, + * testsuite/gas/arm/armv8_3-a-simd-bad.d, + * testsuite/gas/arm/barrier-bad-thumb.d, + * testsuite/gas/arm/barrier-bad.d, + * testsuite/gas/arm/bl-local-v4t.d, + * testsuite/gas/arm/blx-bl-convert.d, + * testsuite/gas/arm/blx-local.d, + * testsuite/gas/arm/branch-reloc.d, + * testsuite/gas/arm/copro-arm_v2plus-arm_v1.d, + * testsuite/gas/arm/copro-arm_v5plus-arm_v4.d, + * testsuite/gas/arm/copro-arm_v5teplus-arm_v5.d, + * testsuite/gas/arm/copro-arm_v6plus-arm_v5te.d, + * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-1.d, + * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-2.d, + * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-3.d, + * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-4.d, + * testsuite/gas/arm/crc32-armv8-a-bad.d, + * testsuite/gas/arm/crc32-armv8-r-bad.d, + * testsuite/gas/arm/depr-swp.d, + * testsuite/gas/arm/dest-unpredictable.d, + * testsuite/gas/arm/dotprod-illegal.d, + * testsuite/gas/arm/dotprod-legacy-arch.d, + * testsuite/gas/arm/forbid-armv7-idiv-ext.d, + * testsuite/gas/arm/group-reloc-alu-encoding-bad.d, + * testsuite/gas/arm/group-reloc-alu-parsing-bad.d, + * testsuite/gas/arm/group-reloc-ldc-encoding-bad.d, + * testsuite/gas/arm/group-reloc-ldc-parsing-bad.d, + * testsuite/gas/arm/group-reloc-ldr-encoding-bad.d, + * testsuite/gas/arm/group-reloc-ldr-parsing-bad.d, + * testsuite/gas/arm/group-reloc-ldrs-encoding-bad.d, + * testsuite/gas/arm/group-reloc-ldrs-parsing-bad.d, + * testsuite/gas/arm/insn-error-a.d, + * testsuite/gas/arm/insn-error-t.d, + * testsuite/gas/arm/inst-po-2.d, + * testsuite/gas/arm/iwmmxt-bad.d, + * testsuite/gas/arm/iwmmxt-bad2.d, + * testsuite/gas/arm/ld-sp-warn-cortex-m3.d, + * testsuite/gas/arm/ld-sp-warn-cortex-m4.d, + * testsuite/gas/arm/ld-sp-warn-v7.d, + * testsuite/gas/arm/ld-sp-warn-v7a.d, + * testsuite/gas/arm/ld-sp-warn-v7em.d, + * testsuite/gas/arm/ld-sp-warn-v7m.d, + * testsuite/gas/arm/ld-sp-warn-v7r.d, + * testsuite/gas/arm/ld-sp-warn.d, + * testsuite/gas/arm/ldgesb-bad.d, + * testsuite/gas/arm/ldgesh-bad.d, + * testsuite/gas/arm/ldr-bad.d, + * testsuite/gas/arm/ldr-t-bad.d, + * testsuite/gas/arm/ldrd-unpredictable.d, + * testsuite/gas/arm/ldsgeb.d, + * testsuite/gas/arm/ldsgeh.d, + * testsuite/gas/arm/missing.d, + * testsuite/gas/arm/mrs-msr-arm-v7-a-bad.d, + * testsuite/gas/arm/mrs-msr-thumb-v7-m-bad.d, + * testsuite/gas/arm/msr-imm-bad.d, + * testsuite/gas/arm/msr-reg-bad.d, + * testsuite/gas/arm/mul-overlap.d, + * testsuite/gas/arm/neon-addressing-bad.d, + * testsuite/gas/arm/neon-cond-bad.d, + * testsuite/gas/arm/neon-ldst-align-bad.d, + * testsuite/gas/arm/neon-ldst-es-bad.d, + * testsuite/gas/arm/neon-suffix-bad.d, + * testsuite/gas/arm/neon-vmov-bad.d, + * testsuite/gas/arm/noarm.d, + * testsuite/gas/arm/pr18256.d, + * testsuite/gas/arm/pr18347.d, + * testsuite/gas/arm/pr20429.d, + * testsuite/gas/arm/pr22773.d, + * testsuite/gas/arm/r15-bad.d, + * testsuite/gas/arm/reloc-bad.d, + * testsuite/gas/arm/req.d, + * testsuite/gas/arm/shift-bad-pc.d, + * testsuite/gas/arm/shift-bad.d, + * testsuite/gas/arm/simd_by_scalar_low_regbank.d, + * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d, + * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.d, + * testsuite/gas/arm/sp-pc-validations-bad-t.d, + * testsuite/gas/arm/sp-pc-validations-bad.d, + * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.d, + * testsuite/gas/arm/srs-arm.d, + * testsuite/gas/arm/srs-t2.d, + * testsuite/gas/arm/strex-bad-t.d, + * testsuite/gas/arm/t16-bad.d, + * testsuite/gas/arm/thumb-b-bad.d, + * testsuite/gas/arm/thumb-w-bad.d, + * testsuite/gas/arm/thumb2_bad_reg.d, + * testsuite/gas/arm/thumb2_it_bad.d, + * testsuite/gas/arm/thumb2_it_bad_auto.d, + * testsuite/gas/arm/thumb2_ldmstm_bad.d, + * testsuite/gas/arm/thumb2_ldstd_unpredictable.d, + * testsuite/gas/arm/thumb2_mul-bad.d, + * testsuite/gas/arm/thumb2_str-bad.d, + * testsuite/gas/arm/thumb32.d, + * testsuite/gas/arm/udf-bad.d, + * testsuite/gas/arm/udf.d, + * testsuite/gas/arm/undefined.d, + * testsuite/gas/arm/undefined_coff.d, + * testsuite/gas/arm/vcmp-zero-bad.d, + * testsuite/gas/arm/vcvt-bad.d, + * testsuite/gas/arm/vfp-bad.d, + * testsuite/gas/arm/vfp-bad_t2.d, + * testsuite/gas/arm/vfpv3-d16-bad.d, + * testsuite/gas/arm/vldm-thumb-bad.d, + * testsuite/gas/arm/vldmw-arm-bad.d, + * testsuite/gas/arm/vldmw-thumb-bad.d, + * testsuite/gas/arm/vstr-arm-bad.d, + * testsuite/gas/arm/vstr-thumb-bad.d, + * testsuite/gas/arm/weakdef-2.d, + * testsuite/gas/avr/pr21621.d, + * testsuite/gas/elf/bad-bss.d, + * testsuite/gas/elf/bad-group.d, + * testsuite/gas/elf/bad-group.err, + * testsuite/gas/elf/bad-section-flag.d, + * testsuite/gas/elf/bad-section-flag.err, + * testsuite/gas/elf/bad-size.d, + * testsuite/gas/elf/bad-size.err, + * testsuite/gas/elf/common1.d, + * testsuite/gas/elf/common2.d, + * testsuite/gas/elf/common5a.d, + * testsuite/gas/elf/common5b.d, + * testsuite/gas/elf/common5c.d, + * testsuite/gas/elf/common5d.d, + * testsuite/gas/elf/dwarf2-10.d, + * testsuite/gas/elf/dwarf2-8.d, + * testsuite/gas/elf/dwarf2-9.d, + * testsuite/gas/elf/pr21661.d, + * testsuite/gas/elf/pseudo.d, + * testsuite/gas/elf/section13.d, + * testsuite/gas/i386/bad-size.d, + * testsuite/gas/i386/bundle-bad.d, + * testsuite/gas/i386/ilp32/x86-64-sse-check-warn.d, + * testsuite/gas/i386/intel-intel.d, + * testsuite/gas/i386/intel.d, + * testsuite/gas/i386/intelok.d, + * testsuite/gas/i386/mpx-add-bnd-prefix.d, + * testsuite/gas/i386/sse-check-warn.d, + * testsuite/gas/i386/string-ok.d, + * testsuite/gas/i386/vgather-check-warn.d, + * testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d, + * testsuite/gas/i386/x86-64-sse-check-warn.d, + * testsuite/gas/i386/x86-64-vgather-check-warn.d, + * testsuite/gas/mips/addiu-error.d, + * testsuite/gas/mips/branch-extern-3.d, + * testsuite/gas/mips/branch-extern-4.d, + * testsuite/gas/mips/branch-local-2.d, + * testsuite/gas/mips/branch-local-3.d, + * testsuite/gas/mips/branch-local-5.d, + * testsuite/gas/mips/branch-local-6.d, + * testsuite/gas/mips/branch-local-n32-2.d, + * testsuite/gas/mips/branch-local-n32-3.d, + * testsuite/gas/mips/branch-local-n32-5.d, + * testsuite/gas/mips/branch-local-n32-6.d, + * testsuite/gas/mips/branch-local-n64-2.d, + * testsuite/gas/mips/branch-local-n64-3.d, + * testsuite/gas/mips/branch-local-n64-5.d, + * testsuite/gas/mips/branch-local-n64-6.d, + * testsuite/gas/mips/branch-section-3.d, + * testsuite/gas/mips/branch-section-4.d, + * testsuite/gas/mips/branch-weak-3.d, + * testsuite/gas/mips/branch-weak-4.d, + * testsuite/gas/mips/break-error.d, + * testsuite/gas/mips/crc-err.d, + * testsuite/gas/mips/crc64-err.d, + * testsuite/gas/mips/ginv-err.d, + * testsuite/gas/mips/interaptiv-mr2@isa-override-1.d, + * testsuite/gas/mips/interaptiv-mr2@isa-override-2.d, + * testsuite/gas/mips/isa-override-2.d, + * testsuite/gas/mips/lui-1.d, + * testsuite/gas/mips/lui-2.d, + * testsuite/gas/mips/macro-warn-1-n32.d, + * testsuite/gas/mips/macro-warn-1.d, + * testsuite/gas/mips/macro-warn-2.d, + * testsuite/gas/mips/macro-warn-3.d, + * testsuite/gas/mips/macro-warn-4.d, + * testsuite/gas/mips/micromips-branch-delay.d, + * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d, + * testsuite/gas/mips/micromips-branch-relax-insn32.d, + * testsuite/gas/mips/micromips-branch-relax-pic.d, + * testsuite/gas/mips/micromips-branch-relax.d, + * testsuite/gas/mips/micromips-compact.d, + * testsuite/gas/mips/micromips-insn32.d, + * testsuite/gas/mips/micromips-noinsn32.d, + * testsuite/gas/mips/micromips-size-1.d, + * testsuite/gas/mips/micromips-trap.d, + * testsuite/gas/mips/micromips-warn-branch-delay.d, + * testsuite/gas/mips/micromips.d, + * testsuite/gas/mips/micromips@addiu-error.d, + * testsuite/gas/mips/micromips@mips5-fp.d, + * testsuite/gas/mips/micromips@msa-relax.d, + * testsuite/gas/mips/micromips@relax-at.d, + * testsuite/gas/mips/micromips@relax-offset.d, + * testsuite/gas/mips/micromips@relax.d, + * testsuite/gas/mips/mips-gp32-fp64-pic.d, + * testsuite/gas/mips/mips-gp32-fp64.d, + * testsuite/gas/mips/mips-gp64-fp32-pic.d, + * testsuite/gas/mips/mips-gp64-fp32.d, + * testsuite/gas/mips/mips-gp64-fp64.d, + * testsuite/gas/mips/mips16-32@mips16-insn-e.d, + * testsuite/gas/mips/mips16-32@mips16-insn-t.d, + * testsuite/gas/mips/mips16-32@mips16-macro-e.d, + * testsuite/gas/mips/mips16-32@mips16-macro-t.d, + * testsuite/gas/mips/mips16-32@mips16-macro.d, + * testsuite/gas/mips/mips16-64@mips16-insn-e.d, + * testsuite/gas/mips/mips16-64@mips16-insn-t.d, + * testsuite/gas/mips/mips16-absolute-reloc-2.d, + * testsuite/gas/mips/mips16-absolute-reloc-3.d, + * testsuite/gas/mips/mips16-branch-addend-5.d, + * testsuite/gas/mips/mips16-branch-unextended-1.d, + * testsuite/gas/mips/mips16-branch-unextended-2.d, + * testsuite/gas/mips/mips16-insn-e.d, + * testsuite/gas/mips/mips16-insn-t.d, + * testsuite/gas/mips/mips16-jal-t.d, + * testsuite/gas/mips/mips16-macro-e.d, + * testsuite/gas/mips/mips16-macro-t.d, + * testsuite/gas/mips/mips16-pcrel-2.d, + * testsuite/gas/mips/mips16-pcrel-3.d, + * testsuite/gas/mips/mips16-pcrel-4.d, + * testsuite/gas/mips/mips16-pcrel-5.d, + * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d, + * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d, + * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d, + * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d, + * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d, + * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d, + * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d, + * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d, + * testsuite/gas/mips/mips16-pcrel-delay-0.d, + * testsuite/gas/mips/mips16-pcrel-delay-1.d, + * testsuite/gas/mips/mips16-pcrel-n64-0.d, + * testsuite/gas/mips/mips16-pcrel-n64-1.d, + * testsuite/gas/mips/mips16-pcrel-pic-0.d, + * testsuite/gas/mips/mips16-pcrel-pic-1.d, + * testsuite/gas/mips/mips16-reg-error.d, + * testsuite/gas/mips/mips16-relax-unextended-1.d, + * testsuite/gas/mips/mips16-relax-unextended-2.d, + * testsuite/gas/mips/mips16-reloc-error.d, + * testsuite/gas/mips/mips16-sdrasp.d, + * testsuite/gas/mips/mips16@addiu-error.d, + * testsuite/gas/mips/mips16e-32@mips16-insn-e.d, + * testsuite/gas/mips/mips16e-32@mips16-insn-t.d, + * testsuite/gas/mips/mips16e-32@mips16-macro-e.d, + * testsuite/gas/mips/mips16e-32@mips16-macro-t.d, + * testsuite/gas/mips/mips16e-32@mips16-macro.d, + * testsuite/gas/mips/mips16e-32@mips16e-64.d, + * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d, + * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d, + * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d, + * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d, + * testsuite/gas/mips/mips16e2-32@mips16-macro.d, + * testsuite/gas/mips/mips16e2-32@mips16e-64.d, + * testsuite/gas/mips/mips16e2-copy-err.d, + * testsuite/gas/mips/mips16e2-imm-error.d, + * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.d, + * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.d, + * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.d, + * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.d, + * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.d, + * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.d, + * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.d, + * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64.d, + * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.d, + * testsuite/gas/mips/mips16e2-mt-err.d, + * testsuite/gas/mips/mips16e2-reloc-error.d, + * testsuite/gas/mips/mips16e2@lui-2.d, + * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d, + * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d, + * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d, + * testsuite/gas/mips/mips1@isa-override-2.d, + * testsuite/gas/mips/mips1@relax-offset.d, + * testsuite/gas/mips/mips2@isa-override-2.d, + * testsuite/gas/mips/mips32-mt.d, + * testsuite/gas/mips/mips32@isa-override-2.d, + * testsuite/gas/mips/mips32r2@isa-override-2.d, + * testsuite/gas/mips/mips32r3@isa-override-2.d, + * testsuite/gas/mips/mips32r5@isa-override-2.d, + * testsuite/gas/mips/mips32r6@isa-override-2.d, + * testsuite/gas/mips/mips5-fp.d, + * testsuite/gas/mips/mips64-mips3d-incl.d, + * testsuite/gas/mips/mips64-mips3d.d, + * testsuite/gas/mips/mipsr6@mips5-fp.d, + * testsuite/gas/mips/msa-relax.d, + * testsuite/gas/mips/octeon3@isa-override-1.d, + * testsuite/gas/mips/octeon3@isa-override-2.d, + * testsuite/gas/mips/option-pic-relax-2.d, + * testsuite/gas/mips/option-pic-relax-3.d, + * testsuite/gas/mips/option-pic-relax-4.d, + * testsuite/gas/mips/option-pic-relax-5.d, + * testsuite/gas/mips/org-1.d, + * testsuite/gas/mips/org-10.d, + * testsuite/gas/mips/org-4.d, + * testsuite/gas/mips/org-5.d, + * testsuite/gas/mips/org-6.d, + * testsuite/gas/mips/r3000@isa-override-2.d, + * testsuite/gas/mips/r3000@relax-offset.d, + * testsuite/gas/mips/r3900@isa-override-2.d, + * testsuite/gas/mips/r3900@relax-offset.d, + * testsuite/gas/mips/reginfo-2-n32.d, + * testsuite/gas/mips/reginfo-2.d, + * testsuite/gas/mips/relax-at.d, + * testsuite/gas/mips/relax-offset.d, + * testsuite/gas/mips/relax-swap1-mips1.d, + * testsuite/gas/mips/relax-swap1-mips2.d, + * testsuite/gas/mips/relax-swap2.d, + * testsuite/gas/mips/relax.d, + * testsuite/gas/mips/save-err.d, + * testsuite/gas/mips/set-arch.d, + * testsuite/gas/mips/xpa-err.d, + * testsuite/gas/mips/xpa-virt-err.d, + * testsuite/gas/msp430/bad.d, + * testsuite/gas/msp430/errata_warns.d, + * testsuite/gas/msp430/pr22133.d, + * testsuite/gas/ppc/lsp-checks.d, + * testsuite/gas/ppc/misalign.d, + * testsuite/gas/ppc/spe2-checks.d, + * testsuite/gas/riscv/bad-csr.d, + * testsuite/gas/riscv/c-addi16sp-fail.d, + * testsuite/gas/riscv/c-addi4spn-fail.d, + * testsuite/gas/riscv/c-fld-fsd-fail.d, + * testsuite/gas/riscv/c-lui-fail.d, + * testsuite/gas/riscv/c-nonzero-imm.d, + * testsuite/gas/riscv/c-nonzero-reg.d, + * testsuite/gas/riscv/fence-fail.d, + * testsuite/gas/riscv/lla64-fail.d, + * testsuite/gas/riscv/rouding-fail.d, + * testsuite/gas/sh/pcrel-hms.d, + * testsuite/gas/sh/pcrel.d, + * testsuite/gas/sparc/dcti-couples-v8.d, + * testsuite/gas/sparc/dcti-couples-v9c.d, + * testsuite/gas/tic6x/arch-invalid-1.d, + * testsuite/gas/tic6x/arch-invalid-2.d, + * testsuite/gas/tic6x/dir-junk.d, + * testsuite/gas/tic6x/insns-bad-1.d, + * testsuite/gas/tic6x/insns-bad-2.d, + * testsuite/gas/tic6x/parallel-bad-1.d, + * testsuite/gas/tic6x/parallel-bad-2.d, + * testsuite/gas/tic6x/parallel-bad-3.d, + * testsuite/gas/tic6x/parallel-bad-4.d, + * testsuite/gas/tic6x/predicate-bad-1.d, + * testsuite/gas/tic6x/predicate-bad-2.d, + * testsuite/gas/tic6x/predicate-bad-3.d, + * testsuite/gas/tic6x/reloc-bad-1.d, + * testsuite/gas/tic6x/reloc-bad-2.d, + * testsuite/gas/tic6x/reloc-bad-3.d, + * testsuite/gas/tic6x/reloc-bad-4.d, + * testsuite/gas/tic6x/reloc-bad-5.d, + * testsuite/gas/tic6x/reloc-bad-6.d, + * testsuite/gas/tic6x/resource-func-unit-1.d, + * testsuite/gas/tic6x/resource-func-unit-2.d, + * testsuite/gas/tic6x/sploop-bad-1.d, + * testsuite/gas/tic6x/sploop-bad-2.d, + * testsuite/gas/tic6x/sploop-bad-3.d, + * testsuite/gas/tic6x/sploop-bad-4.d, + * testsuite/gas/tic6x/sploop-bad-5.d, + * testsuite/gas/tic6x/sploop-bad-6.d, + * testsuite/gas/tic6x/sploop-bad-7.d, + * testsuite/gas/tic6x/unwind-bad-1.d, + * testsuite/gas/tic6x/unwind-bad-2.d, + * testsuite/lib/gas-defs.exp (run_dump_tests): Replace stderr + and error-output with warning_output and error_output. + (slurp_options): Accept underscore rather than dash. + +2018-09-15 Alan Modra + + * testsuite/gas/aarch64/codealign.d, + * testsuite/gas/aarch64/litpool.d, + * testsuite/gas/aarch64/mapmisc.d, + * testsuite/gas/aarch64/mapping.d, + * testsuite/gas/aarch64/mapping2.d, + * testsuite/gas/aarch64/mapping3.d, + * testsuite/gas/aarch64/mapping4.d, + * testsuite/gas/all/align.d, + * testsuite/gas/all/fill-1.d, + * testsuite/gas/all/incbin.d, + * testsuite/gas/all/redef2.d, + * testsuite/gas/all/redef3.d, + * testsuite/gas/all/relax.d, + * testsuite/gas/all/sleb128-2.d, + * testsuite/gas/all/sleb128-4.d, + * testsuite/gas/all/sleb128-5.d, + * testsuite/gas/all/sleb128-7.d, + * testsuite/gas/all/sleb128-9.d, + * testsuite/gas/all/weakref1.d, + * testsuite/gas/all/weakref1g.d, + * testsuite/gas/all/weakref1l.d, + * testsuite/gas/all/weakref1u.d, + * testsuite/gas/all/weakref1w.d, + * testsuite/gas/arm/abs12.d, + * testsuite/gas/arm/arch4t.d, + * testsuite/gas/arm/arch7.d, + * testsuite/gas/arm/arch7a-mp.d, + * testsuite/gas/arm/arch7em.d, + * testsuite/gas/arm/archv8m-main-dsp-5.d, + * testsuite/gas/arm/armv8a-automatic-hlt.d, + * testsuite/gas/arm/armv8a-automatic-lda.d, + * testsuite/gas/arm/attr-syntax.d, + * testsuite/gas/arm/automatic-bw.d, + * testsuite/gas/arm/automatic-cbz.d, + * testsuite/gas/arm/automatic-clrex.d, + * testsuite/gas/arm/automatic-lda.d, + * testsuite/gas/arm/automatic-ldaex.d, + * testsuite/gas/arm/automatic-ldaexb.d, + * testsuite/gas/arm/automatic-ldrex.d, + * testsuite/gas/arm/automatic-ldrexd.d, + * testsuite/gas/arm/automatic-movw.d, + * testsuite/gas/arm/automatic-sdiv.d, + * testsuite/gas/arm/automatic-strexb.d, + * testsuite/gas/arm/barrier-thumb.d, + * testsuite/gas/arm/barrier.d, + * testsuite/gas/arm/bignum1.d, + * testsuite/gas/arm/blx-bad.d, + * testsuite/gas/arm/blx-local.s, + * testsuite/gas/arm/crc32-armv8-a-bad.d, + * testsuite/gas/arm/crc32-armv8-a.d, + * testsuite/gas/arm/crc32-armv8-r-bad.d, + * testsuite/gas/arm/crc32-armv8-r.d, + * testsuite/gas/arm/eabi_attr_1.d, + * testsuite/gas/arm/fp-save.d, + * testsuite/gas/arm/local_function.d, + * testsuite/gas/arm/local_label_coff.d, + * testsuite/gas/arm/local_label_wince.d, + * testsuite/gas/arm/mapping.d, + * testsuite/gas/arm/mapping2.d, + * testsuite/gas/arm/mapping3.d, + * testsuite/gas/arm/mapping4.d, + * testsuite/gas/arm/mapshort-elf.d, + * testsuite/gas/arm/mask_1-armv8-a.d, + * testsuite/gas/arm/mask_1-armv8-r.d, + * testsuite/gas/arm/mrs-msr-thumb-v6t2.d, + * testsuite/gas/arm/mrs-msr-thumb-v7-m.d, + * testsuite/gas/arm/mrs-msr-thumb-v7e-m.d, + * testsuite/gas/arm/nomapping.d, + * testsuite/gas/arm/pic.d, + * testsuite/gas/arm/pic_vxworks.d, + * testsuite/gas/arm/plt-1.d, + * testsuite/gas/arm/reloc-bad.d, + * testsuite/gas/arm/reloc-fdpic.d, + * testsuite/gas/arm/t2-branch-global.d, + * testsuite/gas/arm/thumb.d, + * testsuite/gas/arm/thumb2_ldr_immediate_armv6.d, + * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d, + * testsuite/gas/arm/thumb2_pool.d, + * testsuite/gas/arm/thumb2_vpool.d, + * testsuite/gas/arm/thumb2_vpool_be.d, + * testsuite/gas/arm/thumb32.d, + * testsuite/gas/arm/thumbver.d, + * testsuite/gas/arm/tls.d, + * testsuite/gas/arm/tls_vxworks.d, + * testsuite/gas/arm/undefined_coff.d, + * testsuite/gas/arm/unwind.d, + * testsuite/gas/arm/unwind_vxworks.d, + * testsuite/gas/arm/v4bx.d, + * testsuite/gas/arm/vfma1.d, + * testsuite/gas/arm/vldm-arm.d, + * testsuite/gas/arm/weakdef-1.d, + * testsuite/gas/arm/weakdef-2.d, + * testsuite/gas/arm/wince.d, + * testsuite/gas/arm/wince_inst.d, + * testsuite/gas/elf/bignums.d, + * testsuite/gas/elf/common5a.d, + * testsuite/gas/elf/common5b.d, + * testsuite/gas/elf/common5c.d, + * testsuite/gas/elf/common5d.d, + * testsuite/gas/elf/dwarf2-1.d, + * testsuite/gas/elf/dwarf2-10.d, + * testsuite/gas/elf/dwarf2-11.d, + * testsuite/gas/elf/dwarf2-12.d, + * testsuite/gas/elf/dwarf2-13.d, + * testsuite/gas/elf/dwarf2-14.d, + * testsuite/gas/elf/dwarf2-15.d, + * testsuite/gas/elf/dwarf2-16.d, + * testsuite/gas/elf/dwarf2-17.d, + * testsuite/gas/elf/dwarf2-18.d, + * testsuite/gas/elf/dwarf2-2.d, + * testsuite/gas/elf/dwarf2-3.d, + * testsuite/gas/elf/dwarf2-4.d, + * testsuite/gas/elf/dwarf2-5.d, + * testsuite/gas/elf/dwarf2-6.d, + * testsuite/gas/elf/dwarf2-7.d, + * testsuite/gas/elf/dwarf2-8.d, + * testsuite/gas/elf/dwarf2-9.d, + * testsuite/gas/elf/group0c.d, + * testsuite/gas/elf/group1a.d, + * testsuite/gas/elf/group2.d, + * testsuite/gas/elf/groupautoa.d, + * testsuite/gas/elf/ifunc-1.d, + * testsuite/gas/elf/section11.d, + * testsuite/gas/elf/section4.d, + * testsuite/gas/elf/section7.d, + * testsuite/gas/elf/syms.d, + * testsuite/gas/elf/symver.d, + * testsuite/gas/i386/iamcu-1.d, + * testsuite/gas/i386/iamcu-2.d, + * testsuite/gas/i386/iamcu-3.d, + * testsuite/gas/i386/iamcu-4.d, + * testsuite/gas/i386/iamcu-5.d, + * testsuite/gas/i386/ilp32/rex.d, + * testsuite/gas/i386/k1om.d, + * testsuite/gas/i386/l1om.d, + * testsuite/gas/i386/rex.d, + * testsuite/gas/mach-o/sections-3.d, + * testsuite/gas/macros/irp.d, + * testsuite/gas/macros/repeat.d, + * testsuite/gas/macros/rept.d, + * testsuite/gas/macros/semi.d, + * testsuite/gas/macros/test2.d, + * testsuite/gas/macros/test3.d, + * testsuite/gas/macros/vararg.d, + * testsuite/gas/mips/jal-svr4pic-local.d, + * testsuite/gas/mips/micromips@jal-svr4pic-local.d, + * testsuite/gas/mips/mips1@jal-svr4pic-local.d, + * testsuite/gas/mips/r3000@jal-svr4pic-local.d, + * testsuite/gas/ppc/machine.d, + * testsuite/lib/gas-defs.exp (run_dump_test): Replace not-target + and not-skip with notarget and noskip. + +2018-09-15 Alan Modra + + * testsuite/gas/mri/char.d: Don't objcopy to srec, objdump instead. + * testsuite/gas/mri/float.d: Likewise. + * testsuite/lib/gas-defs.exp (run_dump_test): Remove support + for objcopy as a dump tool. + +2018-09-14 H.J. Lu + + PR gas/23642 + * testsuite/gas/i386/evex-wig2.d: New file. + * testsuite/gas/i386/evex-wig2.s: Likewise. + * testsuite/gas/i386/x86-64-evex-wig2.d: Likewise. + * testsuite/gas/i386/x86-64-evex-wig2.s: Likewise. + * testsuite/gas/i386/i386.exp: Run evex-wig2 and + x86-64-evex-wig2. + +2018-09-14 H.J. Lu + + PR gas/23642 + * config/tc-i386.c (build_vex_prefix): Check VEXWIG when setting + the VEX.W bit. + (build_evex_prefix): Check VEXWIG when setting the EVEX.W bit. + +2018-09-14 H.J. Lu + + PR binutils/23655 + * testsuite/gas/i386/evex.d: Updated. + +2018-09-14 H.J. Lu + + PR binutils/23655 + * testsuite/gas/i386/evex.d: New file. + * testsuite/gas/i386/evex.s: Likewise. + * testsuite/gas/i386/i386.exp: Run evex. + +2018-09-10 Lifang Xia + + * config/tc-csky.c (md_apply_fix): Transmit BFD_RELOC_32_PCREL to + BFD_RELOC_CKCORE_PCREL32. + (tc_gen_reloc): Trasmit BFD_RELOC_CKCORE_ADDR32 to + BFD_RELOC_CKCORE_PCREL32 while pc-relative. + * config/tc-csky.h (DIFF_EXPR_OK): Define to enable PC relative diff + relocs. + +2018-09-14 Jan Beulich + + * config/tc-i386.c (process_suffix): Simplify CRC32 special + casing code. + +2018-09-13 H.J. Lu + + * config/tc-i386.c (build_vex_prefix): Swap destination and + source only if there are more than 1 register operand. + +2018-09-13 Jan Beulich + + * config/tc-i386.c (operand_size_match): Also deal with three + operand case. + (match_template): Also allow operand reversal for three operand + templates. + +2018-09-13 Jan Beulich + + * config/tc-i386.c (operand_size_match): Mirror + .reg/.regsimd/.acc handling from forward to reverse case. + (build_vex_prefix): Check first and last operand types are equal + and also consider .d for swapping operands for VEX2 encoding. + (match_template): Clear found_reverse_match on every iteration. + Use Opcode_SIMD_FloatD and Opcode_SIMD_IntD. + * testsuite/gas/i386/pseudos.s, + testsuite/gas/i386/x86-64-pseudos.s: Add kmov* tests. + * testsuite/gas/i386/pseudos.d, + testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations. + +2018-09-13 Jan Beulich + + testsuite/gas/i386/ilp32/x86-64-opts.d, + testsuite/gas/i386/ilp32/x86-64-opts-intel.d, + testsuite/gas/i386/ilp32/x86-64-sse2avx-opts.d, + testsuite/gas/i386/ilp32/x86-64-sse2avx-opts-intel.d: Refer to + non-ILP32 output. + +2018-09-13 Jan Beulich + + * config/tc-i386.c (dir_encoding_swap): New enumerator. + (parse_insn): Use it. + (match_template): Re-write reversal check. + * testsuite/gas/i386/pseudos.s: Add various move, ALU, and FPU + tests. + * testsuite/gas/i386/x86-64-pseudos.s: Likewise. + * testsuite/gas/i386/pseudos.d, + testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations. + +2018-09-13 Jan Beulich + + * config/tc-i386.c (parse_insn): Extend comment ahead of pseudo- + suffix handling. + +2018-09-13 Jan Beulich + + * testsuite/gas/i386/x86-64-mpx.s: And BNDMK case with RIP- + relative memory operand. + * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations. + +2018-09-13 Nick Clifton + + * dwarf2dbg.c (generic_dwarf2_emit_offset): Use memset to + initialise expression structure. + (set_or_check_view): Likewise. + (out_set_addr): Likewise. + (emit_fixed_inc_line_addr): Likewise. + (relax_inc_line_addr): Likewise. + (out_debug_line): Likewise. + (out_debug_ranges): Likewise. + (out_debug_aranges): Likewise. + (out_debug_info): Likewise. + +2018-09-06 Alan Modra + + PR 23570 + * config/tc-avr.c: Revert 2018-09-03 change. + +2018-09-04 Daniel Cederman + + * config/tc-sparc.c (md_assemble): Allow non-fpop2 instructions + before floating point branches for Sparc V8 and earlier. + * testsuite/gas/sparc/sparc.exp: Execute the new test. + * testsuite/gas/sparc/v8branch.d: New test. + * testsuite/gas/sparc/v8branch.s: New test. + +2018-09-03 Nick Clifton + + PR gas/23570 + * config/tc-avr.c (md_pseudo_table): Add entry for "secction". + (avr_set_section): New function. Ensures that the .noinit section + gets the NOBITS ELF section type. + +2018-08-31 Kito Cheng + + * testsuite/gas/riscv/c-fld-fsd-fail.d: New. + * testsuite/gas/riscv/c-fld-fsd-fail.l: Likewise. + * testsuite/gas/riscv/c-fld-fsd-fail.s: Likewise. + +2018-08-31 H.J. Lu + + * testsuite/gas/elf/section14.d: Change skip to xfail. + * testsuite/lib/gas-defs.exp (run_dump_test): Add xfail support. + +2018-08-31 Alan Modra + + * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): Allow ADDR16 + HIGH, HIGHA, HIGHER, HIGHERA, HIGHEST, and HIGHESTA relocs. + Group 16-bit relocs. + * config/tc-ppc.c (md_apply_fix): Translate those ADDR16 relocs + to REL16 when pcrel. Sort relocs. + +2018-08-31 H.J. Lu + + * testsuite/gas/elf/elf.exp: Pass -mx86-used-note=no to + assembler for section2 test on ELF/x86 targets. + +2018-08-31 H.J. Lu + + * testsuite/gas/cfi/cfi-label.d: Pass -mx86-used-note=no to + assembler. + +2018-08-31 H.J. Lu + + * testsuite/gas/i386/bss.d: Pass -mx86-used-note=no to assembler. + * testsuite/gas/i386/ilp32/quad.d: Likewise. + * testsuite/gas/i386/ilp32/reloc64.d: Likewise. + * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise. + * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise. + * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise. + * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise. + * testsuite/gas/i386/property-1.d: Likewise. + * testsuite/gas/i386/relax.d: Likewise. + * testsuite/gas/i386/reloc64.d: Likewise. + * testsuite/gas/i386/size-1.d: Likewise. + * testsuite/gas/i386/size-3.d: Likewise. + * testsuite/gas/i386/x86-64-property-1.d: Likewise. + * testsuite/gas/i386/x86-64-size-1.d: Likewise. + * testsuite/gas/i386/x86-64-size-3.d: Likewise. + * testsuite/gas/i386/x86-64-size-5.d: Likewise. + * testsuite/gas/i386/x86-64-unwind.d: Likewise. + * testsuite/gas/i386/divide.d: Append "#pass". + +2018-08-31 H.J. Lu + + * NEWS: Mention -mx86-used-note=[no|yes]. + * configure.ac: Add --enable-x86-used-note. Define + DEFAULT_X86_USED_NOTE. + * config.in: Regenerated. + * configure: Likewise. + * config/tc-i386.c (x86_isa_1_used): New. + (x86_feature_2_used): Likewise. + (x86_used_note): Likewise. + (_i386_insn): Add has_regmmx, has_regxmm, has_regymm and + has_regzmm. + (build_modrm_byte): Set i.has_regmmx, i.has_regzmm. + i.has_regymm and i.has_regxmm. + (x86_cleanup): New function. + (output_insn): Update x86_isa_1_used and x86_feature_2_used. + (OPTION_X86_USED_NOTE): New. + (md_longopts): Add -mx86-used-note=. + (md_parse_option): Handle OPTION_X86_USED_NOTE. + (md_show_usage): Display -mx86-used-note=. + * config/tc-i386.h (x86_cleanup): New prototype. + (md_cleanup): New. + * doc/c-i386.texi: Document -mx86-used-note=. + +2018-08-30 Jose E. Marchesi + + * testsuite/gas/sparc/leon.d: Disassemble v8 code also in sparc64 + targets. + +2018-08-30 Kito Cheng + + * config/tc-riscv.c (riscv_subset_supports): New argument: + xlen_required. + (riscv_multi_subset_supports): New function, able to check more + than one extension. + (riscv_ip): Use riscv_multi_subset_supports instead of + riscv_subset_supports. + (riscv_set_arch): Update call-site for riscv_subset_supports. + (riscv_after_parse_args): Likewise. + +2018-08-30 H.J. Lu + + * testsuite/gas/elf/section14.d: Skip h8300 targets. + +2018-08-30 H.J. Lu + + * testsuite/gas/elf/elf.exp: Run section14. + * testsuite/gas/elf/section14.d: New file. + * testsuite/gas/elf/section14.s: Likewise. + +2018-08-29 Daniel Cederman + + * testsuite/gas/sparc/leon.d: New test. + * testsuite/gas/sparc/leon.s: New test. + * testsuite/gas/sparc/sparc.exp: Execute the pwrpsr test. + +2018-08-29 Chenghua Xu + + * config/tc-mips.c (ISA_HAS_ODD_SINGLE_FPR): Exclude CPU_GS264E. + (mips_cpu_info_table): Add gs264e descriptors. + * doc/as.texi (march table): Add gs264e. + +2018-08-29 Chenghua Xu + + * config/tc-mips.c (ISA_HAS_ODD_SINGLE_FPR): Exclude CPU_GS464E. + (mips_cpu_info_table): Add gs464e descriptors. + * doc/as.texi (march table): Add gs464e. + +2018-08-29 Chenghua Xu + + * config/tc-mips.c (ISA_HAS_ODD_SINGLE_FPR): Rename + CPU_LOONGSON_3A to CPU_GS464. + (mips_cpu_info_table): Add gs464 descriptors, Keep + loongson3a as an alias of gs464 for compatibility. + * doc/as.texi (march table): Rename loongson3a to gs464. + * testsuite/gas/mips/loongson-3a-mmi.d: Set "ISA Extension" + flag to None. + +2018-08-29 Chenghua Xu + + * NEWS: Mention Loongson EXTensions R2 (EXT2) support. + * config/tc-mips.c (options): Add OPTION_LOONGSON_EXT2 and + OPTION_NO_LOONGSON_EXT2. + (md_longopts): Likewise. + (mips_ases): Define availability for EXT. + (mips_convert_ase_flags): Map ASE_LOONGSON_EXT2 to + AFL_ASE_LOONGSON_EXT2. + (md_show_usage): Add help for -mloongson-ext2 and + -mno-loongson-ext2. + * doc/as.texi: Document -mloongson-ext2, -mno-loongson-ext2. + * doc/c-mips.texi: Document -mloongson-ext2, -mno-loongson-ext2, + .set loongson-ext2 and .set noloongson-ext2. + * testsuite/gas/mips/loongson-ext2.d: New test. + * testsuite/gas/mips/loongson-ext2.s: New test. + * testsuite/gas/mips/mips.exp: Run loongson-ext2 test. + +2018-08-29 Chenghua Xu + + * NEWS: Mention Loongson EXTensions (EXT) support. + * config/tc-mips.c (options): Add OPTION_LOONGSON_EXT and + OPTION_NO_LOONGSON_EXT. + (md_longopts): Likewise. + (mips_ases): Define availability for EXT. + (mips_convert_ase_flags): Map ASE_LOONGSON_EXT to + AFL_ASE_LOONGSON_EXT. + (mips_cpu_info_table): Add ASE_LOONGSON_EXT for loongson3a. + (md_show_usage): Add help for -mloongson-ext and + -mno-loongson-ext. + * doc/as.texi: Document -mloongson-ext, -mno-loongson-ext. + * doc/c-mips.texi: Document -mloongson-ext, -mno-loongson-ext, + .set loongson-ext and .set noloongson-ext. + * testsuite/gas/mips/loongson-mmi.d: Add ASE flag. + +2018-08-29 Chenghua Xu + + * NEWS: Mention Loongson Content Address Memory (CAM) + support. + * config/tc-mips.c (options): Add OPTION_LOONGSON_CAM and + OPTION_NO_LOONGSON_CAM. + (md_longopts): Likewise. + (mips_ases): Define availability for CAM. + (mips_convert_ase_flags): Map ASE_LOONGSON_CAM to + AFL_ASE_LOONGSON_CAM. + (mips_cpu_info_table): Add ASE_LOONGSON_CAM for loongson3a. + (md_show_usage): Add help for -mloongson-cam and + -mno-loongson-cam. + * doc/as.texi: Document -mloongson-cam, -mno-loongson-cam. + * doc/c-mips.texi: Document -mloongson-cam, -mno-loongson-cam, + .set loongson-cam and .set noloongson-cam. + * testsuite/gas/mips/loongson-3a-2.d: Move cam test to ... + * testsuite/gas/mips/loongson-cam.d: Here. Add ISA/ASE + flag verification. + * testsuite/gas/mips/loongson-3a-2.s: Move cam test to ... + * testsuite/gas/mips/loongson-cam.s: Here. + * testsuite/gas/mips/loongson-3a-mmi.d: Add ASE flag. + * testsuite/gas/mips/mips.exp: Run loongson-cam test. + +2018-08-27 H.J. Lu + + * testsuite/gas/i386/i386.exp: Run property-1 and + x86-64-property-1. + * testsuite/gas/i386/property-1.d: New file. + * testsuite/gas/i386/property-1.s: Likewise. + * testsuite/gas/i386/x86-64-property-1.d: Likewise. + +2018-08-23 Kito Cheng + + * config/tc-riscv.c (arg_lookup): Checking + length before look up. + * testsuite/gas/riscv/fence-fail.d: New file. + * testsuite/gas/riscv/fence-fail.l: Likewise. + * testsuite/gas/riscv/fence-fail.s: Likewise. + * testsuite/gas/riscv/rouding-fail.d: Likewise. + * testsuite/gas/riscv/rouding-fail.l: Likewise. + * testsuite/gas/riscv/rouding-fail.s: Likewise. + +2018-08-23 H.J. Lu + + PR ld/23536 + * Makefile.am (development.exp): New target. + (EXTRA_DEJAGNU_SITE_CONFIG): New. + (DISTCLEANFILES): Add development.exp. + * Makefile.in: Regenerated. + +2018-08-22 Alan Modra + + * dw2gencfi.c (emit_expr_encoded, output_fde): Warning fixes. + +2018-08-21 Arnold Metselaar + + * config/tc-z80.c: Correct treatment of undocumented instruction + sli/sll. + (emit_mr): Add argument unportable. + (emit_bit): Adapt call to emit_mr. + (emit_mr_z80): New function. + (emit_mr_unport): New function. + (instab[]): Replace emit_mr with emit_mr_z80 or emit_mr_unportable + as appropriate. + +2018-08-21 Andreas Schwab + + * read.c (do_repeat_with_expander): Use memmove instead of strcpy + on unterminated string buffer. + +2018-08-21 Alan Modra + + * config/tc-ppc.c (md_assemble): Delay counting of optional + operands until one is encountered. Allow for the possibility + of optional base regs, ie. PPC_OPERAND_PARENS. Call + ppc_optional_operand_value with extra args. + +2018-08-21 Alan Modra + + * testsuite/gas/s12z/bit-manip-invalid.d: Correct regexps. + +2018-08-18 John Darrington + + * testsuite/gas/s12z/bit-manip-invalid.d: New file. + * testsuite/gas/s12z/bit-manip-invalid.s: New file. + * testsuite/gas/s12z/s12z.exp: Add them. + +2018-08-14 H.J. Lu + + * testsuite/gas/i386/evex-no-scale-64.d: Updated. + * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise. + * testsuite/gas/i386/x86-64-addr32.d: Likewise. + * testsuite/gas/i386/ilp32/x86-64-addr32-intel.d: Likewise. + * testsuite/gas/i386/ilp32/x86-64-addr32.d: Likewise. + * testsuite/gas/i386/x86-64-addr32.s: Add %eiz tests. + +2018-08-14 Robert Yang + + * as.c (main): Improve check for input file matching output file. + +2018-08-11 H.J. Lu + + * config/tc-i386.c (cpu_arch): Add .cmov and .fxsr. + (cpu_noarch): Add nocmov and nofxsr. + * doc/c-i386.texi: Document cmov and fxsr. + +2018-08-10 H.J. Lu + + * config/tc-i386.c (md_show_usage): Don't display --32/--64/--x32 + if BFD64 is undefined. + * testsuite/gas/i386/i386.exp (gas_bfd64_check): New. + Run code64-inval if gas_bfd64_check fails. + +2018-08-10 H.J. Lu + + * testsuite/gas/i386/evex-no-scale.s: Removed. + * testsuite/gas/i386/evex-no-scale-32.d: Don't use + evex-no-scale.s. + * testsuite/gas/i386/evex-no-scale-64.d: Likewise. + * testsuite/gas/i386/evex-no-scale-32.s: New file. + * testsuite/gas/i386/evex-no-scale-64.s: Likewise. + +2018-08-09 H.J. Lu + + * as.c (show_usage): Display default option for --elf-stt-common=. + +2018-08-09 H.J. Lu + + * config/tc-i386.c (md_show_usage): Display default options. + +2018-08-07 James Patrick Conlon + Nick Clifton + + PR 23481 + * config/tc-pdp11.c (parse_op_noreg): Check for deferred register + addressing before assuming non-deferred addressing. + * testsuite/gas/pdp11/pr23481.s: New test source file. + * testsuite/gas/pdp11/pr23481.d: New test driver file. + * testsuite/gas/pdp11/pdp11.exp: Run the new test. + +2018-08-06 Claudiu Zissulescu + + * config/tc-arc.c (rf16_only): New static variable. + (autodetect_attributes): Check if we are rf16 compliant. + (arc_set_public_attributes): Fix and emit the warning is required. + * testsuite/gas/arc/attr-rf16.d: New file. + * testsuite/gas/arc/attr-rf16.err: Likewise. + * testsuite/gas/arc/attr-rf16.s: Likewise. + +2018-08-06 Claudiu Zissulescu + + * config/tc-arc.c (arc_set_public_attributes): Add + Tag_ARC_ATR_version. + (arc_convert_symbolic_attribute): Likewise. + * testsuite/gas/arc/attr-arc600.d: Update test. + * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise. + * testsuite/gas/arc/attr-arc600_norm.d: Likewise. + * testsuite/gas/arc/attr-arc601.d: Likewise. + * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise. + * testsuite/gas/arc/attr-arc601_mul64.d: Likewise. + * testsuite/gas/arc/attr-arc601_norm.d: Likewise. + * testsuite/gas/arc/attr-arc700.d: Likewise. + * testsuite/gas/arc/attr-arcem.d: Likewise. + * testsuite/gas/arc/attr-archs.d: Likewise. + * testsuite/gas/arc/attr-autodetect-1.d: Likewise. + * testsuite/gas/arc/attr-cpu-a601.d: Likewise. + * testsuite/gas/arc/attr-cpu-a700.d: Likewise. + * testsuite/gas/arc/attr-cpu-em.d: Likewise. + * testsuite/gas/arc/attr-cpu-hs.d: Likewise. + * testsuite/gas/arc/attr-em.d: Likewise. + * testsuite/gas/arc/attr-em4.d: Likewise. + * testsuite/gas/arc/attr-em4_dmips.d: Likewise. + * testsuite/gas/arc/attr-em4_fpuda.d: Likewise. + * testsuite/gas/arc/attr-em4_fpus.d: Likewise. + * testsuite/gas/arc/attr-hs.d: Likewise. + * testsuite/gas/arc/attr-hs34.d: Likewise. + * testsuite/gas/arc/attr-hs38.d: Likewise. + * testsuite/gas/arc/attr-hs38_linux.d: Likewise. + * testsuite/gas/arc/attr-mul64.d: Likewise. + * testsuite/gas/arc/attr-name.d: Likewise. + * testsuite/gas/arc/attr-nps400.d: Likewise. + * testsuite/gas/arc/attr-override-mcpu.d: Likewise. + * testsuite/gas/arc/attr-quarkse_em.d: Likewise. + +2018-08-06 Claudiu Zissulescu + + * config/tc-arc.c (find_opcode_match): Accept uppercase aux-regs + names. + * testsuite/gas/arc/ld2.d: Update test. + * testsuite/gas/arc/taux.d: Likewise. + * testsuite/gas/arc/taux.s: Likewise. + +2018-08-06 Jan Beulich + + * config/tc-i386.c (build_modrm_byte): Use RegIP and RegIZ. + (output_disp): Use RegIP. + (i386_addressing_mode): Drop uses of RegEip and RegEiz. + (i386_index_check): Replace uses of RegEip/RegEiz. + (parse_real_register): Use RegIZ. + * config/tc-i386-intel.c (i386_intel_simplify_register): Use + RegIZ. + * testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust expectations. + +2018-08-05 H.J. Lu + + * testsuite/gas/i386/i386.exp: Run evex-no-scale-32 and + evex-no-scale-64 only for ELF targets. + * testsuite/gas/i386/prefix32.s: Append ".p2align 4,0". + * testsuite/gas/i386/prefix64.s: Likewise. + * testsuite/gas/i386/prefix32.l: Updated. + * testsuite/gas/i386/prefix64.l: Likewise. + +2018-08-05 Alan Modra + + * config/tc-ppc.c (ppc_elf_suffix): Support @notoc. + (ppc_force_relocation, ppc_fix_adjustable): Handle REL24_NOTOC. + +2018-08-03 Dimitar Dimitrov + + * config/tc-pru.c (pru_regname_to_dw2regnum): Return the starting HW + byte-register number. + (pru_frame_initial_instructions): Use byte-numbering for FP index. + * config/tc-pru.h (DWARF2_DEFAULT_RETURN_COLUMN): Use number from + latest GCC. + (DWARF2_CIE_DATA_ALIGNMENT): Set to -1. + +2018-08-03 Jan Beulich + + * config/tc-i386.c (Operand_Mem): Define. + (operand_size_match): Use it. + (check_VecOperands): Likewise. + (i386_att_operand): Likewise. + (swap_2_operands): Also swap flags fields. + * config/tc-i386-intel.c (i386_intel_operand): Likewise. + +2018-08-01 James Patrick Conlon + Nick Clifton + + PR 14480 + * config/tc-pdp11.c (parse_op_noreg): Check for and handle auto + increment deferred. + * testsuite/gas/pdp11/pr14480.d: New test driver file. + * testsuite/gas/pdp11/pr14480.s: New test source file file. + * testsuite/gas/pdp11/pdp11.exp: Run the new test. + +2018-08-01 Nick Clifton + + * config/tc-ns32k.c (addr_mode): Replace "Drop through" comment + with "Fall through" so that it will be recognised by gcc's switch + statment error checker. + +2018-08-01 Alan Modra + + * po/POTFILES.in: Regenerate. + +2018-07-31 Jan Beulich + + * config/tc-i386.c (optimize_encoding): Also handle kandnd, + kandnq, kxord, and kxorq. + * testsuite/gas/i386/optimize-1.s: Add kandn and kxor tests. + * testsuite/gas/i386/optimize-1.d, + testsuite/gas/i386/optimize-4.d, + testsuite/gas/i386/optimize-5.d: Adjust expectations. + +2018-07-31 Jan Beulich + + * config/tc-i386.c (check_VecOperands): Convert masking handling + to switch(), to deal with DYNAMIC_MASKING. + +2018-07-31 Jan Beulich + + * testsuite/gas/i386/inval-avx512f.s: Add invalid zeroing- + masking tests. + * testsuite/gas/i386/inval-avx512f.l: Adjust expectations. + +2018-07-31 Jan Beulich + + * testsuite/gas/i386/sg.s, testsuite/gas/i386/sg.l: New. + * testsuite/gas/i386/i386.exp: Run new test. + * testsuite/gas/i386/avx512f.s, testsuite/gas/i386/avx512f_vl.s, + testsuite/gas/i386/avx512pf.s, + testsuite/gas/i386/x86-64-avx512f.s, + testsuite/gas/i386/x86-64-avx512f_vl.s, + testsuite/gas/i386/x86-64-avx512pf.s: Drop unnessecary operand + size specifiers from scatter/gather insns in Intel mode. + +2018-07-31 Jan Beulich + + * config/tc-i386.c (is_any_vex_encoding): New. + (process_immext, process_suffix): Use it. + (md_assemble): Likewise. Reject DATA_PREFIX with VEX/XOP/EVEX + insn. + * testsuite/gas/i386/prefix32.s, testsuite/gas/i386/prefix32.l, + testsuite/gas/i386/prefix64.s, testsuite/gas/i386/prefix64.l + New. + * testsuite/gas/i386/i386.exp: Run new tests. + +2018-07-31 Jan Beulich + + * config/tc-i386.c (parse_real_register): Use cpuavx512f instead + of cpuvrex. + +2018-07-30 Jan Beulich + + PR gas/23465 + * config/tc-i386.c (output_disp): Restrict scaling. + * testsuite/gas/i386/evex-no-scale.s, + testsuite/gas/i386/evex-no-scale-32.d + testsuite/gas/i386/evex-no-scale-64.d: New. + * testsuite/gas/i386/i386.exp: Run new tests. + +2018-07-30 Andrew Jenner + + * Makefile.am (TARGET_CPU_CFILES): Add entry for C-SKY. + (TARGET_CPU_HFILES, TARGET_ENV_HFILES): Likewise. + * Makefile.in: Regenerated. + * config/tc-csky.c: New file. + * config/tc-csky.h: New file. + * config/te-csky_abiv1.h: New file. + * config/te-csky_abiv1_linux.h: New file. + * config/te-csky_abiv2.h: New file. + * config/te-csky_abiv2_linux.h: New file. + * configure.tgt: Add C-SKY. + * doc/Makefile.am (CPU_DOCS): Add entry for C-SKY. + * doc/Makefile.in: Regenerated. + * doc/all.texi: Set CSKY feature. + * doc/as.texi (Overview): Add C-SKY options. + (Machine Dependencies): Likewise. + * doc/c-csky.texi: New file. + * testsuite/gas/csky/*: New test cases. + * NEWS: Mention the support. + +2018-07-29 John David Anglin + + * config/tc-hppa.c: Include "struc-symbol.h". + (pa_build_unwind_subspace): Use call_info->start_symbol->sy_frag + instead of frag_now for local symbol replacement. + +2018-07-27 Jim Wilson + + * configure.tgt (riscv*): Accept as alias for riscv32*. + +2018-07-26 H.J. Lu + + PR gas/23453 + * config/tc-i386.c (parse_operands): Check for more than 2 + memory references. + * testsuite/gas/i386/inval.s: Add a movsd test with 3 memory + references. + * testsuite/gas/i386/x86-64-inval.s: Likewise. + * testsuite/gas/i386/inval.l: Updated. + * testsuite/gas/i386/x86-64-inval.l: Likewise. + +2018-07-26 H.J. Lu + + * config/tc-i386.c (check_VecOperations): Initialize + broadcast_op.bytes to 0. + +2018-07-26 Alex Chadwick + + * config/tc-ppc.c (md_show_usage): Add -mgekko and -mbroadway. + * doc/as.texi (Target PowerPC options): Add -mgekko and -mbroadway. + * doc/c-ppc.texi (PowerPC-Opts): Likewise. + * testsuite/gas/ppc/broadway.d, + * testsuite/gas/ppc/broadway.s: New test for broadway. + * testsuite/gas/ppc/ppc.exp: Run new test. + +2018-07-26 Alan Modra + + * config/tc-ppc.c (ppc_elf_localentry): Allow .localentry values + of 1 and 7 to directly set value into STO_PPC64_LOCAL_MASK bits. + +2018-07-25 H.J. Lu + + * config/tc-i386.c (Broadcast_Operation): Add bytes. + (build_evex_prefix): Use i.broadcast->bytes. + (match_broadcast_size): New function. + (check_VecOperands): Use the broadcast field to compute the + number of bytes to broadcast directly. Set i.broadcast->bytes. + Use match_broadcast_size. + +2018-07-25 Thomas Preud'homme + + * doc/c-arm.texi (.arch directive): Clarify that name must not include + an extension. + (.cpu directive): Likewise. + +2018-07-24 H.J. Lu + + * config/tc-i386.c (build_vex_prefix): Use unsigned int to + iterate through multi-length vector operands. + (build_evex_prefix): Likewise. + +2018-07-24 Jan Beulich + + * config/tc-i386.c (check_VecOperands): Handle EVEXLIG when + deriving i.memshift. + * testsuite/gas/i386/cvtsi2sX.s, testsuite/gas/i386/cvtsi2sX.l: + New. + * testsuite/gas/i386/i386.exp: Run new test. + * testsuite/gas/i386/avx512f.d, + testsuite/gas/i386/evex-lig256.d, + testsuite/gas/i386/evex-lig512.d,, + testsuite/gas/i386/x86-64-avx512f.d, + testsuite/gas/i386/x86-64-evex-lig256.d, + testsuite/gas/i386/x86-64-evex-lig512.d: Adjust expectations. + +2018-07-23 H.J. Lu + + * testsuite/gas/i386/inval-avx512f.s: Add a test for missing + broadcast. + * testsuite/gas/i386/x86-64-inval-avx512f.s: Likewise. + * testsuite/gas/i386/inval-avx512f.l: Updated. + * testsuite/gas/i386/x86-64-inval-avx512f.l: Likewise. + +2018-07-23 H.J. Lu + + * config/tc-i386.c (i386_error): Remove + broadcast_not_on_src_operand. + (match_template): Likewse. + +2018-07-23 Claudiu Zissulescu + + * testsuite/gas/arc/st.d: Fix test. + +2018-07-23 Claudiu Zissulescu + + * config/tc-arc.c (tokenize_extinsn): Convert to lower case the + name of extension instructions. + * testsuite/gas/arc/textinsn_case.d: New file. + * testsuite/gas/arc/textinsn_case.s: Likewise. + +2018-07-22 H.J. Lu + + * config/tc-i386.c (build_vex_prefix): Determine vector + length from the last multi-length vector operand. + (build_evex_prefix): Likewise. + +2018-07-20 H.J. Lu + + * config/tc-i386.c (match_simd_size): Break long line. + (match_mem_size): Likewise. + +2018-07-20 H.J. Lu + + * config/tc-i386.c (match_reg_size): Renamed to ... + (match_operand_size): This. Update comments. + (match_simd_size): Update comments. Replace match_reg_size + with match_operand_size. + (match_mem_size): Likewise. + (operand_size_match): Replace match_reg_size with + match_operand_size. + +2018-07-20 Chenghua Xu + Maciej W. Rozycki + + * NEWS: Mention MultiMedia extensions Instructions (MMI) + support. + * config/tc-mips.c (options): Add OPTION_LOONGSON_MMI and + OPTION_NO_LOONGSON_MMI. + (md_longopts): Likewise. + (mips_ases): Define availability for MMI. + (mips_convert_ase_flags): Map ASE_LOONGSON_MMI to + AFL_ASE_LOONGSON_MMI. + (mips_cpu_info_table): Add ASE_LOONGSON_MMI for loongson2f/3a. + (md_show_usage): Add help for -mloongson-mmi and + -mno-loongson-mmi. + * doc/as.texi: Document -mloongson-mmi, -mno-loongson-mmi. + * doc/c-mips.texi: Document -mloongson-mmi, -mno-loongson-mmi, + .set loongson-mmi and .set noloongson-mmi. + * testsuite/gas/mips/loongson-2f.d: Move mmi test to ... + * testsuite/gas/mips/loongson-2f-mmi.d: Here. Add ISA/ASE + flag verification. + * testsuite/gas/mips/loongson-2f.s: Move mmi test to ... + * testsuite/gas/mips/loongson-2f-mmi.s: Here. + * testsuite/gas/mips/loongson-3a.d: Move mmi test to ... + * testsuite/gas/mips/loongson-3a-mmi.d: Here. Add ISA/ASE + flag verification. + * testsuite/gas/mips/loongson-3a.s: Move mmi test to ... + * testsuite/gas/mips/loongson-3a-mmi.s: Here. + * testsuite/gas/mips/mips.exp: Run loongson-2f-mmi and + loongson-3a-mmi tests. + +2018-07-20 Jose E. Marchesi + Rainer Orth + + * testsuite/gas/sparc/sparc.exp (set_tests_arch): New proc. + Prefix v9c, v9d, v9v, v9m, v9m8 tests with corresponding + set_tests_arch. + +2018-07-19 Jan Beulich + + * config/tc-i386.c (build_evex_prefix): Derive vector length + from broadcast specification if necessary. + (match_template): Also exclude broadcast when checking whether + to reject 32-bit operands on pre-386. + +2018-07-19 Jan Beulich + + * testsuite/gas/i386/noavx512-2.l: Adjust expectations. + +2018-07-19 Jan Beulich + + * config/tc-i386.c (is_evex_encoding): Also check disp8memshift. + (optimize_encoding): Also cover templates without cpuavx512vl + allowing for zmmword and having a ymmword actual. + (check_VecOperands): Handle DISP8_SHIFT_VL. + * testsuite/gas/i386/noavx512-2.l: Adjust expectations. + +2018-07-18 Maciej W. Rozycki + + * testsuite/gas/mips/loongson-2e.d: Correct whitespace issues. + * testsuite/gas/mips/loongson-2f.d: Likewise. + * testsuite/gas/mips/loongson-2f-2.d: Likewise. + * testsuite/gas/mips/loongson-2f-3.d: Likewise. + * testsuite/gas/mips/loongson-3a.d: Likewise. + * testsuite/gas/mips/loongson-3a-2.d: Likewise. + * testsuite/gas/mips/loongson-2e.s: Likewise. + * testsuite/gas/mips/loongson-2f.s: Likewise. + * testsuite/gas/mips/loongson-2f-3.s: Likewise. + * testsuite/gas/mips/loongson-3a.s: Likewise. + * testsuite/gas/mips/loongson-3a-2.s: Likewise. + +2018-07-18 H.J. Lu + + PR gas/23418 + * testsuite/gas/i386/xmmword.s: Add tests for vcvtps2qq, + vcvtps2uqq, vcvttps2qq and vcvttps2uqq. + * testsuite/gas/i386/xmmword.l: Updated. + +2018-07-16 Jan Beulich + + * config/tc-i386.c (match_reg_size): Split second parameter + into two. + (match_simd_size): Likewise. + (match_mem_size): Likewise. + (MATCH_STRAIGHT, MATCH_REVERSE): Define. + (operand_size_match): Change return type. New local variable + "match". Always check for reverse match when opcode_modifier.d + is set. + (match_template) New local variable "size_match". Skip further + matching if operand_size_match() did not report a respective + match. + * testsuite/gas/i386/inval.s: Add control register reads/writes. + * testsuite/gas/i386/inval.l: Adjust expectations. + +2018-07-13 Nick Clifton + + * testsuite/gas/elf/missing-build-notes.s: New test. Checks that + relocs are correctly generated for missing build notes. + * testsuite/gas/elf/missing-build-notes.d: New file. Expected + output from objdump. + * testsuite/gas/elf/elf.exp: Run the new test. + +2018-07-13 Nick Clifton + + * config/tc-arm.c (do_neon_mov): When converting an integer + immediate into a floating point value, check that the conversion + is valid. Also warn if the immediate is valid as both a floating + point value and a bit pattern. + * testsuite/gas/arm/vfp-mov-enc.s: Add instructions that use + floating point bit patterns. + * testsuite/gas/arm/vfp-mov-enc.d: Add regexps for the disassembly + of the new insns. + +2018-07-12 Sudakshina Das + + * testsuite/gas/aarch64/system.s: Add test for ssbb + and pssbb. + * testsuite/gas/aarch64/system.d: Update accordingly + and remove explicit addresses. + +2018-07-11 Tamar Christina + + PR binutils/23192 + * testsuite/gas/aarch64/illegal-by-element.s: New. + * testsuite/gas/aarch64/illegal-by-element.d: New. + * testsuite/gas/aarch64/illegal-by-element.l: New. + +2018-07-11 Sudakshina Das + + * config/tc-arm.c (insns): Add new ssbb and pssbb instructions. + * testsuite/gas/arm/csdb.s: Add new tests for ssbb and pssbb. + * testsuite/gas/arm/csdb.d: Likewise + * testsuite/gas/arm/thumb2_it_bad.s: Likewise. + * testsuite/gas/arm/thumb2_it_bad.l: Likewise. + * testsuite/gas/arm/barrier.d: Update with ssbb. + * testsuite/gas/arm/barrier-thumb.d: Likewise. + +2018-07-11 Jan Beulich + + * config/tc-i386.c (inoutportreg, reg16_inoutportreg): Delete. + (i386_att_operand): Replace uses of reg16_inoutportreg and + inoutportreg. + +2018-07-11 Jan Beulich + + * config/tc-i386.c (output_insn): Remove check_prefix label and + fold remaining expression. + +2018-07-11 Jan Beulich + + * testsuite/gas/i386/cet.s, testsuite/gas/i386/x86-64-cet.s: + Add Intel cases with operand size specifiers. + * testsuite/gas/i386/cet-intel.d, testsuite/gas/i386/cet.d, + testsuite/gas/i386/x86-64-cet-intel.d, + testsuite/gas/i386/x86-64-cet.d: Adjust expectations. + +2018-07-11 Jan Beulich + + * config/tc-i386.c (md_assemble): Also replace an already + present REP prefix. + * testsuite/gas/i386/mpx-add-bnd-prefix.s, + testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.s: Test RET with + all REP flavors. + * testsuite/gas/i386/mpx-add-bnd-prefix.d, + testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d: Adjust + expectations. + * testsuite/gas/i386/mpx-add-bnd-prefix.e, + testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.e: New. + +2018-07-09 Jeff Law + + * testsuite/nds32/ji-jr.d: Fix name tag. + +2018-07-06 Tamar Christina + + PR binutils/23369 + * testsuite/gas/aarch64/msr.d (csselr_el1, + vsesr_el2, osdtrrx_el1, osdtrtx_el1, pmsidr_el1): New. + * testsuite/gas/aarch64/msr.s: Likewise. + +2018-07-06 Nick Clifton + + * write.c (maybe_generate_build_notes): Bias reloc offsets by the + number of notes already generated. + +2018-07-05 Nick Clifton + + * po/ru.po: Updated Russian translation. + +2018-07-02 Maciej W. Rozycki + + * config/tc-mips.c (macro_build) <'i', 'j'>: Also accept + BFD_RELOC_16, BFD_RELOC_MIPS_GOT16, BFD_RELOC_MIPS_CALL16, + BFD_RELOC_MIPS_GOT_HI16, BFD_RELOC_MIPS_GOT_LO16, + BFD_RELOC_MIPS_CALL_HI16, BFD_RELOC_MIPS_CALL_LO16, + BFD_RELOC_MIPS_SUB, BFD_RELOC_MIPS_GOT_PAGE, + BFD_RELOC_MIPS_HIGHEST, BFD_RELOC_MIPS_GOT_DISP, + BFD_RELOC_MIPS_TLS_GD, BFD_RELOC_MIPS_TLS_LDM, + BFD_RELOC_MIPS_TLS_DTPREL_HI16, BFD_RELOC_MIPS_TLS_DTPREL_LO16, + BFD_RELOC_MIPS_TLS_GOTTPREL, BFD_RELOC_MIPS_TLS_TPREL_HI16 and + BFD_RELOC_MIPS_TLS_TPREL_LO16 relocations if in the microMIPS + mode. + * testsuite/gas/mips/elf-rel28-lldscd-n32.d: New test. + * testsuite/gas/mips/elf-rel28-lldscd-micromips-n32.d: New test. + * testsuite/gas/mips/elf-rel28-lldscd-n64.d: New test. + * testsuite/gas/mips/elf-rel28-lldscd-micromips-n64.d: New test. + * testsuite/gas/mips/elf-rel28.s: Add instruction selection. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2018-07-02 Maciej W. Rozycki + + * testsuite/gas/mips/elf-rel28-micromips-n32.d: New test. + * testsuite/gas/mips/elf-rel28-micromips-n64.d: New test. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2018-07-02 Thomas Preud'homme + + * config/tc-arm.c (cpu_arch_ver): Use symbolic TAG_CPU_ARCH macros + rather than hardcode their values. + +2018-07-02 Thomas Preud'homme + + * NEWS: Use command-line consistently when used in a compount word. + * doc/as.texi: Likewise. + * doc/c-aarch64.texi: Likewise. + * doc/c-alpha.texi: Likewise. + * doc/c-arc.texi: Likewise. + * doc/c-arm.texi: Likewise. + * doc/c-avr.texi: Likewise. + * doc/c-bfin.texi: Likewise. + * doc/c-cris.texi: Likewise. + * doc/c-epiphany.texi: Likewise. + * doc/c-i386.texi: Likewise. + * doc/c-ia64.texi: Likewise. + * doc/c-lm32.texi: Likewise. + * doc/c-m32r.texi: Likewise. + * doc/c-m68k.texi: Likewise. + * doc/c-mips.texi: Likewise. + * doc/c-mmix.texi: Likewise. + * doc/c-msp430.texi: Likewise. + * doc/c-mt.texi: Likewise. + * doc/c-nios2.texi: Likewise. + * doc/c-ppc.texi: Likewise. + * doc/c-pru.texi: Likewise. + * doc/c-rl78.texi: Likewise. + * doc/c-rx.texi: Likewise. + * doc/c-tic6x.texi: Likewise. + * doc/c-v850.texi: Likewise. + * doc/c-vax.texi: Likewise. + * doc/c-visium.texi: Likewise. + * doc/c-xstormy16.texi: Likewise. + * doc/c-xtensa.texi: Likewise. + * doc/c-z80.texi: Likewise. + * doc/c-z8k.texi: Likewise. + * doc/internals.texi: Likewise. + +2018-06-29 Jim Wilson + + * config/tc-riscv.c (md_begin): Call hash_reg_name for "fp". + +2018-06-29 Ramana Radhakrishnan + + * config/tc-aarch64.c (warn_unpredictable_ldst): Add unpredictable + cases for ldxp, stlxrb, stlxrh, stlxr. + * testsuite/gas/aarch64/diagnostic.s: New tests. + * testsuite/gas/aarch64/diagnostic.l: Adjust. + +2018-06-29 Tamar Christina + + PR binutils/23192 + * config/tc-aarch64.c (process_omitted_operand, parse_operands): Add + AARCH64_OPND_Em16 + * testsuite/gas/aarch64/advsimd-armv8_3.s: Expand tests to cover upper + 16 registers. + * testsuite/gas/aarch64/advsimd-armv8_3.d: Likewise. + * testsuite/gas/aarch64/advsimd-compnum.s: Likewise. + * testsuite/gas/aarch64/advsimd-compnum.d: Likewise. + * testsuite/gas/aarch64/sve.d: Likewise. + +2018-06-27 Alan Modra + + * configure.ac: Specify extra_objects with leading "config/" + for xtensa-relax.o and te-vms.o. Use case statements to unique + extra_objects. Formatting. + * configure: Regenerate. + +2018-06-26 Nick Clifton + + * po/uk.po: Updated Ukranian translation. + +2018-06-26 Nick Clifton + + PR 23335 + * config/tc-msp430.c (check_reg): Only accept register name + strings that do not end in an alphanumeric character. + * testsuite/gas/msp430/msp430x.d: Update expected disassembly. + +2018-06-24 Nick Clifton + + * configure: Regenerate. + * po/gas.pot: Regenerate. + +2018-06-24 Nick Clifton + + 2.31 branch created. + * NEWS: Add marker for 2.31. + +2018-06-22 Tamar Christina + + * testsuite/gas/aarch64/addsub.s: Add negs to zero reg test. + * testsuite/gas/aarch64/addsub.d: Likewise. + +2018-06-21 Alan Modra + + * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign". + * doc/Makefile.in: Regenerate. + +2018-06-20 Nick Clifton + + PR 21458 + * tc-arm.c (do_adr): Only set the bottom bit of an imported thumb + function symbol address if -mthumb-interwork is active. + (do_adrl): Likewise. + * doc/c-arm.texi: Update descriptions of the -mthumb-interwork + option and the ADR and ADRL pseudo-ops. + * NEWS: Mention the new behaviour of the ADR and ADRL pseudo-ops. + * testsuite/gas/arm/pr21458.d: Add -mthumb-interwork option to + assembler command line. + * testsuite/gas/arm/adr.d: Likewise. + * testsuite/gas/arm/adrl.d: Likewise. + +2018-06-20 Sebastian Huber + + PR gas/23305 + * config/tc-riscv.c (riscv_ip): Add format specifier 'B' for + constants and symbols. + * testsuite/gas/riscv/lla32.d: New file. + * testsuite/gas/riscv/lla32.s: Likewise. + * testsuite/gas/riscv/lla64-fail.d: Likewise. + * testsuite/gas/riscv/lla64-fail.l: Likewise. + * testsuite/gas/riscv/lla64-fail.s: Likewise. + * testsuite/gas/riscv/lla64.d: Likewise. + * testsuite/gas/riscv/lla64.s: Likewise. + +2018-06-19 Simon Marchi + + * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11, add subdir-objects. + (TARG_CPU_O, OBJ_FORMAT_O, ATOF_TARG_O): Add config/ prefix. + * configure.ac (TARG_CPU_O, OBJ_FORMAT_O, ATOF_TARG_O, emfiles, + extra_objects): Add config/ prefix. + * doc/as.texinfo: Rename to... + * doc/as.texi: ... this. + * doc/Makefile.am: Rename as.texinfo to as.texi throughout. + Remove DISTCLEANFILES hack. + (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add no-texinfo.tex and + info-in-builddir. + * Makefile.in: Re-generate. + * aclocal.m4: Re-generate. + * config.in: Re-generate. + * configure: Re-generate. + * doc/Makefile.in: Re-generate. + +2018-06-14 Faraz Shahbazker + + * NEWS: Mention MIPS Global INValidate ASE support. + * config/tc-mips.c (options): Add OPTION_GINV and OPTION_NO_GINV. + (md_longopts): Likewise. + (mips_ases): Define availability for GINV. + (mips_convert_ase_flags): Map ASE_GINV to AFL_ASE_GINV. + (md_show_usage): Add help for -mginv and -mno-ginv. + * doc/as.texinfo: Document -mginv, -mno-ginv. + * doc/c-mips.texi: Document -mginv, -mno-ginv, .set ginv and + .set noginv. + * testsuite/gas/mips/ase-errors-1.s: Add error checks for GINV + ASE. + * testsuite/gas/mips/ase-errors-2.s: Likewise. + * testsuite/gas/mips/ase-errors-1.l: Likewise. + * testsuite/gas/mips/ase-errors-2.l: Likewise. + * testsuite/gas/mips/ginv.d: New test. + * testsuite/gas/mips/ginv-err.d: New test. + * testsuite/gas/mips/ginv-err.l: New test stderr output. + * testsuite/gas/mips/ginv.s: New test source. + * testsuite/gas/mips/ginv-err.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2018-06-13 Scott Egerton + Faraz Shahbazker + Maciej W. Rozycki + + * NEWS: Mention CRC ASE support. + * config/tc-mips.c (options): Add OPTION_CRC and OPTION_NO_CRC. + (md_longopts): Likewise. + (md_show_usage): Add help for -mcrc and -mno-crc. + (mips_ases): Define availability for CRC and CRC64. + (mips_convert_ase_flags): Map ASE_CRC to AFL_ASE_CRC. + * doc/as.texinfo: Document -mcrc, -mno-crc. + * doc/c-mips.texi: Document -mcrc, -mno-crc, .set crc and + .set no-crc. + * testsuite/gas/mips/ase-errors-1.l: Add error checks for CRC + ASE. + * testsuite/gas/mips/ase-errors-2.l: Likewise. + * testsuite/gas/mips/ase-errors-1.s: Likewise. + * testsuite/gas/mips/ase-errors-2.s: Likewise. + * testsuite/gas/mips/crc.d: New test. + * testsuite/gas/mips/crc64.d: New test. + * testsuite/gas/mips/crc-err.d: New test. + * testsuite/gas/mips/crc64-err.d: New test. + * testsuite/gas/mips/crc-err.l: New test stderr output. + * testsuite/gas/mips/crc64-err.l: New test stderr output. + * testsuite/gas/mips/crc.s: New test source. + * testsuite/gas/mips/crc64.s: New test source. + * testsuite/gas/mips/crc-err.s: New test source. + * testsuite/gas/mips/crc64-err.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2018-06-11 Maciej W. Rozycki + + * config/tc-mips.c (md_show_usage): Correct help text for `-O0' + and `-O'. Mention `-O1'. Add `-O2' and its description. + +2018-06-08 Kyrylo Tkachov + + * config/tc-arm.c (arm_cpus): Add Cortex-A76 entry. + * doc/c-arm.texi (-mcpu): Document cortex-a76. + +2018-06-08 Kyrylo Tkachov + + * config/tc-aarch64.c (aarch64_cpus): Add Cortex-A76 entry. + * doc/c-aarch64.texi (-mcpu): Document cortex-a76. + +2018-06-08 Egeyar Bagcioglu + + PR 20319 + * testsuite/gas/aarch64/illegal-3.s: Test if unallocated FMOV encodings + are detected as undefined. + * testsuite/gas/aarch64/illegal-3.d: Likewise. + * testsuite/gas/aarch64/illegal.s: Test if FMOV instructions that are + changing the size from 32 bits to 64 bits and vice versa trigger an + error. + * testsuite/gas/aarch64/illegal.l: Likewise. + +2018-06-08 Tamar Christina + + PR binutils/21446 + * tc-aarch64.c (record_operand_error, record_operand_error_with_data): + Initialize non_fatal. + +2018-06-06 Sameera Deshpande + + * config/tc-aarch64.c (aarch64_cpus): Add support of ARMv8.4 in + saphira. + +2018-06-05 Alan Modra + + * Makefile.in: Regenerate. + +2018-06-04 Volodymyr Arbatov + + * config/tc-xtensa.c (elf32xtensa_separate_props): New + declaration. + (option_separate_props, option_no_separate_props): New + enumeration constants. + (md_longopts): Add separate-prop-tables option. + (md_parse_option): Add cases for option_separate_props and + option_no_separate_props. + (md_show_usage): Add help for [no-]separate-prop-tables options. + +2018-06-01 H.J. Lu + + * configure: Regenerated. + +2018-06-01 Alexandre Oliva + + * dwarf2dbg.c (dwarf2_consume_line_info): Drop view. + +2018-06-01 Jan Beulich + + * testsuite/gas/i386/ilp32/x86-64-opcode.d, + testsuite/gas/i386/x86-64-opcode.d: Adjust expectations. + +2018-06-01 Jan Beulich + + * config/tc-i386.c (add_prefix): Check REX bits individually. + * testsuite/gas/i386/rex.s: Add tests for overriding individual + REX bits, including when others are already set. + * testsuite/gas/i386/ilp32/rex.d, testsuite/gas/i386/rex.d: + Adjust expectations. + +2018-06-01 Jan Beulich + + * config/tc-i386.c (control): Delete. + (parse_real_register): Simply check "control" bit. Re-wrap. + +2018-06-01 Jan Beulich + + * config/tc-i386.c (build_modrm_byte): Drop REX_B from condition + checking for the need of emitting LOCK. Check "control" bit just + once. + +2018-06-01 Jan Beulich + + * testsuite/gas/i386/invpcid.s, + testsuite/gas/i386/x86-64-invpcid.s: Add test with explicit + "oword ptr". + * testsuite/gas/i386/invpcid.d, + testsuite/gas/i386/invpcid-intel.d, + testsuite/gas/i386/x86-64-invpcid.d, + testsuite/gas/i386/x86-64-invpcid-intel.d: Adjust expectations. + +2018-05-30 Amit Pawar + + * config/tc-i386.c (cpu_flag_init): Add CPU_ZNVER2_FLAGS. + * doc/c-i386.texi : Document znver2. + * gas/testsuite/gas/i386/arch-13.s: Updated for znver2. + * gas/testsuite/gas/i386/arch-13.d: Updated. + * gas/testsuite/gas/i386/arch-13-znver1.d: Updated. + * gas/testsuite/gas/i386/arch-13-znver2.d: New file. + * gas/testsuite/gas/i386/x86-64-arch-3.s: Updated for znver2. + * gas/testsuite/gas/i386/x86-64-arch-3.d: Updated. + * gas/testsuite/gas/i386/x86-64-arch-3-znver1.d: Updated. + * gas/testsuite/gas/i386/x86-64-arch-3-znver2.d: New file. + * gas/testsuite/gas/i386/i386.exp: Updated for new test. + +2018-05-25 Alan Modra + + * po/POTFILES.in: Regenerate. + +2018-05-24 Jim Wilson + + PR gas/23219 + * config/tc-riscv.c (riscv_frag_align_code): Move frag_more call after + !riscv_opts.relax check. + (riscv_handle_align): Rewrite !riscv_opts.relax support. + * config/tc-riscv (MAX_MEM_FOR_RS_ALIGN_CODE): Update. + * testsuite/gas/riscv/no-relax-align.d: New + * testsuite/gas/riscv/no-relax-align.s: New + * testsuite/gas/riscv/no-relax-align-2.d: New + * testsuite/gas/riscv/no-relax-align-2.s: New + +2018-05-21 Peter Bergner + + * config/tc-ppc.c (md_assemble): Delete handling of fake operands. + * testsuite/gas/ppc/common.s (crmove, cror, or., or, nor., nor): Add + test of extended mnemonics. + * testsuite/gas/ppc/common.d: Likewise. Don't match instruction offset. + * testsuite/gas/ppc/spe.s (evor, evnor): Add test of extended mnemonics. + * testsuite/gas/ppc/spe.d: Likewise. Don't match instruction offset. + +2018-05-18 Kito Cheng + Monk Chiang + Jim Wilson + + * config/tc-riscv.c (rve_abi): New. + (riscv_set_options): Add rve field. Initialize it. + (riscv_set_rve) New function. + (riscv_set_arch): Support 'e' ISA subset. + (reg_lookup_internal): If rve, check register is available. + (riscv_set_abi): New parameter rve. + (md_parse_option): Pass new argument to riscv_set_abi. + (riscv_after_parse_args): Call riscv_set_rve. If rve_abi, set + EF_RISCV_RVE. + * doc/c-riscv.texi (-mabi): Document new ilp32e argument. + +2018-05-18 John Darrington + + * Makefile.am: Add support for s12z target. + * Makefile.in: Regenerate. + * NEWS: Mention the new support. + * config/tc-s12z.c: New file. + * config/tc-s12z.h: New file. + * configure.tgt: Add s12z support. + * doc/Makefile.am: Likewise. + * doc/Makefile.in: Regenerate. + * doc/all.texi: Add s12z documentation. + * doc/as.textinfo: Likewise. + * doc/c-s12z.texi: New file. + * testsuite/gas/s12z: New directory. + * testsuite/gas/s12z/abs.d: New file. + * testsuite/gas/s12z/abs.s: New file. + * testsuite/gas/s12z/adc-imm.d: New file. + * testsuite/gas/s12z/adc-imm.s: New file. + * testsuite/gas/s12z/adc-opr.d: New file. + * testsuite/gas/s12z/adc-opr.s: New file. + * testsuite/gas/s12z/add-imm.d: New file. + * testsuite/gas/s12z/add-imm.s: New file. + * testsuite/gas/s12z/add-opr.d: New file. + * testsuite/gas/s12z/add-opr.s: New file. + * testsuite/gas/s12z/and-imm.d: New file. + * testsuite/gas/s12z/and-imm.s: New file. + * testsuite/gas/s12z/and-opr.d: New file. + * testsuite/gas/s12z/and-opr.s: New file. + * testsuite/gas/s12z/and-or-cc.d: New file. + * testsuite/gas/s12z/and-or-cc.s: New file. + * testsuite/gas/s12z/bfext-special.d: New file. + * testsuite/gas/s12z/bfext-special.s: New file. + * testsuite/gas/s12z/bfext.d: New file. + * testsuite/gas/s12z/bfext.s: New file. + * testsuite/gas/s12z/bit-manip.d: New file. + * testsuite/gas/s12z/bit-manip.s: New file. + * testsuite/gas/s12z/bit.d: New file. + * testsuite/gas/s12z/bit.s: New file. + * testsuite/gas/s12z/bra-expression-defined.d: New file. + * testsuite/gas/s12z/bra-expression-defined.s: New file. + * testsuite/gas/s12z/bra-expression-undef.d: New file. + * testsuite/gas/s12z/bra-expression-undef.s: New file. + * testsuite/gas/s12z/bra.d: New file. + * testsuite/gas/s12z/bra.s: New file. + * testsuite/gas/s12z/brclr-symbols.d: New file. + * testsuite/gas/s12z/brclr-symbols.s: New file. + * testsuite/gas/s12z/brset-clr-opr-imm-rel.d: New file. + * testsuite/gas/s12z/brset-clr-opr-imm-rel.s: New file. + * testsuite/gas/s12z/brset-clr-opr-reg-rel.d: New file. + * testsuite/gas/s12z/brset-clr-opr-reg-rel.s: New file. + * testsuite/gas/s12z/brset-clr-reg-imm-rel.d: New file. + * testsuite/gas/s12z/brset-clr-reg-imm-rel.s: New file. + * testsuite/gas/s12z/brset-clr-reg-reg-rel.d: New file. + * testsuite/gas/s12z/brset-clr-reg-reg-rel.s: New file. + * testsuite/gas/s12z/clb.d: New file. + * testsuite/gas/s12z/clb.s: New file. + * testsuite/gas/s12z/clr-opr.d: New file. + * testsuite/gas/s12z/clr-opr.s: New file. + * testsuite/gas/s12z/clr.d: New file. + * testsuite/gas/s12z/clr.s: New file. + * testsuite/gas/s12z/cmp-imm.d: New file. + * testsuite/gas/s12z/cmp-imm.s: New file. + * testsuite/gas/s12z/cmp-opr-inc.d: New file. + * testsuite/gas/s12z/cmp-opr-inc.s: New file. + * testsuite/gas/s12z/cmp-opr-rdirect.d: New file. + * testsuite/gas/s12z/cmp-opr-rdirect.s: New file. + * testsuite/gas/s12z/cmp-opr-reg.d: New file. + * testsuite/gas/s12z/cmp-opr-reg.s: New file. + * testsuite/gas/s12z/cmp-opr-rindirect.d: New file. + * testsuite/gas/s12z/cmp-opr-rindirect.s: New file. + * testsuite/gas/s12z/cmp-opr-sxe4.d: New file. + * testsuite/gas/s12z/cmp-opr-sxe4.s: New file. + * testsuite/gas/s12z/cmp-opr-xys.d: New file. + * testsuite/gas/s12z/cmp-opr-xys.s: New file. + * testsuite/gas/s12z/cmp-s-imm.d: New file. + * testsuite/gas/s12z/cmp-s-imm.s: New file. + * testsuite/gas/s12z/cmp-s-opr.d: New file. + * testsuite/gas/s12z/cmp-s-opr.s: New file. + * testsuite/gas/s12z/cmp-xy.d: New file. + * testsuite/gas/s12z/cmp-xy.s: New file. + * testsuite/gas/s12z/com-opr.d: New file. + * testsuite/gas/s12z/com-opr.s: New file. + * testsuite/gas/s12z/complex-shifts.d: New file. + * testsuite/gas/s12z/complex-shifts.s: New file. + * testsuite/gas/s12z/db-tb-cc-opr.d: New file. + * testsuite/gas/s12z/db-tb-cc-opr.s: New file. + * testsuite/gas/s12z/db-tb-cc-reg.d: New file. + * testsuite/gas/s12z/db-tb-cc-reg.s: New file. + * testsuite/gas/s12z/dbCC.d: New file. + * testsuite/gas/s12z/dbCC.s: New file. + * testsuite/gas/s12z/dec-opr.d: New file. + * testsuite/gas/s12z/dec-opr.s: New file. + * testsuite/gas/s12z/dec.d: New file. + * testsuite/gas/s12z/dec.s: New file. + * testsuite/gas/s12z/div.d: New file. + * testsuite/gas/s12z/div.s: New file. + * testsuite/gas/s12z/eor.d: New file. + * testsuite/gas/s12z/eor.s: New file. + * testsuite/gas/s12z/exg.d: New file. + * testsuite/gas/s12z/exg.s: New file. + * testsuite/gas/s12z/ext24-ld-xy.d: New file. + * testsuite/gas/s12z/ext24-ld-xy.s: New file. + * testsuite/gas/s12z/inc-opr.d: New file. + * testsuite/gas/s12z/inc-opr.s: New file. + * testsuite/gas/s12z/inc.d: New file. + * testsuite/gas/s12z/inc.s: New file. + * testsuite/gas/s12z/inh.d: New file. + * testsuite/gas/s12z/inh.s: New file. + * testsuite/gas/s12z/jmp.d: New file. + * testsuite/gas/s12z/jmp.s: New file. + * testsuite/gas/s12z/jsr.d: New file. + * testsuite/gas/s12z/jsr.s: New file. + * testsuite/gas/s12z/ld-imm-page2.d: New file. + * testsuite/gas/s12z/ld-imm-page2.s: New file. + * testsuite/gas/s12z/ld-imm.d: New file. + * testsuite/gas/s12z/ld-imm.s: New file. + * testsuite/gas/s12z/ld-immu18.d: New file. + * testsuite/gas/s12z/ld-immu18.s: New file. + * testsuite/gas/s12z/ld-large-direct.d: New file. + * testsuite/gas/s12z/ld-large-direct.s: New file. + * testsuite/gas/s12z/ld-opr.d: New file. + * testsuite/gas/s12z/ld-opr.s: New file. + * testsuite/gas/s12z/ld-s-opr.d: New file. + * testsuite/gas/s12z/ld-s-opr.s: New file. + * testsuite/gas/s12z/ld-small-direct.d: New file. + * testsuite/gas/s12z/ld-small-direct.s: New file. + * testsuite/gas/s12z/lea-immu18.d: New file. + * testsuite/gas/s12z/lea-immu18.s: New file. + * testsuite/gas/s12z/lea.d: New file. + * testsuite/gas/s12z/lea.s: New file. + * testsuite/gas/s12z/mac.d: New file. + * testsuite/gas/s12z/mac.s: New file. + * testsuite/gas/s12z/min-max.d: New file. + * testsuite/gas/s12z/min-max.s: New file. + * testsuite/gas/s12z/mod.d: New file. + * testsuite/gas/s12z/mod.s: New file. + * testsuite/gas/s12z/mov.d: New file. + * testsuite/gas/s12z/mov.s: New file. + * testsuite/gas/s12z/mul-imm.d: New file. + * testsuite/gas/s12z/mul-imm.s: New file. + * testsuite/gas/s12z/mul-opr-opr.d: New file. + * testsuite/gas/s12z/mul-opr-opr.s: New file. + * testsuite/gas/s12z/mul-opr.d: New file. + * testsuite/gas/s12z/mul-opr.s: New file. + * testsuite/gas/s12z/mul-reg.d: New file. + * testsuite/gas/s12z/mul-reg.s: New file. + * testsuite/gas/s12z/mul.d: New file. + * testsuite/gas/s12z/mul.s: New file. + * testsuite/gas/s12z/neg-opr.d: New file. + * testsuite/gas/s12z/neg-opr.s: New file. + * testsuite/gas/s12z/not-so-simple-shifts.d: New file. + * testsuite/gas/s12z/not-so-simple-shifts.s: New file. + * testsuite/gas/s12z/opr-18u.d: New file. + * testsuite/gas/s12z/opr-18u.s: New file. + * testsuite/gas/s12z/opr-expr.d: New file. + * testsuite/gas/s12z/opr-expr.s: New file. + * testsuite/gas/s12z/opr-ext-18.d: New file. + * testsuite/gas/s12z/opr-ext-18.s: New file. + * testsuite/gas/s12z/opr-idx-24-reg.d: New file. + * testsuite/gas/s12z/opr-idx-24-reg.s: New file. + * testsuite/gas/s12z/opr-idx3-reg.d: New file. + * testsuite/gas/s12z/opr-idx3-reg.s: New file. + * testsuite/gas/s12z/opr-idx3-xysp-24.d: New file. + * testsuite/gas/s12z/opr-idx3-xysp-24.s: New file. + * testsuite/gas/s12z/opr-indirect-expr.d: New file. + * testsuite/gas/s12z/opr-indirect-expr.s: New file. + * testsuite/gas/s12z/opr-symbol.d: New file. + * testsuite/gas/s12z/opr-symbol.s: New file. + * testsuite/gas/s12z/or-imm.d: New file. + * testsuite/gas/s12z/or-imm.s: New file. + * testsuite/gas/s12z/or-opr.d: New file. + * testsuite/gas/s12z/or-opr.s: New file. + * testsuite/gas/s12z/p2-mul.d: New file. + * testsuite/gas/s12z/p2-mul.s: New file. + * testsuite/gas/s12z/page2-inh.d: New file. + * testsuite/gas/s12z/page2-inh.s: New file. + * testsuite/gas/s12z/psh-pul.d: New file. + * testsuite/gas/s12z/psh-pul.s: New file. + * testsuite/gas/s12z/qmul.d: New file. + * testsuite/gas/s12z/qmul.s: New file. + * testsuite/gas/s12z/rotate.d: New file. + * testsuite/gas/s12z/rotate.s: New file. + * testsuite/gas/s12z/s12z.exp: New file. + * testsuite/gas/s12z/sat.d: New file. + * testsuite/gas/s12z/sat.s: New file. + * testsuite/gas/s12z/sbc-imm.d: New file. + * testsuite/gas/s12z/sbc-imm.s: New file. + * testsuite/gas/s12z/sbc-opr.d: New file. + * testsuite/gas/s12z/sbc-opr.s: New file. + * testsuite/gas/s12z/shift.d: New file. + * testsuite/gas/s12z/shift.s: New file. + * testsuite/gas/s12z/simple-shift.d: New file. + * testsuite/gas/s12z/simple-shift.s: New file. + * testsuite/gas/s12z/single-ops.d: New file. + * testsuite/gas/s12z/single-ops.s: New file. + * testsuite/gas/s12z/specd6.d: New file. + * testsuite/gas/s12z/specd6.s: New file. + * testsuite/gas/s12z/st-large-direct.d: New file. + * testsuite/gas/s12z/st-large-direct.s: New file. + * testsuite/gas/s12z/st-opr.d: New file. + * testsuite/gas/s12z/st-opr.s: New file. + * testsuite/gas/s12z/st-s-opr.d: New file. + * testsuite/gas/s12z/st-s-opr.s: New file. + * testsuite/gas/s12z/st-small-direct.d: New file. + * testsuite/gas/s12z/st-small-direct.s: New file. + * testsuite/gas/s12z/st-xy.d: New file. + * testsuite/gas/s12z/st-xy.s: New file. + * testsuite/gas/s12z/sub-imm.d: New file. + * testsuite/gas/s12z/sub-imm.s: New file. + * testsuite/gas/s12z/sub-opr.d: New file. + * testsuite/gas/s12z/sub-opr.s: New file. + * testsuite/gas/s12z/tfr.d: New file. + * testsuite/gas/s12z/tfr.s: New file. + * testsuite/gas/s12z/trap.d: New file. + * testsuite/gas/s12z/trap.s: New file. + +2018-05-16 Maciej W. Rozycki + + * tc-nds32.c (md_assemble): Rename `expr' local variable to + `insn_expr'. + +2018-05-15 Tamar Christina + + PR binutils/21446 + * testsuite/gas/aarch64/illegal-sysreg-2.s: Fix pmbidr_el1 test. + * testsuite/gas/aarch64/illegal-sysreg-2.l: Likewise. + * testsuite/gas/aarch64/illegal-sysreg-2.d: Likewise. + * testsuite/gas/aarch64/sysreg-diagnostic.s: New. + * testsuite/gas/aarch64/sysreg-diagnostic.l: New. + * testsuite/gas/aarch64/sysreg-diagnostic.d: New. + +2018-05-15 Tamar Christina + + PR binutils/21446 + * config/tc-aarch64.c (print_operands): Indicate no notes. + (output_operand_error_record): Support non-fatal errors. + (output_operand_error_report, warn_unpredictable_ldst, md_assemble): + Likewise. + +2018-05-15 Tamar Christina + + PR binutils/21446 + * config/tc-aarch64.c (parse_sys_reg): Return register flags. + (parse_operands): Fill in register flags. + +2018-05-14 Nick Clifton + + * write.c (maybe_generate_build_notes): Generate notes on a + per-code-section basis. Skip linkonce sections. + +2018-05-14 Nick Clifton + + PR 23153 + * as.c (main): When checking for an output file that is also an + input file, also check that the inode is not zero. + +2018-05-12 Alan Modra + + * config/tc-score.c (s3_do_macro_bcmp): Don't use fixed size + buffers. + (s3_do_macro_bcmpz): Likewise. + +2018-05-10 Tamar Christina + + * config/tc-aarch64.c (parse_aarch64_imm_float): Remove restrictions. + * testsuite/gas/aarch64/diagnostic.s: Move fmov int test to.. + * testsuite/gas/aarch64/fpmov.s: Here. + * testsuite/gas/aarch64/fpmov.d: Update results with fmov. + * testsuite/gas/aarch64/diagnostic.l: Remove fmov values. + * testsuite/gas/aarch64/sve-invalid.s: Update test files. + * testsuite/gas/aarch64/sve-invalid.l: Likewise + +2018-05-10 Tamar Christina + + * gas/config/tc-arm.c (do_neon_mov): Allow integer literal for float + immediate. + * testsuite/gas/arm/vfp-mov-enc.s: New. + * testsuite/gas/arm/vfp-mov-enc.d: New. + +2018-05-09 Max Filippov + + * config/tc-xtensa.c (xtensa_is_init_fini): New function. + (xtensa_move_literals): Only attempt to assign literal pool to + literals with tc_frag_data.is_literal mark and not in .init or + .fini sections. + Join nested 'if' conditions to simplify function structure. + (xtensa_switch_to_non_abs_literal_fragment): Use + xtensa_is_init_fini to test for .init/.fini sections. + * testsuite/gas/xtensa/all.exp (auto-litpools-3) + (auto-litpools-4, text-section-literals-1): New tests. + * testsuite/gas/xtensa/auto-litpools-3.d: New test results. + * testsuite/gas/xtensa/auto-litpools-3.s: New test source. + * testsuite/gas/xtensa/auto-litpools-4.d: New test results. + * testsuite/gas/xtensa/auto-litpools-4.s: New test source. + * testsuite/gas/xtensa/text-section-literals-1.d: New test results. + * testsuite/gas/xtensa/text-section-literals-1.s: New test source. + +2018-05-09 Dimitar Dimitrov + + * config/tc-pru.c (md_apply_fix): Make LDI32 relocation conformant + to TI ABI. + (pru_assemble_arg_i): Likewise. + (output_insn_ldi32): Likewise. + * testsuite/gas/pru/ldi.d: Update test for the now fixed LDI32. + * gas/config/tc-pru.c (pru_assemble_arg_b): Check imm8 operand range. + * gas/testsuite/gas/pru/illegal2.l: New test. + * gas/testsuite/gas/pru/illegal2.s: New test. + * gas/testsuite/gas/pru/pru.exp: Register new illegal2 test. + +2018-05-08 Jim Wilson + + * testsuite/gas/riscv/c-zero-imm.d: Add more tests. + * testsuite/gas/riscv/c-zero-imm.s: Likewise. + * testsuite/gas/riscv/c-zero-reg.d: Fix typo in test. Add disabled + future test for RV128 support. + * testsuite/gas/riscv/c-zero-reg.s: Likewise. + +2018-05-07 Igor Tsimbalist + H.J. Lu + + * config/tc-i386.c (cpu_arch): Add .movdir, .movdir64b. + (cpu_noarch): Likewise. + (process_suffix): Add check for register size. + * doc/c-i386.texi: Document movdiri, movdir64b. + * testsuite/gas/i386/i386.exp: Run MOVDIR{I,64B} tests. + * testsuite/gas/i386/movdir-intel.d: New file. + * testsuite/gas/i386/movdir.d: Likewise. + * testsuite/gas/i386/movdir.s: Likewise. + * testsuite/gas/i386/movdir64b-reg.s: Likewise. + * testsuite/gas/i386/movdir64b-reg.l: Likewise. + * testsuite/gas/i386/x86-64-movdir-intel.d: Likewise. + * testsuite/gas/i386/x86-64-movdir.d: Likewise. + * testsuite/gas/i386/x86-64-movdir.s: Likewise. + * testsuite/gas/i386/x86-64-movdir64b-reg.s: Likewise. + * testsuite/gas/i386/x86-64-movdir64b-reg.l: Likewise. + +2018-05-07 H.J. Lu + + * config/tc-i386.c (process_suffix): Check addrprefixopreg + instead of addrprefixop0. + +2018-05-07 Peter Bergner + + * config/tc-ppc.c (ppc_setup_opcodes) : Rewrite code + to dump the entire opcode table. + (ppc_setup_opcodes) : Likewise. + (ppc_setup_opcodes) : Likewise. Fix calculation of + opcode index. + +2018-05-06 H.J. Lu + + * testsuite/gas/i386/xmmhi32.d: Also allow dir32 relocation. + +2018-05-06 H.J. Lu + + * testsuite/gas/i386/avx512f-plain.s: Append ".p2align 4,0". + * testsuite/gas/i386/avx512vl-plain.s: Likewise. + * testsuite/gas/i386/bnd.s: Likewise. + * testsuite/gas/i386/stN.s: Likewise. + * testsuite/gas/i386/avx512f-plain.l: Updated. + * testsuite/gas/i386/avx512vl-plain.l: Likewise. + * testsuite/gas/i386/bnd.l: Likewise. + * testsuite/gas/i386/stN.l: Likewise. + +2018-05-04 Alan Modra + + * config/obj-evax.c (shorten_identifier): Use memcpy in place + of strncpy. + * config/obj-macho.c (obj_mach_o_make_or_get_sect): Ensure + segname and sectname fields are NUL terminated. + +2018-05-01 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2018-04-27 Maciej W. Rozycki + + * testsuite/lib/gas-defs.exp (run_dump_test): Use `match_target' + in place of `istarget' for matching with `target', `not-target', + `skip' and `not-skip' options. + +2018-04-26 Nick Clifton + + * as.c (flag_generate_build_notes): New variable. + (show_usage): Add entry for --generate-missing-build-notes. + (parse_args): Parse --generate-missing-build-notes. + * as.h: Export flag_generate_build_notes. + * symbols.c (save_symbol_name): Ensure that the name parameter is + not NULL. + * write.c (create_obj_attrs_section): Reformat. + (create_note_reloc): New function - creates a relocation for a + field in a GNU Build attribute note. + (maybe_generate_build_notes): New function - created GNU Build + attribute notes if none are present in the output file. + (write_object_file): Call maybe_generate_build_notes. + * configure.ac (--enable-generate-build-notes): New option. + * NEWS: Announce the new feature. + * doc/as.textinfo: Document the new option. + * config.in: Regenerate. + * configure: Regenerate. + +2018-04-26 Jan Beulich + + * config/tc-i386.c (check_VecOperands): Add AVX512VL check. Set + .baseindex. + (match_template): Don't set suffix_check when Intel syntax and + broadcast. Make check_register a per-operand bitmap. + +2018-04-26 Jan Beulich + + * config/tc-i386.c (optimize_encoding): Check for zeroing + masking. + * testsuite/gas/i386/optimize-1.d, + testsuite/gas/i386/optimize-4.d, + testsuite/gas/i386/optimize-5.d, + testsuite/gas/i386/x86-64-optimize-2.d, + testsuite/gas/i386/x86-64-optimize-5.d, + testsuite/gas/i386/x86-64-optimize-6.d: Adjust expectations. + +2018-04-26 Jan Beulich + + * config/tc-i386.c (parse_real_register): Check .cpuvrex before + recording EVEX encoding. Don't check previously specified + encoding. + * testsuite/gas/i386/xmmhi32.s: Add {x,y,z}mm{16,24} cases. + * testsuite/gas/i386/xmmhi32.d: Adjust expectations. + * testsuite/gas/i386/xmmhi64.s, testsuite/gas/i386/xmmhi64.d: + New. + * testsuite/gas/i386/i386.exp: Run new test. + +2018-04-26 Jan Beulich + + * testsuite/gas/i386/xsave.s: Add AVX, LWP, MPX, and PKU + dependency tests. + * testsuite/gas/i386/xsave.d, + testsuite/gas/i386/xsave-intel.d: Adjust expecations. + +2018-04-26 Jan Beulich + + * config/tc-i386.c (parse_real_register): Re-write {,x,y,z}mm + and mask register handling. + * testsuite/gas/i386/avx512f-ymm.s, testsuite/gas/i386/avx512f-ymm.d, + testsuite/gas/i386/xmmhi32.s, testsuite/gas/i386/xmmhi32.d: New. + * testsuite/gas/i386/i386.exp: Run new tests. + +2018-04-26 Jan Beulich + + * config/tc-i386.c (parse_real_register): Check bnd + registers. + * testsuite/gas/i386/bnd.s, testsuite/gas/i386/bnd.l: New. + * testsuite/gas/i386/i386.exp: Run new test. + +2018-04-26 Jan Beulich + + * config/tc-i386.c (parse_real_register): Check FPU register + earlier. + * testsuite/gas/i386/fpu.s, testsuite/gas/i386/fpu.l, + testsuite/gas/i386/stN.s, testsuite/gas/i386/stN.l: New. + * testsuite/gas/i386/i386.exp: Run new tests. + +2018-04-26 Jan Beulich + + * config/tc-i386.c (build_modrm_byte): Use tabs for indentation. + +2018-04-26 Jan Beulich + + * config/tc-i386.c (build_modrm_byte): Move and fold + source/reg_slot calculations. + +2018-04-26 Jan Beulich + + * config/tc-i386.c (build_modrm_byte): Drop .veximmext uses. + Move part of the remaining assertion. + +2018-04-26 Jan Beulich + + * config/tc-i386.c (build_modrm_byte): Extend assertion in + vex_3_sources handling to cover more cases. + +2018-04-26 Jan Beulich + + * config/tc-i386.c (build_modrm_byte): Drop code dealing with + .veximmext and .immext set at the same time. Drop code dealing + with .cpufma when .vexsources == VEX3SOURCES. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * config/tc-arm.c (reloc_names): Add TLSGD_FDPIC, TLSLDM_FDPIC, + GOTTPOFF_FDIC relocations. + (md_apply_fix): Handle the new TLS FDPIC relocations. + (tc_gen_reloc): Likewise. + (arm_fix_adjustable): Likewise. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * config/tc-arm.c (reloc_names): Add gotfuncdesc, gotofffuncdesc, + funcdesc. + (md_apply_fix): Support the new relocations. + (tc_gen_reloc): Likewise. + * testsuite/gas/arm/reloc-fdpic.d: New. + * testsuite/gas/arm/reloc-fdpic.s: New. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * config/tc-arm.c (arm_fdpic): New. + (elf32_arm_target_format): Support FDPIC. + (OPTION_FDPIC): New. + (md_longopts): Support FDPIC. + (md_parse_option): Likewise. + (md_show_usage): Likewise. + +2018-04-25 Tamar Christina + + * testsuite/gas/aarch64/rdma.s: Test for larger register numbers. + * testsuite/gas/aarch64/rdma.d: Update results. + * testsuite/gas/aarch64/rdma-directive.d: Likewise. + +2018-04-25 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2018-04-25 Alan Modra + + * Makefile.am: Remove arm-aout and arm-coff support. + * config/tc-arm.c: Likewise. + * config/tc-arm.h: Likewise. + * configure.tgt: Likewise. + * testsuite/gas/aarch64/codealign.d: Likewise. + * testsuite/gas/aarch64/mapping.d: Likewise. + * testsuite/gas/aarch64/mapping2.d: Likewise. + * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: Likewise. + * testsuite/gas/arm/adds-thumb1-reloc-local.d: Likewise. + * testsuite/gas/arm/addsw-bad.d: Likewise. + * testsuite/gas/arm/align.d: Likewise. + * testsuite/gas/arm/align64.d: Likewise. + * testsuite/gas/arm/arch7.d: Likewise. + * testsuite/gas/arm/arch7a-mp.d: Likewise. + * testsuite/gas/arm/arch7em.d: Likewise. + * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise. + * testsuite/gas/arm/arm-it-auto-2.d: Likewise. + * testsuite/gas/arm/arm-it-auto-3.d: Likewise. + * testsuite/gas/arm/arm-it-auto.d: Likewise. + * testsuite/gas/arm/arm-it-bad-2.d: Likewise. + * testsuite/gas/arm/arm-it.d: Likewise. + * testsuite/gas/arm/armv7e-m+fpv5-d16.d: Likewise. + * testsuite/gas/arm/armv7e-m+fpv5-sp-d16.d: Likewise. + * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: Likewise. + * testsuite/gas/arm/armv8-2-fp16-scalar.d: Likewise. + * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise. + * testsuite/gas/arm/armv8-2-fp16-simd.d: Likewise. + * testsuite/gas/arm/armv8-a+crypto.d: Likewise. + * testsuite/gas/arm/armv8-a+fp.d: Likewise. + * testsuite/gas/arm/armv8-a+ras.d: Likewise. + * testsuite/gas/arm/armv8-a+rdma-warning.d: Likewise. + * testsuite/gas/arm/armv8-a+rdma.d: Likewise. + * testsuite/gas/arm/armv8-a+simd.d: Likewise. + * testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise. + * testsuite/gas/arm/armv8-r+fp.d: Likewise. + * testsuite/gas/arm/armv8-r+simd.d: Likewise. + * testsuite/gas/arm/armv8-r-barrier-thumb.d: Likewise. + * testsuite/gas/arm/armv8_1-a+simd.d: Likewise. + * testsuite/gas/arm/armv8_2+rdma.d: Likewise. + * testsuite/gas/arm/armv8_2-a.d: Likewise. + * testsuite/gas/arm/armv8_3-a-fp.d: Likewise. + * testsuite/gas/arm/armv8_3-a-simd.d: Likewise. + * testsuite/gas/arm/armv8a-automatic-hlt.d: Likewise. + * testsuite/gas/arm/armv8a-automatic-lda.d: Likewise. + * testsuite/gas/arm/attr-syntax.d: Likewise. + * testsuite/gas/arm/automatic-bw.d: Likewise. + * testsuite/gas/arm/automatic-cbz.d: Likewise. + * testsuite/gas/arm/automatic-clrex.d: Likewise. + * testsuite/gas/arm/automatic-lda.d: Likewise. + * testsuite/gas/arm/automatic-ldaex.d: Likewise. + * testsuite/gas/arm/automatic-ldaexb.d: Likewise. + * testsuite/gas/arm/automatic-ldrex.d: Likewise. + * testsuite/gas/arm/automatic-ldrexd.d: Likewise. + * testsuite/gas/arm/automatic-movw.d: Likewise. + * testsuite/gas/arm/automatic-sdiv.d: Likewise. + * testsuite/gas/arm/automatic-strexb.d: Likewise. + * testsuite/gas/arm/barrier-bad-thumb.d: Likewise. + * testsuite/gas/arm/barrier-bad.d: Likewise. + * testsuite/gas/arm/barrier-thumb.d: Likewise. + * testsuite/gas/arm/barrier.d: Likewise. + * testsuite/gas/arm/bignum1.d: Likewise. + * testsuite/gas/arm/blx-bad.d: Likewise. + * testsuite/gas/arm/blx-bl-convert.d: Likewise. + * testsuite/gas/arm/blx-local.s: Likewise. + * testsuite/gas/arm/crc32-armv8-a-bad.d: Likewise. + * testsuite/gas/arm/crc32-armv8-a.d: Likewise. + * testsuite/gas/arm/crc32-armv8-r-bad.d: Likewise. + * testsuite/gas/arm/crc32-armv8-r.d: Likewise. + * testsuite/gas/arm/dis-data.d: Likewise. + * testsuite/gas/arm/dis-data2.d: Likewise. + * testsuite/gas/arm/dis-data3.d: Likewise. + * testsuite/gas/arm/eabi_attr_1.d: Likewise. + * testsuite/gas/arm/fp-save.d: Likewise. + * testsuite/gas/arm/group-reloc-alu-encoding-bad.d: Likewise. + * testsuite/gas/arm/group-reloc-alu-parsing-bad.d: Likewise. + * testsuite/gas/arm/group-reloc-alu.d: Likewise. + * testsuite/gas/arm/group-reloc-ldc-encoding-bad.d: Likewise. + * testsuite/gas/arm/group-reloc-ldc-parsing-bad.d: Likewise. + * testsuite/gas/arm/group-reloc-ldc.d: Likewise. + * testsuite/gas/arm/group-reloc-ldr-encoding-bad.d: Likewise. + * testsuite/gas/arm/group-reloc-ldr-parsing-bad.d: Likewise. + * testsuite/gas/arm/group-reloc-ldr.d: Likewise. + * testsuite/gas/arm/group-reloc-ldrs-encoding-bad.d: Likewise. + * testsuite/gas/arm/group-reloc-ldrs-parsing-bad.d: Likewise. + * testsuite/gas/arm/group-reloc-ldrs.d: Likewise. + * testsuite/gas/arm/insn-error-a.d: Likewise. + * testsuite/gas/arm/insn-error-t.d: Likewise. + * testsuite/gas/arm/inst-po-2.d: Likewise. + * testsuite/gas/arm/inst-po-3.d: Likewise. + * testsuite/gas/arm/inst-po-be.d: Likewise. + * testsuite/gas/arm/inst-po.d: Likewise. + * testsuite/gas/arm/ldconst.d: Likewise. + * testsuite/gas/arm/ldgesb-bad.d: Likewise. + * testsuite/gas/arm/ldgesh-bad.d: Likewise. + * testsuite/gas/arm/ldst-offset0.d: Likewise. + * testsuite/gas/arm/local_function.d: Likewise. + * testsuite/gas/arm/local_label_coff.d: Likewise. + * testsuite/gas/arm/local_label_elf.d: Likewise. + * testsuite/gas/arm/mapping.d: Likewise. + * testsuite/gas/arm/mapping2.d: Likewise. + * testsuite/gas/arm/mapping3.d: Likewise. + * testsuite/gas/arm/mapping4.d: Likewise. + * testsuite/gas/arm/mapshort-elf.d: Likewise. + * testsuite/gas/arm/mask_1-armv8-a.d: Likewise. + * testsuite/gas/arm/mask_1-armv8-r.d: Likewise. + * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: Likewise. + * testsuite/gas/arm/movs-thumb1-reloc-local.d: Likewise. + * testsuite/gas/arm/movw-local.d: Likewise. + * testsuite/gas/arm/mrs-msr-thumb-v6t2.d: Likewise. + * testsuite/gas/arm/mrs-msr-thumb-v7-m.d: Likewise. + * testsuite/gas/arm/mrs-msr-thumb-v7e-m.d: Likewise. + * testsuite/gas/arm/msr-imm-bad.d: Likewise. + * testsuite/gas/arm/msr-reg-bad.d: Likewise. + * testsuite/gas/arm/msr-reg-thumb.d: Likewise. + * testsuite/gas/arm/nomapping.d: Likewise. + * testsuite/gas/arm/nops.d: Likewise. + * testsuite/gas/arm/pic.d: Likewise. + * testsuite/gas/arm/pinsn.d: Likewise. + * testsuite/gas/arm/plt-1.d: Likewise. + * testsuite/gas/arm/pr21458.d: Likewise. + * testsuite/gas/arm/pr9722.d: Likewise. + * testsuite/gas/arm/strex-t.d: Likewise. + * testsuite/gas/arm/t2-branch-global.d: Likewise. + * testsuite/gas/arm/target-reloc-1.d: Likewise. + * testsuite/gas/arm/thumb-b-bad.d: Likewise. + * testsuite/gas/arm/thumb-w-bad.d: Likewise. + * testsuite/gas/arm/thumb-w-good.d: Likewise. + * testsuite/gas/arm/thumb.d: Likewise. + * testsuite/gas/arm/thumb2_it.d: Likewise. + * testsuite/gas/arm/thumb2_it_auto.d: Likewise. + * testsuite/gas/arm/thumb2_it_search.d: Likewise. + * testsuite/gas/arm/thumb2_ldmstm.d: Likewise. + * testsuite/gas/arm/thumb2_ldr_immediate_armv6.d: Likewise. + * testsuite/gas/arm/thumb2_ldr_immediate_armv6t2.d: Likewise. + * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Likewise. + * testsuite/gas/arm/thumb2_pool.d: Likewise. + * testsuite/gas/arm/thumb2_vpool.d: Likewise. + * testsuite/gas/arm/thumb2_vpool_be.d: Likewise. + * testsuite/gas/arm/thumb32.d: Likewise. + * testsuite/gas/arm/thumbver.d: Likewise. + * testsuite/gas/arm/tls.d: Likewise. + * testsuite/gas/arm/tls_vxworks.d: Likewise. + * testsuite/gas/arm/undefined.d: Likewise. + * testsuite/gas/arm/undefined_coff.d: Likewise. + * testsuite/gas/arm/unwind.d: Likewise. + * testsuite/gas/arm/v4bx.d: Likewise. + * testsuite/gas/arm/vcmp-noprefix-imm.d: Likewise. + * testsuite/gas/arm/vcvt-bad.d: Likewise. + * testsuite/gas/arm/vfma1.d: Likewise. + * testsuite/gas/arm/vldconst.d: Likewise. + * testsuite/gas/arm/vldconst_be.d: Likewise. + * testsuite/gas/arm/vldm-arm.d: Likewise. + * testsuite/gas/arm/vldr.d: Likewise. + * testsuite/gas/arm/weakdef-1.d: Likewise. + * testsuite/gas/arm/weakdef-2.d: Likewise. + * config/te-riscix.h: Delete. + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-23 Alan Modra + + * stabs.c (generate_asm_file): Use memcpy rather than strncpy. + Remove call to strlen inside loop. + * config/tc-cr16.c (getreg_image): Warning fix. + * config/tc-crx.c (getreg_image): Warning fix. + +2018-04-20 Kito Cheng + + * config/tc-riscv.c (options): Add OPTION_RELAX and + OPTION_NO_RELAX. + (md_longopts): New option -mrelax and -mno-relax. + (md_parse_option): Handle -mrelax and -mno-relax. + * doc/c-riscv.texi: Document for -mrelax and -mno-relax. + * testsuite/gas/riscv/no-relax-reloc.d: New. + * testsuite/gas/riscv/no-relax-reloc.s: New. + * testsuite/gas/riscv/relax-reloc.d: New. + * testsuite/gas/riscv/relax-reloc.s: New. + +2018-04-20 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2018-04-18 Alan Modra + + * Makefile.am: Remove support for assorted i386 aout and coff targets. + * config/obj-elf.c: Likewise. + * config/tc-i386.h: Likewise. + * configure.ac: Likewise. + * configure.tgt: Likewise. + * config/te-dynix.h: Delete. + * config/te-i386aix.h: Delete. + * config/te-mach.h: Delete. + * Makefile.in: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-18 Alan Modra + + * configure.tgt: Remove *-*-bsd* entry. + +2018-04-17 Andrew Sadek + + Microblaze Target: PIC data text relative + + * gas/config/tc-microblaze.c (Handle new relocs directives in + assembler): Handle new relocs from compiler output. + (imm_types): add new imm types for data text relative addressing + TEXT_OFFSET, TEXT_PC_OFFSET + (md_convert_frag): conversion for BFD_RELOC_MICROBLAZE_64_TEXTPCREL, + BFD_RELOC_MICROBLAZE_64_TEXTPCREL + (md_apply_fix): apply fix for BFD_RELOC_MICROBLAZE_64_TEXTPCREL, + BFD_RELOC_MICROBLAZE_64_TEXTPCREL + (md_estimate_size_before_relax): estimate size for + BFD_RELOC_MICROBLAZE_64_TEXTPCREL, + BFD_RELOC_MICROBLAZE_64_TEXTPCREL + (tc_gen_reloc): generate relocations for + BFD_RELOC_MICROBLAZE_64_TEXTPCREL, + BFD_RELOC_MICROBLAZE_64_TEXTPCREL + +2018-04-17 Igor Tsimbalist + + * testsuite/gas/i386/nops.s: Revert back deleted lines and + change encoding to 0x0f1c /1 to map to NOP. + * testsuite/gas/i386/x86-64-nops.s: Likewise. + * testsuite/gas/i386/nops.d: Likewise. + * testsuite/gas/i386/x86-64-nops.d: Likewise. + * testsuite/gas/i386/ilp32/x86-64-nops.d: Likewis. + +2018-04-17 Igor Tsimbalist + + * config/tc-i386.c (cpu_arch): Add .cldemote. + * doc/c-i386.texi: Document cldemote/.cldemote. + * testsuite/gas/i386/cldemote-intel.d: New. + * testsuite/gas/i386/cldemote.d: Likewise. + * testsuite/gas/i386/cldemote.s: Likewise. + * testsuite/gas/i386/i386.exp: Run new tests. + * testsuite/gas/i386/x86-64-cldemote-intel.d: New. + * testsuite/gas/i386/x86-64-cldemote.d: Likewise. + * testsuite/gas/i386/x86-64-cldemote.s: Likewise. + * testsuite/gas/i386/ilp32/x86-64-nops.d: Remove 0x0f1c + NOP encoding that maps to cldemote. + * testsuite/gas/i386/nops.d: Likewise. + * testsuite/gas/i386/nops.s: Likewise. + * testsuite/gas/i386/x86-64-nops.d: Likewise. + * testsuite/gas/i386/x86-64-nops.s: Likewise. + +2018-04-16 Nick Clifton + + PR 23054 + * cond.c (s_ifsef): Replace use of obstack_copy with obstack_alloc + followed by memcpy. + (s_if, s_ifb, s_ifc, s_ifeqs): Likewise. + * obj-elf.c (elf_adjust_symtab): Check for local symbols before + attempting to dereference the sy_next field of a symbol. + * stabs.c (get_stab_string_offset): Fail if there is no string + following the stab directive. + +2018-04-16 Alan Modra + + * Makefile.am: Remove arm-epoc-pe support. + * config/tc-arm.h: Likewise. + * configure.tgt: Likewise. + * testsuite/gas/all/gas.exp: Likewise. + * testsuite/gas/arm/local_label_coff.d: Likewise. + * testsuite/gas/arm/undefined.d: Likewise. + * testsuite/gas/arm/undefined_coff.d: Likewise. + * config/te-epoc-pe.h: Delete. + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove sparc-aout and sparc-coff support. + * config/obj-coff.h: Likewise. + * config/tc-sparc.c: Likewise. + * config/tc-sparc.h: Likewise. + * configure.tgt: Likewise. + * config/te-sparcaout.h: Delete. + * testsuite/gas/sun4/addend.d: Delete. + * testsuite/gas/sun4/addend.exp: Delete. + * testsuite/gas/sun4/addend.s: Delete. + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove m68k-aout and m68k-coff support. + * config/tc-m68k.c: Likewise. + * config/tc-m68k.h: Likewise. + * configure.ac: Likewise. + * configure.tgt: Likewise. + * testsuite/gas/all/weakref1u.d: Likewise. + * testsuite/gas/m68k/all.exp: Likewise. + * testsuite/gas/m68k/br-isaa.d: Likewise. + * testsuite/gas/m68k/br-isab.d: Likewise. + * testsuite/gas/m68k/br-isac.d: Likewise. + * config/te-psos.h: Delete. + * config/te-sun3.h: Delete. + * testsuite/gas/m68k-coff/gas.exp: Delete. + * testsuite/gas/m68k-coff/p2389.s: Delete. + * testsuite/gas/m68k-coff/p2389a.s: Delete. + * testsuite/gas/m68k-coff/p2430.s: Delete. + * testsuite/gas/m68k-coff/p2430a.s: Delete. + * testsuite/gas/m68k-coff/t1.s: Delete. + * testsuite/gas/m68k/p3041.d: Delete. + * testsuite/gas/m68k/p3041.s: Delete. + * testsuite/gas/m68k/p3041data.d: Delete. + * testsuite/gas/m68k/p3041data.s: Delete. + * testsuite/gas/m68k/p3041pcrel.d: Delete. + * testsuite/gas/m68k/p3041pcrel.s: Delete. + * testsuite/gas/m68k/t2.d: Delete. + * Makefile.in: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove sh5 and sh64 support. + * config/tc-sh.c: Likewise. + * configure.tgt: Likewise. + * doc/Makefile.am: Likewise. + * doc/as.texinfo: Likewise. + * testsuite/gas/cfi/cfi.exp: Likewise. + * testsuite/gas/sh/basic.exp: Likewise. + * config/tc-sh64.c: Delete. + * config/tc-sh64.h: Delete. + * doc/c-sh64.texi: Delete. + * testsuite/gas/sh/sh64/abi-32.d: Delete. + * testsuite/gas/sh/sh64/abi-32.s: Delete. + * testsuite/gas/sh/sh64/abi-64.d: Delete. + * testsuite/gas/sh/sh64/abi-64.s: Delete. + * testsuite/gas/sh/sh64/basic-1.d: Delete. + * testsuite/gas/sh/sh64/basic-1.s: Delete. + * testsuite/gas/sh/sh64/case-1.d: Delete. + * testsuite/gas/sh/sh64/case-1.s: Delete. + * testsuite/gas/sh/sh64/case-noexp-1.d: Delete. + * testsuite/gas/sh/sh64/crange1-1.d: Delete. + * testsuite/gas/sh/sh64/crange1-2.d: Delete. + * testsuite/gas/sh/sh64/crange1.s: Delete. + * testsuite/gas/sh/sh64/crange2-1.d: Delete. + * testsuite/gas/sh/sh64/crange2-2.d: Delete. + * testsuite/gas/sh/sh64/crange2-noexp-1.d: Delete. + * testsuite/gas/sh/sh64/crange2.s: Delete. + * testsuite/gas/sh/sh64/crange3-1.d: Delete. + * testsuite/gas/sh/sh64/crange3.s: Delete. + * testsuite/gas/sh/sh64/crange4-1.d: Delete. + * testsuite/gas/sh/sh64/crange4.s: Delete. + * testsuite/gas/sh/sh64/crange5-1.d: Delete. + * testsuite/gas/sh/sh64/crange5.s: Delete. + * testsuite/gas/sh/sh64/creg-1.d: Delete. + * testsuite/gas/sh/sh64/creg-1.s: Delete. + * testsuite/gas/sh/sh64/creg-2.d: Delete. + * testsuite/gas/sh/sh64/creg-2.s: Delete. + * testsuite/gas/sh/sh64/datal-1.s: Delete. + * testsuite/gas/sh/sh64/datal-2.d: Delete. + * testsuite/gas/sh/sh64/datal-2.s: Delete. + * testsuite/gas/sh/sh64/datal-3.s: Delete. + * testsuite/gas/sh/sh64/datal32-1.d: Delete. + * testsuite/gas/sh/sh64/datal32-3.d: Delete. + * testsuite/gas/sh/sh64/datal64-1.d: Delete. + * testsuite/gas/sh/sh64/datal64-3.d: Delete. + * testsuite/gas/sh/sh64/eh-1.d: Delete. + * testsuite/gas/sh/sh64/eh-1.s: Delete. + * testsuite/gas/sh/sh64/endian-1.d: Delete. + * testsuite/gas/sh/sh64/endian-1.s: Delete. + * testsuite/gas/sh/sh64/endian-2.d: Delete. + * testsuite/gas/sh/sh64/endian-2.s: Delete. + * testsuite/gas/sh/sh64/err-1.s: Delete. + * testsuite/gas/sh/sh64/err-2.s: Delete. + * testsuite/gas/sh/sh64/err-3.s: Delete. + * testsuite/gas/sh/sh64/err-4.s: Delete. + * testsuite/gas/sh/sh64/err-abi-32.s: Delete. + * testsuite/gas/sh/sh64/err-abi-64.s: Delete. + * testsuite/gas/sh/sh64/err-dsp.s: Delete. + * testsuite/gas/sh/sh64/err-movi-noexp-1.s: Delete. + * testsuite/gas/sh/sh64/err-noexp-cmd1.s: Delete. + * testsuite/gas/sh/sh64/err-pt-1.s: Delete. + * testsuite/gas/sh/sh64/err-pt32-cmd1.s: Delete. + * testsuite/gas/sh/sh64/err-pt32-cmd2.s: Delete. + * testsuite/gas/sh/sh64/err-pt32-cmd3.s: Delete. + * testsuite/gas/sh/sh64/err-ptb-1.s: Delete. + * testsuite/gas/sh/sh64/err-ptb-2.s: Delete. + * testsuite/gas/sh/sh64/err.exp: Delete. + * testsuite/gas/sh/sh64/immexpr1.s: Delete. + * testsuite/gas/sh/sh64/immexpr2.s: Delete. + * testsuite/gas/sh/sh64/immexpr32-1.d: Delete. + * testsuite/gas/sh/sh64/immexpr32-2.d: Delete. + * testsuite/gas/sh/sh64/immexpr64-1.d: Delete. + * testsuite/gas/sh/sh64/immexpr64-2.d: Delete. + * testsuite/gas/sh/sh64/lineno.d: Delete. + * testsuite/gas/sh/sh64/lineno.s: Delete. + * testsuite/gas/sh/sh64/localcom-1.d: Delete. + * testsuite/gas/sh/sh64/localcom-1.s: Delete. + * testsuite/gas/sh/sh64/mix-1.d: Delete. + * testsuite/gas/sh/sh64/mix-1.s: Delete. + * testsuite/gas/sh/sh64/mix-noexp-1.d: Delete. + * testsuite/gas/sh/sh64/movi-1.s: Delete. + * testsuite/gas/sh/sh64/movi-2.s: Delete. + * testsuite/gas/sh/sh64/movi-3.d: Delete. + * testsuite/gas/sh/sh64/movi-3.s: Delete. + * testsuite/gas/sh/sh64/movi32-1.d: Delete. + * testsuite/gas/sh/sh64/movi32-2.d: Delete. + * testsuite/gas/sh/sh64/movi32-noexp-2.d: Delete. + * testsuite/gas/sh/sh64/movi64-1.d: Delete. + * testsuite/gas/sh/sh64/movi64-2.d: Delete. + * testsuite/gas/sh/sh64/movi64-2.s: Delete. + * testsuite/gas/sh/sh64/movi64-3.d: Delete. + * testsuite/gas/sh/sh64/movi64-noexp-2.d: Delete. + * testsuite/gas/sh/sh64/pt-1.d: Delete. + * testsuite/gas/sh/sh64/pt-1.s: Delete. + * testsuite/gas/sh/sh64/pt-2.s: Delete. + * testsuite/gas/sh/sh64/pt-noexp-1.d: Delete. + * testsuite/gas/sh/sh64/pt32-1.d: Delete. + * testsuite/gas/sh/sh64/pt32-noexp-2.d: Delete. + * testsuite/gas/sh/sh64/pt64-1.d: Delete. + * testsuite/gas/sh/sh64/pt64-32-1.d: Delete. + * testsuite/gas/sh/sh64/pt64-32-2.d: Delete. + * testsuite/gas/sh/sh64/pt64-noexp-2.d: Delete. + * testsuite/gas/sh/sh64/ptc-1.s: Delete. + * testsuite/gas/sh/sh64/ptc32-1.d: Delete. + * testsuite/gas/sh/sh64/ptc32-noexp-1.d: Delete. + * testsuite/gas/sh/sh64/ptc64-1.d: Delete. + * testsuite/gas/sh/sh64/ptc64-32-1.d: Delete. + * testsuite/gas/sh/sh64/ptc64-noexp-1.d: Delete. + * testsuite/gas/sh/sh64/ptext-1.s: Delete. + * testsuite/gas/sh/sh64/ptext32-1.d: Delete. + * testsuite/gas/sh/sh64/ptext32-noexp-1.d: Delete. + * testsuite/gas/sh/sh64/ptext64-1.d: Delete. + * testsuite/gas/sh/sh64/ptext64-32-1.d: Delete. + * testsuite/gas/sh/sh64/ptext64-noexp-1.d: Delete. + * testsuite/gas/sh/sh64/rel-1.s: Delete. + * testsuite/gas/sh/sh64/rel-2.s: Delete. + * testsuite/gas/sh/sh64/rel-3.s: Delete. + * testsuite/gas/sh/sh64/rel-4.s: Delete. + * testsuite/gas/sh/sh64/rel-5.s: Delete. + * testsuite/gas/sh/sh64/rel32-1.d: Delete. + * testsuite/gas/sh/sh64/rel32-2.d: Delete. + * testsuite/gas/sh/sh64/rel32-3.d: Delete. + * testsuite/gas/sh/sh64/rel32-4.d: Delete. + * testsuite/gas/sh/sh64/rel32-5.d: Delete. + * testsuite/gas/sh/sh64/rel64-1.d: Delete. + * testsuite/gas/sh/sh64/rel64-2.d: Delete. + * testsuite/gas/sh/sh64/rel64-3.d: Delete. + * testsuite/gas/sh/sh64/rel64-4.d: Delete. + * testsuite/gas/sh/sh64/rel64-5.d: Delete. + * testsuite/gas/sh/sh64/relax-1.d: Delete. + * testsuite/gas/sh/sh64/relax-1.s: Delete. + * testsuite/gas/sh/sh64/relax-2.d: Delete. + * testsuite/gas/sh/sh64/relax-2.s: Delete. + * testsuite/gas/sh/sh64/relax-3.d: Delete. + * testsuite/gas/sh/sh64/relax-3.s: Delete. + * testsuite/gas/sh/sh64/sh64.exp: Delete. + * testsuite/gas/sh/sh64/shift-1.s: Delete. + * testsuite/gas/sh/sh64/shift-2.s: Delete. + * testsuite/gas/sh/sh64/shift-3.s: Delete. + * testsuite/gas/sh/sh64/shift32-1.d: Delete. + * testsuite/gas/sh/sh64/shift32-3.d: Delete. + * testsuite/gas/sh/sh64/shift32-noexp-3.d: Delete. + * testsuite/gas/sh/sh64/shift64-1.d: Delete. + * testsuite/gas/sh/sh64/shift64-2.d: Delete. + * testsuite/gas/sh/sh64/shift64-3.d: Delete. + * testsuite/gas/sh/sh64/shift64-noexp-3.d: Delete. + * testsuite/gas/sh/sh64/syntax-1.d: Delete. + * testsuite/gas/sh/sh64/syntax-1.s: Delete. + * testsuite/gas/sh/sh64/syntax-2.d: Delete. + * testsuite/gas/sh/sh64/syntax-2.s: Delete. + * testsuite/gas/sh/sh64/ua-1.s: Delete. + * testsuite/gas/sh/sh64/ua32-1.d: Delete. + * testsuite/gas/sh/sh64/ua64-1.d: Delete. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * config/tc-sh.c: Remove sh-symbianelf support. + * config/tc-sh.h: Likewise. + * configure.ac: Likewise. + * configure.tgt: Likewise. + * testsuite/gas/sh/reg-prefix.d: Likewise. + * testsuite/gas/sh/sh2a-pic.d: Likewise. + * config.in: Regenerate. + * configure: Regenerate. + +2018-04-16 Alan Modra + + * configure.ac: Remove m88k support. + * config.in: Regenerate. + * configure: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove i370 support. + * app.c: Likewise. + * config/obj-elf.c: Likewise. + * configure.tgt: Likewise. + * doc/Makefile.am: Likewise. + * doc/as.texinfo: Likewise. + * testsuite/gas/all/gas.exp: Likewise. + * testsuite/gas/elf/warn-2.s: Likewise. + * testsuite/gas/lns/lns.exp: Likewise. + * config/tc-i370.c: Delete. + * config/tc-i370.h: Delete. + * doc/c-i370.texi: Delete. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * config/obj-coff.h: Remove h8500 support. + +2018-04-16 Alan Modra + + * config/obj-coff.h: Remove h8300-coff support. + * config/tc-h8300.c: Likewise. + * config/tc-h8300.h: Likewise. + * testsuite/gas/h8300/h8300.exp: Likewise. + * testsuite/gas/h8300/branch-coff.s: Delete. + * testsuite/gas/h8300/branchh-coff.s: Delete. + * testsuite/gas/h8300/branchs-coff.s: Delete. + * testsuite/gas/h8300/ffxx1-coff.d: Delete. + * testsuite/gas/h8300/ffxx1-coff.s: Delete. + * testsuite/gas/h8300/h8300-coff.exp: Delete. + +2018-04-16 Alan Modra + + * app.c: Remove IEEE 695 support. + * symbols.c: Likewise. + +2018-04-16 Alan Modra + + * Makefile.am: Remove netware support. + * config/tc-i386.c: Likewise. + * configure.tgt: Likewise. + * config/te-netware.h: Delete. + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-15 H.J. Lu + + * testsuite/gas/i386/x86-64-waitpkg.s: Add 32-bit registers + tests for tpause and umwait. + * testsuite/gas/i386/x86-64-waitpkg-intel.d: Updated. + * testsuite/gas/i386/x86-64-waitpkg.d: Likewise. + +2018-04-12 John Darrington + + * as.c (main): Fail if the output is the same as one of the input + files. + * testsuite/gas/all/gas.exp: Test the new feature. + +2018-04-12 Nick Clifton + + * po/es.po: Updated Spanish translation. + * po/ru.po: Updated Russian translation. + +2018-04-11 Igor Tsimbalist + + * config/tc-i386.c (cpu_arch): Add WAITPKG. + (cpu_noarch): Likewise. + * doc/c-i386.texi: Document WAITPKG. + * i386/i386.exp: Run WAITPKG tests. + * testsuite/gas/i386/waitpkg-intel.d: New test. + * testsuite/gas/i386/waitpkg.d: Likewise. + * testsuite/gas/i386/waitpkg.s: Likewise. + * testsuite/gas/i386/x86-64-waitpkg-intel.d: Likewise. + * testsuite/gas/i386/x86-64-waitpkg.d: Likewise. + * testsuite/gas/i386/x86-64-waitpkg.s: Likewise. + +2018-04-11 Alan Modra + + * config/aout_gnu.h: Delete. + * config/tc-i860.c: Delete. + * config/tc-i860.h: Delete. + * config/tc-i960.c: Delete. + * config/tc-i960.h: Delete. + * doc/c-i860.texi: Delete. + * doc/c-i960.texi: Delete. + * testsuite/gas/i860/README.i860: Delete. + * testsuite/gas/i860/bitwise.d: Delete. + * testsuite/gas/i860/bitwise.s: Delete. + * testsuite/gas/i860/branch.d: Delete. + * testsuite/gas/i860/branch.s: Delete. + * testsuite/gas/i860/bte.d: Delete. + * testsuite/gas/i860/bte.s: Delete. + * testsuite/gas/i860/dir-align01.d: Delete. + * testsuite/gas/i860/dir-align01.s: Delete. + * testsuite/gas/i860/dir-intel01.d: Delete. + * testsuite/gas/i860/dir-intel01.s: Delete. + * testsuite/gas/i860/dir-intel02.d: Delete. + * testsuite/gas/i860/dir-intel02.s: Delete. + * testsuite/gas/i860/dir-intel03-err.l: Delete. + * testsuite/gas/i860/dir-intel03-err.s: Delete. + * testsuite/gas/i860/dual01.d: Delete. + * testsuite/gas/i860/dual01.s: Delete. + * testsuite/gas/i860/dual02-err.l: Delete. + * testsuite/gas/i860/dual02-err.s: Delete. + * testsuite/gas/i860/dual03.d: Delete. + * testsuite/gas/i860/dual03.s: Delete. + * testsuite/gas/i860/fldst01.d: Delete. + * testsuite/gas/i860/fldst01.s: Delete. + * testsuite/gas/i860/fldst02.d: Delete. + * testsuite/gas/i860/fldst02.s: Delete. + * testsuite/gas/i860/fldst03.d: Delete. + * testsuite/gas/i860/fldst03.s: Delete. + * testsuite/gas/i860/fldst04.d: Delete. + * testsuite/gas/i860/fldst04.s: Delete. + * testsuite/gas/i860/fldst05.d: Delete. + * testsuite/gas/i860/fldst05.s: Delete. + * testsuite/gas/i860/fldst06.d: Delete. + * testsuite/gas/i860/fldst06.s: Delete. + * testsuite/gas/i860/fldst07.d: Delete. + * testsuite/gas/i860/fldst07.s: Delete. + * testsuite/gas/i860/fldst08.d: Delete. + * testsuite/gas/i860/fldst08.s: Delete. + * testsuite/gas/i860/float01.d: Delete. + * testsuite/gas/i860/float01.s: Delete. + * testsuite/gas/i860/float02.d: Delete. + * testsuite/gas/i860/float02.s: Delete. + * testsuite/gas/i860/float03.d: Delete. + * testsuite/gas/i860/float03.s: Delete. + * testsuite/gas/i860/float04.d: Delete. + * testsuite/gas/i860/float04.s: Delete. + * testsuite/gas/i860/form.d: Delete. + * testsuite/gas/i860/form.s: Delete. + * testsuite/gas/i860/i860.exp: Delete. + * testsuite/gas/i860/iarith.d: Delete. + * testsuite/gas/i860/iarith.s: Delete. + * testsuite/gas/i860/ldst01.d: Delete. + * testsuite/gas/i860/ldst01.s: Delete. + * testsuite/gas/i860/ldst02.d: Delete. + * testsuite/gas/i860/ldst02.s: Delete. + * testsuite/gas/i860/ldst03.d: Delete. + * testsuite/gas/i860/ldst03.s: Delete. + * testsuite/gas/i860/ldst04.d: Delete. + * testsuite/gas/i860/ldst04.s: Delete. + * testsuite/gas/i860/ldst05.d: Delete. + * testsuite/gas/i860/ldst05.s: Delete. + * testsuite/gas/i860/ldst06.d: Delete. + * testsuite/gas/i860/ldst06.s: Delete. + * testsuite/gas/i860/pfam.d: Delete. + * testsuite/gas/i860/pfam.s: Delete. + * testsuite/gas/i860/pfmam.d: Delete. + * testsuite/gas/i860/pfmam.s: Delete. + * testsuite/gas/i860/pfmsm.d: Delete. + * testsuite/gas/i860/pfmsm.s: Delete. + * testsuite/gas/i860/pfsm.d: Delete. + * testsuite/gas/i860/pfsm.s: Delete. + * testsuite/gas/i860/pseudo-ops01.d: Delete. + * testsuite/gas/i860/pseudo-ops01.s: Delete. + * testsuite/gas/i860/regress01.d: Delete. + * testsuite/gas/i860/regress01.s: Delete. + * testsuite/gas/i860/shift.d: Delete. + * testsuite/gas/i860/shift.s: Delete. + * testsuite/gas/i860/simd.d: Delete. + * testsuite/gas/i860/simd.s: Delete. + * testsuite/gas/i860/system.d: Delete. + * testsuite/gas/i860/system.s: Delete. + * testsuite/gas/i860/xp.d: Delete. + * testsuite/gas/i860/xp.s: Delete. + * Makefile.am: Remove i860 and i960 support. + * configure.tgt: Likewise. + * doc/Makefile.am: Likewise. + * doc/all.texi: Likewise. + * testsuite/gas/all/gas.exp + * config/obj-coff.h: Remove i960 support. + * doc/internals.texi: Likewise. + * expr.c: Likewise. + * read.c: Likewise. + * write.c: Likewise. + * write.h: Likewise. + * testsuite/gas/lns/lns.exp: Likewise. + * testsuite/gas/symver/symver.exp: Likewise. + * config/tc-m68k.c: Remove BOUT support. + * config/tc-score.c: Likewise. + * config/tc-score7.c: Likewise. + * config/tc-sparc.c: Likewise. + * symbols.c: Likewise. + * doc/h8.texi: Likewise. + * configure.ac: Remove BOUT and i860 support. + * doc/as.texinfo: Remove BOUT, i860 and i960 support + * Makefile.in: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + * doc/Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-05 H.J. Lu + + PR gas/22318 + * configure: Regenerated. + +2018-04-04 H.J. Lu + + PR binutils/23025 + * testsuite/gas/i386/prefix.s: Add tests for vcvtpd2dq with + VEX and EVEX prefixes. + * testsuite/gas/i386/prefix.d: Updated. + +2018-03-30 Peter Bergner + + PR binutils/23013 + * config/tc-ppc.c (ppc_set_cpu): Select appropriate cpu when ppc_obj64 + and little endian. + +2018-03-28 Renlin Li + + PR ld/22970 + * config/tc-aarch64.c (reloc_table): Update entry for tprel_lo12 and + tprel_lo12_nc with pseudo relocations. + (ldst_lo12_determine_real_reloc_type): Add new relocations support. + (parse_operands): Handle BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12 and + BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC pseudo relocations. + (md_apply_fix): Add handling for new relocation. + (aarch64_force_relocation): Likewise. + * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.d: New. + * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.s: New. + * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.d: New. + * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.s: New. + * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.d: New. + * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.s: New. + * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.d: New. + * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.s: New. + * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.d: New. + * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.s: New. + * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.d: New. + * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.s: New. + * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.d: New. + * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.s: New. + * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.d: New. + * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.s: New. + * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16-ilp32.d: New. + * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32-ilp32.d: New. + * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64-ilp32.d: New. + * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8-ilp32.d: New. + * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16-ilp32.d: New. + * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32-ilp32.d: New. + * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64-ilp32.d: New. + * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8-ilp32.d: New. + +2018-03-28 Jan Beulich + + * config/tc-i386.c (check_VecOperands): Replace uses of + .vecesize. Always initialize op. + * testsuite/gas/i386/avx512_vpopcntdq.s, + testsuite/gas/i386/avx512bitalg_vl.s: Add Intel syntax vpopcnt + broadcast cases with explicit operand size. + * testsuite/gas/i386/avx512_vpopcntdq.d, + testsuite/gas/i386/avx512_vpopcntdq-intel.d, + testsuite/gas/i386/avx512bitalg_vl.d + testsuite/gas/i386/avx512bitalg_vl-intel.d: Adjust expectations. + +2018-03-28 Jan Beulich + + * config/tc-i386.c (struct Broadcast_Operation): Adjust comment. + (check_VecOperands): Re-write broadcast validation code. + (check_VecOperations): Replace BROADCAST_1TO* uses. + * testsuite/gas/i386/inval-avx512f.s: Add various broadcast + cases. + * testsuite/gas/i386/inval-avx512f.l: Adjust expectations. + +2018-03-28 Jan Beulich + + * config/tc-i386.c (process_suffix): Check .todword/.toqword + before zapping suffix. + +2018-03-28 Jan Beulich + + * testsuite/gas/i386/ilp32/x86-64-simd-suffix.d, + testsuite/gas/i386/x86-64-simd-suffix.d: Drop q suffix from + cvt*2si. + +2018-03-28 Nick Clifton + + PR 22988 + * config/tc-aarch64.c (parse_operands): Add code to handle + AARCH64_OPN_SVE_ADDR_R. + * testsuite/gas/aarch64/sve.s: Add tests for LDFF1xx instructions + with an assumed XZR offset address register. + * testsuite/gas/aarch64/sve.d: Update expected disassembly. + +2018-03-22 Jan Beulich + + * config/tc-i386.c (check_VecOperands): Latch + i.broadcast->operand into op. + +2018-03-22 Jan Beulich + + * config/tc-i386.c (match_template): Special case base opcode + 0xa0 with HLE prefix. + * testsuite/gas/i386/hle.s: Add mov-accumulator-to-disp cases. + * testsuite/gas/i386/hle.d, testsuite/gas/i386/hle-intel.d: + Adjust expectations. + +2018-03-22 Jan Beulich + + * testsuite/gas/i386/opts.s: Add bndmov cases. + * testsuite/gas/i386/opts.d, testsuite/gas/i386/opts-intel.d, + testsuite/gas/i386/sse2avx-opts.d, + testsuite/gas/i386/sse2avx-opts-intel.d: Adjust expectations. + +2018-03-22 Jan Beulich + + * config/tc-i386.c (match_mem_size): Extend sub-xmmword + exceptions. + * testsuite/gas/i386/xmmword.l, testsuite/gas/i386/xmmword.s: + New. + * testsuite/gas/i386/i386.exp: Run new test. + +2018-03-22 Jan Beulich + + * config/tc-i386.c (match_template): Also match 2nd and 4th + operand's register sizes. + * testsuite/gas/i386/unspec.l, testsuite/gas/i386/unspec.s: New. + * testsuite/gas/i386/i386.exp: Run new test. + +2018-03-19 Nick Clifton + + * po/uk.po: Updated Ukranian translation. + +2018-03-16 Jim Wilson + + * config/tc-riscv.c (check_absolute_expr): Expand comment. New + parameter maybe_csr. If maybe_csr and O_symbol, print CSR name. + (riscv_ip): Add new argument to check_absolute_expr calls. + * testsuite/gas/riscv/bad-csr.d: New. + * testsuite/gas/riscv/bad-csr.l: New. + * testsuite/gas/riscv/bad-csr.s: New. + +2018-03-14 Kito Cheng + + * config/tc-riscv.c (opcode_name_list): New. + (opcode_names_hash): Likewise. + (init_opcode_names_hash): Likewise. + (opcode_name_lookup): Likewise. + (validate_riscv_insn): New argument length, and add new format + which used in .insn directive. + (md_begin): Refine hash table initialization logic into + init_opcode_hash. + (init_opcode_hash): New. + (my_getOpcodeExpression): Parse opcode name for .insn. + (riscv_ip): New argument hash, able to handle .insn directive. + (s_riscv_insn): Handler for .insn directive. + (riscv_pseudo_table): New entry for .insn. + * doc/c-riscv.texi: Add documentation for .insn directive. + * testsuite/gas/riscv/insn.d: Add testcase for .insn directive. + * testsuite/gas/riscv/insn.s: Likewise. + +2018-03-13 Nick Clifton + + * po/ru.po: Updated Russian translation. + +2018-03-09 H.J. Lu + + * config/tc-i386.c (optimize_encoding): Encode EVEX instructions + with VEX128 if EVEX encoding isn't required. + * testsuite/gas/i386/optimize-1.d: Updated. + * testsuite/gas/i386/x86-64-optimize-2.d: Likewise. + +2018-03-09 H.J. Lu + + * config/tc-i386.c (check_VecOperations): Strip whitespace. + * testsuite/gas/i386/optimize-1.s: Add whitespaces before + {%k7} and {z}, + * testsuite/gas/i386/x86-64-optimize-2.s: Likewise. + +2018-03-08 H.J. Lu + + * config/tc-i386.c (set_cpu_arch): Set cpu_arch_isa_flags. + (md_parse_option): Likewise. + (optimize_encoding): Check i.tm.cpu_flags and cpu_arch_isa_flags + for cpuavx512vl instead of cpu_arch_flags. Optimize EVEX with + EVEX128 when EVEX encoding is required. + * testsuite/gas/i386/i386.exp: Run optimize-4, optimize-5, + x86-64-optimize-5 and x86-64-optimize-6. + * testsuite/gas/i386/optimize-1.d: Updated. + * testsuite/gas/i386/x86-64-optimize-2.d: Likewise. + * testsuite/gas/i386/optimize-4.d: New file. + * testsuite/gas/i386/optimize-4.s: Likewise. + * testsuite/gas/i386/optimize-5.d: Likewise. + * testsuite/gas/i386/optimize-5.s: Likewise. + * testsuite/gas/i386/x86-64-optimize-5.d: Likewise. + * testsuite/gas/i386/x86-64-optimize-5.s: Likewise. + * testsuite/gas/i386/x86-64-optimize-6.d: Likewise. + * testsuite/gas/i386/x86-64-optimize-6.s: Likewise. + +2018-03-08 H.J. Lu + + * config/tc-i386.c (optimize_encoding): Also encode "clr reg64" + as "xor reg32, reg32". + * testsuite/gas/i386/x86-64-optimize-1.s: Add "clr reg64" tests. + * testsuite/gas/i386/x86-64-optimize-1.d: Updated. + +2018-03-08 H.J. Lu + + * NEWS: Mention -mold-gcc removal. + * config/tc-i386.c (i386_error): Remove old_gcc_only. + (old_gcc): Removed. + (match_template): Remove old gcc support. + (OPTION_MOLD_GCC): Removed. + (OPTION_MRELAX_RELOCATIONS): Updated. + (md_longopts): Remove OPTION_MOLD_GCC. + (md_parse_option): Likewise. + (md_show_usage): Remove -mold-gcc. + * testsuite/gas/i386/general.s: Convert fsub/fdiv tests for old + (<= 2.8.1) versions of gcc. + * testsuite/gas/i386/intel.s: Likewise. + * testsuite/gas/i386/general.l: Updated. + * testsuite/gas/i386/intel-intel.d: Likewise. + * testsuite/gas/i386/intel.d: Likewise. + * testsuite/gas/i386/intel.e: Likewise. + * testsuite/gas/i386/i386.exp: Don't pass -mold-gcc to general. + +2018-03-08 Jan Beulich + + * config/tc-i386.c (is_evex_encoding): New. + (optimize_encoding, md_assemble, md_assemble, + VEX_check_operands, build_modrm_byte): Use is_evex_encoding. + (build_evex_prefix): Derive EVEX length field from actual + operands if the template allows multiple ones. + +2018-03-08 Jan Beulich + + * config/tc-i386.c (build_modrm_byte): Make VexNDD handling cope + with 3rd (immediate) operand. + +2018-03-08 Jan Beulich + + * config/tc-i386.c (XMMWORD_MNEM_SUFFIX, YMMWORD_MNEM_SUFFIX, + ZMMWORD_MNEM_SUFFIX): Delete. + (process_suffix): Drop their uses. Re-arrange final part of + logic into a switch() statement. Drop special casing of + cmpxchg8b. + +2018-03-08 Jan Beulich + + * config/tc-i386.c (match_template): Also match register + operands 0 and 2 for 3-operand forms. + * testsuite/gas/i386/unspec64.l, testsuite/gas/i386/unspec64.s: + New. + * testsuite/gas/i386/i386.exp: Run new test. + +2018-03-08 Jan Beulich + + * config/tc-i386.c (process_suffix): Do common part of register + checks first. + +2018-03-08 Jan Beulich + + * config/tc-i386.c (parse_insn): Move success return up. Combine + failure returns. + +2018-03-08 Jan Beulich + + * config/tc-i386.c (cpu_flags_match): Add GFNI check to AVX + logic. Add respective logic for AVX512F. + * testsuite/gas/i386/arch-avx-1.s: Add GFNI test. + testsuite/gas/i386/arch-avx-1.d, + testsuite/gas/i386/arch-avx-1-1.l, + testsuite/gas/i386/arch-avx-1-2.l, + testsuite/gas/i386/arch-avx-1-3.l, + testsuite/gas/i386/arch-avx-1-4.l, + testsuite/gas/i386/arch-avx-1-5.l, + testsuite/gas/i386/arch-avx-1-6.l: Adjust expectations. + * testsuite/gas/i386/arch-avx-1-7.l, + testsuite/gas/i386/arch-avx-1-7.s, + testsuite/gas/i386/arch-avx-1-8.l, + testsuite/gas/i386/arch-avx-1-8.s, + testsuite/gas/i386/avx512f-plain.l, + testsuite/gas/i386/avx512f-plain.s, + testsuite/gas/i386/avx512vl-plain.l, + testsuite/gas/i386/avx512vl-plain.s: New. + * testsuite/gas/i386/i386.exp: Run new tests. + +2018-03-08 Jan Beulich + + * config/tc-i386.c (cpu_flags_match): Move AVX512VL check ahead. + +2018-03-08 Jan Beulich + + * config/tc-i386.c (CPU_FLAGS_32BIT_MATCH): Delete. + (cpu_flags_match): Use CPU_FLAGS_ARCH_MATCH instead of + CPU_FLAGS_32BIT_MATCH. + +2018-03-08 Jan Beulich + + * config/tc-i386.c (CPU_FLAGS_AES_MATCH, CPU_FLAGS_AVX_MATCH, + CPU_FLAGS_PCLMUL_MATCH): Delete. + (CPU_FLAGS_32BIT_MATCH): Drop uses of deleted CPU_FLAGS_*_MATCH. + (cpu_flags_match): Combine AVX checks into + single if(). + +2018-03-08 Jan Beulich + + * config/tc-i386.c (cpu_flags_match): Drop "else" branches + setting CPU_FLAGS_ARCH_MATCH. + +2018-03-08 Jan Beulich + + * config/tc-i386.c (md_assemble): Extend SSE check conditional. + * testsuite/gas/i386/ilp32/x86-64-sse-check-none.d, + testsuite/gas/i386/ilp32/x86-64-sse-check-warn.d, + testsuite/gas/i386/ilp32/x86-64-sse-check.d, + testsuite/gas/i386/sse-check-none.d, + testsuite/gas/i386/sse-check-warn.d, + testsuite/gas/i386/x86-64-sse-check.d, + testsuite/gas/i386/x86-64-sse-check-none.d, + testsuite/gas/i386/x86-64-sse-check-warn.d: Refer to sse-check.d. + * testsuite/gas/i386/sse-check.s: Add AES, GFNI, and PCLMUL + tests. + * testsuite/gas/i386/sse-check-none.s: Replace code by inclusion + of sse-check.s. + * testsuite/gas/i386/sse-check.d: Adjust expectations. + * testsuite/gas/i386/sse-check-error.l, + testsuite/gas/i386/x86-64-sse-check-error.l: Likewise. + * testsuite/gas/i386/sse-check-warn.e: Likewise. + +2018-03-08 Jan Beulich + + * config/tc-i386.c (operand_size_match): Drop / replace uses of + .floatd. + +2018-03-08 Jan Beulich + + * testsuite/gas/i386/intel-intel.d: New. + * testsuite/gas/i386/i386.exp: Run new test. + +2018-03-08 Jan Beulich + + * config/tc-i386.c (process_operands): Access operands only + after operand count assertion. Sanitize warning text. Fix + indentation. + * testsuite/gas/i386/avx512_4fmaps-warn.l, + gas/i386/x86-64-avx512_4fmaps-warn.l: Adjust expectations. + +2018-03-08 Jan Beulich + + * testsuite/gas/i386/x86-64-movd.s: Drop bogus vmovd memory forms. + * testsuite/gas/i386/x86-64-movd.d, + testsuite/gas/i386/x86-64-movd-intel.d: Adjust expectations. + +2018-03-08 Jan Beulich + + * config/tc-i386.c (operand_type_and_not): New. + (build_modrm_byte): Use it to prevent clearing unrelated bits. + +2018-03-08 Alan Modra + + * config/tc-ppc.c (ppc_handle_align): Correct last patch. Really + don't emit a group terminating nop for power9. Simplify cpu + tests. + +2018-03-08 Alan Modra + + * config/tc-ppc.c (ppc_handle_align): Don't emit a group + terminating nop for power9. + +2018-03-07 H.J. Lu + + PR gas/22874 + * config/tc-i386.c (f32_5): Removed. + (f32_8): Likewise. + (f32_9): Likewise. + (f32_10): Likewise. + (f32_11): Likewise. + (f32_12): Likewise. + (f32_13): Likewise. + (f32_14): Likewise. + (f16_5): Likewise. + (f16_6): Likewise. + (f16_7): Likewise. + (f16_8): Likewise. + (jump_31): Likewise. + (alt64_11): Likewise. + (alt64_patt): Likewise. + (jump_disp8): New. + (jump32_disp32): Likewise. + (jump16_disp32): Likewise. + (alt_11): Likewise. + (f32_patt): Updated. + (f16_patt): Likewise. + (alt_patt): Add alt_11. + (i386_align_code): Merged with ... + (i386_generate_nops): This. Rewritten. + (fits_in_imm7): Moved before i386_generate_nops. + (fits_in_imm31): Likewise. + * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Updated to + 4095. + (i386_align_code): Removed. + (HANDLE_ALIGN): Rewritten with i386_generate_nops. + * doc/as.texinfo: Update limits of control byte for x86 .nops + directive. + * testsuite/gas/i386/i386.exp: Run nops-7 and x86-64-nops-7. + * gas/testsuite/gas/i386/noavx-3.l: Updated. + * gas/testsuite/gas/i386/nop-1.d: Likewise. + * gas/testsuite/gas/i386/nop-1.s: Likewise. + * gas/testsuite/gas/i386/nop-2.d: Likewise. + * gas/testsuite/gas/i386/nop-2.s: Likewise. + * gas/testsuite/gas/i386/nop-3.d: Likewise. + * gas/testsuite/gas/i386/nop-4.d: Likewise. + * gas/testsuite/gas/i386/nop-5.d: Likewise. + * gas/testsuite/gas/i386/nop-5.s: Likewise. + * gas/testsuite/gas/i386/nop-6.d: Likewise. + * gas/testsuite/gas/i386/nop-bad-1.l: Likewise. + * gas/testsuite/gas/i386/nops-1-core2.d: Likewise. + * gas/testsuite/gas/i386/nops-1-i386-i686.d: Likewise. + * gas/testsuite/gas/i386/nops-1-i386.d: Likewise. + * gas/testsuite/gas/i386/nops-1-i686.d: Likewise. + * gas/testsuite/gas/i386/nops-1-k8.d: Likewise. + * gas/testsuite/gas/i386/nops-1.d: Likewise. + * gas/testsuite/gas/i386/nops-2-core2.d: Likewise. + * gas/testsuite/gas/i386/nops-2-i386.d: Likewise. + * gas/testsuite/gas/i386/nops-2.d: Likewise. + * gas/testsuite/gas/i386/nops-3-i386.d: Likewise. + * gas/testsuite/gas/i386/nops-3-i686.d: Likewise. + * gas/testsuite/gas/i386/nops-3.d: Likewise. + * gas/testsuite/gas/i386/nops-4-i386.d: Likewise. + * gas/testsuite/gas/i386/nops-4-i686.d: Likewise. + * gas/testsuite/gas/i386/nops-4.d: Likewise. + * gas/testsuite/gas/i386/nops-4a-i686.d: Likewise. + * gas/testsuite/gas/i386/nops-5-i686.d: Likewise. + * gas/testsuite/gas/i386/nops-5.d: Likewise. + * gas/testsuite/gas/i386/nops-6.d: Likewise. + * gas/testsuite/gas/i386/nops16-1.d: Likewise. + * gas/testsuite/gas/i386/x86-64-nop-1.d: Likewise. + * gas/testsuite/gas/i386/x86-64-nop-2.d: Likewise. + * gas/testsuite/gas/i386/x86-64-nop-5.d: Likewise. + * gas/testsuite/gas/i386/x86-64-nops-1-core2.d: Likewise. + * gas/testsuite/gas/i386/x86-64-nops-1-g64.d: Likewise. + * gas/testsuite/gas/i386/x86-64-nops-1-k8.d: Likewise. + * gas/testsuite/gas/i386/x86-64-nops-1-pentium.d: Likewise. + * gas/testsuite/gas/i386/x86-64-nops-1.d: Likewise. + * gas/testsuite/gas/i386/x86-64-nops-2.d: Likewise. + * gas/testsuite/gas/i386/x86-64-nops-3.d: Likewise. + * gas/testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise. + * gas/testsuite/gas/i386/x86-64-nops-4-k8.d: Likewise. + * gas/testsuite/gas/i386/x86-64-nops-4.d: Likewise. + * gas/testsuite/gas/i386/x86-64-nops-5-k8.d: Likewise. + * gas/testsuite/gas/i386/x86-64-nops-5.d: Likewise. + * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise. + * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise. + * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-pentium.d: Likewise. + * gas/testsuite/gas/i386/ilp32/x86-64-nops-1.d: Likewise. + * gas/testsuite/gas/i386/ilp32/x86-64-nops-2.d: Likewise. + * gas/testsuite/gas/i386/ilp32/x86-64-nops-3.d: Likewise. + * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise. + * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise. + * gas/testsuite/gas/i386/ilp32/x86-64-nops-4.d: Likewise. + * gas/testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise. + * gas/testsuite/gas/i386/ilp32/x86-64-nops-5.d: Likewise. + * gas/testsuite/gas/i386/nops-7.d: New file. + * gas/testsuite/gas/i386/nops-7.s: Likewise. + * gas/testsuite/gas/i386/x86-64-nops-7.d: Likewise. + +2018-03-07 Alan Modra + + * testsuite/gas/ppc/aix.exp: Run for rs6000 too. + * testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets. + * testsuite/gas/ppc/machine.d: Don't run for PE targets. + +2018-03-02 Thomas Preud'homme + + * config/tc-arm.c (md_begin): Add NULL pointer check before + dereferencing march_ext_opt. + +2018-03-01 Thomas Preud'homme + + * config/tc-arm.c (cpu_variant, arm_arch_used, thumb_arch_used, + legacy_cpu, legacy_fpu, mcpu_cpu_opt, dyn_mcpu_ext_opt, + mcpu_fpu_opt, march_cpu_opt, dyn_march_ext_opt, march_fpu_opt, + mfpu_opt, object_arch, selected_cpu): Comment meaning of variables. + (dyn_mcpu_ext_opt): Also rename into ... + (mcpu_ext_opt): This. + (dyn_march_ext_opt): Also rename into ... + (march_ext_opt): This. + (object_arch): Also rename into ... + (selected_object_arch): This and make it a plain arm_feature_set + structure. + (selected_arch, selected_ext, selected_fpu): New static variables. + (mark_feature_used): Fix comments, feature is marked as used iff it is + currently allowed. + (do_bx): Adapt to change in name and type of object_arch. + (md_begin): Set selected_arch rather than mcpu_cpu_opt, selected_ext + rather than dyn_mcpu_ext_opt and selected_fpu rather than mfpu_opt. + Remove dead code to set default FPU if architecture version is greater + than 5. Set all CPU bits of cpu_variant directly in autodection + leaving mcpu_cpu_opt, selected_arch and selected_cpu unset. + (arm_parse_extension): Take extension feature set pointer parameter by + value rather than by pointer. Remove allocation code. Adapt code + accordingly. + (arm_parse_cpu): Adapt to variable renaming and changes in + arm_parse_extension () signature. + (arm_parse_arch): Likewise. + (aeabi_set_public_attributes): Also set selected_arch and selected_ext + in addition to selected_cpu. Set flags_arch and flags_ext from them + instead of selected_cpu. Adapt to variables renaming and type change. + (arm_md_post_relax): Adapt to variable renaming. + (s_arm_cpu): Set selcted_cpu_cpu and selected_ext instead of + mcpu_cpu_opt and dyn_mcpu_ext_opt. Set selected_cpu from them and + cpu_variant from selected_cpu and selected_fpu. + (s_arm_arch): Likewise. + (s_arm_object_arch): Adapt to variable renaming. + (s_arm_arch_extension): Use ARM_CPU_IS_ANY instead of checking feature + set against arm_any. Check selected_arch rather than *mcpu_cpu_opt. + Set selected_ext rather than *dyn_mcpu_ext_opt and remove allocation + code. + (s_arm_fpu): Set selected_fpu instead of mfpu_opt. Set all CPU feature + bits if in autodetection mode. + +2018-03-01 H.J. Lu + + * config/tc-i386.c (optimize_encoding): Optimize AVX256 and + AVX512 vpsub[bwdq] instructions. + * testsuite/gas/i386/optimize-1.s: Add tests for AVX256 and + AVX512 vpsub[bwdq] instructions. + * testsuite/gas/i386/x86-64-optimize-2.s: Likewise. + * testsuite/gas/i386/optimize-1.d: Updated. + * testsuite/gas/i386/x86-64-optimize-2.d: Likewise. + +2018-03-01 Alan Modra + + * configure.ac (ALL_LINGUAS): Add uk. Sort. + * configure: Regenerate. + +2018-02-27 H.J. Lu + + * NEWS: Rename .nop to .nops. + * doc/as.texinfo: Likewise. + * read.c (potable): Add "nops". Remove "nop". + (s_nop): Renamed to ... + (s_nops): This. + * read.h (s_nop): Renamed to ... + (s_nops): This. + * write.c (cvt_frag_to_fill): Rename .nop to .nops. + (md_generate_nops): Likewise. + (relax_segment): Likewise. + * testsuite/gas/i386/nop-1.d: Updated. + * testsuite/gas/i386/nop-1.s: Likewise. + * testsuite/gas/i386/nop-2.d: Likewise. + * testsuite/gas/i386/nop-2.s: Likewise. + * testsuite/gas/i386/nop-3.d: Likewise. + * testsuite/gas/i386/nop-3.s: Likewise. + * testsuite/gas/i386/nop-4.d: Likewise. + * testsuite/gas/i386/nop-4.s: Likewise. + * testsuite/gas/i386/nop-5.d: Likewise. + * testsuite/gas/i386/nop-5.s: Likewise. + * testsuite/gas/i386/nop-6.d: Likewise. + * testsuite/gas/i386/nop-6.s: Likewise. + * testsuite/gas/i386/nop-bad-1.l: Likewise. + * testsuite/gas/i386/nop-bad-1.s: Likewise. + * testsuite/gas/i386/x86-64-nop-1.d: Likewise. + * testsuite/gas/i386/x86-64-nop-2.d: Likewise. + * testsuite/gas/i386/x86-64-nop-3.d: Likewise. + * testsuite/gas/i386/x86-64-nop-4.d: Likewise. + * testsuite/gas/i386/x86-64-nop-5.d: Likewise. + * testsuite/gas/i386/x86-64-nop-6.d: Likewise. + +2018-02-27 H.J. Lu + + PR gas/22871 + * NEWS: Mention -O[2|s]. + * config/tc-i386.c (_i386_insn): Add no_optimize. + (optimize): New. + (optimize_for_space): Likewise. + (fits_in_imm7): New function. + (fits_in_imm31): Likewise. + (optimize_encoding): Likewise. + (md_assemble): Call optimize_encoding to optimize encoding. + (parse_insn): Handle {nooptimize}. + (md_shortopts): Append "O::". + (md_parse_option): Handle -On. + * doc/c-i386.texi: Document -O0, -O, -O1, -O2 and -Os as well + as {nooptimize}. + * testsuite/gas/cfi/cfi-x86_64.d: Pass -O0 to assembler. + * testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d: Likewise. + * testsuite/gas/i386/i386.exp: Run optimize-1, optimize-2, + optimize-3, x86-64-optimize-1, x86-64-optimize-2, + x86-64-optimize-3 and x86-64-optimize-4. + * testsuite/gas/i386/optimize-1.d: New file. + * testsuite/gas/i386/optimize-1.s: Likewise. + * testsuite/gas/i386/optimize-2.d: Likewise. + * testsuite/gas/i386/optimize-2.s: Likewise. + * testsuite/gas/i386/optimize-3.d: Likewise. + * testsuite/gas/i386/optimize-3.s: Likewise. + * testsuite/gas/i386/x86-64-optimize-1.s: Likewise. + * testsuite/gas/i386/x86-64-optimize-1.d: Likewise. + * testsuite/gas/i386/x86-64-optimize-2.d: Likewise. + * testsuite/gas/i386/x86-64-optimize-2.s: Likewise. + * testsuite/gas/i386/x86-64-optimize-3.d: Likewise. + * testsuite/gas/i386/x86-64-optimize-3.s: Likewise. + * testsuite/gas/i386/x86-64-optimize-4.d: Likewise. + * testsuite/gas/i386/x86-64-optimize-4.s: Likewise. + +2018-02-27 Nick Clifton + + * po/ru.po: Updated Russian translation. + +2018-02-26 Maciej W. Rozycki + + * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds' + descriptions. + +2018-02-26 Nick Clifton + + * doc/as.texinfo (Dc): Fix typo. + +2018-02-26 Alan Modra + + * testsuite/gas/mips/reginfo-2.l: Update. + +2018-02-23 Alan Modra + + * testsuite/gas/mips/reginfo-2.l: Update. + +2018-02-23 Nick Clifton + + * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds. + +2018-02-23 Kuan-Lin Chen + + * config/tc-nds32.c (ict_model): New function. Hook new + directive .ict_model. + (nds32_insert_relax_entry): Tag the bits of entry relocation + for .ict_model. + +2018-02-22 H.J. Lu + + * config/tc-i386.c (_i386_insn): Add rex_encoding. + (md_assemble): When i.rex_encoding is true, generate a REX byte + if possible. + (parse_insn): Set i.rex_encoding for {rex}. + * doc/c-i386.texi: Document {rex}. + * testsuite/gas/i386/x86-64-pseudos.s: Add {rex} tests. + * testsuite/gas/i386/x86-64-pseudos.d: Updated. + +2018-02-22 A. Wilcox + + PR 22014 + * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the + instruction size suffix. + +2018-02-20 Maciej W. Rozycki + + * testsuite/gas/mips/mips16-branch-reloc-4.d: New test. + * testsuite/gas/mips/mips16-branch-reloc-5.d: New test. + * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source. + * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2018-02-20 Max Filippov + + * config/tc-xtensa.c (struct litpool_frag): Add new field + literal_count. + (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS) + (MAX_POOL_LITERALS): New macro definitions. + (auto_litpool_limit): Initialize to 0. + (md_parse_option): Set auto_litpool_limit in the presence of + --auto-litpools option. + (xtensa_maybe_create_literal_pool_frag): Zero-initialize + literal_count field. + (xg_find_litpool): New function. Make sure that found literal + pool size is within the limit. + (xtensa_move_literals): Extract literal pool search code into + the new function. + * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test. + * testsuite/gas/xtensa/auto-litpools-2.d: New file. + * testsuite/gas/xtensa/auto-litpools-2.s: New file. + * testsuite/gas/xtensa/auto-litpools.d: Fix up changed + addresses. + * testsuite/gas/xtensa/auto-litpools.s: Change literal value so + that objdump doesn't get out of sync. + +2018-02-20 Thomas Preud'homme + + * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are + also the same as -march. + +2018-02-17 H.J. Lu + + * NEWS: Mention .nop directive. + * as.h (_relax_state): Add rs_space_nop and rs_fill_nop. + * read.c (potable): Add .nop. + (s_nop): New function. + * read.h (s_nop): New prototype. + * write.c (cvt_frag_to_fill): Handle rs_space_nop and + rs_fill_nop. + (md_generate_nops): New function. + (relax_segment): Likewise. + (write_contents): Use md_generate_nops for rs_fill_nop. + * config/tc-i386.c (alt64_11): New. + (alt64_patt): Likewise. + (md_convert_frag): Handle rs_space_nop. + (i386_output_nops): New function. + (i386_generate_nops): Likewise. + (i386_align_code): Call i386_output_nops. + * config/tc-i386.h (i386_generate_nops): New. + (md_generate_nops): Likewise. + * doc/as.texinfo: Document .nop directive. + * testsuite/gas/i386/i386.exp: Run .nop directive tests. + * testsuite/gas/i386/nop-1.d: New file. + * testsuite/gas/i386/nop-1.s: Likewise. + * testsuite/gas/i386/nop-2.d: Likewise. + * testsuite/gas/i386/nop-2.s: Likewise. + * testsuite/gas/i386/nop-3.d: Likewise. + * testsuite/gas/i386/nop-3.s: Likewise. + * testsuite/gas/i386/nop-4.d: Likewise. + * testsuite/gas/i386/nop-4.s: Likewise. + * testsuite/gas/i386/nop-5.d: Likewise. + * testsuite/gas/i386/nop-5.s: Likewise. + * testsuite/gas/i386/nop-6.d: Likewise. + * testsuite/gas/i386/nop-6.s: Likewise. + * testsuite/gas/i386/nop-bad-1.l: Likewise. + * testsuite/gas/i386/nop-bad-1.s: Likewise. + * testsuite/gas/i386/x86-64-nop-1.d: Likewise. + * testsuite/gas/i386/x86-64-nop-2.d: Likewise. + * testsuite/gas/i386/x86-64-nop-3.d: Likewise. + * testsuite/gas/i386/x86-64-nop-4.d: Likewise. + * testsuite/gas/i386/x86-64-nop-5.d: Likewise. + * testsuite/gas/i386/x86-64-nop-6.d: Likewise. + +2018-02-15 Tamar Christina + + * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A. + * testsuite/gas/arm/attr-march-armv8_4-a.d: New. + +2018-02-13 Max Filippov + + * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline + frag that contains source address. + +2018-02-13 Nick Clifton + + PR 22773 + * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR + instruction before assuming that it is a MOV instruction. + * testsuite/gas/arm/pr22773.s: New test. + * testsuite/gas/arm/pr22773.d: New test driver. + * testsuite/gas/arm/pr22773.l: New expected output. + +2018-02-13 H.J. Lu + + PR gas/22791 + * config/tc-i386.c (need_plt32_p): New function. + (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible. + (md_estimate_size_before_relax): Likewise. + * testsuite/gas/i386/reloc64.d: Updated. + * testsuite/gas/i386/x86-64-jump.d: Likewise. + * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise. + * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise. + * testsuite/gas/i386/x86-64-relax-2.d: Likewise. + * testsuite/gas/i386/x86-64-relax-3.d: Likewise. + * testsuite/gas/i386/ilp32/reloc64.d: Likewise. + * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise. + +2018-02-13 Maciej W. Rozycki + + * testsuite/gas/mips/loongson-3a-2.d: Rename test. + +2018-02-13 Nick Clifton + + PR 22823 + * config/obj-elf.c (elf_pseudo_table): Remove now redundant + casts. + (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit. + (obj_elf_vtable_inherit): New stub function that calls + obj_elf_get_vtable_inherit. + (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry. + (obj_elf_vtable_entry): New stub function that calls + obj_elf_get_vtable_entry. + * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype. + (obj_elf_vtable_entry) Likewise. + (obj_elf_get_vtable_inherit) Likewise. + (obj_elf_get_vtable_entry) Likewise. + * config/tc-arm.c (md_pseudo_table): Remove now redundant cast. + * config/tc-i386c (md_pseudo_table): Likewise. + * config/tc-hppa.c (pa_vtable_entry): Call + obj_elf_get_vtable_entry. + (pa_vtable_inherit): Call obj_elf_get_vtable_inherit. + * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file + with call to dwarf2_get_filename. + * dwarf2dbg.c (dwarf2_directive_file): Rename to + dwarf2_directive_filename. + (dwarf2_directive_file): New stub function that calls + dwarf2_directive_filename. + * dwarf2dbg.h: Prototype dwarf2_directive_filename. + +2018-02-12 Maciej W. Rozycki + + * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to + `as' flags. + +2018-02-12 Henry Wong + + * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix. + * testsuite/gas/mips/r6-n32.d: Likewise. + * testsuite/gas/mips/r6-n64.d: Likewise. + +2018-02-12 Nick Clifton + + * po/ru.po: Updated Russian translation. + +2018-02-08 Alan Modra + + PR 22819 + * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking. + (ppc_frag_check): Likewise. + * testsuite/gas/ppc/misalign.d, + * testsuite/gas/ppc/misalign.l, + * testsuite/gas/ppc/misalign.s: New test. + * testsuite/gas/ppc/misalign2.d, + * testsuite/gas/ppc/misalign2.s: New test. + * testsuite/gas/ppc/ppc.exp: Run them. + +2018-02-05 Maciej W. Rozycki + + * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename + `expr' parameter to `ep'. + +2018-02-05 Maciej W. Rozycki + + * testsuite/gas/mips/reginfo-2.d: New test. + * testsuite/gas/mips/reginfo-2-n32.d: New test. + * testsuite/gas/mips/reginfo-2.l: New test stderr output. + * testsuite/gas/mips/reginfo-2.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2018-02-05 Nick Clifton + + * po/ru.po: Updated Russian translation. + +2018-01-31 Alan Modra + + PR 22714 + * app.c (last_char): New static var. + (struct app_save): Add last_char field. + (app_push, app_pop): Handle it. + (do_scrub_chars): Use last_char in test for "\@". Set last_char. + +2018-01-29 Eric Botcazou + + PR gas/22738 + * config/tc-sparc.h (sparc_mach): Declare. + (TARGET_MACH): Define to above. + * config/tc-sparc.c (sparc_mach): New function. + (sparc_md_end): Minor tweak. + +2018-01-29 Nick Clifton + + * po/ru.po: Updated Russian translation. + +2018-01-26 Maciej W. Rozycki + + * configure.tgt: Use generic emulation for `mips-*-windiss', + overriding the blanket choice made for `*-*-windiss'. + +2018-01-26 Maciej W. Rozycki + + * configure.tgt: Use `mips-*-sysv4*' rather than + `mips-*-sysv4*MP*'. + +2018-01-24 Renlin Li + + * config/tc-aarch64.c (reloc_table): add entries for + BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, + BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, + BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, + BFD_RELOC_AARCH64_MOVW_PREL_G3. + (process_movw_reloc_info): Supports newly added MOVW_PREL relocations. + (md_apply_fix): Likewise + * testsuite/gas/aarch64/prel_g0.s: New. + * testsuite/gas/aarch64/prel_g0.d: New. + * testsuite/gas/aarch64/prel_g0_nc.s: New. + * testsuite/gas/aarch64/prel_g0_nc.d: New. + * testsuite/gas/aarch64/prel_g1.s: New. + * testsuite/gas/aarch64/prel_g1.d: New. + * testsuite/gas/aarch64/prel_g1_nc.s: New. + * testsuite/gas/aarch64/prel_g1_nc.d: New. + * testsuite/gas/aarch64/prel_g2.s: New. + * testsuite/gas/aarch64/prel_g2.d: New. + * testsuite/gas/aarch64/prel_g2_nc.s: New. + * testsuite/gas/aarch64/prel_g2_nc.d: New. + * testsuite/gas/aarch64/prel_g3.s: New. + * testsuite/gas/aarch64/prel_g3.d: New. + +2018-01-23 Maciej W. Rozycki + + * configure.ac: Also set `mips_default_abi' to N32_ABI for + `mips64*-ps2-elf*'. + * configure: Regenerate. + +2018-01-23 Maciej W. Rozycki + + * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE + enum value. + +2018-01-23 Igor Tsimbalist + + * config/tc-i386.c (cpu_arch): Add .pconfig. + * doc/c-i386.texi: Document .pconfig. + * testsuite/gas/i386/i386.exp: Add PCONFIG tests. + * testsuite/gas/i386/pconfig-intel.d: New test. + * testsuite/gas/i386/pconfig.d: Likewise. + * testsuite/gas/i386/pconfig.s: Likewise. + * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise. + * testsuite/gas/i386/x86-64-pconfig.d: Likewise. + * testsuite/gas/i386/x86-64-pconfig.s: Likewise. + +2018-01-23 Igor Tsimbalist + + * config/tc-i386.c (cpu_arch): Add .wbnoinvd. + * doc/c-i386.texi: Document .wbnoinvd. + * testsuite/gas/i386/i386.exp: Add WBNOINVD tests. + * testsuite/gas/i386/wbnoinvd-intel.d: New test. + * testsuite/gas/i386/wbnoinvd.d: Likewise. + * testsuite/gas/i386/wbnoinvd.s: Likewise. + * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise. + * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise. + * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise. + +2018-01-23 Maciej W. Rozycki + + * config/tc-mips.c (md_show_usage): Correctly indicate the + configuration-specific default ABI. + +2018-01-23 Maciej W. Rozycki + + * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and + `-mno-mips16e2' options. + +2018-01-22 Maciej W. Rozycki + + * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides): + Correct syntax of the `.set nomips16e2' directive description. + +2018-01-22 Oleg Endo + + PR 22737 + * config/tc-rx.c (rx_start_line): Handle escaped double-quote character. + * testsuite/gas/rx/pr22737.s: New test. + * testsuite/gas/rx/pr22737.d: Likewise. + * testsuite/gas/rx/rx.exp: Run the new test. + +2018-01-19 Thomas Preud'homme + + * config/tc-arm.c (ToC macro): Remove spurious comment. + (ToU macro): Likewise. + +2018-01-17 Jim Wilson + + * config/tc-riscv.c (validate_riscv_insn) <'z'>: New. + (riscv_ip) <'z'>: New. + +2018-01-17 Igor Tsimbalist + + * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk. + (cpu_noarch): Add noibt, noshstk. + (parse_insn): Change cpucet to cpuibt. + * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk. + * testsuite/gas/i386/cet-ibt-inval.l: New test. + * testsuite/gas/i386/cet-ibt-inval.s: Likewise. + * testsuite/gas/i386/cet-shstk-inval.l: Likewise. + * testsuite/gas/i386/cet-shstk-inval.s: Likewise. + * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise. + * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise. + * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise. + * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise. + +2018-01-16 Nick Clifton + + * po/fr.po: Updated French translation. + +2018-01-15 Jim Wilson + + * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop. + * testsuite/gas/riscv/c-zero-imm.d: Likewise. + +2018-01-15 Thomas Preud'homme + + * config/tc-arm.c (ToC): Define macro. + (ToU): Likewise. + (insns): Make use of above macros for new instructions introduced in + Armv8-M. + +2018-01-15 Thomas Preud'homme + + * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm + and vlstm conditionally executable and reindent parameters. + * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of + aforementionned instructions. + +2018-01-15 Thomas Preud'homme + + * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M + profile architecture or if in autodetection mode. Clarify that + deprecation is for performance reason and concerns Armv8-A and Armv8-R. + * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning + message. + * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise. + * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise. + * testsuite/gas/arm/udf.l: Likewise. + * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely. + +2018-01-15 Nick Clifton + + * po/uk.po: Updated Ukranian translation. + +2018-01-13 Nick Clifton + + * po/gas.pot: Regenerated. + +2018-01-13 Nick Clifton + + * configure: Regenerate. + +2018-01-13 Nick Clifton + + 2.30 branch created. + * NEWS: Add marker for 2.30. + +2018-01-12 Gunther Nikl + + * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly + define to 0 and 1. Remove a dangling reference to "AMD 29000" + in a comment. + +2018-01-11 Igor Tsimbalist + + * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise. + * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise. + * testsuite/i386/avx512_4fmaps_vl.d: Likewise. + * testsuite/i386/avx512_4fmaps_vl.s: Likewise. + * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise. + * testsuite/i386/avx512_4vnniw_vl.d: Likewise. + * testsuite/i386/avx512_4vnniw_vl.s: Likewise. + * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw + tests. + * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed. + * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise. + * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise. + * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise. + * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise. + * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise. + * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise. + * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise. + +2018-01-11 Alan Modra + + * config/tc-arm.c (aeabi_set_public_attributes): Avoid false + positive "‘profile’ may be used uninitialized". + +2018-01-10 Jan Beulich + + * testsuite/gas/i386/avx512_4fmaps.s, + testsuite/gas/i386/avx512_4fmaps_vl.s, + testsuite/gas/i386/x86-64-avx512_4fmaps.s, + testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test + Disp8 forms (and the transition happening at the right + boundary). + * testsuite/gas/i386/avx512_4fmaps.d, + testsuite/gas/i386/avx512_4fmaps-intel.d, + testsuite/gas/i386/avx512_4fmaps_vl.d, + testsuite/gas/i386/avx512_4fmaps_vl-intel.d, + testsuite/gas/i386/x86-64-avx512_4fmaps.d, + testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d, + testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d, + testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust + expectations. + +2018-01-10 Jan Beulich + + * testsuite/gas/i386/avx512bw.s, + testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory + operands. + * testsuite/gas/i386/avx512bw-intel.d, + testsuite/gas/i386/avx512bw.d, + testsuite/gas/i386/avx512bw_vl-intel.d. + testsuite/gas/i386/avx512bw_vl.d: Adjust expectations. + +2018-01-09 Jim Wilson + + * testsuite/gas/riscv/auipc-x0.d: New. + * testsuite/gas/riscv/auipc-x0.s: New. + +2018-01-09 James Greenhalgh + + * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above + in Arm execution state, and Armv6T2 and above in Thumb execution + state. + * testsuite/gas/arm/csdb.s: New. + * testsuite/gas/arm/csdb.d: New. + * testsuite/gas/arm/thumb2_it_bad.l: Add csdb. + * testsuite/gas/arm/thumb2_it_bad.s: Add csdb. + +2018-01-09 James Greenhalgh + + * testsuite/gas/aarch64/system.d: Update expected results to expect + CSDB for hint 0x14. + +2018-01-08 H.J. Lu + + PR gas/22681 + * testsuite/gas/i386/i386.exp: Run x86-64-movd and + x86-64-movd-intel. + * testsuite/gas/i386/x86-64-movd-intel.d: New file. + * testsuite/gas/i386/x86-64-movd.d: Likewise. + * testsuite/gas/i386/x86-64-movd.s: Likewise. + +2018-01-08 Nick Clifton + + PR 22553 + * doc/c-i386.texi (i386-Directives): Document the .largecomm + directive. + +2018-01-04 Jim Wilson + + * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval. + * testsuite/gas/riscv/priv-reg.d: Likewise. + +2018-01-03 Alan Modra + + Update year range in copyright notice of all files. + +2018-01-02 Nick Clifton + + PR 18119 + * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked + version of ARM MRS instruction. + +For older changes see ChangeLog-2017 + +Copyright (C) 2018 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gold/ChangeLog b/gold/ChangeLog index cdbddde63f..c2900e0b00 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,777 +1,6 @@ -2018-12-18 Alan Modra - - * testsuite/Makefile.am (keep_text_section_prefix_nm.stdout): - Pass --synthetic to nm. - * testsuite/Makefile.in: Regenerate. - -2018-12-08 Alan Modra - - PR 21128 - * testsuite/icf_safe_so_test.sh (check_fold): Rewrite to check - multiple symbols at once. - (arch_specific_safe_fold): Likewise, and call with the four foo* - symbols expected to fold. - -2018-12-06 H.J. Lu - - * archive.cc (Archive::get_elf_object_for_member): Also print - archive member and non-ELF/non-IR info on error. - -2018-12-05 Alan Modra - - * symtab.h (Symbol::Symbol): Avoid -Wclass-memaccess warning. - -2018-12-03 Alexey Neyman - - PR gold/23594 - * configure.ac: Add checks for link, mkdtemp. - * configure: Regenerate. - * config.in: Regenerate. - * plugin.cc (Plugin_recorder::init): Fall back to mktemp - if mkdtemp is not available. - (link_or_copy_file): Fall back to copy if link() is not available. - -2018-12-02 H.J. Lu - - PR binutils/23919 - * merge.cc (Output_merge_string::do_add_input_section): - Get addralign from decompressed_section_contents. - * object.cc (build_compressed_section_map): Set info.addralign. - (Object::decompressed_section_contents): Add a palign - argument and store p->second.addralign in *palign if it isn't - NULL. - * object.h (Compressed_section_info): Add addralign. - (section_is_compressed): Add a palign argument, default it - to NULL, store p->second.addralign in *palign if it isn't NULL. - (Object::decompressed_section_contents): Likewise. - * output.cc (Output_section::add_input_section): Get addralign - from section_is_compressed. - -2018-11-26 Alan Modra - - * testsuite/Makefile.am (justsyms_lib): Link with -z norelro. - * testsuite/Makefile.in: Regenerate. - * testsuite/justsyms_exec.c (main): Do check exported_func - on PowerPC64 ELFv2. - -2018-11-26 Alan Modra - - * testsuite/ver_test_14.sh: Accept objdump -T display of st_other - bits on powerpc64le. - -2018-11-08 Alan Modra - - * Makefile.am (gcctestdir1/ld): Use $@ and absolute paths. - (gcctestdir1/collect-ld): New. - (ld1_DEPENDENCIES): Add gcctestdir1/collect-ld. - (ld1_LDFLAGS): Remove -Bgcctestdir1/. - (editcc1, ld1_LINK): Define. - (gcctestdir2/ld, gcctestdir2/collect-ld, ld2_DEPENDENCIES), - (ld2_LDFLAGS, editcc2, ld2_LINK), - (ld1_r_DEPENDENCIES, ld1_r_LDFLAGS, ld1_r_LINK), - (gcctestdir2-r/ld, gcctestdir2-r/collect-ld, ld2_r_DEPENDENCIES), - (ld2_r_LDFLAGS, editcc2r, ld2_r_LINK), - (gcctestdir3/ld, gcctestdir3/collect-ld, ld3_DEPENDENCIES), - (ld3_LDFLAGS, editcc3, ld3_LINK), - (gcctestdir4/ld, gcctestdir4/collect-ld, ld4_DEPENDENCIES), - (ld4_LDFLAGS, editcc4, ld4_LINK): Similarly. - * Makefile.in: Regenerate. - * testsuite/Makefile.am (editcc): Define sed command to put - our -B option first. Remove other occurrences of -Bgcctestdir/ - throughout file. - (editcc1): Define for -D_FORTIFY_SOURCE stripping. - (editcc2): Define for -static-libgcc/libstdc++ stripping. - (LINK1, CXXLINK1): Don't use CCLD or CXXLD. - (CCLD, CXXLD, COMPILE, LINK, CXXCOMPILE, CXXLINK, CXXLINK_S): Define - using editcc macros. - (gcctestdir/collect-ld): New rule, add as a dependency of.. - (gcctestdir/ld): ..this. Use $@ and abs_top_buildir. - (gcctestdir/as): Use $@. - * testsuite/Makefile.in: Regenerate. - * testsuite/incremental_test.sh (actual): Match collect-ld too. - -2018-11-02 Alan Modra - - * Makefile.am (MOSTLYCLEANFILES): Define. - * Makefile.in: Regnerate. - * testsuite/Makefile.am (MOSTLYCLEANFILES): Add ver_test_14 and - gnu_property_test. - * testsuite/Makefile.in: Regnerate. - -2018-10-16 Cherry Zhang - - PR 23769 - * gold.cc (queue_middle_tasks): Correct split-stack error message. - -2018-08-29 Chenghua Xu - - * mips.cc (Mips_mach, add_machine_extensions, elf_mips_mach): - Rename loongson3a to gs464. - (mips_isa_ext_mach, mips_isa_ext): Delete loongson3a. - (infer_abiflags): Use ases instead of isa_ext for infer ABI - flags. - (elf_mips_mach_name): Rename loongson3a to gs464. - -2018-07-10 Tulio Magno Quites Machado Filho - - * object.cc (Sized_relobj_file::map_to_kept_section): Initialize - kept_file. - -2018-08-07 Cary Coutant - - PR ld/23486 - * x86_64.cc (Target_x86_64::Target_x86_64): Initialize - object_isa_1_used_. - (Target_x86_64::object_isa_1_used_): New data member. - (Target_x86_64::record_gnu_property): Save ISA_1_USED bits for object. - (Target_x86_64::merge_gnu_properties): Merge ISA_1_USED bits. - -2018-08-06 Cary Coutant - - PR gold/23455 - * options.h (General_options): Add --warn-drop-version option. - * symtab.cc (Symbol_table::set_dynsym_indexes): Check it. - -2018-08-06 Cary Coutant - - * target.h (Sized_target::record_gnu_property): Change first two - parameters to unsigned int. - * x86_64.cc (Target_x86_64::record_gnu_property): Likewise. - -2018-07-30 Nick Clifton - - * layout.cc (section_name_mapping): Add an entry for - .gnu.build.attributes. - -2018-07-18 Nick Clifton - - * po/fr.po: Updated French translation. - -2018-07-14 Cary Coutant - - PR gold/23397 - * object.cc (Sized_relobj_file::do_layout): Mark section as deferred. - * testsuite/Makefile.am (plugin_test_1): Add --emit-relocs option to - existing test case. - * testsuite/Makefile.in: Regenerate. - -2018-07-14 Cary Coutant - - PR gold/23409 - * symtab.cc (Symbol_table::define_special_symbol): Add check for - version name on existing symbol. - * testsuite/Makefile.am (ver_test_pr23409): New test case. - * testsuite/Makefile.in: Regenerate. - * testsuite/ver_test_pr23409.sh: New test script. - * testsuite/ver_test_pr23409_1.script: New version script. - * testsuite/ver_test_pr23409_2.script: New version script. - -2018-07-11 Franz Sirl - - * main.cc (main): Print m.arena as long long. - -2018-07-09 Cary Coutant - - * incremental.cc (Sized_incremental_binary::setup_readers): Use - emplace_back for C++ 11 or later. - -2018-07-06 Alan Modra - - * powerpc.cc: Include attributes.h. - (Powerpc_relobj::attributes_section_data_): New variable, with - accessor and associated constructor and destructor support. - (Powerpc_dynobj::attributes_section_data_): Likewise. - (Powerpc_relobj::do_read_symbols): Stash SHT_GNU_ATTRIBUTES section - contents in attributes_section_data_. - (Powerpc_dynobj::do_read_symbols): Likewise. - (Target_powerpc): Add attributes_section_data_, last_fp_, last_ld_, - last_vec_, and last_struct_ vars. - (Target_powerpc::merge_object_attributes): New function. - (Target_powerpc::do_finalize_sections): Iterate over input objects - merging attributes. Create output attributes section. - -2018-06-26 Nick Clifton - - * po/uk.po: Updated Ukranian translation. - -2018-06-24 Nick Clifton - - * po/gold.pot: Regenerate. - -2018-06-24 Nick Clifton - - 2.31 branch created. - -2018-06-23 Cary Coutant - - * version.cc (version_string): Bump to 1.16. - * NEWS: Add new features in 1.16. - -2018-06-23 Cary Coutant - - PR gold/22914 - * x86_64.cc (Target_x86_64::record_gnu_property): Initialize val. - -2018-06-23 Cary Coutant - - PR gold/22915 - * x86_64.cc (Output_data_plt_x86_64_ibt): New class. - (Target_x86_64::do_make_data_plt): (All instantiations) Check for - IBT feature bit and create IBT PLTs. - -2018-06-22 Cary Coutant - - PR gold/22914 - * layout.cc (read_sized_value): Fix spelling of section name. - (Layout::layout_gnu_property): Call Sized_target::record_gnu_property - for target-specific properties; - don't store them with target-independent properties yet. - (Layout::merge_gnu_properties): New method. - (Layout::add_gnu_property): New method. - (Layout::create_gnu_properties_note): Call target to finalize - target-specific properties. Fix spelling of output section name. - * layout.h (Layout::merge_gnu_properties): New method. - (Layout::add_gnu_property): New method. - * object.cc (Sized_relobj_file::do_layout): Call - Layout::merge_gnu_properties. - * target.h (Target::merge_gnu_property): Remove. - (Target::finalize_gnu_properties): New method. - (Target::do_merge_gnu_property): Move to Sized_target and rename. - (Target::do_finalize_gnu_properties): New virtual method. - (Sized_target::record_gnu_property): Moved and renamed from - Target::do_merge_gnu_property. - (Sized_target::merge_gnu_properties): New virtual method. - * x86_64.cc (Target_x86_64::isa_1_used_, isa_1_needed_) - (feature_1_, object_feature_1_, seen_first_object_): New data members. - (Target_x86_64::do_merge_gnu_property): Rename to ... - (Target_x86_64::record_gnu_property): ... this. Save target-specific - properties in Target class object. - (Target_x86_64::merge_gnu_properties): New method. - (add_property): New static inline function. - (Target_x86_64::do_finalize_gnu_properties): New method. - * testsuite/Makefile.am (gnu_property_test): Remove C source file; - link directly without compiler driver. - * testsuite/Makefile.in: Regenerate. - * testsuite/gnu_property_a.S: Add _start. - -2018-06-22 Cary Coutant - - * incremental.cc (Sized_incremental_binary::setup_readers): Use - emplace_back for GCC 5 and later. - * incremental.h (Incremental_binary::Input_reader): Provide copy - constructor. - (Sized_incremental_binary::Sized_input_reader): Likewise. - -2018-06-22 Cary Coutant - - PR gold/22914 - * layout.cc (Layout::Layout): Initialize gnu_properties_. - (read_sized_value, write_sized_value): New functions. - (Layout::layout_gnu_property): New method. - (Layout::create_notes): Call create_gnu_properties_note. - (Layout::create_gnu_properties_note): New method. - * layout.h (Layout::layout_gnu_property): New method. - (Layout::create_gnu_properties_note): New method. - (Layout::Gnu_property, Layout::Gnu_properties): New types. - (Layout::gnu_properties_): New data member. - * object.cc (Sized_relobj_file::layout_gnu_property_section): New - method. - (Sized_relobj_file::do_layout): Handle .note.gnu.property sections. - * object.h (Sized_relobj_file::layout_gnu_property_section): New - method. - * target.h (Target::merge_gnu_property): New method. - (Target::do_merge_gnu_property): New virtual method. - * x86_64.cc (Target_x86_64::do_merge_gnu_property): New method. - * testsuite/Makefile.am (gnu_property_test): New test case. - * testsuite/Makefile.in: Regenerate. - * testsuite/gnu_property_a.S: New source file. - * testsuite/gnu_property_b.S: New source file. - * testsuite/gnu_property_c.S: New source file. - * testsuite/gnu_property_main.c: New source file. - * testsuite/gnu_property_test.sh: New test script. - -2018-06-21 Cary Coutant - - * resolve.cc (Symbol_table::resolve): Rename tobinding to - orig_tobinding. Call set_is_needed() for objects that resolve - non-weak references. - (Symbol_table::should_override): Allow a dynamic definition to - override an earlier one in a not-needed library. - * symtab.cc (Symbol_table::set_dynsym_indexes): Remove separate - processing for as-needed symbols. Add warning when discarding - version informatin. - * testsuite/Makefile.am (weak_as_needed): New test case. - * testsuite/Makefile.in: Regenerate. - * testsuite/weak_as_needed.sh: New test script. - * testsuite/weak_as_needed_a.c: New source file. - * testsuite/weak_as_needed_b.c: New source file. - * testsuite/weak_as_needed_b.script: New version script. - * testsuite/weak_as_needed_c.c: New source file. - * testsuite/weak_as_needed_c.script: New version script. - -2018-06-20 Cary Coutant - - PR gold/23268 - * dynobj.cc (Versions::Versions): Change init for needs_base_version_. - (Versions::record_version): Add verdefs for both shared objects and - executables. - (Versions::add_def): Likewise for base version. - (Versions::add_need): Don't add base version for executables. - (Versions::version_index): Look up version for both shared objects and - executables. - * testsuite/Makefile.am (ver_test_14): New test case. - * testsuite/Makefile.in: Regenerate. - * testsuite/ver_test_14.script: New version script. - * testsuite/ver_test_14.sh: New test script. - -2018-06-19 Joshua Watt - Cary Coutant - - * configure.ac: Replace manual thread configuration with AX_PTHREAD. - Add --enable-threads=auto. - * Makefile.am (THREADFLAGS, THREADLIBS): New defines. - (AM_CFLAGS, AM_CXXFLAGS): Add $(THREADFLAGS). - (THREADSLIB): Remove; change all references to THREADLIBS. - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - * testsuite/Makefile.am (THREADSLIB): Replace with... - (THREADFLAGS, THREADLIBS): ... these. - (LDADD): Remove; add as individual defines for... - (object_unittest, binary_unittest, leb128_unittest) - (overflow_unittest): ... these tests. - (tls_test, tls_pic_test, tls_pie_test, tls_pie_pic_test) - (tls_shared_test, tls_shared_ie_test, tls_shared_gd_to_ie_test) - (tls_shared_gnu2_gd_to_ie_test, tls_shared_gnu2_test_LDFLAGS) - (tls_shared_nonpic_test_LDFLAGS): Add $(THREADFLAGS) and ($THREADLIBS). - * testsuite/Makefile.in: Regenerate. - -2018-06-19 Cary Coutant - - * testsuite/Makefile.am (MOSTLYCLEANFILES): Add *.stderr. - * testsuite/Makefile.in: Regenerate. - -2018-06-19 Simon Marchi - - * configure.ac: Remove AC_PREREQ, add missing quoting and usage - of AC_LANG_SOURCE. - * Makefile.in: Re-generate. - * aclocal.m4: Re-generate. - * configure: Re-generate. - * testsuite/Makefile.in: Re-generate. - -2018-05-10 Stephen Crane - - * aarch64.cc (Target_aarch64::do_finalize_sections): Use size of - .got section for the _GLOBAL_OFFSET_TABLE_ symbol computation. - -2018-04-24 Cary Coutant - - PR gold/20642 - PR gold/22820 - * gc.h (gc_process_relocs): Flag STT_SECTION symbols in symvec. - * icf.cc (get_section_contents): For merge sections, ignore the - addend for relocations against non-section symbols. - -2018-04-24 Cary Coutant - - PR gold/16504 - * dynobj.cc (Versions::symbol_section_contents): Don't set - VERSYM_HIDDEN flag for undefined symbols. - * symtab.cc (Symbol_table::add_from_object): Don't override default - version definition with a different default version. - * symtab.h (Symbol::from_dyn): New method. - * testsuite/plugin_test.c (struct sym_info): Add ver field. - (claim_file_hook): Pass symbol version to plugin API. - (parse_readelf_line): Parse symbol version. - * testsuite/Makefile.am (ver_test_pr16504): New test case. - * testsuite/Makefile.in: Regenerate. - * testsuite/ver_test_pr16504.sh: New test script. - * testsuite/ver_test_pr16504_a.c: New source file. - * testsuite/ver_test_pr16504_a.script: New version script. - * testsuite/ver_test_pr16504_b.c: New source file. - * testsuite/ver_test_pr16504_b.script: New version script. - -2018-04-19 Cary Coutant - - PR gold/23046 - * gc.h (gc_process_relocs): Pass target to - scan.local_reloc_may_be_function_pointer. - -2018-04-18 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2018-04-14 Cary Coutant - - PR gold/23046 - * gc.h (gc_process_relocs): Pass target to - scan.global_reloc_may_be_function_pointer. - -2018-04-09 Alan Modra - - * configure: Regenerate. - -2018-04-09 Alan Modra - - * powerpc.cc (Target_powerpc::Track_tls::maybe_skip_tls_get_addr_call): - Handle inline plt sequence relocs. - (Stub_table::Plt_stub_key::Plt_stub_key): Likewise. - (Target_powerpc::Scan::reloc_needs_plt_for_ifunc): Likewise. - (Target_powerpc::Relocate::relocate): Likewise. - -2018-04-09 Alan Modra - - * powerpc.cc (Target_powerpc::lplt_): New variable. - (Target_powerpc::lplt_section): Associated accessor. - (Target_powerpc::plt_off): Handle local non-ifunc symbols. - (Target_powerpc::make_lplt_section): New function. - (Target_powerpc::make_local_plt_entry): New function. - (Powerpc_relobj::do_relocate_sections): Write out lplt. - (Output_data_plt_powerpc::first_plt_entry_offset): Zero for lplt. - (Output_data_plt_powerpc::add_local_entry): New function. - (Output_data_plt_powerpc::do_write): Ignore lplt. - (Target_powerpc::make_iplt_section): Make lplt first. - (Target_powerpc::make_brlt_section): Make .branch_lt relro. - (Target_powerpc::Scan::local): Handle PLT16 relocs. - -2018-04-09 Alan Modra - - * powerpc.cc (Target_powerpc::plt_off): New functions. - (is_plt16_reloc): New function. - (Stub_table::plt_off): Use Target_powerpc::plt_off. - (Stub_table::plt_call_size): Use plt_off. - (Stub_table::do_write): Likewise. - (Target_powerpc::Scan::get_reference_flags): Return RELATIVE_REF - for PLT16 relocations. - (Target_powerpc::Scan::reloc_needs_plt_for_ifunc): Return true - for PLT16 relocations. - (Target_powerpc::Scan::global): Make a PLT entry for PLT16 relocations. - (Target_powerpc::Relocate::relocate): Support PLT16 relocations. - (Powerpc_scan_relocatable_reloc::global_strategy): Return RELOC_SPECIAL - for ppc32 plt16 relocs. - -2018-04-06 Cary Coutant - - * object.cc (Sized_relobj_file::include_section_group): Store - reference to Kept_section info for discarded comdat sections - regardless of size. Move size checking to map_to_kept_section. - (Sized_relobj_file::include_linkonce_section): Likewise. - (Sized_relobj_file::map_to_kept_section): Add section name parameter. - Insert size checking logic from above functions. - (Sized_relobj_file::find_kept_section_object): New method. - (Sized_relobj_file::get_symbol_name): New method. - * object.h (Sized_relobj_file::map_to_kept_section): Add section_name - parameter. Adjust all callers. - (Sized_relobj_file::find_kept_section_object): New method. - (Sized_relobj_file::get_symbol_name): New method. - (Sized_relobj_file::Kept_comdat_section): Replace object and shndx - fields with sh_size, kept_section, symndx, and is_comdat fields. - (Sized_relobj_file::set_kept_comdat_section): Replace kept_object - and kept_shndx parameters with is_comdat, symndx, sh_size, and - kept_section. - (Sized_relobj_file::get_kept_comdat_section): Likewise. - * target-reloc.h (enum Comdat_behavior): Change CB_WARNING to CB_ERROR. - Adjust all references. - (issue_undefined_symbol_error): New function template. - (relocate_section): Pass section name to map_to_kept_section. - Move discarded section code to new function above. - * aarch64.cc (Target_aarch64::scan_reloc_section_for_stubs): Move - declaration for gsym out one level. Call issue_discarded_error. - * arm.cc (Target_arm::scan_reloc_section_for_stubs): Likewise. - * powerpc.cc (Relocate_comdat_behavior): Change CB_WARNING to CB_ERROR. - -2018-04-05 Cary Coutant - - * target-reloc.h (relocate_section): Add local symbol index or global - symbol name to warning about relocation that refers to discarded - section. - -2018-04-05 James Cowgill - - Revert previous patch and apply revised patch. - - PR gold/22770 - * mips.cc (Mips_got_info::record_got_page_entry): Don't insert - Got_page_entry for object's GOT. - (Mips_got_info::add_got_page_entries): Add all pages from from's GOT. - Rename to add_got_page_count. - (Got_page_entry): Remove num_pages. - -2018-04-05 James Cowgill - - PR gold/22770 - * mips.cc (Mips_got_info::record_got_page_entry): Fetch existing - page entries for the object's GOT. - -2018-04-05 Alan Modra - - * powerpc.cc (Target_powerpc::make_brlt_section): Make .branch_lt relro. - -2018-04-04 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2018-04-02 Cary Coutant - - PR gold/23016 - * incremental.cc (can_incremental_update): Check for unwind section - type. - * layout.h (Layout::layout): Add sh_type parameter. - * layout.cc (Layout::layout): Likewise. - (Layout::layout_reloc): Create new output reloc section if data - section does not already have one. - (Layout::layout_eh_frame): Check for unwind section type. - (Layout::make_eh_frame_section): Use unwind section type for .eh_frame - and .eh_frame_hdr. - * object.h (Sized_relobj_file::Shdr_write): New typedef. - (Sized_relobj_file::layout_section): Add sh_type parameter. - (Sized_relobj_file::Deferred_layout::Deferred_layout): Add sh_type - parameter. - * object.cc (Sized_relobj_file::check_eh_frame_flags): Check for - unwind section type. - (Sized_relobj_file::layout_section): Add sh_type parameter; pass it - to Layout::layout. - (Sized_relobj_file::do_layout): Make local copy of sh_type. - Force .eh_frame sections to unwind section type. - Pass sh_type to layout_section. - (Sized_relobj_file::do_layout_deferred_sections): - Pass sh_type to layout_section. - * output.cc (Output_section::Output_section): Initialize reloc_section_. - * output.h (Output_section::reloc_section): New method. - (Output_section::set_reloc_section): New method. - (Output_section::reloc_section_): New data member. - * target.h (Target::unwind_section_type): New method. - (Target::Target_info::unwind_section_type): New data member. - - * aarch64.cc (aarch64_info): Add unwind_section_type. - * arm.cc (arm_info, arm_nacl_info): Likewise. - * i386.cc (i386_info, i386_nacl_info, iamcu_info): Likewise. - * mips.cc (mips_info, mips_nacl_info): Likewise. - * powerpc.cc (powerpc_info): Likewise. - * s390.cc (s390_info): Likewise. - * sparc.cc (sparc_info): Likewise. - * tilegx.cc (tilegx_info): Likewise. - * x86_64.cc (x86_64_info, x86_64_nacl_info): Likewise. - - * testsuite/Makefile.am (pr23016_1, pr23016_2): New test cases. - * testsuite/Makefile.in: Regenerate. - * testsuite/testfile.cc: Add unwind_section_type. - * testsuite/pr23016_1.sh: New test script. - * testsuite/pr23016_1a.s: New source file. - * testsuite/pr23016_1b.s: New source file. - * testsuite/pr23016_2.sh: New test script. - * testsuite/pr23016_2a.s: New source file. - * testsuite/pr23016_2b.s: New source file. - -2018-03-28 Cary Coutant - - PR gold/21423 - PR gold/22500 - * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS. - Replace check for --enable-plugins with AC_PLUGINS. - * options.cc (parse_plugin, parse_plugin_opt): Remove #ifdef. - (General_options::finalize): Check if plugins enabled. - * options.h (--plugin, --plugin-opt): Define even if plugins not - enabled. - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * configure: Regenerate. - * testsuite/Makefile.in: Regenerate. - -2018-03-28 Cary Coutant - - PR gold/22969 - * aarch64-reloc.def: Add TLSLE_LDST* relocations. - * aarch64.cc (Target_aarch64::optimize_tls_reloc): Likewise. - (Target_aarch64::Scan::local): Likewise. - (Target_aarch64::Scan::global): Likewise. - (Target_aarch64::Relocate::relocate): Likewise. - (Target_aarch64::Relocate::relocate_tls): Likewise. - -2018-03-27 Roland McGrath - - * testsuite/split_x86_64.sh: Fix bad regexp. - -2018-03-26 Cary Coutant - - PR gold/22868 - * plugin.cc (Sized_pluginobj::do_add_symbols): Use a real section - index instead of SHN_ABS for defined symbols. - * testsuite/Makefile.am (plugin_pr22868): New test case. - * testsuite/Makefile.in: Regenerate - * testsuite/plugin_pr22868.sh: New test script. - * testsuite/plugin_pr22868_a.c: New source file. - * testsuite/plugin_pr22868_b.c: New source file. - -2018-03-23 Cary Coutant - - * plugin.cc (link_or_copy_file): Remove newlines from warning messages. - Add pedantic check for return value from ::write. - -2018-03-23 Cary Coutant - - * debug.h (DEBUG_PLUGIN): New constant. - (DEBUG_ALL): Add DEBUG_PLUGIN. - (debug_string_to_enum): Likewise. - * plugin.cc (make_sized_plugin_object): Add filename parameter. - (Plugin_recorder): New class. - (Plugin_manager::~Plugin_manager): Delete recorder_. - (Plugin_manager::load_plugins): Create and initialize recorder_. - (Plugin_manager::claim_file): Record claimed and unclaimed files. - (Plugin_manager::make_plugin_object): Use object name as name for - plugin object, if available. - (Plugin_manager::add_input_file): Record replacement files. - (Sized_pluginobj::do_add_symbols): Record plugin symbols. - (Plugin_finish::run): Call Plugin_recorder::finish(). - (make_sized_plugin_object): Add filename parameter and pass to - Sized_pluginobj constructor. - * plugin.h (Plugin::filename): New method. - (Plugin::recorder): New method. - (Plugin::recorder_): New data member. - -2018-03-07 Sriraman Tallam - - * layout.cc (Layout::default_section_order): Check for text section - prefixes. - (Layout::text_section_name_mapping): New static member. - (Layout::text_section_name_mapping_count): New static member. - (Layout::match_section_name): New static function. - (Layout::output_section_name): Check for text section prefixes. - * layout.h (Output_section_order::ORDER_TEXT_HOT): New enum value. - (Output_section_order::ORDER_TEXT_STARTUP): New enum value. - (Output_section_order::ORDER_TEXT_EXIT): New enum value. - (Output_section_order::ORDER_TEXT_UNLIKELY): New enum value. - (Layout::text_section_name_mapping): New static member. - (Layout::text_section_name_mapping_count): New static member. - (Layout::match_section_name): New static function. - * options.h (keep_text_section_prefix): New -z option. - * testsuite/Makefile.am (keep_text_section_prefix): New test. - * testsuite/Makefile.in: Regenerate. - * testsuite/keep_text_section_prefix.cc: New test source. - * testsuite/keep_text_section_prefix.sh: New test script. - -2018-02-22 Sriraman Tallam - - * plugin.cc (get_wrap_symbols): New plugin interface. - (load): Add get_wrap_symbols to transfer vector. - * plugin-api.h (ld_plugin_get_wrap_symbols): New plugin interface. - * testsuite/plugin_test.c (onload): Call and check get_wrap_symbols - interface. - * testsuite/plugin_test_wrap_symbols.sh: New test script. - * testsuite/plugin_test_wrap_symbols_1.cc: New file. - * testsuite/plugin_test_wrap_symbols_2.cc: New file. - * testsuite/Makefile.am (plugin_test_wrap_symbols): New test. - * testsuite/Makefile.in: Regenerate. - -2018-02-07 Sriraman Tallam - - * expression.cc (Symbol_expression::set_expr_sym_in_real_elf): - New method. - (Unary_expression::set_expr_sym_in_real_elf): New method. - (Binary_expression::set_expr_sym_in_real_elf): New method. - (Trinary_expression::set_expr_sym_in_real_elf): New method. - * plugin.cc (get_symbol_resolution_info): Fix symbol resolution if - defined or used in defsyms. - * plugin.h (Plugin_manager::is_defsym_def): New method. - (Plugin_manager::Plugin_manager): Initialize defsym_defines_set_. - (Plugin_manager::defsym_defines_set_): New member. - (Plugin_manager::Defsym_defines_set): New typedef. - * script.cc (Script_options::set_defsym_uses_in_real_elf): New method. - (Script_options::find_defsym_defs): New method. - * script.h (Expression::set_expr_sym_in_real_elf): New method. - (Symbol_assignment::is_defsym): New method. - (Symbol_assignment::value): New method. - (Script_options::find_defsym_defs): New method. - (Script_options::set_defsym_uses_in_real_elf): New method. - * testsuite/Makefile.am (plugin_test_defsym): New test. - * testsuite/Makefile.in: Regenerate. - * testsuite/plugin_test.c: Check for new symbol resolution. - * testsuite/plugin_test_defsym.sh: New script. - * testsuite/plugin_test_defsym.c: New test source. - -2018-02-07 Alan Modra - - Revert 2018-01-17 Alan Modra - * options.h: Remove --speculate-indirect-jumps support. - * powerpc.cc: Likewise. - -2018-02-02 Cary Coutant - - * PR gold/22776 - * dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog): Add - support for DWARF-4 line number tables. - * dwarf_reader.h (Sized_dwarf_line_info::max_ops_per_insn): New field. - -2018-01-18 Alan Modra - - * powerpc.cc (param_plt_align): New function supplying default - --plt-align values. Use it.. - (Stub_table::plt_call_align): ..here, and.. - (Output_data_glink::global_entry_align): ..here. - (Stub_table::stub_align): Correct 32-bit minimum alignment. - -2018-01-17 Alan Modra - - * options.h (speculate_indirect_jumps): New option. - * powerpc.cc (beqctrm, beqctrlm, crseteq): New insn constants. - (output_bctr): New function. - (Stub_table::plt_call_size): Add space for speculation barrier. - (Stub_table::branch_stub_size): Likewise. - (Output_data_glink::pltresolve_size): Likewise. - (Stub_table::do_write): Output speculation barriers. - -2018-01-17 Alan Modra - - * options.h (plt_align): Support for PowerPC32 too. - * powerpc.cc (Stub_table::stub_align): Heed --plt-align for 32-bit. - (Stub_table::plt_call_size, branch_stub_size): Tidy. - (Stub_table::plt_call_align): Implement using stub_align. - (Output_data_glink::global_entry_align): New function. - (Output_data_glink::global_entry_off): New function. - (Output_data_glink::global_entry_address): Use global_entry_off. - (Output_data_glink::pltresolve_size): New function, replacing - pltresolve_size_ constant. Update all uses. - (Output_data_glink::add_global_entry): Align offset. - (Output_data_glink::set_final_data_size): Use global_entry_align. - (Stub_table::do_write): Don't pad __glink_PLTrelsolve with nops. - Tidy stub output. Use global_entry_off. - -2018-01-15 Cary Coutant - - PR gold/22694 - * options.h (-fuse-ld): Add correct helparg. - -2018-01-15 Nick Clifton - - * po/uk.po: Updated Ukranian translation. - -2018-01-13 Nick Clifton - - * po/gold.pot: Regenerated. - -2018-01-13 Nick Clifton - - 2.30 branch created. - -2018-01-12 Cary Coutant - - * NEWS: Add new features in 1.15. - * version.cc (version_string): Bump to 1.15. - -2018-01-12 Sterling Augustine - - * cref.cc (Cref_inputs::Cref_table_compare::operator): Add - conditionals and calls to is_forwarder. - -2018-01-03 Alan Modra - - Update year range in copyright notice of all files. - -For older changes see ChangeLog-2017 +For older changes see ChangeLog-2018 -Copyright (C) 2018 Free Software Foundation, Inc. +Copyright (C) 2019 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/gold/ChangeLog-2018 b/gold/ChangeLog-2018 new file mode 100644 index 0000000000..cdbddde63f --- /dev/null +++ b/gold/ChangeLog-2018 @@ -0,0 +1,785 @@ +2018-12-18 Alan Modra + + * testsuite/Makefile.am (keep_text_section_prefix_nm.stdout): + Pass --synthetic to nm. + * testsuite/Makefile.in: Regenerate. + +2018-12-08 Alan Modra + + PR 21128 + * testsuite/icf_safe_so_test.sh (check_fold): Rewrite to check + multiple symbols at once. + (arch_specific_safe_fold): Likewise, and call with the four foo* + symbols expected to fold. + +2018-12-06 H.J. Lu + + * archive.cc (Archive::get_elf_object_for_member): Also print + archive member and non-ELF/non-IR info on error. + +2018-12-05 Alan Modra + + * symtab.h (Symbol::Symbol): Avoid -Wclass-memaccess warning. + +2018-12-03 Alexey Neyman + + PR gold/23594 + * configure.ac: Add checks for link, mkdtemp. + * configure: Regenerate. + * config.in: Regenerate. + * plugin.cc (Plugin_recorder::init): Fall back to mktemp + if mkdtemp is not available. + (link_or_copy_file): Fall back to copy if link() is not available. + +2018-12-02 H.J. Lu + + PR binutils/23919 + * merge.cc (Output_merge_string::do_add_input_section): + Get addralign from decompressed_section_contents. + * object.cc (build_compressed_section_map): Set info.addralign. + (Object::decompressed_section_contents): Add a palign + argument and store p->second.addralign in *palign if it isn't + NULL. + * object.h (Compressed_section_info): Add addralign. + (section_is_compressed): Add a palign argument, default it + to NULL, store p->second.addralign in *palign if it isn't NULL. + (Object::decompressed_section_contents): Likewise. + * output.cc (Output_section::add_input_section): Get addralign + from section_is_compressed. + +2018-11-26 Alan Modra + + * testsuite/Makefile.am (justsyms_lib): Link with -z norelro. + * testsuite/Makefile.in: Regenerate. + * testsuite/justsyms_exec.c (main): Do check exported_func + on PowerPC64 ELFv2. + +2018-11-26 Alan Modra + + * testsuite/ver_test_14.sh: Accept objdump -T display of st_other + bits on powerpc64le. + +2018-11-08 Alan Modra + + * Makefile.am (gcctestdir1/ld): Use $@ and absolute paths. + (gcctestdir1/collect-ld): New. + (ld1_DEPENDENCIES): Add gcctestdir1/collect-ld. + (ld1_LDFLAGS): Remove -Bgcctestdir1/. + (editcc1, ld1_LINK): Define. + (gcctestdir2/ld, gcctestdir2/collect-ld, ld2_DEPENDENCIES), + (ld2_LDFLAGS, editcc2, ld2_LINK), + (ld1_r_DEPENDENCIES, ld1_r_LDFLAGS, ld1_r_LINK), + (gcctestdir2-r/ld, gcctestdir2-r/collect-ld, ld2_r_DEPENDENCIES), + (ld2_r_LDFLAGS, editcc2r, ld2_r_LINK), + (gcctestdir3/ld, gcctestdir3/collect-ld, ld3_DEPENDENCIES), + (ld3_LDFLAGS, editcc3, ld3_LINK), + (gcctestdir4/ld, gcctestdir4/collect-ld, ld4_DEPENDENCIES), + (ld4_LDFLAGS, editcc4, ld4_LINK): Similarly. + * Makefile.in: Regenerate. + * testsuite/Makefile.am (editcc): Define sed command to put + our -B option first. Remove other occurrences of -Bgcctestdir/ + throughout file. + (editcc1): Define for -D_FORTIFY_SOURCE stripping. + (editcc2): Define for -static-libgcc/libstdc++ stripping. + (LINK1, CXXLINK1): Don't use CCLD or CXXLD. + (CCLD, CXXLD, COMPILE, LINK, CXXCOMPILE, CXXLINK, CXXLINK_S): Define + using editcc macros. + (gcctestdir/collect-ld): New rule, add as a dependency of.. + (gcctestdir/ld): ..this. Use $@ and abs_top_buildir. + (gcctestdir/as): Use $@. + * testsuite/Makefile.in: Regenerate. + * testsuite/incremental_test.sh (actual): Match collect-ld too. + +2018-11-02 Alan Modra + + * Makefile.am (MOSTLYCLEANFILES): Define. + * Makefile.in: Regnerate. + * testsuite/Makefile.am (MOSTLYCLEANFILES): Add ver_test_14 and + gnu_property_test. + * testsuite/Makefile.in: Regnerate. + +2018-10-16 Cherry Zhang + + PR 23769 + * gold.cc (queue_middle_tasks): Correct split-stack error message. + +2018-08-29 Chenghua Xu + + * mips.cc (Mips_mach, add_machine_extensions, elf_mips_mach): + Rename loongson3a to gs464. + (mips_isa_ext_mach, mips_isa_ext): Delete loongson3a. + (infer_abiflags): Use ases instead of isa_ext for infer ABI + flags. + (elf_mips_mach_name): Rename loongson3a to gs464. + +2018-07-10 Tulio Magno Quites Machado Filho + + * object.cc (Sized_relobj_file::map_to_kept_section): Initialize + kept_file. + +2018-08-07 Cary Coutant + + PR ld/23486 + * x86_64.cc (Target_x86_64::Target_x86_64): Initialize + object_isa_1_used_. + (Target_x86_64::object_isa_1_used_): New data member. + (Target_x86_64::record_gnu_property): Save ISA_1_USED bits for object. + (Target_x86_64::merge_gnu_properties): Merge ISA_1_USED bits. + +2018-08-06 Cary Coutant + + PR gold/23455 + * options.h (General_options): Add --warn-drop-version option. + * symtab.cc (Symbol_table::set_dynsym_indexes): Check it. + +2018-08-06 Cary Coutant + + * target.h (Sized_target::record_gnu_property): Change first two + parameters to unsigned int. + * x86_64.cc (Target_x86_64::record_gnu_property): Likewise. + +2018-07-30 Nick Clifton + + * layout.cc (section_name_mapping): Add an entry for + .gnu.build.attributes. + +2018-07-18 Nick Clifton + + * po/fr.po: Updated French translation. + +2018-07-14 Cary Coutant + + PR gold/23397 + * object.cc (Sized_relobj_file::do_layout): Mark section as deferred. + * testsuite/Makefile.am (plugin_test_1): Add --emit-relocs option to + existing test case. + * testsuite/Makefile.in: Regenerate. + +2018-07-14 Cary Coutant + + PR gold/23409 + * symtab.cc (Symbol_table::define_special_symbol): Add check for + version name on existing symbol. + * testsuite/Makefile.am (ver_test_pr23409): New test case. + * testsuite/Makefile.in: Regenerate. + * testsuite/ver_test_pr23409.sh: New test script. + * testsuite/ver_test_pr23409_1.script: New version script. + * testsuite/ver_test_pr23409_2.script: New version script. + +2018-07-11 Franz Sirl + + * main.cc (main): Print m.arena as long long. + +2018-07-09 Cary Coutant + + * incremental.cc (Sized_incremental_binary::setup_readers): Use + emplace_back for C++ 11 or later. + +2018-07-06 Alan Modra + + * powerpc.cc: Include attributes.h. + (Powerpc_relobj::attributes_section_data_): New variable, with + accessor and associated constructor and destructor support. + (Powerpc_dynobj::attributes_section_data_): Likewise. + (Powerpc_relobj::do_read_symbols): Stash SHT_GNU_ATTRIBUTES section + contents in attributes_section_data_. + (Powerpc_dynobj::do_read_symbols): Likewise. + (Target_powerpc): Add attributes_section_data_, last_fp_, last_ld_, + last_vec_, and last_struct_ vars. + (Target_powerpc::merge_object_attributes): New function. + (Target_powerpc::do_finalize_sections): Iterate over input objects + merging attributes. Create output attributes section. + +2018-06-26 Nick Clifton + + * po/uk.po: Updated Ukranian translation. + +2018-06-24 Nick Clifton + + * po/gold.pot: Regenerate. + +2018-06-24 Nick Clifton + + 2.31 branch created. + +2018-06-23 Cary Coutant + + * version.cc (version_string): Bump to 1.16. + * NEWS: Add new features in 1.16. + +2018-06-23 Cary Coutant + + PR gold/22914 + * x86_64.cc (Target_x86_64::record_gnu_property): Initialize val. + +2018-06-23 Cary Coutant + + PR gold/22915 + * x86_64.cc (Output_data_plt_x86_64_ibt): New class. + (Target_x86_64::do_make_data_plt): (All instantiations) Check for + IBT feature bit and create IBT PLTs. + +2018-06-22 Cary Coutant + + PR gold/22914 + * layout.cc (read_sized_value): Fix spelling of section name. + (Layout::layout_gnu_property): Call Sized_target::record_gnu_property + for target-specific properties; + don't store them with target-independent properties yet. + (Layout::merge_gnu_properties): New method. + (Layout::add_gnu_property): New method. + (Layout::create_gnu_properties_note): Call target to finalize + target-specific properties. Fix spelling of output section name. + * layout.h (Layout::merge_gnu_properties): New method. + (Layout::add_gnu_property): New method. + * object.cc (Sized_relobj_file::do_layout): Call + Layout::merge_gnu_properties. + * target.h (Target::merge_gnu_property): Remove. + (Target::finalize_gnu_properties): New method. + (Target::do_merge_gnu_property): Move to Sized_target and rename. + (Target::do_finalize_gnu_properties): New virtual method. + (Sized_target::record_gnu_property): Moved and renamed from + Target::do_merge_gnu_property. + (Sized_target::merge_gnu_properties): New virtual method. + * x86_64.cc (Target_x86_64::isa_1_used_, isa_1_needed_) + (feature_1_, object_feature_1_, seen_first_object_): New data members. + (Target_x86_64::do_merge_gnu_property): Rename to ... + (Target_x86_64::record_gnu_property): ... this. Save target-specific + properties in Target class object. + (Target_x86_64::merge_gnu_properties): New method. + (add_property): New static inline function. + (Target_x86_64::do_finalize_gnu_properties): New method. + * testsuite/Makefile.am (gnu_property_test): Remove C source file; + link directly without compiler driver. + * testsuite/Makefile.in: Regenerate. + * testsuite/gnu_property_a.S: Add _start. + +2018-06-22 Cary Coutant + + * incremental.cc (Sized_incremental_binary::setup_readers): Use + emplace_back for GCC 5 and later. + * incremental.h (Incremental_binary::Input_reader): Provide copy + constructor. + (Sized_incremental_binary::Sized_input_reader): Likewise. + +2018-06-22 Cary Coutant + + PR gold/22914 + * layout.cc (Layout::Layout): Initialize gnu_properties_. + (read_sized_value, write_sized_value): New functions. + (Layout::layout_gnu_property): New method. + (Layout::create_notes): Call create_gnu_properties_note. + (Layout::create_gnu_properties_note): New method. + * layout.h (Layout::layout_gnu_property): New method. + (Layout::create_gnu_properties_note): New method. + (Layout::Gnu_property, Layout::Gnu_properties): New types. + (Layout::gnu_properties_): New data member. + * object.cc (Sized_relobj_file::layout_gnu_property_section): New + method. + (Sized_relobj_file::do_layout): Handle .note.gnu.property sections. + * object.h (Sized_relobj_file::layout_gnu_property_section): New + method. + * target.h (Target::merge_gnu_property): New method. + (Target::do_merge_gnu_property): New virtual method. + * x86_64.cc (Target_x86_64::do_merge_gnu_property): New method. + * testsuite/Makefile.am (gnu_property_test): New test case. + * testsuite/Makefile.in: Regenerate. + * testsuite/gnu_property_a.S: New source file. + * testsuite/gnu_property_b.S: New source file. + * testsuite/gnu_property_c.S: New source file. + * testsuite/gnu_property_main.c: New source file. + * testsuite/gnu_property_test.sh: New test script. + +2018-06-21 Cary Coutant + + * resolve.cc (Symbol_table::resolve): Rename tobinding to + orig_tobinding. Call set_is_needed() for objects that resolve + non-weak references. + (Symbol_table::should_override): Allow a dynamic definition to + override an earlier one in a not-needed library. + * symtab.cc (Symbol_table::set_dynsym_indexes): Remove separate + processing for as-needed symbols. Add warning when discarding + version informatin. + * testsuite/Makefile.am (weak_as_needed): New test case. + * testsuite/Makefile.in: Regenerate. + * testsuite/weak_as_needed.sh: New test script. + * testsuite/weak_as_needed_a.c: New source file. + * testsuite/weak_as_needed_b.c: New source file. + * testsuite/weak_as_needed_b.script: New version script. + * testsuite/weak_as_needed_c.c: New source file. + * testsuite/weak_as_needed_c.script: New version script. + +2018-06-20 Cary Coutant + + PR gold/23268 + * dynobj.cc (Versions::Versions): Change init for needs_base_version_. + (Versions::record_version): Add verdefs for both shared objects and + executables. + (Versions::add_def): Likewise for base version. + (Versions::add_need): Don't add base version for executables. + (Versions::version_index): Look up version for both shared objects and + executables. + * testsuite/Makefile.am (ver_test_14): New test case. + * testsuite/Makefile.in: Regenerate. + * testsuite/ver_test_14.script: New version script. + * testsuite/ver_test_14.sh: New test script. + +2018-06-19 Joshua Watt + Cary Coutant + + * configure.ac: Replace manual thread configuration with AX_PTHREAD. + Add --enable-threads=auto. + * Makefile.am (THREADFLAGS, THREADLIBS): New defines. + (AM_CFLAGS, AM_CXXFLAGS): Add $(THREADFLAGS). + (THREADSLIB): Remove; change all references to THREADLIBS. + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + * testsuite/Makefile.am (THREADSLIB): Replace with... + (THREADFLAGS, THREADLIBS): ... these. + (LDADD): Remove; add as individual defines for... + (object_unittest, binary_unittest, leb128_unittest) + (overflow_unittest): ... these tests. + (tls_test, tls_pic_test, tls_pie_test, tls_pie_pic_test) + (tls_shared_test, tls_shared_ie_test, tls_shared_gd_to_ie_test) + (tls_shared_gnu2_gd_to_ie_test, tls_shared_gnu2_test_LDFLAGS) + (tls_shared_nonpic_test_LDFLAGS): Add $(THREADFLAGS) and ($THREADLIBS). + * testsuite/Makefile.in: Regenerate. + +2018-06-19 Cary Coutant + + * testsuite/Makefile.am (MOSTLYCLEANFILES): Add *.stderr. + * testsuite/Makefile.in: Regenerate. + +2018-06-19 Simon Marchi + + * configure.ac: Remove AC_PREREQ, add missing quoting and usage + of AC_LANG_SOURCE. + * Makefile.in: Re-generate. + * aclocal.m4: Re-generate. + * configure: Re-generate. + * testsuite/Makefile.in: Re-generate. + +2018-05-10 Stephen Crane + + * aarch64.cc (Target_aarch64::do_finalize_sections): Use size of + .got section for the _GLOBAL_OFFSET_TABLE_ symbol computation. + +2018-04-24 Cary Coutant + + PR gold/20642 + PR gold/22820 + * gc.h (gc_process_relocs): Flag STT_SECTION symbols in symvec. + * icf.cc (get_section_contents): For merge sections, ignore the + addend for relocations against non-section symbols. + +2018-04-24 Cary Coutant + + PR gold/16504 + * dynobj.cc (Versions::symbol_section_contents): Don't set + VERSYM_HIDDEN flag for undefined symbols. + * symtab.cc (Symbol_table::add_from_object): Don't override default + version definition with a different default version. + * symtab.h (Symbol::from_dyn): New method. + * testsuite/plugin_test.c (struct sym_info): Add ver field. + (claim_file_hook): Pass symbol version to plugin API. + (parse_readelf_line): Parse symbol version. + * testsuite/Makefile.am (ver_test_pr16504): New test case. + * testsuite/Makefile.in: Regenerate. + * testsuite/ver_test_pr16504.sh: New test script. + * testsuite/ver_test_pr16504_a.c: New source file. + * testsuite/ver_test_pr16504_a.script: New version script. + * testsuite/ver_test_pr16504_b.c: New source file. + * testsuite/ver_test_pr16504_b.script: New version script. + +2018-04-19 Cary Coutant + + PR gold/23046 + * gc.h (gc_process_relocs): Pass target to + scan.local_reloc_may_be_function_pointer. + +2018-04-18 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2018-04-14 Cary Coutant + + PR gold/23046 + * gc.h (gc_process_relocs): Pass target to + scan.global_reloc_may_be_function_pointer. + +2018-04-09 Alan Modra + + * configure: Regenerate. + +2018-04-09 Alan Modra + + * powerpc.cc (Target_powerpc::Track_tls::maybe_skip_tls_get_addr_call): + Handle inline plt sequence relocs. + (Stub_table::Plt_stub_key::Plt_stub_key): Likewise. + (Target_powerpc::Scan::reloc_needs_plt_for_ifunc): Likewise. + (Target_powerpc::Relocate::relocate): Likewise. + +2018-04-09 Alan Modra + + * powerpc.cc (Target_powerpc::lplt_): New variable. + (Target_powerpc::lplt_section): Associated accessor. + (Target_powerpc::plt_off): Handle local non-ifunc symbols. + (Target_powerpc::make_lplt_section): New function. + (Target_powerpc::make_local_plt_entry): New function. + (Powerpc_relobj::do_relocate_sections): Write out lplt. + (Output_data_plt_powerpc::first_plt_entry_offset): Zero for lplt. + (Output_data_plt_powerpc::add_local_entry): New function. + (Output_data_plt_powerpc::do_write): Ignore lplt. + (Target_powerpc::make_iplt_section): Make lplt first. + (Target_powerpc::make_brlt_section): Make .branch_lt relro. + (Target_powerpc::Scan::local): Handle PLT16 relocs. + +2018-04-09 Alan Modra + + * powerpc.cc (Target_powerpc::plt_off): New functions. + (is_plt16_reloc): New function. + (Stub_table::plt_off): Use Target_powerpc::plt_off. + (Stub_table::plt_call_size): Use plt_off. + (Stub_table::do_write): Likewise. + (Target_powerpc::Scan::get_reference_flags): Return RELATIVE_REF + for PLT16 relocations. + (Target_powerpc::Scan::reloc_needs_plt_for_ifunc): Return true + for PLT16 relocations. + (Target_powerpc::Scan::global): Make a PLT entry for PLT16 relocations. + (Target_powerpc::Relocate::relocate): Support PLT16 relocations. + (Powerpc_scan_relocatable_reloc::global_strategy): Return RELOC_SPECIAL + for ppc32 plt16 relocs. + +2018-04-06 Cary Coutant + + * object.cc (Sized_relobj_file::include_section_group): Store + reference to Kept_section info for discarded comdat sections + regardless of size. Move size checking to map_to_kept_section. + (Sized_relobj_file::include_linkonce_section): Likewise. + (Sized_relobj_file::map_to_kept_section): Add section name parameter. + Insert size checking logic from above functions. + (Sized_relobj_file::find_kept_section_object): New method. + (Sized_relobj_file::get_symbol_name): New method. + * object.h (Sized_relobj_file::map_to_kept_section): Add section_name + parameter. Adjust all callers. + (Sized_relobj_file::find_kept_section_object): New method. + (Sized_relobj_file::get_symbol_name): New method. + (Sized_relobj_file::Kept_comdat_section): Replace object and shndx + fields with sh_size, kept_section, symndx, and is_comdat fields. + (Sized_relobj_file::set_kept_comdat_section): Replace kept_object + and kept_shndx parameters with is_comdat, symndx, sh_size, and + kept_section. + (Sized_relobj_file::get_kept_comdat_section): Likewise. + * target-reloc.h (enum Comdat_behavior): Change CB_WARNING to CB_ERROR. + Adjust all references. + (issue_undefined_symbol_error): New function template. + (relocate_section): Pass section name to map_to_kept_section. + Move discarded section code to new function above. + * aarch64.cc (Target_aarch64::scan_reloc_section_for_stubs): Move + declaration for gsym out one level. Call issue_discarded_error. + * arm.cc (Target_arm::scan_reloc_section_for_stubs): Likewise. + * powerpc.cc (Relocate_comdat_behavior): Change CB_WARNING to CB_ERROR. + +2018-04-05 Cary Coutant + + * target-reloc.h (relocate_section): Add local symbol index or global + symbol name to warning about relocation that refers to discarded + section. + +2018-04-05 James Cowgill + + Revert previous patch and apply revised patch. + + PR gold/22770 + * mips.cc (Mips_got_info::record_got_page_entry): Don't insert + Got_page_entry for object's GOT. + (Mips_got_info::add_got_page_entries): Add all pages from from's GOT. + Rename to add_got_page_count. + (Got_page_entry): Remove num_pages. + +2018-04-05 James Cowgill + + PR gold/22770 + * mips.cc (Mips_got_info::record_got_page_entry): Fetch existing + page entries for the object's GOT. + +2018-04-05 Alan Modra + + * powerpc.cc (Target_powerpc::make_brlt_section): Make .branch_lt relro. + +2018-04-04 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2018-04-02 Cary Coutant + + PR gold/23016 + * incremental.cc (can_incremental_update): Check for unwind section + type. + * layout.h (Layout::layout): Add sh_type parameter. + * layout.cc (Layout::layout): Likewise. + (Layout::layout_reloc): Create new output reloc section if data + section does not already have one. + (Layout::layout_eh_frame): Check for unwind section type. + (Layout::make_eh_frame_section): Use unwind section type for .eh_frame + and .eh_frame_hdr. + * object.h (Sized_relobj_file::Shdr_write): New typedef. + (Sized_relobj_file::layout_section): Add sh_type parameter. + (Sized_relobj_file::Deferred_layout::Deferred_layout): Add sh_type + parameter. + * object.cc (Sized_relobj_file::check_eh_frame_flags): Check for + unwind section type. + (Sized_relobj_file::layout_section): Add sh_type parameter; pass it + to Layout::layout. + (Sized_relobj_file::do_layout): Make local copy of sh_type. + Force .eh_frame sections to unwind section type. + Pass sh_type to layout_section. + (Sized_relobj_file::do_layout_deferred_sections): + Pass sh_type to layout_section. + * output.cc (Output_section::Output_section): Initialize reloc_section_. + * output.h (Output_section::reloc_section): New method. + (Output_section::set_reloc_section): New method. + (Output_section::reloc_section_): New data member. + * target.h (Target::unwind_section_type): New method. + (Target::Target_info::unwind_section_type): New data member. + + * aarch64.cc (aarch64_info): Add unwind_section_type. + * arm.cc (arm_info, arm_nacl_info): Likewise. + * i386.cc (i386_info, i386_nacl_info, iamcu_info): Likewise. + * mips.cc (mips_info, mips_nacl_info): Likewise. + * powerpc.cc (powerpc_info): Likewise. + * s390.cc (s390_info): Likewise. + * sparc.cc (sparc_info): Likewise. + * tilegx.cc (tilegx_info): Likewise. + * x86_64.cc (x86_64_info, x86_64_nacl_info): Likewise. + + * testsuite/Makefile.am (pr23016_1, pr23016_2): New test cases. + * testsuite/Makefile.in: Regenerate. + * testsuite/testfile.cc: Add unwind_section_type. + * testsuite/pr23016_1.sh: New test script. + * testsuite/pr23016_1a.s: New source file. + * testsuite/pr23016_1b.s: New source file. + * testsuite/pr23016_2.sh: New test script. + * testsuite/pr23016_2a.s: New source file. + * testsuite/pr23016_2b.s: New source file. + +2018-03-28 Cary Coutant + + PR gold/21423 + PR gold/22500 + * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS. + Replace check for --enable-plugins with AC_PLUGINS. + * options.cc (parse_plugin, parse_plugin_opt): Remove #ifdef. + (General_options::finalize): Check if plugins enabled. + * options.h (--plugin, --plugin-opt): Define even if plugins not + enabled. + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * configure: Regenerate. + * testsuite/Makefile.in: Regenerate. + +2018-03-28 Cary Coutant + + PR gold/22969 + * aarch64-reloc.def: Add TLSLE_LDST* relocations. + * aarch64.cc (Target_aarch64::optimize_tls_reloc): Likewise. + (Target_aarch64::Scan::local): Likewise. + (Target_aarch64::Scan::global): Likewise. + (Target_aarch64::Relocate::relocate): Likewise. + (Target_aarch64::Relocate::relocate_tls): Likewise. + +2018-03-27 Roland McGrath + + * testsuite/split_x86_64.sh: Fix bad regexp. + +2018-03-26 Cary Coutant + + PR gold/22868 + * plugin.cc (Sized_pluginobj::do_add_symbols): Use a real section + index instead of SHN_ABS for defined symbols. + * testsuite/Makefile.am (plugin_pr22868): New test case. + * testsuite/Makefile.in: Regenerate + * testsuite/plugin_pr22868.sh: New test script. + * testsuite/plugin_pr22868_a.c: New source file. + * testsuite/plugin_pr22868_b.c: New source file. + +2018-03-23 Cary Coutant + + * plugin.cc (link_or_copy_file): Remove newlines from warning messages. + Add pedantic check for return value from ::write. + +2018-03-23 Cary Coutant + + * debug.h (DEBUG_PLUGIN): New constant. + (DEBUG_ALL): Add DEBUG_PLUGIN. + (debug_string_to_enum): Likewise. + * plugin.cc (make_sized_plugin_object): Add filename parameter. + (Plugin_recorder): New class. + (Plugin_manager::~Plugin_manager): Delete recorder_. + (Plugin_manager::load_plugins): Create and initialize recorder_. + (Plugin_manager::claim_file): Record claimed and unclaimed files. + (Plugin_manager::make_plugin_object): Use object name as name for + plugin object, if available. + (Plugin_manager::add_input_file): Record replacement files. + (Sized_pluginobj::do_add_symbols): Record plugin symbols. + (Plugin_finish::run): Call Plugin_recorder::finish(). + (make_sized_plugin_object): Add filename parameter and pass to + Sized_pluginobj constructor. + * plugin.h (Plugin::filename): New method. + (Plugin::recorder): New method. + (Plugin::recorder_): New data member. + +2018-03-07 Sriraman Tallam + + * layout.cc (Layout::default_section_order): Check for text section + prefixes. + (Layout::text_section_name_mapping): New static member. + (Layout::text_section_name_mapping_count): New static member. + (Layout::match_section_name): New static function. + (Layout::output_section_name): Check for text section prefixes. + * layout.h (Output_section_order::ORDER_TEXT_HOT): New enum value. + (Output_section_order::ORDER_TEXT_STARTUP): New enum value. + (Output_section_order::ORDER_TEXT_EXIT): New enum value. + (Output_section_order::ORDER_TEXT_UNLIKELY): New enum value. + (Layout::text_section_name_mapping): New static member. + (Layout::text_section_name_mapping_count): New static member. + (Layout::match_section_name): New static function. + * options.h (keep_text_section_prefix): New -z option. + * testsuite/Makefile.am (keep_text_section_prefix): New test. + * testsuite/Makefile.in: Regenerate. + * testsuite/keep_text_section_prefix.cc: New test source. + * testsuite/keep_text_section_prefix.sh: New test script. + +2018-02-22 Sriraman Tallam + + * plugin.cc (get_wrap_symbols): New plugin interface. + (load): Add get_wrap_symbols to transfer vector. + * plugin-api.h (ld_plugin_get_wrap_symbols): New plugin interface. + * testsuite/plugin_test.c (onload): Call and check get_wrap_symbols + interface. + * testsuite/plugin_test_wrap_symbols.sh: New test script. + * testsuite/plugin_test_wrap_symbols_1.cc: New file. + * testsuite/plugin_test_wrap_symbols_2.cc: New file. + * testsuite/Makefile.am (plugin_test_wrap_symbols): New test. + * testsuite/Makefile.in: Regenerate. + +2018-02-07 Sriraman Tallam + + * expression.cc (Symbol_expression::set_expr_sym_in_real_elf): + New method. + (Unary_expression::set_expr_sym_in_real_elf): New method. + (Binary_expression::set_expr_sym_in_real_elf): New method. + (Trinary_expression::set_expr_sym_in_real_elf): New method. + * plugin.cc (get_symbol_resolution_info): Fix symbol resolution if + defined or used in defsyms. + * plugin.h (Plugin_manager::is_defsym_def): New method. + (Plugin_manager::Plugin_manager): Initialize defsym_defines_set_. + (Plugin_manager::defsym_defines_set_): New member. + (Plugin_manager::Defsym_defines_set): New typedef. + * script.cc (Script_options::set_defsym_uses_in_real_elf): New method. + (Script_options::find_defsym_defs): New method. + * script.h (Expression::set_expr_sym_in_real_elf): New method. + (Symbol_assignment::is_defsym): New method. + (Symbol_assignment::value): New method. + (Script_options::find_defsym_defs): New method. + (Script_options::set_defsym_uses_in_real_elf): New method. + * testsuite/Makefile.am (plugin_test_defsym): New test. + * testsuite/Makefile.in: Regenerate. + * testsuite/plugin_test.c: Check for new symbol resolution. + * testsuite/plugin_test_defsym.sh: New script. + * testsuite/plugin_test_defsym.c: New test source. + +2018-02-07 Alan Modra + + Revert 2018-01-17 Alan Modra + * options.h: Remove --speculate-indirect-jumps support. + * powerpc.cc: Likewise. + +2018-02-02 Cary Coutant + + * PR gold/22776 + * dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog): Add + support for DWARF-4 line number tables. + * dwarf_reader.h (Sized_dwarf_line_info::max_ops_per_insn): New field. + +2018-01-18 Alan Modra + + * powerpc.cc (param_plt_align): New function supplying default + --plt-align values. Use it.. + (Stub_table::plt_call_align): ..here, and.. + (Output_data_glink::global_entry_align): ..here. + (Stub_table::stub_align): Correct 32-bit minimum alignment. + +2018-01-17 Alan Modra + + * options.h (speculate_indirect_jumps): New option. + * powerpc.cc (beqctrm, beqctrlm, crseteq): New insn constants. + (output_bctr): New function. + (Stub_table::plt_call_size): Add space for speculation barrier. + (Stub_table::branch_stub_size): Likewise. + (Output_data_glink::pltresolve_size): Likewise. + (Stub_table::do_write): Output speculation barriers. + +2018-01-17 Alan Modra + + * options.h (plt_align): Support for PowerPC32 too. + * powerpc.cc (Stub_table::stub_align): Heed --plt-align for 32-bit. + (Stub_table::plt_call_size, branch_stub_size): Tidy. + (Stub_table::plt_call_align): Implement using stub_align. + (Output_data_glink::global_entry_align): New function. + (Output_data_glink::global_entry_off): New function. + (Output_data_glink::global_entry_address): Use global_entry_off. + (Output_data_glink::pltresolve_size): New function, replacing + pltresolve_size_ constant. Update all uses. + (Output_data_glink::add_global_entry): Align offset. + (Output_data_glink::set_final_data_size): Use global_entry_align. + (Stub_table::do_write): Don't pad __glink_PLTrelsolve with nops. + Tidy stub output. Use global_entry_off. + +2018-01-15 Cary Coutant + + PR gold/22694 + * options.h (-fuse-ld): Add correct helparg. + +2018-01-15 Nick Clifton + + * po/uk.po: Updated Ukranian translation. + +2018-01-13 Nick Clifton + + * po/gold.pot: Regenerated. + +2018-01-13 Nick Clifton + + 2.30 branch created. + +2018-01-12 Cary Coutant + + * NEWS: Add new features in 1.15. + * version.cc (version_string): Bump to 1.15. + +2018-01-12 Sterling Augustine + + * cref.cc (Cref_inputs::Cref_table_compare::operator): Add + conditionals and calls to is_forwarder. + +2018-01-03 Alan Modra + + Update year range in copyright notice of all files. + +For older changes see ChangeLog-2017 + +Copyright (C) 2018 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gprof/ChangeLog b/gprof/ChangeLog index da083a54af..c2900e0b00 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,91 +1,6 @@ -2018-10-01 Nick Clifton - - PR 23698 - * gprof.c (main): Fix typo setting user_specified variable when - parsing -Z option. - -2018-07-02 Thomas Preud'homme - - * gprof.texi: Use command-line consistently when used in a compount - word. - -2018-06-24 Nick Clifton - - * configure: Regenerate. - * po/gprof.pot: Regenerate. - -2018-06-24 Nick Clifton - - 2.31 branch created. - -2018-06-19 Simon Marchi - - * configure.ac: Remove AC_PREREQ. - * Makefile.am: Remove DISTCLEANFILES hack. - (AUTOMAKE_OPTIONS): Remove 1.11, add info-in-builddir. - * Makefile.in: Re-generate. - * aclocal.m4: Re-generate. - * configure: Re-generate. - * gconfig.in: Re-generate. - -2018-06-05 Nick Clifton - - * po/eo.po: Updated Esperanto translation. - * po/ms.po: Updated Malay translation. - -2018-06-01 H.J. Lu - - * configure: Regenerated. - -2018-04-18 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2018-04-16 Alan Modra - - * corefile.c: Remove netware support. - -2018-04-16 Alan Modra - - * Makefile.am: Remove tahoe support. - * corefile.c: Likewise. - * tahoe.c: Delete. - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-05 H.J. Lu - - PR gas/22318 - * configure: Regenerated. - -2018-03-01 Alan Modra - - * configure.ac (ALL_LINGUAS): Add it, ro, ru, uk. Sort. - * configure: Regenerate. - -2018-02-05 Nick Clifton - - * po/pt_BR.po: Updated Brazilian Portuguese translation. - -2018-01-13 Nick Clifton - - * po/gprof.pot: Regenerated. - -2018-01-13 Nick Clifton - - * configure: Regenerate. - -2018-01-13 Nick Clifton - - 2.30 branch created. - -2018-01-03 Alan Modra - - Update year range in copyright notice of all files. - -For older changes see ChangeLog-2017 +For older changes see ChangeLog-2018 -Copyright (C) 2018 Free Software Foundation, Inc. +Copyright (C) 2019 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/gprof/ChangeLog-2018 b/gprof/ChangeLog-2018 new file mode 100644 index 0000000000..da083a54af --- /dev/null +++ b/gprof/ChangeLog-2018 @@ -0,0 +1,99 @@ +2018-10-01 Nick Clifton + + PR 23698 + * gprof.c (main): Fix typo setting user_specified variable when + parsing -Z option. + +2018-07-02 Thomas Preud'homme + + * gprof.texi: Use command-line consistently when used in a compount + word. + +2018-06-24 Nick Clifton + + * configure: Regenerate. + * po/gprof.pot: Regenerate. + +2018-06-24 Nick Clifton + + 2.31 branch created. + +2018-06-19 Simon Marchi + + * configure.ac: Remove AC_PREREQ. + * Makefile.am: Remove DISTCLEANFILES hack. + (AUTOMAKE_OPTIONS): Remove 1.11, add info-in-builddir. + * Makefile.in: Re-generate. + * aclocal.m4: Re-generate. + * configure: Re-generate. + * gconfig.in: Re-generate. + +2018-06-05 Nick Clifton + + * po/eo.po: Updated Esperanto translation. + * po/ms.po: Updated Malay translation. + +2018-06-01 H.J. Lu + + * configure: Regenerated. + +2018-04-18 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2018-04-16 Alan Modra + + * corefile.c: Remove netware support. + +2018-04-16 Alan Modra + + * Makefile.am: Remove tahoe support. + * corefile.c: Likewise. + * tahoe.c: Delete. + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-05 H.J. Lu + + PR gas/22318 + * configure: Regenerated. + +2018-03-01 Alan Modra + + * configure.ac (ALL_LINGUAS): Add it, ro, ru, uk. Sort. + * configure: Regenerate. + +2018-02-05 Nick Clifton + + * po/pt_BR.po: Updated Brazilian Portuguese translation. + +2018-01-13 Nick Clifton + + * po/gprof.pot: Regenerated. + +2018-01-13 Nick Clifton + + * configure: Regenerate. + +2018-01-13 Nick Clifton + + 2.30 branch created. + +2018-01-03 Alan Modra + + Update year range in copyright notice of all files. + +For older changes see ChangeLog-2017 + +Copyright (C) 2018 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/include/ChangeLog b/include/ChangeLog index 53c423b5e9..c2900e0b00 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,882 +1,6 @@ -2018-12-28 Alan Modra - - PR 24028 - * opcode/ppc.h (PPC_INT_FMT): Delete. - -2018-12-14 H.J. Lu - - PR ld/23900 - * elf/common.h (PT_GNU_PROPERTY): New. - (GNU_PROPERTY_X86_UINT32_VALID): Removed. - -2018-12-11 Nick Clifton - - PR 88409 - * demangle.h (DEMANGLE_RECURSION_LIMIT): Increase to 2048. - -2018-12-07 H.J. Lu - - * bfdlink.h (bfd_link_info): Add has_map_file. - -2018-12-07 Nick Clifton - - * demangle.h (DMGL_NO_RECURSE_LIMIT): Define. - (DEMANGLE_RECURSION_LIMIT): Define - -2018-12-06 Alan Modra - - * opcode/ppc.h (E_OPCODE_MASK, E_LI_MASK, E_LI_INSN): Define. - -2018-12-06 Andrew Burgess - - * dis-asm.h (riscv_symbol_is_valid): Declare. - * opcode/riscv.h (RISCV_FAKE_LABEL_NAME): Define. - (RISCV_FAKE_LABEL_CHAR): Define. - -2018-12-03 Kito Cheng - - * opcode/riscv.h (riscv_opcode): Change type of xlen_requirement to - unsigned. - -2018-11-27 Jim Wilson - - * opcode/riscv.h (OP_MASK_CFUNCT6, OP_SH_CFUNCT6): New. - (OP_MASK_CFUNCT2, OP_SH_CFUNCT2): New. - -2018-11-13 Thomas Preud'homme - - * opcode/arm.h (ARM_AEXT_V6M_ONLY): Merge into its use in ARM_AEXT_V6M. - (ARM_ARCH_V6M_ONLY): Remove. - (ARM_EXT_V1, ARM_EXT_V2, ARM_EXT_V2S, ARM_EXT_V3, ARM_EXT_V3M, - ARM_EXT_V4, ARM_EXT_V4T, ARM_EXT_V5, ARM_EXT_V5T, ARM_EXT_V5ExP, - ARM_EXT_V5E, ARM_EXT_V5J, ARM_EXT_V6, ARM_EXT_V6K, ARM_EXT_V8, - ARM_EXT_V6T2, ARM_EXT_DIV, ARM_EXT_V5E_NOTM, ARM_EXT_V6_NOTM, - ARM_EXT_V7, ARM_EXT_V7A, ARM_EXT_V7R, ARM_EXT_V7M, ARM_EXT_V6M, - ARM_EXT_BARRIER, ARM_EXT_THUMB_MSR, ARM_EXT_V6_DSP, ARM_EXT_MP, - ARM_EXT_SEC, ARM_EXT_OS, ARM_EXT_ADIV, ARM_EXT_VIRT, ARM_EXT2_PAN, - ARM_EXT2_V8_2A, ARM_EXT2_V8M, ARM_EXT2_ATOMICS, ARM_EXT2_V6T2_V8M, - ARM_EXT2_FP16_INST, ARM_EXT2_V8M_MAIN, ARM_EXT2_RAS, ARM_EXT2_V8_3A, - ARM_EXT2_V8A, ARM_EXT2_V8_4A, ARM_EXT2_FP16_FML, ARM_EXT2_V8_5A, - ARM_EXT2_SB, ARM_EXT2_PREDRES, ARM_CEXT_XSCALE, ARM_CEXT_MAVERICK, - ARM_CEXT_IWMMXT, ARM_CEXT_IWMMXT2, FPU_ENDIAN_PURE, FPU_ENDIAN_BIG, - FPU_FPA_EXT_V1, FPU_FPA_EXT_V2, FPU_MAVERICK, FPU_VFP_EXT_V1xD, - FPU_VFP_EXT_V1, FPU_VFP_EXT_V2, FPU_VFP_EXT_V3xD, FPU_VFP_EXT_V3, - FPU_NEON_EXT_V1, FPU_VFP_EXT_D32, FPU_VFP_EXT_FP16, FPU_NEON_EXT_FMA, - FPU_VFP_EXT_FMA, FPU_VFP_EXT_ARMV8, FPU_NEON_EXT_ARMV8, - FPU_CRYPTO_EXT_ARMV8, CRC_EXT_ARMV8, FPU_VFP_EXT_ARMV8xD, - FPU_NEON_EXT_RDMA, FPU_NEON_EXT_DOTPROD, ARM_AEXT_V1, ARM_AEXT_V2, - ARM_AEXT_V2S, ARM_AEXT_V3, ARM_AEXT_V3M, ARM_AEXT_V4xM, ARM_AEXT_V4, - ARM_AEXT_V4TxM, ARM_AEXT_V4T, ARM_AEXT_V5xM, ARM_AEXT_V5, - ARM_AEXT_V5TxM, ARM_AEXT_V5T, ARM_AEXT_V5TExP, ARM_AEXT_V5TE, - ARM_AEXT_V5TEJ, ARM_AEXT_V6, ARM_AEXT_V6K, ARM_AEXT_V6Z, ARM_AEXT_V6KZ, - ARM_AEXT_V6T2, ARM_AEXT_V6KT2, ARM_AEXT_V6ZT2, ARM_AEXT_V6KZT2, - ARM_AEXT_V7_ARM, ARM_AEXT_V7A, ARM_AEXT_V7VE, ARM_AEXT_V7R, - ARM_AEXT_NOTM, ARM_AEXT_V6M_ONLY, ARM_AEXT_V6M, ARM_AEXT_V6SM, - ARM_AEXT_V7M, ARM_AEXT_V7, ARM_AEXT_V7EM, ARM_AEXT_V8A, ARM_AEXT2_V8A, - ARM_AEXT2_V8_1A, ARM_AEXT2_V8_2A, ARM_AEXT2_V8_3A, ARM_AEXT2_V8_4A, - ARM_AEXT2_V8_5A, ARM_AEXT_V8M_BASE, ARM_AEXT_V8M_MAIN, - ARM_AEXT_V8M_MAIN_DSP, ARM_AEXT2_V8M, ARM_AEXT2_V8M_BASE, - ARM_AEXT2_V8M_MAIN, ARM_AEXT2_V8M_MAIN_DSP, ARM_AEXT_V8R, - ARM_AEXT2_V8R, FPU_VFP_V1xD, FPU_VFP_V1, FPU_VFP_V2, FPU_VFP_V3D16, - FPU_VFP_V3, FPU_VFP_V3xD, FPU_VFP_V4D16, FPU_VFP_V4, FPU_VFP_V4_SP_D16, - FPU_VFP_V5D16, FPU_VFP_ARMV8, FPU_NEON_ARMV8, FPU_CRYPTO_ARMV8, - FPU_VFP_HARD, FPU_FPA, FPU_ARCH_VFP, FPU_ARCH_FPE, FPU_ARCH_FPA, - FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2, - FPU_ARCH_VFP_V3D16_FP16, FPU_ARCH_VFP_V3, FPU_ARCH_VFP_V3_FP16, - FPU_ARCH_VFP_V3xD_FP16, FPU_ARCH_NEON_V1, FPU_ARCH_VFP_V3_PLUS_NEON_V1, - FPU_ARCH_NEON_FP16, FPU_ARCH_VFP_HARD, FPU_ARCH_VFP_V4, - FPU_ARCH_VFP_V4D16, FPU_ARCH_VFP_V4_SP_D16, FPU_ARCH_VFP_V5D16, - FPU_ARCH_VFP_V5_SP_D16, FPU_ARCH_NEON_VFP_V4, FPU_ARCH_VFP_ARMV8, - FPU_ARCH_NEON_VFP_ARMV8, FPU_ARCH_CRYPTO_NEON_VFP_ARMV8, - FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_DOTPROD, ARCH_CRC_ARMV8, - FPU_ARCH_NEON_VFP_ARMV8_1, FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_1, - FPU_ARCH_DOTPROD_NEON_VFP_ARMV8, ARM_ARCH_V1, ARM_ARCH_V2, - ARM_ARCH_V2S, ARM_ARCH_V3, ARM_ARCH_V3M, ARM_ARCH_V4xM, ARM_ARCH_V4, - ARM_ARCH_V4TxM, ARM_ARCH_V4T, ARM_ARCH_V5xM, ARM_ARCH_V5, - ARM_ARCH_V5TxM, ARM_ARCH_V5T, ARM_ARCH_V5TExP, ARM_ARCH_V5TE, - ARM_ARCH_V5TEJ, ARM_ARCH_V6, ARM_ARCH_V6K, ARM_ARCH_V6Z, ARM_ARCH_V6KZ, - ARM_ARCH_V6T2, ARM_ARCH_V6KT2, ARM_ARCH_V6ZT2, ARM_ARCH_V6KZT2, - ARM_ARCH_V6M, ARM_ARCH_V6SM, ARM_ARCH_V7, ARM_ARCH_V7A, ARM_ARCH_V7VE, - ARM_ARCH_V7R, ARM_ARCH_V7M, ARM_ARCH_V7EM, ARM_ARCH_V8A, - ARM_ARCH_V8A_CRC, ARM_ARCH_V8_1A, ARM_ARCH_V8_2A, ARM_ARCH_V8_3A, - ARM_ARCH_V8_4A, ARM_ARCH_V8_5A, ARM_ARCH_V8M_BASE, ARM_ARCH_V8M_MAIN, - ARM_ARCH_V8M_MAIN_DSP, ARM_ARCH_V8R): Reindent. - -2018-11-12 Sudakshina Das - - * opcode/aarch64.h (aarch64_opnd): Add AARCH64_OPND_ADDR_SIMPLE_2. - (aarch64_insn_class): Add ldstgv_indexed. - -2018-11-12 Sudakshina Das - - * opcode/aarch64.h (aarch64_opnd): Add AARCH64_OPND_ADDR_SIMM11 - and AARCH64_OPND_ADDR_SIMM13. - (aarch64_opnd_qualifier): Add new AARCH64_OPND_QLF_imm_tag. - -2018-11-12 Sudakshina Das - - * opcode/aarch64.h (aarch64_opnd): Add - AARCH64_OPND_UIMM4_ADDG and AARCH64_OPND_UIMM10 as new enums. - -2018-11-12 Sudakshina Das - - * opcode/aarch64.h (AARCH64_FEATURE_MEMTAG): New. - -2018-11-07 Roman Bolshakov - Saagar Jha - - * mach-o/external.h (mach_o_nversion_min_command_external): Rename - reserved to sdk. - (mach_o_note_command_external): New. - (mach_o_build_version_command_external): New. - * mach-o/loader.h (BFD_MACH_O_LC_VERSION_MIN_TVOS): Define. - (BFD_MACH_O_LC_NOTE): Define. - -2018-11-06 Romain Margheriti - - PR 23742 - * mach-o/loader.h: Add BFD_MACH_O_LC_BUILD_VERSION. - -2018-11-06 Sudakshina Das - - * opcode/arm.h (ARM_ARCH_V8_5A): Move ARM_EXT2_PREDRES and - ARM_EXT2_SB to ... - (ARM_AEXT2_V8_5A): Here. - -2018-10-26 John Baldwin - - * elf/common.h (AT_FREEBSD_HWCAP2): Define. - -2018-10-09 Sudakshina Das - - * opcode/aarch64.h (AARCH64_FEATURE_SSBS): New. - (AARCH64_ARCH_V8_5): Add AARCH64_FEATURE_SSBS by default. - -2018-10-09 Sudakshina Das - - * opcode/aarch64.h (AARCH64_FEATURE_SCXTNUM): New. - (AARCH64_FEATURE_ID_PFR2): New. - (AARCH64_ARCH_V8_5): Add both by default. - -2018-10-09 Sudakshina Das - - * opcode/aarch64.h (AARCH64_FEATURE_BTI): New. - (AARCH64_ARCH_V8_5): Add AARCH64_FEATURE_BTI by default. - (aarch64_opnd): Add AARCH64_OPND_BTI_TARGET. - (HINT_OPD_CSYNC, HINT_OPD_C, HINT_OPD_J): New macros to - define HINT #imm values. - (HINT_OPD_JC, HINT_OPD_NULL): Likewise. - -2018-10-09 Sudakshina Das - - * opcode/aarch64.h (AARCH64_FEATURE_RNG): New. - -2018-10-09 Sudakshina Das - - * opcode/aarch64.h (AARCH64_FEATURE_CVADP): New. - -2018-10-09 Sudakshina Das - - * opcode/aarch64.h (AARCH64_FEATURE_PREDRES): New. - (AARCH64_ARCH_V8_5): Add AARCH64_FEATURE_PREDRES by default. - (aarch64_opnd): Add AARCH64_OPND_SYSREG_SR. - (aarch64_sys_regs_sr): Declare new table. - -2018-10-09 Sudakshina Das - - * opcode/aarch64.h (AARCH64_FEATURE_SB): New. - (AARCH64_ARCH_V8_5): Add AARCH64_FEATURE_SB by default. - -2018-10-09 Sudakshina Das - - * opcode/aarch64.h (AARCH64_FEATURE_FLAGMANIP): New. - (AARCH64_FEATURE_FRINTTS): New. - (AARCH64_ARCH_V8_5): Add both by default. - -2018-10-09 Sudakshina Das - - * opcode/aarch64.h (AARCH64_FEATURE_V8_5): New. - (AARCH64_ARCH_V8_5): New. - -2018-10-08 Alan Modra - - * bfdlink.h (struct bfd_link_info): Add load_phdrs field. - -2018-10-05 Sudakshina Das - - * opcode/arm.h (ARM_EXT2_PREDRES): New. - (ARM_ARCH_V8_5A): Add ARM_EXT2_PREDRES by default. - -2018-10-05 Sudakshina Das - - * opcode/arm.h (ARM_EXT2_SB): New. - (ARM_ARCH_V8_5A): Add ARM_EXT2_SB by default. - -2018-10-05 Sudakshina Das - - * opcode/arm.h (ARM_EXT2_V8_5A): New. - (ARM_AEXT2_V8_5A, ARM_ARCH_V8_5A): New. - -2018-10-05 Richard Henderson - - * elf/or1k.h (elf_or1k_reloc_type): Add R_OR1K_PCREL_PG21, - R_OR1K_GOT_PG21, R_OR1K_TLS_GD_PG21, R_OR1K_TLS_LDM_PG21, - R_OR1K_TLS_IE_PG21, R_OR1K_LO13, R_OR1K_GOT_LO13, - R_OR1K_TLS_GD_LO13, R_OR1K_TLS_LDM_LO13, R_OR1K_TLS_IE_LO13, - R_OR1K_SLO13, R_OR1K_PLTA26. - -2018-10-05 Richard Henderson - - * elf/or1k.h (elf_or1k_reloc_type): Add R_OR1K_AHI16, - R_OR1K_GOTOFF_AHI16, R_OR1K_TLS_IE_AHI16, R_OR1K_TLS_LE_AHI16, - R_OR1K_SLO16, R_OR1K_GOTOFF_SLO16, R_OR1K_TLS_LE_SLO16. - -2018-10-03 Tamar Christina - - * opcode/aarch64.h (aarch64_inst): Remove. - (enum err_type): Add ERR_VFI. - (aarch64_is_destructive_by_operands): New. - (init_insn_sequence): New. - (aarch64_decode_insn): Remove param name. - -2018-10-03 Tamar Christina - - * opcode/aarch64.h (struct aarch64_opcode): Expand verifiers to take - more arguments. - -2018-10-03 Tamar Christina - - * opcode/aarch64.h (enum err_type): New. - (aarch64_decode_insn): Use it. - -2018-10-03 Tamar Christina - - * opcode/aarch64.h (struct aarch64_instr_sequence): New. - (aarch64_opcode_encode): Use it. - -2018-10-03 Tamar Christina - - * opcode/aarch64.h (struct aarch64_opcode): Add constraints, - extend flags field size. - (F_SCAN, C_SCAN_MOVPRFX, C_MAX_ELEM): New. - -2018-10-03 John Darrington - - * dis-asm.h (print_insn_s12z): New declaration. - -2018-10-02 Palmer Dabbelt - - * opcode/riscv-opc.h (MATCH_FENCE_TSO): New define. - (MASK_FENCE_TSO): Likewise. - -2018-10-01 Cupertino Miranda - - * arc-reloc.def (ARC_TLS_LE_32): Updated reloc formula. - -2018-09-21 H.J. Lu - - PR binutils/23694 - * include/elf/internal.h (ELF_SECTION_IN_SEGMENT_1): Don't - include zero size sections at start of PT_NOTE segment. - -2018-09-20 Nelson Chu - - * elf/nds32.h: Remove the unused target features. - * dis-asm.h (disassemble_init_nds32): Declared. - * elf/nds32.h (E_NDS32_NULL): Removed. - (E_NDS32_HAS_DSP_INST, E_NDS32_HAS_ZOL): New. - * opcode/nds32.h: Ident. - (N32_SUB6, INSN_LW): New macros. - (enum n32_opcodes): Updated. - * elf/nds32.h: Doc fixes. - * elf/nds32.h: Add R_NDS32_LSI. - * elf/nds32.h: Add new relocations for TLS. - -2018-09-20 Rainer Orth - - * elf/common.h (AT_SUN_HWCAP): Rename to ... - (AT_SUN_CAP_HW1): ... this. Retain old name for backward - compatibility. - (AT_SUN_EMULATOR, AT_SUN_BRANDNAME, AT_SUN_BRAND_AUX1) - (AT_SUN_BRAND_AUX2, AT_SUN_BRAND_AUX3, AT_SUN_CAP_HW2): Define. - -2018-09-05 Simon Marchi - - * diagnostics.h (DIAGNOSTIC_IGNORE_FORMAT_NONLITERAL): New macro. - -2018-08-31 Alan Modra - - * elf/ppc64.h (R_PPC64_REL16_HIGH, R_PPC64_REL16_HIGHA), - (R_PPC64_REL16_HIGHER, R_PPC64_REL16_HIGHERA), - (R_PPC64_REL16_HIGHEST, R_PPC64_REL16_HIGHESTA): Define. - (R_PPC64_LO_DS_OPT, R_PPC64_16DX_HA): Bump value. - -2018-08-30 Kito Cheng - - * opcode/riscv.h (MAX_SUBSET_NUM): New. - (riscv_opcode): Add xlen_requirement field and change type of - subset. - -2018-08-29 Chenghua Xu - - * elf/mips.h (E_MIPS_MACH_XXX): New E_MIPS_MACH_GS264E. - * opcode/mips.h (CPU_XXX): New CPU_GS264E. - -2018-08-29 Chenghua Xu - - * elf/mips.h (E_MIPS_MACH_XXX): New E_MIPS_MACH_GS464E. - * opcode/mips.h (CPU_XXX): New CPU_GS464E. - -2018-08-29 Chenghua Xu - - * elf/mips.h (E_MIPS_MACH_XXX): Rename E_MIPS_MACH_LS3A to - E_MIPS_MACH_GS464. - (AFL_EXT_XXX): Delete AFL_EXT_LOONGSON_3A. - * opcode/mips.h (INSN_XXX): Delete INSN_LOONGSON_3A. - (CPU_XXX): Rename CPU_LOONGSON_3A to CPU_GS464. - * opcode/mips.h (mips_isa_table): Delete CPU_LOONGSON_3A case. - -2018-08-29 Chenghua Xu - - * elf/mips.h (AFL_ASE_LOONGSON_EXT2): New macro. - (AFL_ASE_MASK): Update to include AFL_ASE_LOONGSON_EXT2. - * opcode/mips.h (ASE_LOONGSON_EXT2): New macro. - -2018-08-29 Chenghua Xu - - * elf/mips.h (AFL_ASE_LOONGSON_EXT): New macro. - (AFL_ASE_MASK): Update to include AFL_ASE_LOONGSON_EXT. - * opcode/mips.h (ASE_LOONGSON_EXT): New macro. - -2018-08-29 Chenghua Xu - - * elf/mips.h (AFL_ASE_LOONGSON_CAM): New macro. - (AFL_ASE_MASK): Update to include AFL_ASE_LOONGSON_CAM. - * opcode/mips.h (ASE_LOONGSON_CAM): New macro. - -2018-08-24 H.J. Lu - - * elf/common.h (GNU_PROPERTY_X86_ISA_1_USED): Renamed to ... - (GNU_PROPERTY_X86_COMPAT_ISA_1_USED): This. - (GNU_PROPERTY_X86_ISA_1_NEEDED): Renamed to ... - (GNU_PROPERTY_X86_COMPAT_ISA_1_NEEDED): This. - (GNU_PROPERTY_X86_ISA_1_XXX): Renamed to ... - (GNU_PROPERTY_X86_COMPAT_ISA_1_XXX): This. - (GNU_PROPERTY_X86_UINT32_AND_LO): New. - (GNU_PROPERTY_X86_UINT32_AND_HI): Likewise. - (GNU_PROPERTY_X86_UINT32_OR_LO): Likewise. - (GNU_PROPERTY_X86_UINT32_OR_HI): Likewise. - (GNU_PROPERTY_X86_UINT32_OR_AND_LO): Likewise. - (GNU_PROPERTY_X86_UINT32_OR_AND_HI): Likewise. - (GNU_PROPERTY_X86_ISA_1_CMOV): Likewise. - (GNU_PROPERTY_X86_ISA_1_SSE): Likewise. - (GNU_PROPERTY_X86_ISA_1_SSE2): Likewise. - (GNU_PROPERTY_X86_ISA_1_SSE3): Likewise. - (GNU_PROPERTY_X86_ISA_1_SSSE3): Likewise. - (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likewise. - (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likewise. - (GNU_PROPERTY_X86_ISA_1_AVX): Likewise. - (GNU_PROPERTY_X86_ISA_1_AVX2): Likewise. - (GNU_PROPERTY_X86_ISA_1_FMA): Likewise. - (GNU_PROPERTY_X86_ISA_1_AVX512F): Likewise. - (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likewise. - (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likewise. - (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likewise. - (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likewise. - (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likewise. - (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likewise. - (GNU_PROPERTY_X86_ISA_1_AVX512_4FMAPS): Likewise. - (GNU_PROPERTY_X86_ISA_1_AVX512_4VNNIW): Likewise. - (GNU_PROPERTY_X86_ISA_1_AVX512_BITALG): Likewise. - (GNU_PROPERTY_X86_ISA_1_AVX512_IFMA): Likewise. - (GNU_PROPERTY_X86_ISA_1_AVX512_VBMI): Likewise. - (GNU_PROPERTY_X86_ISA_1_AVX512_VBMI2): Likewise. - (GNU_PROPERTY_X86_ISA_1_AVX512_VNNI): Likewise. - (GNU_PROPERTY_X86_FEATURE_2_X86): Likewise. - (GNU_PROPERTY_X86_FEATURE_2_X87): Likewise. - (GNU_PROPERTY_X86_FEATURE_2_MMX): Likewise. - (GNU_PROPERTY_X86_FEATURE_2_XMM): Likewise. - (GNU_PROPERTY_X86_FEATURE_2_YMM): Likewise. - (GNU_PROPERTY_X86_FEATURE_2_ZMM): Likewise. - (GNU_PROPERTY_X86_FEATURE_2_FXSR): Likewise. - (GNU_PROPERTY_X86_FEATURE_2_XSAVE): Likewise. - (GNU_PROPERTY_X86_FEATURE_2_XSAVEOPT): Likewise. - (GNU_PROPERTY_X86_FEATURE_2_XSAVEC): Likewise. - (GNU_PROPERTY_X86_FEATURE_1_AND): Updated to - (GNU_PROPERTY_X86_UINT32_AND_LO + 0). - (GNU_PROPERTY_X86_ISA_1_NEEDED): Defined to - (GNU_PROPERTY_X86_UINT32_OR_LO + 0). - (GNU_PROPERTY_X86_FEATURE_2_NEEDED): New. Defined to - (GNU_PROPERTY_X86_UINT32_OR_LO + 1). - (GNU_PROPERTY_X86_ISA_1_USED): Defined to - (GNU_PROPERTY_X86_UINT32_OR_AND_LO + 0). - (GNU_PROPERTY_X86_FEATURE_2_USED): New. Defined to - (GNU_PROPERTY_X86_UINT32_OR_AND_LO + 1). - -2018-08-24 H.J. Lu - - * elf/common.h (GNU_PROPERTY_X86_UINT32_VALID): New. - -2018-08-21 John Darrington - - * elf/s12z.h: Rename R_S12Z_UKNWN_3 to R_S12Z_EXT18. - -2018-08-21 Alan Modra - - * opcode/ppc.h (struct powerpc_operand): Correct "insert" comment. - Mention use of "extract" function to provide default value. - (PPC_OPERAND_OPTIONAL_VALUE): Delete. - (ppc_optional_operand_value): Rewrite to use extract function. - -2018-08-18 John Darrington - - * opcode/s12z.h: New file. - -2018-08-09 Richard Earnshaw - - * elf/arm.h: Updated comments for e_flags definitions. - -2018-08-06 Claudiu Zissulescu - - * elf/arc.h (Tag_ARC_ATR_version): New tag. - -2018-08-06 Claudiu Zissulescu - - * opcode/arc.h (ARC_OPCODE_ARCV1): Define. - -2018-08-01 Richard Earnshaw - - Copy over from GCC - 2018-07-26 Martin Liska - - PR lto/86548 - * libiberty.h (make_temp_file_with_prefix): New function. - -2018-07-30 Jim Wilson - - * opcode/riscv.h (INSN_TYPE, INSN_BRANCH, INSN_CONDBRANCH, INSN_JSR) - (INSN_DREF, INSN_DATA_SIZE, INSN_DATA_SIZE_SHIFT, INSN_1_BYTE) - (INSN_2_BYTE, INSN_4_BYTE, INSN_8_BYTE, INSN_16_BYTE): New. - -2018-07-30 Andrew Jenner - - * elf/common.h (EM_CSKY, EM_CSKY_OLD): Define. - * elf/csky.h: New file. - -2018-07-27 Chenghua Xu - Maciej W. Rozycki - - * elf/mips.h (AFL_ASE_MASK): Correct typo. - -2018-07-26 Alex Chadwick - - * opcode/ppc.h (PPC_OPCODE_750): Adjust comment. - -2018-07-26 Alan Modra - - * elf/ppc64.h: Specify byte offset to local entry for values - of two to six in STO_PPC64_LOCAL_MASK. Clarify r2 return - value for such functions when entering via global entry point. - Specify meaning of a value of one in STO_PPC64_LOCAL_MASK. - -2018-07-24 Alan Modra - - PR 23430 - * elf/common.h (SHT_SYMTAB_SHNDX): Fix comment typo. - -2018-07-20 Chenghua Xu - Maciej W. Rozycki - - * elf/mips.h (AFL_ASE_MMI): New macro. - (AFL_ASE_MASK): Update to include AFL_ASE_LOONGSON_MMI. - * opcode/mips.h (ASE_LOONGSON_MMI): New macro. - -2018-07-17 Maciej W. Rozycki - - * bfdlink.h (bfd_link_hash_entry): Add `rel_from_abs' member. - -2018-07-06 Alan Modra - - * diagnostics.h: Comment on macro usage. - -2018-07-05 Simon Marchi - - * diagnostics.h (DIAGNOSTIC_IGNORE_DEPRECATED_DECLARATIONS): - Define for clang. - -2018-07-02 Maciej W. Rozycki - - PR tdep/8282 - * dis-asm.h (disasm_option_arg_t): New typedef. - (disasm_options_and_args_t): Likewise. - (disasm_options_t): Add `arg' member, document members. - (disassembler_options_mips): New prototype. - (disassembler_options_arm, disassembler_options_powerpc) - (disassembler_options_s390): Update prototypes. - -2018-06-29 Tamar Christina - - PR binutils/23192 - *opcode/aarch64.h (aarch64_opnd): Add AARCH64_OPND_Em16. - -2018-06-26 Alan Modra - - * elf/internal.h (ELF_SECTION_IN_SEGMENT): Revert last change. - -2018-06-24 Nick Clifton - - 2.31 branch created. - -2018-06-21 Alan Hayward - - * elf/internal.h (ELF_SECTION_IN_SEGMENT): Don’t check addresses - for non SHT_NOBITS. - -2018-06-19 Simon Marchi - - Sync with GCC - - 2018-05-24 Tom Rix - - * dwarf2.def (DW_FORM_strx*, DW_FORM_addrx*): New. - - 2017-11-20 Kito Cheng - - * longlong.h [__riscv] (__umulsidi3): Define. - [__riscv] (umul_ppmm): Likewise. - [__riscv] (__muluw3): Likewise. - -2018-06-14 Faraz Shahbazker - - * elf/mips.h (AFL_ASE_GINV, AFL_ASE_RESERVED1): New macros. - (AFL_ASE_MASK): Update to include AFL_ASE_GINV. - * opcode/mips.h: Document "+\" operand format. - (ASE_GINV): New macro. - -2018-06-13 Scott Egerton - Faraz Shahbazker - - * elf/mips.h (AFL_ASE_CRC): New macro. - (AFL_ASE_MASK): Update to include AFL_ASE_CRC. - * opcode/mips.h (ASE_CRC): New macro. - * opcode/mips.h (ASE_CRC64): Likewise. - -2018-06-04 Max Filippov - - * elf/xtensa.h (xtensa_read_table_entries) - (xtensa_compute_fill_extra_space): New declarations. - -2018-06-04 H.J. Lu - - * diagnostics.h (DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION): Always - define for GCC. - -2018-06-04 H.J. Lu - - * diagnostics.h (DIAGNOSTIC_STRINGIFY_1): New. - (DIAGNOSTIC_STRINGIFY): Likewise. - (DIAGNOSTIC_IGNORE): Replace STRINGIFY with DIAGNOSTIC_STRINGIFY. - (DIAGNOSTIC_IGNORE_SELF_MOVE): Define empty if not defined. - (DIAGNOSTIC_IGNORE_DEPRECATED_REGISTER): Likewise. - (DIAGNOSTIC_IGNORE_UNUSED_FUNCTION): Likewise. - (DIAGNOSTIC_IGNORE_SWITCH_DIFFERENT_ENUM_TYPES): Likewise. - (DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION): New. - -2018-06-01 H.J. Lu - - * diagnostics.h: Moved from ../gdb/common/diagnostics.h. - -2018-05-28 Bernd Edlinger - - * splay-tree.h (splay_tree_compare_strings, - splay_tree_delete_pointers): Declare new utility functions. - -2018-05-21 Peter Bergner - - * opcode/ppc.h (PPC_OPERAND_FAKE): Delete macro. - -2018-05-18 Kito Cheng - - * elf/riscv.h (EF_RISCV_RVE): New define. - -2018-05-18 John Darrington - - * elf/s12z.h: New header. - -2018-05-15 Tamar Christina - - PR binutils/21446 - * opcode/aarch64.h (F_SYS_READ, F_SYS_WRITE): New. - -2018-05-15 Tamar Christina - - PR binutils/21446 - * opcode/aarch64.h (aarch64_operand_error): Add non_fatal. - (aarch64_print_operand): Support notes. - -2018-05-15 Tamar Christina - - PR binutils/21446 - * opcode/aarch64.h (aarch64_opnd_info): Change sysreg to struct. - (aarch64_decode_insn): Accept error struct. - -2018-05-15 Francois H. Theron - - * opcode/nfp.h: Use uint64_t instead of bfd_vma. - -2018-05-10 John Darrington - - * elf/common.h (EM_S12Z): New macro. - -2018-05-09 Sebastian Rasmussen - - * mach-o/unwind.h (MACH_O_UNWIND_X86_64_RBP_FRAME_REGISTERS): - Rename from MACH_O_UNWIND_X86_64_RBP_FRAME_REGSITERS. - (MACH_O_UNWIND_X86_EBP_FRAME_REGISTERS): Rename from - MACH_O_UNWIND_X86_EBP_FRAME_REGSITERS. - -2018-05-08 Jim Wilson - - * opcode/riscv-opc.h (MATCH_C_SRLI64, MASK_C_SRLI64): New. - (MATCH_C_SRAI64, MASK_C_SRAI64): New. - (MATCH_C_SLLI64, MASK_C_SLLI64): New. - -2018-05-07 Peter Bergner - - * opcode/ppc.h (powerpc_num_opcodes): Change type to unsigned. - (vle_num_opcodes): Likewise. - (spe2_num_opcodes): Likewise. - -2018-05-04 Alan Modra - - * ansidecl.h: Import from gcc. - * coff/internal.h (struct internal_scnhdr): Add ATTRIBUTE_NONSTRING - to s_name. - (struct internal_syment): Add ATTRIBUTE_NONSTRING to _n_name. - -2018-04-30 Francois H. Theron - - * dis-asm.h: Added print_nfp_disassembler_options prototype. - * elf/common.h: Added EM_NFP, officially assigned. See Google Group - Generic System V Application Binary Interface. - * elf/nfp.h: New, for NFP support. - * opcode/nfp.h: New, for NFP support. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * elf/arm.h: Add R_ARM_TLS_GD32_FDPIC, R_ARM_TLS_LDM32_FDPIC, - R_ARM_TLS_IE32_FDPIC. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * elf/arm.h (R_ARM_GOTFUNCDESC, R_ARM_GOTOFFFUNCDESC) - (R_ARM_FUNCDESC) - (R_ARM_FUNCDESC_VALUE): Define new relocations. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * elf/arm.h (EF_ARM_FDPIC): New. - -2018-04-18 Alan Modra - - * coff/mipspe.h: Delete. - -2018-04-18 Alan Modra - - * aout/dynix3.h: Delete. - -2018-04-17 Andrew Sadek - - Microblaze Target: PIC data text relative - - * bfdlink.h (Add flag): Add new flag @ 'bfd_link_info' struct. - * elf/microblaze.h (Add 3 new relocations): - R_MICROBLAZE_TEXTPCREL_64, R_MICROBLAZE_TEXTREL_64 - and R_MICROBLAZE_TEXTREL_32_LO for relax function. - -2018-04-17 Alan Modra - - * elf/i370.h: Revert removal. - * elf/i860.h: Likewise. - * elf/i960.h: Likewise. - -2018-04-16 Alan Modra - - * coff/sparc.h: Delete. - -2018-04-16 Alan Modra - - * aout/host.h: Remove m68k-aout and m68k-coff support. - * aout/hp300hpux.h: Delete. - * coff/apollo.h: Delete. - * coff/aux-coff.h: Delete. - * coff/m68k.h: Delete. - -2018-04-16 Alan Modra - - * dis-asm.h: Remove sh5 and sh64 support. - -2018-04-16 Alan Modra - - * coff/internal.h: Remove w65 support. - * coff/w65.h: Delete. - -2018-04-16 Alan Modra - - * coff/we32k.h: Delete. - -2018-04-16 Alan Modra - - * coff/internal.h: Remove m88k support. - * coff/m88k.h: Delete. - * opcode/m88k.h: Delete. - -2018-04-16 Alan Modra - - * elf/i370.h: Delete. - * opcode/i370.h: Delete. - -2018-04-16 Alan Modra - - * coff/h8500.h: Delete. - * coff/internal.h: Remove h8500 support. - -2018-04-16 Alan Modra - - * coff/h8300.h: Delete. - -2018-04-16 Alan Modra - - * ieee.h: Delete. - -2018-04-16 Alan Modra - - * aout/host.h: Remove newsos3 support. - -2018-04-16 Alan Modra - - * nlm/ChangeLog-9315: Delete. - * nlm/alpha-ext.h: Delete. - * nlm/common.h: Delete. - * nlm/external.h: Delete. - * nlm/i386-ext.h: Delete. - * nlm/internal.h: Delete. - * nlm/ppc-ext.h: Delete. - * nlm/sparc32-ext.h: Delete. - -2018-04-16 Alan Modra - - * opcode/tahoe.h: Delete. - -2018-04-11 Alan Modra - - * aout/adobe.h: Delete. - * aout/reloc.h: Delete. - * coff/i860.h: Delete. - * coff/i960.h: Delete. - * elf/i860.h: Delete. - * elf/i960.h: Delete. - * opcode/i860.h: Delete. - * opcode/i960.h: Delete. - * aout/aout64.h (enum reloc_type): Trim off 29k and other unused values. - * aout/ar.h (ARMAGB): Remove. - * coff/internal.h (struct internal_aouthdr, struct internal_scnhdr, - union internal_auxent): Remove i960 support. - -2018-04-09 Alan Modra - - * elf/ppc.h (R_PPC_PLTSEQ, R_PPC_PLTCALL): Define. - * elf/ppc64.h (R_PPC64_PLTSEQ, R_PPC64_PLTCALL): Define. - -2018-03-28 Renlin Li - - PR ld/22970 - * elf/aarch64.h: Add relocation number for - R_AARCH64_P32_TLSLE_LDST16_TPREL_LO12, - R_AARCH64_P32_TLSLE_LDST16_TPREL_LO12_NC, - R_AARCH64_P32_TLSLE_LDST32_TPREL_LO12, - R_AARCH64_P32_TLSLE_LDST32_TPREL_LO12_NC, - R_AARCH64_P32_TLSLE_LDST64_TPREL_LO12, - R_AARCH64_P32_TLSLE_LDST64_TPREL_LO12_NC, - R_AARCH64_P32_TLSLE_LDST8_TPREL_LO12, - R_AARCH64_P32_TLSLE_LDST8_TPREL_LO12_NC. - -2018-03-28 Nick Clifton - - PR 22988 - * opcode/aarch64.h (enum aarch64_opnd): Add - AARCH64_OPND_SVE_ADDR_R. - -2018-03-21 H.J. Lu - - * elf/common.h (DF_1_KMOD): New. - (DF_1_WEAKFILTER): Likewise. - (DF_1_NOCOMMON): Likewise. - -2018-03-14 Kito Cheng - - * opcode/riscv.h (OP_MASK_FUNCT3): New. - (OP_SH_FUNCT3): Likewise. - (OP_MASK_FUNCT7): Likewise. - (OP_SH_FUNCT7): Likewise. - (OP_MASK_OP2): Likewise. - (OP_SH_OP2): Likewise. - (OP_MASK_CFUNCT4): Likewise. - (OP_SH_CFUNCT4): Likewise. - (OP_MASK_CFUNCT3): Likewise. - (OP_SH_CFUNCT3): Likewise. - (riscv_insn_types): Likewise. - -2018-03-13 Nick Clifton - - PR 22113 - * coff/pe.h (struct pex64_unwind_info): Add a rawUnwindCodesEnd - field. - -2018-03-08 H.J. Lu - - * opcode/i386 (OLDGCC_COMPAT): Removed. - -2018-02-27 Thomas Preud'homme - - * opcode/arm.h (ARM_FEATURE_COPY): Remove macro definition. - -2018-02-20 Maciej W. Rozycki - - * opcode/mips.h: Remove `M' operand code. - -2018-02-12 Zebediah Figura - - * coff/msdos.h: New header. - * coff/pe.h: Move common defines to msdos.h. - * coff/powerpc.h: Likewise. - -2018-01-13 Nick Clifton - - 2.30 branch created. - -2018-01-11 H.J. Lu - - PR ld/22393 - * bfdlink.h (bfd_link_info): Add separate_code. - -2018-01-04 Jim Wilson - - * opcode/riscv-opc.h (CSR_SBADADDR): Rename to CSR_STVAL. Rename - DECLARE_CSR entry. Add alias to map sbadaddr to CSR_STVAL. - (CSR_MBADADDR): Rename to CSR_MTVAL. Rename DECLARE_CSR entry. - Add alias to map mbadaddr to CSR_MTVAL. - -2018-01-03 Alan Modra - - Update year range in copyright notice of all files. - -For older changes see ChangeLog-2017 +For older changes see ChangeLog-2018 -Copyright (C) 2018 Free Software Foundation, Inc. +Copyright (C) 2019 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/include/ChangeLog-2018 b/include/ChangeLog-2018 new file mode 100644 index 0000000000..53c423b5e9 --- /dev/null +++ b/include/ChangeLog-2018 @@ -0,0 +1,890 @@ +2018-12-28 Alan Modra + + PR 24028 + * opcode/ppc.h (PPC_INT_FMT): Delete. + +2018-12-14 H.J. Lu + + PR ld/23900 + * elf/common.h (PT_GNU_PROPERTY): New. + (GNU_PROPERTY_X86_UINT32_VALID): Removed. + +2018-12-11 Nick Clifton + + PR 88409 + * demangle.h (DEMANGLE_RECURSION_LIMIT): Increase to 2048. + +2018-12-07 H.J. Lu + + * bfdlink.h (bfd_link_info): Add has_map_file. + +2018-12-07 Nick Clifton + + * demangle.h (DMGL_NO_RECURSE_LIMIT): Define. + (DEMANGLE_RECURSION_LIMIT): Define + +2018-12-06 Alan Modra + + * opcode/ppc.h (E_OPCODE_MASK, E_LI_MASK, E_LI_INSN): Define. + +2018-12-06 Andrew Burgess + + * dis-asm.h (riscv_symbol_is_valid): Declare. + * opcode/riscv.h (RISCV_FAKE_LABEL_NAME): Define. + (RISCV_FAKE_LABEL_CHAR): Define. + +2018-12-03 Kito Cheng + + * opcode/riscv.h (riscv_opcode): Change type of xlen_requirement to + unsigned. + +2018-11-27 Jim Wilson + + * opcode/riscv.h (OP_MASK_CFUNCT6, OP_SH_CFUNCT6): New. + (OP_MASK_CFUNCT2, OP_SH_CFUNCT2): New. + +2018-11-13 Thomas Preud'homme + + * opcode/arm.h (ARM_AEXT_V6M_ONLY): Merge into its use in ARM_AEXT_V6M. + (ARM_ARCH_V6M_ONLY): Remove. + (ARM_EXT_V1, ARM_EXT_V2, ARM_EXT_V2S, ARM_EXT_V3, ARM_EXT_V3M, + ARM_EXT_V4, ARM_EXT_V4T, ARM_EXT_V5, ARM_EXT_V5T, ARM_EXT_V5ExP, + ARM_EXT_V5E, ARM_EXT_V5J, ARM_EXT_V6, ARM_EXT_V6K, ARM_EXT_V8, + ARM_EXT_V6T2, ARM_EXT_DIV, ARM_EXT_V5E_NOTM, ARM_EXT_V6_NOTM, + ARM_EXT_V7, ARM_EXT_V7A, ARM_EXT_V7R, ARM_EXT_V7M, ARM_EXT_V6M, + ARM_EXT_BARRIER, ARM_EXT_THUMB_MSR, ARM_EXT_V6_DSP, ARM_EXT_MP, + ARM_EXT_SEC, ARM_EXT_OS, ARM_EXT_ADIV, ARM_EXT_VIRT, ARM_EXT2_PAN, + ARM_EXT2_V8_2A, ARM_EXT2_V8M, ARM_EXT2_ATOMICS, ARM_EXT2_V6T2_V8M, + ARM_EXT2_FP16_INST, ARM_EXT2_V8M_MAIN, ARM_EXT2_RAS, ARM_EXT2_V8_3A, + ARM_EXT2_V8A, ARM_EXT2_V8_4A, ARM_EXT2_FP16_FML, ARM_EXT2_V8_5A, + ARM_EXT2_SB, ARM_EXT2_PREDRES, ARM_CEXT_XSCALE, ARM_CEXT_MAVERICK, + ARM_CEXT_IWMMXT, ARM_CEXT_IWMMXT2, FPU_ENDIAN_PURE, FPU_ENDIAN_BIG, + FPU_FPA_EXT_V1, FPU_FPA_EXT_V2, FPU_MAVERICK, FPU_VFP_EXT_V1xD, + FPU_VFP_EXT_V1, FPU_VFP_EXT_V2, FPU_VFP_EXT_V3xD, FPU_VFP_EXT_V3, + FPU_NEON_EXT_V1, FPU_VFP_EXT_D32, FPU_VFP_EXT_FP16, FPU_NEON_EXT_FMA, + FPU_VFP_EXT_FMA, FPU_VFP_EXT_ARMV8, FPU_NEON_EXT_ARMV8, + FPU_CRYPTO_EXT_ARMV8, CRC_EXT_ARMV8, FPU_VFP_EXT_ARMV8xD, + FPU_NEON_EXT_RDMA, FPU_NEON_EXT_DOTPROD, ARM_AEXT_V1, ARM_AEXT_V2, + ARM_AEXT_V2S, ARM_AEXT_V3, ARM_AEXT_V3M, ARM_AEXT_V4xM, ARM_AEXT_V4, + ARM_AEXT_V4TxM, ARM_AEXT_V4T, ARM_AEXT_V5xM, ARM_AEXT_V5, + ARM_AEXT_V5TxM, ARM_AEXT_V5T, ARM_AEXT_V5TExP, ARM_AEXT_V5TE, + ARM_AEXT_V5TEJ, ARM_AEXT_V6, ARM_AEXT_V6K, ARM_AEXT_V6Z, ARM_AEXT_V6KZ, + ARM_AEXT_V6T2, ARM_AEXT_V6KT2, ARM_AEXT_V6ZT2, ARM_AEXT_V6KZT2, + ARM_AEXT_V7_ARM, ARM_AEXT_V7A, ARM_AEXT_V7VE, ARM_AEXT_V7R, + ARM_AEXT_NOTM, ARM_AEXT_V6M_ONLY, ARM_AEXT_V6M, ARM_AEXT_V6SM, + ARM_AEXT_V7M, ARM_AEXT_V7, ARM_AEXT_V7EM, ARM_AEXT_V8A, ARM_AEXT2_V8A, + ARM_AEXT2_V8_1A, ARM_AEXT2_V8_2A, ARM_AEXT2_V8_3A, ARM_AEXT2_V8_4A, + ARM_AEXT2_V8_5A, ARM_AEXT_V8M_BASE, ARM_AEXT_V8M_MAIN, + ARM_AEXT_V8M_MAIN_DSP, ARM_AEXT2_V8M, ARM_AEXT2_V8M_BASE, + ARM_AEXT2_V8M_MAIN, ARM_AEXT2_V8M_MAIN_DSP, ARM_AEXT_V8R, + ARM_AEXT2_V8R, FPU_VFP_V1xD, FPU_VFP_V1, FPU_VFP_V2, FPU_VFP_V3D16, + FPU_VFP_V3, FPU_VFP_V3xD, FPU_VFP_V4D16, FPU_VFP_V4, FPU_VFP_V4_SP_D16, + FPU_VFP_V5D16, FPU_VFP_ARMV8, FPU_NEON_ARMV8, FPU_CRYPTO_ARMV8, + FPU_VFP_HARD, FPU_FPA, FPU_ARCH_VFP, FPU_ARCH_FPE, FPU_ARCH_FPA, + FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2, + FPU_ARCH_VFP_V3D16_FP16, FPU_ARCH_VFP_V3, FPU_ARCH_VFP_V3_FP16, + FPU_ARCH_VFP_V3xD_FP16, FPU_ARCH_NEON_V1, FPU_ARCH_VFP_V3_PLUS_NEON_V1, + FPU_ARCH_NEON_FP16, FPU_ARCH_VFP_HARD, FPU_ARCH_VFP_V4, + FPU_ARCH_VFP_V4D16, FPU_ARCH_VFP_V4_SP_D16, FPU_ARCH_VFP_V5D16, + FPU_ARCH_VFP_V5_SP_D16, FPU_ARCH_NEON_VFP_V4, FPU_ARCH_VFP_ARMV8, + FPU_ARCH_NEON_VFP_ARMV8, FPU_ARCH_CRYPTO_NEON_VFP_ARMV8, + FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_DOTPROD, ARCH_CRC_ARMV8, + FPU_ARCH_NEON_VFP_ARMV8_1, FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_1, + FPU_ARCH_DOTPROD_NEON_VFP_ARMV8, ARM_ARCH_V1, ARM_ARCH_V2, + ARM_ARCH_V2S, ARM_ARCH_V3, ARM_ARCH_V3M, ARM_ARCH_V4xM, ARM_ARCH_V4, + ARM_ARCH_V4TxM, ARM_ARCH_V4T, ARM_ARCH_V5xM, ARM_ARCH_V5, + ARM_ARCH_V5TxM, ARM_ARCH_V5T, ARM_ARCH_V5TExP, ARM_ARCH_V5TE, + ARM_ARCH_V5TEJ, ARM_ARCH_V6, ARM_ARCH_V6K, ARM_ARCH_V6Z, ARM_ARCH_V6KZ, + ARM_ARCH_V6T2, ARM_ARCH_V6KT2, ARM_ARCH_V6ZT2, ARM_ARCH_V6KZT2, + ARM_ARCH_V6M, ARM_ARCH_V6SM, ARM_ARCH_V7, ARM_ARCH_V7A, ARM_ARCH_V7VE, + ARM_ARCH_V7R, ARM_ARCH_V7M, ARM_ARCH_V7EM, ARM_ARCH_V8A, + ARM_ARCH_V8A_CRC, ARM_ARCH_V8_1A, ARM_ARCH_V8_2A, ARM_ARCH_V8_3A, + ARM_ARCH_V8_4A, ARM_ARCH_V8_5A, ARM_ARCH_V8M_BASE, ARM_ARCH_V8M_MAIN, + ARM_ARCH_V8M_MAIN_DSP, ARM_ARCH_V8R): Reindent. + +2018-11-12 Sudakshina Das + + * opcode/aarch64.h (aarch64_opnd): Add AARCH64_OPND_ADDR_SIMPLE_2. + (aarch64_insn_class): Add ldstgv_indexed. + +2018-11-12 Sudakshina Das + + * opcode/aarch64.h (aarch64_opnd): Add AARCH64_OPND_ADDR_SIMM11 + and AARCH64_OPND_ADDR_SIMM13. + (aarch64_opnd_qualifier): Add new AARCH64_OPND_QLF_imm_tag. + +2018-11-12 Sudakshina Das + + * opcode/aarch64.h (aarch64_opnd): Add + AARCH64_OPND_UIMM4_ADDG and AARCH64_OPND_UIMM10 as new enums. + +2018-11-12 Sudakshina Das + + * opcode/aarch64.h (AARCH64_FEATURE_MEMTAG): New. + +2018-11-07 Roman Bolshakov + Saagar Jha + + * mach-o/external.h (mach_o_nversion_min_command_external): Rename + reserved to sdk. + (mach_o_note_command_external): New. + (mach_o_build_version_command_external): New. + * mach-o/loader.h (BFD_MACH_O_LC_VERSION_MIN_TVOS): Define. + (BFD_MACH_O_LC_NOTE): Define. + +2018-11-06 Romain Margheriti + + PR 23742 + * mach-o/loader.h: Add BFD_MACH_O_LC_BUILD_VERSION. + +2018-11-06 Sudakshina Das + + * opcode/arm.h (ARM_ARCH_V8_5A): Move ARM_EXT2_PREDRES and + ARM_EXT2_SB to ... + (ARM_AEXT2_V8_5A): Here. + +2018-10-26 John Baldwin + + * elf/common.h (AT_FREEBSD_HWCAP2): Define. + +2018-10-09 Sudakshina Das + + * opcode/aarch64.h (AARCH64_FEATURE_SSBS): New. + (AARCH64_ARCH_V8_5): Add AARCH64_FEATURE_SSBS by default. + +2018-10-09 Sudakshina Das + + * opcode/aarch64.h (AARCH64_FEATURE_SCXTNUM): New. + (AARCH64_FEATURE_ID_PFR2): New. + (AARCH64_ARCH_V8_5): Add both by default. + +2018-10-09 Sudakshina Das + + * opcode/aarch64.h (AARCH64_FEATURE_BTI): New. + (AARCH64_ARCH_V8_5): Add AARCH64_FEATURE_BTI by default. + (aarch64_opnd): Add AARCH64_OPND_BTI_TARGET. + (HINT_OPD_CSYNC, HINT_OPD_C, HINT_OPD_J): New macros to + define HINT #imm values. + (HINT_OPD_JC, HINT_OPD_NULL): Likewise. + +2018-10-09 Sudakshina Das + + * opcode/aarch64.h (AARCH64_FEATURE_RNG): New. + +2018-10-09 Sudakshina Das + + * opcode/aarch64.h (AARCH64_FEATURE_CVADP): New. + +2018-10-09 Sudakshina Das + + * opcode/aarch64.h (AARCH64_FEATURE_PREDRES): New. + (AARCH64_ARCH_V8_5): Add AARCH64_FEATURE_PREDRES by default. + (aarch64_opnd): Add AARCH64_OPND_SYSREG_SR. + (aarch64_sys_regs_sr): Declare new table. + +2018-10-09 Sudakshina Das + + * opcode/aarch64.h (AARCH64_FEATURE_SB): New. + (AARCH64_ARCH_V8_5): Add AARCH64_FEATURE_SB by default. + +2018-10-09 Sudakshina Das + + * opcode/aarch64.h (AARCH64_FEATURE_FLAGMANIP): New. + (AARCH64_FEATURE_FRINTTS): New. + (AARCH64_ARCH_V8_5): Add both by default. + +2018-10-09 Sudakshina Das + + * opcode/aarch64.h (AARCH64_FEATURE_V8_5): New. + (AARCH64_ARCH_V8_5): New. + +2018-10-08 Alan Modra + + * bfdlink.h (struct bfd_link_info): Add load_phdrs field. + +2018-10-05 Sudakshina Das + + * opcode/arm.h (ARM_EXT2_PREDRES): New. + (ARM_ARCH_V8_5A): Add ARM_EXT2_PREDRES by default. + +2018-10-05 Sudakshina Das + + * opcode/arm.h (ARM_EXT2_SB): New. + (ARM_ARCH_V8_5A): Add ARM_EXT2_SB by default. + +2018-10-05 Sudakshina Das + + * opcode/arm.h (ARM_EXT2_V8_5A): New. + (ARM_AEXT2_V8_5A, ARM_ARCH_V8_5A): New. + +2018-10-05 Richard Henderson + + * elf/or1k.h (elf_or1k_reloc_type): Add R_OR1K_PCREL_PG21, + R_OR1K_GOT_PG21, R_OR1K_TLS_GD_PG21, R_OR1K_TLS_LDM_PG21, + R_OR1K_TLS_IE_PG21, R_OR1K_LO13, R_OR1K_GOT_LO13, + R_OR1K_TLS_GD_LO13, R_OR1K_TLS_LDM_LO13, R_OR1K_TLS_IE_LO13, + R_OR1K_SLO13, R_OR1K_PLTA26. + +2018-10-05 Richard Henderson + + * elf/or1k.h (elf_or1k_reloc_type): Add R_OR1K_AHI16, + R_OR1K_GOTOFF_AHI16, R_OR1K_TLS_IE_AHI16, R_OR1K_TLS_LE_AHI16, + R_OR1K_SLO16, R_OR1K_GOTOFF_SLO16, R_OR1K_TLS_LE_SLO16. + +2018-10-03 Tamar Christina + + * opcode/aarch64.h (aarch64_inst): Remove. + (enum err_type): Add ERR_VFI. + (aarch64_is_destructive_by_operands): New. + (init_insn_sequence): New. + (aarch64_decode_insn): Remove param name. + +2018-10-03 Tamar Christina + + * opcode/aarch64.h (struct aarch64_opcode): Expand verifiers to take + more arguments. + +2018-10-03 Tamar Christina + + * opcode/aarch64.h (enum err_type): New. + (aarch64_decode_insn): Use it. + +2018-10-03 Tamar Christina + + * opcode/aarch64.h (struct aarch64_instr_sequence): New. + (aarch64_opcode_encode): Use it. + +2018-10-03 Tamar Christina + + * opcode/aarch64.h (struct aarch64_opcode): Add constraints, + extend flags field size. + (F_SCAN, C_SCAN_MOVPRFX, C_MAX_ELEM): New. + +2018-10-03 John Darrington + + * dis-asm.h (print_insn_s12z): New declaration. + +2018-10-02 Palmer Dabbelt + + * opcode/riscv-opc.h (MATCH_FENCE_TSO): New define. + (MASK_FENCE_TSO): Likewise. + +2018-10-01 Cupertino Miranda + + * arc-reloc.def (ARC_TLS_LE_32): Updated reloc formula. + +2018-09-21 H.J. Lu + + PR binutils/23694 + * include/elf/internal.h (ELF_SECTION_IN_SEGMENT_1): Don't + include zero size sections at start of PT_NOTE segment. + +2018-09-20 Nelson Chu + + * elf/nds32.h: Remove the unused target features. + * dis-asm.h (disassemble_init_nds32): Declared. + * elf/nds32.h (E_NDS32_NULL): Removed. + (E_NDS32_HAS_DSP_INST, E_NDS32_HAS_ZOL): New. + * opcode/nds32.h: Ident. + (N32_SUB6, INSN_LW): New macros. + (enum n32_opcodes): Updated. + * elf/nds32.h: Doc fixes. + * elf/nds32.h: Add R_NDS32_LSI. + * elf/nds32.h: Add new relocations for TLS. + +2018-09-20 Rainer Orth + + * elf/common.h (AT_SUN_HWCAP): Rename to ... + (AT_SUN_CAP_HW1): ... this. Retain old name for backward + compatibility. + (AT_SUN_EMULATOR, AT_SUN_BRANDNAME, AT_SUN_BRAND_AUX1) + (AT_SUN_BRAND_AUX2, AT_SUN_BRAND_AUX3, AT_SUN_CAP_HW2): Define. + +2018-09-05 Simon Marchi + + * diagnostics.h (DIAGNOSTIC_IGNORE_FORMAT_NONLITERAL): New macro. + +2018-08-31 Alan Modra + + * elf/ppc64.h (R_PPC64_REL16_HIGH, R_PPC64_REL16_HIGHA), + (R_PPC64_REL16_HIGHER, R_PPC64_REL16_HIGHERA), + (R_PPC64_REL16_HIGHEST, R_PPC64_REL16_HIGHESTA): Define. + (R_PPC64_LO_DS_OPT, R_PPC64_16DX_HA): Bump value. + +2018-08-30 Kito Cheng + + * opcode/riscv.h (MAX_SUBSET_NUM): New. + (riscv_opcode): Add xlen_requirement field and change type of + subset. + +2018-08-29 Chenghua Xu + + * elf/mips.h (E_MIPS_MACH_XXX): New E_MIPS_MACH_GS264E. + * opcode/mips.h (CPU_XXX): New CPU_GS264E. + +2018-08-29 Chenghua Xu + + * elf/mips.h (E_MIPS_MACH_XXX): New E_MIPS_MACH_GS464E. + * opcode/mips.h (CPU_XXX): New CPU_GS464E. + +2018-08-29 Chenghua Xu + + * elf/mips.h (E_MIPS_MACH_XXX): Rename E_MIPS_MACH_LS3A to + E_MIPS_MACH_GS464. + (AFL_EXT_XXX): Delete AFL_EXT_LOONGSON_3A. + * opcode/mips.h (INSN_XXX): Delete INSN_LOONGSON_3A. + (CPU_XXX): Rename CPU_LOONGSON_3A to CPU_GS464. + * opcode/mips.h (mips_isa_table): Delete CPU_LOONGSON_3A case. + +2018-08-29 Chenghua Xu + + * elf/mips.h (AFL_ASE_LOONGSON_EXT2): New macro. + (AFL_ASE_MASK): Update to include AFL_ASE_LOONGSON_EXT2. + * opcode/mips.h (ASE_LOONGSON_EXT2): New macro. + +2018-08-29 Chenghua Xu + + * elf/mips.h (AFL_ASE_LOONGSON_EXT): New macro. + (AFL_ASE_MASK): Update to include AFL_ASE_LOONGSON_EXT. + * opcode/mips.h (ASE_LOONGSON_EXT): New macro. + +2018-08-29 Chenghua Xu + + * elf/mips.h (AFL_ASE_LOONGSON_CAM): New macro. + (AFL_ASE_MASK): Update to include AFL_ASE_LOONGSON_CAM. + * opcode/mips.h (ASE_LOONGSON_CAM): New macro. + +2018-08-24 H.J. Lu + + * elf/common.h (GNU_PROPERTY_X86_ISA_1_USED): Renamed to ... + (GNU_PROPERTY_X86_COMPAT_ISA_1_USED): This. + (GNU_PROPERTY_X86_ISA_1_NEEDED): Renamed to ... + (GNU_PROPERTY_X86_COMPAT_ISA_1_NEEDED): This. + (GNU_PROPERTY_X86_ISA_1_XXX): Renamed to ... + (GNU_PROPERTY_X86_COMPAT_ISA_1_XXX): This. + (GNU_PROPERTY_X86_UINT32_AND_LO): New. + (GNU_PROPERTY_X86_UINT32_AND_HI): Likewise. + (GNU_PROPERTY_X86_UINT32_OR_LO): Likewise. + (GNU_PROPERTY_X86_UINT32_OR_HI): Likewise. + (GNU_PROPERTY_X86_UINT32_OR_AND_LO): Likewise. + (GNU_PROPERTY_X86_UINT32_OR_AND_HI): Likewise. + (GNU_PROPERTY_X86_ISA_1_CMOV): Likewise. + (GNU_PROPERTY_X86_ISA_1_SSE): Likewise. + (GNU_PROPERTY_X86_ISA_1_SSE2): Likewise. + (GNU_PROPERTY_X86_ISA_1_SSE3): Likewise. + (GNU_PROPERTY_X86_ISA_1_SSSE3): Likewise. + (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likewise. + (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likewise. + (GNU_PROPERTY_X86_ISA_1_AVX): Likewise. + (GNU_PROPERTY_X86_ISA_1_AVX2): Likewise. + (GNU_PROPERTY_X86_ISA_1_FMA): Likewise. + (GNU_PROPERTY_X86_ISA_1_AVX512F): Likewise. + (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likewise. + (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likewise. + (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likewise. + (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likewise. + (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likewise. + (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likewise. + (GNU_PROPERTY_X86_ISA_1_AVX512_4FMAPS): Likewise. + (GNU_PROPERTY_X86_ISA_1_AVX512_4VNNIW): Likewise. + (GNU_PROPERTY_X86_ISA_1_AVX512_BITALG): Likewise. + (GNU_PROPERTY_X86_ISA_1_AVX512_IFMA): Likewise. + (GNU_PROPERTY_X86_ISA_1_AVX512_VBMI): Likewise. + (GNU_PROPERTY_X86_ISA_1_AVX512_VBMI2): Likewise. + (GNU_PROPERTY_X86_ISA_1_AVX512_VNNI): Likewise. + (GNU_PROPERTY_X86_FEATURE_2_X86): Likewise. + (GNU_PROPERTY_X86_FEATURE_2_X87): Likewise. + (GNU_PROPERTY_X86_FEATURE_2_MMX): Likewise. + (GNU_PROPERTY_X86_FEATURE_2_XMM): Likewise. + (GNU_PROPERTY_X86_FEATURE_2_YMM): Likewise. + (GNU_PROPERTY_X86_FEATURE_2_ZMM): Likewise. + (GNU_PROPERTY_X86_FEATURE_2_FXSR): Likewise. + (GNU_PROPERTY_X86_FEATURE_2_XSAVE): Likewise. + (GNU_PROPERTY_X86_FEATURE_2_XSAVEOPT): Likewise. + (GNU_PROPERTY_X86_FEATURE_2_XSAVEC): Likewise. + (GNU_PROPERTY_X86_FEATURE_1_AND): Updated to + (GNU_PROPERTY_X86_UINT32_AND_LO + 0). + (GNU_PROPERTY_X86_ISA_1_NEEDED): Defined to + (GNU_PROPERTY_X86_UINT32_OR_LO + 0). + (GNU_PROPERTY_X86_FEATURE_2_NEEDED): New. Defined to + (GNU_PROPERTY_X86_UINT32_OR_LO + 1). + (GNU_PROPERTY_X86_ISA_1_USED): Defined to + (GNU_PROPERTY_X86_UINT32_OR_AND_LO + 0). + (GNU_PROPERTY_X86_FEATURE_2_USED): New. Defined to + (GNU_PROPERTY_X86_UINT32_OR_AND_LO + 1). + +2018-08-24 H.J. Lu + + * elf/common.h (GNU_PROPERTY_X86_UINT32_VALID): New. + +2018-08-21 John Darrington + + * elf/s12z.h: Rename R_S12Z_UKNWN_3 to R_S12Z_EXT18. + +2018-08-21 Alan Modra + + * opcode/ppc.h (struct powerpc_operand): Correct "insert" comment. + Mention use of "extract" function to provide default value. + (PPC_OPERAND_OPTIONAL_VALUE): Delete. + (ppc_optional_operand_value): Rewrite to use extract function. + +2018-08-18 John Darrington + + * opcode/s12z.h: New file. + +2018-08-09 Richard Earnshaw + + * elf/arm.h: Updated comments for e_flags definitions. + +2018-08-06 Claudiu Zissulescu + + * elf/arc.h (Tag_ARC_ATR_version): New tag. + +2018-08-06 Claudiu Zissulescu + + * opcode/arc.h (ARC_OPCODE_ARCV1): Define. + +2018-08-01 Richard Earnshaw + + Copy over from GCC + 2018-07-26 Martin Liska + + PR lto/86548 + * libiberty.h (make_temp_file_with_prefix): New function. + +2018-07-30 Jim Wilson + + * opcode/riscv.h (INSN_TYPE, INSN_BRANCH, INSN_CONDBRANCH, INSN_JSR) + (INSN_DREF, INSN_DATA_SIZE, INSN_DATA_SIZE_SHIFT, INSN_1_BYTE) + (INSN_2_BYTE, INSN_4_BYTE, INSN_8_BYTE, INSN_16_BYTE): New. + +2018-07-30 Andrew Jenner + + * elf/common.h (EM_CSKY, EM_CSKY_OLD): Define. + * elf/csky.h: New file. + +2018-07-27 Chenghua Xu + Maciej W. Rozycki + + * elf/mips.h (AFL_ASE_MASK): Correct typo. + +2018-07-26 Alex Chadwick + + * opcode/ppc.h (PPC_OPCODE_750): Adjust comment. + +2018-07-26 Alan Modra + + * elf/ppc64.h: Specify byte offset to local entry for values + of two to six in STO_PPC64_LOCAL_MASK. Clarify r2 return + value for such functions when entering via global entry point. + Specify meaning of a value of one in STO_PPC64_LOCAL_MASK. + +2018-07-24 Alan Modra + + PR 23430 + * elf/common.h (SHT_SYMTAB_SHNDX): Fix comment typo. + +2018-07-20 Chenghua Xu + Maciej W. Rozycki + + * elf/mips.h (AFL_ASE_MMI): New macro. + (AFL_ASE_MASK): Update to include AFL_ASE_LOONGSON_MMI. + * opcode/mips.h (ASE_LOONGSON_MMI): New macro. + +2018-07-17 Maciej W. Rozycki + + * bfdlink.h (bfd_link_hash_entry): Add `rel_from_abs' member. + +2018-07-06 Alan Modra + + * diagnostics.h: Comment on macro usage. + +2018-07-05 Simon Marchi + + * diagnostics.h (DIAGNOSTIC_IGNORE_DEPRECATED_DECLARATIONS): + Define for clang. + +2018-07-02 Maciej W. Rozycki + + PR tdep/8282 + * dis-asm.h (disasm_option_arg_t): New typedef. + (disasm_options_and_args_t): Likewise. + (disasm_options_t): Add `arg' member, document members. + (disassembler_options_mips): New prototype. + (disassembler_options_arm, disassembler_options_powerpc) + (disassembler_options_s390): Update prototypes. + +2018-06-29 Tamar Christina + + PR binutils/23192 + *opcode/aarch64.h (aarch64_opnd): Add AARCH64_OPND_Em16. + +2018-06-26 Alan Modra + + * elf/internal.h (ELF_SECTION_IN_SEGMENT): Revert last change. + +2018-06-24 Nick Clifton + + 2.31 branch created. + +2018-06-21 Alan Hayward + + * elf/internal.h (ELF_SECTION_IN_SEGMENT): Don’t check addresses + for non SHT_NOBITS. + +2018-06-19 Simon Marchi + + Sync with GCC + + 2018-05-24 Tom Rix + + * dwarf2.def (DW_FORM_strx*, DW_FORM_addrx*): New. + + 2017-11-20 Kito Cheng + + * longlong.h [__riscv] (__umulsidi3): Define. + [__riscv] (umul_ppmm): Likewise. + [__riscv] (__muluw3): Likewise. + +2018-06-14 Faraz Shahbazker + + * elf/mips.h (AFL_ASE_GINV, AFL_ASE_RESERVED1): New macros. + (AFL_ASE_MASK): Update to include AFL_ASE_GINV. + * opcode/mips.h: Document "+\" operand format. + (ASE_GINV): New macro. + +2018-06-13 Scott Egerton + Faraz Shahbazker + + * elf/mips.h (AFL_ASE_CRC): New macro. + (AFL_ASE_MASK): Update to include AFL_ASE_CRC. + * opcode/mips.h (ASE_CRC): New macro. + * opcode/mips.h (ASE_CRC64): Likewise. + +2018-06-04 Max Filippov + + * elf/xtensa.h (xtensa_read_table_entries) + (xtensa_compute_fill_extra_space): New declarations. + +2018-06-04 H.J. Lu + + * diagnostics.h (DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION): Always + define for GCC. + +2018-06-04 H.J. Lu + + * diagnostics.h (DIAGNOSTIC_STRINGIFY_1): New. + (DIAGNOSTIC_STRINGIFY): Likewise. + (DIAGNOSTIC_IGNORE): Replace STRINGIFY with DIAGNOSTIC_STRINGIFY. + (DIAGNOSTIC_IGNORE_SELF_MOVE): Define empty if not defined. + (DIAGNOSTIC_IGNORE_DEPRECATED_REGISTER): Likewise. + (DIAGNOSTIC_IGNORE_UNUSED_FUNCTION): Likewise. + (DIAGNOSTIC_IGNORE_SWITCH_DIFFERENT_ENUM_TYPES): Likewise. + (DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION): New. + +2018-06-01 H.J. Lu + + * diagnostics.h: Moved from ../gdb/common/diagnostics.h. + +2018-05-28 Bernd Edlinger + + * splay-tree.h (splay_tree_compare_strings, + splay_tree_delete_pointers): Declare new utility functions. + +2018-05-21 Peter Bergner + + * opcode/ppc.h (PPC_OPERAND_FAKE): Delete macro. + +2018-05-18 Kito Cheng + + * elf/riscv.h (EF_RISCV_RVE): New define. + +2018-05-18 John Darrington + + * elf/s12z.h: New header. + +2018-05-15 Tamar Christina + + PR binutils/21446 + * opcode/aarch64.h (F_SYS_READ, F_SYS_WRITE): New. + +2018-05-15 Tamar Christina + + PR binutils/21446 + * opcode/aarch64.h (aarch64_operand_error): Add non_fatal. + (aarch64_print_operand): Support notes. + +2018-05-15 Tamar Christina + + PR binutils/21446 + * opcode/aarch64.h (aarch64_opnd_info): Change sysreg to struct. + (aarch64_decode_insn): Accept error struct. + +2018-05-15 Francois H. Theron + + * opcode/nfp.h: Use uint64_t instead of bfd_vma. + +2018-05-10 John Darrington + + * elf/common.h (EM_S12Z): New macro. + +2018-05-09 Sebastian Rasmussen + + * mach-o/unwind.h (MACH_O_UNWIND_X86_64_RBP_FRAME_REGISTERS): + Rename from MACH_O_UNWIND_X86_64_RBP_FRAME_REGSITERS. + (MACH_O_UNWIND_X86_EBP_FRAME_REGISTERS): Rename from + MACH_O_UNWIND_X86_EBP_FRAME_REGSITERS. + +2018-05-08 Jim Wilson + + * opcode/riscv-opc.h (MATCH_C_SRLI64, MASK_C_SRLI64): New. + (MATCH_C_SRAI64, MASK_C_SRAI64): New. + (MATCH_C_SLLI64, MASK_C_SLLI64): New. + +2018-05-07 Peter Bergner + + * opcode/ppc.h (powerpc_num_opcodes): Change type to unsigned. + (vle_num_opcodes): Likewise. + (spe2_num_opcodes): Likewise. + +2018-05-04 Alan Modra + + * ansidecl.h: Import from gcc. + * coff/internal.h (struct internal_scnhdr): Add ATTRIBUTE_NONSTRING + to s_name. + (struct internal_syment): Add ATTRIBUTE_NONSTRING to _n_name. + +2018-04-30 Francois H. Theron + + * dis-asm.h: Added print_nfp_disassembler_options prototype. + * elf/common.h: Added EM_NFP, officially assigned. See Google Group + Generic System V Application Binary Interface. + * elf/nfp.h: New, for NFP support. + * opcode/nfp.h: New, for NFP support. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * elf/arm.h: Add R_ARM_TLS_GD32_FDPIC, R_ARM_TLS_LDM32_FDPIC, + R_ARM_TLS_IE32_FDPIC. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * elf/arm.h (R_ARM_GOTFUNCDESC, R_ARM_GOTOFFFUNCDESC) + (R_ARM_FUNCDESC) + (R_ARM_FUNCDESC_VALUE): Define new relocations. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * elf/arm.h (EF_ARM_FDPIC): New. + +2018-04-18 Alan Modra + + * coff/mipspe.h: Delete. + +2018-04-18 Alan Modra + + * aout/dynix3.h: Delete. + +2018-04-17 Andrew Sadek + + Microblaze Target: PIC data text relative + + * bfdlink.h (Add flag): Add new flag @ 'bfd_link_info' struct. + * elf/microblaze.h (Add 3 new relocations): + R_MICROBLAZE_TEXTPCREL_64, R_MICROBLAZE_TEXTREL_64 + and R_MICROBLAZE_TEXTREL_32_LO for relax function. + +2018-04-17 Alan Modra + + * elf/i370.h: Revert removal. + * elf/i860.h: Likewise. + * elf/i960.h: Likewise. + +2018-04-16 Alan Modra + + * coff/sparc.h: Delete. + +2018-04-16 Alan Modra + + * aout/host.h: Remove m68k-aout and m68k-coff support. + * aout/hp300hpux.h: Delete. + * coff/apollo.h: Delete. + * coff/aux-coff.h: Delete. + * coff/m68k.h: Delete. + +2018-04-16 Alan Modra + + * dis-asm.h: Remove sh5 and sh64 support. + +2018-04-16 Alan Modra + + * coff/internal.h: Remove w65 support. + * coff/w65.h: Delete. + +2018-04-16 Alan Modra + + * coff/we32k.h: Delete. + +2018-04-16 Alan Modra + + * coff/internal.h: Remove m88k support. + * coff/m88k.h: Delete. + * opcode/m88k.h: Delete. + +2018-04-16 Alan Modra + + * elf/i370.h: Delete. + * opcode/i370.h: Delete. + +2018-04-16 Alan Modra + + * coff/h8500.h: Delete. + * coff/internal.h: Remove h8500 support. + +2018-04-16 Alan Modra + + * coff/h8300.h: Delete. + +2018-04-16 Alan Modra + + * ieee.h: Delete. + +2018-04-16 Alan Modra + + * aout/host.h: Remove newsos3 support. + +2018-04-16 Alan Modra + + * nlm/ChangeLog-9315: Delete. + * nlm/alpha-ext.h: Delete. + * nlm/common.h: Delete. + * nlm/external.h: Delete. + * nlm/i386-ext.h: Delete. + * nlm/internal.h: Delete. + * nlm/ppc-ext.h: Delete. + * nlm/sparc32-ext.h: Delete. + +2018-04-16 Alan Modra + + * opcode/tahoe.h: Delete. + +2018-04-11 Alan Modra + + * aout/adobe.h: Delete. + * aout/reloc.h: Delete. + * coff/i860.h: Delete. + * coff/i960.h: Delete. + * elf/i860.h: Delete. + * elf/i960.h: Delete. + * opcode/i860.h: Delete. + * opcode/i960.h: Delete. + * aout/aout64.h (enum reloc_type): Trim off 29k and other unused values. + * aout/ar.h (ARMAGB): Remove. + * coff/internal.h (struct internal_aouthdr, struct internal_scnhdr, + union internal_auxent): Remove i960 support. + +2018-04-09 Alan Modra + + * elf/ppc.h (R_PPC_PLTSEQ, R_PPC_PLTCALL): Define. + * elf/ppc64.h (R_PPC64_PLTSEQ, R_PPC64_PLTCALL): Define. + +2018-03-28 Renlin Li + + PR ld/22970 + * elf/aarch64.h: Add relocation number for + R_AARCH64_P32_TLSLE_LDST16_TPREL_LO12, + R_AARCH64_P32_TLSLE_LDST16_TPREL_LO12_NC, + R_AARCH64_P32_TLSLE_LDST32_TPREL_LO12, + R_AARCH64_P32_TLSLE_LDST32_TPREL_LO12_NC, + R_AARCH64_P32_TLSLE_LDST64_TPREL_LO12, + R_AARCH64_P32_TLSLE_LDST64_TPREL_LO12_NC, + R_AARCH64_P32_TLSLE_LDST8_TPREL_LO12, + R_AARCH64_P32_TLSLE_LDST8_TPREL_LO12_NC. + +2018-03-28 Nick Clifton + + PR 22988 + * opcode/aarch64.h (enum aarch64_opnd): Add + AARCH64_OPND_SVE_ADDR_R. + +2018-03-21 H.J. Lu + + * elf/common.h (DF_1_KMOD): New. + (DF_1_WEAKFILTER): Likewise. + (DF_1_NOCOMMON): Likewise. + +2018-03-14 Kito Cheng + + * opcode/riscv.h (OP_MASK_FUNCT3): New. + (OP_SH_FUNCT3): Likewise. + (OP_MASK_FUNCT7): Likewise. + (OP_SH_FUNCT7): Likewise. + (OP_MASK_OP2): Likewise. + (OP_SH_OP2): Likewise. + (OP_MASK_CFUNCT4): Likewise. + (OP_SH_CFUNCT4): Likewise. + (OP_MASK_CFUNCT3): Likewise. + (OP_SH_CFUNCT3): Likewise. + (riscv_insn_types): Likewise. + +2018-03-13 Nick Clifton + + PR 22113 + * coff/pe.h (struct pex64_unwind_info): Add a rawUnwindCodesEnd + field. + +2018-03-08 H.J. Lu + + * opcode/i386 (OLDGCC_COMPAT): Removed. + +2018-02-27 Thomas Preud'homme + + * opcode/arm.h (ARM_FEATURE_COPY): Remove macro definition. + +2018-02-20 Maciej W. Rozycki + + * opcode/mips.h: Remove `M' operand code. + +2018-02-12 Zebediah Figura + + * coff/msdos.h: New header. + * coff/pe.h: Move common defines to msdos.h. + * coff/powerpc.h: Likewise. + +2018-01-13 Nick Clifton + + 2.30 branch created. + +2018-01-11 H.J. Lu + + PR ld/22393 + * bfdlink.h (bfd_link_info): Add separate_code. + +2018-01-04 Jim Wilson + + * opcode/riscv-opc.h (CSR_SBADADDR): Rename to CSR_STVAL. Rename + DECLARE_CSR entry. Add alias to map sbadaddr to CSR_STVAL. + (CSR_MBADADDR): Rename to CSR_MTVAL. Rename DECLARE_CSR entry. + Add alias to map mbadaddr to CSR_MTVAL. + +2018-01-03 Alan Modra + + Update year range in copyright notice of all files. + +For older changes see ChangeLog-2017 + +Copyright (C) 2018 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/ChangeLog b/ld/ChangeLog index d7d9188394..c2900e0b00 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,4752 +1,6 @@ -2018-12-31 Alan Modra - - PR 24042 - * emultempl/elf32.em (output_rel_find): Drop "sec" param. Add - "rela". - (gld${EMULATION_NAME}_place_orphan): Use sh_type to calculate - "rela" param of output_rel_find when ELF. Tidy uses of elfinput. - -2018-12-19 H.J. Lu - - PR gas/23997 - * testsuite/ld-i386/i386.exp: Run PR gas/23997 test. - * testsuite/ld-x86-64/x86-64.exp: Likewise. - * testsuite/ld-x86-64/pr23997a.s: New file. - * testsuite/ld-x86-64/pr23997b.c: Likewise. - * testsuite/ld-x86-64/pr23997c.c: Likewise. - -2018-12-19 H.J. Lu - - * testsuite/ld-x86-64/x86-64.exp: Rename PR ld/22842 run-time - test to "Run pr22842". - -2018-12-14 H.J. Lu - - PR ld/23900 - * testsuite/ld-elf/elf.exp: Run PR ld/23900 test. - * testsuite/ld-elf/pr23900-1-32.rd: New file. - * testsuite/ld-elf/pr23900-1-64.rd: Likewise. - * testsuite/ld-elf/pr23900-1.d: Likewise. - * testsuite/ld-elf/pr23900-1.s: Likewise. - * testsuite/ld-elf/pr23900-2.s: Likewise. - * testsuite/ld-elf/pr23900-2a.d: Likewise. - * testsuite/ld-elf/pr23900-2b.d: Likewise. - * testsuite/ld-i386/ibt-plt-1.d: Adjusted. - * testsuite/ld-i386/ibt-plt-2c.d: Likewise. - * testsuite/ld-i386/ibt-plt-2d.d: Likewise. - * testsuite/ld-i386/ibt-plt-3d.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-1.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise. - * testsuite/ld-i386/pr23372c.d: Expect - for GNU_PROPERTY_X86_ISA_1_USED. - * testsuite/ld-x86-64/pr23372c-x32.d: Likewise. - * testsuite/ld-x86-64/pr23372c.d: Likewise. - * testsuite/ld-x86-64/pr23372d-x32.d: Likewise. - * testsuite/ld-x86-64/pr23372d.d: Likewise. - * testsuite/ld-x86-64/property-x86-5a.s: Change - GNU_PROPERTY_X86_ISA_1_USED bits to 0. - * testsuite/ld-x86-64/property-x86-5b.s: Likewise. - -2018-12-11 H.J. Lu - - * scripttempl/elf32xc16x.sc: Fix a typo. - -2018-12-07 H.J. Lu - - PR ld/23958 - * testsuite/ld-plugin/lto.exp: Run PR ld/23958 test. - * testsuite/ld-plugin/pr23958.c: New file. - * testsuite/ld-plugin/pr23958.t: Likewise. - -2018-12-07 H.J. Lu - - * NEWS: Updated for property change report. - * ld.texi: Document property change report. - * ldmain.c (main): Set link_info.has_map_file to TRUE when - linker map file is used. - * testsuite/ld-scripts/rgn-over1.d: Updated. - * testsuite/ld-scripts/rgn-over2.d: Likewise. - * testsuite/ld-scripts/rgn-over3.d: Likewise. - * testsuite/ld-scripts/rgn-over4.d: Likewise. - * testsuite/ld-scripts/rgn-over5.d: Likewise. - * testsuite/ld-scripts/rgn-over6.d: Likewise. - * testsuite/ld-scripts/rgn-over7.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Check linker map - file. - * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt1a.map: New file. - -2018-12-04 H.J. Lu - - PR ld/23372 - * testsuite/ld-i386/pr23372a.d: Updated. - * testsuite/ld-i386/pr23372c.d: Likewise. - * testsuite/ld-x86-64/pr23372a-x32.d: Likewise. - * testsuite/ld-x86-64/pr23372a.d: Likewise. - * testsuite/ld-x86-64/pr23372c-x32.d: Likewise. - * testsuite/ld-x86-64/pr23372c.d: Likewise. - -2018-12-01 H.J. Lu - - PR ld/23930 - * testsuite/ld-i386/i386.exp: Run pr23930. - * testsuite/ld-i386/pr23930.d: New file. - * testsuite/ld-x86-64/pr23930-32.t: Likewise. - * testsuite/ld-x86-64/pr23930-x32.d: Likewise. - * testsuite/ld-x86-64/pr23930.d: Likewise. - * testsuite/ld-x86-64/pr23930.t: Likewise. - * testsuite/ld-x86-64/pr23930a.s: Likewise. - * testsuite/ld-x86-64/pr23930b.s: Likewise. - * testsuite/ld-x86-64/x86-64.exp: Run pr23930 and pr23930-x32. ---- -2018-11-30 Alan Modra - - * testsuite/ld-powerpc/pr23937.d, - * testsuite/ld-powerpc/pr23937.s: New test. - * testsuite/ld-powerpc/powerpc.exp: Run it. - -2018-11-29 Thomas Preud'homme - - * ldlang.c (statement_list): Document purpose and what next field it - uses. - (file_chain): Likewise. - (input_file_chain): Likewise. - * ldlang.h (lang_statement_header_type): Document statement list header - the next pointer correspond to. - (lang_statement_header_type): Replace comment for next and - next_real_file field to refer the reader to their corresponding - statement list header. - -2018-11-27 Maciej W. Rozycki - - * testsuite/ld-mips-elf/pic-reloc-0.d: New test. - * testsuite/ld-mips-elf/pic-reloc-1.d: New test. - * testsuite/ld-mips-elf/pic-reloc-2.d: New test. - * testsuite/ld-mips-elf/pic-reloc-3.d: New test. - * testsuite/ld-mips-elf/pic-reloc-4.d: New test. - * testsuite/ld-mips-elf/pic-reloc-absolute-hi.ld: New test - linker script. - * testsuite/ld-mips-elf/pic-reloc-absolute-lo.ld: New test - linker script. - * testsuite/ld-mips-elf/pic-reloc-ordinary.ld: New test linker - script. - * testsuite/ld-mips-elf/pic-reloc-j.s: New test source. - * testsuite/ld-mips-elf/pic-reloc-lui.s: New test source. - * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. - -2018-11-27 Maciej W. Rozycki - - * ldmain.c (reloc_overflow): Use `%H:' rather than `%P: %H:' - with `einfo'. - (reloc_dangerous): Likewise. - (unattached_reloc): Likewise. - -2018-11-27 Tamar Christina - - PR ld/23904 - * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum843419_tls_ie. - * testsuite/ld-aarch64/erratum843419_tls_ie.d: New test. - * testsuite/ld-aarch64/erratum843419_tls_ie.s: New test. - -2018-11-16 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2018-11-15 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2018-11-12 H.J. Lu - - * testsuite/ld-i386/plt-main-ibt.dd: Accept both .plt.got and - .plt.sec sections. - -2018-11-12 Nick Clifton - - PR 10865 - * ld.texi (Entry Point): Make it clear that the text refers to - PE-based systems rather than just a PE system. - -2018-11-12 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2018-11-09 Nick Clifton - - * po/fr.po: Updated French translation. - -2018-11-09 Claudiu Zissulescu - - * testsuite/ld-arc/tls_gd-01.d: Update test. - * testsuite/ld-arc/arclinux-nps.d: Add cpu option. - -2018-11-09 Marc - - PR 23872 - * scripttempl/pep.sc (pe.sc): Ensure rdata_runtime_pseudo_relocs - are aligned. - * scripttempl/pep.sc (pep.sc): Likewise. - -2018-11-06 H.J. Lu - - * testsuite/config/default.exp (ELFEDIT): New. - * testsuite/ld-elf/linux-x86.exp (elfedit_test): New proc. - Run elfedit tests. - * testsuite/ld-elf/x86-feature-1a.rd: New file. - * testsuite/ld-elf/x86-feature-1b.rd: Likewise. - * testsuite/ld-elf/x86-feature-1c.rd: Likewise. - * testsuite/ld-elf/x86-feature-1d.rd: Likewise. - * testsuite/ld-elf/x86-feature-1e.rd: Likewise. - -2018-11-05 H.J. Lu - - PR gas/23854 - * testsuite/ld-i386/i386.exp: Run pr23854. - * testsuite/ld-x86-64/x86-64.exp: Likewwise. - * testsuite/ld-i386/pr23854.d: New file. - * testsuite/ld-i386/pr23854.s: Likewwise. - * testsuite/ld-i386/pr23854.d: Likewwise. - * testsuite/ld-x86-64/pr23854.d: Likewwise. - * testsuite/ld-x86-64/pr23854.s: Likewwise. - -2018-11-01 Thomas Preud'homme - - * testsuite/lib/ld-lib.exp (check_shared_lib_support): Moved to - binutils-common.exp. - -2018-10-29 Alan Modra - - * ldlang.c (load_symbols): When -t, print file names for script - files and archives. - * ldmain.c (trace_files): Make an int. - (add_archive_element): Print archive elements only with multiple - -t options, or when archive is thin. - * ldmain.h (trace_files): Update. - * ldmisc.c (vfinfo): Don't print both original path and path in - sysroot. - * lexsup.c (parse_args ): Increment trace_files. - -2018-10-29 Alan Modra - - * ldmain.c (main): Print emulation mode and "deleting executable" - for --verbose, not --trace. - (add_archive_element): Only print "no new IR symbols" for --verbose. - -2018-10-29 Alan Modra - - * ldmain.c (get_sysroot): Return "" for "--sysroot=/". - -2018-10-29 Alan Modra - - * Makefile.am (ei386beos.c, ei386go32.c): Correct dependencies. - * Makefile.in: Regenerate. - * scripttempl/elf.sc (.note.gnu.build-id, .eh_frame_hdr): Set - address with ${RELOCATING-0}. - * scripttempl/arclinux.sc: Likewise. - * scripttempl/armbpabi.sc: Likewise. - * scripttempl/avr.sc: Likewise. - * scripttempl/elf64hppa.sc: Likewise. - * scripttempl/elf_chaos.sc: Likewise. - * scripttempl/elfarc.sc: Likewise. - * scripttempl/elfxtensa.sc: Likewise. - * scripttempl/mep.sc: Likewise. - * scripttempl/nds32elf.sc: Likewise. - * scripttempl/pru.sc: Likewise. - * scripttempl/elf32msp430.sc: Likewise, and for other sections. - * scripttempl/epiphany_4x4.sc: Similarly. - -2018-10-26 Christoph Conrads - - * ld.texi (--gc-sections): Update. - -2018-10-24 H.J. Lu - - PR ld/23818 - * testsuite/ld-plugin/lto.exp: Run PR ld/23818 test. - * testsuite/ld-plugin/pr23818.d: New file. - * testsuite/ld-plugin/pr23818.t: Likewise. - * testsuite/ld-plugin/pr23818a.c: Likewise. - * testsuite/ld-plugin/pr23818b.c: Likewise. - -2018-10-23 Alan Modra - - * testsuite/ld-elf/shared.exp: Don't build pr19073 test on alpha. - * testsuite/ld-elf/pr18720b.c: Don't use .set on alpha. - -2018-10-20 Alan Modra - - * ldlang.c (lang_end): Don't error if no --entry or --undefined - is given with -r -gc-sections if --gc-keep-exported. - -2018-10-15 Jim Wilson - - * emulparams/elf32lriscv-defs.sh (DATA_START_SYMBOLS): New. - (SDATA_START_SYMBOLS): Define __SDATA_BEGIN__. Don't define - __global_pointer$. - (OTHER_END_SYMBOLS): New. Define __global_pointer$. - * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d (#ld): Add --no-relax. - -2018-10-15 Alan Modra - - PR 23534 - * ldmain.c (main): Exit with fatal error if bfd_init returns - an unexpected value. - -2018-10-13 Alan Modra - - * Makefile.am (eelf32btsmip_fbsd.c, eelf32btsmipn32_fbsd.c), - (eelf32epiphany.c, eelf32epiphany_4x4.c, eelf32ltsmip_fbsd.c), - (eelf32ltsmipn32_fbsd.c, eelf32xc16x.c, eelf32xc16xl.c), - (eelf32xc16xs.c, emcorepe.c, enios2elf.c, enios2linux.c), - (eelf64btsmip_fbsd.c, eelf64ltsmip_fbsd.c): Correct dependencies. - * Makefile.in: Regenerate. - * emulparams/aarch64cloudabi.sh, * emulparams/aarch64fbsd.sh, - * emulparams/aarch64linux.sh, * emulparams/aarch64linux32.sh, - * emulparams/arc-nps.sh, * emulparams/elf32_spu.sh, - * emulparams/elf32_tic6x_le.sh, * emulparams/elf32bmip.sh, - * emulparams/elf32btsmipn32.sh, * emulparams/elf32lr5900n32.sh, - * emulparams/elf32mep.sh, * emulparams/elf32metag.sh, - * emulparams/elf64btsmip.sh, * emulparams/shelf_vxworks.sh, - * emulparams/shlelf_fd.sh, * scripttempl/DWARF.sc, - * scripttempl/alpha.sc, * scripttempl/alphavms.sc, - * scripttempl/arclinux.sc, * scripttempl/armbpabi.sc, - * scripttempl/avr.sc, * scripttempl/dlx.sc, * scripttempl/elf.sc, - * scripttempl/elf32cr16.sc, * scripttempl/elf32cr16c.sc, - * scripttempl/elf32crx.sc, * scripttempl/elf32msp430.sc, - * scripttempl/elf32msp430_3.sc, * scripttempl/elf32xc16x.sc, - * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc, - * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc, - * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc, - * scripttempl/elfd10v.sc, * scripttempl/elfd30v.sc, - * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc, - * scripttempl/elfm9s12z.sc, * scripttempl/elfmicroblaze.sc, - * scripttempl/elfxgate.sc, * scripttempl/elfxtensa.sc, - * scripttempl/epiphany_4x4.sc, * scripttempl/ft32.sc, - * scripttempl/hppaelf.sc, * scripttempl/ia64vms.sc, - * scripttempl/ip2k.sc, * scripttempl/iq2000.sc, - * scripttempl/mep.sc, * scripttempl/mmo.sc, - * scripttempl/nds32elf.sc, * scripttempl/pru.sc, - * scripttempl/sh.sc, * scripttempl/v850.sc, - * scripttempl/v850_rh850.sc, * scripttempl/visium.sc, - * scripttempl/xstormy16.sc: Condition various parts of scripts on - ${RELOCATABLE} in order to prevent ld -r merging sections or - defining symbols. Remove MEMORY and VERSION definitions from - ld -r scripts too. - * testsuite/ld-elf/group2.d, * testsuite/ld-elf/group4.d, - * testsuite/ld-elf/group5.d, * testsuite/ld-elf/group6.d, - * testsuite/ld-elf/group7.d, * testsuite/ld-elf/group8a.d, - * testsuite/ld-elf/group8b.d, * testsuite/ld-elf/group9a.d, - * testsuite/ld-elf/group9b.d, * testsuite/ld-elf/pr17550a.d, - * testsuite/ld-elf/pr17550b.d, - * testsuite/ld-elf/pr17550d.d: Don't xfail cr16 and crx. - * testsuite/ld-elf/init-fini-arrays.d, - * testsuite/ld-elf/pr22677.d: Likewise, and dont' xfail mep. - -2018-10-08 H.J. Lu - - PR ld/23428 - * testsuite/ld-i386/property-x86-4a.d: Updated. - * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-4a.d: Likewise. - -2018-10-08 H.J. Lu - - PR ld/23658 - * ldlang.c (lang_insert_orphan): Properly group and place orphan - note sections. Properly handle orphan note section before all - note sections. - * testsuite/ld-elf/pr23658-1.d: Renamed to ... - * testsuite/ld-elf/pr23658-1a.d: This. Updated. - * testsuite/ld-elf/pr23658-1b.d: New test. - * testsuite/ld-elf/pr23658-1c.d: Likewise. - -2018-10-08 Alan Modra - - * ldexp.c (fold_name ): Set link_info.load_phdrs. - * testsuite/ld-elf/loadaddr1.d: Pass -z noseparate-code. - * testsuite/ld-elf/loadaddr2.d: Likewise. - * testsuite/ld-i386/vxworks2.sd: Adjust expected output. - * testsuite/ld-powerpc/vxworks2.sd: Likewise. - * testsuite/ld-elf/overlay.d: Remove spu xfail. - * testsuite/ld-spu/ovl.lnk: Don't use SIZEOF_HEADERS. - * testsuite/ld-tic6x/dsbt-be.ld: Likewise. - * testsuite/ld-tic6x/dsbt-inrange.ld: Likewise. - * testsuite/ld-tic6x/dsbt-overflow.ld: Likewise. - * testsuite/ld-tic6x/dsbt.ld: Likewise. - -2018-10-08 Alan Modra - - * ldlang.c (insert_os_after): Clear ignore_first on assignment to - dot, not any assignment. Clear ignore_first on output section - statement contents too. - * testsuite/ld-elf/pr19539.d: Remove alpha xfail. - -2018-10-08 Alan Modra - - * testsuite/ld-elf/pr22423.d: Pass --dynamic-linker to ld. - -2018-10-05 Richard Henderson - - * testsuite/ld-or1k/or1k.exp: Add test cases for plt generation. - * testsuite/ld-or1k/plt1.dd: New file. - * testsuite/ld-or1k/plt1.s: New file. - * testsuite/ld-or1k/plt1.x.dd: New file. - * testsuite/ld-or1k/plta1.dd: New file. - * testsuite/ld-or1k/plta1.s: New file. - * testsuite/ld-or1k/pltlib.s: New file. - -2018-10-05 Richard Henderson - - * testsuite/ld-or1k/offsets1.d: New file. - * testsuite/ld-or1k/offsets1.s: New file. - * testsuite/ld-or1k/or1k.exp: New file. - -2018-10-04 H.J. Lu - - PR ld/23658 - * testsuite/ld-elf/pr23658-1.d: Also xfail ft32-* and xgate-*. - -2018-10-03 H.J. Lu - - PR ld/23658 - * testsuite/ld-elf/pr23658-1.d: New file. - * testsuite/ld-elf/pr23658-1a.s: Likewise. - * testsuite/ld-elf/pr23658-1b.s: Likewise. - * testsuite/ld-elf/pr23658-1c.s: Likewise. - * testsuite/ld-elf/pr23658-1d.s: Likewise. - * testsuite/ld-elf/pr23658-2.rd: Likewise. - * testsuite/ld-elf/pr23658-3.d: Likewise. - * testsuite/ld-elf/pr23658-3.s: Likewise. - * testsuite/ld-elf/pr23658-3.t: Likewise. - * testsuite/ld-elf/shared.exp: Run PR ld/23658 tests. - -2018-10-03 H.J. Lu - - PR ld/23658 - * ldlang.c (lang_insert_orphan): Group and sort output note - sections by section alignments. - -2018-09-25 Eric Botcazou - - * testsuite/ld-elf/pr14156b.d: Adjust for extra symbols. - * testsuite/ld-elf/pr22677.s: Define main/start/_start/__start. - -2018-09-24 Jim Wilson - - * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend-2. - * testsuite/ld-riscv/elf/ld-riscv-elf/pcrel-lo-addend-2.d: New. - * testsuite/ld-riscv/elf/ld-riscv-elf/pcrel-lo-addend-2.s: New. - * testsuite/ld-riscv/elf/ld-riscv-elf/pcrel-lo-addend.d: Update name - and error string. - -2018-09-21 Alan Modra - - * testsuite/ld-avr/gc-section-debugline.d: Update. - -2018-09-20 H.J. Lu - - * testsuite/ld-checks/over2.s: Add "_main" for LynxOS targets. - * testsuite/ld-elf/comm-data4.s: Likewise. - * testsuite/ld-elf/comm-data5.s: Likewise. - * testsuite/ld-elf/eh5b.s: Likewise. - * testsuite/ld-elf/empty.s: Likewise. - * testsuite/ld-elf/empty2.s: Likewise. - * testsuite/ld-elf/exclude3.s: Likewise. - * testsuite/ld-elf/fini0.s: Likewise. - * testsuite/ld-elf/init0.s: Likewise. - * testsuite/ld-elf/linkonce1b.s: Likewise. - * testsuite/ld-elf/orphan3a.s: Likewise. - * testsuite/ld-elf/pr14926.s: Likewise. - * testsuite/ld-elf/pr20513a.s: Likewise. - * testsuite/ld-elf/sec64k.exp: Likewise. - * testsuite/ld-elf/start.s: Likewise. - * testsuite/ld-elf/var1.s: Likewise. - -2018-09-20 Kito Cheng - - * emulparams/elf32lriscv.sh: Correct the library search path. - * emulparams/elf32lriscv_ilp32.sh: Likewise. - * emulparams/elf32lriscv_ilp32f.sh: Likewise. - -2018-09-20 Nelson Chu - - * emultempl/nds32elf.em (hyper_relax): New variable. - (nds32_elf_create_output_section_statements): - the parameters of bfd_elf32_nds32_set_target_option - (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_OPTIONS, - PARSE_AND_LIST_ARGS_CASES): Add new option --mhyper-relax. - * emultempl/nds32elf.em (nds32_elf_after_open): Updated. - * emultempl/nds32elf.em (tls_desc_trampoline): New variable. - * (nds32_elf_create_output_section_statements): Updated. - * (nds32_elf_after_parse): Disable relaxations when PIC is enable. - * (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_OPTIONS, - PARSE_AND_LIST_ARGS_CASES): Add new option --m[no-]tlsdesc-trampoline. - -2018-09-19 Alan Modra - - PR ld/23648 - * ldlang.c (lang_process): Move lang_do_memory_regions earlier. - Comment on lang_do_assignments call. - * ldgram.y (origin_exp): Don't assign region->current. - * testsuite/ld-elf/pr23648.d, - * testsuite/ld-elf/pr23648.s, - * testsuite/ld-elf/pr23648.t: New test. - -2018-09-19 Alan Modra - - * ldmain.c (add_archive_element): Handle auto-inport symbols - when printing map. - -2018-09-17 Alan Modra - - * testsuite/ld-elf/comm-data5.d: Remove notarget for hppa. - * testsuite/ld-scripts/defined6.d: Likewise. - -2018-09-17 Nick Clifton - - * testuite/ld/ld-elf/audit.exp: Differentiate the names of the - two "Run with shared with --audit" tests. - * testuite/ld/ld-elf/compress.exp: Differentiate the zlib - compressed debug output test names. - * testuite/ld/ld-i386/tlspie1.d: Add extra details to the test - name. - * testuite/ld/ld-i386/tlspie2.d: Likewise. - * testuite/ld/ld-size/size.exp: Add missing escapes to the end - of lines in the size-3e test. - * testuite/ld/ld-unique/unique.exp: Differentiate the names of - the two "Checking unique PIC object" tests. - * testuite/ld/ld-x86-64/tlspie1.d: Add extra details to the test - name. - -2018-09-15 Alan Modra - - * testsuite/ld-d10v/reloc-007.d, - * testsuite/ld-d10v/reloc-008.d, - * testsuite/ld-d10v/reloc-015.d, - * testsuite/ld-d10v/reloc-016.d: Remove "error:". - * testsuite/ld-elf/eh-frame-hdr.d, - * testsuite/ld-elf/eh5.d, - * testsuite/ld-gc/personality.d: Replace "cfi" and "shared" in - target list with appropriate proc. - * testsuite/ld-elf/frame.exp: Use check_shared_lib_support rather - than "istarget shared". - * testsuite/lib/ld-lib.exp (proc big_or_little_endian): Delete. - (run_dump_test, slurp_options, file_contents): Delete. - (set_file_contents, istarget): Delete. - -2018-09-15 Alan Modra - - * testsuite/lib/ld-lib.exp (run_dump_test): Replace PROG - with DUMPPROG. - -2018-09-15 Alan Modra - - * testsuite/ld-elf/interleave-0.d, - * testsuite/ld-elf/interleave-4.d: Don't objcopy to srec, - objdump instead. - * testsuite/ld-gc/all-debug-sections.d, - * testsuite/ld-scripts/provide-4.d, - * testsuite/ld-scripts/provide-5.d, - * testsuite/ld-scripts/provide-6.d, - * testsuite/ld-scripts/provide-7.d, - * testsuite/ld-scripts/provide-8.d, - * testsuite/ld-scripts/segment-start.d: Remove PROG, specify - nm instead. - * testsuite/lib/ld-lib.exp (run_dump_test): Remove support - for objcopy as a dump tool. - -2018-09-14 Maciej W. Rozycki - - PR ld/21375 - * testsuite/ld-mips-elf/pr21375-abi.hd: New test. - * testsuite/ld-mips-elf/pr21375-noabi.hd: New test. - * testsuite/ld-mips-elf/pr21375.dd: New test. - * testsuite/ld-mips-elf/pr21375h.dd: New test. - * testsuite/ld-mips-elf/pr21375p.dd: New test. - * testsuite/ld-mips-elf/pr21375ph.dd: New test. - * testsuite/ld-mips-elf/pr21375s.dd: New test. - * testsuite/ld-mips-elf/pr21375s-n32.dd: New test. - * testsuite/ld-mips-elf/pr21375s-n64.dd: New test. - * testsuite/ld-mips-elf/pr21375sh.dd: New test. - * testsuite/ld-mips-elf/pr21375sh-n32.dd: New test. - * testsuite/ld-mips-elf/pr21375sh-n64.dd: New test. - * testsuite/ld-mips-elf/pr21375shg.dd: New test. - * testsuite/ld-mips-elf/pr21375sx.dd: New test. - * testsuite/ld-mips-elf/pr21375sxh.dd: New test. - * testsuite/ld-mips-elf/pr21375sm16.dd: New test. - * testsuite/ld-mips-elf/pr21375sm16h.dd: New test. - * testsuite/ld-mips-elf/pr21375su.dd: New test. - * testsuite/ld-mips-elf/pr21375su-n32.dd: New test. - * testsuite/ld-mips-elf/pr21375su-n64.dd: New test. - * testsuite/ld-mips-elf/pr21375suh.dd: New test. - * testsuite/ld-mips-elf/pr21375suh-n32.dd: New test. - * testsuite/ld-mips-elf/pr21375suh-n64.dd: New test. - * testsuite/ld-mips-elf/pr21375sux.dd: New test. - * testsuite/ld-mips-elf/pr21375suxh.dd: New test. - * testsuite/ld-mips-elf/pr21375.gd: New test. - * testsuite/ld-mips-elf/pr21375h.gd: New test. - * testsuite/ld-mips-elf/pr21375p.gd: New test. - * testsuite/ld-mips-elf/pr21375ph.gd: New test. - * testsuite/ld-mips-elf/pr21375s.gd: New test. - * testsuite/ld-mips-elf/pr21375s-n32.gd: New test. - * testsuite/ld-mips-elf/pr21375s-n64.gd: New test. - * testsuite/ld-mips-elf/pr21375sh.gd: New test. - * testsuite/ld-mips-elf/pr21375sh-n32.gd: New test. - * testsuite/ld-mips-elf/pr21375sh-n64.gd: New test. - * testsuite/ld-mips-elf/pr21375shg.gd: New test. - * testsuite/ld-mips-elf/pr21375shl.gd: New test. - * testsuite/ld-mips-elf/pr21375shv.gd: New test. - * testsuite/ld-mips-elf/pr21375sx.gd: New test. - * testsuite/ld-mips-elf/pr21375sxh.gd: New test. - * testsuite/ld-mips-elf/pr21375.sd: New test. - * testsuite/ld-mips-elf/pr21375-irix.sd: New test. - * testsuite/ld-mips-elf/pr21375h.sd: New test. - * testsuite/ld-mips-elf/pr21375h-irix.sd: New test. - * testsuite/ld-mips-elf/pr21375p.sd: New test. - * testsuite/ld-mips-elf/pr21375p-irix.sd: New test. - * testsuite/ld-mips-elf/pr21375ph.sd: New test. - * testsuite/ld-mips-elf/pr21375ph-irix.sd: New test. - * testsuite/ld-mips-elf/pr21375s.sd: New test. - * testsuite/ld-mips-elf/pr21375s-irix.sd: New test. - * testsuite/ld-mips-elf/pr21375s-n32.sd: New test. - * testsuite/ld-mips-elf/pr21375s-n32-irix.sd: New test. - * testsuite/ld-mips-elf/pr21375s-n64.sd: New test. - * testsuite/ld-mips-elf/pr21375s-n64-irix.sd: New test. - * testsuite/ld-mips-elf/pr21375sh.sd: New test. - * testsuite/ld-mips-elf/pr21375sh-irix.sd: New test. - * testsuite/ld-mips-elf/pr21375sh-n32.sd: New test. - * testsuite/ld-mips-elf/pr21375sh-n32-irix.sd: New test. - * testsuite/ld-mips-elf/pr21375sh-n64.sd: New test. - * testsuite/ld-mips-elf/pr21375sh-n64-irix.sd: New test. - * testsuite/ld-mips-elf/pr21375shg.sd: New test. - * testsuite/ld-mips-elf/pr21375shg-irix.sd: New test. - * testsuite/ld-mips-elf/pr21375shl.sd: New test. - * testsuite/ld-mips-elf/pr21375shl-irix.sd: New test. - * testsuite/ld-mips-elf/pr21375shv.sd: New test. - * testsuite/ld-mips-elf/pr21375shv-irix.sd: New test. - * testsuite/ld-mips-elf/pr21375sx.sd: New test. - * testsuite/ld-mips-elf/pr21375sx-irix.sd: New test. - * testsuite/ld-mips-elf/pr21375sxh.sd: New test. - * testsuite/ld-mips-elf/pr21375sxh-irix.sd: New test. - * testsuite/ld-mips-elf/pr21375.ld: New test linker script. - * testsuite/ld-mips-elf/pr21375-xgot.ld: New test linker script. - * testsuite/ld-mips-elf/pr21375.ver: New test version script. - * testsuite/ld-mips-elf/pr21375v.ver: New test version script. - * testsuite/ld-mips-elf/pr21375.s: New test source. - * testsuite/ld-mips-elf/pr21375-mips16.s: New test source. - * testsuite/ld-mips-elf/pr21375-n32.s: New test source. - * testsuite/ld-mips-elf/pr21375-n64.s: New test source. - * testsuite/ld-mips-elf/pr21375-xgot.s: New test source. - * testsuite/ld-mips-elf/mips-elf.exp (run_mips_undefweak_test): - New procedure; run the new tests. - -2018-09-14 Maciej W. Rozycki - - PR ld/21375 - * emultempl/mipself.em: Set `gnu_target' according to ${target}. - (mips_create_output_section_statements): Update call to - `_bfd_mips_elf_linker_flags'. - * testsuite/ld-mips-elf/pr21334.s: Use LWL rather than LW. - * testsuite/ld-mips-elf/pr21334.dd: Update accordingly. - -2018-09-14 Maciej W. Rozycki - Maciej W. Rozycki - - * ldexp.c (fold_binary): Always make the result of SEGMENT_START - section-relative. - * testsuite/ld-scripts/segment-start.d: New test. - * testsuite/ld-scripts/segment-start.ld: New test linker script. - * testsuite/ld-scripts/segment-start.s: New test source. - * testsuite/ld-scripts/script.exp: Run the new test. - -2018-09-14 Maciej W. Rozycki - - * ldexp.c (fold_binary): Check that `config.maxpagesize' is - non-zero before using it as a divisor. - -2018-09-03 Nick Clifton - - * po/fi.po: Updated Finnish translation. - -2018-09-03 Alan Modra - - PR ld/23591 - * testsuite/ld-elf/pr23591a.s, - * testsuite/ld-elf/pr23591b.s, - * testsuite/ld-elf/pr23591c.s: Don't start directives in first column. - * testsuite/ld-elf/pr23591.d: xfail frv-linux and lm32-linux. - Allow __start___sancov_cntrs as a local symbol. - -018-08-31 H.J. Lu - - PR ld/23591 - * ldlang.c (undef_start_stop): Lookup section in output with - the same name. - * testsuite/ld-elf/pr23591.d: New file. - * testsuite/ld-elf/pr23591a.s: Likewise. - * testsuite/ld-elf/pr23591b.s: Likewise. - * testsuite/ld-elf/pr23591c.s: Likewise. - -2018-08-31 H.J. Lu - - * testsuite/ld-i386/i386.exp: Also run for x86_64-*-elf* targets. - * testsuite/ld-i386/property-x86-4a.d: Pass -z separate-code to - ld. - * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-4a.d: Likewise. - -2018-08-31 H.J. Lu - - * testsuite/ld-elf/elf.exp (ASFLAGS): Save, append - -mx86-used-note=no and restore. - * testsuite/ld-ifunc/ifunc.exp (ASFLAGS): Likewise. - * testsuite/ld-scripts/defined.exp (ASFLAGS): Likewise. - * testsuite/ld-scripts/overlay-size.exp (ASFLAGS): Likewise. - -2018-08-31 H.J. Lu - - * testsuite/ld-srec/srec.exp: Append -Wa,-mx86-used-note=no to - CC and CXX on ELF/x86 targets. - -2018-08-31 H.J. Lu - - * testsuite/ld-i386/i386.exp: (ASFLAGS): Save, append - -mx86-used-note=no and restore. Pass -mx86-used-note=yes and - -mx86-used-note=no to assembler. - * testsuite/ld-x86-64/x86-64.exp: Likewise. - * testsuite/ld-i386/no-plt.exp: Pass -mx86-used-note=yes to - assembler. - * testsuite/ld-i386/tls.exp: Likewise. - * testsuite/ld-x86-64/no-plt.exp: Likewise. - * testsuite/ld-x86-64/tls.exp: Likewise. - * testsuite/ld-i386/pr23486a.d: Pass -mx86-used-note=no to - assembler. - * testsuite/ld-i386/pr23486b.d: Likewise. - * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise. - * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise. - * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. - * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise. - * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. - * testsuite/ld-x86-64/bnd-plt-1.d: Likewise. - * testsuite/ld-x86-64/pr23486a-x32.d: Likewise. - * testsuite/ld-x86-64/pr23486a.d: Likewise. - * testsuite/ld-x86-64/pr23486b-x32.d: Likewise. - * testsuite/ld-x86-64/pr23486b.d: Likewise. - * testsuite/ld-i386/property-x86-3.d: Pass -mx86-used-note=yes - to assembler and update expected output from "readelf -n". - * testsuite/ld-i386/property-x86-4a.d: Likewise. - * testsuite/ld-i386/property-x86-ibt1a.d: Likewise. - * testsuite/ld-i386/property-x86-ibt1b.d: Likewise. - * testsuite/ld-i386/property-x86-ibt2.d: Likewise. - * testsuite/ld-i386/property-x86-ibt3a.d: Likewise. - * testsuite/ld-i386/property-x86-ibt3b.d: Likewise. - * testsuite/ld-i386/property-x86-ibt4.d: Likewise. - * testsuite/ld-i386/property-x86-ibt5.d: Likewise. - * testsuite/ld-i386/property-x86-shstk1a.d: Likewise. - * testsuite/ld-i386/property-x86-shstk1b.d: Likewise. - * testsuite/ld-i386/property-x86-shstk2.d: Likewise. - * testsuite/ld-i386/property-x86-shstk3a.d: Likewise. - * testsuite/ld-i386/property-x86-shstk3b.d: Likewise. - * testsuite/ld-i386/property-x86-shstk4.d: Likewise. - * testsuite/ld-i386/property-x86-shstk5.d: Likewise. - * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-3.d: Likewise. - * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-4a.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise. - * testsuite/ld-i386/property-1a.r: New file. - * testsuite/ld-i386/property-2a.r: Likewise. - * testsuite/ld-i386/property-3a.r: Likewise. - * testsuite/ld-i386/property-4a.r: Likewise. - * testsuite/ld-i386/property-5a.r: Likewise. - * testsuite/ld-i386/property-7a.r: Likewise. - * testsuite/ld-x86-64/property-1a.r: Likewise. - * testsuite/ld-x86-64/property-2a.r: Likewise. - * testsuite/ld-x86-64/property-3a.r: Likewise. - * testsuite/ld-x86-64/property-4a.r: Likewise. - * testsuite/ld-x86-64/property-5a.r: Likewise. - * testsuite/ld-x86-64/property-7a.r: Likewise. - * testsuite/ld-x86-64/mpx.exp: Pass -mx86-used-note=no to - assembler. - -2018-08-29 Chenghua Xu - - * testsuite/ld-mips-elf/mips-elf-flags.exp: Run good_combination - gs264e and gs464e. - -2018-08-29 Chenghua Xu - - * testsuite/ld-mips-elf/mips-elf-flags.exp: Run good_combination - gs464e and gs464. - -2018-08-29 Chenghua Xu - - * testsuite/ld-mips-elf/mips-elf-flags.exp: Rename loongson3a - to gs464. - -2018-08-29 Chenghua Xu - - * testsuite/ld-mips-elf/mips-elf-flags.exp (good_combination): - Skip o32 flags checking if target is mips*-*-irix*. - -2018-08-27 H.J. Lu - - * testsuite/ld-i386/i386.exp: Run property-x86-5. - * testsuite/ld-i386/property-x86-5.d: New file. - * testsuite/ld-x86-64/property-x86-5-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-5.d: Likewise. - * testsuite/ld-x86-64/property-x86-5a.s: Likewise. - * testsuite/ld-x86-64/property-x86-5b.s: Likewise. - * testsuite/ld-x86-64/x86-64.exp: Run property-x86-5 and - property-x86-5-x32. - -2018-08-26 Alan Modra - - PR 23571 - * ldlang.h (section_alignment): Make it an expression tree. - (subsection_alignment): Likewise. - * ldlang.c (topower): Delete. - (output_section_statement_newfunc): Adjust initialization. - (init_os): Evaluate section_alignment. - (lang_size_sections_1): Likewise. - (size_input_section): Evaluate subsection_alignment. - (lang_enter_output_section_statement): Don't evaluate here. - (lang_new_phdr): Use exp_get_vma rather than exp_get_value_int. - * ldexp.h (exp_get_value_int): Delete. - (exp_get_power): Declare. - * ldexp.c (exp_get_value_int): Delete. - (exp_get_power): New function. - * emultempl/pe.em (place_orphan): Build expression for section - alignment. - * emultempl/pep.em (place_orphan): Likewise. - * testsuite/ld-scripts/pr23571.d, - * testsuite/ld-scripts/pr23571.t: New test. - * testsuite/ld-scripts/align.exp: Run it. - -2018-08-24 Chenghua Xu - - * testsuite/ld-mips-elf/mips-elf-flags.exp - (check_ld_support_32bit, check_is_32bit_args): New procedures. - (good_combination, bad_combination): Skip 32bit test if ld - not support 32bit emulations. - -2018-08-24 H.J. Lu - - * testsuite/ld-i386/i386.exp: Run pr23372c, pr23372d, pr23486c - and pr23486d. - * testsuite/ld-i386/pr23372a.s: Update comments. - * testsuite/ld-i386/pr23372b.s: Likewise. - * testsuite/ld-i386/pr23372c.s: Likewise. - * testsuite/ld-x86-64/pr23372a.s: Likewise. - * testsuite/ld-x86-64/pr23372b.s: Likewise. - * testsuite/ld-x86-64/pr23372c.s: Likewise. - * testsuite/ld-x86-64/pr23486a.s: Likewise. - * testsuite/ld-x86-64/pr23486b.s: Likewise. - * testsuite/ld-i386/pr23372c.d: New file. - * testsuite/ld-i386/pr23372d.d: Likewise. - * testsuite/ld-i386/pr23486c.d: Likewise. - * testsuite/ld-i386/pr23486d.d: Likewise. - * testsuite/ld-x86-64/pr23372c-x32.d: Likewise. - * testsuite/ld-x86-64/pr23372c.d: Likewise. - * testsuite/ld-x86-64/pr23372d-x32.d: Likewise. - * testsuite/ld-x86-64/pr23372d.d: Likewise. - * testsuite/ld-x86-64/pr23372d.s: Likewise. - * testsuite/ld-x86-64/pr23372e.s: Likewise. - * testsuite/ld-x86-64/pr23372f.s: Likewise. - * testsuite/ld-x86-64/pr23486c-x32.d: Likewise. - * testsuite/ld-x86-64/pr23486c.d: Likewise. - * testsuite/ld-x86-64/pr23486c.s: Likewise. - * testsuite/ld-x86-64/pr23486d-x32.d: Likewise. - * testsuite/ld-x86-64/pr23486d.d: Likewise. - * testsuite/ld-x86-64/pr23486d.s: Likewise. - * testsuite/ld-i386/property-3.r: Updated. - * testsuite/ld-i386/property-4.r: Likewise. - * testsuite/ld-i386/property-5.r: Likewise. - * testsuite/ld-i386/property-x86-3.d: Likewise. - * testsuite/ld-i386/property-x86-ibt3a.d: Likewise. - * testsuite/ld-i386/property-x86-shstk3a.d: Likewise. - * testsuite/ld-i386/property-x86-shstk3b.d: Likewise. - * testsuite/ld-x86-64/property-3.r: Likewise. - * testsuite/ld-x86-64/property-4.r: Likewise. - * testsuite/ld-x86-64/property-5.r: Likewise. - * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-3.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise. - * testsuite/ld-i386/property-x86-1.S: Updated to the current - GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED - values. - * testsuite/ld-i386/property-x86-2.S: Likewise. - * testsuite/ld-i386/property-x86-3.s: Likewise. - * testsuite/ld-x86-64/property-x86-1.S: Likewise. - * testsuite/ld-x86-64/property-x86-2.S: Likewise. - * testsuite/ld-x86-64/property-x86-3.s: Likewise. - * ld/testsuite/ld-x86-64/x86-64.exp: Run pr23372c, pr23372c-x32, - pr23372d, pr23372d-x32, pr23486c, pr23486c-x32, pr23486d and - pr23486d-x32. - -2018-08-24 Alan Modra - - * emultempl/elf32.em (before_allocation): Don't restore - __ehdr_start u.*.next pointer. - -2018-08-23 Alan Modra - - PR 23566 - * emultempl/elf32.em (before_allocation): Warning fix. - -2018-08-23 H.J. Lu - - PR ld/23536 - * Makefile.am (development.exp): New target. - (EXTRA_DEJAGNU_SITE_CONFIG): New. - (DISTCLEANFILES): Add development.exp. - * Makefile.in: Regenerated. - * testsuite/ld-bootstrap/bootstrap.exp: Call prune_warnings to - prune BFD output. - * testsuite/ld-plugin/lto.exp: Likewise. - * testsuite/lib/ld-lib.exp (prune_warnings): Removed. - * testsuite/ld-elf/shared.exp: Allow "\n" in linker warnings. - -2018-08-21 Nick Clifton - - PR 23426 - * ld.texi (--hash-style): Note that the default is configurable - and that for most Linux based systems it will be "both". - -2018-08-18 Alan Modra - - * testsuite/ld-elf/elf.exp (is_elf64): Delete. - -2018-08-17 H.J. Lu - - PR ld/23515 - * testsuite/ld-i386/ibt-plt-2a.d: Updated. - * testsuite/ld-i386/ibt-plt-2b.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise. - -2018-08-12 H.J. Lu - - * testsuite/ld-x86-64/pr23486b.d: Swap pr23486a.s and pr23486a.s. - -2018-08-11 H.J. Lu - - PR ld/23428 - * testsuite/ld-elf/dummy.s: New file. - * testsuite/ld-elf/linux-x86.S: Add X86_FEATURE_1_AND property. - * testsuite/ld-elf/linux-x86.exp: Add dummy.s to pr23428. - -2018-08-08 H.J. Lu - - PR ld/23486 - * testsuite/ld-i386/i386.exp: Run PR ld/23486 tests. - * testsuite/ld-x86-64/x86-64.exp: Likewise. - * testsuite/ld-i386/pr23486a.d: New file. - * testsuite/ld-i386/pr23486b.d: Likewise. - * testsuite/ld-x86-64/pr23486a-x32.d: Likewise. - * testsuite/ld-x86-64/pr23486a.d: Likewise. - * testsuite/ld-x86-64/pr23486a.s: Likewise. - * testsuite/ld-x86-64/pr23486b-x32.d: Likewise. - * testsuite/ld-x86-64/pr23486b.d: Likewise. - * testsuite/ld-x86-64/pr23486b.s: Likewise. - * testsuite/ld-i386/property-3.r: Remove "x86 ISA used". - * testsuite/ld-i386/property-4.r: Likewise. - * testsuite/ld-i386/property-5.r: Likewise. - * testsuite/ld-i386/property-x86-ibt3a.d: Likewise. - * testsuite/ld-i386/property-x86-ibt3b.d: Likewise. - * testsuite/ld-i386/property-x86-shstk3a.d: Likewise. - * testsuite/ld-i386/property-x86-shstk3b.d: Likewise. - * testsuite/ld-x86-64/property-3.r: Likewise. - * testsuite/ld-x86-64/property-4.r: Likewise. - * testsuite/ld-x86-64/property-5.r: Likewise. - * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise. - * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise. - -2018-08-07 Alan Modra - - * testsuite/ld-powerpc/notoc.s: Generate some cfi. - * testsuite/ld-powerpc/notoc.d: Adjust. - * testsuite/ld-powerpc/notoc.wf: New file. - * testsuite/ld-powerpc/powerpc.exp: Run "ext" and "notoc" tests - as run_ld_link_tests rather than run_dump_test. - -2018-08-07 Martin Storsjo - - * scripttempl/pe.sc: Improve the comment about overriding - __CTOR_LIST__ and __DTOR_LIST__ symbols. - * scripttemp/pep.sc: Likewise. - -2018-08-07 Nick Clifton - - * po/bg.po: Updated Bulgarian translation. - -2018-08-06 Claudiu Zissulescu - - * testsuite/ld-arc/attr-merge-6.d: New file. - * testsuite/ld-arc/attr-merge-6a.s: Likewise. - * testsuite/ld-arc/attr-merge-6b.s: Likewise. - * testsuite/ld-arc/attr-merge-6bis.d: Likewise. - -2018-08-06 Claudiu Zissulescu - - * testsuite/ld-arc/attr-merge-0.d: Update test. - * testsuite/ld-arc/attr-merge-1.d: Likewise. - * testsuite/ld-arc/attr-merge-2.d: Likewise. - * testsuite/ld-arc/attr-merge-3.d: Likewise. - * testsuite/ld-arc/attr-merge-5.d: Likewise. - -2018-08-05 Alan Modra - - * testsuite/ld-powerpc/ext.d, - * testsuite/ld-powerpc/ext.s, - * testsuite/ld-powerpc/ext.lnk, - * testsuite/ld-powerpc/notoc.d, - * testsuite/ld-powerpc/notoc.s: New tests. - * testsuite/ld-powerpc/powerpc.exp: Run them. - -2018-08-05 Alan Modra - - * testsuite/ld-powerpc/elfv2exe.d: Adjust for stub symbol change. - * testsuite/ld-powerpc/tocopt6.d: Likewise. - -2018-08-03 H.J. Lu - - * testsuite/ld-x86-64/property-x86-3.s: Use ".p2align 2" to - align .note.gnu.property section if __64_bit__ is undefined. - -2018-08-02 Nick Clifton - - PR 23463 - * testsuite/ld-plugin/pr12982.d: Revert previous delta. - * testsuite/ld-plugin/lto.exp: Skip the pr12982 test for HPPA - targets. - -2018-08-02 H.J. Lu - - * testsuite/ld-ifunc/ifunc.exp: Always build static_nonifunc_prog. - -2018-08-02 H.J. Lu - - PR binutils/23460 - * testsuite/ld-plugin/lto.exp: Run the PR binutils/23460 test. - * testsuite/ld-plugin/pr23460a.c: New file. - * testsuite/ld-plugin/pr23460b.c: Likewise. - * testsuite/ld-plugin/pr23460c.c: Likewise. - * testsuite/ld-plugin/pr23460d.c: Likewise. - * testsuite/ld-plugin/pr23460e.c: Likewise. - * testsuite/ld-plugin/pr23460f.c: Likewise. - -2018-08-01 Roland McGrath - - * testsuite/ld-aarch64/ifunc-1-local.d: Adjust regexps to match - the offsets emitted by aarch64-elf configurations. - * testsuite/ld-aarch64/ifunc-1.d: Likewise. - * testsuite/ld-aarch64/ifunc-2-local.d: Likewise. - * testsuite/ld-aarch64/ifunc-2.d: Likewise. - * testsuite/ld-aarch64/ifunc-21.d: Likewise. - * testsuite/ld-aarch64/ifunc-3a.d: Likewise. - -2018-08-01 Nick Clifton - - PR 23463 - * testsuite/ld-plugin/pr12982.d: Skip this test for the HPPA - target. - -2018-08-01 Alan Modra - - * testsuite/ld-powerpc/powerpc.exp: Run tlsopt5 with hash-style - specified. - -2018-08-01 Alan Modra - - * testsuite/ld-powerpc/powerpc.exp: Run tlsopt5 with plt alignment. - * testsuite/ld-powerpc/tlsopt5.s: Add extra call. - * testsuite/ld-powerpc/tlsopt5.wf: Adjust expected output. - * testsuite/ld-powerpc/tlsopt5.d: Likewise. - -2018-08-01 Alan Modra - - * po/BLD-POTFILES.in: Regenerate. - -2018-07-30 Nick Clifton - - * scripttempl/elf.sc: Move the .gnu.build.attributes section to - after the .comment section. - -2018-07-30 Andrew Jenner - - * Makefile.am (ALL_EMULATION_SOURCES): Add C-SKY emulations. - (ecskyelf.c, ecskyelf_linux.c): New rules. - * Makefile.in: Regenerated. - * configure.tgt: Add C-SKY. - * emulparams/cskyelf.sh: New file. - * emulparams/cskyelf_linux.sh: New file. - * emultempl/cskyelf.em: New file. - * gen-doc.texi: Add C-SKY. - * ld.texi: Likewise. - (Options specific to C-SKY targets): New section. - * testsuite/ld-csky/*: New tests. - * NEWS: Mention the support. - -2018-07-30 Nick Clifton - - * scripttempl/elf.sc: Place .gnu.build.attributes sections with - other read-only sections. - -2018-07-27 John Darrington - - * scripttempl/elfm9s12z.sc: Put input sections called .common - into the .bss segment. - -2018-07-27 John Darrington - - * scripttempl/elfm9s12z.sc: Emit the data_section at the end of text. - -2018-07-26 Alan Modra - - * testsuite/ld-powerpc/vxworks-relax-2.rd: Update for 2018-07-25 - ppc_elf_relax_section changes. - -2018-07-26 Alan Modra - - * ld-powerpc/elfv2.s: Add .localentry f5,1 testcase. - * ld-powerpc/elfv2exe.d: Update. - * ld-powerpc/elfv2so.d: Update. - -2018-07-25 Alan Modra - - * testsuite/ld-powerpc/big.s: New file. - * testsuite/ld-powerpc/relaxrl.d: New test. - * testsuite/ld-powerpc/powerpc.exp: Run new test. - * testsuite/ld-powerpc/relaxr.d: Adjust. - -2018-07-24 Nick Clifton - - * po/fr.po: Updated French translation. - -2018-07-23 Max Filippov - - * testsuite/ld-xtensa/coalesce.d: New file. - * testsuite/ld-xtensa/coalesce.exp: Remove file. - * testsuite/ld-xtensa/diff_overflow.d: New file. - * testsuite/ld-xtensa/diff_overflow.exp: Remove file. - * testsuite/ld-xtensa/lcall.d: New file. - * testsuite/ld-xtensa/lcall.exp: Remove file. - * testsuite/ld-xtensa/xtensa.exp (coalesce, diff_overflow) - (lcall): New tests. - -2018-07-23 Max Filippov - - * testsuite/ld-xtensa/relax-static-defs.s: New file. - * testsuite/ld-xtensa/relax-static-local-pie.d: New file. - * testsuite/ld-xtensa/relax-static-local-shared.d: New file. - * testsuite/ld-xtensa/relax-static-local.s: New file. - * testsuite/ld-xtensa/relax-static-pie.d: New file. - * testsuite/ld-xtensa/relax-static-shared.d: New file. - * testsuite/ld-xtensa/relax-static.s: New file. - * testsuite/ld-xtensa/relax-undef-weak-local-pie.d: New file. - * testsuite/ld-xtensa/relax-undef-weak-local-shared.d: New file. - * testsuite/ld-xtensa/relax-undef-weak-local.s: New file. - * testsuite/ld-xtensa/relax-undef-weak-pie.d: New file. - * testsuite/ld-xtensa/relax-undef-weak-shared.d: New file. - * testsuite/ld-xtensa/relax-undef-weak.s: New file. - * testsuite/ld-xtensa/xtensa.exp: New file. - -2018-07-23 Max Filippov - - * testsuite/ld-xtensa/xtensa.exp: Rename to xtensa-linux.exp. - -2018-07-23 Alan Modra - - * testsuite/ld-elf/reloc-discard-warn.d: New. - * testsuite/ld-elf/reloc-discard.d: Skip test on PowerPC64. - -2018-07-20 H.J. Lu - - * testsuite/ld-elf/reloc-discard.ld: Discard .rel.* and .rela.* - sections instead of .rel.dyn and .rela.dyn sections. - -2018-07-20 H.J. Lu - - PR ld/23428 - * testsuite/ld-elf/linux-x86.S: New file. - * testsuite/ld-elf/linux-x86.exp: Likewise. - * testsuite/ld-elf/pr23428.c: Likewise. - * testsuite/ld-elf/sec64k.exp: Pass "-z noseparate-code" to ld - for Linux/x86 targets. - * testsuite/ld-i386/abs-iamcu.d: Likewise. - * testsuite/ld-i386/abs.d: Likewise. - * testsuite/ld-i386/pr12718.d: Likewise. - * testsuite/ld-i386/pr12921.d: Likewise. - * testsuite/ld-x86-64/abs-k1om.d: Likewise. - * testsuite/ld-x86-64/abs-l1om.d: Likewise. - * testsuite/ld-x86-64/abs.d: Likewise. - * testsuite/ld-x86-64/pr12718.d: Likewise. - * testsuite/ld-x86-64/pr12921.d: Likewise. - * testsuite/ld-linkonce/zeroeh.ld: Discard .note.gnu.property - section. - * testsuite/ld-scripts/print-memory-usage.t: Likewise. - * testsuite/ld-scripts/size-2.t: Likewise. - * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Use ld to - create executable if language is "asm". - -2018-07-20 Maciej W. Rozycki - - * testsuite/ld-elf/reloc-discard.d: New test. - * testsuite/ld-elf/reloc-discard.ld: New test linker script. - * testsuite/ld-elf/reloc-discard.s: New test source. - -2018-07-18 Nick Clifton - - * po/fr.po: Updated French translation. - -2018-07-17 Maciej W. Rozycki - - * ldexp.c (exp_fold_tree_1) - : Copy expression's `rel_from_abs' flag to the - link hash. - -2018-07-12 Maciej W. Rozycki - - * testsuite/ld-mips-elf/mips-elf.exp (run_dump_test_abi) - (run_dump_test_o32, run_dump_test_n32, run_dump_test_n64) - (run_dump_test_eabi): New procedures. - (has_newabi, has_elf32): Remove variables. - (has_abi): New associative array variable. - (abi_asflags, abi_ldflags): Update settings across targets. - (irixemul): New variable. - Replace `run_dump_test' calls where applicable throughout with - `run_dump_test_o32', `run_dump_test_n32', `run_dump_test_n64' - and `run_dump_test_eabi' as appropriate. Remove explicit - passing of `abi_asflags' and `abi_ldflags'. Use `noarch' for - tests that require their own architecture setting. Force the - big endianness for tests that require it. Select the endianness - required for `objdump invocation with the `reloc-2' test. - Conditionalize tests run via `run_ld_link_tests' on the ABI - required and use the ABI list from the `has_abi' array where - appropriate. - * testsuite/ld-mips-elf/attr-gnu-4-0-n32-ph.d: Remove ABI and - endianness selection options from `ld' and `source' tags. Relax - output format matching. - * testsuite/ld-mips-elf/attr-gnu-4-0-n64-ph.d: Likewise. - * testsuite/ld-mips-elf/attr-gnu-4-1-n32-ph.d: Likewise. - * testsuite/ld-mips-elf/attr-gnu-4-1-n64-ph.d: Likewise. - * testsuite/ld-mips-elf/attr-gnu-4-2-n32-ph.d: Likewise. - * testsuite/ld-mips-elf/attr-gnu-4-2-n64-ph.d: Likewise. - * testsuite/ld-mips-elf/attr-gnu-4-3-n32-ph.d: Likewise. - * testsuite/ld-mips-elf/attr-gnu-4-3-n64-ph.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-addend-micromips-n32.d: Remove - ABI and endianness selection options from `as', `ld', `source' - tags, and also the `-march=from-abi' option. Remove the `as' - tag where it would become empty. - * testsuite/ld-mips-elf/bal-jalx-addend-micromips-n64.d: - Likewise. - * testsuite/ld-mips-elf/bal-jalx-addend-micromips.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-addend.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-local-micromips-n32.d: - Likewise. - * testsuite/ld-mips-elf/bal-jalx-local-micromips-n64.d: - Likewise. - * testsuite/ld-mips-elf/bal-jalx-local-micromips.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-local-n32.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-local-n64.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-local.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d: - Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d: - Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d: - Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic.d: Likewise. - * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: Likewise. - * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: Likewise. - * testsuite/ld-mips-elf/branch-absolute-addend.d: Likewise. - * testsuite/ld-mips-elf/branch-absolute-n32.d: Likewise. - * testsuite/ld-mips-elf/branch-absolute-n64.d: Likewise. - * testsuite/ld-mips-elf/branch-absolute.d: Likewise. - * testsuite/ld-mips-elf/dyn-sec64.d: Likewise. - * testsuite/ld-mips-elf/eh-frame1-n32.d: Likewise. - * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise. - * testsuite/ld-mips-elf/eh-frame2-n32.d: Likewise. - * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise. - * testsuite/ld-mips-elf/elf-rel-got-n32-embed.d: Likewise. - * testsuite/ld-mips-elf/elf-rel-got-n32.d: Likewise. - * testsuite/ld-mips-elf/elf-rel-got-n64-embed.d: Likewise. - * testsuite/ld-mips-elf/elf-rel-got-n64-irix.d: Likewise. - * testsuite/ld-mips-elf/elf-rel-got-n64.d: Likewise. - * testsuite/ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise. - * testsuite/ld-mips-elf/elf-rel-xgot-n32.d: Likewise. - * testsuite/ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise. - * testsuite/ld-mips-elf/elf-rel-xgot-n64-irix.d: Likewise. - * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Likewise. - * testsuite/ld-mips-elf/emit-relocs-1.d: Likewise. - * testsuite/ld-mips-elf/got-dump-2.d: Likewise. - * testsuite/ld-mips-elf/got-page-2.d: Likewise. - * testsuite/ld-mips-elf/jal-global-overflow-0.d: Likewise. - * testsuite/ld-mips-elf/jal-global-overflow-1.d: Likewise. - * testsuite/ld-mips-elf/jal-local-overflow-0.d: Likewise. - * testsuite/ld-mips-elf/jal-local-overflow-1.d: Likewise. - * testsuite/ld-mips-elf/jalbal.d: Likewise. - * testsuite/ld-mips-elf/jalx-addend-n32.d: Likewise. - * testsuite/ld-mips-elf/jalx-addend-n64.d: Likewise. - * testsuite/ld-mips-elf/jalx-addend.d: Likewise. - * testsuite/ld-mips-elf/jalx-local-n32.d: Likewise. - * testsuite/ld-mips-elf/jalx-local-n64.d: Likewise. - * testsuite/ld-mips-elf/jalx-local.d: Likewise. - * testsuite/ld-mips-elf/jr-to-b-1.d: Likewise. - * testsuite/ld-mips-elf/jr-to-b-2.d: Likewise. - * testsuite/ld-mips-elf/lsi-4010-isa.d: Likewise. - * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d: - Likewise. - * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d: - Likewise. - * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: - Likewise. - * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: - Likewise. - * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: - Likewise. - * testsuite/ld-mips-elf/micromips-branch-absolute.d: Likewise. - * testsuite/ld-mips-elf/mips16-branch-2.d: Likewise. - * testsuite/ld-mips-elf/mips16-branch-3.d: Likewise. - * testsuite/ld-mips-elf/mips16-branch-absolute-1.d: Likewise. - * testsuite/ld-mips-elf/mips16-branch-absolute-2.d: Likewise. - * testsuite/ld-mips-elf/mips16-branch-absolute-addend-1.d: - Likewise. - * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32-1.d: - Likewise. - * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: - Likewise. - * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64-1.d: - Likewise. - * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: - Likewise. - * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: - Likewise. - * testsuite/ld-mips-elf/mips16-branch-absolute-n32-1.d: - Likewise. - * testsuite/ld-mips-elf/mips16-branch-absolute-n32-2.d: - Likewise. - * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: Likewise. - * testsuite/ld-mips-elf/mips16-branch-absolute-n64-1.d: - Likewise. - * testsuite/ld-mips-elf/mips16-branch-absolute-n64-2.d: - Likewise. - * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: Likewise. - * testsuite/ld-mips-elf/mips16-branch-absolute.d: Likewise. - * testsuite/ld-mips-elf/mips16-branch-addend-2.d: Likewise. - * testsuite/ld-mips-elf/mips16-branch-addend-3.d: Likewise. - * testsuite/ld-mips-elf/mips16-hilo-n32.d: Likewise. - * testsuite/ld-mips-elf/mips16-pcrel-0.d: Likewise. - * testsuite/ld-mips-elf/mips16-pcrel-1.d: Likewise. - * testsuite/ld-mips-elf/mips16-pcrel-addend-2.d: Likewise. - * testsuite/ld-mips-elf/mips16-pcrel-addend-6.d: Likewise. - * testsuite/ld-mips-elf/mips16-pcrel-n32-0.d: Likewise. - * testsuite/ld-mips-elf/mips16-pcrel-n32-1.d: Likewise. - * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-0.d: Likewise. - * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-1.d: Likewise. - * testsuite/ld-mips-elf/mips16e2-pcrel-0.d: Likewise. - * testsuite/ld-mips-elf/mips16e2-pcrel-1.d: Likewise. - * testsuite/ld-mips-elf/mips16e2-pcrel-addend-2.d: Likewise. - * testsuite/ld-mips-elf/mips16e2-pcrel-addend-6.d: Likewise. - * testsuite/ld-mips-elf/mips16e2-pcrel-n32-0.d: Likewise. - * testsuite/ld-mips-elf/mips16e2-pcrel-n32-1.d: Likewise. - * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-0.d: Likewise. - * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-1.d: Likewise. - * testsuite/ld-mips-elf/multi-got-1.d: Likewise. - * testsuite/ld-mips-elf/multi-got-hidden-1.d: Likewise. - * testsuite/ld-mips-elf/multi-got-hidden-2.d: Likewise. - * testsuite/ld-mips-elf/multi-got-no-shared.d: Likewise. - * testsuite/ld-mips-elf/no-shared-1-n32.d: Likewise. - * testsuite/ld-mips-elf/no-shared-1-n64.d: Likewise. - * testsuite/ld-mips-elf/no-shared-1-o32.d: Likewise. - * testsuite/ld-mips-elf/pic-and-nonpic-2.d: Likewise. - * testsuite/ld-mips-elf/pic-and-nonpic-3-error.d: Likewise. - * testsuite/ld-mips-elf/pic-and-nonpic-4-error.d: Likewise. - * testsuite/ld-mips-elf/pie-n32.d: Likewise. - * testsuite/ld-mips-elf/pie-n64.d: Likewise. - * testsuite/ld-mips-elf/pie-o32.d: Likewise. - * testsuite/ld-mips-elf/rel32-n32.d: Likewise. - * testsuite/ld-mips-elf/rel32-o32.d: Likewise. - * testsuite/ld-mips-elf/rel64.d: Likewise. - * testsuite/ld-mips-elf/relax-jalr-n32.d: Likewise. - * testsuite/ld-mips-elf/reloc-1-n32.d: Likewise. - * testsuite/ld-mips-elf/reloc-1-n64.d: Likewise. - * testsuite/ld-mips-elf/reloc-2.d: Likewise. - * testsuite/ld-mips-elf/reloc-3-n32.d: Likewise. - * testsuite/ld-mips-elf/reloc-local-overflow.d: Likewise. - * testsuite/ld-mips-elf/textrel-1.d: Likewise. - * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise. - * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise. - * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d: - Likewise. - * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d: - Likewise. - * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d: - Likewise. - * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise. - * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise. - * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise. - * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise. - * testsuite/ld-mips-elf/unaligned-branch.d: Likewise. - * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: Likewise. - * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise. - * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: Likewise. - * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise. - * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: - Likewise. - * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: - Likewise. - * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: - Likewise. - * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: - Likewise. - * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise. - * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise. - * testsuite/ld-mips-elf/unaligned-jump.d: Likewise. - * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Likewise. - * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise. - * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise. - * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise. - -2018-07-12 Maciej W. Rozycki - - * testsuite/ld-mips-elf/mips-elf.exp: Limit reloc 6 tests to - shared library targets. - -2018-07-11 Maciej W. Rozycki - - * testsuite/ld-mips-elf/tlsdyn-o32.d: Update test for dynamic - relocation removal. - * testsuite/ld-mips-elf/tlsdyn-o32.got: Likewise. - * testsuite/ld-mips-elf/tlsdyn-o32-1.d: Likewise. - * testsuite/ld-mips-elf/tlsdyn-o32-1.got: Likewise. - * testsuite/ld-mips-elf/tlsdyn-o32-2.d: Likewise. - * testsuite/ld-mips-elf/tlsdyn-o32-2.got: Likewise. - * testsuite/ld-mips-elf/tlsdyn-o32-3.d: Likewise. - * testsuite/ld-mips-elf/tlsdyn-o32-3.got: Likewise. - -2018-07-11 Maciej W. Rozycki - - PR ld/22570 - * testsuite/ld-mips-elf/tlsbin-pie-o32.d: New test. - * testsuite/ld-mips-elf/tlsbin-pie-o32.got: New test. - * testsuite/ld-mips-elf/tlsdyn-pie-o32.d: New test. - * testsuite/ld-mips-elf/tlsdyn-pie-o32.got: New test. - * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. - -2018-07-11 Alan Modra - - * testsuite/ld-elf/hash.d: Comment on mips xfail. - * testsuite/ld-gc/pr20022b.s: Use .data not .text. - * testsuite/ld-gc/pr20022.d: Remove xfails. - * testsuite/ld-scripts/fill.d: Revert most of last patch, but use - skip rather than notarget. - * testsuite/ld-scripts/fill16.d: Likewise. - -2018-07-10 Maciej W. Rozycki - - * testsuite/ld-mips-elf/mips-elf.exp: Limit export class call - relocation tests to shared library targets. - -2018-07-10 Alan Modra - - * testsuite/lib/ld-lib.exp (check_gc_sections_available): Return 0 - for xgate. - * testsuite/ld-elf/elf.exp: Add xgate to pr21703 xfails. - * testsuite/ld-elf/shared.exp: Add xgate to pr21703 xfails. - * testsuite/ld-discard/extern.d: xfail xgate. - * testsuite/ld-discard/start.d: Likewise. - * testsuite/ld-discard/static.d: Likewise. - * testsuite/ld-elf/attributes.d: Likewise. - * testsuite/ld-elf/compressed1d.d: Likewise. - * testsuite/ld-elf/group1.d: Likewise. - * testsuite/ld-elf/group3b.d: Likewise. - * testsuite/ld-elf/group8a.d: Likewise. - * testsuite/ld-elf/group8b.d: Likewise. - * testsuite/ld-elf/group9a.d: Likewise. - * testsuite/ld-elf/group9b.d: Likewise. - * testsuite/ld-elf/linkonce2.d: Likewise. - * testsuite/ld-elf/merge.d: Likewise. - * testsuite/ld-elf/merge2.d: Likewise. - * testsuite/ld-elf/merge3.d: Likewise. - * testsuite/ld-elf/orphan-10.d: Likewise. - * testsuite/ld-elf/orphan-9.d: Likewise. - * testsuite/ld-elf/orphan-region.d: Likewise. - * testsuite/ld-elf/orphan.d: Likewise. - * testsuite/ld-elf/orphan3.d: Likewise. - * testsuite/ld-elf/pr12851.d: Likewise. - * testsuite/ld-elf/pr12975.d: Likewise. - * testsuite/ld-elf/pr13177.d: Likewise. - * testsuite/ld-elf/pr13195.d: Likewise. - * testsuite/ld-elf/pr14156b.d: Likewise. - * testsuite/ld-elf/pr17550c.d: Likewise. - * testsuite/ld-elf/pr17550d.d: Likewise. - * testsuite/ld-elf/pr17615.d: Likewise. - * testsuite/ld-elf/pr20528a.d: Likewise. - * testsuite/ld-elf/pr20528b.d: Likewise. - * testsuite/ld-elf/pr21562a.d: Likewise. - * testsuite/ld-elf/pr21562b.d: Likewise. - * testsuite/ld-elf/pr21562c.d: Likewise. - * testsuite/ld-elf/pr21562d.d: Likewise. - * testsuite/ld-elf/pr21562i.d: Likewise. - * testsuite/ld-elf/pr21562j.d: Likewise. - * testsuite/ld-elf/pr21562k.d: Likewise. - * testsuite/ld-elf/pr21562l.d: Likewise. - * testsuite/ld-elf/pr21562m.d: Likewise. - * testsuite/ld-elf/pr21562n.d: Likewise. - * testsuite/ld-elf/pr22677.d: Likewise. - * testsuite/ld-elf/pr22836-1a.d: Likewise. - * testsuite/ld-elf/pr22836-1b.d: Likewise. - * testsuite/ld-elf/pr349.d: Likewise. - * testsuite/ld-elf/warn1.d: Likewise. - * testsuite/ld-elf/warn2.d: Likewise. - * testsuite/ld-elf/warn3.d: Likewise. - -2018-07-10 Alan Modra - - * emulparams/xgateelf.sh (TEMPLATE_NAME) Set to generic. - (EXTRA_EM_FILE): Set to genelf. - -2018-07-10 Alan Modra - - * testsuite/ld-elf/attributes.d: Use xfail rather than notarget. - * testsuite/ld-elf/hash.d: Likewise. - * testsuite/ld-elf/orphan-10.d: Likewise. - * testsuite/ld-elf/overlay.d: Likewise. - * testsuite/ld-elf/pr14926.d: Likewise. - * testsuite/ld-elf/pr17550d.d: Likewise. - * testsuite/ld-elf/pr19539.d: Likewise. - * testsuite/ld-elf/pr22319.d: Likewise. - * testsuite/ld-misc/defsym1.d: Likewise. - * testsuite/ld-pe/pr19803.d: Likewise. - * testsuite/ld-scripts/assign-loc.d: Likewise. - * testsuite/ld-scripts/defined4.d: Likewise. - * testsuite/ld-scripts/empty-address-1.d: Likewise. - * testsuite/ld-scripts/empty-address-2a.d: Likewise. - * testsuite/ld-scripts/empty-address-2b.d: Likewise. - * testsuite/ld-scripts/fill.d: Likewise. - * testsuite/ld-scripts/fill16.d: Likewise. - * testsuite/ld-scripts/pr14962.d: Likewise. - * testsuite/ld-scripts/pr14962-2.d: Likewise. - * testsuite/ld-unique/pr21529.d: Likewise. - * testsuite/ld-elf/compress1a.d: Likewise, and adjust targets. - * testsuite/ld-elf/compressed1a.d: Likewise. - * testsuite/ld-elf/compressed1d.d: Likewise. - * testsuite/ld-elf/compressed1e.d: Likewise. - * testsuite/ld-elf/eh5.d: Likewise. - * testsuite/ld-elf/group8a.d: Likewise. - * testsuite/ld-elf/linkonce2.d: Likewise. - * testsuite/ld-elf/orphan-9.d: Likewise. - * testsuite/ld-elf/pr17550a.d: Likewise. - * testsuite/ld-elf/pr17550b.d: Likewise. - * testsuite/ld-elf/pr17550c.d: Likewise. - * testsuite/ld-elf/pr19162.d: Likewise. - * testsuite/ld-elf/pr21884.d: Likewise. - * testsuite/ld-gc/pr19167.d: Likewise. - * testsuite/ld-gc/pr20022.d: Likewise. - * testsuite/ld-gc/start.d: Likewise. - * testsuite/ld-elf/orphan-11.d: Delete notarget. - * testsuite/ld-elf/orphan-12.d: Likewise. - * testsuite/ld-gc/stop.d: Likewise. - * testsuite/ld-scripts/empty-address-3a.d: Likewise. - * testsuite/ld-scripts/empty-address-3b.d: Likewise. - * testsuite/ld-ifunc/pr17154-x86-64-now.d: Delete duplicate notarget. - * testsuite/ld-scripts/section-match-1.d: Comment fix. - -2018-07-10 Maciej W. Rozycki - - * testsuite/ld-mips-elf/elf-rel-got-n64.d: Rename to... - * testsuite/ld-mips-elf/elf-rel-got-n64-irix.d: ... this. - * testsuite/ld-mips-elf/elf-rel-got-n64-linux.d: Rename to... - * testsuite/ld-mips-elf/elf-rel-got-n64.d: ... this. - * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Rename to... - * testsuite/ld-mips-elf/elf-rel-xgot-n64-irix.d: ... this. - * testsuite/ld-mips-elf/elf-rel-xgot-n64-linux.dd: Rename to... - * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: ... this. - * testsuite/ld-mips-elf/mips-elf.exp: Update accordingly. - Define `irix' as a shorthand for `[istarget *-*-irix*]' and use - it throughout. - -2018-07-09 Maciej W. Rozycki - - * testsuite/ld-mips-elf/elf-rel-got-n64.d: Add `#pass' at the - end. - * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Likewise. - -2018-07-09 Maciej W. Rozycki - - * testsuite/ld-mips-elf/stub-dynsym-2.dd: New test. - * testsuite/ld-mips-elf/stub-dynsym-2.gd: New test. - * testsuite/ld-mips-elf/stub-dynsym-2.sd: New test. - * testsuite/ld-mips-elf/stub-dynsym-discard-2.gd: New test. - * testsuite/ld-mips-elf/stub-dynsym-discard-2.sd: New test. - * testsuite/ld-mips-elf/stub-dynsym-micromips-2.dd: New test. - * testsuite/ld-mips-elf/stub-dynsym-micromips-2.gd: New test. - * testsuite/ld-mips-elf/stub-dynsym-micromips-2.sd: New test. - * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-2.dd: New - test. - * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-2.gd: New - test. - * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-2.sd: New - test. - * testsuite/ld-mips-elf/stub-dynsym-2.ld: New test linker - script. - * testsuite/ld-mips-elf/stub-dynsym-discard-2.ld: New test - linker script. - * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. - -2018-07-09 Maciej W. Rozycki - - * testsuite/lib/ld-lib.exp (run_dump_test): Call `unsupported' - if the target being tested has been excluded by means of one or - more of `target', `alltargets' and `notarget' tags. Add support - for `skip', `anyskip' and `noskip' tags. - -2018-07-09 Maciej W. Rozycki - - * testsuite/lib/ld-lib.exp (run_dump_test): Move the setting of - `testname' earlier on and use it for test status reporting. - -2018-07-09 Alan Modra - - * testsuite/ld-discard/extern.d: Remove m68hc12 xfail. - * testsuite/ld-discard/start.d: Likewise. - * testsuite/ld-discard/static.d: Likewise. - -2018-07-09 Christophe Lyon - - * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use the right - symbol name in case of warning. - -2018-07-05 Jim Wilson - - * configure.tgt (riscv-*-*): Add as an alias for riscv32*-*-*. - -2018-07-05 Maciej W. Rozycki - - * testsuite/ld-mips-elf/mips-elf.exp: Replace remaining calls to - `[istarget mips*-*-linux*]' with $linux_gnu. - -2018-07-05 H.J. Lu - - PR ld/23372 - * testsuite/ld-i386/i386.exp: Run pr23372a and pr23372b. - * testsuite/ld-i386/pr23372a.d: New file. - * testsuite/ld-i386/pr23372a.s: Likewise. - * testsuite/ld-i386/pr23372b.d: Likewise. - * testsuite/ld-i386/pr23372b.s: Likewise. - * testsuite/ld-i386/pr23372c.s: Likewise. - * testsuite/ld-x86-64/pr23372a-x32.d: Likewise. - * testsuite/ld-x86-64/pr23372a.d: Likewise. - * testsuite/ld-x86-64/pr23372a.s: Likewise. - * testsuite/ld-x86-64/pr23372b-x32.d: Likewise. - * testsuite/ld-x86-64/pr23372b.d: Likewise. - * testsuite/ld-x86-64/pr23372b.s: Likewise. - * testsuite/ld-x86-64/pr23372c.s: Likewise. - * testsuite/ld-x86-64/x86-64.exp: Run pr23372a, pr23372a-x32, - pr23372b and pr23372b-x32. - -2018-07-05 Nick Clifton - - * po/bg.po: Updated Bulgarian translation. - * po/pt_BR.po: Updated Brazilian Portuguese translation. - -2018-07-05 Alan Modra - - * testsuite/ld-powerpc/attr-gnu-4-12.d: Update expected output. - * testsuite/ld-powerpc/attr-gnu-4-13.d: Likewise. - * testsuite/ld-powerpc/attr-gnu-4-21.d: Likewise. - * testsuite/ld-powerpc/attr-gnu-4-23.d: Likewise. - * testsuite/ld-powerpc/attr-gnu-4-31.d: Likewise. - * testsuite/ld-powerpc/attr-gnu-4-32.d: Likewise. - * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise. - * testsuite/ld-powerpc/attr-gnu-12-21.d: Likewise. - -2018-07-04 H.J. Lu - - PR ld/23309 - * ldlang.c (insert_undefined): Set non_ir_ref_regular to TRUE. - * plugin.c (is_visible_from_outside): Don't scan entry_symbol. - * testsuite/ld-plugin/pr23309.c: New file. - * testsuite/ld-plugin/pr23309.d: Likewise. - -2018-07-04 H.J. Lu - - PR ld/23358 - * lexsup.c (elf_shlib_list_options): Properly display default - for -z separate-code. - -2018-07-02 Maciej W. Rozycki - - * testsuite/ld-mips-elf/mips-elf.exp: Fix a typo in PR ld/21334 - test name. - -2018-07-02 H.J. Lu - - PR ld/23324 - * testsuite/ld-x86-64/pr23324.s: New file. - * testsuite/ld-x86-64/pr23324a.d: Likewise. - * testsuite/ld-x86-64/pr23324b.d: Likewise. - -2018-07-02 Thomas Preud'homme - - * arm-dis.c (select_arm_features): Fix typo in heading comment. Allow - all FPU features and add mapping from new bfd_mach_arm values to - allowed CPU feature bits. - -2018-07-02 Thomas Preud'homme - - * NEWS: Use command-line consistently when used in a compount word. - * ld.texinfo: Likewise. - * ldint.texinfo: Likewise. - -2018-06-26 Nick Clifton - - * po/uk.po: Updated Ukranian translation. - -2018-06-26 Alan Modra - - PR 23169 - * testsuite/ld-ifunc/ifunc.exp: Don't run pr23169 tests on - powerpc. Comment. - -2018-06-26 Alan Modra - - * testsuite/ld-bootstrap/bootstrap.exp: Use parentheses rather - than curly braces in logical expression. - -2018-06-26 Nick Clifton - - * emultempl/aarch64elf.em: Fix spelling mistake. - * emultempl/avrelf.em: Likewise. - * emultempl/elf32.em: Likewise. - -2018-06-24 Nick Clifton - - * configure: Regenerate. - * po/ld.pot: Regenerate. - -2018-06-24 Nick Clifton - - 2.31 branch created. - * NEWS: Add marker for 2.31. - -2018-06-20 Renlin Li - - * testsuite/ld-aarch64/emit-relocs-115.d: Update test with new value. - * testsuite/ld-aarch64/emit-relocs-534.d: Likewise. - * testsuite/ld-aarch64/emit-relocs-555.d: Likewise. - -2018-06-19 Maciej W. Rozycki - - PR ld/22966 - * testsuite/ld-mips-elf/n64-plt-1.dd: New test. - * testsuite/ld-mips-elf/n64-plt-1.gd: New test. - * testsuite/ld-mips-elf/n64-plt-2.ed: New test. - * testsuite/ld-mips-elf/n64-plt-3.ed: New test. - * testsuite/ld-mips-elf/n64-plt-4.dd: New test. - * testsuite/ld-mips-elf/n64-plt-4.gd: New test. - * testsuite/ld-mips-elf/n64-plt-1.ld: New test linker script. - * testsuite/ld-mips-elf/n64-plt-2.ld: New test linker script. - * testsuite/ld-mips-elf/n64-plt-3.ld: New test linker script. - * testsuite/ld-mips-elf/n64-plt-4.ld: New test linker script. - * testsuite/ld-mips-elf/n64-plt.s: New test source. - * testsuite/ld-mips-elf/n64-plt-lib.s: New test source. - * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. - -2018-06-19 Maciej W. Rozycki - - * testsuite/ld-elf/shared.exp: XFAIL DT_TEXTREL map file warning - test for `mips*-*-*'. - -2018-06-19 Simon Marchi - - * configure.ac: Remove AC_PREREQ. - * Makefile.am: Remove DISTCLEANFILES hack, rename ld.texinfo to - ld.texi, ldint.texinfo to ldint.texi throughout. - (AUTOMAKE_OPTIONS): Add info-in-builddir. - * README: Rename ld.texinfo to ld.texi, ldint.texinfo to - ldint.texi throughout. - * gen-doc.texi: Likewise. - * h8-doc.texi: Likewise. - * ld.texinfo: Rename to ... - * ld.texi: ... this. - * ldint.texinfo: Rename to ... - * ldint.texi: ... this. - * Makefile.in: Re-generate. - * aclocal.m4: Re-generate. - * config.in: Re-generate. - * configure: Re-generate. - -2018-06-18 Alan Modra - - * testsuite/lib/ld-lib.exp (check_ifunc_available): Pass without - running executable when non-native. - (check_ifunc_attribute_available): Likewise. - * testsuite/ld-ifunc/pr23169a.rd: Remove extraneous lines. Match - st_other strings. Pass when func is an ifunc. - * testsuite/ld-ifunc/pr23169b.rd: Remove extraneous lines. Correct - reloc regexp. Correct match-anything line. - * testsuite/ld-ifunc/pr23169c.rd: Remove extraneous lines. Match - st_other strings. - -2018-06-14 Alan Modra - - * testsuite/ld-elf/readelf.exp: Delete DUMP and selection of - variant ver_def.vd. - * testsuite/ld-elf/ver_def-tic6x.vd: Delete. - * testsuite/ld-elf/shared.exp: Run most pr23161 and pr23162 tests for - linux, nacl and gnu targets. - * testsuite/ld-mips-elf/mips-elf.exp: Set base_syms to 1. - * testsuite/ld-elf/pr23161a.rd: Don't check reloc type. Allow any - order of __bss_start, _edata and _end. - * testsuite/ld-elf/pr23161b.rd: Don't check plt and dyn relocs. - Allow and order of __bss_start, _edata and _end. - * testsuite/ld-elf/pr23162.rd: Fail if __bss_start, _edata or _end - relocs are present rather than testing for no relocations. - * testsuite/ld-aarch64/gc-plt-relocs.d, - * testsuite/ld-aarch64/ifunc-1-local.d, - * testsuite/ld-aarch64/ifunc-1.d, - * testsuite/ld-aarch64/ifunc-2-local.d, - * testsuite/ld-aarch64/ifunc-2.d, - * testsuite/ld-aarch64/ifunc-21.d, - * testsuite/ld-aarch64/ifunc-3a.d, - * testsuite/ld-arm/farcall-mixed-lib-v4t.d, - * testsuite/ld-arm/farcall-mixed-lib.d, - * testsuite/ld-arm/gc-hidden-1.d, - * testsuite/ld-arm/tls-gdesc-got.d, - * testsuite/ld-arm/tls-lib-loc.d, - * testsuite/ld-arm/tls-longplt-lib.d, - * testsuite/ld-arm/tls-thumb1.d, - * testsuite/ld-cris/libdso-10.d, - * testsuite/ld-cris/libdso-11.d, - * testsuite/ld-cris/libdso-13b.d, - * testsuite/ld-cris/libdso-14.d, - * testsuite/ld-cris/libdso-15.d, - * testsuite/ld-cris/pic-gc-72.d, - * testsuite/ld-cris/pic-gc-73.d, - * testsuite/ld-cris/tls-gc-71.d, - * testsuite/ld-mips-elf/mips16-pic-4a.nd, - * testsuite/ld-mips-elf/pic-and-nonpic-3a.dd, - * testsuite/ld-mips-elf/pie-n32.d, - * testsuite/ld-mips-elf/pie-n64.d, - * testsuite/ld-mips-elf/pie-o32.d: Update for removed dynamic - section symbols. - -2018-06-12 Hans-Peter Nilsson - - * testsuite/ld-cris/libdso-1.d: Correct recent address pattern update. - -2018-06-12 Nick Clifton - - PR 22983 - * testsuite/ld-plugin/lto.exp: Use individual tests to check for - the presence of each expected symbol. - * testsuite/ld-plugin/pr22983.1.d: New file. - * testsuite/ld-plugin/pr22983.2.d: New file. - * testsuite/ld-plugin/pr22983.3.d: New file. - * testsuite/ld-plugin/pr22983.4.d: New file. - - * emulparams/aarch64elf.sh (OTHER_BSS_END_SYMBOLS): Make the - definition of the __bss_end__ symbol conditional upon CREATE_SHLIB. - -2018-06-11 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2018-06-09 Maciej W. Rozycki - - * testsuite/ld-mips-elf/stub-dynsym-micromips-1-7fff.d: New - test. - * testsuite/ld-mips-elf/stub-dynsym-micromips-1-8000.d: New - test. - * testsuite/ld-mips-elf/stub-dynsym-micromips-1-fff0.d: New - test. - * testsuite/ld-mips-elf/stub-dynsym-micromips-1-10000.d: New - test. - * testsuite/ld-mips-elf/stub-dynsym-micromips-1-2fe80.d: New - test. - * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-7fff.d: - New test. - * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-8000.d: - New test. - * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-fff0.d: - New test. - * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-10000.d: - New test. - * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-2fe80.d: - New test. - * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. Fix - indentation. - -2018-06-09 Maciej W. Rozycki - - * testsuite/ld-mips-elf/mips-elf.exp: Update symbol count in the - comment associated with lazy binding stub tests. - -2018-06-09 Maciej W. Rozycki - - * Makefile.am (eelf32mipswindiss.c): Add `mipself.em' dependency. - * Makefile.in: Regenerate. - -2018-06-08 H.J. Lu - - PR ld/23161 - * testsuite/ld-elf/pr23161d.rd: Remove local _edata, __bss_start, - and _end from dynamic symbol table. - -2018-06-08 H.J. Lu - Alan Modra - - PR ld/23161 - * emulparams/aarch64cloudabi.sh: PROVIDE __bss_start__, _bss_end__, - and __end__ in shared libraries. - * emulparams/aarch64fbsd.sh: Likewise. - * emulparams/aarch64linux.sh: Likewise. - * emulparams/aarch64linux32.sh: Likewise. - * emulparams/armelf_fuchsia.sh: Likewise. - * emulparams/armelf_linux.sh: Likewise. - * emulparams/armelf_phoenix.sh: Likewise. - * emulparams/aarch64elf.sh: Likewise, and __data_start - * emulparams/aarch64elf32.sh: Likewise. - * emulparams/armelf.sh: Likewise. - * emulparams/armnto.sh: Likewise. - * emulparams/elf32bmip.sh: Remove duplicate ". = ." from - OTHER_GOT_SYMBOLS. PROVIDE _ftext, _fdata, and _fbss in shared libs. - * emulparams/elf32bmipn32-defs.sh: Likewise. - * emulparams/elf32frv.sh: PROVIDE __end and __data_start in shared libs. - * emulparams/elf32lriscv-defs.sh: Tidy. - * emulparams/elf32mcore.sh: PROVIDE __bss_start and _bss_end in - shared libs - * emulparams/elf32ppccommon.sh: PROVIDE __end in shared libs. - * emulparams/elf32rl78.sh: Tidy. - * emulparams/i386nto.sh: PROVIDE _btext in shared libs. - * emulparams/shelf_nto.sh: Likewise. - * emulparams/shlelf_nto.sh: Likewise. - * emulparams/score3_elf.sh: PROVIDE _gp, _bss_start__, _bss_end__, - __bss_end__, __end__, _fdata, _sdata_begin, and _bss_start in - shared libs. - * scripttempl/elf.sc: Don't use EXECUTABLE_SYMBOLS for shared - libraries. PROVIDE _edata, edata, __bss_start, and _end in shared - libraries. - * testsuite/ld-elf/pr23161.map, - * testsuite/ld-elf/pr23161a.c, - * testsuite/ld-elf/pr23161b.c, - * testsuite/ld-elf/pr23161c.c, - * testsuite/ld-elf/pr23161a.rd, - * testsuite/ld-elf/pr23161b.rd, - * testsuite/ld-elf/pr23161c.rd, - * testsuite/ld-elf/pr23161d.rd: New tests. - * testsuite/ld-elf/shared.exp: Run ld/23161 tests. - * testsuite/ld-elf/pr23162.rd, - * testsuite/ld-aarch64/ifunc-1-local.d, - * testsuite/ld-aarch64/ifunc-1.d, - * testsuite/ld-aarch64/ifunc-2-local.d, - * testsuite/ld-aarch64/ifunc-2.d, - * testsuite/ld-aarch64/ifunc-21.d, - * testsuite/ld-aarch64/ifunc-3a.d, - * testsuite/ld-alpha/tlsbin.rd, - * testsuite/ld-alpha/tlsbin.sd, - * testsuite/ld-alpha/tlsbinr.rd, - * testsuite/ld-alpha/tlspic.rd, - * testsuite/ld-alpha/tlspic.sd, - * testsuite/ld-cris/dso-pltdis1.d, - * testsuite/ld-cris/dso-pltdis2.d, - * testsuite/ld-cris/dso12-pltdis.d, - * testsuite/ld-cris/gotplt1.d, - * testsuite/ld-cris/gotplt2.d, - * testsuite/ld-cris/gotplt3.d, - * testsuite/ld-cris/hiddef1.d, - * testsuite/ld-cris/libdso-1.d, - * testsuite/ld-cris/libdso-10.d, - * testsuite/ld-cris/libdso-11.d, - * testsuite/ld-cris/libdso-12.d, - * testsuite/ld-cris/libdso-12b.d, - * testsuite/ld-cris/libdso-12c.d, - * testsuite/ld-cris/libdso-13.d, - * testsuite/ld-cris/libdso-13b.d, - * testsuite/ld-cris/libdso-14.d, - * testsuite/ld-cris/libdso-15.d, - * testsuite/ld-cris/libdso-15b.d, - * testsuite/ld-cris/libdso-1c.d, - * testsuite/ld-cris/libdso-1d.d, - * testsuite/ld-cris/libdso-2.d, - * testsuite/ld-cris/pic-gc-72.d, - * testsuite/ld-cris/pic-gc-73.d, - * testsuite/ld-cris/pr16044.d, - * testsuite/ld-cris/pv32-1.d, - * testsuite/ld-cris/tls-dso-dtpoffd2.d, - * testsuite/ld-cris/tls-dso-dtpoffd4.d, - * testsuite/ld-cris/tls-dso-tpoffgotcomm1.d, - * testsuite/ld-cris/tls-gc-71.d, - * testsuite/ld-cris/tls-gd-1.d, - * testsuite/ld-cris/tls-gd-1h.d, - * testsuite/ld-cris/tls-gd-2.d, - * testsuite/ld-cris/tls-gd-2h.d, - * testsuite/ld-cris/tls-ie-10.d, - * testsuite/ld-cris/tls-ie-11.d, - * testsuite/ld-cris/tls-ie-78.d, - * testsuite/ld-cris/tls-ie-8.d, - * testsuite/ld-cris/tls-ie-9.d, - * testsuite/ld-cris/tls-js1.d, - * testsuite/ld-cris/tls-ld-4.d, - * testsuite/ld-cris/tls-ld-5.d, - * testsuite/ld-cris/tls-ld-6.d, - * testsuite/ld-cris/tls-ld-7.d, - * testsuite/ld-cris/tls-ldgd-14.d, - * testsuite/ld-cris/tls-ldgd-15.d, - * testsuite/ld-cris/tls-ldgdex-14.d, - * testsuite/ld-cris/tls-ldgdex-15.d, - * testsuite/ld-cris/tls-ldgdx-14.d, - * testsuite/ld-cris/tls-ldgdx-15.d, - * testsuite/ld-cris/tls-legdx-16.d, - * testsuite/ld-cris/tls-legdx-17.d, - * testsuite/ld-cris/tls-local-54.d, - * testsuite/ld-cris/tls-local-60.d, - * testsuite/ld-cris/tls-local-61.d, - * testsuite/ld-cris/tls-local-63.d, - * testsuite/ld-cris/tls-local-64.d, - * testsuite/ld-cris/tls-ok-30.d, - * testsuite/ld-cris/tls-ok-32.d, - * testsuite/ld-cris/tls-ok-34.d, - * testsuite/ld-cris/tls-und-38.d, - * testsuite/ld-cris/tls-und-42.d, - * testsuite/ld-cris/tls-und-46.d, - * testsuite/ld-cris/tls-und-50.d, - * testsuite/ld-cris/weakhiddso.d, - * testsuite/ld-cris/weakref2.d, - * testsuite/ld-frv/fdpic-shared-1.d, - * testsuite/ld-frv/fdpic-shared-2.d, - * testsuite/ld-frv/fdpic-shared-3.d, - * testsuite/ld-frv/fdpic-shared-4.d, - * testsuite/ld-frv/fdpic-shared-5.d, - * testsuite/ld-frv/fdpic-shared-7.d, - * testsuite/ld-frv/fdpic-shared-8.d, - * testsuite/ld-frv/tls-dynamic-2.d, - * testsuite/ld-i386/ibt-plt-1.d, - * testsuite/ld-i386/ibt-plt-2a.d, - * testsuite/ld-i386/ibt-plt-2b.d, - * testsuite/ld-i386/ibt-plt-2c.d, - * testsuite/ld-i386/ibt-plt-2d.d, - * testsuite/ld-i386/ibt-plt-3a.d, - * testsuite/ld-i386/ibt-plt-3b.d, - * testsuite/ld-i386/ibt-plt-3c.d, - * testsuite/ld-i386/ibt-plt-3d.d, - * testsuite/ld-i386/plt2.dd, - * testsuite/ld-i386/pr20830.d, - * testsuite/ld-i386/tlsbin-nacl.rd, - * testsuite/ld-i386/tlsbin.rd, - * testsuite/ld-i386/tlsbin2-nacl.rd, - * testsuite/ld-i386/tlsbin2.rd, - * testsuite/ld-i386/tlsbindesc-nacl.rd, - * testsuite/ld-i386/tlsbindesc.rd, - * testsuite/ld-i386/tlsdesc-nacl.rd, - * testsuite/ld-i386/tlsdesc.rd, - * testsuite/ld-i386/tlsgdesc-nacl.rd, - * testsuite/ld-i386/tlsgdesc.rd, - * testsuite/ld-i386/tlsnopic-nacl.rd, - * testsuite/ld-i386/tlsnopic.dd, - * testsuite/ld-i386/tlsnopic.rd, - * testsuite/ld-i386/tlsnopic.sd, - * testsuite/ld-i386/tlspic-nacl.rd, - * testsuite/ld-i386/tlspic.rd, - * testsuite/ld-i386/tlspic2-nacl.rd, - * testsuite/ld-i386/tlspic2.rd, - * testsuite/ld-ia64/merge1.d, - * testsuite/ld-ia64/merge2.d, - * testsuite/ld-ia64/merge3.d, - * testsuite/ld-ia64/merge4.d, - * testsuite/ld-ia64/merge5.d, - * testsuite/ld-ia64/tlsbin.rd, - * testsuite/ld-ia64/tlspic.rd, - * testsuite/ld-ifunc/ifunc-2-i386-now.d, - * testsuite/ld-ifunc/ifunc-2-local-i386-now.d, - * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d, - * testsuite/ld-ifunc/ifunc-2-local-x86-64.d, - * testsuite/ld-ifunc/ifunc-2-x86-64-now.d, - * testsuite/ld-ifunc/ifunc-2-x86-64.d, - * testsuite/ld-ifunc/pr17154-i386-now.d, - * testsuite/ld-ifunc/pr17154-i386.d, - * testsuite/ld-ifunc/pr17154-x86-64-now.d, - * testsuite/ld-ifunc/pr17154-x86-64.d, - * testsuite/ld-m68k/tls-def-1.d, - * testsuite/ld-m68k/tls-gd-1.d2, - * testsuite/ld-metag/shared.d, - * testsuite/ld-metag/stub_pic_app.d, - * testsuite/ld-mips-elf/rel32-n32.d, - * testsuite/ld-mips-elf/rel32-o32.d, - * testsuite/ld-mips-elf/rel64.d, - * testsuite/ld-powerpc/ambiguousv1.d, - * testsuite/ld-powerpc/ambiguousv1b.d, - * testsuite/ld-powerpc/ambiguousv2.d, - * testsuite/ld-powerpc/ambiguousv2b.d, - * testsuite/ld-powerpc/tlsexe.d, - * testsuite/ld-powerpc/tlsexe.r, - * testsuite/ld-powerpc/tlsexe32.d, - * testsuite/ld-powerpc/tlsexe32.g, - * testsuite/ld-powerpc/tlsexe32.r, - * testsuite/ld-powerpc/tlsexetoc.d, - * testsuite/ld-powerpc/tlsexetoc.r, - * testsuite/ld-powerpc/tlsso.d, - * testsuite/ld-powerpc/tlsso.r, - * testsuite/ld-powerpc/tlsso32.g, - * testsuite/ld-powerpc/tlsso32.r, - * testsuite/ld-powerpc/tlstocso.d, - * testsuite/ld-powerpc/tlstocso.g, - * testsuite/ld-powerpc/tlstocso.r, - * testsuite/ld-s390/gotreloc_31-1.dd, - * testsuite/ld-s390/tlsbin.dd, - * testsuite/ld-s390/tlsbin.rd, - * testsuite/ld-s390/tlsbin_64.dd, - * testsuite/ld-s390/tlsbin_64.rd, - * testsuite/ld-s390/tlspic.rd, - * testsuite/ld-s390/tlspic_64.rd, - * testsuite/ld-sh/tlsbin-2.d, - * testsuite/ld-sh/tlspic-2.d, - * testsuite/ld-sparc/gotop32.rd, - * testsuite/ld-sparc/gotop64.rd, - * testsuite/ld-sparc/tlssunbin32.rd, - * testsuite/ld-sparc/tlssunbin64.rd, - * testsuite/ld-sparc/tlssunnopic32.rd, - * testsuite/ld-sparc/tlssunnopic64.rd, - * testsuite/ld-sparc/tlssunpic32.rd, - * testsuite/ld-sparc/tlssunpic64.rd, - * testsuite/ld-x86-64/bnd-branch-1-now.d, - * testsuite/ld-x86-64/bnd-ifunc-1-now.d, - * testsuite/ld-x86-64/bnd-ifunc-2-now.d, - * testsuite/ld-x86-64/bnd-ifunc-2.d, - * testsuite/ld-x86-64/bnd-plt-1-now.d, - * testsuite/ld-x86-64/bnd-plt-1.d, - * testsuite/ld-x86-64/ibt-plt-1-x32.d, - * testsuite/ld-x86-64/ibt-plt-1.d, - * testsuite/ld-x86-64/ibt-plt-2a-x32.d, - * testsuite/ld-x86-64/ibt-plt-2a.d, - * testsuite/ld-x86-64/ibt-plt-2b-x32.d, - * testsuite/ld-x86-64/ibt-plt-2b.d, - * testsuite/ld-x86-64/ibt-plt-2c-x32.d, - * testsuite/ld-x86-64/ibt-plt-2c.d, - * testsuite/ld-x86-64/ibt-plt-2d-x32.d, - * testsuite/ld-x86-64/ibt-plt-2d.d, - * testsuite/ld-x86-64/ibt-plt-3a-x32.d, - * testsuite/ld-x86-64/ibt-plt-3a.d, - * testsuite/ld-x86-64/ibt-plt-3b-x32.d, - * testsuite/ld-x86-64/ibt-plt-3b.d, - * testsuite/ld-x86-64/ibt-plt-3c-x32.d, - * testsuite/ld-x86-64/ibt-plt-3c.d, - * testsuite/ld-x86-64/ibt-plt-3d-x32.d, - * testsuite/ld-x86-64/ibt-plt-3d.d, - * testsuite/ld-x86-64/ilp32-4-nacl.d, - * testsuite/ld-x86-64/ilp32-4.d, - * testsuite/ld-x86-64/load1c-nacl.d, - * testsuite/ld-x86-64/load1c.d, - * testsuite/ld-x86-64/load1d-nacl.d, - * testsuite/ld-x86-64/load1d.d, - * testsuite/ld-x86-64/mpx3n.dd, - * testsuite/ld-x86-64/mpx4.dd, - * testsuite/ld-x86-64/mpx4n.dd, - * testsuite/ld-x86-64/plt2.dd, - * testsuite/ld-x86-64/pr14207.d, - * testsuite/ld-x86-64/pr19162.d, - * testsuite/ld-x86-64/pr20253-1f.d, - * testsuite/ld-x86-64/pr20253-1l.d, - * testsuite/ld-x86-64/pr20830a-now.d, - * testsuite/ld-x86-64/pr20830a.d, - * testsuite/ld-x86-64/pr20830b-now.d, - * testsuite/ld-x86-64/pr20830b.d, - * testsuite/ld-x86-64/pr21038a-now.d, - * testsuite/ld-x86-64/pr21038a.d, - * testsuite/ld-x86-64/pr21038b-now.d, - * testsuite/ld-x86-64/pr21038b.d, - * testsuite/ld-x86-64/pr21038c-now.d, - * testsuite/ld-x86-64/pr21038c.d, - * testsuite/ld-x86-64/tlsbin-nacl.rd, - * testsuite/ld-x86-64/tlsbin.rd, - * testsuite/ld-x86-64/tlsbin2-nacl.rd, - * testsuite/ld-x86-64/tlsbin2.rd, - * testsuite/ld-x86-64/tlsbindesc-nacl.rd, - * testsuite/ld-x86-64/tlsbindesc.rd, - * testsuite/ld-x86-64/tlsdesc-nacl.rd, - * testsuite/ld-x86-64/tlsdesc.rd, - * testsuite/ld-x86-64/tlsgdesc-nacl.rd, - * testsuite/ld-x86-64/tlsgdesc.rd, - * testsuite/ld-x86-64/tlspic-nacl.rd, - * testsuite/ld-x86-64/tlspic.rd, - * testsuite/ld-x86-64/tlspic2-nacl.rd, - * testsuite/ld-x86-64/tlspic2.rd: Update. - -2018-06-07 Alan Modra - - * emulparams/elf64bmip.sh (EXECUTABLE_SYMBOLS): Don't define. - (OTHER_SYMBOLS): Define this instead. - * emulparams/elf32bmipn32.sh (EXECUTABLE_SYMBOLS): Don't define. - (OTHER_SYMBOLS): Define similarly to elf64bmip.sh. - * emulparams/elf64hppa.sh (EXECUTABLE_SYMBOLS): Don't define. - (OTHER_SYMBOLS): Define instead. - -2018-06-07 Alan Modra - - * emulparams/elf32_tic6x_le.sh (EXECUTABLE_SYMBOLS): Don't define. - -2018-06-06 Alan Modra - - * Makefile.am (earmelf_fbsd.c): Correct dependencies. - (earmelfb_fbsd.c, earmelfb_fuchsia.c): Likewise. - * Makefile.in: Regenerate. - -2018-06-05 Alan Modra - - PR 23254 - * plugin.c (plugin_call_claim_file): Revert 2016-07-19 patch. - (plugin_object_p): Don't dup file descriptor. - -2018-06-05 Flavio Ceolin - - * testsuite/ld-elf/elf.exp Run new test. - * testsuite/ld-elf/stack-noexec.rd New file: Expected readelf output. - -2018-06-03 Sebastian Huber - Jim Wilson - - PR ld/23244 - * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new weak ref tests. - * testsuite/ld-riscv-elf/weakref.ld: New. - * testsuite/ld-riscv-elf/weakref32.d: New. - * testsuite/ld-riscv-elf/weakref32.s: New. - * testsuite/ld-riscv-elf/weakref64.d: New. - * testsuite/ld-riscv-elf/weakref64.s: New. - -2018-06-01 H.J. Lu - - * configure: Regenerated. - -2018-05-28 H.J. Lu - - PR ld/23238 - * testsuite/ld-ifunc/ifunc-26.d: New file. - * testsuite/ld-ifunc/ifunc-26.s: Likewise. - * testsuite/ld-ifunc/ifunc.exp: Run *.d tests without a - working compiler. - -2018-05-28 H.J. Lu - - * testsuite/ld-ifunc/ifunc-10-i386.d: Skip NaCl targets. - * testsuite/ld-ifunc/ifunc-10-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-11-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-11-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-12-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-12-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-14a-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-14a-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-14b-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-14b-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-14c-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-14c-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-14d-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-14d-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-14e-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-14e-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-14f-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-14f-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise. - * testsuite/ld-ifunc/ifunc-16-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: Likewise. - * testsuite/ld-ifunc/ifunc-16-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-17a-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-17a-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-17b-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-17b-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-19a-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-19a-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-19b-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-19b-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-2-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-2-local-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-20-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-20-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-5a-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-5a-local-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-5a-local-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-5a-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-5b-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-5b-local-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-5b-local-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-5b-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-5r-local-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-6a-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-6a-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-6b-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-6b-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-7a-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-7a-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-7b-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-7b-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-8-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-8-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-9-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-9-x86-64.d: Likewise. - * testsuite/ld-ifunc/pr17154-i386.d: Likewise. - * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise. - * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise. - -2018-05-26 H.J. Lu - - PR ld/23194 - * testsuite/ld-i386/pr23194.d: Expect only R_386_GLOB_DAT - against foobar. - * testsuite/ld-i386/pr23194.map: Add foobar. - * testsuite/ld-x86-64/pr23194.map: Likewise. - * testsuite/ld-i386/pr23194.s: Add a common foobar symbol. - * testsuite/ld-x86-64/pr23194.s: Likewise. - * testsuite/ld-x86-64/pr23194.d: Expect only R_X86_64_GLOB_DAT - against foobar. - -2018-05-25 Alan Modra - - * po/BLD-POTFILES.in: Regenerate. - -2018-05-21 H.J. Lu - - PR ld/23201 - * testsuite/ld-tic6x/shlib-1.rd: Adjusted. - * testsuite/ld-tic6x/shlib-1b.rd: Likewise. - * testsuite/ld-tic6x/shlib-1r.rd: Likewise. - * testsuite/ld-tic6x/shlib-1rb.rd: Likewise. - * testsuite/ld-tic6x/shlib-app-1.rd: Likewise. - * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise. - * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise. - * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise. - * testsuite/ld-tic6x/shlib-noindex.rd: Likewise. - * testsuite/ld-tic6x/static-app-1.rd: Likewise. - * testsuite/ld-tic6x/static-app-1b.rd: Likewise. - * testsuite/ld-tic6x/static-app-1r.rd: Likewise. - * testsuite/ld-tic6x/static-app-1rb.rd: Likewise. - -2018-05-21 H.J. Lu - - PR ld/23201 - * ldexp.c (exp_fold_tree_1): Call bfd_link_hide_symbol to hide - a symbol. - * testsuite/ld-elf/provide-hidden-dynabs.nd: Removed. - * testsuite/ld-elf/provide-hidden-dynsec.nd: Likewise. - * testsuite/ld-elf/provide-hidden.exp: Replace - provide-hidden-dynsec.nd with provide-hidden-sec.nd and - provide-hidden-dyn.nd. Replace provide-hidden-dynabs.nd with - provide-hidden-abs.nd and provide-hidden-dyn.nd. - * testsuite/ld-i386/pr23189.d: Expect no dynamic relocation. - * testsuite/ld-x86-64/pr23189.d: Likewise. - -2018-05-18 H.J. Lu - - PR ld/23194 - * testsuite/ld-i386/i386.exp: Run pr23194. - * testsuite/ld-x86-64/x86-64.exp: Likewise. - * testsuite/ld-i386/pr23194.d: New file. - * testsuite/ld-i386/pr23194.map: Likewise. - * testsuite/ld-i386/pr23194.s: Likewise. - * testsuite/ld-x86-64/pr23194.d: Likewise. - * testsuite/ld-x86-64/pr23194.map: Likewise. - * testsuite/ld-x86-64/pr23194.s: Likewise. - -2018-05-18 H.J. Lu - - * testsuite/ld-i386/i386.exp: Run pr23189 for all targets. - * testsuite/ld-x86-64/x86-64.exp: Likewise. - -2018-05-18 John Darrington - - * Makefile.am: Add support for s12z architecture. - * configure.tgt: Likewise. - * Makefile.in: Regenerate. - * emulparams/m9s12zelf.sh: New file. - * scripttempl/elfm9s12z.sc: New file. - * testsuite/ld-discard/static.d: Expect to fail for the s12z - target. - * testsuite/ld-elf/endsym.d: Likewise. - * testsuite/ld-elf/merge.d: Likewise. - * testsuite/ld-elf/pr14926.d: Skip for the s12z target. - * testsuite/ld-elf/sec64k.exp: Likewise. - * testsuite/ld-s12z: New directory. - * testsuite/ld-s12z/opr-linking.d: New file. - * testsuite/ld-s12z/opr-linking.s: New file. - * testsuite/ld-s12z/relative-linking.d: New file. - * testsuite/ld-s12z/relative-linking.s: New file. - * testsuite/ld-s12z/z12s.exp: New file. - -2018-05-18 H.J. Lu - - PR ld/23189 - * testsuite/ld-i386/i386.exp: Run pr23189. - * testsuite/ld-x86-64/x86-64.exp: Likewise. - * testsuite/ld-i386/pr23189.d: New file. - * testsuite/ld-i386/pr23189.s: Likewise. - * testsuite/ld-i386/pr23189.t: Likewise. - * testsuite/ld-x86-64/pr23189.d: Likewise. - * testsuite/ld-x86-64/pr23189.s: Likewise. - * testsuite/ld-x86-64/pr23189.t: Likewise. - -2018-05-15 Alan Modra - - * testsuite/ld-elf/notes.exp: Restore LDFLAGS. - -2018-05-14 Nick Clifton - - * testsuite/ld-elf/notes.exp: New file: Run new test. - * testsuite/ld-elf/note1_1.s: New file: Source file for test. - * testsuite/ld-elf/note1_2.s: New file: Source file for test. - * testsuite/ld-elf/note1.r: New file: Expected readelf output. - -2018-05-14 H.J. Lu - - PR ld/23169 - * testsuite/ld-ifunc/ifunc-9-i386.d: New file. - * testsuite/ld-ifunc/ifunc-9-x86-64.d: Likewise. - * testsuite/ld-ifunc/pr23169a.c: Likewise. - * testsuite/ld-ifunc/pr23169a.rd: Likewise. - * testsuite/ld-ifunc/pr23169b.c: Likewise. - * testsuite/ld-ifunc/pr23169b.c: Likewise. - * testsuite/ld-ifunc/pr23169c.rd: Likewise. - * testsuite/ld-ifunc/pr23169c.rd: Likewise. - * testsuite/ld-ifunc/ifunc-9-x86.d: Removed. - * testsuite/ld-ifunc/ifunc.exp: Run PR ld/23169 tests. - -2018-05-14 H.J. Lu - - PR ld/23162 - * testsuite/ld-elf/pr23162.map: New file. - * testsuite/ld-elf/pr23162.rd: Likewise. - * testsuite/ld-elf/pr23162a.c: Likewise. - * testsuite/ld-elf/pr23162b.c: Likewise. - * testsuite/ld-elf/shared.exp: Run PR ld/23162 tests. - -2018-05-12 Alan Modra - - PR 20659 - * testsuite/ld-elf/changelma.d, - * testsuite/ld-elf/changelma.lnk, - * testsuite/ld-elf/changelma.s: New test. - -2018-05-09 2018-05-02 Dimitar Dimitrov - - * scripttempl/pru.sc: Add LD sections to allow linking TI - toolchain object files. - * scripttempl/pru.sc: Switch to init_array. - * testsuite/ld-pru/ldi32.d: Update LDI32 test to conform to TI ABI. - * testsuite/ld-pru/norelax_ldi32-data.d: Likewise. - * testsuite/ld-pru/norelax_ldi32-dis.d: Likewise. - * testsuite/ld-pru/relax_ldi32-data.d: Likewise. - * testsuite/ld-pru/relax_ldi32-dis.d: Likewise. - -2018-05-09 Alan Modra - - * po/BLD-POTFILES.in: Regenerate. - -2018-05-08 Jim Wilson - - PR ld/22962 - * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lriscv_ilp32f.c, - eelf32lriscv_ilp32.c, eelf64lriscv_lp64f.c, eelf64lriscv_lp64.c. - (eelf32lriscv_ilp32f.c, eelf32lriscv_ilp32.c): New build rules. - (eelf64lriscv_lp64f.c, eelf64lriscv_lp64.c): New build rules. - * Makefile.in: Regenerated. - * configure.tgt (riscv32*-*-linux*, riscv64*-*-linux*): New. - * ld/emulparams/elf32lriscv.sh: Set LIBPATH_SUFFIX. - * ld/emulparams/elf32lriscv_ilp32.sh: New. - * ld/emulparams/elf32lriscv_ilp32f.sh: New. - * ld/emulparams/elf64lriscv-defs.sh: Don't set LIBPATH_SUFFIX here. - * ld/emulparams/elf64lriscv.sh: Set LIBPATH_SUFFIX. - * ld/emulparams/elf64lriscv_lp64.sh: New. - * ld/emulparams/elf64lriscv_lp64f.sh: New. - * ld/genscripts.sh (append_to_lib_path): Change LIBPATH_SUFFIX test to - a for. Inside loop, change LIBPATH_SUFFIX uses to libpath_suffix. - (LIB_PATH): In LIB_PATH if, add loop for LIBPATH_SUFFIX, changes uses - inside loop to libpath_suffix. - -2018-05-03 Jim Wilson - - * Makefile.am (earmelfb_linux_fdpiceabi.c): Fix typo in dependencies. - -2018-05-03 Simon Atanasyan - - * testsuite/ld-mips-elf/gp-disp-sym.d: New test. - * testsuite/ld-mips-elf/gp-disp-sym.s: New test source. - * testsuite/ld-mips-elf/mips-elf.exp: Run the new test. - * testsuite/ld-mips-elf/mips16-pic-2.ad: Update for _gp_disp - symbol removal. - * testsuite/ld-mips-elf/mips16-pic-2.nd: Likewise. - * testsuite/ld-mips-elf/pic-and-nonpic-3a.dd: Likewise. - * testsuite/ld-mips-elf/tlslib-o32-hidden.got: Likewise. - * testsuite/ld-mips-elf/tlslib-o32-ver.got: Likewise. - * testsuite/ld-mips-elf/tlslib-o32.got: Likewise. - -2018-04-27 Maciej W. Rozycki - - * testsuite/ld-mips-elf/bal-jalx-pic.d: Only run for - `check_shared_lib_support' targets. - * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d: - Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d: - Likewise. - * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d: - Likewise. - * testsuite/ld-mips-elf/hash1a.d: Likewise. - * testsuite/ld-mips-elf/hash1b.d: Likewise. - * testsuite/ld-mips-elf/hash1c.d: Likewise. - * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise. - * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise. - -2018-04-27 Maciej W. Rozycki - - * testsuite/lib/ld-lib.exp (run_dump_test): Use `match_target' - in place of `istarget' for matching with `target', `alltargets' - and `notarget' options. - -2018-04-27 Alan Modra - - * po/BLD-POTFILES.in: Regenerate. - -2018-04-26 Christophe Lyon - - * testsuite/ld-elf/pr2404b.c (main): Adjust printf to account for - new variable name. - * testsuite/ld-elf/pr2404.out: Adjust expected output accordingly. - -2018-04-25 Christophe Lyon - - * testsuite/ld-arm/export-class.exp: Accept arm*-*-uclinuxfdpiceabi. - * testsuite/ld-discard/discard.exp: Likewise. - * testsuite/ld-elf/binutils.exp: Likewise. - * testsuite/ld-elf/commonpage1.d: Likewise. - * testsuite/ld-elf/compress1c.d: Likewise. - * testsuite/ld-elf/compressed1b.d: Likewise. - * testsuite/ld-elf/compressed1c.d: Likewise. - * testsuite/ld-elf/compressed1e.d: Likewise. - * testsuite/ld-elf/dynamic1.d: Likewise. - * testsuite/ld-elf/dynsym1.d: Likewise. - * testsuite/ld-elf/ehdr_start-missing.d: Likewise. - * testsuite/ld-elf/ehdr_start-shared.d: Likewise. - * testsuite/ld-elf/ehdr_start-userdef.d: Likewise. - * testsuite/ld-elf/ehdr_start-weak.d: Likewise. - * testsuite/ld-elf/ehdr_start.d: Likewise. - * testsuite/ld-elf/exclude3b.d: Likewise. - * testsuite/ld-elf/export-class.exp: Likewise. - * testsuite/ld-elf/global1.d: Likewise. - * testsuite/ld-elf/hash.d: Likewise. - * testsuite/ld-elf/header.d: Likewise. - * testsuite/ld-elf/loadaddr1.d: Likewise. - * testsuite/ld-elf/loadaddr2.d: Likewise. - * testsuite/ld-elf/loadaddr3a.d: Likewise. - * testsuite/ld-elf/loadaddr3b.d: Likewise. - * testsuite/ld-elf/local1.d: Likewise. - * testsuite/ld-elf/maxpage1.d: Likewise. - * testsuite/ld-elf/maxpage2.d: Likewise. - * testsuite/ld-elf/maxpage3a.d: Likewise. - * testsuite/ld-elf/mbind1a.d: Likewise. - * testsuite/ld-elf/mbind1b.d: Likewise. - * testsuite/ld-elf/mbind1c.d: Likewise. - * testsuite/ld-elf/multibss1.d: Likewise. - * testsuite/ld-elf/noload-2.d: Likewise. - * testsuite/ld-elf/now-1.d: Likewise. - * testsuite/ld-elf/now-2.d: Likewise. - * testsuite/ld-elf/now-3.d: Likewise. - * testsuite/ld-elf/now-4.d: Likewise. - * testsuite/ld-elf/pie.d: Likewise. - * testsuite/ld-elf/pr12975.d: Likewise. - * testsuite/ld-elf/pr13177.d: Likewise. - * testsuite/ld-elf/pr13195.d: Likewise. - * testsuite/ld-elf/pr16322.d: Likewise. - * testsuite/ld-elf/pr16498a.d: Likewise. - * testsuite/ld-elf/pr16498b.d: Likewise. - * testsuite/ld-elf/pr17615.d: Likewise. - * testsuite/ld-elf/pr19162.d: Likewise. - * testsuite/ld-elf/pr19539.d: Likewise. - * testsuite/ld-elf/pr19617a.d: Likewise. - * testsuite/ld-elf/pr19617b.d: Likewise. - * testsuite/ld-elf/pr19617c.d: Likewise. - * testsuite/ld-elf/pr19698.d: Likewise. - * testsuite/ld-elf/pr19789.d: Likewise. - * testsuite/ld-elf/pr20513c.d: Likewise. - * testsuite/ld-elf/pr20513d.d: Likewise. - * testsuite/ld-elf/pr21384.d: Likewise. - * testsuite/ld-elf/pr21389a.d: Likewise. - * testsuite/ld-elf/pr21389b.d: Likewise. - * testsuite/ld-elf/pr21389c.d: Likewise. - * testsuite/ld-elf/pr21562a.d: Likewise. - * testsuite/ld-elf/pr21562b.d: Likewise. - * testsuite/ld-elf/pr21562c.d: Likewise. - * testsuite/ld-elf/pr21562d.d: Likewise. - * testsuite/ld-elf/pr21562e.d: Likewise. - * testsuite/ld-elf/pr21562f.d: Likewise. - * testsuite/ld-elf/pr21562g.d: Likewise. - * testsuite/ld-elf/pr21562h.d: Likewise. - * testsuite/ld-elf/pr21562i.d: Likewise. - * testsuite/ld-elf/pr21562j.d: Likewise. - * testsuite/ld-elf/pr21562k.d: Likewise. - * testsuite/ld-elf/pr21562l.d: Likewise. - * testsuite/ld-elf/pr21562m.d: Likewise. - * testsuite/ld-elf/pr21562n.d: Likewise. - * testsuite/ld-elf/pr21903a.d: Likewise. - * testsuite/ld-elf/pr21903b.d: Likewise. - * testsuite/ld-elf/pr21903d.d: Likewise. - * testsuite/ld-elf/pr22269a.d: Likewise. - * testsuite/ld-elf/pr22269b.d: Likewise. - * testsuite/ld-elf/pr22393-1a.d: Likewise. - * testsuite/ld-elf/pr22393-1b.d: Likewise. - * testsuite/ld-elf/pr22393-1c.d: Likewise. - * testsuite/ld-elf/pr22393-1d.d: Likewise. - * testsuite/ld-elf/pr22393-1e.d: Likewise. - * testsuite/ld-elf/pr22393-1f.d: Likewise. - * testsuite/ld-elf/pr22423.d: Likewise. - * testsuite/ld-elf/rpath-1.d: Likewise. - * testsuite/ld-elf/rpath-2.d: Likewise. - * testsuite/ld-elf/runpath-1.d: Likewise. - * testsuite/ld-elf/runpath-2.d: Likewise. - * testsuite/ld-elf/seg.d: Likewise. - * testsuite/ld-elf/sizeofb.d: Likewise. - * testsuite/ld-elf/startofb.d: Likewise. - * testsuite/ld-elf/strtab.d: Likewise. - * testsuite/ld-elf/textaddr1.d: Likewise. - * testsuite/ld-elf/textaddr2.d: Likewise. - * testsuite/ld-elf/textaddr3.d: Likewise. - * testsuite/ld-elf/textaddr4.d: Likewise. - * testsuite/ld-elf/textaddr5.d: Likewise. - * testsuite/ld-elf/textaddr6.d: Likewise. - * testsuite/ld-elf/textaddr7.d: Likewise. - * testsuite/ld-elf/tls.exp: Likewise. - * testsuite/ld-elf/tls_common.exp: Likewise. - * testsuite/ld-elf/unknown2.d: Likewise. - * testsuite/ld-gc/abi-note.d: Likewise. - * testsuite/ld-gc/pr11218.d: Likewise. - * testsuite/ld-gc/pr19167.d: Likewise. - * testsuite/ld-gc/pr20022.d: Likewise. - * testsuite/ld-gc/start.d: Likewise. - * testsuite/ld-gc/stop.d: Likewise. - * testsuite/ld-scripts/phdrs2.exp: Likewise. - * testsuite/ld-scripts/rgn-at5.d: Likewise. - * testsuite/ld-undefined/entry-3.d: Likewise. - * testsuite/ld-undefined/entry-4.d: Likewise. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * testsuite/ld-arm/arm-elf.exp: Execute the new FDPIC Thumb-only tests. - * testsuite/ld-arm/fdpic-main-m.d: New test. - * testsuite/ld-arm/fdpic-main-m.s: New. - * testsuite/ld-arm/fdpic-main-m.sym: New. - * testsuite/ld-arm/fdpic-shared-m.d: New test. - * testsuite/ld-arm/fdpic-shared-m.s: New. - * testsuite/ld-arm/fdpic-shared-m.sym: New. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * testsuite/ld-arm/arm-elf.exp: Execute the new FDPIC tests. - * testsuite/ld-arm/fdpic-main.d: New test. - * testsuite/ld-arm/fdpic-main.ld: New. - * testsuite/ld-arm/fdpic-main.r: New. - * testsuite/ld-arm/fdpic-main.s: New. - * testsuite/ld-arm/fdpic-main.sym: New. - * testsuite/ld-arm/fdpic-shared.d: New test. - * testsuite/ld-arm/fdpic-shared.ld: New. - * testsuite/ld-arm/fdpic-shared.r: New. - * testsuite/ld-arm/fdpic-shared.s: New. - * testsuite/ld-arm/fdpic-shared.sym: New. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * testsuite/ld-elf/pr2404b.c (main): Rename time variable into - time1. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * scripttempl/elf.sc: Define __tdata_start for .tdata section. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * emulparams/armelf_linux_fdpiceabi.sh: Add .rofixup section. - -2018-04-25 Christophe Lyon - Mickaël Guêné - - * Makefile.am (ALL_EMULATION_SOURCES): Add - earmelf_linux_fdpiceabi.c and earmelfb_linux_fdpiceabi.c. - (earmelf_linux_fdpiceabi.c, earmelfb_linux_fdpiceabi.c): New rules. - * Makefile.in: Regenerate. - * configure.tgt (arm*-*-uclinuxfdpiceabi): Handle new target. - * emulparams/armelf_linux_fdpiceabi.sh: New. - * emulparams/armelfb_linux_fdpiceabi.sh: New. - -2018-04-25 Alan Modra - - * Makefile.am: Remove arm-aout and arm-coff support. - * configure.tgt: Likewise. - * testsuite/ld-arm/attr-merge-div-00.d: Likewise. - * testsuite/ld-arm/attr-merge-div-01-m3.d: Likewise. - * testsuite/ld-arm/attr-merge-div-01.d: Likewise. - * testsuite/ld-arm/attr-merge-div-02.d: Likewise. - * testsuite/ld-arm/attr-merge-div-10-m3.d: Likewise. - * testsuite/ld-arm/attr-merge-div-10.d: Likewise. - * testsuite/ld-arm/attr-merge-div-11.d: Likewise. - * testsuite/ld-arm/attr-merge-div-12.d: Likewise. - * testsuite/ld-arm/attr-merge-div-120.d: Likewise. - * testsuite/ld-arm/attr-merge-div-20.d: Likewise. - * testsuite/ld-arm/attr-merge-div-21.d: Likewise. - * testsuite/ld-arm/attr-merge-div-22.d: Likewise. - * testsuite/ld-arm/attr-merge-hardfp-use-1.d: Likewise. - * testsuite/ld-arm/attr-merge-hardfp-use-2.d: Likewise. - * testsuite/ld-arm/attr-merge-nosection-1.d: Likewise. - * testsuite/ld-arm/attr-merge-unknown-2.d: Likewise. - * testsuite/ld-arm/attr-merge-unknown-2r.d: Likewise. - * testsuite/ld-arm/attr-merge-unknown-3.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-1.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-10.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-10r.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-11.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-11r.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-12.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-12r.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-13.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-13r.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-14.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-14r.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-1r.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-2.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-2r.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-3.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-3r.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-4.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-4r.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-5.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-5r.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-6.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-6r.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-7.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-7r.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-8.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-8r.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-9.d: Likewise. - * testsuite/ld-arm/attr-merge-vfp-9r.d: Likewise. - * testsuite/ld-arm/attr-merge-wchar-00-nowarn.d: Likewise. - * testsuite/ld-arm/attr-merge-wchar-00.d: Likewise. - * testsuite/ld-arm/attr-merge-wchar-02-nowarn.d: Likewise. - * testsuite/ld-arm/attr-merge-wchar-02.d: Likewise. - * testsuite/ld-arm/attr-merge-wchar-04-nowarn.d: Likewise. - * testsuite/ld-arm/attr-merge-wchar-04.d: Likewise. - * testsuite/ld-arm/attr-merge-wchar-20-nowarn.d: Likewise. - * testsuite/ld-arm/attr-merge-wchar-20.d: Likewise. - * testsuite/ld-arm/attr-merge-wchar-22-nowarn.d: Likewise. - * testsuite/ld-arm/attr-merge-wchar-22.d: Likewise. - * testsuite/ld-arm/attr-merge-wchar-24-nowarn.d: Likewise. - * testsuite/ld-arm/attr-merge-wchar-40-nowarn.d: Likewise. - * testsuite/ld-arm/attr-merge-wchar-40.d: Likewise. - * testsuite/ld-arm/attr-merge-wchar-42-nowarn.d: Likewise. - * testsuite/ld-arm/attr-merge-wchar-44-nowarn.d: Likewise. - * testsuite/ld-arm/attr-merge-wchar-44.d: Likewise. - * testsuite/ld-arm/eabi-hard-float.d: Likewise. - * testsuite/ld-arm/eabi-soft-float-ABI4.d: Likewise. - * testsuite/ld-arm/eabi-soft-float-r.d: Likewise. - * testsuite/ld-arm/eabi-soft-float.d: Likewise. - * testsuite/ld-arm/gc-hidden-1.d: Likewise. - * emulparams/armaoutb.sh: Delete. - * emulparams/armaoutl.sh: Delete. - * emulparams/armcoff.sh: Delete. - * emulparams/armnbsd.sh: Delete. - * emulparams/riscix.sh: Delete. - * scripttempl/armaout.sc: Delete. - * scripttempl/armcoff.sc: Delete. - * scripttempl/riscix.sc: Delete. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-21 Alan Modra - - * testsuite/lib/ld-lib.exp (run_host_cmd): Check that gcc -B - works. - -2018-04-18 Alan Modra - - * Makefile.am: Remove support for assorted i386 aout and coff targets. - * configure.tgt: Likewise. - * testsuite/ld-discard/discard.exp: Likewise. - * testsuite/ld-elf/binutils.exp: Likewise. - * testsuite/ld-elf/tls.exp: Likewise. - * testsuite/ld-elf/tls_common.exp: Likewise. - * testsuite/ld-elfvers/vers.exp: Likewise. - * testsuite/ld-elfvsb/elfvsb.exp: Likewise. - * testsuite/ld-elfweak/elfweak.exp: Likewise. - * testsuite/ld-gc/abi-note.d: Likewise. - * testsuite/ld-gc/pr19167.d: Likewise. - * testsuite/ld-gc/pr20022.d: Likewise. - * testsuite/ld-gc/start.d: Likewise. - * testsuite/ld-gc/stop.d: Likewise. - * testsuite/ld-i386/i386.exp: Likewise. - * testsuite/ld-ifunc/binutils.exp: Likewise. - * testsuite/ld-ifunc/ifunc.exp: Likewise. - * testsuite/ld-linkonce/linkonce.exp: Likewise. - * testsuite/ld-plugin/lto.exp: Likewise. - * testsuite/ld-scripts/empty-address-2a.d: Likewise. - * testsuite/ld-scripts/empty-address-2b.d: Likewise. - * testsuite/ld-scripts/phdrs2.exp: Likewise. - * testsuite/ld-scripts/section-match-1.d: Likewise. - * testsuite/ld-shared/shared.exp: Likewise. - * testsuite/ld-size/size.exp: Likewise. - * testsuite/ld-sparc/sparc.exp: Likewise. - * emulparams/i386coff.sh: Delete. - * emulparams/i386linux.sh: Delete. - * emulparams/i386mach.sh: Delete. - * emulparams/i386nbsd.sh: Delete. - * emulparams/vsta.sh: Delete. - * scripttempl/i386coff.sc: Delete. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-17 Andrew Sadek - - Microblaze Target: PIC data text relative - - * ld/lexsup.c (Add 2 ld options): - (ld_options): add disable-multiple-abs-defs @ 'ld_options' array - (parse_args): parse new option and pass flag to 'link_info' struct. - * ld/ldlex.h (Add enum): add new enum @ 'option_values' enum. - * ld/ld.texinfo (Add new option): Add description for - 'disable-multiple-abs-defs' - * ld/main.c: Initialize flags with false @ 'main'. Handle - disable-multiple-abs-defs @ 'mutiple_definition'. - -2018-04-16 Alan Modra - - * emultempl/sunos.em: Delete. - -2018-04-16 Alan Modra - - * Makefile.am: Remove arm-epoc-pe support. - * configure.tgt: Likewise. - * emultempl/pe.em: Likewise. - * pe-dll.c: Likewise. - * testsuite/ld-scripts/fill.d: Likewise. - * testsuite/ld-scripts/fill16.d: Likewise. - * emulparams/arm_epoc_pe.sh: Delete. - * scripttempl/epocpe.sc: Delete. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove sparc-aout and sparc-coff support. - * configure.tgt: Likewise. - * testsuite/ld-elfvers/vers.exp: Likewise. - * testsuite/ld-elfvsb/elfvsb.exp: Likewise. - * testsuite/ld-elfweak/elfweak.exp: Likewise. - * testsuite/ld-shared/shared.exp: Likewise. - * emulparams/coff_sparc.sh: Delete. - * emulparams/sparcaout.sh: Delete. - * emulparams/sparclinux.sh: Delete. - * emulparams/sparcnbsd.sh: Delete. - * emulparams/sun4.sh: Delete. - * scripttempl/sparccoff.sc: Delete. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove m68k-aout and m68k-coff support. - * configure.tgt: Likewise. - * emultempl/m68kelf.em: Likewise. - * ld.texinfo: Likewise. - * mri.c: Likewise. - * emulparams/delta68.sh: Delete. - * emulparams/hp300bsd.sh: Delete. - * emulparams/hp3hpux.sh: Delete. - * emulparams/m68k4knbsd.sh: Delete. - * emulparams/m68kaout.sh: Delete. - * emulparams/m68kaux.sh: Delete. - * emulparams/m68kcoff.sh: Delete. - * emulparams/m68klinux.sh: Delete. - * emulparams/m68knbsd.sh: Delete. - * emulparams/m68kpsos.sh: Delete. - * emulparams/sun3.sh: Delete. - * emultempl/m68kcoff.em: Delete. - * scripttempl/delta68.sc: Delete. - * scripttempl/m68kaux.sc: Delete. - * scripttempl/m68kcoff.sc: Delete. - * scripttempl/psos.sc: Delete. - * testsuite/ld-versados/t1-1.ro: Delete. - * testsuite/ld-versados/t1-2.ro: Delete. - * testsuite/ld-versados/t1.ld: Delete. - * testsuite/ld-versados/t1.ook: Delete. - * testsuite/ld-versados/t2-1.ro: Delete. - * testsuite/ld-versados/t2-2.ro: Delete. - * testsuite/ld-versados/t2-3.ro: Delete. - * testsuite/ld-versados/t2.ld: Delete. - * testsuite/ld-versados/t2.ook: Delete. - * testsuite/ld-versados/versados.exp: Delete. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove sh5 and sh64 support. - * configure.tgt: Likewise. - * ldlang.c: Likewise. - * testsuite/ld-elfcomm/elfcomm.exp: Likewise. - * testsuite/ld-gc/gc.exp: Likewise. - * testsuite/ld-gc/pr13683.d: Likewise. - * testsuite/ld-scripts/crossref.exp: Likewise. - * testsuite/ld-selective/selective.exp: Likewise. - * testsuite/ld-sh/ld-r-1.d: Likewise. - * testsuite/ld-sh/rd-sh.exp: Likewise. - * testsuite/ld-sh/sh.exp: Likewise. - * testsuite/ld-srec/srec.exp: Likewise. - * testsuite/ld-undefined/undefined.exp: Likewise. - * emulparams/shelf32.sh: Delete. - * emulparams/shelf32_linux.sh: Delete. - * emulparams/shelf32_nbsd.sh: Delete. - * emulparams/shelf64.sh: Delete. - * emulparams/shelf64_nbsd.sh: Delete. - * emulparams/shlelf32.sh: Delete. - * emulparams/shlelf32_linux.sh: Delete. - * emulparams/shlelf32_nbsd.sh: Delete. - * emulparams/shlelf64.sh: Delete. - * emulparams/shlelf64_nbsd.sh: Delete. - * emultempl/sh64elf.em: Delete. - * testsuite/ld-sh/sh64/abi32.sd: Delete. - * testsuite/ld-sh/sh64/abi32.xd: Delete. - * testsuite/ld-sh/sh64/abi64.sd: Delete. - * testsuite/ld-sh/sh64/abi64.xd: Delete. - * testsuite/ld-sh/sh64/abixx-noexp.sd: Delete. - * testsuite/ld-sh/sh64/cmpct1.sd: Delete. - * testsuite/ld-sh/sh64/cmpct1.xd: Delete. - * testsuite/ld-sh/sh64/crange-1.s: Delete. - * testsuite/ld-sh/sh64/crange-2a.s: Delete. - * testsuite/ld-sh/sh64/crange-2b.s: Delete. - * testsuite/ld-sh/sh64/crange-2c.s: Delete. - * testsuite/ld-sh/sh64/crange-2d.s: Delete. - * testsuite/ld-sh/sh64/crange-2e.s: Delete. - * testsuite/ld-sh/sh64/crange-2f.s: Delete. - * testsuite/ld-sh/sh64/crange-2g.s: Delete. - * testsuite/ld-sh/sh64/crange-2h.s: Delete. - * testsuite/ld-sh/sh64/crange-2i.s: Delete. - * testsuite/ld-sh/sh64/crange1.rd: Delete. - * testsuite/ld-sh/sh64/crange2.rd: Delete. - * testsuite/ld-sh/sh64/crange3-cmpct.rd: Delete. - * testsuite/ld-sh/sh64/crange3-media.rd: Delete. - * testsuite/ld-sh/sh64/crange3.dd: Delete. - * testsuite/ld-sh/sh64/crange3.rd: Delete. - * testsuite/ld-sh/sh64/crangerel1.rd: Delete. - * testsuite/ld-sh/sh64/crangerel2.rd: Delete. - * testsuite/ld-sh/sh64/dlsection-1.s: Delete. - * testsuite/ld-sh/sh64/dlsection.sd: Delete. - * testsuite/ld-sh/sh64/endian.dbd: Delete. - * testsuite/ld-sh/sh64/endian.dld: Delete. - * testsuite/ld-sh/sh64/endian.ld: Delete. - * testsuite/ld-sh/sh64/endian.s: Delete. - * testsuite/ld-sh/sh64/endian.sbd: Delete. - * testsuite/ld-sh/sh64/endian.sld: Delete. - * testsuite/ld-sh/sh64/gotplt.d: Delete. - * testsuite/ld-sh/sh64/gotplt.map: Delete. - * testsuite/ld-sh/sh64/gotplt.s: Delete. - * testsuite/ld-sh/sh64/init-cmpct.d: Delete. - * testsuite/ld-sh/sh64/init-media.d: Delete. - * testsuite/ld-sh/sh64/init.s: Delete. - * testsuite/ld-sh/sh64/init64.d: Delete. - * testsuite/ld-sh/sh64/mix1-noexp.sd: Delete. - * testsuite/ld-sh/sh64/mix1.sd: Delete. - * testsuite/ld-sh/sh64/mix1.xd: Delete. - * testsuite/ld-sh/sh64/mix2-noexp.sd: Delete. - * testsuite/ld-sh/sh64/mix2.sd: Delete. - * testsuite/ld-sh/sh64/mix2.xd: Delete. - * testsuite/ld-sh/sh64/rd-sh64.exp: Delete. - * testsuite/ld-sh/sh64/rel-1.s: Delete. - * testsuite/ld-sh/sh64/rel-2.s: Delete. - * testsuite/ld-sh/sh64/rel32.xd: Delete. - * testsuite/ld-sh/sh64/rel64.xd: Delete. - * testsuite/ld-sh/sh64/relax.exp: Delete. - * testsuite/ld-sh/sh64/relax1.s: Delete. - * testsuite/ld-sh/sh64/relax2.s: Delete. - * testsuite/ld-sh/sh64/relax3.s: Delete. - * testsuite/ld-sh/sh64/relax4.s: Delete. - * testsuite/ld-sh/sh64/reldl-1.s: Delete. - * testsuite/ld-sh/sh64/reldl-2.s: Delete. - * testsuite/ld-sh/sh64/reldl32.rd: Delete. - * testsuite/ld-sh/sh64/reldl64.rd: Delete. - * testsuite/ld-sh/sh64/relfail.exp: Delete. - * testsuite/ld-sh/sh64/relfail.s: Delete. - * testsuite/ld-sh/sh64/sh64-1.s: Delete. - * testsuite/ld-sh/sh64/sh64-2.s: Delete. - * testsuite/ld-sh/sh64/sh64.exp: Delete. - * testsuite/ld-sh/sh64/shcmp-1.s: Delete. - * testsuite/ld-sh/sh64/shdl-1.s: Delete. - * testsuite/ld-sh/sh64/shdl-2.s: Delete. - * testsuite/ld-sh/sh64/shdl32.xd: Delete. - * testsuite/ld-sh/sh64/shdl64.sd: Delete. - * testsuite/ld-sh/sh64/shdl64.xd: Delete. - * testsuite/ld-sh/sh64/shmix-1.s: Delete. - * testsuite/ld-sh/sh64/shmix-2.s: Delete. - * testsuite/ld-sh/sh64/shmix-3.s: Delete. - * testsuite/ld-sh/sh64/stobin-0-dso.d: Delete. - * testsuite/ld-sh/sh64/stobin-1.d: Delete. - * testsuite/ld-sh/sh64/stobin.s: Delete. - * testsuite/ld-sh/sh64/stolib.s: Delete. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove sh-symbianelf support. - * configure.tgt: Likewise. - * emulparams/shlsymbian.sh: Delete. - * scripttempl/elf32sh-symbian.sc: Delete. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove vax-bsd and vax-ultrix support. - * configure.tgt: Likewise. - * emulparams/vax.sh: Delete. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove w65 support. - * configure.tgt: Likewise. - * emulparams/w65.sh: Delete. - * scripttempl/w65.sc: Delete. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove m88k support. - * configure.host: Likewise. - * configure.tgt: Likewise. - * testsuite/ld-elf/sec-to-seg.exp: Likewise. - * emulparams/m88kbcs.sh: Delete. - * scripttempl/m88kbcs.sc: Delete. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove i370 support. - * configure.tgt: Likewise. - * testsuite/ld-elf/compressed1d.d: Likewise. - * testsuite/ld-elf/group8a.d: Likewise. - * testsuite/ld-elf/group8b.d: Likewise. - * testsuite/ld-elf/group9a.d: Likewise. - * testsuite/ld-elf/group9b.d: Likewise. - * testsuite/ld-elf/merge.d: Likewise. - * testsuite/ld-elf/pr12851.d: Likewise. - * testsuite/ld-elf/pr12975.d: Likewise. - * testsuite/ld-elf/pr13177.d: Likewise. - * testsuite/ld-elf/pr13195.d: Likewise. - * testsuite/ld-elf/pr17615.d: Likewise. - * testsuite/ld-elf/pr21562a.d: Likewise. - * testsuite/ld-elf/pr21562b.d: Likewise. - * testsuite/ld-elf/pr21562c.d: Likewise. - * testsuite/ld-elf/pr21562d.d: Likewise. - * testsuite/ld-elf/pr21562i.d: Likewise. - * testsuite/ld-elf/pr21562j.d: Likewise. - * testsuite/ld-elf/pr21562k.d: Likewise. - * testsuite/ld-elf/pr21562l.d: Likewise. - * testsuite/ld-elf/pr21562m.d: Likewise. - * testsuite/ld-elf/pr21562n.d: Likewise. - * testsuite/ld-elf/pr22677.d: Likewise. - * testsuite/lib/ld-lib.exp: Likewise. - * emulparams/elf32i370.sh: Delete. - * scripttempl/elfi370.sc: Delete. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove h8500 support. - * configure.tgt: Likewise. - * emulparams/h8500.sh: Delete. - * emulparams/h8500b.sh: Delete. - * emulparams/h8500c.sh: Delete. - * emulparams/h8500m.sh: Delete. - * emulparams/h8500s.sh: Delete. - * scripttempl/h8500.sc: Delete. - * scripttempl/h8500b.sc: Delete. - * scripttempl/h8500c.sc: Delete. - * scripttempl/h8500m.sc: Delete. - * scripttempl/h8500s.sc: Delete. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove h8300-coff support. - * configure.tgt: Likewise. - * testsuite/ld-h8300/h8300.exp: Likewise. - * emulparams/h8300.sh: Delete. - * emulparams/h8300h.sh: Delete. - * emulparams/h8300hn.sh: Delete. - * emulparams/h8300s.sh: Delete. - * emulparams/h8300sn.sh: Delete. - * emulparams/h8300sx.sh: Delete. - * emulparams/h8300sxn.sh: Delete. - * scripttempl/h8300.sc: Delete. - * scripttempl/h8300h.sc: Delete. - * scripttempl/h8300hn.sc: Delete. - * scripttempl/h8300s.sc: Delete. - * scripttempl/h8300sn.sc: Delete. - * scripttempl/h8300sx.sc: Delete. - * scripttempl/h8300sxn.sc: Delete. - * testsuite/ld-h8300/relax-3-coff.d: Delete. - * testsuite/ld-h8300/relax-4-coff.d: Delete. - * testsuite/ld-h8300/relax-5-coff.d: Delete. - * testsuite/ld-h8300/relax-6-coff.d: Delete. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * ld.texinfo: Remove IEEE 695 support. - * mri.c: Likewise. - -2018-04-16 Alan Modra - - * Makefile.am: Remove tandem support. - * configure.tgt: Likewise. - * emulparams/st2000.sh: Delete. - * scripttempl/st2000.sc: Delete. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove newsos3 support. - * configure.tgt: Likewise. - * emulparams/news.sh: Delete. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove netware support. - * configure.tgt: Likewise. - * testsuite/ld-powerpc/powerpc.exp: Likewise. - * emulparams/i386nw.sh: Delete. - * emulparams/ppcnw.sh: Delete. - * scripttempl/nw.sc: Delete. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-14 Alan Modra - - * ldmain.c (main): Move config.maxpagesize and - config.commonpagesize initialization to.. - * ldemul.c (after_parse_default): ..here. - * testsuite/ld-powerpc/ppc476-shared.d: Pass -z common-page-size. - * testsuite/ld-powerpc/ppc476-shared2.d: Likewise. - -2018-04-14 Alan Modra - - * emulparams/elf32ppcwindiss.sh: Rewrite to use elf32ppc.sh. - * emulparams/ppclynx.sh: Likewise. - -2018-04-11 Alan Modra - - * emulparams/coff_i860.sh: Delete. - * emulparams/elf32_i860.sh: Delete. - * emulparams/elf32_i960.sh: Delete. - * emulparams/gld960.sh: Delete. - * emulparams/gld960coff.sh: Delete. - * emulparams/lnk960.sh: Delete. - * emultempl/gld960.em: Delete. - * emultempl/gld960c.em: Delete. - * emultempl/lnk960.em: Delete. - * scripttempl/i860coff.sc: Delete. - * scripttempl/i960.sc: Delete. - * ld.texinfo: Remove i960 support. - * Makefile.am: Remove i860 and i960 support. - * configure.tgt: Likewise. - * testsuite/ld-discard/extern.d: Likewise. - * testsuite/ld-discard/start.d: Likewise. - * testsuite/ld-discard/static.d: Likewise. - * testsuite/ld-elf/compressed1d.d: Likewise. - * testsuite/ld-elf/group1.d: Likewise. - * testsuite/ld-elf/group3b.d: Likewise. - * testsuite/ld-elf/group8a.d: Likewise. - * testsuite/ld-elf/group8b.d: Likewise. - * testsuite/ld-elf/group9a.d: Likewise. - * testsuite/ld-elf/group9b.d: Likewise. - * testsuite/ld-elf/linkonce2.d: Likewise. - * testsuite/ld-elf/merge.d: Likewise. - * testsuite/ld-elf/merge2.d: Likewise. - * testsuite/ld-elf/merge3.d: Likewise. - * testsuite/ld-elf/orphan-10.d: Likewise. - * testsuite/ld-elf/orphan-11.d: Likewise. - * testsuite/ld-elf/orphan-12.d: Likewise. - * testsuite/ld-elf/orphan-9.d: Likewise. - * testsuite/ld-elf/orphan-region.d: Likewise. - * testsuite/ld-elf/orphan.d: Likewise. - * testsuite/ld-elf/orphan3.d: Likewise. - * testsuite/ld-elf/pr12851.d: Likewise. - * testsuite/ld-elf/pr12975.d: Likewise. - * testsuite/ld-elf/pr13177.d: Likewise. - * testsuite/ld-elf/pr13195.d: Likewise. - * testsuite/ld-elf/pr17550a.d: Likewise. - * testsuite/ld-elf/pr17550b.d: Likewise. - * testsuite/ld-elf/pr17550c.d: Likewise. - * testsuite/ld-elf/pr17550d.d: Likewise. - * testsuite/ld-elf/pr17615.d: Likewise. - * testsuite/ld-elf/pr20528a.d: Likewise. - * testsuite/ld-elf/pr20528b.d: Likewise. - * testsuite/ld-elf/pr21562a.d: Likewise. - * testsuite/ld-elf/pr21562b.d: Likewise. - * testsuite/ld-elf/pr21562c.d: Likewise. - * testsuite/ld-elf/pr21562d.d: Likewise. - * testsuite/ld-elf/pr21562i.d: Likewise. - * testsuite/ld-elf/pr21562j.d: Likewise. - * testsuite/ld-elf/pr21562k.d: Likewise. - * testsuite/ld-elf/pr21562l.d: Likewise. - * testsuite/ld-elf/pr21562m.d: Likewise. - * testsuite/ld-elf/pr21562n.d: Likewise. - * testsuite/ld-elf/pr22677.d: Likewise. - * testsuite/ld-elf/pr22836-1a.d: Likewise. - * testsuite/ld-elf/pr22836-1b.d: Likewise. - * testsuite/ld-elf/pr349.d: Likewise. - * testsuite/ld-elf/sec-to-seg.exp: Likewise. - * testsuite/ld-elf/sec64k.exp: Likewise. - * testsuite/ld-elf/warn1.d: Likewise. - * testsuite/ld-elf/warn2.d: Likewise. - * testsuite/ld-elf/warn3.d: Likewise. - * testsuite/lib/ld-lib.exp: Likewise. - * Makefile.in: Regenerate. - * po/BLD-POTFILES.in: Regenerate. - -2018-04-11 Alan Modra - - * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Add -mpic for nds32. - -2018-04-09 Alan Modra - - * po/BLD-POTFILES.in: Regenerate. - -2018-04-09 Alan Modra - - * emultempl/ppc64elf.em (no_inline_plt): New var. - (ppc_before_allocation): Call ppc64_elf_inline_plt. - (enum ppc64_opt): Add OPTION_NO_INLINE_OPT. - (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, - PARSE_AND_LIST_ARGS_CASES): Handle --no-inline-optimize. - * emultemps/ppc32elf.em (no_inline_opt): New var. - (prelim_size_sections): New function, extracted from.. - (ppc_before_allocation): ..here. Call ppc_elf_inline_plt. - (enum ppc32_opt): Add OPTION_NO_INLINE_OPT. - (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, - PARSE_AND_LIST_ARGS_CASES): Handle --no-inline-optimize. - -2018-04-09 Alan Modra - - * emulparams/elf32ppc.sh (OTHER_RELRO_SECTIONS_2): Add .branch_lt. - (OTHER_GOT_RELOC_SECTIONS): Add .rela.branch_lt. - * testsuite/ld-powerpc/elfv2so.d: Update for symbol/stub reordering. - * testsuite/ld-powerpc/relbrlt.d: Likewise. - * testsuite/ld-powerpc/relbrlt.s: Likewise. - * testsuite/ld-powerpc/tlsso.r: Likewise. - * testsuite/ld-powerpc/tlstocso.r: Likewise. - -2018-04-09 Alan Modra - - * ppc32elf.em (ppc_finish): Call ppc_finish_symbols. - -2018-04-05 H.J. Lu - - PR gas/22318 - * configure: Regenerated. - -2018-04-05 Nick Clifton - - PR 23030 - * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Make sure - that the .IA_64.unwind_info and .IA_64.unwind sections are not - subject to garbage collection. - -2018-04-04 Eric Botcazou - - * deffile.h (def_file_add_import_from): Declare. - (def_file_add_import_at): Likewise. - * deffilep.y (fill_in_import): New function extracted from... - (def_file_add_import): ...here. Call it. - (def_file_add_import_from): New function. - (def_file_add_import_at): Likewise. - * pe-dll.c (pe_implied_import_dll): Use an optimized version of the - insertion loop for imported symbols if possible. - -2018-04-04 Eric Botcazou - - * emultempl/pe.em (U_SIZE): Delete. - (pe_data_import_dll): Likewise. - (make_import_fixup): Return void, take 4th parameter and pass it down - in call to pe_create_import_fixup. - (pe_find_data_imports): Move to... - (gld_${EMULATION_NAME}_after_open): Run the stdcall fixup pass after - the auto-import pass and add a guard before running the latter. - * emultempl/pep.em (U_SIZE): Delete. - (pep_data_import_dll): Likewise. - (make_import_fixup): Return void, take 4th parameter and pass it down - in call to pe_create_import_fixup. - (pep_find_data_imports): Move to... - (gld_${EMULATION_NAME}_after_open): Run the stdcall fixup pass after - the auto-import pass and add a guard before running the latter. - * pe-dll.c (runtime_pseudp_reloc_v2_init): Change type to bfd_boolean. - (pe_walk_relocs_of_symbol): Rename into... - (pe_walk_relocs): ...this. Add 2 more parameters,4th parameter to the - callback prototype and pass 4th parameter in calls to the callback. - If the import hash table is present, invoke the callback on the reloc - if the symbol name is in the table. - (pe_find_data_imports): ...here. Take 2 parameters. Build an import - hash table for the pseudo-relocation support version 2. When it is - built, walk the relocations only once at the end; when it is not, do - not build a fixup when the symbol isn't part of an import table. - Issue the associated warning only after a first fixup is built. - (tmp_seq2): Delete. - (make_singleton_name_imp): Likewise. - (make_import_fixup_mark): Return const char * and a stable string. - (make_import_fixup_entry): Do not deal with the pseudo-relocation - support version 2. - (make_runtime_pseudo_reloc): Factor out code and fix formatting. - (pe_create_import_fixup): Add 5th parameter. Clearly separate the - pseudo-relocation support version 2 from the rest. Fix formatting. - * pe-dll.h (pe_walk_relocs_of_symbol): Delete. - (pe_find_data_imports): Declare. - (pe_create_import_fixup): Add 5th parameter. - * pep-dll.c (pe_data_import_dll): Delete. - (pe_find_data_imports): Define. - (pe_walk_relocs_of_symbol): Delete. - * pep-dll.h (pep_walk_relocs_of_symbol): Delete. - (pep_find_data_imports): Declare. - (pep_create_import_fixup): Add 5th parameter. - * ld.texinfo (--enable-auto-import): Adjust to new implementation. - -2018-04-04 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2018-04-03 Maciej W. Rozycki - - * testsuite/ld-mips-elf/comm-data.exp: Correct support for - `mips*-*-kfreebsd*-gnu' targets. - -2018-03-23 Renlin Li - - PR ld/22970 - * testsuite/ld-aarch64/aarch64-elf.exp: Update to run new tests. - * testsuite/ld-aarch64/emit-relocs-552-overflow.d: New. - * testsuite/ld-aarch64/emit-relocs-552-overflow.s: New. - * testsuite/ld-aarch64/emit-relocs-552.d: New. - * testsuite/ld-aarch64/emit-relocs-552.s: New. - * testsuite/ld-aarch64/emit-relocs-553.d: New. - * testsuite/ld-aarch64/emit-relocs-553.s: New. - * testsuite/ld-aarch64/emit-relocs-554-overflow.d: New. - * testsuite/ld-aarch64/emit-relocs-554-overflow.s: New. - * testsuite/ld-aarch64/emit-relocs-554.d: New. - * testsuite/ld-aarch64/emit-relocs-554.s: New. - * testsuite/ld-aarch64/emit-relocs-555.d: New. - * testsuite/ld-aarch64/emit-relocs-555.s: New. - * testsuite/ld-aarch64/emit-relocs-556-overflow.d: New. - * testsuite/ld-aarch64/emit-relocs-556-overflow.s: New. - * testsuite/ld-aarch64/emit-relocs-556.d: New. - * testsuite/ld-aarch64/emit-relocs-556.s: New. - * testsuite/ld-aarch64/emit-relocs-557.d: New. - * testsuite/ld-aarch64/emit-relocs-557.s: New. - * testsuite/ld-aarch64/emit-relocs-558-overflow.d: New. - * testsuite/ld-aarch64/emit-relocs-558-overflow.s: New. - * testsuite/ld-aarch64/emit-relocs-558.d: New. - * testsuite/ld-aarch64/emit-relocs-558.s: New. - * testsuite/ld-aarch64/emit-relocs-559.d: New. - * testsuite/ld-aarch64/emit-relocs-559.s: New. - * testsuite/ld-aarch64/emit-relocs-112-overflow.d: New. - * testsuite/ld-aarch64/emit-relocs-112-overflow.s: New. - * testsuite/ld-aarch64/emit-relocs-112.d: New. - * testsuite/ld-aarch64/emit-relocs-112.s: New. - * testsuite/ld-aarch64/emit-relocs-113.d: New. - * testsuite/ld-aarch64/emit-relocs-113.s: New. - * testsuite/ld-aarch64/emit-relocs-114-overflow.d: New. - * testsuite/ld-aarch64/emit-relocs-114-overflow.s: New. - * testsuite/ld-aarch64/emit-relocs-114.d: New. - * testsuite/ld-aarch64/emit-relocs-114.s: New. - * testsuite/ld-aarch64/emit-relocs-115.d: New. - * testsuite/ld-aarch64/emit-relocs-115.s: New. - * testsuite/ld-aarch64/emit-relocs-116-overflow.d: New. - * testsuite/ld-aarch64/emit-relocs-116-overflow.s: New. - * testsuite/ld-aarch64/emit-relocs-116.d: New. - * testsuite/ld-aarch64/emit-relocs-116.s: New. - * testsuite/ld-aarch64/emit-relocs-117.d: New. - * testsuite/ld-aarch64/emit-relocs-117.s: New. - * testsuite/ld-aarch64/emit-relocs-118-overflow.d: New. - * testsuite/ld-aarch64/emit-relocs-118-overflow.s: New. - * testsuite/ld-aarch64/emit-relocs-118.d: New. - * testsuite/ld-aarch64/emit-relocs-118.s: New. - * testsuite/ld-aarch64/emit-relocs-119.d: New. - * testsuite/ld-aarch64/emit-relocs-119.s: New. - -2018-03-28 Eric Botcazou - - PR ld/22972 - * testsuite/ld-sparc/sparc.exp: Add test for mixed GOTDATA/GOT relocs. - * testsuite/ld-sparc/gotop-hidden.c: New file. - * testsuite/ld-sparc/got-hidden32.s: Likewise. - * testsuite/ld-sparc/got-hidden64.s: Likewise. - * testsuite/ld-sparc/pass.out: Likewise. - -2018-03-25 H.J. Lu - - PR ld/23000 - * testsuite/ld-x86-64/tlsdesc.pd: Updated. - -2018-03-23 Nick Clifton - - PR 22948 - * emultempl/pe.em (open_dynamic_archive): Add libXXX.lib template - to library name list. - * emultempl/pep.em (open_dynamic_archive): Likewise. - * ld.texinfo (WIN32): Update documentation. - -2018-03-20 Roland McGrath - - * testsuite/ld-elf/shared.exp (pr20995-2): XFAIL on aarch64*-*-elf*, - another target without RELRO. - -2018-03-20 H.J. Lu - - * testsuite/ld-plugin/pr22983.d: Allow leading underscore as - well as extra lines between symbols. - -2018-03-20 Maciej W. Rozycki - - * testsuite/ld-gc/gc.exp: Remove extraneous LD flags from the - personality test. - -2018-03-20 H.J. Lu - - PR ld/22983 - * testsuite/ld-plugin/lto.exp: Run PR ld/22983 test. - * testsuite/ld-plugin/pr22983.d: New file. - * testsuite/ld-plugin/pr22983.t: Likewise. - * testsuite/ld-plugin/pr22983a.c: Likewise. - * testsuite/ld-plugin/pr22983b.c: Likewise. - -2018-03-15 Andreas Schwab - - PR ld/22949 - * emultempl/riscvelf.em (riscv_elf_before_allocation): Don't - enable relaxation in relocatable link. - -2018-03-15 Kuan-Lin Chen - - * emultempl/nds32elf.em (nds32_elf_after_allocation): Remove - unsupported target feature. - -2018-03-14 H.J. Lu - - PR ld/20882 - * testsuite/ld-gc/pr20882.d: Also dump and check .debug_abbrev - section. - * testsuite/ld-gc/pr20882b.s: Add .debug_abbrev section. - -2018-03-14 H.J. Lu - - * testsuite/ld-gc/gc.exp: Fix a typo: $LFLAGS -> $LDFLAGS. - -2018-03-13 Nick Clifton - - * po/pt_BR.po: Updated Brazilian Portuguese translation. - -2018-03-09 Nick Clifton - - * testsuite/ld-ifunc/ifuncmod5.s: New test. Checks that targets - that support IFUNC symbols can handle relocations against those - symbols in NOTE sections. - * testsuite/ld-ifunc/ifuncmod5.d: New file: Driver for the new - test. - * testsuite/ld-ifunc/ifunc.exp: Run the new test. - -2018-03-08 H.J. Lu - - PR ld/22929 - * testsuite/ld-i386/i386.exp: Run PR ld/22929 test. - * testsuite/ld-x86-64/x86-64.exp: Likewise. - * testsuite/ld-i386/pr22929.d: New file. - * testsuite/ld-i386/pr22929.s: Likewise. - * testsuite/ld-x86-64/pr22929.d: Likewise. - * testsuite/ld-x86-64/pr22929.s: Likewise. - -2018-03-07 Max Filippov - - * emulparams/elf32xtensa.sh (COMMONPAGESIZE): Define. - -2018-03-07 Renlin Li - - PR ld/20402 - * testsuite/ld-aarch64/aarch64-elf.exp: Run new test. - * testsuite/ld-aarch64/pr20402.s: New. - * testsuite/ld-aarch64/pr20402.d: New. - -2018-03-06 Jim Wilson - - PR 22920 - * emultempl/riscvelf.em (riscv_create_output_section_statements): New. - (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): New. - * testsuite/ld-elf/pr21884.d (#notarget): Add riscv*-*-*. - * testsuite/ld-unique/pr21529.d (#notarget): Likewise. - * testsuite/ld-srec/srec.exp (run_srec_test): For riscv*-*-* target, - call setup_xfail. - -2018-03-03 James Cowgill - Maciej W. Rozycki - - PR ld/21900 - * testsuite/ld-mips-elf/undefined-warn.d: New test. - * testsuite/ld-mips-elf/undefined.s: Add padding at the end. - * testsuite/ld-mips-elf/mips-elf.exp: Run the new test. - -2018-03-02 Jim Wilson - - PR 22903 - * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section): - Give stub_sec 8 byte alignment. - * emulparams/aarch64cloudabi.sh (NOP): Set to 0x1f2003d5. - * emulparams/aarch64elf.sh (NOP): Likewise. - * emulparams/aarch64elf32.sh (NOP): Likewise. - * emulparams/aarch64fbsd.sh (NOP): Likewise. - * emulparams/aarch64linux.sh (NOP): Likewise. - * emulparams/aarch64linux32.sh (NOP): Likewise. - * testsuite/ld-aarch64/erratum835769.d: Adjust for added nop. - * testsuite/ld-aarch64/erratum843419.d: Likewise. - * testsuite/ld-aarch64/farcall-b-defsym.d: Likewise. - * testsuite/ld-aarch64/farcall-b-none-function.d: Likewise. - * testsuite/ld-aarch64/farcall-b-plt.d: Likewise. - * testsuite/ld-aarch64/farcall-b-section.d: Likewise. - * testsuite/ld-aarch64/farcall-b.d: Likewise. - * testsuite/ld-aarch64/farcall-back.d: Likewise. - * testsuite/ld-aarch64/farcall-bl-defsym.d: Likewise. - * testsuite/ld-aarch64/farcall-bl-none-function.d: Likewise. - * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise. - * testsuite/ld-aarch64/farcall-bl-section.d: Likewise. - * testsuite/ld-aarch64/farcall-bl.d: Likewise. - -2018-03-01 Alan Modra - - * configure.ac (ALL_LINGUAS): Add ja. Sort. - * configure: Regenerate. - -2018-02-28 Douglas B Rupp - - * ldmain.c (main): Remove directory separator, if any, from the - end of the canonicalized sysroot. - -2018-02-27 H.J. Lu - - * NEWS: Mention --enable-separate-code. - * configure.ac: Add --enable-separate-code. - (DEFAULT_LD_Z_SEPARATE_CODE): New AC_DEFINE_UNQUOTED. - * configure.tgt: Default ac_default_ld_z_separate_code to 1 for - Linux/x86 targets. - * config.in: Regenerated. - * configure: Likewise. - * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set - link_info.separate_code DEFAULT_LD_Z_SEPARATE_CODE. - -2018-02-26 Alan Modra - - * emulparams/call_nop.sh, * emulparams/cet.sh, - * emulparams/elf32mcore.sh, * emultempl/aarch64elf.em - * emultempl/aix.em, * emultempl/alphaelf.em, * emultempl/armcoff.em, - * emultempl/armelf.em, * emultempl/avrelf.em, * emultempl/beos.em, - * emultempl/bfin.em, * emultempl/cr16elf.em, * emultempl/elf32.em, - * emultempl/elf-generic.em, * emultempl/hppaelf.em, - * emultempl/linux.em, * emultempl/lnk960.em, - * emultempl/m68hc1xelf.em, * emultempl/m68kcoff.em, - * emultempl/m68kelf.em, * emultempl/metagelf.em, - * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em, - * emultempl/mmo.em, * emultempl/msp430.em, * emultempl/nds32elf.em, - * emultempl/nios2elf.em, * emultempl/pe.em, * emultempl/pep.em, - * emultempl/ppc32elf.em, * emultempl/ppc64elf.em, - * emultempl/scoreelf.em, * emultempl/sh64elf.em, - * emultempl/spuelf.em, * emultempl/sunos.em, * emultempl/tic6xdsbt.em, - * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em, - * emultempl/vxworks.em, * emultempl/xtensaelf.em, * ldcref.c, - * ldctor.c, * ldexp.c, * ldfile.c, * ldgram.y, * ldlang.c, - * ldmain.c, * ldmisc.c, * ldwrite.c, * lexsup.c, * mri.c, * pe-dll.c, - * plugin.c: Standardize error/warning messages. - * testsuite/ld-arc/jli-overflow.err, - * testsuite/ld-arm/cmse-implib-errors.out, - * testsuite/ld-arm/cmse-new-earlier-later-implib.out, - * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out, - * testsuite/ld-arm/cmse-new-wrong-implib.out, - * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out, - * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out, - * testsuite/ld-arm/vxworks1-static.d, - * testsuite/ld-cris/tls-err-20x.d, * testsuite/ld-cris/tls-err-29.d, - * testsuite/ld-cris/tls-err-31.d, * testsuite/ld-cris/tls-err-33.d, - * testsuite/ld-cris/tls-err-35.d, * testsuite/ld-cris/tls-err-37.d, - * testsuite/ld-cris/tls-err-39.d, * testsuite/ld-cris/tls-err-41.d, - * testsuite/ld-cris/tls-err-43.d, * testsuite/ld-cris/tls-err-45.d, - * testsuite/ld-cris/tls-err-47.d, * testsuite/ld-cris/tls-err-49.d, - * testsuite/ld-cris/tls-err-51.d, * testsuite/ld-cris/tls-err-67.d, - * testsuite/ld-elf/dwarf2.err, * testsuite/ld-elf/dwarf3.err, - * testsuite/ld-elf/orphan-5.l, * testsuite/ld-elf/orphan-6.l, - * testsuite/ld-i386/vxworks1-static.d, - * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d, - * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d, - * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d, - * testsuite/ld-mips-elf/bal-jalx-pic-n32.d, - * testsuite/ld-mips-elf/bal-jalx-pic-n64.d, - * testsuite/ld-mips-elf/bal-jalx-pic.d, - * testsuite/ld-mips-elf/jal-global-overflow-1.d, - * testsuite/ld-mips-elf/jal-local-overflow-1.d, - * testsuite/ld-mips-elf/mode-change-error-1.d, - * testsuite/ld-mips-elf/unaligned-branch-2.d, - * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d, - * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d, - * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d, - * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d, - * testsuite/ld-mips-elf/unaligned-branch-micromips.d, - * testsuite/ld-mips-elf/unaligned-branch-mips16.d, - * testsuite/ld-mips-elf/unaligned-branch-r6-1.d, - * testsuite/ld-mips-elf/unaligned-branch-r6-2.d, - * testsuite/ld-mips-elf/unaligned-branch.d, - * testsuite/ld-mips-elf/unaligned-jalx-1.d, - * testsuite/ld-mips-elf/unaligned-jalx-3.d, - * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d, - * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d, - * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d, - * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d, - * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d, - * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d, - * testsuite/ld-mips-elf/unaligned-jump-micromips.d, - * testsuite/ld-mips-elf/unaligned-jump-mips16.d, - * testsuite/ld-mips-elf/unaligned-jump.d, - * testsuite/ld-mips-elf/unaligned-ldpc-1.d, - * testsuite/ld-mips-elf/unaligned-lwpc-1.d, - * testsuite/ld-mips-elf/undefined.d, - * testsuite/ld-mips-elf/vxworks1-static.d, - * testsuite/ld-mmix/bpo-20.d, * testsuite/ld-mmix/bpo-20m.d, - * testsuite/ld-mmix/bpo-7.d, * testsuite/ld-mmix/bpo-7m.d, - * testsuite/ld-mmix/bpo-8.d, * testsuite/ld-mmix/bpo-8m.d, - * testsuite/ld-mmix/greg-17.d, * testsuite/ld-mmix/greg-18.d, - * testsuite/ld-mmix/greg-8.d, * testsuite/ld-mmix/greg-9.d, - * testsuite/ld-plugin/plugin-14.d, * testsuite/ld-plugin/plugin-15.d, - * testsuite/ld-plugin/plugin-16.d, * testsuite/ld-plugin/plugin-20.d, - * testsuite/ld-plugin/plugin-21.d, * testsuite/ld-plugin/plugin-22.d, - * testsuite/ld-plugin/plugin-23.d, * testsuite/ld-plugin/plugin-6.d, - * testsuite/ld-plugin/plugin-7.d, * testsuite/ld-plugin/plugin-8.d, - * testsuite/ld-powerpc/aix-weak-3-32.d, - * testsuite/ld-powerpc/aix-weak-3-64.d, - * testsuite/ld-powerpc/vxworks1-static.d, - * testsuite/ld-sh/vxworks1-static.d, - * testsuite/ld-sparc/vxworks1-static.d, - * testsuite/ld-undefined/undefined.exp, - * testsuite/ld-x86-64/pie1.d: Update for changed errors and warnings. - * testsuite/ld-elf/warn1.d, * testsuite/ld-elf/warn2.d: Correct regex. - -2018-02-26 Alan Modra - - * Makefile.am (EMULATION_FILES, POTFILES): Delete. - (SRC_POTFILES, BLD_POTFILES): Define. - (po/POTFILES.in): Delete rule. - (po/SRC-POTFILES.in, po/BLD-POTFILES.in): New rules. - * configure.ac: Add AC_CONFIG_COMMANDS to create po/Makefile. - * po/Make-in (DISTFILES): Remove POTFILES.in, add SRC-POTFILES.in - and BLD-POTFILES.in. - (POTFILES): Delete. - (SRC-POTFILES, BLD-POTFILES): Define place marker. - (ld.pot): Build from SRC-POTFILES plus BLD-POTFILES. - (distclean, maintainer-clean): Tidy up new files. - (POTFILES, POTFILES.in): Delete rules. - (SRC-POTFILES, BLD-POTFILES, SRC-POTFILES.in, BLD-POTFILES.in): - New rules. - (Makefile): Depend on SRC-POTFILES and BLD-POTFILES. - * po/SRC-POTFILES.in: Rename from po/POTFILES.in. - * po/BLD-POTFILES.in: New file. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2018-02-26 Alan Modra - - * testsuite/ld-cris/pcrelcp-1.d, - * testsuite/ld-mmix/start-2.d: Update. - -2018-02-26 Alan Modra - - * testsuite/ld-arm/cmse-implib-errors.out, - * testsuite/ld-arm/cmse-new-earlier-later-implib.out, - * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out, - * testsuite/ld-arm/cmse-new-wrong-implib.out, - * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out, - * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out, - * testsuite/ld-cris/badgotr1.d, - * testsuite/ld-cris/tls-err-24.d, - * testsuite/ld-cris/tls-err-25.d, - * testsuite/ld-cris/tls-err-26.d, - * testsuite/ld-cris/tls-err-27.d, - * testsuite/ld-cris/tls-err-28.d, - * testsuite/ld-cris/tls-err-40.d, - * testsuite/ld-cris/tls-err-44.d, - * testsuite/ld-cris/tls-err-48.d, - * testsuite/ld-cris/tls-err-52.d, - * testsuite/ld-cris/tls-err-53.d, - * testsuite/ld-cris/tls-err-55.d, - * testsuite/ld-cris/tls-err-56.d, - * testsuite/ld-cris/tls-err-62.d, - * testsuite/ld-cris/tls-err-65.d, - * testsuite/ld-cris/tls-err-77.d, - * testsuite/ld-elf/empty-implib.out, - * testsuite/ld-elf/indirect.exp: Update. - -2018-02-26 Alan Modra - - * testsuite/ld-aarch64/reloc-overflow-bad.d, - * testsuite/ld-arm/attr-merge-9.out, - * testsuite/ld-arm/attr-merge-arch-2.d, - * testsuite/ld-arm/attr-merge-unknown-1.d, - * testsuite/ld-arm/attr-merge-unknown-2.d, - * testsuite/ld-arm/attr-merge-unknown-2r.d, - * testsuite/ld-arm/attr-merge-unknown-3.d, - * testsuite/ld-arm/cmse-implib-errors.out, - * testsuite/ld-arm/cmse-new-earlier-later-implib.out, - * testsuite/ld-arm/cmse-new-implib-no-output.out, - * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out, - * testsuite/ld-arm/cmse-new-implib.out, - * testsuite/ld-arm/cmse-new-wrong-implib.out, - * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out, - * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out, - * testsuite/ld-arm/group-relocs-alu-bad-2.d, - * testsuite/ld-arm/group-relocs-alu-bad.d, - * testsuite/ld-arm/group-relocs-ldc-bad-2.d, - * testsuite/ld-arm/group-relocs-ldc-bad.d, - * testsuite/ld-arm/group-relocs-ldr-bad-2.d, - * testsuite/ld-arm/group-relocs-ldr-bad.d, - * testsuite/ld-arm/group-relocs-ldrs-bad-2.d, - * testsuite/ld-arm/group-relocs-ldrs-bad.d, - * testsuite/ld-arm/stm32l4xx-cannot-fix-far-ldm.d: Update. - -2018-02-26 Alan Modra - - * testsuite/ld-mips-elf/attr-gnu-4-12.d, - * testsuite/ld-mips-elf/attr-gnu-4-13.d, - * testsuite/ld-mips-elf/attr-gnu-4-14.d, - * testsuite/ld-mips-elf/attr-gnu-4-16.d, - * testsuite/ld-mips-elf/attr-gnu-4-17.d, - * testsuite/ld-mips-elf/attr-gnu-4-18.d, - * testsuite/ld-mips-elf/attr-gnu-4-19.d, - * testsuite/ld-mips-elf/attr-gnu-4-21.d, - * testsuite/ld-mips-elf/attr-gnu-4-23.d, - * testsuite/ld-mips-elf/attr-gnu-4-24.d, - * testsuite/ld-mips-elf/attr-gnu-4-25.d, - * testsuite/ld-mips-elf/attr-gnu-4-26.d, - * testsuite/ld-mips-elf/attr-gnu-4-27.d, - * testsuite/ld-mips-elf/attr-gnu-4-28.d, - * testsuite/ld-mips-elf/attr-gnu-4-29.d, - * testsuite/ld-mips-elf/attr-gnu-4-31.d, - * testsuite/ld-mips-elf/attr-gnu-4-32.d, - * testsuite/ld-mips-elf/attr-gnu-4-34.d, - * testsuite/ld-mips-elf/attr-gnu-4-35.d, - * testsuite/ld-mips-elf/attr-gnu-4-36.d, - * testsuite/ld-mips-elf/attr-gnu-4-37.d, - * testsuite/ld-mips-elf/attr-gnu-4-38.d, - * testsuite/ld-mips-elf/attr-gnu-4-39.d, - * testsuite/ld-mips-elf/attr-gnu-4-41.d, - * testsuite/ld-mips-elf/attr-gnu-4-42.d, - * testsuite/ld-mips-elf/attr-gnu-4-43.d, - * testsuite/ld-mips-elf/attr-gnu-4-45.d, - * testsuite/ld-mips-elf/attr-gnu-4-46.d, - * testsuite/ld-mips-elf/attr-gnu-4-47.d, - * testsuite/ld-mips-elf/attr-gnu-4-48.d, - * testsuite/ld-mips-elf/attr-gnu-4-49.d, - * testsuite/ld-mips-elf/attr-gnu-4-52.d, - * testsuite/ld-mips-elf/attr-gnu-4-53.d, - * testsuite/ld-mips-elf/attr-gnu-4-54.d, - * testsuite/ld-mips-elf/attr-gnu-4-58.d, - * testsuite/ld-mips-elf/attr-gnu-4-59.d, - * testsuite/ld-mips-elf/attr-gnu-4-61.d, - * testsuite/ld-mips-elf/attr-gnu-4-62.d, - * testsuite/ld-mips-elf/attr-gnu-4-63.d, - * testsuite/ld-mips-elf/attr-gnu-4-64.d, - * testsuite/ld-mips-elf/attr-gnu-4-68.d, - * testsuite/ld-mips-elf/attr-gnu-4-69.d, - * testsuite/ld-mips-elf/attr-gnu-4-71.d, - * testsuite/ld-mips-elf/attr-gnu-4-72.d, - * testsuite/ld-mips-elf/attr-gnu-4-73.d, - * testsuite/ld-mips-elf/attr-gnu-4-74.d, - * testsuite/ld-mips-elf/attr-gnu-4-78.d, - * testsuite/ld-mips-elf/attr-gnu-4-79.d, - * testsuite/ld-mips-elf/attr-gnu-4-81.d, - * testsuite/ld-mips-elf/attr-gnu-4-89.d, - * testsuite/ld-mips-elf/attr-gnu-8-12.d, - * testsuite/ld-mips-elf/attr-gnu-8-21.d, - * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d, - * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d, - * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d, - * testsuite/ld-mips-elf/bal-jalx-pic-n32.d, - * testsuite/ld-mips-elf/bal-jalx-pic-n64.d, - * testsuite/ld-mips-elf/bal-jalx-pic.d, - * testsuite/ld-mips-elf/mode-change-error-1.d, - * testsuite/ld-mips-elf/unaligned-branch-2.d, - * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d, - * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d, - * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d, - * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d, - * testsuite/ld-mips-elf/unaligned-branch-micromips.d, - * testsuite/ld-mips-elf/unaligned-branch-mips16.d, - * testsuite/ld-mips-elf/unaligned-branch-r6-1.d, - * testsuite/ld-mips-elf/unaligned-branch-r6-2.d, - * testsuite/ld-mips-elf/unaligned-branch.d, - * testsuite/ld-mips-elf/unaligned-jalx-1.d, - * testsuite/ld-mips-elf/unaligned-jalx-3.d, - * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d, - * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d, - * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d, - * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d, - * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d, - * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d, - * testsuite/ld-mips-elf/unaligned-jump-micromips.d, - * testsuite/ld-mips-elf/unaligned-jump-mips16.d, - * testsuite/ld-mips-elf/unaligned-jump.d: Update. - -2018-02-26 Alan Modra - - * testsuite/ld-elf/indirect.exp, - * testsuite/ld-elf/pr22649-2ab-mips.msg, - * testsuite/ld-elf/pr22649-2cd-mips.msg, - * testsuite/ld-elf/pr22649.msg, - * testsuite/ld-elf/tls_common.exp, - * testsuite/ld-elfcomm/elfcomm.exp, - * testsuite/ld-arm/attr-merge-incompatible.d, - * testsuite/ld-tic6x/attr-compatibility-gnu-other.d, - * testsuite/ld-tic6x/attr-compatibility-other-gnu.d, - * testsuite/ld-tic6x/attr-compatibility-other-other.d, - * testsuite/ld-i386/warn1.d: Update expected error/warning messages. - -2018-02-26 Alan Modra - - * testsuite/ld-powerpc/attr-gnu-12-21.d, - * testsuite/ld-powerpc/attr-gnu-4-12.d, - * testsuite/ld-powerpc/attr-gnu-4-13.d, - * testsuite/ld-powerpc/attr-gnu-4-21.d, - * testsuite/ld-powerpc/attr-gnu-4-23.d, - * testsuite/ld-powerpc/attr-gnu-4-31.d, - * testsuite/ld-powerpc/attr-gnu-4-32.d, - * testsuite/ld-powerpc/attr-gnu-8-23.d: Update. - -2018-02-21 Alan Modra - - * testsuite/ld-elf/group8b.d: Run test on ia64. Use xfail rather - than notarget. - * testsuite/ld-elf/pr12851.d: Likewise. - * testsuite/ld-elf/pr12975.d: Likewise. - * testsuite/ld-elf/pr13177.d: Likewise. - * testsuite/ld-elf/pr13195.d: Likewise. - * testsuite/ld-elf/pr17615.d: Likewise. - * testsuite/ld-elf/pr21562a.d: Likewise. - * testsuite/ld-elf/pr21562b.d: Likewise. - * testsuite/ld-elf/pr21562c.d: Likewise. - * testsuite/ld-elf/pr21562d.d: Likewise. - * testsuite/ld-elf/pr21562i.d: Likewise. - * testsuite/ld-elf/pr21562j.d: Likewise. - * testsuite/ld-elf/pr21562k.d: Likewise. - * testsuite/ld-elf/pr21562l.d: Likewise. - * testsuite/ld-elf/pr21562m.d: Likewise. - * testsuite/ld-elf/pr21562n.d: Likewise. - * testsuite/ld-elf/group9a.d: Run test on ia64 and alpha. Use xfail - rather than notarget. - * testsuite/ld-elf/group9b.d: Likewise. - * testsuite/ld-elf/pr22677.d: Likewise. - -2018-02-19 Maciej W. Rozycki - - * testsuite/ld-mips-elf/reginfo-0.d: New test. - * testsuite/ld-mips-elf/reginfo-0r.d: New test. - * testsuite/ld-mips-elf/reginfo-1.d: New test. - * testsuite/ld-mips-elf/reginfo-1r.d: New test. - * testsuite/ld-mips-elf/reginfo-2.d: New test. - * testsuite/ld-mips-elf/reginfo-2r.d: New test. - * testsuite/ld-mips-elf/mips-abiflags-0.d: New test. - * testsuite/ld-mips-elf/mips-abiflags-0r.d: New test. - * testsuite/ld-mips-elf/mips-abiflags-1.d: New test. - * testsuite/ld-mips-elf/mips-abiflags-1r.d: New test. - * testsuite/ld-mips-elf/mips-abiflags-2.d: New test. - * testsuite/ld-mips-elf/mips-abiflags-2r.d: New test. - * testsuite/ld-mips-elf/reginfo-0.ld: New test linker script. - * testsuite/ld-mips-elf/reginfo-1.ld: New test linker script. - * testsuite/ld-mips-elf/mips-abiflags-0.ld: New test linker - script. - * testsuite/ld-mips-elf/mips-abiflags-1.ld: New test linker - script. - * testsuite/ld-mips-elf/reginfo-1.s: New test source. - * testsuite/ld-mips-elf/reginfo-2.s: New test source. - * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. - -2018-02-19 Maciej W. Rozycki - - * ldlang.c (insert_pad): Do not change output section's size if - SEC_FIXED_SIZE is set in the flags. - (size_input_section): Likewise. - (lang_size_sections_1): Likewise. - (lang_reset_memory_regions): Likewise. - -2018-02-19 Alan Modra - - * ldmisc.c (vfinfo) Handle %pI, %pR, %pS and %pT in place of - %I, %R, %S and %T. - * ldcref.c, * ldctor.c, * ldemul.c, * ldexp.c, * ldgram.y, - * ldlang.c, * ldlex.l, * ldmain.c, * ldmisc.c, * pe-dll.c, - * emultempl/sh64elf.em: Replace use of of %I, %R, %S and %T in - format strings passed to einfo and friends by %pI, %pR, %pS and %pT. - -2018-02-19 Alan Modra - - * ldmisc.c (vfinfo): Handle %pA and %pB in place of %A and %B. - * ldcref.c: Update all messages using %A and %B. - * ldexp.c: Likewise. - * ldlang.c: Likewise. - * ldmain.c: Likewise. - * ldmisc.c: Likewise. - * pe-dll.c: Likewise. - * plugin.c: Likewise. - * emultempl/beos.em: Likewise. - * emultempl/cr16elf.em: Likewise. - * emultempl/elf32.em: Likewise. - * emultempl/m68kcoff.em: Likewise. - * emultempl/m68kelf.em: Likewise. - * emultempl/mmo.em: Likewise. - * emultempl/nds32elf.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/pep.em: Likewise. - * emultempl/spuelf.em: Likewise. - * emultempl/sunos.em: Likewise. - * emultempl/xtensaelf.em: Likewise. - -2018-02-19 H.J. Lu - - PR ld/22845 - * testsuite/ld-elf/frame.exp: Skip if -shared isn't supported. - Add tests for "-z noseparate-code" and "-z separate-code". - Remove unsupported -shared check. - -2018-02-17 H.J. Lu - - PR ld/22845 - * testsuite/ld-elf/ehdr_start.d: Pass --build-id to ld. - -2018-02-17 H.J. Lu - - PR ld/22845 - * testsuite/ld-elf/binutils.exp (tls_opts): Add tests for - "-z noseparate-code" and "-z separate-code". - -2018-02-17 H.J. Lu - - PR ld/22845 - * ld-elf/eh4.d: Pass -z max-page-size=0x200000 -z noseparate-code - to ld. - -2018-02-16 H.J. Lu - - * testsuite/ld-x86-64/bnd-branch-1-now.d: Add -z - max-page-size=0x200000 -z noseparate-code. - * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise. - * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. - * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise. - * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. - * testsuite/ld-x86-64/bnd-plt-1.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-1.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise. - * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise. - * testsuite/ld-x86-64/load1a.d: Likewise. - * testsuite/ld-x86-64/load1b.d: Likewise. - * testsuite/ld-x86-64/load1c.d: Likewise. - * testsuite/ld-x86-64/load1d.d: Likewise. - * testsuite/ld-x86-64/pie3.d: Likewise. - * testsuite/ld-x86-64/pr14207.d: Likewise. - * testsuite/ld-x86-64/pr17618.d: Likewise. - * testsuite/ld-x86-64/pr19162.d: Likewise. - * testsuite/ld-x86-64/pr19636-2d.d: Likewise. - * testsuite/ld-x86-64/pr19636-2l.d: Likewise. - * testsuite/ld-x86-64/pr20253-1b.d: Likewise. - * testsuite/ld-x86-64/pr20253-1d.d: Likewise. - * testsuite/ld-x86-64/pr20253-1f.d: Likewise. - * testsuite/ld-x86-64/pr20253-1h.d: Likewise. - * testsuite/ld-x86-64/pr20253-1j.d: Likewise. - * testsuite/ld-x86-64/pr20253-1l.d: Likewise. - * testsuite/ld-x86-64/pr20830a-now.d: Likewise. - * testsuite/ld-x86-64/pr20830a.d: Likewise. - * testsuite/ld-x86-64/pr20830b-now.d: Likewise. - * testsuite/ld-x86-64/pr20830b.d: Likewise. - * testsuite/ld-x86-64/pr21038a-now.d: Likewise. - * testsuite/ld-x86-64/pr21038a.d: Likewise. - * testsuite/ld-x86-64/pr21038b-now.d: Likewise. - * testsuite/ld-x86-64/pr21038b.d: Likewise. - * testsuite/ld-x86-64/pr21038c-now.d: Likewise. - * testsuite/ld-x86-64/pr21038c.d: Likewise. - -2018-02-16 H.J. Lu - - * testsuite/ld-x86-64/bnd-ifunc-1.d: Updated. - * testsuite/ld-x86-64/ilp32-4.d: Likewise. - -2018-02-16 H.J. Lu - - * testsuite/ld-x86-64/mpx.exp: Add -z max-page-size=0x200000 - -z noseparate-code. - -2018-02-16 H.J. Lu - - * testsuite/ld-x86-64/x86-64.exp: Add -z noseparate-code - -z max-page-size=0x200000, excluding NaCl target. - -2018-02-16 H.J. Lu - - * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise. - * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise. - * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise. - * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise. - * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise. - * testsuite/ld-ifunc/pr17154-i386.d: Likewise. - -2018-02-16 H.J. Lu - - * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Add - -z max-page-size=0x200000 -z noseparate-code. - * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise. - * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise. - * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise. - * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise. - * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise. - -2018-02-16 H.J. Lu - - * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated for i386. - * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise. - * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise. - -2018-02-16 H.J. Lu - - * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated. - * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise. - * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise. - -2018-02-16 H.J. Lu - - * testsuite/ld-i386/ibt-plt-1.d: Add -z noseparate-code. - * testsuite/ld-i386/ibt-plt-2a.d: Likewise. - * testsuite/ld-i386/ibt-plt-2b.d: Likewise. - * testsuite/ld-i386/ibt-plt-2c.d: Likewise. - * testsuite/ld-i386/ibt-plt-2d.d: Likewise. - * testsuite/ld-i386/ibt-plt-3a.d: Likewise. - * testsuite/ld-i386/ibt-plt-3b.d: Likewise. - * testsuite/ld-i386/ibt-plt-3c.d: Likewise. - * testsuite/ld-i386/ibt-plt-3d.d: Likewise. - * testsuite/ld-i386/load1.d: Likewise. - * testsuite/ld-i386/pie1.d: Likewise. - * testsuite/ld-i386/pr20244-1a.d: Likewise. - * testsuite/ld-i386/pr20244-1b.d: Likewise. - * testsuite/ld-i386/pr20244-2a.d: Likewise. - * testsuite/ld-i386/pr20244-2b.d: Likewise. - * testsuite/ld-i386/pr20244-2c.d: Likewise. - * testsuite/ld-i386/pr20244-4a.d: Likewise. - * testsuite/ld-i386/pr20244-4b.d: Likewise. - * testsuite/ld-i386/pr20830.d: Likewise. - -2018-02-16 H.J. Lu - - * testsuite/ld-i386/pr19636-1a.d: Updated. - * testsuite/ld-i386/pr19636-1b.d: Likewise. - * testsuite/ld-i386/pr19636-1j.d: Likewise. - * testsuite/ld-i386/pr19636-1k.d: Likewise. - * testsuite/ld-i386/pr19636-2a.d: Likewise. - * testsuite/ld-i386/pr19636-2b.d: Likewise. - -2018-02-16 H.J. Lu - - * testsuite/ld-i386/i386.exp: Add -z noseparate-code. - -2018-02-16 H.J. Lu - - * testsuite/ld-elf/pr19162.d: Add -z noseparate-code. - * testsuite/ld-elf/textaddr1.d: Likewise. - * testsuite/ld-elf/textaddr2.d: Likewise. - * testsuite/ld-elf/textaddr4.d: Likewise. - * testsuite/ld-elf/textaddr6.d: Likewise. - -2018-02-15 Jim Wilson - - * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend test. - * testsuite/ld-riscv-elf/pcrel-lo-addend.d: New. - * testsuite/ld-riscv-elf/pcrel-lo-addend.s: New. - -2018-02-14 H.J. Lu - - PR ld/22842 - * testsuite/ld-i386/i386.exp: Run PR ld/22842 tests. - * testsuite/ld-x86-64/x86-64.exp: Likewise. - * testsuite/ld-i386/pr22842a.c: New file. - * testsuite/ld-i386/pr22842b.S: Likewise. - * testsuite/ld-x86-64/pr22842a.c: Likewise. - * testsuite/ld-x86-64/pr22842a.rd: Likewise. - * testsuite/ld-x86-64/pr22842b.S: Likewise. - * testsuite/ld-x86-64/pr22842b.rd: Likewise. - -2018-02-14 Maciej W. Rozycki - - * ldlex.h (ldlex_command): Remove prototype. - -2018-02-13 H.J. Lu - - * testsuite/ld-x86-64/x86-64.exp: Replace pr22393-2a.so and - pr22393-2a-now.so with pr22393-3a.so and pr22393-3a-now.so. - -2018-02-14 H.J. Lu - - PR 22836 - * testsuite/ld-elf/pr22836-1.s: New file. - * testsuite/ld-elf/pr22836-1a.d: Likewise. - * testsuite/ld-elf/pr22836-1b.d: Likewise. - -2018-02-13 H.J. Lu - - PR gas/22791 - * testsuite/ld-x86-64/mpx1c.rd: Updated. - * testsuite/ld-x86-64/pr22791-1.err: New file. - * testsuite/ld-x86-64/pr22791-1a.c: Likewise. - * testsuite/ld-x86-64/pr22791-1b.s: Likewise. - * testsuite/ld-x86-64/pr22791-2.rd: Likewise. - * testsuite/ld-x86-64/pr22791-2a.s: Likewise. - * testsuite/ld-x86-64/pr22791-2b.c: Likewise. - * testsuite/ld-x86-64/pr22791-2c.s: Likewise. - * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests. - -2018-02-13 Alan Modra - - PR 22836 - * testsuite/ld-elf/pr22836-2.d, - * testsuite/ld-elf/pr22836-2.s: New test. - -2018-02-13 Alan Modra - - * testsuite/ld-x86-64/pr14207.d: Adjust relro p_filesz. - -2018-02-07 Alan Modra - - Revert 2018-01-17 Alan Modra - * emultempl/ppc32elf.em: Remove --speculate-indirect-jumps support. - * emultempl/ppc64elf.em: Likesize - * ld.texinfo: Likewise - * testsuite/ld-powerpc/elfv2exe.d, - * testsuite/ld-powerpc/elfv2so.d, - * testsuite/ld-powerpc/relbrlt.d, - * testsuite/ld-powerpc/powerpc.exp: Likewise. - -2018-02-06 Eric Botcazou - - * testsuite/ld-elf/tls.exp (AFLAGS_PIC): Define on SPARC. - (pr22263-1): Pass AFLAGS_PIC to the assembler. - * testsuite/ld-sparc/tlspie32.s: Add test for other 3 transitions. - * testsuite/ld-sparc/tlspie32.dd: Adjust to above. - * testsuite/ld-sparc/tlspie64.s: Add test for other 3 transitions. - * testsuite/ld-sparc/tlspie64.dd: Adjust to above. - -2018-02-05 Renlin Li - - PR ld/22764 - * testsuite/ld-aarch64/emit-relocs-258.s: Define symbol as an address. - * testsuite/ld-aarch64/emit-relocs-259.s: Likewise. - * testsuite/ld-aarch64/pr22764.s: New. - * testsuite/ld-aarch64/pr22764.d: New. - -2018-02-05 H.J. Lu - - PR ld/22782 - * testsuite/ld-i386/discarded1.s: Replace mov with div. - * testsuite/ld-x86-64/discarded1.s: Likewise. - * testsuite/ld-i386/i386.exp: Run pr22782. - * testsuite/ld-i386/load1-nacl.d: Updated for removing - _GLOBAL_OFFSET_TABLE_ from output. - * testsuite/ld-i386/load1.d: Likewise. - * testsuite/ld-x86-64/load1a-nacl.d: Likewise. - * testsuite/ld-x86-64/load1a.d: Likewise. - * testsuite/ld-x86-64/load1b-nacl.d: Likewise. - * testsuite/ld-x86-64/load1b.d: Likewise. - * testsuite/ld-i386/pr22782.d: New file. - * testsuite/ld-i386/pr22782.s: Likewise. - * testsuite/ld-x86-64/pr22782.s: Likewise. - * testsuite/ld-x86-64/pr22782a.d: Likewise. - * testsuite/ld-x86-64/pr22782b.d: Likewise. - * testsuite/ld-x86-64/x86-64.exp: Run pr22782a and pr22782b. - -2018-02-05 Nick Clifton - - * po/pt_BR.po: Updated Brazilian Portuguese translation. - -2018-02-04 H.J. Lu - - * testsuite/ld-i386/lea1d.d: Replace -Sw with -SW. - * testsuite/ld-i386/lea1e.d: Likewise. - * testsuite/ld-i386/lea1f.d: Likewise. - * testsuite/ld-x86-64/lea1g.d: Likewise. - * testsuite/ld-x86-64/lea1h.d: Likewise. - * testsuite/ld-x86-64/lea1i.d: Likewise. - * testsuite/ld-x86-64/lea1j.d: Likewise. - * testsuite/ld-x86-64/lea1k.d: Likewise. - * testsuite/ld-x86-64/lea1l.d: Likewise. - -2018-02-03 Nick Clifton - - PR 22762 - * scripttempl/pe.sc: Remove PROVIDE()s from __CTOR_LIST__ and - __DTOR_LIST__ symbols. Add a comment explaining why this is - necessary. - * scripttemp/pep.sc: Likewise. - * ld.texinfo (PROVIDE): Add a note about the effect of common - symbols. - -2018-02-03 Sandra Loosemore - - * emulparams/nios2elf.sh (GENERATE_SHLIB_SCRIPT): Don't set. - -2018-02-02 Maciej W. Rozycki - - * testsuite/ld-elf/shared.exp: Add $AFLAGS_PIC throughout to PIC - assembly builds where missing and remove `tic6x-*-*' XFAIL - markings accordingly. - -2018-02-01 Simon Marchi - - * ldexp.c (fold_name, exp_fold_tree_1): Avoid pointer arithmetic - on NULL pointer. - -2018-01-31 H.J. Lu - - * testsuite/ld-elf/pr21964-5.c (my_var): Mark as used. - -2018-01-31 Maciej W. Rozycki - - * testsuite/ld-elf/shared.exp: Fix a typo s/scrip/script/. - -2018-01-31 Maciej W. Rozycki - - * testsuite/ld-elf/comm-data.exp: Pass `-call_shared' to links - involving a shared library for `mips*vr4100*-*-elf*', - `mips*vr4300*-*-elf*' and `mips*vr5000*-*-elf*' targets. - * testsuite/ld-elf/provide-hidden.exp: Likewise. - * testsuite/ld-elf/shared.exp: Likewise. - * testsuite/ld-gc/gc.exp: Likewise. - * testsuite/ld-mips-elf/comm-data.exp: Likewise. - -2018-01-31 Maciej W. Rozycki - - * testsuite/ld-elf/elf.exp: Move shared library tests over to... - * testsuite/ld-elf/shared.exp: ... here. - -2018-01-31 Michael Matz - - * testsuite/ld-elf/pr21964-5.c: New test. - * testsuite/ld-elf/shared.exp: Run it. - -2018-01-31 H.J. Lu - - PR ld/21964 - * testsuite/ld-elf/pr21964-4.c: New file. - * testsuite/ld-elf/shared.exp: Run pr21964-4 test on Linux. - -2018-01-30 Alan Modra - - * testsuite/ld-gc/stop.d, - * testsuite/ld-gc/stop.s: New test. - * testsuite/ld-gc/gc.exp: Run it. - -2018-01-30 Maciej W. Rozycki - - PR ld/22649 - * testsuite/ld-elf/pr22649-2ab-mips.msg: New stderr output. - * testsuite/ld-elf/pr22649-2cd-mips.msg: New stderr output. - * testsuite/ld-elf/shared.exp: Use the new outputs with - `mips*-*-*' targets. - -2018-01-30 Maciej W. Rozycki - - * testsuite/ld-elf/comm-data1.sd: Alternatively accept - `PRC[0xff02]' in place of a regular section index. - * testsuite/ld-elf/pr21703-shared.sd: Likewise `PRC[0xff01]'. - -2018-01-29 Alan Modra - - * testsuite/ld-elf/pr21964-3a.c: New file. - * testsuite/ld-elf/pr21964-3c.c: New file. - * testsuite/ld-elf/shared.exp: Run new __start/__stop testcase. - -2018-01-29 Eric Botcazou - - * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Define on SPARC. - (pr22269-1): Pass AFLAGS_PIC to the assembler. - -2018-01-29 Eric Botcazou - - * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64. - -2018-01-29 Maciej W. Rozycki - - * testsuite/ld-mips-elf/comm-data.exp: Correct support for - targets using non-traditional MIPS emulation or having a limited - selection of ABIs available. Don't force big endianness, use - defaults. - -2018-01-29 H.J. Lu - - PR ld/22732 - * testsuite/config/default.exp (STATIC_LDFLAGS): New. Set to - "-static" if target compiler supports it. - * testsuite/ld-bootstrap/bootstrap.exp: Skip static executable - tests if target compiler doesn't support it. - * testsuite/ld-ifunc/ifunc.exp: Likewise. - * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise. - (run_cc_link_tests): Likewise. - -2018-01-27 H.J. Lu - - PR ld/22751 - * testsuite/config/default.exp (INT128_CFLAGS): New. - * testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New. - Run ld/22751 tests. - * testsuite/ld-plugin/pr22751.c: New file. - * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add - ld trailing options. - -2018-01-28 Alan Modra - - PR 22751 - * ldlang.c (find_rescan_insertion): Look past bfds with claim_archive - set. - -2018-01-26 Maciej W. Rozycki - - * emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to - `mipself'. - -2018-01-25 Eric Botcazou - - * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library): - Link with a version script. - (32-bit: TLS -fpie): New test. - (64-bit: Helper shared library): Link with a version script. - (64-bit: TLS -fpie): New test. - (64-bit: GOTDATA relocations): Pass -Av9 to the assembler. - * testsuite/ld-sparc/tlslib.ver: New file. - * testsuite/ld-sparc/tlspie32.dd: Likewise. - * testsuite/ld-sparc/tlspie32.s: Likewise. - * testsuite/ld-sparc/tlspie64.dd: Likewise. - * testsuite/ld-sparc/tlspie64.s: Likewise. - * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol. - * testsuite/ld-sparc/tlssunbin32.rd: Likewise. - * testsuite/ld-sparc/tlssunbin32.sd: Likewise. - * testsuite/ld-sparc/tlssunbin64.dd: Likewise. - * testsuite/ld-sparc/tlssunbin64.rd: Likewise. - * testsuite/ld-sparc/tlssunbin64.sd: Likewise. - -2018-01-24 Renlin Li - - * testsuite/ld-aarch64/aarch64-elf.exp: Run new testes. - * testsuite/ld-aarch64/emit-relocs-287.s: Fix test case. - * testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output. - * testsuite/ld-aarch64/emit-relocs-287-overflow.s: New. - * testsuite/ld-aarch64/emit-relocs-287-overflow.d: New. - * testsuite/ld-aarch64/emit-relocs-288.d: New. - * testsuite/ld-aarch64/emit-relocs-288.s: New. - * testsuite/ld-aarch64/emit-relocs-289.d: New. - * testsuite/ld-aarch64/emit-relocs-289.s: New. - * testsuite/ld-aarch64/emit-relocs-289-overflow.s: New. - * testsuite/ld-aarch64/emit-relocs-289-overflow.d: New. - * testsuite/ld-aarch64/emit-relocs-290.d: New. - * testsuite/ld-aarch64/emit-relocs-290.s: New. - * testsuite/ld-aarch64/emit-relocs-291.d: New. - * testsuite/ld-aarch64/emit-relocs-291.s: New. - * testsuite/ld-aarch64/emit-relocs-291-overflow.s: New. - * testsuite/ld-aarch64/emit-relocs-291-overflow.d: New. - * testsuite/ld-aarch64/emit-relocs-292.d: New. - * testsuite/ld-aarch64/emit-relocs-292.s: New. - * testsuite/ld-aarch64/emit-relocs-293.d: New. - * testsuite/ld-aarch64/emit-relocs-293.s: New. - -2018-01-20 H.J. Lu - - PR ld/22721 - * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests. - * testsuite/ld-plugin/pr22721.t: New file. - * testsuite/ld-plugin/pr22721a.s: Likewise. - * testsuite/ld-plugin/pr22721b.c: Likewise. - -2018-01-18 H.J. Lu - - * testsuite/ld-elf/group1.d: Also xfail Solaris. - -2018-01-18 H.J. Lu - - * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different - PLT/GOT order/layout for Solaris/x86 targets. - * testsuite/ld-elf/linkinfo1b.d: Likewise. - -2018-01-18 H.J. Lu - - PR ld/22728 - * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold - into ... - (elf_solaris2_before_allocation): This. - (LDEMUL_AFTER_ALLOCATION): Removed. - -2018-01-18 Alan Modra - - * emultempl/ppc32elf.em: Support optional --plt-align arg. - * emultempl/ppc64elf.em: Support negative --plt-align arg. - -2018-01-17 Alan Modra - - * emultempl/ppc32elf.em (params): Init new field. - (OPTION_SPECULATE_INDIRECT_JUMPS): Define. - (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define. - (PARSE_AND_LIST_LONGOPTS): Handle new options. - (PARSE_AND_LIST_ARGS_CASES): Likewise. - (PARSE_AND_LIST_OPTIONS): Likewise. - * emultempl/ppc64elf.em (params): Init new field. - (OPTION_SPECULATE_INDIRECT_JUMPS): Define. - (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define. - (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps. - (PARSE_AND_LIST_OPTIONS): Likewise. - (PARSE_AND_LIST_ARGS_CASES): Likewise. - * ld.texinfo (--no-plt-thread-safe): Correct itemx. - (--speculate-indirect-jumps): Document. - * testsuite/ld-powerpc/elfv2exe.d, - * testsuite/ld-powerpc/elfv2so.d, - * testsuite/ld-powerpc/relbrlt.d, - * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and - speculation barriers on various tests. - -2018-01-17 Alan Modra - - * emultempl/ppc32elf.em (params): Init new field. - (enum ppc32_opt): New enum to define OPTION_* values. Add - OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN. - (PARSE_AND_LIST_LONGOPTS): Handle new options. - (PARSE_AND_LIST_ARGS_CASES): Likewise. - (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output. - * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment - correctly for negative --plt-stub-align. - * testsuite/ld-powerpc/elfv2exe.d, - * testsuite/ld-powerpc/elfv2so.d, - * testsuite/ld-powerpc/relbrlt.d, - * testsuite/ld-powerpc/relbrlt.s, - * testsuite/ld-powerpc/tlsexe.d, - * testsuite/ld-powerpc/tlsexe.r, - * testsuite/ld-powerpc/tlsexe32.d, - * testsuite/ld-powerpc/tlsexe32.g, - * testsuite/ld-powerpc/tlsexe32.r, - * testsuite/ld-powerpc/tlsexetoc.d, - * testsuite/ld-powerpc/tlsexetoc.r, - * testsuite/ld-powerpc/tlsopt5_32.d, - * testsuite/ld-powerpc/tlsso.d, - * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order. - -2018-01-16 Nick Clifton - - * po/pt_BR.po: Updated Brazilian Portuguese translation. - -2018-01-15 Nick Clifton - - * po/uk.po: Updated Ukranian translation. - -2018-01-13 Nick Clifton - - * po/ld.pot: Regenerated. - -2018-01-13 Nick Clifton - - * configure: Regenerate. - -2018-01-13 Nick Clifton - - 2.30 branch created. - * NEWS: Add marker for 2.30. - -2018-01-12 Alan Modra - - * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer - initialization" for currently failing targets. - -2018-01-12 Alan Modra - - PR ld/22649 - * testsuite/ld-elf/pr22649.msg: Allow other messages. - * testsuite/ld-elf/shared.exp: Check that --gc-sections is - supported before running ld/22649 tests. - -2018-01-12 Nick Clifton - - * emultempl/elf32.em (_handle_option): Add support for "-z undefs" - as the opposite of "-z defs". - * ld.texinfo: Document the new option. Update the description of - the -z defs option to make it clear that it does generate an error - if an undefined symbol reference is found in an object file whilst - creating a shared library. - * NEWS: Document this new feature. - -2018-01-11 H.J. Lu - - * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with - "-z separate-code". - * testsuite/ld-elf/pr22393-2b.rd: Likewise. - * testsuite/ld-x86-64/pr22393-3a.rd: Likewise. - * testsuite/ld-x86-64/pr22393-3b.rd: Likewise. - -2018-01-11 H.J. Lu - - PR ld/22393 - * testsuite/ld-x86-64/pr22393-3a.c: New file. - * testsuite/ld-x86-64/pr22393-3a.rd: Likewise. - * testsuite/ld-x86-64/pr22393-3b.c: Likewise. - * testsuite/ld-x86-64/pr22393-3b.rd: Likewise. - * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code - -z max-page-size=0x1000. - -2018-01-11 H.J. Lu - - PR ld/22393 - * testsuite/ld-elf/pr16322.d: Add -z noseparate-code. - * testsuite/ld-elf/pr22393-1.s: New file. - * testsuite/ld-elf/pr22393-1a.d: Likewise. - * testsuite/ld-elf/pr22393-1b.d: Likewise. - * testsuite/ld-elf/pr22393-1c.d: Likewise. - * testsuite/ld-elf/pr22393-1d.d: Likewise. - * testsuite/ld-elf/pr22393-1e.d: Likewise. - * testsuite/ld-elf/pr22393-1f.d: Likewise. - * testsuite/ld-elf/pr22393-2a.c: Likewise. - * testsuite/ld-elf/pr22393-2a.rd: Likewise. - * testsuite/ld-elf/pr22393-2b.c: Likewise. - * testsuite/ld-elf/pr22393-2b.rd: Likewise. - * testsuite/ld-elf/shared.exp: Run tests for -z separate-code. - -2018-01-11 H.J. Lu - - PR ld/22393 - * NEWS: Mention "-z separate-code". - * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get - builtin linker scripts and return linker scripts from disk for - "-z separate-code". - (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code" - and "-z noseparate-code". - * genscripts.sh: Generate linker scripts for "-z separate-code". - (LD_FLAG): Set to *textonly for "-z separate-code". - * ld.texinfo: Document "-z separate-code". - * lexsup.c (elf_shlib_list_options): Add linker help messsages - for "-z separate-code" and "-z noseparate-code". - * scripttempl/elf.sc (SEPARATE_TEXT): New - (TEXT_SEGMENT_ALIGN): Likewise. - Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to - ${MAXPAGESIZE}. - -2018-01-11 H.J. Lu - - PR ld/22649 - * testsuite/ld-elf/pr22649-1.s: New file. - * testsuite/ld-elf/pr22649-2a.s: Likewise. - * testsuite/ld-elf/pr22649-2b.s: Likewise. - * testsuite/ld-elf/pr22649.msg: Likewise. - * testsuite/ld-elf/shared.exp: Run ld/22649 tests. - -2018-01-11 H.J. Lu - - PR ld/22677 - * scripttempl/elf.sc (PREINIT_ARRAY): New. - Don't add .preinit_array for ld -r. - * testsuite/ld-elf/pr22677.d: New file. - * testsuite/ld-elf/pr22677.s: Likewise. - -2018-01-11 Andrew Burgess - - * ldexp.h (union etree_union): Remove defsym field. - * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym - parameter. - (exp_assign): Remove passing of defsym parameter. - (exp_defsym): Likewise. - (exp_provide): Likewise. - -2018-01-11 Andrew Burgess - - * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide - nodes are ignored in the tree walk, and move the location at which - we change provide nodes into provided nodes. - (exp_init_os): Add etree_provided. - * testsuite/ld-scripts/provide-6.d: New file. - * testsuite/ld-scripts/provide-6.t: New file. - * testsuite/ld-scripts/provide-7.d: New file. - * testsuite/ld-scripts/provide-7.t: New file. - * testsuite/ld-scripts/provide-8.d: New file. - * testsuite/ld-scripts/provide-8.t: New file. - -2018-01-11 Andrew Burgess - - * testsuite/ld-scripts/provide-3.d: Add xfail directive. - * testsuite/ld-scripts/provide-4.d: Use new map file name. - * testsuite/ld-scripts/provide-5.d: Use new map file name. - * testsuite/ld-scripts/provide-4-map.d: Renamed to... - * testsuite/ld-scripts/provide-4.map: ...this. - * testsuite/ld-scripts/provide-5-map.d: Renamed to... - * testsuite/ld-scripts/provide-5.map: ...this. - * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d - file, and run tests in a loop. - -2018-01-11 Andrew Burgess - - * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing - PROVIDE statements. - * testsuite/ld-scripts/provide-4.map: Update expected output. - * testsuite/ld-scripts/provide-5.map: Likewise. - -2018-01-11 H.J. Lu - - PR ld/22696 - * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR. - -2018-01-09 Jim Wilson - - * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete - (#alltargets): Renamed from #target. Add shared. - * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target. - Document alltargets option. Add support for alltargets option. - (istarget): Add support for shared target. - -2018-01-08 Jim Wilson - - * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start - instead of .text. - * testsuite/ld-riscv-elf/c-lui.s: Add _start label. - * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$ - tests, add call to check_shared_lib_support. - -2018-01-05 Jim Wilson - - * testsuite/ld-riscv-elf/disas-jalr.d: New. - * testsuite/ld-riscv-elf/disas-jalr.s: New. - * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase. - - * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside - case on $target, and don't set for riscv*-elf targets. - (GENERATE_PIE_SCRIPT): Likewise. - -2018-01-03 Alan Modra - - Update year range in copyright notice of all files. - -For older changes see ChangeLog-2017 +For older changes see ChangeLog-2018 -Copyright (C) 2018 Free Software Foundation, Inc. +Copyright (C) 2019 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/ld/ChangeLog-2018 b/ld/ChangeLog-2018 new file mode 100644 index 0000000000..d7d9188394 --- /dev/null +++ b/ld/ChangeLog-2018 @@ -0,0 +1,4760 @@ +2018-12-31 Alan Modra + + PR 24042 + * emultempl/elf32.em (output_rel_find): Drop "sec" param. Add + "rela". + (gld${EMULATION_NAME}_place_orphan): Use sh_type to calculate + "rela" param of output_rel_find when ELF. Tidy uses of elfinput. + +2018-12-19 H.J. Lu + + PR gas/23997 + * testsuite/ld-i386/i386.exp: Run PR gas/23997 test. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/ld-x86-64/pr23997a.s: New file. + * testsuite/ld-x86-64/pr23997b.c: Likewise. + * testsuite/ld-x86-64/pr23997c.c: Likewise. + +2018-12-19 H.J. Lu + + * testsuite/ld-x86-64/x86-64.exp: Rename PR ld/22842 run-time + test to "Run pr22842". + +2018-12-14 H.J. Lu + + PR ld/23900 + * testsuite/ld-elf/elf.exp: Run PR ld/23900 test. + * testsuite/ld-elf/pr23900-1-32.rd: New file. + * testsuite/ld-elf/pr23900-1-64.rd: Likewise. + * testsuite/ld-elf/pr23900-1.d: Likewise. + * testsuite/ld-elf/pr23900-1.s: Likewise. + * testsuite/ld-elf/pr23900-2.s: Likewise. + * testsuite/ld-elf/pr23900-2a.d: Likewise. + * testsuite/ld-elf/pr23900-2b.d: Likewise. + * testsuite/ld-i386/ibt-plt-1.d: Adjusted. + * testsuite/ld-i386/ibt-plt-2c.d: Likewise. + * testsuite/ld-i386/ibt-plt-2d.d: Likewise. + * testsuite/ld-i386/ibt-plt-3d.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-1.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise. + * testsuite/ld-i386/pr23372c.d: Expect + for GNU_PROPERTY_X86_ISA_1_USED. + * testsuite/ld-x86-64/pr23372c-x32.d: Likewise. + * testsuite/ld-x86-64/pr23372c.d: Likewise. + * testsuite/ld-x86-64/pr23372d-x32.d: Likewise. + * testsuite/ld-x86-64/pr23372d.d: Likewise. + * testsuite/ld-x86-64/property-x86-5a.s: Change + GNU_PROPERTY_X86_ISA_1_USED bits to 0. + * testsuite/ld-x86-64/property-x86-5b.s: Likewise. + +2018-12-11 H.J. Lu + + * scripttempl/elf32xc16x.sc: Fix a typo. + +2018-12-07 H.J. Lu + + PR ld/23958 + * testsuite/ld-plugin/lto.exp: Run PR ld/23958 test. + * testsuite/ld-plugin/pr23958.c: New file. + * testsuite/ld-plugin/pr23958.t: Likewise. + +2018-12-07 H.J. Lu + + * NEWS: Updated for property change report. + * ld.texi: Document property change report. + * ldmain.c (main): Set link_info.has_map_file to TRUE when + linker map file is used. + * testsuite/ld-scripts/rgn-over1.d: Updated. + * testsuite/ld-scripts/rgn-over2.d: Likewise. + * testsuite/ld-scripts/rgn-over3.d: Likewise. + * testsuite/ld-scripts/rgn-over4.d: Likewise. + * testsuite/ld-scripts/rgn-over5.d: Likewise. + * testsuite/ld-scripts/rgn-over6.d: Likewise. + * testsuite/ld-scripts/rgn-over7.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Check linker map + file. + * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt1a.map: New file. + +2018-12-04 H.J. Lu + + PR ld/23372 + * testsuite/ld-i386/pr23372a.d: Updated. + * testsuite/ld-i386/pr23372c.d: Likewise. + * testsuite/ld-x86-64/pr23372a-x32.d: Likewise. + * testsuite/ld-x86-64/pr23372a.d: Likewise. + * testsuite/ld-x86-64/pr23372c-x32.d: Likewise. + * testsuite/ld-x86-64/pr23372c.d: Likewise. + +2018-12-01 H.J. Lu + + PR ld/23930 + * testsuite/ld-i386/i386.exp: Run pr23930. + * testsuite/ld-i386/pr23930.d: New file. + * testsuite/ld-x86-64/pr23930-32.t: Likewise. + * testsuite/ld-x86-64/pr23930-x32.d: Likewise. + * testsuite/ld-x86-64/pr23930.d: Likewise. + * testsuite/ld-x86-64/pr23930.t: Likewise. + * testsuite/ld-x86-64/pr23930a.s: Likewise. + * testsuite/ld-x86-64/pr23930b.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run pr23930 and pr23930-x32. +--- +2018-11-30 Alan Modra + + * testsuite/ld-powerpc/pr23937.d, + * testsuite/ld-powerpc/pr23937.s: New test. + * testsuite/ld-powerpc/powerpc.exp: Run it. + +2018-11-29 Thomas Preud'homme + + * ldlang.c (statement_list): Document purpose and what next field it + uses. + (file_chain): Likewise. + (input_file_chain): Likewise. + * ldlang.h (lang_statement_header_type): Document statement list header + the next pointer correspond to. + (lang_statement_header_type): Replace comment for next and + next_real_file field to refer the reader to their corresponding + statement list header. + +2018-11-27 Maciej W. Rozycki + + * testsuite/ld-mips-elf/pic-reloc-0.d: New test. + * testsuite/ld-mips-elf/pic-reloc-1.d: New test. + * testsuite/ld-mips-elf/pic-reloc-2.d: New test. + * testsuite/ld-mips-elf/pic-reloc-3.d: New test. + * testsuite/ld-mips-elf/pic-reloc-4.d: New test. + * testsuite/ld-mips-elf/pic-reloc-absolute-hi.ld: New test + linker script. + * testsuite/ld-mips-elf/pic-reloc-absolute-lo.ld: New test + linker script. + * testsuite/ld-mips-elf/pic-reloc-ordinary.ld: New test linker + script. + * testsuite/ld-mips-elf/pic-reloc-j.s: New test source. + * testsuite/ld-mips-elf/pic-reloc-lui.s: New test source. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2018-11-27 Maciej W. Rozycki + + * ldmain.c (reloc_overflow): Use `%H:' rather than `%P: %H:' + with `einfo'. + (reloc_dangerous): Likewise. + (unattached_reloc): Likewise. + +2018-11-27 Tamar Christina + + PR ld/23904 + * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum843419_tls_ie. + * testsuite/ld-aarch64/erratum843419_tls_ie.d: New test. + * testsuite/ld-aarch64/erratum843419_tls_ie.s: New test. + +2018-11-16 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2018-11-15 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2018-11-12 H.J. Lu + + * testsuite/ld-i386/plt-main-ibt.dd: Accept both .plt.got and + .plt.sec sections. + +2018-11-12 Nick Clifton + + PR 10865 + * ld.texi (Entry Point): Make it clear that the text refers to + PE-based systems rather than just a PE system. + +2018-11-12 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2018-11-09 Nick Clifton + + * po/fr.po: Updated French translation. + +2018-11-09 Claudiu Zissulescu + + * testsuite/ld-arc/tls_gd-01.d: Update test. + * testsuite/ld-arc/arclinux-nps.d: Add cpu option. + +2018-11-09 Marc + + PR 23872 + * scripttempl/pep.sc (pe.sc): Ensure rdata_runtime_pseudo_relocs + are aligned. + * scripttempl/pep.sc (pep.sc): Likewise. + +2018-11-06 H.J. Lu + + * testsuite/config/default.exp (ELFEDIT): New. + * testsuite/ld-elf/linux-x86.exp (elfedit_test): New proc. + Run elfedit tests. + * testsuite/ld-elf/x86-feature-1a.rd: New file. + * testsuite/ld-elf/x86-feature-1b.rd: Likewise. + * testsuite/ld-elf/x86-feature-1c.rd: Likewise. + * testsuite/ld-elf/x86-feature-1d.rd: Likewise. + * testsuite/ld-elf/x86-feature-1e.rd: Likewise. + +2018-11-05 H.J. Lu + + PR gas/23854 + * testsuite/ld-i386/i386.exp: Run pr23854. + * testsuite/ld-x86-64/x86-64.exp: Likewwise. + * testsuite/ld-i386/pr23854.d: New file. + * testsuite/ld-i386/pr23854.s: Likewwise. + * testsuite/ld-i386/pr23854.d: Likewwise. + * testsuite/ld-x86-64/pr23854.d: Likewwise. + * testsuite/ld-x86-64/pr23854.s: Likewwise. + +2018-11-01 Thomas Preud'homme + + * testsuite/lib/ld-lib.exp (check_shared_lib_support): Moved to + binutils-common.exp. + +2018-10-29 Alan Modra + + * ldlang.c (load_symbols): When -t, print file names for script + files and archives. + * ldmain.c (trace_files): Make an int. + (add_archive_element): Print archive elements only with multiple + -t options, or when archive is thin. + * ldmain.h (trace_files): Update. + * ldmisc.c (vfinfo): Don't print both original path and path in + sysroot. + * lexsup.c (parse_args ): Increment trace_files. + +2018-10-29 Alan Modra + + * ldmain.c (main): Print emulation mode and "deleting executable" + for --verbose, not --trace. + (add_archive_element): Only print "no new IR symbols" for --verbose. + +2018-10-29 Alan Modra + + * ldmain.c (get_sysroot): Return "" for "--sysroot=/". + +2018-10-29 Alan Modra + + * Makefile.am (ei386beos.c, ei386go32.c): Correct dependencies. + * Makefile.in: Regenerate. + * scripttempl/elf.sc (.note.gnu.build-id, .eh_frame_hdr): Set + address with ${RELOCATING-0}. + * scripttempl/arclinux.sc: Likewise. + * scripttempl/armbpabi.sc: Likewise. + * scripttempl/avr.sc: Likewise. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/elf_chaos.sc: Likewise. + * scripttempl/elfarc.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/mep.sc: Likewise. + * scripttempl/nds32elf.sc: Likewise. + * scripttempl/pru.sc: Likewise. + * scripttempl/elf32msp430.sc: Likewise, and for other sections. + * scripttempl/epiphany_4x4.sc: Similarly. + +2018-10-26 Christoph Conrads + + * ld.texi (--gc-sections): Update. + +2018-10-24 H.J. Lu + + PR ld/23818 + * testsuite/ld-plugin/lto.exp: Run PR ld/23818 test. + * testsuite/ld-plugin/pr23818.d: New file. + * testsuite/ld-plugin/pr23818.t: Likewise. + * testsuite/ld-plugin/pr23818a.c: Likewise. + * testsuite/ld-plugin/pr23818b.c: Likewise. + +2018-10-23 Alan Modra + + * testsuite/ld-elf/shared.exp: Don't build pr19073 test on alpha. + * testsuite/ld-elf/pr18720b.c: Don't use .set on alpha. + +2018-10-20 Alan Modra + + * ldlang.c (lang_end): Don't error if no --entry or --undefined + is given with -r -gc-sections if --gc-keep-exported. + +2018-10-15 Jim Wilson + + * emulparams/elf32lriscv-defs.sh (DATA_START_SYMBOLS): New. + (SDATA_START_SYMBOLS): Define __SDATA_BEGIN__. Don't define + __global_pointer$. + (OTHER_END_SYMBOLS): New. Define __global_pointer$. + * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d (#ld): Add --no-relax. + +2018-10-15 Alan Modra + + PR 23534 + * ldmain.c (main): Exit with fatal error if bfd_init returns + an unexpected value. + +2018-10-13 Alan Modra + + * Makefile.am (eelf32btsmip_fbsd.c, eelf32btsmipn32_fbsd.c), + (eelf32epiphany.c, eelf32epiphany_4x4.c, eelf32ltsmip_fbsd.c), + (eelf32ltsmipn32_fbsd.c, eelf32xc16x.c, eelf32xc16xl.c), + (eelf32xc16xs.c, emcorepe.c, enios2elf.c, enios2linux.c), + (eelf64btsmip_fbsd.c, eelf64ltsmip_fbsd.c): Correct dependencies. + * Makefile.in: Regenerate. + * emulparams/aarch64cloudabi.sh, * emulparams/aarch64fbsd.sh, + * emulparams/aarch64linux.sh, * emulparams/aarch64linux32.sh, + * emulparams/arc-nps.sh, * emulparams/elf32_spu.sh, + * emulparams/elf32_tic6x_le.sh, * emulparams/elf32bmip.sh, + * emulparams/elf32btsmipn32.sh, * emulparams/elf32lr5900n32.sh, + * emulparams/elf32mep.sh, * emulparams/elf32metag.sh, + * emulparams/elf64btsmip.sh, * emulparams/shelf_vxworks.sh, + * emulparams/shlelf_fd.sh, * scripttempl/DWARF.sc, + * scripttempl/alpha.sc, * scripttempl/alphavms.sc, + * scripttempl/arclinux.sc, * scripttempl/armbpabi.sc, + * scripttempl/avr.sc, * scripttempl/dlx.sc, * scripttempl/elf.sc, + * scripttempl/elf32cr16.sc, * scripttempl/elf32cr16c.sc, + * scripttempl/elf32crx.sc, * scripttempl/elf32msp430.sc, + * scripttempl/elf32msp430_3.sc, * scripttempl/elf32xc16x.sc, + * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc, + * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc, + * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc, + * scripttempl/elfd10v.sc, * scripttempl/elfd30v.sc, + * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc, + * scripttempl/elfm9s12z.sc, * scripttempl/elfmicroblaze.sc, + * scripttempl/elfxgate.sc, * scripttempl/elfxtensa.sc, + * scripttempl/epiphany_4x4.sc, * scripttempl/ft32.sc, + * scripttempl/hppaelf.sc, * scripttempl/ia64vms.sc, + * scripttempl/ip2k.sc, * scripttempl/iq2000.sc, + * scripttempl/mep.sc, * scripttempl/mmo.sc, + * scripttempl/nds32elf.sc, * scripttempl/pru.sc, + * scripttempl/sh.sc, * scripttempl/v850.sc, + * scripttempl/v850_rh850.sc, * scripttempl/visium.sc, + * scripttempl/xstormy16.sc: Condition various parts of scripts on + ${RELOCATABLE} in order to prevent ld -r merging sections or + defining symbols. Remove MEMORY and VERSION definitions from + ld -r scripts too. + * testsuite/ld-elf/group2.d, * testsuite/ld-elf/group4.d, + * testsuite/ld-elf/group5.d, * testsuite/ld-elf/group6.d, + * testsuite/ld-elf/group7.d, * testsuite/ld-elf/group8a.d, + * testsuite/ld-elf/group8b.d, * testsuite/ld-elf/group9a.d, + * testsuite/ld-elf/group9b.d, * testsuite/ld-elf/pr17550a.d, + * testsuite/ld-elf/pr17550b.d, + * testsuite/ld-elf/pr17550d.d: Don't xfail cr16 and crx. + * testsuite/ld-elf/init-fini-arrays.d, + * testsuite/ld-elf/pr22677.d: Likewise, and dont' xfail mep. + +2018-10-08 H.J. Lu + + PR ld/23428 + * testsuite/ld-i386/property-x86-4a.d: Updated. + * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-4a.d: Likewise. + +2018-10-08 H.J. Lu + + PR ld/23658 + * ldlang.c (lang_insert_orphan): Properly group and place orphan + note sections. Properly handle orphan note section before all + note sections. + * testsuite/ld-elf/pr23658-1.d: Renamed to ... + * testsuite/ld-elf/pr23658-1a.d: This. Updated. + * testsuite/ld-elf/pr23658-1b.d: New test. + * testsuite/ld-elf/pr23658-1c.d: Likewise. + +2018-10-08 Alan Modra + + * ldexp.c (fold_name ): Set link_info.load_phdrs. + * testsuite/ld-elf/loadaddr1.d: Pass -z noseparate-code. + * testsuite/ld-elf/loadaddr2.d: Likewise. + * testsuite/ld-i386/vxworks2.sd: Adjust expected output. + * testsuite/ld-powerpc/vxworks2.sd: Likewise. + * testsuite/ld-elf/overlay.d: Remove spu xfail. + * testsuite/ld-spu/ovl.lnk: Don't use SIZEOF_HEADERS. + * testsuite/ld-tic6x/dsbt-be.ld: Likewise. + * testsuite/ld-tic6x/dsbt-inrange.ld: Likewise. + * testsuite/ld-tic6x/dsbt-overflow.ld: Likewise. + * testsuite/ld-tic6x/dsbt.ld: Likewise. + +2018-10-08 Alan Modra + + * ldlang.c (insert_os_after): Clear ignore_first on assignment to + dot, not any assignment. Clear ignore_first on output section + statement contents too. + * testsuite/ld-elf/pr19539.d: Remove alpha xfail. + +2018-10-08 Alan Modra + + * testsuite/ld-elf/pr22423.d: Pass --dynamic-linker to ld. + +2018-10-05 Richard Henderson + + * testsuite/ld-or1k/or1k.exp: Add test cases for plt generation. + * testsuite/ld-or1k/plt1.dd: New file. + * testsuite/ld-or1k/plt1.s: New file. + * testsuite/ld-or1k/plt1.x.dd: New file. + * testsuite/ld-or1k/plta1.dd: New file. + * testsuite/ld-or1k/plta1.s: New file. + * testsuite/ld-or1k/pltlib.s: New file. + +2018-10-05 Richard Henderson + + * testsuite/ld-or1k/offsets1.d: New file. + * testsuite/ld-or1k/offsets1.s: New file. + * testsuite/ld-or1k/or1k.exp: New file. + +2018-10-04 H.J. Lu + + PR ld/23658 + * testsuite/ld-elf/pr23658-1.d: Also xfail ft32-* and xgate-*. + +2018-10-03 H.J. Lu + + PR ld/23658 + * testsuite/ld-elf/pr23658-1.d: New file. + * testsuite/ld-elf/pr23658-1a.s: Likewise. + * testsuite/ld-elf/pr23658-1b.s: Likewise. + * testsuite/ld-elf/pr23658-1c.s: Likewise. + * testsuite/ld-elf/pr23658-1d.s: Likewise. + * testsuite/ld-elf/pr23658-2.rd: Likewise. + * testsuite/ld-elf/pr23658-3.d: Likewise. + * testsuite/ld-elf/pr23658-3.s: Likewise. + * testsuite/ld-elf/pr23658-3.t: Likewise. + * testsuite/ld-elf/shared.exp: Run PR ld/23658 tests. + +2018-10-03 H.J. Lu + + PR ld/23658 + * ldlang.c (lang_insert_orphan): Group and sort output note + sections by section alignments. + +2018-09-25 Eric Botcazou + + * testsuite/ld-elf/pr14156b.d: Adjust for extra symbols. + * testsuite/ld-elf/pr22677.s: Define main/start/_start/__start. + +2018-09-24 Jim Wilson + + * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend-2. + * testsuite/ld-riscv/elf/ld-riscv-elf/pcrel-lo-addend-2.d: New. + * testsuite/ld-riscv/elf/ld-riscv-elf/pcrel-lo-addend-2.s: New. + * testsuite/ld-riscv/elf/ld-riscv-elf/pcrel-lo-addend.d: Update name + and error string. + +2018-09-21 Alan Modra + + * testsuite/ld-avr/gc-section-debugline.d: Update. + +2018-09-20 H.J. Lu + + * testsuite/ld-checks/over2.s: Add "_main" for LynxOS targets. + * testsuite/ld-elf/comm-data4.s: Likewise. + * testsuite/ld-elf/comm-data5.s: Likewise. + * testsuite/ld-elf/eh5b.s: Likewise. + * testsuite/ld-elf/empty.s: Likewise. + * testsuite/ld-elf/empty2.s: Likewise. + * testsuite/ld-elf/exclude3.s: Likewise. + * testsuite/ld-elf/fini0.s: Likewise. + * testsuite/ld-elf/init0.s: Likewise. + * testsuite/ld-elf/linkonce1b.s: Likewise. + * testsuite/ld-elf/orphan3a.s: Likewise. + * testsuite/ld-elf/pr14926.s: Likewise. + * testsuite/ld-elf/pr20513a.s: Likewise. + * testsuite/ld-elf/sec64k.exp: Likewise. + * testsuite/ld-elf/start.s: Likewise. + * testsuite/ld-elf/var1.s: Likewise. + +2018-09-20 Kito Cheng + + * emulparams/elf32lriscv.sh: Correct the library search path. + * emulparams/elf32lriscv_ilp32.sh: Likewise. + * emulparams/elf32lriscv_ilp32f.sh: Likewise. + +2018-09-20 Nelson Chu + + * emultempl/nds32elf.em (hyper_relax): New variable. + (nds32_elf_create_output_section_statements): + the parameters of bfd_elf32_nds32_set_target_option + (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_OPTIONS, + PARSE_AND_LIST_ARGS_CASES): Add new option --mhyper-relax. + * emultempl/nds32elf.em (nds32_elf_after_open): Updated. + * emultempl/nds32elf.em (tls_desc_trampoline): New variable. + * (nds32_elf_create_output_section_statements): Updated. + * (nds32_elf_after_parse): Disable relaxations when PIC is enable. + * (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_OPTIONS, + PARSE_AND_LIST_ARGS_CASES): Add new option --m[no-]tlsdesc-trampoline. + +2018-09-19 Alan Modra + + PR ld/23648 + * ldlang.c (lang_process): Move lang_do_memory_regions earlier. + Comment on lang_do_assignments call. + * ldgram.y (origin_exp): Don't assign region->current. + * testsuite/ld-elf/pr23648.d, + * testsuite/ld-elf/pr23648.s, + * testsuite/ld-elf/pr23648.t: New test. + +2018-09-19 Alan Modra + + * ldmain.c (add_archive_element): Handle auto-inport symbols + when printing map. + +2018-09-17 Alan Modra + + * testsuite/ld-elf/comm-data5.d: Remove notarget for hppa. + * testsuite/ld-scripts/defined6.d: Likewise. + +2018-09-17 Nick Clifton + + * testuite/ld/ld-elf/audit.exp: Differentiate the names of the + two "Run with shared with --audit" tests. + * testuite/ld/ld-elf/compress.exp: Differentiate the zlib + compressed debug output test names. + * testuite/ld/ld-i386/tlspie1.d: Add extra details to the test + name. + * testuite/ld/ld-i386/tlspie2.d: Likewise. + * testuite/ld/ld-size/size.exp: Add missing escapes to the end + of lines in the size-3e test. + * testuite/ld/ld-unique/unique.exp: Differentiate the names of + the two "Checking unique PIC object" tests. + * testuite/ld/ld-x86-64/tlspie1.d: Add extra details to the test + name. + +2018-09-15 Alan Modra + + * testsuite/ld-d10v/reloc-007.d, + * testsuite/ld-d10v/reloc-008.d, + * testsuite/ld-d10v/reloc-015.d, + * testsuite/ld-d10v/reloc-016.d: Remove "error:". + * testsuite/ld-elf/eh-frame-hdr.d, + * testsuite/ld-elf/eh5.d, + * testsuite/ld-gc/personality.d: Replace "cfi" and "shared" in + target list with appropriate proc. + * testsuite/ld-elf/frame.exp: Use check_shared_lib_support rather + than "istarget shared". + * testsuite/lib/ld-lib.exp (proc big_or_little_endian): Delete. + (run_dump_test, slurp_options, file_contents): Delete. + (set_file_contents, istarget): Delete. + +2018-09-15 Alan Modra + + * testsuite/lib/ld-lib.exp (run_dump_test): Replace PROG + with DUMPPROG. + +2018-09-15 Alan Modra + + * testsuite/ld-elf/interleave-0.d, + * testsuite/ld-elf/interleave-4.d: Don't objcopy to srec, + objdump instead. + * testsuite/ld-gc/all-debug-sections.d, + * testsuite/ld-scripts/provide-4.d, + * testsuite/ld-scripts/provide-5.d, + * testsuite/ld-scripts/provide-6.d, + * testsuite/ld-scripts/provide-7.d, + * testsuite/ld-scripts/provide-8.d, + * testsuite/ld-scripts/segment-start.d: Remove PROG, specify + nm instead. + * testsuite/lib/ld-lib.exp (run_dump_test): Remove support + for objcopy as a dump tool. + +2018-09-14 Maciej W. Rozycki + + PR ld/21375 + * testsuite/ld-mips-elf/pr21375-abi.hd: New test. + * testsuite/ld-mips-elf/pr21375-noabi.hd: New test. + * testsuite/ld-mips-elf/pr21375.dd: New test. + * testsuite/ld-mips-elf/pr21375h.dd: New test. + * testsuite/ld-mips-elf/pr21375p.dd: New test. + * testsuite/ld-mips-elf/pr21375ph.dd: New test. + * testsuite/ld-mips-elf/pr21375s.dd: New test. + * testsuite/ld-mips-elf/pr21375s-n32.dd: New test. + * testsuite/ld-mips-elf/pr21375s-n64.dd: New test. + * testsuite/ld-mips-elf/pr21375sh.dd: New test. + * testsuite/ld-mips-elf/pr21375sh-n32.dd: New test. + * testsuite/ld-mips-elf/pr21375sh-n64.dd: New test. + * testsuite/ld-mips-elf/pr21375shg.dd: New test. + * testsuite/ld-mips-elf/pr21375sx.dd: New test. + * testsuite/ld-mips-elf/pr21375sxh.dd: New test. + * testsuite/ld-mips-elf/pr21375sm16.dd: New test. + * testsuite/ld-mips-elf/pr21375sm16h.dd: New test. + * testsuite/ld-mips-elf/pr21375su.dd: New test. + * testsuite/ld-mips-elf/pr21375su-n32.dd: New test. + * testsuite/ld-mips-elf/pr21375su-n64.dd: New test. + * testsuite/ld-mips-elf/pr21375suh.dd: New test. + * testsuite/ld-mips-elf/pr21375suh-n32.dd: New test. + * testsuite/ld-mips-elf/pr21375suh-n64.dd: New test. + * testsuite/ld-mips-elf/pr21375sux.dd: New test. + * testsuite/ld-mips-elf/pr21375suxh.dd: New test. + * testsuite/ld-mips-elf/pr21375.gd: New test. + * testsuite/ld-mips-elf/pr21375h.gd: New test. + * testsuite/ld-mips-elf/pr21375p.gd: New test. + * testsuite/ld-mips-elf/pr21375ph.gd: New test. + * testsuite/ld-mips-elf/pr21375s.gd: New test. + * testsuite/ld-mips-elf/pr21375s-n32.gd: New test. + * testsuite/ld-mips-elf/pr21375s-n64.gd: New test. + * testsuite/ld-mips-elf/pr21375sh.gd: New test. + * testsuite/ld-mips-elf/pr21375sh-n32.gd: New test. + * testsuite/ld-mips-elf/pr21375sh-n64.gd: New test. + * testsuite/ld-mips-elf/pr21375shg.gd: New test. + * testsuite/ld-mips-elf/pr21375shl.gd: New test. + * testsuite/ld-mips-elf/pr21375shv.gd: New test. + * testsuite/ld-mips-elf/pr21375sx.gd: New test. + * testsuite/ld-mips-elf/pr21375sxh.gd: New test. + * testsuite/ld-mips-elf/pr21375.sd: New test. + * testsuite/ld-mips-elf/pr21375-irix.sd: New test. + * testsuite/ld-mips-elf/pr21375h.sd: New test. + * testsuite/ld-mips-elf/pr21375h-irix.sd: New test. + * testsuite/ld-mips-elf/pr21375p.sd: New test. + * testsuite/ld-mips-elf/pr21375p-irix.sd: New test. + * testsuite/ld-mips-elf/pr21375ph.sd: New test. + * testsuite/ld-mips-elf/pr21375ph-irix.sd: New test. + * testsuite/ld-mips-elf/pr21375s.sd: New test. + * testsuite/ld-mips-elf/pr21375s-irix.sd: New test. + * testsuite/ld-mips-elf/pr21375s-n32.sd: New test. + * testsuite/ld-mips-elf/pr21375s-n32-irix.sd: New test. + * testsuite/ld-mips-elf/pr21375s-n64.sd: New test. + * testsuite/ld-mips-elf/pr21375s-n64-irix.sd: New test. + * testsuite/ld-mips-elf/pr21375sh.sd: New test. + * testsuite/ld-mips-elf/pr21375sh-irix.sd: New test. + * testsuite/ld-mips-elf/pr21375sh-n32.sd: New test. + * testsuite/ld-mips-elf/pr21375sh-n32-irix.sd: New test. + * testsuite/ld-mips-elf/pr21375sh-n64.sd: New test. + * testsuite/ld-mips-elf/pr21375sh-n64-irix.sd: New test. + * testsuite/ld-mips-elf/pr21375shg.sd: New test. + * testsuite/ld-mips-elf/pr21375shg-irix.sd: New test. + * testsuite/ld-mips-elf/pr21375shl.sd: New test. + * testsuite/ld-mips-elf/pr21375shl-irix.sd: New test. + * testsuite/ld-mips-elf/pr21375shv.sd: New test. + * testsuite/ld-mips-elf/pr21375shv-irix.sd: New test. + * testsuite/ld-mips-elf/pr21375sx.sd: New test. + * testsuite/ld-mips-elf/pr21375sx-irix.sd: New test. + * testsuite/ld-mips-elf/pr21375sxh.sd: New test. + * testsuite/ld-mips-elf/pr21375sxh-irix.sd: New test. + * testsuite/ld-mips-elf/pr21375.ld: New test linker script. + * testsuite/ld-mips-elf/pr21375-xgot.ld: New test linker script. + * testsuite/ld-mips-elf/pr21375.ver: New test version script. + * testsuite/ld-mips-elf/pr21375v.ver: New test version script. + * testsuite/ld-mips-elf/pr21375.s: New test source. + * testsuite/ld-mips-elf/pr21375-mips16.s: New test source. + * testsuite/ld-mips-elf/pr21375-n32.s: New test source. + * testsuite/ld-mips-elf/pr21375-n64.s: New test source. + * testsuite/ld-mips-elf/pr21375-xgot.s: New test source. + * testsuite/ld-mips-elf/mips-elf.exp (run_mips_undefweak_test): + New procedure; run the new tests. + +2018-09-14 Maciej W. Rozycki + + PR ld/21375 + * emultempl/mipself.em: Set `gnu_target' according to ${target}. + (mips_create_output_section_statements): Update call to + `_bfd_mips_elf_linker_flags'. + * testsuite/ld-mips-elf/pr21334.s: Use LWL rather than LW. + * testsuite/ld-mips-elf/pr21334.dd: Update accordingly. + +2018-09-14 Maciej W. Rozycki + Maciej W. Rozycki + + * ldexp.c (fold_binary): Always make the result of SEGMENT_START + section-relative. + * testsuite/ld-scripts/segment-start.d: New test. + * testsuite/ld-scripts/segment-start.ld: New test linker script. + * testsuite/ld-scripts/segment-start.s: New test source. + * testsuite/ld-scripts/script.exp: Run the new test. + +2018-09-14 Maciej W. Rozycki + + * ldexp.c (fold_binary): Check that `config.maxpagesize' is + non-zero before using it as a divisor. + +2018-09-03 Nick Clifton + + * po/fi.po: Updated Finnish translation. + +2018-09-03 Alan Modra + + PR ld/23591 + * testsuite/ld-elf/pr23591a.s, + * testsuite/ld-elf/pr23591b.s, + * testsuite/ld-elf/pr23591c.s: Don't start directives in first column. + * testsuite/ld-elf/pr23591.d: xfail frv-linux and lm32-linux. + Allow __start___sancov_cntrs as a local symbol. + +018-08-31 H.J. Lu + + PR ld/23591 + * ldlang.c (undef_start_stop): Lookup section in output with + the same name. + * testsuite/ld-elf/pr23591.d: New file. + * testsuite/ld-elf/pr23591a.s: Likewise. + * testsuite/ld-elf/pr23591b.s: Likewise. + * testsuite/ld-elf/pr23591c.s: Likewise. + +2018-08-31 H.J. Lu + + * testsuite/ld-i386/i386.exp: Also run for x86_64-*-elf* targets. + * testsuite/ld-i386/property-x86-4a.d: Pass -z separate-code to + ld. + * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-4a.d: Likewise. + +2018-08-31 H.J. Lu + + * testsuite/ld-elf/elf.exp (ASFLAGS): Save, append + -mx86-used-note=no and restore. + * testsuite/ld-ifunc/ifunc.exp (ASFLAGS): Likewise. + * testsuite/ld-scripts/defined.exp (ASFLAGS): Likewise. + * testsuite/ld-scripts/overlay-size.exp (ASFLAGS): Likewise. + +2018-08-31 H.J. Lu + + * testsuite/ld-srec/srec.exp: Append -Wa,-mx86-used-note=no to + CC and CXX on ELF/x86 targets. + +2018-08-31 H.J. Lu + + * testsuite/ld-i386/i386.exp: (ASFLAGS): Save, append + -mx86-used-note=no and restore. Pass -mx86-used-note=yes and + -mx86-used-note=no to assembler. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/ld-i386/no-plt.exp: Pass -mx86-used-note=yes to + assembler. + * testsuite/ld-i386/tls.exp: Likewise. + * testsuite/ld-x86-64/no-plt.exp: Likewise. + * testsuite/ld-x86-64/tls.exp: Likewise. + * testsuite/ld-i386/pr23486a.d: Pass -mx86-used-note=no to + assembler. + * testsuite/ld-i386/pr23486b.d: Likewise. + * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise. + * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise. + * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. + * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise. + * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. + * testsuite/ld-x86-64/bnd-plt-1.d: Likewise. + * testsuite/ld-x86-64/pr23486a-x32.d: Likewise. + * testsuite/ld-x86-64/pr23486a.d: Likewise. + * testsuite/ld-x86-64/pr23486b-x32.d: Likewise. + * testsuite/ld-x86-64/pr23486b.d: Likewise. + * testsuite/ld-i386/property-x86-3.d: Pass -mx86-used-note=yes + to assembler and update expected output from "readelf -n". + * testsuite/ld-i386/property-x86-4a.d: Likewise. + * testsuite/ld-i386/property-x86-ibt1a.d: Likewise. + * testsuite/ld-i386/property-x86-ibt1b.d: Likewise. + * testsuite/ld-i386/property-x86-ibt2.d: Likewise. + * testsuite/ld-i386/property-x86-ibt3a.d: Likewise. + * testsuite/ld-i386/property-x86-ibt3b.d: Likewise. + * testsuite/ld-i386/property-x86-ibt4.d: Likewise. + * testsuite/ld-i386/property-x86-ibt5.d: Likewise. + * testsuite/ld-i386/property-x86-shstk1a.d: Likewise. + * testsuite/ld-i386/property-x86-shstk1b.d: Likewise. + * testsuite/ld-i386/property-x86-shstk2.d: Likewise. + * testsuite/ld-i386/property-x86-shstk3a.d: Likewise. + * testsuite/ld-i386/property-x86-shstk3b.d: Likewise. + * testsuite/ld-i386/property-x86-shstk4.d: Likewise. + * testsuite/ld-i386/property-x86-shstk5.d: Likewise. + * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-3.d: Likewise. + * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-4a.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise. + * testsuite/ld-i386/property-1a.r: New file. + * testsuite/ld-i386/property-2a.r: Likewise. + * testsuite/ld-i386/property-3a.r: Likewise. + * testsuite/ld-i386/property-4a.r: Likewise. + * testsuite/ld-i386/property-5a.r: Likewise. + * testsuite/ld-i386/property-7a.r: Likewise. + * testsuite/ld-x86-64/property-1a.r: Likewise. + * testsuite/ld-x86-64/property-2a.r: Likewise. + * testsuite/ld-x86-64/property-3a.r: Likewise. + * testsuite/ld-x86-64/property-4a.r: Likewise. + * testsuite/ld-x86-64/property-5a.r: Likewise. + * testsuite/ld-x86-64/property-7a.r: Likewise. + * testsuite/ld-x86-64/mpx.exp: Pass -mx86-used-note=no to + assembler. + +2018-08-29 Chenghua Xu + + * testsuite/ld-mips-elf/mips-elf-flags.exp: Run good_combination + gs264e and gs464e. + +2018-08-29 Chenghua Xu + + * testsuite/ld-mips-elf/mips-elf-flags.exp: Run good_combination + gs464e and gs464. + +2018-08-29 Chenghua Xu + + * testsuite/ld-mips-elf/mips-elf-flags.exp: Rename loongson3a + to gs464. + +2018-08-29 Chenghua Xu + + * testsuite/ld-mips-elf/mips-elf-flags.exp (good_combination): + Skip o32 flags checking if target is mips*-*-irix*. + +2018-08-27 H.J. Lu + + * testsuite/ld-i386/i386.exp: Run property-x86-5. + * testsuite/ld-i386/property-x86-5.d: New file. + * testsuite/ld-x86-64/property-x86-5-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-5.d: Likewise. + * testsuite/ld-x86-64/property-x86-5a.s: Likewise. + * testsuite/ld-x86-64/property-x86-5b.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run property-x86-5 and + property-x86-5-x32. + +2018-08-26 Alan Modra + + PR 23571 + * ldlang.h (section_alignment): Make it an expression tree. + (subsection_alignment): Likewise. + * ldlang.c (topower): Delete. + (output_section_statement_newfunc): Adjust initialization. + (init_os): Evaluate section_alignment. + (lang_size_sections_1): Likewise. + (size_input_section): Evaluate subsection_alignment. + (lang_enter_output_section_statement): Don't evaluate here. + (lang_new_phdr): Use exp_get_vma rather than exp_get_value_int. + * ldexp.h (exp_get_value_int): Delete. + (exp_get_power): Declare. + * ldexp.c (exp_get_value_int): Delete. + (exp_get_power): New function. + * emultempl/pe.em (place_orphan): Build expression for section + alignment. + * emultempl/pep.em (place_orphan): Likewise. + * testsuite/ld-scripts/pr23571.d, + * testsuite/ld-scripts/pr23571.t: New test. + * testsuite/ld-scripts/align.exp: Run it. + +2018-08-24 Chenghua Xu + + * testsuite/ld-mips-elf/mips-elf-flags.exp + (check_ld_support_32bit, check_is_32bit_args): New procedures. + (good_combination, bad_combination): Skip 32bit test if ld + not support 32bit emulations. + +2018-08-24 H.J. Lu + + * testsuite/ld-i386/i386.exp: Run pr23372c, pr23372d, pr23486c + and pr23486d. + * testsuite/ld-i386/pr23372a.s: Update comments. + * testsuite/ld-i386/pr23372b.s: Likewise. + * testsuite/ld-i386/pr23372c.s: Likewise. + * testsuite/ld-x86-64/pr23372a.s: Likewise. + * testsuite/ld-x86-64/pr23372b.s: Likewise. + * testsuite/ld-x86-64/pr23372c.s: Likewise. + * testsuite/ld-x86-64/pr23486a.s: Likewise. + * testsuite/ld-x86-64/pr23486b.s: Likewise. + * testsuite/ld-i386/pr23372c.d: New file. + * testsuite/ld-i386/pr23372d.d: Likewise. + * testsuite/ld-i386/pr23486c.d: Likewise. + * testsuite/ld-i386/pr23486d.d: Likewise. + * testsuite/ld-x86-64/pr23372c-x32.d: Likewise. + * testsuite/ld-x86-64/pr23372c.d: Likewise. + * testsuite/ld-x86-64/pr23372d-x32.d: Likewise. + * testsuite/ld-x86-64/pr23372d.d: Likewise. + * testsuite/ld-x86-64/pr23372d.s: Likewise. + * testsuite/ld-x86-64/pr23372e.s: Likewise. + * testsuite/ld-x86-64/pr23372f.s: Likewise. + * testsuite/ld-x86-64/pr23486c-x32.d: Likewise. + * testsuite/ld-x86-64/pr23486c.d: Likewise. + * testsuite/ld-x86-64/pr23486c.s: Likewise. + * testsuite/ld-x86-64/pr23486d-x32.d: Likewise. + * testsuite/ld-x86-64/pr23486d.d: Likewise. + * testsuite/ld-x86-64/pr23486d.s: Likewise. + * testsuite/ld-i386/property-3.r: Updated. + * testsuite/ld-i386/property-4.r: Likewise. + * testsuite/ld-i386/property-5.r: Likewise. + * testsuite/ld-i386/property-x86-3.d: Likewise. + * testsuite/ld-i386/property-x86-ibt3a.d: Likewise. + * testsuite/ld-i386/property-x86-shstk3a.d: Likewise. + * testsuite/ld-i386/property-x86-shstk3b.d: Likewise. + * testsuite/ld-x86-64/property-3.r: Likewise. + * testsuite/ld-x86-64/property-4.r: Likewise. + * testsuite/ld-x86-64/property-5.r: Likewise. + * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-3.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise. + * testsuite/ld-i386/property-x86-1.S: Updated to the current + GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED + values. + * testsuite/ld-i386/property-x86-2.S: Likewise. + * testsuite/ld-i386/property-x86-3.s: Likewise. + * testsuite/ld-x86-64/property-x86-1.S: Likewise. + * testsuite/ld-x86-64/property-x86-2.S: Likewise. + * testsuite/ld-x86-64/property-x86-3.s: Likewise. + * ld/testsuite/ld-x86-64/x86-64.exp: Run pr23372c, pr23372c-x32, + pr23372d, pr23372d-x32, pr23486c, pr23486c-x32, pr23486d and + pr23486d-x32. + +2018-08-24 Alan Modra + + * emultempl/elf32.em (before_allocation): Don't restore + __ehdr_start u.*.next pointer. + +2018-08-23 Alan Modra + + PR 23566 + * emultempl/elf32.em (before_allocation): Warning fix. + +2018-08-23 H.J. Lu + + PR ld/23536 + * Makefile.am (development.exp): New target. + (EXTRA_DEJAGNU_SITE_CONFIG): New. + (DISTCLEANFILES): Add development.exp. + * Makefile.in: Regenerated. + * testsuite/ld-bootstrap/bootstrap.exp: Call prune_warnings to + prune BFD output. + * testsuite/ld-plugin/lto.exp: Likewise. + * testsuite/lib/ld-lib.exp (prune_warnings): Removed. + * testsuite/ld-elf/shared.exp: Allow "\n" in linker warnings. + +2018-08-21 Nick Clifton + + PR 23426 + * ld.texi (--hash-style): Note that the default is configurable + and that for most Linux based systems it will be "both". + +2018-08-18 Alan Modra + + * testsuite/ld-elf/elf.exp (is_elf64): Delete. + +2018-08-17 H.J. Lu + + PR ld/23515 + * testsuite/ld-i386/ibt-plt-2a.d: Updated. + * testsuite/ld-i386/ibt-plt-2b.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise. + +2018-08-12 H.J. Lu + + * testsuite/ld-x86-64/pr23486b.d: Swap pr23486a.s and pr23486a.s. + +2018-08-11 H.J. Lu + + PR ld/23428 + * testsuite/ld-elf/dummy.s: New file. + * testsuite/ld-elf/linux-x86.S: Add X86_FEATURE_1_AND property. + * testsuite/ld-elf/linux-x86.exp: Add dummy.s to pr23428. + +2018-08-08 H.J. Lu + + PR ld/23486 + * testsuite/ld-i386/i386.exp: Run PR ld/23486 tests. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/ld-i386/pr23486a.d: New file. + * testsuite/ld-i386/pr23486b.d: Likewise. + * testsuite/ld-x86-64/pr23486a-x32.d: Likewise. + * testsuite/ld-x86-64/pr23486a.d: Likewise. + * testsuite/ld-x86-64/pr23486a.s: Likewise. + * testsuite/ld-x86-64/pr23486b-x32.d: Likewise. + * testsuite/ld-x86-64/pr23486b.d: Likewise. + * testsuite/ld-x86-64/pr23486b.s: Likewise. + * testsuite/ld-i386/property-3.r: Remove "x86 ISA used". + * testsuite/ld-i386/property-4.r: Likewise. + * testsuite/ld-i386/property-5.r: Likewise. + * testsuite/ld-i386/property-x86-ibt3a.d: Likewise. + * testsuite/ld-i386/property-x86-ibt3b.d: Likewise. + * testsuite/ld-i386/property-x86-shstk3a.d: Likewise. + * testsuite/ld-i386/property-x86-shstk3b.d: Likewise. + * testsuite/ld-x86-64/property-3.r: Likewise. + * testsuite/ld-x86-64/property-4.r: Likewise. + * testsuite/ld-x86-64/property-5.r: Likewise. + * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise. + +2018-08-07 Alan Modra + + * testsuite/ld-powerpc/notoc.s: Generate some cfi. + * testsuite/ld-powerpc/notoc.d: Adjust. + * testsuite/ld-powerpc/notoc.wf: New file. + * testsuite/ld-powerpc/powerpc.exp: Run "ext" and "notoc" tests + as run_ld_link_tests rather than run_dump_test. + +2018-08-07 Martin Storsjo + + * scripttempl/pe.sc: Improve the comment about overriding + __CTOR_LIST__ and __DTOR_LIST__ symbols. + * scripttemp/pep.sc: Likewise. + +2018-08-07 Nick Clifton + + * po/bg.po: Updated Bulgarian translation. + +2018-08-06 Claudiu Zissulescu + + * testsuite/ld-arc/attr-merge-6.d: New file. + * testsuite/ld-arc/attr-merge-6a.s: Likewise. + * testsuite/ld-arc/attr-merge-6b.s: Likewise. + * testsuite/ld-arc/attr-merge-6bis.d: Likewise. + +2018-08-06 Claudiu Zissulescu + + * testsuite/ld-arc/attr-merge-0.d: Update test. + * testsuite/ld-arc/attr-merge-1.d: Likewise. + * testsuite/ld-arc/attr-merge-2.d: Likewise. + * testsuite/ld-arc/attr-merge-3.d: Likewise. + * testsuite/ld-arc/attr-merge-5.d: Likewise. + +2018-08-05 Alan Modra + + * testsuite/ld-powerpc/ext.d, + * testsuite/ld-powerpc/ext.s, + * testsuite/ld-powerpc/ext.lnk, + * testsuite/ld-powerpc/notoc.d, + * testsuite/ld-powerpc/notoc.s: New tests. + * testsuite/ld-powerpc/powerpc.exp: Run them. + +2018-08-05 Alan Modra + + * testsuite/ld-powerpc/elfv2exe.d: Adjust for stub symbol change. + * testsuite/ld-powerpc/tocopt6.d: Likewise. + +2018-08-03 H.J. Lu + + * testsuite/ld-x86-64/property-x86-3.s: Use ".p2align 2" to + align .note.gnu.property section if __64_bit__ is undefined. + +2018-08-02 Nick Clifton + + PR 23463 + * testsuite/ld-plugin/pr12982.d: Revert previous delta. + * testsuite/ld-plugin/lto.exp: Skip the pr12982 test for HPPA + targets. + +2018-08-02 H.J. Lu + + * testsuite/ld-ifunc/ifunc.exp: Always build static_nonifunc_prog. + +2018-08-02 H.J. Lu + + PR binutils/23460 + * testsuite/ld-plugin/lto.exp: Run the PR binutils/23460 test. + * testsuite/ld-plugin/pr23460a.c: New file. + * testsuite/ld-plugin/pr23460b.c: Likewise. + * testsuite/ld-plugin/pr23460c.c: Likewise. + * testsuite/ld-plugin/pr23460d.c: Likewise. + * testsuite/ld-plugin/pr23460e.c: Likewise. + * testsuite/ld-plugin/pr23460f.c: Likewise. + +2018-08-01 Roland McGrath + + * testsuite/ld-aarch64/ifunc-1-local.d: Adjust regexps to match + the offsets emitted by aarch64-elf configurations. + * testsuite/ld-aarch64/ifunc-1.d: Likewise. + * testsuite/ld-aarch64/ifunc-2-local.d: Likewise. + * testsuite/ld-aarch64/ifunc-2.d: Likewise. + * testsuite/ld-aarch64/ifunc-21.d: Likewise. + * testsuite/ld-aarch64/ifunc-3a.d: Likewise. + +2018-08-01 Nick Clifton + + PR 23463 + * testsuite/ld-plugin/pr12982.d: Skip this test for the HPPA + target. + +2018-08-01 Alan Modra + + * testsuite/ld-powerpc/powerpc.exp: Run tlsopt5 with hash-style + specified. + +2018-08-01 Alan Modra + + * testsuite/ld-powerpc/powerpc.exp: Run tlsopt5 with plt alignment. + * testsuite/ld-powerpc/tlsopt5.s: Add extra call. + * testsuite/ld-powerpc/tlsopt5.wf: Adjust expected output. + * testsuite/ld-powerpc/tlsopt5.d: Likewise. + +2018-08-01 Alan Modra + + * po/BLD-POTFILES.in: Regenerate. + +2018-07-30 Nick Clifton + + * scripttempl/elf.sc: Move the .gnu.build.attributes section to + after the .comment section. + +2018-07-30 Andrew Jenner + + * Makefile.am (ALL_EMULATION_SOURCES): Add C-SKY emulations. + (ecskyelf.c, ecskyelf_linux.c): New rules. + * Makefile.in: Regenerated. + * configure.tgt: Add C-SKY. + * emulparams/cskyelf.sh: New file. + * emulparams/cskyelf_linux.sh: New file. + * emultempl/cskyelf.em: New file. + * gen-doc.texi: Add C-SKY. + * ld.texi: Likewise. + (Options specific to C-SKY targets): New section. + * testsuite/ld-csky/*: New tests. + * NEWS: Mention the support. + +2018-07-30 Nick Clifton + + * scripttempl/elf.sc: Place .gnu.build.attributes sections with + other read-only sections. + +2018-07-27 John Darrington + + * scripttempl/elfm9s12z.sc: Put input sections called .common + into the .bss segment. + +2018-07-27 John Darrington + + * scripttempl/elfm9s12z.sc: Emit the data_section at the end of text. + +2018-07-26 Alan Modra + + * testsuite/ld-powerpc/vxworks-relax-2.rd: Update for 2018-07-25 + ppc_elf_relax_section changes. + +2018-07-26 Alan Modra + + * ld-powerpc/elfv2.s: Add .localentry f5,1 testcase. + * ld-powerpc/elfv2exe.d: Update. + * ld-powerpc/elfv2so.d: Update. + +2018-07-25 Alan Modra + + * testsuite/ld-powerpc/big.s: New file. + * testsuite/ld-powerpc/relaxrl.d: New test. + * testsuite/ld-powerpc/powerpc.exp: Run new test. + * testsuite/ld-powerpc/relaxr.d: Adjust. + +2018-07-24 Nick Clifton + + * po/fr.po: Updated French translation. + +2018-07-23 Max Filippov + + * testsuite/ld-xtensa/coalesce.d: New file. + * testsuite/ld-xtensa/coalesce.exp: Remove file. + * testsuite/ld-xtensa/diff_overflow.d: New file. + * testsuite/ld-xtensa/diff_overflow.exp: Remove file. + * testsuite/ld-xtensa/lcall.d: New file. + * testsuite/ld-xtensa/lcall.exp: Remove file. + * testsuite/ld-xtensa/xtensa.exp (coalesce, diff_overflow) + (lcall): New tests. + +2018-07-23 Max Filippov + + * testsuite/ld-xtensa/relax-static-defs.s: New file. + * testsuite/ld-xtensa/relax-static-local-pie.d: New file. + * testsuite/ld-xtensa/relax-static-local-shared.d: New file. + * testsuite/ld-xtensa/relax-static-local.s: New file. + * testsuite/ld-xtensa/relax-static-pie.d: New file. + * testsuite/ld-xtensa/relax-static-shared.d: New file. + * testsuite/ld-xtensa/relax-static.s: New file. + * testsuite/ld-xtensa/relax-undef-weak-local-pie.d: New file. + * testsuite/ld-xtensa/relax-undef-weak-local-shared.d: New file. + * testsuite/ld-xtensa/relax-undef-weak-local.s: New file. + * testsuite/ld-xtensa/relax-undef-weak-pie.d: New file. + * testsuite/ld-xtensa/relax-undef-weak-shared.d: New file. + * testsuite/ld-xtensa/relax-undef-weak.s: New file. + * testsuite/ld-xtensa/xtensa.exp: New file. + +2018-07-23 Max Filippov + + * testsuite/ld-xtensa/xtensa.exp: Rename to xtensa-linux.exp. + +2018-07-23 Alan Modra + + * testsuite/ld-elf/reloc-discard-warn.d: New. + * testsuite/ld-elf/reloc-discard.d: Skip test on PowerPC64. + +2018-07-20 H.J. Lu + + * testsuite/ld-elf/reloc-discard.ld: Discard .rel.* and .rela.* + sections instead of .rel.dyn and .rela.dyn sections. + +2018-07-20 H.J. Lu + + PR ld/23428 + * testsuite/ld-elf/linux-x86.S: New file. + * testsuite/ld-elf/linux-x86.exp: Likewise. + * testsuite/ld-elf/pr23428.c: Likewise. + * testsuite/ld-elf/sec64k.exp: Pass "-z noseparate-code" to ld + for Linux/x86 targets. + * testsuite/ld-i386/abs-iamcu.d: Likewise. + * testsuite/ld-i386/abs.d: Likewise. + * testsuite/ld-i386/pr12718.d: Likewise. + * testsuite/ld-i386/pr12921.d: Likewise. + * testsuite/ld-x86-64/abs-k1om.d: Likewise. + * testsuite/ld-x86-64/abs-l1om.d: Likewise. + * testsuite/ld-x86-64/abs.d: Likewise. + * testsuite/ld-x86-64/pr12718.d: Likewise. + * testsuite/ld-x86-64/pr12921.d: Likewise. + * testsuite/ld-linkonce/zeroeh.ld: Discard .note.gnu.property + section. + * testsuite/ld-scripts/print-memory-usage.t: Likewise. + * testsuite/ld-scripts/size-2.t: Likewise. + * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Use ld to + create executable if language is "asm". + +2018-07-20 Maciej W. Rozycki + + * testsuite/ld-elf/reloc-discard.d: New test. + * testsuite/ld-elf/reloc-discard.ld: New test linker script. + * testsuite/ld-elf/reloc-discard.s: New test source. + +2018-07-18 Nick Clifton + + * po/fr.po: Updated French translation. + +2018-07-17 Maciej W. Rozycki + + * ldexp.c (exp_fold_tree_1) + : Copy expression's `rel_from_abs' flag to the + link hash. + +2018-07-12 Maciej W. Rozycki + + * testsuite/ld-mips-elf/mips-elf.exp (run_dump_test_abi) + (run_dump_test_o32, run_dump_test_n32, run_dump_test_n64) + (run_dump_test_eabi): New procedures. + (has_newabi, has_elf32): Remove variables. + (has_abi): New associative array variable. + (abi_asflags, abi_ldflags): Update settings across targets. + (irixemul): New variable. + Replace `run_dump_test' calls where applicable throughout with + `run_dump_test_o32', `run_dump_test_n32', `run_dump_test_n64' + and `run_dump_test_eabi' as appropriate. Remove explicit + passing of `abi_asflags' and `abi_ldflags'. Use `noarch' for + tests that require their own architecture setting. Force the + big endianness for tests that require it. Select the endianness + required for `objdump invocation with the `reloc-2' test. + Conditionalize tests run via `run_ld_link_tests' on the ABI + required and use the ABI list from the `has_abi' array where + appropriate. + * testsuite/ld-mips-elf/attr-gnu-4-0-n32-ph.d: Remove ABI and + endianness selection options from `ld' and `source' tags. Relax + output format matching. + * testsuite/ld-mips-elf/attr-gnu-4-0-n64-ph.d: Likewise. + * testsuite/ld-mips-elf/attr-gnu-4-1-n32-ph.d: Likewise. + * testsuite/ld-mips-elf/attr-gnu-4-1-n64-ph.d: Likewise. + * testsuite/ld-mips-elf/attr-gnu-4-2-n32-ph.d: Likewise. + * testsuite/ld-mips-elf/attr-gnu-4-2-n64-ph.d: Likewise. + * testsuite/ld-mips-elf/attr-gnu-4-3-n32-ph.d: Likewise. + * testsuite/ld-mips-elf/attr-gnu-4-3-n64-ph.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-addend-micromips-n32.d: Remove + ABI and endianness selection options from `as', `ld', `source' + tags, and also the `-march=from-abi' option. Remove the `as' + tag where it would become empty. + * testsuite/ld-mips-elf/bal-jalx-addend-micromips-n64.d: + Likewise. + * testsuite/ld-mips-elf/bal-jalx-addend-micromips.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-addend.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-local-micromips-n32.d: + Likewise. + * testsuite/ld-mips-elf/bal-jalx-local-micromips-n64.d: + Likewise. + * testsuite/ld-mips-elf/bal-jalx-local-micromips.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-local-n32.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-local-n64.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-local.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d: + Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d: + Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d: + Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic.d: Likewise. + * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: Likewise. + * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: Likewise. + * testsuite/ld-mips-elf/branch-absolute-addend.d: Likewise. + * testsuite/ld-mips-elf/branch-absolute-n32.d: Likewise. + * testsuite/ld-mips-elf/branch-absolute-n64.d: Likewise. + * testsuite/ld-mips-elf/branch-absolute.d: Likewise. + * testsuite/ld-mips-elf/dyn-sec64.d: Likewise. + * testsuite/ld-mips-elf/eh-frame1-n32.d: Likewise. + * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise. + * testsuite/ld-mips-elf/eh-frame2-n32.d: Likewise. + * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise. + * testsuite/ld-mips-elf/elf-rel-got-n32-embed.d: Likewise. + * testsuite/ld-mips-elf/elf-rel-got-n32.d: Likewise. + * testsuite/ld-mips-elf/elf-rel-got-n64-embed.d: Likewise. + * testsuite/ld-mips-elf/elf-rel-got-n64-irix.d: Likewise. + * testsuite/ld-mips-elf/elf-rel-got-n64.d: Likewise. + * testsuite/ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise. + * testsuite/ld-mips-elf/elf-rel-xgot-n32.d: Likewise. + * testsuite/ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise. + * testsuite/ld-mips-elf/elf-rel-xgot-n64-irix.d: Likewise. + * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Likewise. + * testsuite/ld-mips-elf/emit-relocs-1.d: Likewise. + * testsuite/ld-mips-elf/got-dump-2.d: Likewise. + * testsuite/ld-mips-elf/got-page-2.d: Likewise. + * testsuite/ld-mips-elf/jal-global-overflow-0.d: Likewise. + * testsuite/ld-mips-elf/jal-global-overflow-1.d: Likewise. + * testsuite/ld-mips-elf/jal-local-overflow-0.d: Likewise. + * testsuite/ld-mips-elf/jal-local-overflow-1.d: Likewise. + * testsuite/ld-mips-elf/jalbal.d: Likewise. + * testsuite/ld-mips-elf/jalx-addend-n32.d: Likewise. + * testsuite/ld-mips-elf/jalx-addend-n64.d: Likewise. + * testsuite/ld-mips-elf/jalx-addend.d: Likewise. + * testsuite/ld-mips-elf/jalx-local-n32.d: Likewise. + * testsuite/ld-mips-elf/jalx-local-n64.d: Likewise. + * testsuite/ld-mips-elf/jalx-local.d: Likewise. + * testsuite/ld-mips-elf/jr-to-b-1.d: Likewise. + * testsuite/ld-mips-elf/jr-to-b-2.d: Likewise. + * testsuite/ld-mips-elf/lsi-4010-isa.d: Likewise. + * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d: + Likewise. + * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d: + Likewise. + * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: + Likewise. + * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: + Likewise. + * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: + Likewise. + * testsuite/ld-mips-elf/micromips-branch-absolute.d: Likewise. + * testsuite/ld-mips-elf/mips16-branch-2.d: Likewise. + * testsuite/ld-mips-elf/mips16-branch-3.d: Likewise. + * testsuite/ld-mips-elf/mips16-branch-absolute-1.d: Likewise. + * testsuite/ld-mips-elf/mips16-branch-absolute-2.d: Likewise. + * testsuite/ld-mips-elf/mips16-branch-absolute-addend-1.d: + Likewise. + * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32-1.d: + Likewise. + * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: + Likewise. + * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64-1.d: + Likewise. + * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: + Likewise. + * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: + Likewise. + * testsuite/ld-mips-elf/mips16-branch-absolute-n32-1.d: + Likewise. + * testsuite/ld-mips-elf/mips16-branch-absolute-n32-2.d: + Likewise. + * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: Likewise. + * testsuite/ld-mips-elf/mips16-branch-absolute-n64-1.d: + Likewise. + * testsuite/ld-mips-elf/mips16-branch-absolute-n64-2.d: + Likewise. + * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: Likewise. + * testsuite/ld-mips-elf/mips16-branch-absolute.d: Likewise. + * testsuite/ld-mips-elf/mips16-branch-addend-2.d: Likewise. + * testsuite/ld-mips-elf/mips16-branch-addend-3.d: Likewise. + * testsuite/ld-mips-elf/mips16-hilo-n32.d: Likewise. + * testsuite/ld-mips-elf/mips16-pcrel-0.d: Likewise. + * testsuite/ld-mips-elf/mips16-pcrel-1.d: Likewise. + * testsuite/ld-mips-elf/mips16-pcrel-addend-2.d: Likewise. + * testsuite/ld-mips-elf/mips16-pcrel-addend-6.d: Likewise. + * testsuite/ld-mips-elf/mips16-pcrel-n32-0.d: Likewise. + * testsuite/ld-mips-elf/mips16-pcrel-n32-1.d: Likewise. + * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-0.d: Likewise. + * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-1.d: Likewise. + * testsuite/ld-mips-elf/mips16e2-pcrel-0.d: Likewise. + * testsuite/ld-mips-elf/mips16e2-pcrel-1.d: Likewise. + * testsuite/ld-mips-elf/mips16e2-pcrel-addend-2.d: Likewise. + * testsuite/ld-mips-elf/mips16e2-pcrel-addend-6.d: Likewise. + * testsuite/ld-mips-elf/mips16e2-pcrel-n32-0.d: Likewise. + * testsuite/ld-mips-elf/mips16e2-pcrel-n32-1.d: Likewise. + * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-0.d: Likewise. + * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-1.d: Likewise. + * testsuite/ld-mips-elf/multi-got-1.d: Likewise. + * testsuite/ld-mips-elf/multi-got-hidden-1.d: Likewise. + * testsuite/ld-mips-elf/multi-got-hidden-2.d: Likewise. + * testsuite/ld-mips-elf/multi-got-no-shared.d: Likewise. + * testsuite/ld-mips-elf/no-shared-1-n32.d: Likewise. + * testsuite/ld-mips-elf/no-shared-1-n64.d: Likewise. + * testsuite/ld-mips-elf/no-shared-1-o32.d: Likewise. + * testsuite/ld-mips-elf/pic-and-nonpic-2.d: Likewise. + * testsuite/ld-mips-elf/pic-and-nonpic-3-error.d: Likewise. + * testsuite/ld-mips-elf/pic-and-nonpic-4-error.d: Likewise. + * testsuite/ld-mips-elf/pie-n32.d: Likewise. + * testsuite/ld-mips-elf/pie-n64.d: Likewise. + * testsuite/ld-mips-elf/pie-o32.d: Likewise. + * testsuite/ld-mips-elf/rel32-n32.d: Likewise. + * testsuite/ld-mips-elf/rel32-o32.d: Likewise. + * testsuite/ld-mips-elf/rel64.d: Likewise. + * testsuite/ld-mips-elf/relax-jalr-n32.d: Likewise. + * testsuite/ld-mips-elf/reloc-1-n32.d: Likewise. + * testsuite/ld-mips-elf/reloc-1-n64.d: Likewise. + * testsuite/ld-mips-elf/reloc-2.d: Likewise. + * testsuite/ld-mips-elf/reloc-3-n32.d: Likewise. + * testsuite/ld-mips-elf/reloc-local-overflow.d: Likewise. + * testsuite/ld-mips-elf/textrel-1.d: Likewise. + * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise. + * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise. + * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d: + Likewise. + * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d: + Likewise. + * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d: + Likewise. + * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise. + * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise. + * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise. + * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise. + * testsuite/ld-mips-elf/unaligned-branch.d: Likewise. + * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: Likewise. + * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise. + * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: Likewise. + * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise. + * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: + Likewise. + * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: + Likewise. + * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: + Likewise. + * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: + Likewise. + * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise. + * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise. + * testsuite/ld-mips-elf/unaligned-jump.d: Likewise. + * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Likewise. + * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise. + * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise. + * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise. + +2018-07-12 Maciej W. Rozycki + + * testsuite/ld-mips-elf/mips-elf.exp: Limit reloc 6 tests to + shared library targets. + +2018-07-11 Maciej W. Rozycki + + * testsuite/ld-mips-elf/tlsdyn-o32.d: Update test for dynamic + relocation removal. + * testsuite/ld-mips-elf/tlsdyn-o32.got: Likewise. + * testsuite/ld-mips-elf/tlsdyn-o32-1.d: Likewise. + * testsuite/ld-mips-elf/tlsdyn-o32-1.got: Likewise. + * testsuite/ld-mips-elf/tlsdyn-o32-2.d: Likewise. + * testsuite/ld-mips-elf/tlsdyn-o32-2.got: Likewise. + * testsuite/ld-mips-elf/tlsdyn-o32-3.d: Likewise. + * testsuite/ld-mips-elf/tlsdyn-o32-3.got: Likewise. + +2018-07-11 Maciej W. Rozycki + + PR ld/22570 + * testsuite/ld-mips-elf/tlsbin-pie-o32.d: New test. + * testsuite/ld-mips-elf/tlsbin-pie-o32.got: New test. + * testsuite/ld-mips-elf/tlsdyn-pie-o32.d: New test. + * testsuite/ld-mips-elf/tlsdyn-pie-o32.got: New test. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2018-07-11 Alan Modra + + * testsuite/ld-elf/hash.d: Comment on mips xfail. + * testsuite/ld-gc/pr20022b.s: Use .data not .text. + * testsuite/ld-gc/pr20022.d: Remove xfails. + * testsuite/ld-scripts/fill.d: Revert most of last patch, but use + skip rather than notarget. + * testsuite/ld-scripts/fill16.d: Likewise. + +2018-07-10 Maciej W. Rozycki + + * testsuite/ld-mips-elf/mips-elf.exp: Limit export class call + relocation tests to shared library targets. + +2018-07-10 Alan Modra + + * testsuite/lib/ld-lib.exp (check_gc_sections_available): Return 0 + for xgate. + * testsuite/ld-elf/elf.exp: Add xgate to pr21703 xfails. + * testsuite/ld-elf/shared.exp: Add xgate to pr21703 xfails. + * testsuite/ld-discard/extern.d: xfail xgate. + * testsuite/ld-discard/start.d: Likewise. + * testsuite/ld-discard/static.d: Likewise. + * testsuite/ld-elf/attributes.d: Likewise. + * testsuite/ld-elf/compressed1d.d: Likewise. + * testsuite/ld-elf/group1.d: Likewise. + * testsuite/ld-elf/group3b.d: Likewise. + * testsuite/ld-elf/group8a.d: Likewise. + * testsuite/ld-elf/group8b.d: Likewise. + * testsuite/ld-elf/group9a.d: Likewise. + * testsuite/ld-elf/group9b.d: Likewise. + * testsuite/ld-elf/linkonce2.d: Likewise. + * testsuite/ld-elf/merge.d: Likewise. + * testsuite/ld-elf/merge2.d: Likewise. + * testsuite/ld-elf/merge3.d: Likewise. + * testsuite/ld-elf/orphan-10.d: Likewise. + * testsuite/ld-elf/orphan-9.d: Likewise. + * testsuite/ld-elf/orphan-region.d: Likewise. + * testsuite/ld-elf/orphan.d: Likewise. + * testsuite/ld-elf/orphan3.d: Likewise. + * testsuite/ld-elf/pr12851.d: Likewise. + * testsuite/ld-elf/pr12975.d: Likewise. + * testsuite/ld-elf/pr13177.d: Likewise. + * testsuite/ld-elf/pr13195.d: Likewise. + * testsuite/ld-elf/pr14156b.d: Likewise. + * testsuite/ld-elf/pr17550c.d: Likewise. + * testsuite/ld-elf/pr17550d.d: Likewise. + * testsuite/ld-elf/pr17615.d: Likewise. + * testsuite/ld-elf/pr20528a.d: Likewise. + * testsuite/ld-elf/pr20528b.d: Likewise. + * testsuite/ld-elf/pr21562a.d: Likewise. + * testsuite/ld-elf/pr21562b.d: Likewise. + * testsuite/ld-elf/pr21562c.d: Likewise. + * testsuite/ld-elf/pr21562d.d: Likewise. + * testsuite/ld-elf/pr21562i.d: Likewise. + * testsuite/ld-elf/pr21562j.d: Likewise. + * testsuite/ld-elf/pr21562k.d: Likewise. + * testsuite/ld-elf/pr21562l.d: Likewise. + * testsuite/ld-elf/pr21562m.d: Likewise. + * testsuite/ld-elf/pr21562n.d: Likewise. + * testsuite/ld-elf/pr22677.d: Likewise. + * testsuite/ld-elf/pr22836-1a.d: Likewise. + * testsuite/ld-elf/pr22836-1b.d: Likewise. + * testsuite/ld-elf/pr349.d: Likewise. + * testsuite/ld-elf/warn1.d: Likewise. + * testsuite/ld-elf/warn2.d: Likewise. + * testsuite/ld-elf/warn3.d: Likewise. + +2018-07-10 Alan Modra + + * emulparams/xgateelf.sh (TEMPLATE_NAME) Set to generic. + (EXTRA_EM_FILE): Set to genelf. + +2018-07-10 Alan Modra + + * testsuite/ld-elf/attributes.d: Use xfail rather than notarget. + * testsuite/ld-elf/hash.d: Likewise. + * testsuite/ld-elf/orphan-10.d: Likewise. + * testsuite/ld-elf/overlay.d: Likewise. + * testsuite/ld-elf/pr14926.d: Likewise. + * testsuite/ld-elf/pr17550d.d: Likewise. + * testsuite/ld-elf/pr19539.d: Likewise. + * testsuite/ld-elf/pr22319.d: Likewise. + * testsuite/ld-misc/defsym1.d: Likewise. + * testsuite/ld-pe/pr19803.d: Likewise. + * testsuite/ld-scripts/assign-loc.d: Likewise. + * testsuite/ld-scripts/defined4.d: Likewise. + * testsuite/ld-scripts/empty-address-1.d: Likewise. + * testsuite/ld-scripts/empty-address-2a.d: Likewise. + * testsuite/ld-scripts/empty-address-2b.d: Likewise. + * testsuite/ld-scripts/fill.d: Likewise. + * testsuite/ld-scripts/fill16.d: Likewise. + * testsuite/ld-scripts/pr14962.d: Likewise. + * testsuite/ld-scripts/pr14962-2.d: Likewise. + * testsuite/ld-unique/pr21529.d: Likewise. + * testsuite/ld-elf/compress1a.d: Likewise, and adjust targets. + * testsuite/ld-elf/compressed1a.d: Likewise. + * testsuite/ld-elf/compressed1d.d: Likewise. + * testsuite/ld-elf/compressed1e.d: Likewise. + * testsuite/ld-elf/eh5.d: Likewise. + * testsuite/ld-elf/group8a.d: Likewise. + * testsuite/ld-elf/linkonce2.d: Likewise. + * testsuite/ld-elf/orphan-9.d: Likewise. + * testsuite/ld-elf/pr17550a.d: Likewise. + * testsuite/ld-elf/pr17550b.d: Likewise. + * testsuite/ld-elf/pr17550c.d: Likewise. + * testsuite/ld-elf/pr19162.d: Likewise. + * testsuite/ld-elf/pr21884.d: Likewise. + * testsuite/ld-gc/pr19167.d: Likewise. + * testsuite/ld-gc/pr20022.d: Likewise. + * testsuite/ld-gc/start.d: Likewise. + * testsuite/ld-elf/orphan-11.d: Delete notarget. + * testsuite/ld-elf/orphan-12.d: Likewise. + * testsuite/ld-gc/stop.d: Likewise. + * testsuite/ld-scripts/empty-address-3a.d: Likewise. + * testsuite/ld-scripts/empty-address-3b.d: Likewise. + * testsuite/ld-ifunc/pr17154-x86-64-now.d: Delete duplicate notarget. + * testsuite/ld-scripts/section-match-1.d: Comment fix. + +2018-07-10 Maciej W. Rozycki + + * testsuite/ld-mips-elf/elf-rel-got-n64.d: Rename to... + * testsuite/ld-mips-elf/elf-rel-got-n64-irix.d: ... this. + * testsuite/ld-mips-elf/elf-rel-got-n64-linux.d: Rename to... + * testsuite/ld-mips-elf/elf-rel-got-n64.d: ... this. + * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Rename to... + * testsuite/ld-mips-elf/elf-rel-xgot-n64-irix.d: ... this. + * testsuite/ld-mips-elf/elf-rel-xgot-n64-linux.dd: Rename to... + * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: ... this. + * testsuite/ld-mips-elf/mips-elf.exp: Update accordingly. + Define `irix' as a shorthand for `[istarget *-*-irix*]' and use + it throughout. + +2018-07-09 Maciej W. Rozycki + + * testsuite/ld-mips-elf/elf-rel-got-n64.d: Add `#pass' at the + end. + * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Likewise. + +2018-07-09 Maciej W. Rozycki + + * testsuite/ld-mips-elf/stub-dynsym-2.dd: New test. + * testsuite/ld-mips-elf/stub-dynsym-2.gd: New test. + * testsuite/ld-mips-elf/stub-dynsym-2.sd: New test. + * testsuite/ld-mips-elf/stub-dynsym-discard-2.gd: New test. + * testsuite/ld-mips-elf/stub-dynsym-discard-2.sd: New test. + * testsuite/ld-mips-elf/stub-dynsym-micromips-2.dd: New test. + * testsuite/ld-mips-elf/stub-dynsym-micromips-2.gd: New test. + * testsuite/ld-mips-elf/stub-dynsym-micromips-2.sd: New test. + * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-2.dd: New + test. + * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-2.gd: New + test. + * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-2.sd: New + test. + * testsuite/ld-mips-elf/stub-dynsym-2.ld: New test linker + script. + * testsuite/ld-mips-elf/stub-dynsym-discard-2.ld: New test + linker script. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2018-07-09 Maciej W. Rozycki + + * testsuite/lib/ld-lib.exp (run_dump_test): Call `unsupported' + if the target being tested has been excluded by means of one or + more of `target', `alltargets' and `notarget' tags. Add support + for `skip', `anyskip' and `noskip' tags. + +2018-07-09 Maciej W. Rozycki + + * testsuite/lib/ld-lib.exp (run_dump_test): Move the setting of + `testname' earlier on and use it for test status reporting. + +2018-07-09 Alan Modra + + * testsuite/ld-discard/extern.d: Remove m68hc12 xfail. + * testsuite/ld-discard/start.d: Likewise. + * testsuite/ld-discard/static.d: Likewise. + +2018-07-09 Christophe Lyon + + * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use the right + symbol name in case of warning. + +2018-07-05 Jim Wilson + + * configure.tgt (riscv-*-*): Add as an alias for riscv32*-*-*. + +2018-07-05 Maciej W. Rozycki + + * testsuite/ld-mips-elf/mips-elf.exp: Replace remaining calls to + `[istarget mips*-*-linux*]' with $linux_gnu. + +2018-07-05 H.J. Lu + + PR ld/23372 + * testsuite/ld-i386/i386.exp: Run pr23372a and pr23372b. + * testsuite/ld-i386/pr23372a.d: New file. + * testsuite/ld-i386/pr23372a.s: Likewise. + * testsuite/ld-i386/pr23372b.d: Likewise. + * testsuite/ld-i386/pr23372b.s: Likewise. + * testsuite/ld-i386/pr23372c.s: Likewise. + * testsuite/ld-x86-64/pr23372a-x32.d: Likewise. + * testsuite/ld-x86-64/pr23372a.d: Likewise. + * testsuite/ld-x86-64/pr23372a.s: Likewise. + * testsuite/ld-x86-64/pr23372b-x32.d: Likewise. + * testsuite/ld-x86-64/pr23372b.d: Likewise. + * testsuite/ld-x86-64/pr23372b.s: Likewise. + * testsuite/ld-x86-64/pr23372c.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run pr23372a, pr23372a-x32, + pr23372b and pr23372b-x32. + +2018-07-05 Nick Clifton + + * po/bg.po: Updated Bulgarian translation. + * po/pt_BR.po: Updated Brazilian Portuguese translation. + +2018-07-05 Alan Modra + + * testsuite/ld-powerpc/attr-gnu-4-12.d: Update expected output. + * testsuite/ld-powerpc/attr-gnu-4-13.d: Likewise. + * testsuite/ld-powerpc/attr-gnu-4-21.d: Likewise. + * testsuite/ld-powerpc/attr-gnu-4-23.d: Likewise. + * testsuite/ld-powerpc/attr-gnu-4-31.d: Likewise. + * testsuite/ld-powerpc/attr-gnu-4-32.d: Likewise. + * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise. + * testsuite/ld-powerpc/attr-gnu-12-21.d: Likewise. + +2018-07-04 H.J. Lu + + PR ld/23309 + * ldlang.c (insert_undefined): Set non_ir_ref_regular to TRUE. + * plugin.c (is_visible_from_outside): Don't scan entry_symbol. + * testsuite/ld-plugin/pr23309.c: New file. + * testsuite/ld-plugin/pr23309.d: Likewise. + +2018-07-04 H.J. Lu + + PR ld/23358 + * lexsup.c (elf_shlib_list_options): Properly display default + for -z separate-code. + +2018-07-02 Maciej W. Rozycki + + * testsuite/ld-mips-elf/mips-elf.exp: Fix a typo in PR ld/21334 + test name. + +2018-07-02 H.J. Lu + + PR ld/23324 + * testsuite/ld-x86-64/pr23324.s: New file. + * testsuite/ld-x86-64/pr23324a.d: Likewise. + * testsuite/ld-x86-64/pr23324b.d: Likewise. + +2018-07-02 Thomas Preud'homme + + * arm-dis.c (select_arm_features): Fix typo in heading comment. Allow + all FPU features and add mapping from new bfd_mach_arm values to + allowed CPU feature bits. + +2018-07-02 Thomas Preud'homme + + * NEWS: Use command-line consistently when used in a compount word. + * ld.texinfo: Likewise. + * ldint.texinfo: Likewise. + +2018-06-26 Nick Clifton + + * po/uk.po: Updated Ukranian translation. + +2018-06-26 Alan Modra + + PR 23169 + * testsuite/ld-ifunc/ifunc.exp: Don't run pr23169 tests on + powerpc. Comment. + +2018-06-26 Alan Modra + + * testsuite/ld-bootstrap/bootstrap.exp: Use parentheses rather + than curly braces in logical expression. + +2018-06-26 Nick Clifton + + * emultempl/aarch64elf.em: Fix spelling mistake. + * emultempl/avrelf.em: Likewise. + * emultempl/elf32.em: Likewise. + +2018-06-24 Nick Clifton + + * configure: Regenerate. + * po/ld.pot: Regenerate. + +2018-06-24 Nick Clifton + + 2.31 branch created. + * NEWS: Add marker for 2.31. + +2018-06-20 Renlin Li + + * testsuite/ld-aarch64/emit-relocs-115.d: Update test with new value. + * testsuite/ld-aarch64/emit-relocs-534.d: Likewise. + * testsuite/ld-aarch64/emit-relocs-555.d: Likewise. + +2018-06-19 Maciej W. Rozycki + + PR ld/22966 + * testsuite/ld-mips-elf/n64-plt-1.dd: New test. + * testsuite/ld-mips-elf/n64-plt-1.gd: New test. + * testsuite/ld-mips-elf/n64-plt-2.ed: New test. + * testsuite/ld-mips-elf/n64-plt-3.ed: New test. + * testsuite/ld-mips-elf/n64-plt-4.dd: New test. + * testsuite/ld-mips-elf/n64-plt-4.gd: New test. + * testsuite/ld-mips-elf/n64-plt-1.ld: New test linker script. + * testsuite/ld-mips-elf/n64-plt-2.ld: New test linker script. + * testsuite/ld-mips-elf/n64-plt-3.ld: New test linker script. + * testsuite/ld-mips-elf/n64-plt-4.ld: New test linker script. + * testsuite/ld-mips-elf/n64-plt.s: New test source. + * testsuite/ld-mips-elf/n64-plt-lib.s: New test source. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2018-06-19 Maciej W. Rozycki + + * testsuite/ld-elf/shared.exp: XFAIL DT_TEXTREL map file warning + test for `mips*-*-*'. + +2018-06-19 Simon Marchi + + * configure.ac: Remove AC_PREREQ. + * Makefile.am: Remove DISTCLEANFILES hack, rename ld.texinfo to + ld.texi, ldint.texinfo to ldint.texi throughout. + (AUTOMAKE_OPTIONS): Add info-in-builddir. + * README: Rename ld.texinfo to ld.texi, ldint.texinfo to + ldint.texi throughout. + * gen-doc.texi: Likewise. + * h8-doc.texi: Likewise. + * ld.texinfo: Rename to ... + * ld.texi: ... this. + * ldint.texinfo: Rename to ... + * ldint.texi: ... this. + * Makefile.in: Re-generate. + * aclocal.m4: Re-generate. + * config.in: Re-generate. + * configure: Re-generate. + +2018-06-18 Alan Modra + + * testsuite/lib/ld-lib.exp (check_ifunc_available): Pass without + running executable when non-native. + (check_ifunc_attribute_available): Likewise. + * testsuite/ld-ifunc/pr23169a.rd: Remove extraneous lines. Match + st_other strings. Pass when func is an ifunc. + * testsuite/ld-ifunc/pr23169b.rd: Remove extraneous lines. Correct + reloc regexp. Correct match-anything line. + * testsuite/ld-ifunc/pr23169c.rd: Remove extraneous lines. Match + st_other strings. + +2018-06-14 Alan Modra + + * testsuite/ld-elf/readelf.exp: Delete DUMP and selection of + variant ver_def.vd. + * testsuite/ld-elf/ver_def-tic6x.vd: Delete. + * testsuite/ld-elf/shared.exp: Run most pr23161 and pr23162 tests for + linux, nacl and gnu targets. + * testsuite/ld-mips-elf/mips-elf.exp: Set base_syms to 1. + * testsuite/ld-elf/pr23161a.rd: Don't check reloc type. Allow any + order of __bss_start, _edata and _end. + * testsuite/ld-elf/pr23161b.rd: Don't check plt and dyn relocs. + Allow and order of __bss_start, _edata and _end. + * testsuite/ld-elf/pr23162.rd: Fail if __bss_start, _edata or _end + relocs are present rather than testing for no relocations. + * testsuite/ld-aarch64/gc-plt-relocs.d, + * testsuite/ld-aarch64/ifunc-1-local.d, + * testsuite/ld-aarch64/ifunc-1.d, + * testsuite/ld-aarch64/ifunc-2-local.d, + * testsuite/ld-aarch64/ifunc-2.d, + * testsuite/ld-aarch64/ifunc-21.d, + * testsuite/ld-aarch64/ifunc-3a.d, + * testsuite/ld-arm/farcall-mixed-lib-v4t.d, + * testsuite/ld-arm/farcall-mixed-lib.d, + * testsuite/ld-arm/gc-hidden-1.d, + * testsuite/ld-arm/tls-gdesc-got.d, + * testsuite/ld-arm/tls-lib-loc.d, + * testsuite/ld-arm/tls-longplt-lib.d, + * testsuite/ld-arm/tls-thumb1.d, + * testsuite/ld-cris/libdso-10.d, + * testsuite/ld-cris/libdso-11.d, + * testsuite/ld-cris/libdso-13b.d, + * testsuite/ld-cris/libdso-14.d, + * testsuite/ld-cris/libdso-15.d, + * testsuite/ld-cris/pic-gc-72.d, + * testsuite/ld-cris/pic-gc-73.d, + * testsuite/ld-cris/tls-gc-71.d, + * testsuite/ld-mips-elf/mips16-pic-4a.nd, + * testsuite/ld-mips-elf/pic-and-nonpic-3a.dd, + * testsuite/ld-mips-elf/pie-n32.d, + * testsuite/ld-mips-elf/pie-n64.d, + * testsuite/ld-mips-elf/pie-o32.d: Update for removed dynamic + section symbols. + +2018-06-12 Hans-Peter Nilsson + + * testsuite/ld-cris/libdso-1.d: Correct recent address pattern update. + +2018-06-12 Nick Clifton + + PR 22983 + * testsuite/ld-plugin/lto.exp: Use individual tests to check for + the presence of each expected symbol. + * testsuite/ld-plugin/pr22983.1.d: New file. + * testsuite/ld-plugin/pr22983.2.d: New file. + * testsuite/ld-plugin/pr22983.3.d: New file. + * testsuite/ld-plugin/pr22983.4.d: New file. + + * emulparams/aarch64elf.sh (OTHER_BSS_END_SYMBOLS): Make the + definition of the __bss_end__ symbol conditional upon CREATE_SHLIB. + +2018-06-11 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2018-06-09 Maciej W. Rozycki + + * testsuite/ld-mips-elf/stub-dynsym-micromips-1-7fff.d: New + test. + * testsuite/ld-mips-elf/stub-dynsym-micromips-1-8000.d: New + test. + * testsuite/ld-mips-elf/stub-dynsym-micromips-1-fff0.d: New + test. + * testsuite/ld-mips-elf/stub-dynsym-micromips-1-10000.d: New + test. + * testsuite/ld-mips-elf/stub-dynsym-micromips-1-2fe80.d: New + test. + * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-7fff.d: + New test. + * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-8000.d: + New test. + * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-fff0.d: + New test. + * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-10000.d: + New test. + * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-2fe80.d: + New test. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. Fix + indentation. + +2018-06-09 Maciej W. Rozycki + + * testsuite/ld-mips-elf/mips-elf.exp: Update symbol count in the + comment associated with lazy binding stub tests. + +2018-06-09 Maciej W. Rozycki + + * Makefile.am (eelf32mipswindiss.c): Add `mipself.em' dependency. + * Makefile.in: Regenerate. + +2018-06-08 H.J. Lu + + PR ld/23161 + * testsuite/ld-elf/pr23161d.rd: Remove local _edata, __bss_start, + and _end from dynamic symbol table. + +2018-06-08 H.J. Lu + Alan Modra + + PR ld/23161 + * emulparams/aarch64cloudabi.sh: PROVIDE __bss_start__, _bss_end__, + and __end__ in shared libraries. + * emulparams/aarch64fbsd.sh: Likewise. + * emulparams/aarch64linux.sh: Likewise. + * emulparams/aarch64linux32.sh: Likewise. + * emulparams/armelf_fuchsia.sh: Likewise. + * emulparams/armelf_linux.sh: Likewise. + * emulparams/armelf_phoenix.sh: Likewise. + * emulparams/aarch64elf.sh: Likewise, and __data_start + * emulparams/aarch64elf32.sh: Likewise. + * emulparams/armelf.sh: Likewise. + * emulparams/armnto.sh: Likewise. + * emulparams/elf32bmip.sh: Remove duplicate ". = ." from + OTHER_GOT_SYMBOLS. PROVIDE _ftext, _fdata, and _fbss in shared libs. + * emulparams/elf32bmipn32-defs.sh: Likewise. + * emulparams/elf32frv.sh: PROVIDE __end and __data_start in shared libs. + * emulparams/elf32lriscv-defs.sh: Tidy. + * emulparams/elf32mcore.sh: PROVIDE __bss_start and _bss_end in + shared libs + * emulparams/elf32ppccommon.sh: PROVIDE __end in shared libs. + * emulparams/elf32rl78.sh: Tidy. + * emulparams/i386nto.sh: PROVIDE _btext in shared libs. + * emulparams/shelf_nto.sh: Likewise. + * emulparams/shlelf_nto.sh: Likewise. + * emulparams/score3_elf.sh: PROVIDE _gp, _bss_start__, _bss_end__, + __bss_end__, __end__, _fdata, _sdata_begin, and _bss_start in + shared libs. + * scripttempl/elf.sc: Don't use EXECUTABLE_SYMBOLS for shared + libraries. PROVIDE _edata, edata, __bss_start, and _end in shared + libraries. + * testsuite/ld-elf/pr23161.map, + * testsuite/ld-elf/pr23161a.c, + * testsuite/ld-elf/pr23161b.c, + * testsuite/ld-elf/pr23161c.c, + * testsuite/ld-elf/pr23161a.rd, + * testsuite/ld-elf/pr23161b.rd, + * testsuite/ld-elf/pr23161c.rd, + * testsuite/ld-elf/pr23161d.rd: New tests. + * testsuite/ld-elf/shared.exp: Run ld/23161 tests. + * testsuite/ld-elf/pr23162.rd, + * testsuite/ld-aarch64/ifunc-1-local.d, + * testsuite/ld-aarch64/ifunc-1.d, + * testsuite/ld-aarch64/ifunc-2-local.d, + * testsuite/ld-aarch64/ifunc-2.d, + * testsuite/ld-aarch64/ifunc-21.d, + * testsuite/ld-aarch64/ifunc-3a.d, + * testsuite/ld-alpha/tlsbin.rd, + * testsuite/ld-alpha/tlsbin.sd, + * testsuite/ld-alpha/tlsbinr.rd, + * testsuite/ld-alpha/tlspic.rd, + * testsuite/ld-alpha/tlspic.sd, + * testsuite/ld-cris/dso-pltdis1.d, + * testsuite/ld-cris/dso-pltdis2.d, + * testsuite/ld-cris/dso12-pltdis.d, + * testsuite/ld-cris/gotplt1.d, + * testsuite/ld-cris/gotplt2.d, + * testsuite/ld-cris/gotplt3.d, + * testsuite/ld-cris/hiddef1.d, + * testsuite/ld-cris/libdso-1.d, + * testsuite/ld-cris/libdso-10.d, + * testsuite/ld-cris/libdso-11.d, + * testsuite/ld-cris/libdso-12.d, + * testsuite/ld-cris/libdso-12b.d, + * testsuite/ld-cris/libdso-12c.d, + * testsuite/ld-cris/libdso-13.d, + * testsuite/ld-cris/libdso-13b.d, + * testsuite/ld-cris/libdso-14.d, + * testsuite/ld-cris/libdso-15.d, + * testsuite/ld-cris/libdso-15b.d, + * testsuite/ld-cris/libdso-1c.d, + * testsuite/ld-cris/libdso-1d.d, + * testsuite/ld-cris/libdso-2.d, + * testsuite/ld-cris/pic-gc-72.d, + * testsuite/ld-cris/pic-gc-73.d, + * testsuite/ld-cris/pr16044.d, + * testsuite/ld-cris/pv32-1.d, + * testsuite/ld-cris/tls-dso-dtpoffd2.d, + * testsuite/ld-cris/tls-dso-dtpoffd4.d, + * testsuite/ld-cris/tls-dso-tpoffgotcomm1.d, + * testsuite/ld-cris/tls-gc-71.d, + * testsuite/ld-cris/tls-gd-1.d, + * testsuite/ld-cris/tls-gd-1h.d, + * testsuite/ld-cris/tls-gd-2.d, + * testsuite/ld-cris/tls-gd-2h.d, + * testsuite/ld-cris/tls-ie-10.d, + * testsuite/ld-cris/tls-ie-11.d, + * testsuite/ld-cris/tls-ie-78.d, + * testsuite/ld-cris/tls-ie-8.d, + * testsuite/ld-cris/tls-ie-9.d, + * testsuite/ld-cris/tls-js1.d, + * testsuite/ld-cris/tls-ld-4.d, + * testsuite/ld-cris/tls-ld-5.d, + * testsuite/ld-cris/tls-ld-6.d, + * testsuite/ld-cris/tls-ld-7.d, + * testsuite/ld-cris/tls-ldgd-14.d, + * testsuite/ld-cris/tls-ldgd-15.d, + * testsuite/ld-cris/tls-ldgdex-14.d, + * testsuite/ld-cris/tls-ldgdex-15.d, + * testsuite/ld-cris/tls-ldgdx-14.d, + * testsuite/ld-cris/tls-ldgdx-15.d, + * testsuite/ld-cris/tls-legdx-16.d, + * testsuite/ld-cris/tls-legdx-17.d, + * testsuite/ld-cris/tls-local-54.d, + * testsuite/ld-cris/tls-local-60.d, + * testsuite/ld-cris/tls-local-61.d, + * testsuite/ld-cris/tls-local-63.d, + * testsuite/ld-cris/tls-local-64.d, + * testsuite/ld-cris/tls-ok-30.d, + * testsuite/ld-cris/tls-ok-32.d, + * testsuite/ld-cris/tls-ok-34.d, + * testsuite/ld-cris/tls-und-38.d, + * testsuite/ld-cris/tls-und-42.d, + * testsuite/ld-cris/tls-und-46.d, + * testsuite/ld-cris/tls-und-50.d, + * testsuite/ld-cris/weakhiddso.d, + * testsuite/ld-cris/weakref2.d, + * testsuite/ld-frv/fdpic-shared-1.d, + * testsuite/ld-frv/fdpic-shared-2.d, + * testsuite/ld-frv/fdpic-shared-3.d, + * testsuite/ld-frv/fdpic-shared-4.d, + * testsuite/ld-frv/fdpic-shared-5.d, + * testsuite/ld-frv/fdpic-shared-7.d, + * testsuite/ld-frv/fdpic-shared-8.d, + * testsuite/ld-frv/tls-dynamic-2.d, + * testsuite/ld-i386/ibt-plt-1.d, + * testsuite/ld-i386/ibt-plt-2a.d, + * testsuite/ld-i386/ibt-plt-2b.d, + * testsuite/ld-i386/ibt-plt-2c.d, + * testsuite/ld-i386/ibt-plt-2d.d, + * testsuite/ld-i386/ibt-plt-3a.d, + * testsuite/ld-i386/ibt-plt-3b.d, + * testsuite/ld-i386/ibt-plt-3c.d, + * testsuite/ld-i386/ibt-plt-3d.d, + * testsuite/ld-i386/plt2.dd, + * testsuite/ld-i386/pr20830.d, + * testsuite/ld-i386/tlsbin-nacl.rd, + * testsuite/ld-i386/tlsbin.rd, + * testsuite/ld-i386/tlsbin2-nacl.rd, + * testsuite/ld-i386/tlsbin2.rd, + * testsuite/ld-i386/tlsbindesc-nacl.rd, + * testsuite/ld-i386/tlsbindesc.rd, + * testsuite/ld-i386/tlsdesc-nacl.rd, + * testsuite/ld-i386/tlsdesc.rd, + * testsuite/ld-i386/tlsgdesc-nacl.rd, + * testsuite/ld-i386/tlsgdesc.rd, + * testsuite/ld-i386/tlsnopic-nacl.rd, + * testsuite/ld-i386/tlsnopic.dd, + * testsuite/ld-i386/tlsnopic.rd, + * testsuite/ld-i386/tlsnopic.sd, + * testsuite/ld-i386/tlspic-nacl.rd, + * testsuite/ld-i386/tlspic.rd, + * testsuite/ld-i386/tlspic2-nacl.rd, + * testsuite/ld-i386/tlspic2.rd, + * testsuite/ld-ia64/merge1.d, + * testsuite/ld-ia64/merge2.d, + * testsuite/ld-ia64/merge3.d, + * testsuite/ld-ia64/merge4.d, + * testsuite/ld-ia64/merge5.d, + * testsuite/ld-ia64/tlsbin.rd, + * testsuite/ld-ia64/tlspic.rd, + * testsuite/ld-ifunc/ifunc-2-i386-now.d, + * testsuite/ld-ifunc/ifunc-2-local-i386-now.d, + * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d, + * testsuite/ld-ifunc/ifunc-2-local-x86-64.d, + * testsuite/ld-ifunc/ifunc-2-x86-64-now.d, + * testsuite/ld-ifunc/ifunc-2-x86-64.d, + * testsuite/ld-ifunc/pr17154-i386-now.d, + * testsuite/ld-ifunc/pr17154-i386.d, + * testsuite/ld-ifunc/pr17154-x86-64-now.d, + * testsuite/ld-ifunc/pr17154-x86-64.d, + * testsuite/ld-m68k/tls-def-1.d, + * testsuite/ld-m68k/tls-gd-1.d2, + * testsuite/ld-metag/shared.d, + * testsuite/ld-metag/stub_pic_app.d, + * testsuite/ld-mips-elf/rel32-n32.d, + * testsuite/ld-mips-elf/rel32-o32.d, + * testsuite/ld-mips-elf/rel64.d, + * testsuite/ld-powerpc/ambiguousv1.d, + * testsuite/ld-powerpc/ambiguousv1b.d, + * testsuite/ld-powerpc/ambiguousv2.d, + * testsuite/ld-powerpc/ambiguousv2b.d, + * testsuite/ld-powerpc/tlsexe.d, + * testsuite/ld-powerpc/tlsexe.r, + * testsuite/ld-powerpc/tlsexe32.d, + * testsuite/ld-powerpc/tlsexe32.g, + * testsuite/ld-powerpc/tlsexe32.r, + * testsuite/ld-powerpc/tlsexetoc.d, + * testsuite/ld-powerpc/tlsexetoc.r, + * testsuite/ld-powerpc/tlsso.d, + * testsuite/ld-powerpc/tlsso.r, + * testsuite/ld-powerpc/tlsso32.g, + * testsuite/ld-powerpc/tlsso32.r, + * testsuite/ld-powerpc/tlstocso.d, + * testsuite/ld-powerpc/tlstocso.g, + * testsuite/ld-powerpc/tlstocso.r, + * testsuite/ld-s390/gotreloc_31-1.dd, + * testsuite/ld-s390/tlsbin.dd, + * testsuite/ld-s390/tlsbin.rd, + * testsuite/ld-s390/tlsbin_64.dd, + * testsuite/ld-s390/tlsbin_64.rd, + * testsuite/ld-s390/tlspic.rd, + * testsuite/ld-s390/tlspic_64.rd, + * testsuite/ld-sh/tlsbin-2.d, + * testsuite/ld-sh/tlspic-2.d, + * testsuite/ld-sparc/gotop32.rd, + * testsuite/ld-sparc/gotop64.rd, + * testsuite/ld-sparc/tlssunbin32.rd, + * testsuite/ld-sparc/tlssunbin64.rd, + * testsuite/ld-sparc/tlssunnopic32.rd, + * testsuite/ld-sparc/tlssunnopic64.rd, + * testsuite/ld-sparc/tlssunpic32.rd, + * testsuite/ld-sparc/tlssunpic64.rd, + * testsuite/ld-x86-64/bnd-branch-1-now.d, + * testsuite/ld-x86-64/bnd-ifunc-1-now.d, + * testsuite/ld-x86-64/bnd-ifunc-2-now.d, + * testsuite/ld-x86-64/bnd-ifunc-2.d, + * testsuite/ld-x86-64/bnd-plt-1-now.d, + * testsuite/ld-x86-64/bnd-plt-1.d, + * testsuite/ld-x86-64/ibt-plt-1-x32.d, + * testsuite/ld-x86-64/ibt-plt-1.d, + * testsuite/ld-x86-64/ibt-plt-2a-x32.d, + * testsuite/ld-x86-64/ibt-plt-2a.d, + * testsuite/ld-x86-64/ibt-plt-2b-x32.d, + * testsuite/ld-x86-64/ibt-plt-2b.d, + * testsuite/ld-x86-64/ibt-plt-2c-x32.d, + * testsuite/ld-x86-64/ibt-plt-2c.d, + * testsuite/ld-x86-64/ibt-plt-2d-x32.d, + * testsuite/ld-x86-64/ibt-plt-2d.d, + * testsuite/ld-x86-64/ibt-plt-3a-x32.d, + * testsuite/ld-x86-64/ibt-plt-3a.d, + * testsuite/ld-x86-64/ibt-plt-3b-x32.d, + * testsuite/ld-x86-64/ibt-plt-3b.d, + * testsuite/ld-x86-64/ibt-plt-3c-x32.d, + * testsuite/ld-x86-64/ibt-plt-3c.d, + * testsuite/ld-x86-64/ibt-plt-3d-x32.d, + * testsuite/ld-x86-64/ibt-plt-3d.d, + * testsuite/ld-x86-64/ilp32-4-nacl.d, + * testsuite/ld-x86-64/ilp32-4.d, + * testsuite/ld-x86-64/load1c-nacl.d, + * testsuite/ld-x86-64/load1c.d, + * testsuite/ld-x86-64/load1d-nacl.d, + * testsuite/ld-x86-64/load1d.d, + * testsuite/ld-x86-64/mpx3n.dd, + * testsuite/ld-x86-64/mpx4.dd, + * testsuite/ld-x86-64/mpx4n.dd, + * testsuite/ld-x86-64/plt2.dd, + * testsuite/ld-x86-64/pr14207.d, + * testsuite/ld-x86-64/pr19162.d, + * testsuite/ld-x86-64/pr20253-1f.d, + * testsuite/ld-x86-64/pr20253-1l.d, + * testsuite/ld-x86-64/pr20830a-now.d, + * testsuite/ld-x86-64/pr20830a.d, + * testsuite/ld-x86-64/pr20830b-now.d, + * testsuite/ld-x86-64/pr20830b.d, + * testsuite/ld-x86-64/pr21038a-now.d, + * testsuite/ld-x86-64/pr21038a.d, + * testsuite/ld-x86-64/pr21038b-now.d, + * testsuite/ld-x86-64/pr21038b.d, + * testsuite/ld-x86-64/pr21038c-now.d, + * testsuite/ld-x86-64/pr21038c.d, + * testsuite/ld-x86-64/tlsbin-nacl.rd, + * testsuite/ld-x86-64/tlsbin.rd, + * testsuite/ld-x86-64/tlsbin2-nacl.rd, + * testsuite/ld-x86-64/tlsbin2.rd, + * testsuite/ld-x86-64/tlsbindesc-nacl.rd, + * testsuite/ld-x86-64/tlsbindesc.rd, + * testsuite/ld-x86-64/tlsdesc-nacl.rd, + * testsuite/ld-x86-64/tlsdesc.rd, + * testsuite/ld-x86-64/tlsgdesc-nacl.rd, + * testsuite/ld-x86-64/tlsgdesc.rd, + * testsuite/ld-x86-64/tlspic-nacl.rd, + * testsuite/ld-x86-64/tlspic.rd, + * testsuite/ld-x86-64/tlspic2-nacl.rd, + * testsuite/ld-x86-64/tlspic2.rd: Update. + +2018-06-07 Alan Modra + + * emulparams/elf64bmip.sh (EXECUTABLE_SYMBOLS): Don't define. + (OTHER_SYMBOLS): Define this instead. + * emulparams/elf32bmipn32.sh (EXECUTABLE_SYMBOLS): Don't define. + (OTHER_SYMBOLS): Define similarly to elf64bmip.sh. + * emulparams/elf64hppa.sh (EXECUTABLE_SYMBOLS): Don't define. + (OTHER_SYMBOLS): Define instead. + +2018-06-07 Alan Modra + + * emulparams/elf32_tic6x_le.sh (EXECUTABLE_SYMBOLS): Don't define. + +2018-06-06 Alan Modra + + * Makefile.am (earmelf_fbsd.c): Correct dependencies. + (earmelfb_fbsd.c, earmelfb_fuchsia.c): Likewise. + * Makefile.in: Regenerate. + +2018-06-05 Alan Modra + + PR 23254 + * plugin.c (plugin_call_claim_file): Revert 2016-07-19 patch. + (plugin_object_p): Don't dup file descriptor. + +2018-06-05 Flavio Ceolin + + * testsuite/ld-elf/elf.exp Run new test. + * testsuite/ld-elf/stack-noexec.rd New file: Expected readelf output. + +2018-06-03 Sebastian Huber + Jim Wilson + + PR ld/23244 + * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new weak ref tests. + * testsuite/ld-riscv-elf/weakref.ld: New. + * testsuite/ld-riscv-elf/weakref32.d: New. + * testsuite/ld-riscv-elf/weakref32.s: New. + * testsuite/ld-riscv-elf/weakref64.d: New. + * testsuite/ld-riscv-elf/weakref64.s: New. + +2018-06-01 H.J. Lu + + * configure: Regenerated. + +2018-05-28 H.J. Lu + + PR ld/23238 + * testsuite/ld-ifunc/ifunc-26.d: New file. + * testsuite/ld-ifunc/ifunc-26.s: Likewise. + * testsuite/ld-ifunc/ifunc.exp: Run *.d tests without a + working compiler. + +2018-05-28 H.J. Lu + + * testsuite/ld-ifunc/ifunc-10-i386.d: Skip NaCl targets. + * testsuite/ld-ifunc/ifunc-10-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-11-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-11-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-12-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-12-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-14a-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-14a-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-14b-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-14b-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-14c-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-14c-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-14d-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-14d-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-14e-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-14e-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-14f-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-14f-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise. + * testsuite/ld-ifunc/ifunc-16-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: Likewise. + * testsuite/ld-ifunc/ifunc-16-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-17a-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-17a-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-17b-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-17b-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-19a-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-19a-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-19b-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-19b-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-2-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-2-local-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-20-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-20-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-5a-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-5a-local-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-5a-local-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-5a-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-5b-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-5b-local-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-5b-local-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-5b-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-5r-local-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-6a-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-6a-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-6b-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-6b-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-7a-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-7a-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-7b-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-7b-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-8-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-8-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-9-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-9-x86-64.d: Likewise. + * testsuite/ld-ifunc/pr17154-i386.d: Likewise. + * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise. + * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise. + +2018-05-26 H.J. Lu + + PR ld/23194 + * testsuite/ld-i386/pr23194.d: Expect only R_386_GLOB_DAT + against foobar. + * testsuite/ld-i386/pr23194.map: Add foobar. + * testsuite/ld-x86-64/pr23194.map: Likewise. + * testsuite/ld-i386/pr23194.s: Add a common foobar symbol. + * testsuite/ld-x86-64/pr23194.s: Likewise. + * testsuite/ld-x86-64/pr23194.d: Expect only R_X86_64_GLOB_DAT + against foobar. + +2018-05-25 Alan Modra + + * po/BLD-POTFILES.in: Regenerate. + +2018-05-21 H.J. Lu + + PR ld/23201 + * testsuite/ld-tic6x/shlib-1.rd: Adjusted. + * testsuite/ld-tic6x/shlib-1b.rd: Likewise. + * testsuite/ld-tic6x/shlib-1r.rd: Likewise. + * testsuite/ld-tic6x/shlib-1rb.rd: Likewise. + * testsuite/ld-tic6x/shlib-app-1.rd: Likewise. + * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise. + * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise. + * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise. + * testsuite/ld-tic6x/shlib-noindex.rd: Likewise. + * testsuite/ld-tic6x/static-app-1.rd: Likewise. + * testsuite/ld-tic6x/static-app-1b.rd: Likewise. + * testsuite/ld-tic6x/static-app-1r.rd: Likewise. + * testsuite/ld-tic6x/static-app-1rb.rd: Likewise. + +2018-05-21 H.J. Lu + + PR ld/23201 + * ldexp.c (exp_fold_tree_1): Call bfd_link_hide_symbol to hide + a symbol. + * testsuite/ld-elf/provide-hidden-dynabs.nd: Removed. + * testsuite/ld-elf/provide-hidden-dynsec.nd: Likewise. + * testsuite/ld-elf/provide-hidden.exp: Replace + provide-hidden-dynsec.nd with provide-hidden-sec.nd and + provide-hidden-dyn.nd. Replace provide-hidden-dynabs.nd with + provide-hidden-abs.nd and provide-hidden-dyn.nd. + * testsuite/ld-i386/pr23189.d: Expect no dynamic relocation. + * testsuite/ld-x86-64/pr23189.d: Likewise. + +2018-05-18 H.J. Lu + + PR ld/23194 + * testsuite/ld-i386/i386.exp: Run pr23194. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/ld-i386/pr23194.d: New file. + * testsuite/ld-i386/pr23194.map: Likewise. + * testsuite/ld-i386/pr23194.s: Likewise. + * testsuite/ld-x86-64/pr23194.d: Likewise. + * testsuite/ld-x86-64/pr23194.map: Likewise. + * testsuite/ld-x86-64/pr23194.s: Likewise. + +2018-05-18 H.J. Lu + + * testsuite/ld-i386/i386.exp: Run pr23189 for all targets. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + +2018-05-18 John Darrington + + * Makefile.am: Add support for s12z architecture. + * configure.tgt: Likewise. + * Makefile.in: Regenerate. + * emulparams/m9s12zelf.sh: New file. + * scripttempl/elfm9s12z.sc: New file. + * testsuite/ld-discard/static.d: Expect to fail for the s12z + target. + * testsuite/ld-elf/endsym.d: Likewise. + * testsuite/ld-elf/merge.d: Likewise. + * testsuite/ld-elf/pr14926.d: Skip for the s12z target. + * testsuite/ld-elf/sec64k.exp: Likewise. + * testsuite/ld-s12z: New directory. + * testsuite/ld-s12z/opr-linking.d: New file. + * testsuite/ld-s12z/opr-linking.s: New file. + * testsuite/ld-s12z/relative-linking.d: New file. + * testsuite/ld-s12z/relative-linking.s: New file. + * testsuite/ld-s12z/z12s.exp: New file. + +2018-05-18 H.J. Lu + + PR ld/23189 + * testsuite/ld-i386/i386.exp: Run pr23189. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/ld-i386/pr23189.d: New file. + * testsuite/ld-i386/pr23189.s: Likewise. + * testsuite/ld-i386/pr23189.t: Likewise. + * testsuite/ld-x86-64/pr23189.d: Likewise. + * testsuite/ld-x86-64/pr23189.s: Likewise. + * testsuite/ld-x86-64/pr23189.t: Likewise. + +2018-05-15 Alan Modra + + * testsuite/ld-elf/notes.exp: Restore LDFLAGS. + +2018-05-14 Nick Clifton + + * testsuite/ld-elf/notes.exp: New file: Run new test. + * testsuite/ld-elf/note1_1.s: New file: Source file for test. + * testsuite/ld-elf/note1_2.s: New file: Source file for test. + * testsuite/ld-elf/note1.r: New file: Expected readelf output. + +2018-05-14 H.J. Lu + + PR ld/23169 + * testsuite/ld-ifunc/ifunc-9-i386.d: New file. + * testsuite/ld-ifunc/ifunc-9-x86-64.d: Likewise. + * testsuite/ld-ifunc/pr23169a.c: Likewise. + * testsuite/ld-ifunc/pr23169a.rd: Likewise. + * testsuite/ld-ifunc/pr23169b.c: Likewise. + * testsuite/ld-ifunc/pr23169b.c: Likewise. + * testsuite/ld-ifunc/pr23169c.rd: Likewise. + * testsuite/ld-ifunc/pr23169c.rd: Likewise. + * testsuite/ld-ifunc/ifunc-9-x86.d: Removed. + * testsuite/ld-ifunc/ifunc.exp: Run PR ld/23169 tests. + +2018-05-14 H.J. Lu + + PR ld/23162 + * testsuite/ld-elf/pr23162.map: New file. + * testsuite/ld-elf/pr23162.rd: Likewise. + * testsuite/ld-elf/pr23162a.c: Likewise. + * testsuite/ld-elf/pr23162b.c: Likewise. + * testsuite/ld-elf/shared.exp: Run PR ld/23162 tests. + +2018-05-12 Alan Modra + + PR 20659 + * testsuite/ld-elf/changelma.d, + * testsuite/ld-elf/changelma.lnk, + * testsuite/ld-elf/changelma.s: New test. + +2018-05-09 2018-05-02 Dimitar Dimitrov + + * scripttempl/pru.sc: Add LD sections to allow linking TI + toolchain object files. + * scripttempl/pru.sc: Switch to init_array. + * testsuite/ld-pru/ldi32.d: Update LDI32 test to conform to TI ABI. + * testsuite/ld-pru/norelax_ldi32-data.d: Likewise. + * testsuite/ld-pru/norelax_ldi32-dis.d: Likewise. + * testsuite/ld-pru/relax_ldi32-data.d: Likewise. + * testsuite/ld-pru/relax_ldi32-dis.d: Likewise. + +2018-05-09 Alan Modra + + * po/BLD-POTFILES.in: Regenerate. + +2018-05-08 Jim Wilson + + PR ld/22962 + * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lriscv_ilp32f.c, + eelf32lriscv_ilp32.c, eelf64lriscv_lp64f.c, eelf64lriscv_lp64.c. + (eelf32lriscv_ilp32f.c, eelf32lriscv_ilp32.c): New build rules. + (eelf64lriscv_lp64f.c, eelf64lriscv_lp64.c): New build rules. + * Makefile.in: Regenerated. + * configure.tgt (riscv32*-*-linux*, riscv64*-*-linux*): New. + * ld/emulparams/elf32lriscv.sh: Set LIBPATH_SUFFIX. + * ld/emulparams/elf32lriscv_ilp32.sh: New. + * ld/emulparams/elf32lriscv_ilp32f.sh: New. + * ld/emulparams/elf64lriscv-defs.sh: Don't set LIBPATH_SUFFIX here. + * ld/emulparams/elf64lriscv.sh: Set LIBPATH_SUFFIX. + * ld/emulparams/elf64lriscv_lp64.sh: New. + * ld/emulparams/elf64lriscv_lp64f.sh: New. + * ld/genscripts.sh (append_to_lib_path): Change LIBPATH_SUFFIX test to + a for. Inside loop, change LIBPATH_SUFFIX uses to libpath_suffix. + (LIB_PATH): In LIB_PATH if, add loop for LIBPATH_SUFFIX, changes uses + inside loop to libpath_suffix. + +2018-05-03 Jim Wilson + + * Makefile.am (earmelfb_linux_fdpiceabi.c): Fix typo in dependencies. + +2018-05-03 Simon Atanasyan + + * testsuite/ld-mips-elf/gp-disp-sym.d: New test. + * testsuite/ld-mips-elf/gp-disp-sym.s: New test source. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new test. + * testsuite/ld-mips-elf/mips16-pic-2.ad: Update for _gp_disp + symbol removal. + * testsuite/ld-mips-elf/mips16-pic-2.nd: Likewise. + * testsuite/ld-mips-elf/pic-and-nonpic-3a.dd: Likewise. + * testsuite/ld-mips-elf/tlslib-o32-hidden.got: Likewise. + * testsuite/ld-mips-elf/tlslib-o32-ver.got: Likewise. + * testsuite/ld-mips-elf/tlslib-o32.got: Likewise. + +2018-04-27 Maciej W. Rozycki + + * testsuite/ld-mips-elf/bal-jalx-pic.d: Only run for + `check_shared_lib_support' targets. + * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d: + Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d: + Likewise. + * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d: + Likewise. + * testsuite/ld-mips-elf/hash1a.d: Likewise. + * testsuite/ld-mips-elf/hash1b.d: Likewise. + * testsuite/ld-mips-elf/hash1c.d: Likewise. + * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise. + * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise. + +2018-04-27 Maciej W. Rozycki + + * testsuite/lib/ld-lib.exp (run_dump_test): Use `match_target' + in place of `istarget' for matching with `target', `alltargets' + and `notarget' options. + +2018-04-27 Alan Modra + + * po/BLD-POTFILES.in: Regenerate. + +2018-04-26 Christophe Lyon + + * testsuite/ld-elf/pr2404b.c (main): Adjust printf to account for + new variable name. + * testsuite/ld-elf/pr2404.out: Adjust expected output accordingly. + +2018-04-25 Christophe Lyon + + * testsuite/ld-arm/export-class.exp: Accept arm*-*-uclinuxfdpiceabi. + * testsuite/ld-discard/discard.exp: Likewise. + * testsuite/ld-elf/binutils.exp: Likewise. + * testsuite/ld-elf/commonpage1.d: Likewise. + * testsuite/ld-elf/compress1c.d: Likewise. + * testsuite/ld-elf/compressed1b.d: Likewise. + * testsuite/ld-elf/compressed1c.d: Likewise. + * testsuite/ld-elf/compressed1e.d: Likewise. + * testsuite/ld-elf/dynamic1.d: Likewise. + * testsuite/ld-elf/dynsym1.d: Likewise. + * testsuite/ld-elf/ehdr_start-missing.d: Likewise. + * testsuite/ld-elf/ehdr_start-shared.d: Likewise. + * testsuite/ld-elf/ehdr_start-userdef.d: Likewise. + * testsuite/ld-elf/ehdr_start-weak.d: Likewise. + * testsuite/ld-elf/ehdr_start.d: Likewise. + * testsuite/ld-elf/exclude3b.d: Likewise. + * testsuite/ld-elf/export-class.exp: Likewise. + * testsuite/ld-elf/global1.d: Likewise. + * testsuite/ld-elf/hash.d: Likewise. + * testsuite/ld-elf/header.d: Likewise. + * testsuite/ld-elf/loadaddr1.d: Likewise. + * testsuite/ld-elf/loadaddr2.d: Likewise. + * testsuite/ld-elf/loadaddr3a.d: Likewise. + * testsuite/ld-elf/loadaddr3b.d: Likewise. + * testsuite/ld-elf/local1.d: Likewise. + * testsuite/ld-elf/maxpage1.d: Likewise. + * testsuite/ld-elf/maxpage2.d: Likewise. + * testsuite/ld-elf/maxpage3a.d: Likewise. + * testsuite/ld-elf/mbind1a.d: Likewise. + * testsuite/ld-elf/mbind1b.d: Likewise. + * testsuite/ld-elf/mbind1c.d: Likewise. + * testsuite/ld-elf/multibss1.d: Likewise. + * testsuite/ld-elf/noload-2.d: Likewise. + * testsuite/ld-elf/now-1.d: Likewise. + * testsuite/ld-elf/now-2.d: Likewise. + * testsuite/ld-elf/now-3.d: Likewise. + * testsuite/ld-elf/now-4.d: Likewise. + * testsuite/ld-elf/pie.d: Likewise. + * testsuite/ld-elf/pr12975.d: Likewise. + * testsuite/ld-elf/pr13177.d: Likewise. + * testsuite/ld-elf/pr13195.d: Likewise. + * testsuite/ld-elf/pr16322.d: Likewise. + * testsuite/ld-elf/pr16498a.d: Likewise. + * testsuite/ld-elf/pr16498b.d: Likewise. + * testsuite/ld-elf/pr17615.d: Likewise. + * testsuite/ld-elf/pr19162.d: Likewise. + * testsuite/ld-elf/pr19539.d: Likewise. + * testsuite/ld-elf/pr19617a.d: Likewise. + * testsuite/ld-elf/pr19617b.d: Likewise. + * testsuite/ld-elf/pr19617c.d: Likewise. + * testsuite/ld-elf/pr19698.d: Likewise. + * testsuite/ld-elf/pr19789.d: Likewise. + * testsuite/ld-elf/pr20513c.d: Likewise. + * testsuite/ld-elf/pr20513d.d: Likewise. + * testsuite/ld-elf/pr21384.d: Likewise. + * testsuite/ld-elf/pr21389a.d: Likewise. + * testsuite/ld-elf/pr21389b.d: Likewise. + * testsuite/ld-elf/pr21389c.d: Likewise. + * testsuite/ld-elf/pr21562a.d: Likewise. + * testsuite/ld-elf/pr21562b.d: Likewise. + * testsuite/ld-elf/pr21562c.d: Likewise. + * testsuite/ld-elf/pr21562d.d: Likewise. + * testsuite/ld-elf/pr21562e.d: Likewise. + * testsuite/ld-elf/pr21562f.d: Likewise. + * testsuite/ld-elf/pr21562g.d: Likewise. + * testsuite/ld-elf/pr21562h.d: Likewise. + * testsuite/ld-elf/pr21562i.d: Likewise. + * testsuite/ld-elf/pr21562j.d: Likewise. + * testsuite/ld-elf/pr21562k.d: Likewise. + * testsuite/ld-elf/pr21562l.d: Likewise. + * testsuite/ld-elf/pr21562m.d: Likewise. + * testsuite/ld-elf/pr21562n.d: Likewise. + * testsuite/ld-elf/pr21903a.d: Likewise. + * testsuite/ld-elf/pr21903b.d: Likewise. + * testsuite/ld-elf/pr21903d.d: Likewise. + * testsuite/ld-elf/pr22269a.d: Likewise. + * testsuite/ld-elf/pr22269b.d: Likewise. + * testsuite/ld-elf/pr22393-1a.d: Likewise. + * testsuite/ld-elf/pr22393-1b.d: Likewise. + * testsuite/ld-elf/pr22393-1c.d: Likewise. + * testsuite/ld-elf/pr22393-1d.d: Likewise. + * testsuite/ld-elf/pr22393-1e.d: Likewise. + * testsuite/ld-elf/pr22393-1f.d: Likewise. + * testsuite/ld-elf/pr22423.d: Likewise. + * testsuite/ld-elf/rpath-1.d: Likewise. + * testsuite/ld-elf/rpath-2.d: Likewise. + * testsuite/ld-elf/runpath-1.d: Likewise. + * testsuite/ld-elf/runpath-2.d: Likewise. + * testsuite/ld-elf/seg.d: Likewise. + * testsuite/ld-elf/sizeofb.d: Likewise. + * testsuite/ld-elf/startofb.d: Likewise. + * testsuite/ld-elf/strtab.d: Likewise. + * testsuite/ld-elf/textaddr1.d: Likewise. + * testsuite/ld-elf/textaddr2.d: Likewise. + * testsuite/ld-elf/textaddr3.d: Likewise. + * testsuite/ld-elf/textaddr4.d: Likewise. + * testsuite/ld-elf/textaddr5.d: Likewise. + * testsuite/ld-elf/textaddr6.d: Likewise. + * testsuite/ld-elf/textaddr7.d: Likewise. + * testsuite/ld-elf/tls.exp: Likewise. + * testsuite/ld-elf/tls_common.exp: Likewise. + * testsuite/ld-elf/unknown2.d: Likewise. + * testsuite/ld-gc/abi-note.d: Likewise. + * testsuite/ld-gc/pr11218.d: Likewise. + * testsuite/ld-gc/pr19167.d: Likewise. + * testsuite/ld-gc/pr20022.d: Likewise. + * testsuite/ld-gc/start.d: Likewise. + * testsuite/ld-gc/stop.d: Likewise. + * testsuite/ld-scripts/phdrs2.exp: Likewise. + * testsuite/ld-scripts/rgn-at5.d: Likewise. + * testsuite/ld-undefined/entry-3.d: Likewise. + * testsuite/ld-undefined/entry-4.d: Likewise. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * testsuite/ld-arm/arm-elf.exp: Execute the new FDPIC Thumb-only tests. + * testsuite/ld-arm/fdpic-main-m.d: New test. + * testsuite/ld-arm/fdpic-main-m.s: New. + * testsuite/ld-arm/fdpic-main-m.sym: New. + * testsuite/ld-arm/fdpic-shared-m.d: New test. + * testsuite/ld-arm/fdpic-shared-m.s: New. + * testsuite/ld-arm/fdpic-shared-m.sym: New. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * testsuite/ld-arm/arm-elf.exp: Execute the new FDPIC tests. + * testsuite/ld-arm/fdpic-main.d: New test. + * testsuite/ld-arm/fdpic-main.ld: New. + * testsuite/ld-arm/fdpic-main.r: New. + * testsuite/ld-arm/fdpic-main.s: New. + * testsuite/ld-arm/fdpic-main.sym: New. + * testsuite/ld-arm/fdpic-shared.d: New test. + * testsuite/ld-arm/fdpic-shared.ld: New. + * testsuite/ld-arm/fdpic-shared.r: New. + * testsuite/ld-arm/fdpic-shared.s: New. + * testsuite/ld-arm/fdpic-shared.sym: New. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * testsuite/ld-elf/pr2404b.c (main): Rename time variable into + time1. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * scripttempl/elf.sc: Define __tdata_start for .tdata section. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * emulparams/armelf_linux_fdpiceabi.sh: Add .rofixup section. + +2018-04-25 Christophe Lyon + Mickaël Guêné + + * Makefile.am (ALL_EMULATION_SOURCES): Add + earmelf_linux_fdpiceabi.c and earmelfb_linux_fdpiceabi.c. + (earmelf_linux_fdpiceabi.c, earmelfb_linux_fdpiceabi.c): New rules. + * Makefile.in: Regenerate. + * configure.tgt (arm*-*-uclinuxfdpiceabi): Handle new target. + * emulparams/armelf_linux_fdpiceabi.sh: New. + * emulparams/armelfb_linux_fdpiceabi.sh: New. + +2018-04-25 Alan Modra + + * Makefile.am: Remove arm-aout and arm-coff support. + * configure.tgt: Likewise. + * testsuite/ld-arm/attr-merge-div-00.d: Likewise. + * testsuite/ld-arm/attr-merge-div-01-m3.d: Likewise. + * testsuite/ld-arm/attr-merge-div-01.d: Likewise. + * testsuite/ld-arm/attr-merge-div-02.d: Likewise. + * testsuite/ld-arm/attr-merge-div-10-m3.d: Likewise. + * testsuite/ld-arm/attr-merge-div-10.d: Likewise. + * testsuite/ld-arm/attr-merge-div-11.d: Likewise. + * testsuite/ld-arm/attr-merge-div-12.d: Likewise. + * testsuite/ld-arm/attr-merge-div-120.d: Likewise. + * testsuite/ld-arm/attr-merge-div-20.d: Likewise. + * testsuite/ld-arm/attr-merge-div-21.d: Likewise. + * testsuite/ld-arm/attr-merge-div-22.d: Likewise. + * testsuite/ld-arm/attr-merge-hardfp-use-1.d: Likewise. + * testsuite/ld-arm/attr-merge-hardfp-use-2.d: Likewise. + * testsuite/ld-arm/attr-merge-nosection-1.d: Likewise. + * testsuite/ld-arm/attr-merge-unknown-2.d: Likewise. + * testsuite/ld-arm/attr-merge-unknown-2r.d: Likewise. + * testsuite/ld-arm/attr-merge-unknown-3.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-1.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-10.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-10r.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-11.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-11r.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-12.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-12r.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-13.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-13r.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-14.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-14r.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-1r.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-2.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-2r.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-3.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-3r.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-4.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-4r.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-5.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-5r.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-6.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-6r.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-7.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-7r.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-8.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-8r.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-9.d: Likewise. + * testsuite/ld-arm/attr-merge-vfp-9r.d: Likewise. + * testsuite/ld-arm/attr-merge-wchar-00-nowarn.d: Likewise. + * testsuite/ld-arm/attr-merge-wchar-00.d: Likewise. + * testsuite/ld-arm/attr-merge-wchar-02-nowarn.d: Likewise. + * testsuite/ld-arm/attr-merge-wchar-02.d: Likewise. + * testsuite/ld-arm/attr-merge-wchar-04-nowarn.d: Likewise. + * testsuite/ld-arm/attr-merge-wchar-04.d: Likewise. + * testsuite/ld-arm/attr-merge-wchar-20-nowarn.d: Likewise. + * testsuite/ld-arm/attr-merge-wchar-20.d: Likewise. + * testsuite/ld-arm/attr-merge-wchar-22-nowarn.d: Likewise. + * testsuite/ld-arm/attr-merge-wchar-22.d: Likewise. + * testsuite/ld-arm/attr-merge-wchar-24-nowarn.d: Likewise. + * testsuite/ld-arm/attr-merge-wchar-40-nowarn.d: Likewise. + * testsuite/ld-arm/attr-merge-wchar-40.d: Likewise. + * testsuite/ld-arm/attr-merge-wchar-42-nowarn.d: Likewise. + * testsuite/ld-arm/attr-merge-wchar-44-nowarn.d: Likewise. + * testsuite/ld-arm/attr-merge-wchar-44.d: Likewise. + * testsuite/ld-arm/eabi-hard-float.d: Likewise. + * testsuite/ld-arm/eabi-soft-float-ABI4.d: Likewise. + * testsuite/ld-arm/eabi-soft-float-r.d: Likewise. + * testsuite/ld-arm/eabi-soft-float.d: Likewise. + * testsuite/ld-arm/gc-hidden-1.d: Likewise. + * emulparams/armaoutb.sh: Delete. + * emulparams/armaoutl.sh: Delete. + * emulparams/armcoff.sh: Delete. + * emulparams/armnbsd.sh: Delete. + * emulparams/riscix.sh: Delete. + * scripttempl/armaout.sc: Delete. + * scripttempl/armcoff.sc: Delete. + * scripttempl/riscix.sc: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-21 Alan Modra + + * testsuite/lib/ld-lib.exp (run_host_cmd): Check that gcc -B + works. + +2018-04-18 Alan Modra + + * Makefile.am: Remove support for assorted i386 aout and coff targets. + * configure.tgt: Likewise. + * testsuite/ld-discard/discard.exp: Likewise. + * testsuite/ld-elf/binutils.exp: Likewise. + * testsuite/ld-elf/tls.exp: Likewise. + * testsuite/ld-elf/tls_common.exp: Likewise. + * testsuite/ld-elfvers/vers.exp: Likewise. + * testsuite/ld-elfvsb/elfvsb.exp: Likewise. + * testsuite/ld-elfweak/elfweak.exp: Likewise. + * testsuite/ld-gc/abi-note.d: Likewise. + * testsuite/ld-gc/pr19167.d: Likewise. + * testsuite/ld-gc/pr20022.d: Likewise. + * testsuite/ld-gc/start.d: Likewise. + * testsuite/ld-gc/stop.d: Likewise. + * testsuite/ld-i386/i386.exp: Likewise. + * testsuite/ld-ifunc/binutils.exp: Likewise. + * testsuite/ld-ifunc/ifunc.exp: Likewise. + * testsuite/ld-linkonce/linkonce.exp: Likewise. + * testsuite/ld-plugin/lto.exp: Likewise. + * testsuite/ld-scripts/empty-address-2a.d: Likewise. + * testsuite/ld-scripts/empty-address-2b.d: Likewise. + * testsuite/ld-scripts/phdrs2.exp: Likewise. + * testsuite/ld-scripts/section-match-1.d: Likewise. + * testsuite/ld-shared/shared.exp: Likewise. + * testsuite/ld-size/size.exp: Likewise. + * testsuite/ld-sparc/sparc.exp: Likewise. + * emulparams/i386coff.sh: Delete. + * emulparams/i386linux.sh: Delete. + * emulparams/i386mach.sh: Delete. + * emulparams/i386nbsd.sh: Delete. + * emulparams/vsta.sh: Delete. + * scripttempl/i386coff.sc: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-17 Andrew Sadek + + Microblaze Target: PIC data text relative + + * ld/lexsup.c (Add 2 ld options): + (ld_options): add disable-multiple-abs-defs @ 'ld_options' array + (parse_args): parse new option and pass flag to 'link_info' struct. + * ld/ldlex.h (Add enum): add new enum @ 'option_values' enum. + * ld/ld.texinfo (Add new option): Add description for + 'disable-multiple-abs-defs' + * ld/main.c: Initialize flags with false @ 'main'. Handle + disable-multiple-abs-defs @ 'mutiple_definition'. + +2018-04-16 Alan Modra + + * emultempl/sunos.em: Delete. + +2018-04-16 Alan Modra + + * Makefile.am: Remove arm-epoc-pe support. + * configure.tgt: Likewise. + * emultempl/pe.em: Likewise. + * pe-dll.c: Likewise. + * testsuite/ld-scripts/fill.d: Likewise. + * testsuite/ld-scripts/fill16.d: Likewise. + * emulparams/arm_epoc_pe.sh: Delete. + * scripttempl/epocpe.sc: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove sparc-aout and sparc-coff support. + * configure.tgt: Likewise. + * testsuite/ld-elfvers/vers.exp: Likewise. + * testsuite/ld-elfvsb/elfvsb.exp: Likewise. + * testsuite/ld-elfweak/elfweak.exp: Likewise. + * testsuite/ld-shared/shared.exp: Likewise. + * emulparams/coff_sparc.sh: Delete. + * emulparams/sparcaout.sh: Delete. + * emulparams/sparclinux.sh: Delete. + * emulparams/sparcnbsd.sh: Delete. + * emulparams/sun4.sh: Delete. + * scripttempl/sparccoff.sc: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove m68k-aout and m68k-coff support. + * configure.tgt: Likewise. + * emultempl/m68kelf.em: Likewise. + * ld.texinfo: Likewise. + * mri.c: Likewise. + * emulparams/delta68.sh: Delete. + * emulparams/hp300bsd.sh: Delete. + * emulparams/hp3hpux.sh: Delete. + * emulparams/m68k4knbsd.sh: Delete. + * emulparams/m68kaout.sh: Delete. + * emulparams/m68kaux.sh: Delete. + * emulparams/m68kcoff.sh: Delete. + * emulparams/m68klinux.sh: Delete. + * emulparams/m68knbsd.sh: Delete. + * emulparams/m68kpsos.sh: Delete. + * emulparams/sun3.sh: Delete. + * emultempl/m68kcoff.em: Delete. + * scripttempl/delta68.sc: Delete. + * scripttempl/m68kaux.sc: Delete. + * scripttempl/m68kcoff.sc: Delete. + * scripttempl/psos.sc: Delete. + * testsuite/ld-versados/t1-1.ro: Delete. + * testsuite/ld-versados/t1-2.ro: Delete. + * testsuite/ld-versados/t1.ld: Delete. + * testsuite/ld-versados/t1.ook: Delete. + * testsuite/ld-versados/t2-1.ro: Delete. + * testsuite/ld-versados/t2-2.ro: Delete. + * testsuite/ld-versados/t2-3.ro: Delete. + * testsuite/ld-versados/t2.ld: Delete. + * testsuite/ld-versados/t2.ook: Delete. + * testsuite/ld-versados/versados.exp: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove sh5 and sh64 support. + * configure.tgt: Likewise. + * ldlang.c: Likewise. + * testsuite/ld-elfcomm/elfcomm.exp: Likewise. + * testsuite/ld-gc/gc.exp: Likewise. + * testsuite/ld-gc/pr13683.d: Likewise. + * testsuite/ld-scripts/crossref.exp: Likewise. + * testsuite/ld-selective/selective.exp: Likewise. + * testsuite/ld-sh/ld-r-1.d: Likewise. + * testsuite/ld-sh/rd-sh.exp: Likewise. + * testsuite/ld-sh/sh.exp: Likewise. + * testsuite/ld-srec/srec.exp: Likewise. + * testsuite/ld-undefined/undefined.exp: Likewise. + * emulparams/shelf32.sh: Delete. + * emulparams/shelf32_linux.sh: Delete. + * emulparams/shelf32_nbsd.sh: Delete. + * emulparams/shelf64.sh: Delete. + * emulparams/shelf64_nbsd.sh: Delete. + * emulparams/shlelf32.sh: Delete. + * emulparams/shlelf32_linux.sh: Delete. + * emulparams/shlelf32_nbsd.sh: Delete. + * emulparams/shlelf64.sh: Delete. + * emulparams/shlelf64_nbsd.sh: Delete. + * emultempl/sh64elf.em: Delete. + * testsuite/ld-sh/sh64/abi32.sd: Delete. + * testsuite/ld-sh/sh64/abi32.xd: Delete. + * testsuite/ld-sh/sh64/abi64.sd: Delete. + * testsuite/ld-sh/sh64/abi64.xd: Delete. + * testsuite/ld-sh/sh64/abixx-noexp.sd: Delete. + * testsuite/ld-sh/sh64/cmpct1.sd: Delete. + * testsuite/ld-sh/sh64/cmpct1.xd: Delete. + * testsuite/ld-sh/sh64/crange-1.s: Delete. + * testsuite/ld-sh/sh64/crange-2a.s: Delete. + * testsuite/ld-sh/sh64/crange-2b.s: Delete. + * testsuite/ld-sh/sh64/crange-2c.s: Delete. + * testsuite/ld-sh/sh64/crange-2d.s: Delete. + * testsuite/ld-sh/sh64/crange-2e.s: Delete. + * testsuite/ld-sh/sh64/crange-2f.s: Delete. + * testsuite/ld-sh/sh64/crange-2g.s: Delete. + * testsuite/ld-sh/sh64/crange-2h.s: Delete. + * testsuite/ld-sh/sh64/crange-2i.s: Delete. + * testsuite/ld-sh/sh64/crange1.rd: Delete. + * testsuite/ld-sh/sh64/crange2.rd: Delete. + * testsuite/ld-sh/sh64/crange3-cmpct.rd: Delete. + * testsuite/ld-sh/sh64/crange3-media.rd: Delete. + * testsuite/ld-sh/sh64/crange3.dd: Delete. + * testsuite/ld-sh/sh64/crange3.rd: Delete. + * testsuite/ld-sh/sh64/crangerel1.rd: Delete. + * testsuite/ld-sh/sh64/crangerel2.rd: Delete. + * testsuite/ld-sh/sh64/dlsection-1.s: Delete. + * testsuite/ld-sh/sh64/dlsection.sd: Delete. + * testsuite/ld-sh/sh64/endian.dbd: Delete. + * testsuite/ld-sh/sh64/endian.dld: Delete. + * testsuite/ld-sh/sh64/endian.ld: Delete. + * testsuite/ld-sh/sh64/endian.s: Delete. + * testsuite/ld-sh/sh64/endian.sbd: Delete. + * testsuite/ld-sh/sh64/endian.sld: Delete. + * testsuite/ld-sh/sh64/gotplt.d: Delete. + * testsuite/ld-sh/sh64/gotplt.map: Delete. + * testsuite/ld-sh/sh64/gotplt.s: Delete. + * testsuite/ld-sh/sh64/init-cmpct.d: Delete. + * testsuite/ld-sh/sh64/init-media.d: Delete. + * testsuite/ld-sh/sh64/init.s: Delete. + * testsuite/ld-sh/sh64/init64.d: Delete. + * testsuite/ld-sh/sh64/mix1-noexp.sd: Delete. + * testsuite/ld-sh/sh64/mix1.sd: Delete. + * testsuite/ld-sh/sh64/mix1.xd: Delete. + * testsuite/ld-sh/sh64/mix2-noexp.sd: Delete. + * testsuite/ld-sh/sh64/mix2.sd: Delete. + * testsuite/ld-sh/sh64/mix2.xd: Delete. + * testsuite/ld-sh/sh64/rd-sh64.exp: Delete. + * testsuite/ld-sh/sh64/rel-1.s: Delete. + * testsuite/ld-sh/sh64/rel-2.s: Delete. + * testsuite/ld-sh/sh64/rel32.xd: Delete. + * testsuite/ld-sh/sh64/rel64.xd: Delete. + * testsuite/ld-sh/sh64/relax.exp: Delete. + * testsuite/ld-sh/sh64/relax1.s: Delete. + * testsuite/ld-sh/sh64/relax2.s: Delete. + * testsuite/ld-sh/sh64/relax3.s: Delete. + * testsuite/ld-sh/sh64/relax4.s: Delete. + * testsuite/ld-sh/sh64/reldl-1.s: Delete. + * testsuite/ld-sh/sh64/reldl-2.s: Delete. + * testsuite/ld-sh/sh64/reldl32.rd: Delete. + * testsuite/ld-sh/sh64/reldl64.rd: Delete. + * testsuite/ld-sh/sh64/relfail.exp: Delete. + * testsuite/ld-sh/sh64/relfail.s: Delete. + * testsuite/ld-sh/sh64/sh64-1.s: Delete. + * testsuite/ld-sh/sh64/sh64-2.s: Delete. + * testsuite/ld-sh/sh64/sh64.exp: Delete. + * testsuite/ld-sh/sh64/shcmp-1.s: Delete. + * testsuite/ld-sh/sh64/shdl-1.s: Delete. + * testsuite/ld-sh/sh64/shdl-2.s: Delete. + * testsuite/ld-sh/sh64/shdl32.xd: Delete. + * testsuite/ld-sh/sh64/shdl64.sd: Delete. + * testsuite/ld-sh/sh64/shdl64.xd: Delete. + * testsuite/ld-sh/sh64/shmix-1.s: Delete. + * testsuite/ld-sh/sh64/shmix-2.s: Delete. + * testsuite/ld-sh/sh64/shmix-3.s: Delete. + * testsuite/ld-sh/sh64/stobin-0-dso.d: Delete. + * testsuite/ld-sh/sh64/stobin-1.d: Delete. + * testsuite/ld-sh/sh64/stobin.s: Delete. + * testsuite/ld-sh/sh64/stolib.s: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove sh-symbianelf support. + * configure.tgt: Likewise. + * emulparams/shlsymbian.sh: Delete. + * scripttempl/elf32sh-symbian.sc: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove vax-bsd and vax-ultrix support. + * configure.tgt: Likewise. + * emulparams/vax.sh: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove w65 support. + * configure.tgt: Likewise. + * emulparams/w65.sh: Delete. + * scripttempl/w65.sc: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove m88k support. + * configure.host: Likewise. + * configure.tgt: Likewise. + * testsuite/ld-elf/sec-to-seg.exp: Likewise. + * emulparams/m88kbcs.sh: Delete. + * scripttempl/m88kbcs.sc: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove i370 support. + * configure.tgt: Likewise. + * testsuite/ld-elf/compressed1d.d: Likewise. + * testsuite/ld-elf/group8a.d: Likewise. + * testsuite/ld-elf/group8b.d: Likewise. + * testsuite/ld-elf/group9a.d: Likewise. + * testsuite/ld-elf/group9b.d: Likewise. + * testsuite/ld-elf/merge.d: Likewise. + * testsuite/ld-elf/pr12851.d: Likewise. + * testsuite/ld-elf/pr12975.d: Likewise. + * testsuite/ld-elf/pr13177.d: Likewise. + * testsuite/ld-elf/pr13195.d: Likewise. + * testsuite/ld-elf/pr17615.d: Likewise. + * testsuite/ld-elf/pr21562a.d: Likewise. + * testsuite/ld-elf/pr21562b.d: Likewise. + * testsuite/ld-elf/pr21562c.d: Likewise. + * testsuite/ld-elf/pr21562d.d: Likewise. + * testsuite/ld-elf/pr21562i.d: Likewise. + * testsuite/ld-elf/pr21562j.d: Likewise. + * testsuite/ld-elf/pr21562k.d: Likewise. + * testsuite/ld-elf/pr21562l.d: Likewise. + * testsuite/ld-elf/pr21562m.d: Likewise. + * testsuite/ld-elf/pr21562n.d: Likewise. + * testsuite/ld-elf/pr22677.d: Likewise. + * testsuite/lib/ld-lib.exp: Likewise. + * emulparams/elf32i370.sh: Delete. + * scripttempl/elfi370.sc: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove h8500 support. + * configure.tgt: Likewise. + * emulparams/h8500.sh: Delete. + * emulparams/h8500b.sh: Delete. + * emulparams/h8500c.sh: Delete. + * emulparams/h8500m.sh: Delete. + * emulparams/h8500s.sh: Delete. + * scripttempl/h8500.sc: Delete. + * scripttempl/h8500b.sc: Delete. + * scripttempl/h8500c.sc: Delete. + * scripttempl/h8500m.sc: Delete. + * scripttempl/h8500s.sc: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove h8300-coff support. + * configure.tgt: Likewise. + * testsuite/ld-h8300/h8300.exp: Likewise. + * emulparams/h8300.sh: Delete. + * emulparams/h8300h.sh: Delete. + * emulparams/h8300hn.sh: Delete. + * emulparams/h8300s.sh: Delete. + * emulparams/h8300sn.sh: Delete. + * emulparams/h8300sx.sh: Delete. + * emulparams/h8300sxn.sh: Delete. + * scripttempl/h8300.sc: Delete. + * scripttempl/h8300h.sc: Delete. + * scripttempl/h8300hn.sc: Delete. + * scripttempl/h8300s.sc: Delete. + * scripttempl/h8300sn.sc: Delete. + * scripttempl/h8300sx.sc: Delete. + * scripttempl/h8300sxn.sc: Delete. + * testsuite/ld-h8300/relax-3-coff.d: Delete. + * testsuite/ld-h8300/relax-4-coff.d: Delete. + * testsuite/ld-h8300/relax-5-coff.d: Delete. + * testsuite/ld-h8300/relax-6-coff.d: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * ld.texinfo: Remove IEEE 695 support. + * mri.c: Likewise. + +2018-04-16 Alan Modra + + * Makefile.am: Remove tandem support. + * configure.tgt: Likewise. + * emulparams/st2000.sh: Delete. + * scripttempl/st2000.sc: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove newsos3 support. + * configure.tgt: Likewise. + * emulparams/news.sh: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove netware support. + * configure.tgt: Likewise. + * testsuite/ld-powerpc/powerpc.exp: Likewise. + * emulparams/i386nw.sh: Delete. + * emulparams/ppcnw.sh: Delete. + * scripttempl/nw.sc: Delete. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-14 Alan Modra + + * ldmain.c (main): Move config.maxpagesize and + config.commonpagesize initialization to.. + * ldemul.c (after_parse_default): ..here. + * testsuite/ld-powerpc/ppc476-shared.d: Pass -z common-page-size. + * testsuite/ld-powerpc/ppc476-shared2.d: Likewise. + +2018-04-14 Alan Modra + + * emulparams/elf32ppcwindiss.sh: Rewrite to use elf32ppc.sh. + * emulparams/ppclynx.sh: Likewise. + +2018-04-11 Alan Modra + + * emulparams/coff_i860.sh: Delete. + * emulparams/elf32_i860.sh: Delete. + * emulparams/elf32_i960.sh: Delete. + * emulparams/gld960.sh: Delete. + * emulparams/gld960coff.sh: Delete. + * emulparams/lnk960.sh: Delete. + * emultempl/gld960.em: Delete. + * emultempl/gld960c.em: Delete. + * emultempl/lnk960.em: Delete. + * scripttempl/i860coff.sc: Delete. + * scripttempl/i960.sc: Delete. + * ld.texinfo: Remove i960 support. + * Makefile.am: Remove i860 and i960 support. + * configure.tgt: Likewise. + * testsuite/ld-discard/extern.d: Likewise. + * testsuite/ld-discard/start.d: Likewise. + * testsuite/ld-discard/static.d: Likewise. + * testsuite/ld-elf/compressed1d.d: Likewise. + * testsuite/ld-elf/group1.d: Likewise. + * testsuite/ld-elf/group3b.d: Likewise. + * testsuite/ld-elf/group8a.d: Likewise. + * testsuite/ld-elf/group8b.d: Likewise. + * testsuite/ld-elf/group9a.d: Likewise. + * testsuite/ld-elf/group9b.d: Likewise. + * testsuite/ld-elf/linkonce2.d: Likewise. + * testsuite/ld-elf/merge.d: Likewise. + * testsuite/ld-elf/merge2.d: Likewise. + * testsuite/ld-elf/merge3.d: Likewise. + * testsuite/ld-elf/orphan-10.d: Likewise. + * testsuite/ld-elf/orphan-11.d: Likewise. + * testsuite/ld-elf/orphan-12.d: Likewise. + * testsuite/ld-elf/orphan-9.d: Likewise. + * testsuite/ld-elf/orphan-region.d: Likewise. + * testsuite/ld-elf/orphan.d: Likewise. + * testsuite/ld-elf/orphan3.d: Likewise. + * testsuite/ld-elf/pr12851.d: Likewise. + * testsuite/ld-elf/pr12975.d: Likewise. + * testsuite/ld-elf/pr13177.d: Likewise. + * testsuite/ld-elf/pr13195.d: Likewise. + * testsuite/ld-elf/pr17550a.d: Likewise. + * testsuite/ld-elf/pr17550b.d: Likewise. + * testsuite/ld-elf/pr17550c.d: Likewise. + * testsuite/ld-elf/pr17550d.d: Likewise. + * testsuite/ld-elf/pr17615.d: Likewise. + * testsuite/ld-elf/pr20528a.d: Likewise. + * testsuite/ld-elf/pr20528b.d: Likewise. + * testsuite/ld-elf/pr21562a.d: Likewise. + * testsuite/ld-elf/pr21562b.d: Likewise. + * testsuite/ld-elf/pr21562c.d: Likewise. + * testsuite/ld-elf/pr21562d.d: Likewise. + * testsuite/ld-elf/pr21562i.d: Likewise. + * testsuite/ld-elf/pr21562j.d: Likewise. + * testsuite/ld-elf/pr21562k.d: Likewise. + * testsuite/ld-elf/pr21562l.d: Likewise. + * testsuite/ld-elf/pr21562m.d: Likewise. + * testsuite/ld-elf/pr21562n.d: Likewise. + * testsuite/ld-elf/pr22677.d: Likewise. + * testsuite/ld-elf/pr22836-1a.d: Likewise. + * testsuite/ld-elf/pr22836-1b.d: Likewise. + * testsuite/ld-elf/pr349.d: Likewise. + * testsuite/ld-elf/sec-to-seg.exp: Likewise. + * testsuite/ld-elf/sec64k.exp: Likewise. + * testsuite/ld-elf/warn1.d: Likewise. + * testsuite/ld-elf/warn2.d: Likewise. + * testsuite/ld-elf/warn3.d: Likewise. + * testsuite/lib/ld-lib.exp: Likewise. + * Makefile.in: Regenerate. + * po/BLD-POTFILES.in: Regenerate. + +2018-04-11 Alan Modra + + * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Add -mpic for nds32. + +2018-04-09 Alan Modra + + * po/BLD-POTFILES.in: Regenerate. + +2018-04-09 Alan Modra + + * emultempl/ppc64elf.em (no_inline_plt): New var. + (ppc_before_allocation): Call ppc64_elf_inline_plt. + (enum ppc64_opt): Add OPTION_NO_INLINE_OPT. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, + PARSE_AND_LIST_ARGS_CASES): Handle --no-inline-optimize. + * emultemps/ppc32elf.em (no_inline_opt): New var. + (prelim_size_sections): New function, extracted from.. + (ppc_before_allocation): ..here. Call ppc_elf_inline_plt. + (enum ppc32_opt): Add OPTION_NO_INLINE_OPT. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, + PARSE_AND_LIST_ARGS_CASES): Handle --no-inline-optimize. + +2018-04-09 Alan Modra + + * emulparams/elf32ppc.sh (OTHER_RELRO_SECTIONS_2): Add .branch_lt. + (OTHER_GOT_RELOC_SECTIONS): Add .rela.branch_lt. + * testsuite/ld-powerpc/elfv2so.d: Update for symbol/stub reordering. + * testsuite/ld-powerpc/relbrlt.d: Likewise. + * testsuite/ld-powerpc/relbrlt.s: Likewise. + * testsuite/ld-powerpc/tlsso.r: Likewise. + * testsuite/ld-powerpc/tlstocso.r: Likewise. + +2018-04-09 Alan Modra + + * ppc32elf.em (ppc_finish): Call ppc_finish_symbols. + +2018-04-05 H.J. Lu + + PR gas/22318 + * configure: Regenerated. + +2018-04-05 Nick Clifton + + PR 23030 + * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Make sure + that the .IA_64.unwind_info and .IA_64.unwind sections are not + subject to garbage collection. + +2018-04-04 Eric Botcazou + + * deffile.h (def_file_add_import_from): Declare. + (def_file_add_import_at): Likewise. + * deffilep.y (fill_in_import): New function extracted from... + (def_file_add_import): ...here. Call it. + (def_file_add_import_from): New function. + (def_file_add_import_at): Likewise. + * pe-dll.c (pe_implied_import_dll): Use an optimized version of the + insertion loop for imported symbols if possible. + +2018-04-04 Eric Botcazou + + * emultempl/pe.em (U_SIZE): Delete. + (pe_data_import_dll): Likewise. + (make_import_fixup): Return void, take 4th parameter and pass it down + in call to pe_create_import_fixup. + (pe_find_data_imports): Move to... + (gld_${EMULATION_NAME}_after_open): Run the stdcall fixup pass after + the auto-import pass and add a guard before running the latter. + * emultempl/pep.em (U_SIZE): Delete. + (pep_data_import_dll): Likewise. + (make_import_fixup): Return void, take 4th parameter and pass it down + in call to pe_create_import_fixup. + (pep_find_data_imports): Move to... + (gld_${EMULATION_NAME}_after_open): Run the stdcall fixup pass after + the auto-import pass and add a guard before running the latter. + * pe-dll.c (runtime_pseudp_reloc_v2_init): Change type to bfd_boolean. + (pe_walk_relocs_of_symbol): Rename into... + (pe_walk_relocs): ...this. Add 2 more parameters,4th parameter to the + callback prototype and pass 4th parameter in calls to the callback. + If the import hash table is present, invoke the callback on the reloc + if the symbol name is in the table. + (pe_find_data_imports): ...here. Take 2 parameters. Build an import + hash table for the pseudo-relocation support version 2. When it is + built, walk the relocations only once at the end; when it is not, do + not build a fixup when the symbol isn't part of an import table. + Issue the associated warning only after a first fixup is built. + (tmp_seq2): Delete. + (make_singleton_name_imp): Likewise. + (make_import_fixup_mark): Return const char * and a stable string. + (make_import_fixup_entry): Do not deal with the pseudo-relocation + support version 2. + (make_runtime_pseudo_reloc): Factor out code and fix formatting. + (pe_create_import_fixup): Add 5th parameter. Clearly separate the + pseudo-relocation support version 2 from the rest. Fix formatting. + * pe-dll.h (pe_walk_relocs_of_symbol): Delete. + (pe_find_data_imports): Declare. + (pe_create_import_fixup): Add 5th parameter. + * pep-dll.c (pe_data_import_dll): Delete. + (pe_find_data_imports): Define. + (pe_walk_relocs_of_symbol): Delete. + * pep-dll.h (pep_walk_relocs_of_symbol): Delete. + (pep_find_data_imports): Declare. + (pep_create_import_fixup): Add 5th parameter. + * ld.texinfo (--enable-auto-import): Adjust to new implementation. + +2018-04-04 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2018-04-03 Maciej W. Rozycki + + * testsuite/ld-mips-elf/comm-data.exp: Correct support for + `mips*-*-kfreebsd*-gnu' targets. + +2018-03-23 Renlin Li + + PR ld/22970 + * testsuite/ld-aarch64/aarch64-elf.exp: Update to run new tests. + * testsuite/ld-aarch64/emit-relocs-552-overflow.d: New. + * testsuite/ld-aarch64/emit-relocs-552-overflow.s: New. + * testsuite/ld-aarch64/emit-relocs-552.d: New. + * testsuite/ld-aarch64/emit-relocs-552.s: New. + * testsuite/ld-aarch64/emit-relocs-553.d: New. + * testsuite/ld-aarch64/emit-relocs-553.s: New. + * testsuite/ld-aarch64/emit-relocs-554-overflow.d: New. + * testsuite/ld-aarch64/emit-relocs-554-overflow.s: New. + * testsuite/ld-aarch64/emit-relocs-554.d: New. + * testsuite/ld-aarch64/emit-relocs-554.s: New. + * testsuite/ld-aarch64/emit-relocs-555.d: New. + * testsuite/ld-aarch64/emit-relocs-555.s: New. + * testsuite/ld-aarch64/emit-relocs-556-overflow.d: New. + * testsuite/ld-aarch64/emit-relocs-556-overflow.s: New. + * testsuite/ld-aarch64/emit-relocs-556.d: New. + * testsuite/ld-aarch64/emit-relocs-556.s: New. + * testsuite/ld-aarch64/emit-relocs-557.d: New. + * testsuite/ld-aarch64/emit-relocs-557.s: New. + * testsuite/ld-aarch64/emit-relocs-558-overflow.d: New. + * testsuite/ld-aarch64/emit-relocs-558-overflow.s: New. + * testsuite/ld-aarch64/emit-relocs-558.d: New. + * testsuite/ld-aarch64/emit-relocs-558.s: New. + * testsuite/ld-aarch64/emit-relocs-559.d: New. + * testsuite/ld-aarch64/emit-relocs-559.s: New. + * testsuite/ld-aarch64/emit-relocs-112-overflow.d: New. + * testsuite/ld-aarch64/emit-relocs-112-overflow.s: New. + * testsuite/ld-aarch64/emit-relocs-112.d: New. + * testsuite/ld-aarch64/emit-relocs-112.s: New. + * testsuite/ld-aarch64/emit-relocs-113.d: New. + * testsuite/ld-aarch64/emit-relocs-113.s: New. + * testsuite/ld-aarch64/emit-relocs-114-overflow.d: New. + * testsuite/ld-aarch64/emit-relocs-114-overflow.s: New. + * testsuite/ld-aarch64/emit-relocs-114.d: New. + * testsuite/ld-aarch64/emit-relocs-114.s: New. + * testsuite/ld-aarch64/emit-relocs-115.d: New. + * testsuite/ld-aarch64/emit-relocs-115.s: New. + * testsuite/ld-aarch64/emit-relocs-116-overflow.d: New. + * testsuite/ld-aarch64/emit-relocs-116-overflow.s: New. + * testsuite/ld-aarch64/emit-relocs-116.d: New. + * testsuite/ld-aarch64/emit-relocs-116.s: New. + * testsuite/ld-aarch64/emit-relocs-117.d: New. + * testsuite/ld-aarch64/emit-relocs-117.s: New. + * testsuite/ld-aarch64/emit-relocs-118-overflow.d: New. + * testsuite/ld-aarch64/emit-relocs-118-overflow.s: New. + * testsuite/ld-aarch64/emit-relocs-118.d: New. + * testsuite/ld-aarch64/emit-relocs-118.s: New. + * testsuite/ld-aarch64/emit-relocs-119.d: New. + * testsuite/ld-aarch64/emit-relocs-119.s: New. + +2018-03-28 Eric Botcazou + + PR ld/22972 + * testsuite/ld-sparc/sparc.exp: Add test for mixed GOTDATA/GOT relocs. + * testsuite/ld-sparc/gotop-hidden.c: New file. + * testsuite/ld-sparc/got-hidden32.s: Likewise. + * testsuite/ld-sparc/got-hidden64.s: Likewise. + * testsuite/ld-sparc/pass.out: Likewise. + +2018-03-25 H.J. Lu + + PR ld/23000 + * testsuite/ld-x86-64/tlsdesc.pd: Updated. + +2018-03-23 Nick Clifton + + PR 22948 + * emultempl/pe.em (open_dynamic_archive): Add libXXX.lib template + to library name list. + * emultempl/pep.em (open_dynamic_archive): Likewise. + * ld.texinfo (WIN32): Update documentation. + +2018-03-20 Roland McGrath + + * testsuite/ld-elf/shared.exp (pr20995-2): XFAIL on aarch64*-*-elf*, + another target without RELRO. + +2018-03-20 H.J. Lu + + * testsuite/ld-plugin/pr22983.d: Allow leading underscore as + well as extra lines between symbols. + +2018-03-20 Maciej W. Rozycki + + * testsuite/ld-gc/gc.exp: Remove extraneous LD flags from the + personality test. + +2018-03-20 H.J. Lu + + PR ld/22983 + * testsuite/ld-plugin/lto.exp: Run PR ld/22983 test. + * testsuite/ld-plugin/pr22983.d: New file. + * testsuite/ld-plugin/pr22983.t: Likewise. + * testsuite/ld-plugin/pr22983a.c: Likewise. + * testsuite/ld-plugin/pr22983b.c: Likewise. + +2018-03-15 Andreas Schwab + + PR ld/22949 + * emultempl/riscvelf.em (riscv_elf_before_allocation): Don't + enable relaxation in relocatable link. + +2018-03-15 Kuan-Lin Chen + + * emultempl/nds32elf.em (nds32_elf_after_allocation): Remove + unsupported target feature. + +2018-03-14 H.J. Lu + + PR ld/20882 + * testsuite/ld-gc/pr20882.d: Also dump and check .debug_abbrev + section. + * testsuite/ld-gc/pr20882b.s: Add .debug_abbrev section. + +2018-03-14 H.J. Lu + + * testsuite/ld-gc/gc.exp: Fix a typo: $LFLAGS -> $LDFLAGS. + +2018-03-13 Nick Clifton + + * po/pt_BR.po: Updated Brazilian Portuguese translation. + +2018-03-09 Nick Clifton + + * testsuite/ld-ifunc/ifuncmod5.s: New test. Checks that targets + that support IFUNC symbols can handle relocations against those + symbols in NOTE sections. + * testsuite/ld-ifunc/ifuncmod5.d: New file: Driver for the new + test. + * testsuite/ld-ifunc/ifunc.exp: Run the new test. + +2018-03-08 H.J. Lu + + PR ld/22929 + * testsuite/ld-i386/i386.exp: Run PR ld/22929 test. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/ld-i386/pr22929.d: New file. + * testsuite/ld-i386/pr22929.s: Likewise. + * testsuite/ld-x86-64/pr22929.d: Likewise. + * testsuite/ld-x86-64/pr22929.s: Likewise. + +2018-03-07 Max Filippov + + * emulparams/elf32xtensa.sh (COMMONPAGESIZE): Define. + +2018-03-07 Renlin Li + + PR ld/20402 + * testsuite/ld-aarch64/aarch64-elf.exp: Run new test. + * testsuite/ld-aarch64/pr20402.s: New. + * testsuite/ld-aarch64/pr20402.d: New. + +2018-03-06 Jim Wilson + + PR 22920 + * emultempl/riscvelf.em (riscv_create_output_section_statements): New. + (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): New. + * testsuite/ld-elf/pr21884.d (#notarget): Add riscv*-*-*. + * testsuite/ld-unique/pr21529.d (#notarget): Likewise. + * testsuite/ld-srec/srec.exp (run_srec_test): For riscv*-*-* target, + call setup_xfail. + +2018-03-03 James Cowgill + Maciej W. Rozycki + + PR ld/21900 + * testsuite/ld-mips-elf/undefined-warn.d: New test. + * testsuite/ld-mips-elf/undefined.s: Add padding at the end. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new test. + +2018-03-02 Jim Wilson + + PR 22903 + * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section): + Give stub_sec 8 byte alignment. + * emulparams/aarch64cloudabi.sh (NOP): Set to 0x1f2003d5. + * emulparams/aarch64elf.sh (NOP): Likewise. + * emulparams/aarch64elf32.sh (NOP): Likewise. + * emulparams/aarch64fbsd.sh (NOP): Likewise. + * emulparams/aarch64linux.sh (NOP): Likewise. + * emulparams/aarch64linux32.sh (NOP): Likewise. + * testsuite/ld-aarch64/erratum835769.d: Adjust for added nop. + * testsuite/ld-aarch64/erratum843419.d: Likewise. + * testsuite/ld-aarch64/farcall-b-defsym.d: Likewise. + * testsuite/ld-aarch64/farcall-b-none-function.d: Likewise. + * testsuite/ld-aarch64/farcall-b-plt.d: Likewise. + * testsuite/ld-aarch64/farcall-b-section.d: Likewise. + * testsuite/ld-aarch64/farcall-b.d: Likewise. + * testsuite/ld-aarch64/farcall-back.d: Likewise. + * testsuite/ld-aarch64/farcall-bl-defsym.d: Likewise. + * testsuite/ld-aarch64/farcall-bl-none-function.d: Likewise. + * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise. + * testsuite/ld-aarch64/farcall-bl-section.d: Likewise. + * testsuite/ld-aarch64/farcall-bl.d: Likewise. + +2018-03-01 Alan Modra + + * configure.ac (ALL_LINGUAS): Add ja. Sort. + * configure: Regenerate. + +2018-02-28 Douglas B Rupp + + * ldmain.c (main): Remove directory separator, if any, from the + end of the canonicalized sysroot. + +2018-02-27 H.J. Lu + + * NEWS: Mention --enable-separate-code. + * configure.ac: Add --enable-separate-code. + (DEFAULT_LD_Z_SEPARATE_CODE): New AC_DEFINE_UNQUOTED. + * configure.tgt: Default ac_default_ld_z_separate_code to 1 for + Linux/x86 targets. + * config.in: Regenerated. + * configure: Likewise. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set + link_info.separate_code DEFAULT_LD_Z_SEPARATE_CODE. + +2018-02-26 Alan Modra + + * emulparams/call_nop.sh, * emulparams/cet.sh, + * emulparams/elf32mcore.sh, * emultempl/aarch64elf.em + * emultempl/aix.em, * emultempl/alphaelf.em, * emultempl/armcoff.em, + * emultempl/armelf.em, * emultempl/avrelf.em, * emultempl/beos.em, + * emultempl/bfin.em, * emultempl/cr16elf.em, * emultempl/elf32.em, + * emultempl/elf-generic.em, * emultempl/hppaelf.em, + * emultempl/linux.em, * emultempl/lnk960.em, + * emultempl/m68hc1xelf.em, * emultempl/m68kcoff.em, + * emultempl/m68kelf.em, * emultempl/metagelf.em, + * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em, + * emultempl/mmo.em, * emultempl/msp430.em, * emultempl/nds32elf.em, + * emultempl/nios2elf.em, * emultempl/pe.em, * emultempl/pep.em, + * emultempl/ppc32elf.em, * emultempl/ppc64elf.em, + * emultempl/scoreelf.em, * emultempl/sh64elf.em, + * emultempl/spuelf.em, * emultempl/sunos.em, * emultempl/tic6xdsbt.em, + * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em, + * emultempl/vxworks.em, * emultempl/xtensaelf.em, * ldcref.c, + * ldctor.c, * ldexp.c, * ldfile.c, * ldgram.y, * ldlang.c, + * ldmain.c, * ldmisc.c, * ldwrite.c, * lexsup.c, * mri.c, * pe-dll.c, + * plugin.c: Standardize error/warning messages. + * testsuite/ld-arc/jli-overflow.err, + * testsuite/ld-arm/cmse-implib-errors.out, + * testsuite/ld-arm/cmse-new-earlier-later-implib.out, + * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out, + * testsuite/ld-arm/cmse-new-wrong-implib.out, + * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out, + * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out, + * testsuite/ld-arm/vxworks1-static.d, + * testsuite/ld-cris/tls-err-20x.d, * testsuite/ld-cris/tls-err-29.d, + * testsuite/ld-cris/tls-err-31.d, * testsuite/ld-cris/tls-err-33.d, + * testsuite/ld-cris/tls-err-35.d, * testsuite/ld-cris/tls-err-37.d, + * testsuite/ld-cris/tls-err-39.d, * testsuite/ld-cris/tls-err-41.d, + * testsuite/ld-cris/tls-err-43.d, * testsuite/ld-cris/tls-err-45.d, + * testsuite/ld-cris/tls-err-47.d, * testsuite/ld-cris/tls-err-49.d, + * testsuite/ld-cris/tls-err-51.d, * testsuite/ld-cris/tls-err-67.d, + * testsuite/ld-elf/dwarf2.err, * testsuite/ld-elf/dwarf3.err, + * testsuite/ld-elf/orphan-5.l, * testsuite/ld-elf/orphan-6.l, + * testsuite/ld-i386/vxworks1-static.d, + * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d, + * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d, + * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d, + * testsuite/ld-mips-elf/bal-jalx-pic-n32.d, + * testsuite/ld-mips-elf/bal-jalx-pic-n64.d, + * testsuite/ld-mips-elf/bal-jalx-pic.d, + * testsuite/ld-mips-elf/jal-global-overflow-1.d, + * testsuite/ld-mips-elf/jal-local-overflow-1.d, + * testsuite/ld-mips-elf/mode-change-error-1.d, + * testsuite/ld-mips-elf/unaligned-branch-2.d, + * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d, + * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d, + * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d, + * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d, + * testsuite/ld-mips-elf/unaligned-branch-micromips.d, + * testsuite/ld-mips-elf/unaligned-branch-mips16.d, + * testsuite/ld-mips-elf/unaligned-branch-r6-1.d, + * testsuite/ld-mips-elf/unaligned-branch-r6-2.d, + * testsuite/ld-mips-elf/unaligned-branch.d, + * testsuite/ld-mips-elf/unaligned-jalx-1.d, + * testsuite/ld-mips-elf/unaligned-jalx-3.d, + * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d, + * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d, + * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d, + * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d, + * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d, + * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d, + * testsuite/ld-mips-elf/unaligned-jump-micromips.d, + * testsuite/ld-mips-elf/unaligned-jump-mips16.d, + * testsuite/ld-mips-elf/unaligned-jump.d, + * testsuite/ld-mips-elf/unaligned-ldpc-1.d, + * testsuite/ld-mips-elf/unaligned-lwpc-1.d, + * testsuite/ld-mips-elf/undefined.d, + * testsuite/ld-mips-elf/vxworks1-static.d, + * testsuite/ld-mmix/bpo-20.d, * testsuite/ld-mmix/bpo-20m.d, + * testsuite/ld-mmix/bpo-7.d, * testsuite/ld-mmix/bpo-7m.d, + * testsuite/ld-mmix/bpo-8.d, * testsuite/ld-mmix/bpo-8m.d, + * testsuite/ld-mmix/greg-17.d, * testsuite/ld-mmix/greg-18.d, + * testsuite/ld-mmix/greg-8.d, * testsuite/ld-mmix/greg-9.d, + * testsuite/ld-plugin/plugin-14.d, * testsuite/ld-plugin/plugin-15.d, + * testsuite/ld-plugin/plugin-16.d, * testsuite/ld-plugin/plugin-20.d, + * testsuite/ld-plugin/plugin-21.d, * testsuite/ld-plugin/plugin-22.d, + * testsuite/ld-plugin/plugin-23.d, * testsuite/ld-plugin/plugin-6.d, + * testsuite/ld-plugin/plugin-7.d, * testsuite/ld-plugin/plugin-8.d, + * testsuite/ld-powerpc/aix-weak-3-32.d, + * testsuite/ld-powerpc/aix-weak-3-64.d, + * testsuite/ld-powerpc/vxworks1-static.d, + * testsuite/ld-sh/vxworks1-static.d, + * testsuite/ld-sparc/vxworks1-static.d, + * testsuite/ld-undefined/undefined.exp, + * testsuite/ld-x86-64/pie1.d: Update for changed errors and warnings. + * testsuite/ld-elf/warn1.d, * testsuite/ld-elf/warn2.d: Correct regex. + +2018-02-26 Alan Modra + + * Makefile.am (EMULATION_FILES, POTFILES): Delete. + (SRC_POTFILES, BLD_POTFILES): Define. + (po/POTFILES.in): Delete rule. + (po/SRC-POTFILES.in, po/BLD-POTFILES.in): New rules. + * configure.ac: Add AC_CONFIG_COMMANDS to create po/Makefile. + * po/Make-in (DISTFILES): Remove POTFILES.in, add SRC-POTFILES.in + and BLD-POTFILES.in. + (POTFILES): Delete. + (SRC-POTFILES, BLD-POTFILES): Define place marker. + (ld.pot): Build from SRC-POTFILES plus BLD-POTFILES. + (distclean, maintainer-clean): Tidy up new files. + (POTFILES, POTFILES.in): Delete rules. + (SRC-POTFILES, BLD-POTFILES, SRC-POTFILES.in, BLD-POTFILES.in): + New rules. + (Makefile): Depend on SRC-POTFILES and BLD-POTFILES. + * po/SRC-POTFILES.in: Rename from po/POTFILES.in. + * po/BLD-POTFILES.in: New file. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2018-02-26 Alan Modra + + * testsuite/ld-cris/pcrelcp-1.d, + * testsuite/ld-mmix/start-2.d: Update. + +2018-02-26 Alan Modra + + * testsuite/ld-arm/cmse-implib-errors.out, + * testsuite/ld-arm/cmse-new-earlier-later-implib.out, + * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out, + * testsuite/ld-arm/cmse-new-wrong-implib.out, + * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out, + * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out, + * testsuite/ld-cris/badgotr1.d, + * testsuite/ld-cris/tls-err-24.d, + * testsuite/ld-cris/tls-err-25.d, + * testsuite/ld-cris/tls-err-26.d, + * testsuite/ld-cris/tls-err-27.d, + * testsuite/ld-cris/tls-err-28.d, + * testsuite/ld-cris/tls-err-40.d, + * testsuite/ld-cris/tls-err-44.d, + * testsuite/ld-cris/tls-err-48.d, + * testsuite/ld-cris/tls-err-52.d, + * testsuite/ld-cris/tls-err-53.d, + * testsuite/ld-cris/tls-err-55.d, + * testsuite/ld-cris/tls-err-56.d, + * testsuite/ld-cris/tls-err-62.d, + * testsuite/ld-cris/tls-err-65.d, + * testsuite/ld-cris/tls-err-77.d, + * testsuite/ld-elf/empty-implib.out, + * testsuite/ld-elf/indirect.exp: Update. + +2018-02-26 Alan Modra + + * testsuite/ld-aarch64/reloc-overflow-bad.d, + * testsuite/ld-arm/attr-merge-9.out, + * testsuite/ld-arm/attr-merge-arch-2.d, + * testsuite/ld-arm/attr-merge-unknown-1.d, + * testsuite/ld-arm/attr-merge-unknown-2.d, + * testsuite/ld-arm/attr-merge-unknown-2r.d, + * testsuite/ld-arm/attr-merge-unknown-3.d, + * testsuite/ld-arm/cmse-implib-errors.out, + * testsuite/ld-arm/cmse-new-earlier-later-implib.out, + * testsuite/ld-arm/cmse-new-implib-no-output.out, + * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out, + * testsuite/ld-arm/cmse-new-implib.out, + * testsuite/ld-arm/cmse-new-wrong-implib.out, + * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out, + * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out, + * testsuite/ld-arm/group-relocs-alu-bad-2.d, + * testsuite/ld-arm/group-relocs-alu-bad.d, + * testsuite/ld-arm/group-relocs-ldc-bad-2.d, + * testsuite/ld-arm/group-relocs-ldc-bad.d, + * testsuite/ld-arm/group-relocs-ldr-bad-2.d, + * testsuite/ld-arm/group-relocs-ldr-bad.d, + * testsuite/ld-arm/group-relocs-ldrs-bad-2.d, + * testsuite/ld-arm/group-relocs-ldrs-bad.d, + * testsuite/ld-arm/stm32l4xx-cannot-fix-far-ldm.d: Update. + +2018-02-26 Alan Modra + + * testsuite/ld-mips-elf/attr-gnu-4-12.d, + * testsuite/ld-mips-elf/attr-gnu-4-13.d, + * testsuite/ld-mips-elf/attr-gnu-4-14.d, + * testsuite/ld-mips-elf/attr-gnu-4-16.d, + * testsuite/ld-mips-elf/attr-gnu-4-17.d, + * testsuite/ld-mips-elf/attr-gnu-4-18.d, + * testsuite/ld-mips-elf/attr-gnu-4-19.d, + * testsuite/ld-mips-elf/attr-gnu-4-21.d, + * testsuite/ld-mips-elf/attr-gnu-4-23.d, + * testsuite/ld-mips-elf/attr-gnu-4-24.d, + * testsuite/ld-mips-elf/attr-gnu-4-25.d, + * testsuite/ld-mips-elf/attr-gnu-4-26.d, + * testsuite/ld-mips-elf/attr-gnu-4-27.d, + * testsuite/ld-mips-elf/attr-gnu-4-28.d, + * testsuite/ld-mips-elf/attr-gnu-4-29.d, + * testsuite/ld-mips-elf/attr-gnu-4-31.d, + * testsuite/ld-mips-elf/attr-gnu-4-32.d, + * testsuite/ld-mips-elf/attr-gnu-4-34.d, + * testsuite/ld-mips-elf/attr-gnu-4-35.d, + * testsuite/ld-mips-elf/attr-gnu-4-36.d, + * testsuite/ld-mips-elf/attr-gnu-4-37.d, + * testsuite/ld-mips-elf/attr-gnu-4-38.d, + * testsuite/ld-mips-elf/attr-gnu-4-39.d, + * testsuite/ld-mips-elf/attr-gnu-4-41.d, + * testsuite/ld-mips-elf/attr-gnu-4-42.d, + * testsuite/ld-mips-elf/attr-gnu-4-43.d, + * testsuite/ld-mips-elf/attr-gnu-4-45.d, + * testsuite/ld-mips-elf/attr-gnu-4-46.d, + * testsuite/ld-mips-elf/attr-gnu-4-47.d, + * testsuite/ld-mips-elf/attr-gnu-4-48.d, + * testsuite/ld-mips-elf/attr-gnu-4-49.d, + * testsuite/ld-mips-elf/attr-gnu-4-52.d, + * testsuite/ld-mips-elf/attr-gnu-4-53.d, + * testsuite/ld-mips-elf/attr-gnu-4-54.d, + * testsuite/ld-mips-elf/attr-gnu-4-58.d, + * testsuite/ld-mips-elf/attr-gnu-4-59.d, + * testsuite/ld-mips-elf/attr-gnu-4-61.d, + * testsuite/ld-mips-elf/attr-gnu-4-62.d, + * testsuite/ld-mips-elf/attr-gnu-4-63.d, + * testsuite/ld-mips-elf/attr-gnu-4-64.d, + * testsuite/ld-mips-elf/attr-gnu-4-68.d, + * testsuite/ld-mips-elf/attr-gnu-4-69.d, + * testsuite/ld-mips-elf/attr-gnu-4-71.d, + * testsuite/ld-mips-elf/attr-gnu-4-72.d, + * testsuite/ld-mips-elf/attr-gnu-4-73.d, + * testsuite/ld-mips-elf/attr-gnu-4-74.d, + * testsuite/ld-mips-elf/attr-gnu-4-78.d, + * testsuite/ld-mips-elf/attr-gnu-4-79.d, + * testsuite/ld-mips-elf/attr-gnu-4-81.d, + * testsuite/ld-mips-elf/attr-gnu-4-89.d, + * testsuite/ld-mips-elf/attr-gnu-8-12.d, + * testsuite/ld-mips-elf/attr-gnu-8-21.d, + * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d, + * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d, + * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d, + * testsuite/ld-mips-elf/bal-jalx-pic-n32.d, + * testsuite/ld-mips-elf/bal-jalx-pic-n64.d, + * testsuite/ld-mips-elf/bal-jalx-pic.d, + * testsuite/ld-mips-elf/mode-change-error-1.d, + * testsuite/ld-mips-elf/unaligned-branch-2.d, + * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d, + * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d, + * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d, + * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d, + * testsuite/ld-mips-elf/unaligned-branch-micromips.d, + * testsuite/ld-mips-elf/unaligned-branch-mips16.d, + * testsuite/ld-mips-elf/unaligned-branch-r6-1.d, + * testsuite/ld-mips-elf/unaligned-branch-r6-2.d, + * testsuite/ld-mips-elf/unaligned-branch.d, + * testsuite/ld-mips-elf/unaligned-jalx-1.d, + * testsuite/ld-mips-elf/unaligned-jalx-3.d, + * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d, + * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d, + * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d, + * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d, + * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d, + * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d, + * testsuite/ld-mips-elf/unaligned-jump-micromips.d, + * testsuite/ld-mips-elf/unaligned-jump-mips16.d, + * testsuite/ld-mips-elf/unaligned-jump.d: Update. + +2018-02-26 Alan Modra + + * testsuite/ld-elf/indirect.exp, + * testsuite/ld-elf/pr22649-2ab-mips.msg, + * testsuite/ld-elf/pr22649-2cd-mips.msg, + * testsuite/ld-elf/pr22649.msg, + * testsuite/ld-elf/tls_common.exp, + * testsuite/ld-elfcomm/elfcomm.exp, + * testsuite/ld-arm/attr-merge-incompatible.d, + * testsuite/ld-tic6x/attr-compatibility-gnu-other.d, + * testsuite/ld-tic6x/attr-compatibility-other-gnu.d, + * testsuite/ld-tic6x/attr-compatibility-other-other.d, + * testsuite/ld-i386/warn1.d: Update expected error/warning messages. + +2018-02-26 Alan Modra + + * testsuite/ld-powerpc/attr-gnu-12-21.d, + * testsuite/ld-powerpc/attr-gnu-4-12.d, + * testsuite/ld-powerpc/attr-gnu-4-13.d, + * testsuite/ld-powerpc/attr-gnu-4-21.d, + * testsuite/ld-powerpc/attr-gnu-4-23.d, + * testsuite/ld-powerpc/attr-gnu-4-31.d, + * testsuite/ld-powerpc/attr-gnu-4-32.d, + * testsuite/ld-powerpc/attr-gnu-8-23.d: Update. + +2018-02-21 Alan Modra + + * testsuite/ld-elf/group8b.d: Run test on ia64. Use xfail rather + than notarget. + * testsuite/ld-elf/pr12851.d: Likewise. + * testsuite/ld-elf/pr12975.d: Likewise. + * testsuite/ld-elf/pr13177.d: Likewise. + * testsuite/ld-elf/pr13195.d: Likewise. + * testsuite/ld-elf/pr17615.d: Likewise. + * testsuite/ld-elf/pr21562a.d: Likewise. + * testsuite/ld-elf/pr21562b.d: Likewise. + * testsuite/ld-elf/pr21562c.d: Likewise. + * testsuite/ld-elf/pr21562d.d: Likewise. + * testsuite/ld-elf/pr21562i.d: Likewise. + * testsuite/ld-elf/pr21562j.d: Likewise. + * testsuite/ld-elf/pr21562k.d: Likewise. + * testsuite/ld-elf/pr21562l.d: Likewise. + * testsuite/ld-elf/pr21562m.d: Likewise. + * testsuite/ld-elf/pr21562n.d: Likewise. + * testsuite/ld-elf/group9a.d: Run test on ia64 and alpha. Use xfail + rather than notarget. + * testsuite/ld-elf/group9b.d: Likewise. + * testsuite/ld-elf/pr22677.d: Likewise. + +2018-02-19 Maciej W. Rozycki + + * testsuite/ld-mips-elf/reginfo-0.d: New test. + * testsuite/ld-mips-elf/reginfo-0r.d: New test. + * testsuite/ld-mips-elf/reginfo-1.d: New test. + * testsuite/ld-mips-elf/reginfo-1r.d: New test. + * testsuite/ld-mips-elf/reginfo-2.d: New test. + * testsuite/ld-mips-elf/reginfo-2r.d: New test. + * testsuite/ld-mips-elf/mips-abiflags-0.d: New test. + * testsuite/ld-mips-elf/mips-abiflags-0r.d: New test. + * testsuite/ld-mips-elf/mips-abiflags-1.d: New test. + * testsuite/ld-mips-elf/mips-abiflags-1r.d: New test. + * testsuite/ld-mips-elf/mips-abiflags-2.d: New test. + * testsuite/ld-mips-elf/mips-abiflags-2r.d: New test. + * testsuite/ld-mips-elf/reginfo-0.ld: New test linker script. + * testsuite/ld-mips-elf/reginfo-1.ld: New test linker script. + * testsuite/ld-mips-elf/mips-abiflags-0.ld: New test linker + script. + * testsuite/ld-mips-elf/mips-abiflags-1.ld: New test linker + script. + * testsuite/ld-mips-elf/reginfo-1.s: New test source. + * testsuite/ld-mips-elf/reginfo-2.s: New test source. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2018-02-19 Maciej W. Rozycki + + * ldlang.c (insert_pad): Do not change output section's size if + SEC_FIXED_SIZE is set in the flags. + (size_input_section): Likewise. + (lang_size_sections_1): Likewise. + (lang_reset_memory_regions): Likewise. + +2018-02-19 Alan Modra + + * ldmisc.c (vfinfo) Handle %pI, %pR, %pS and %pT in place of + %I, %R, %S and %T. + * ldcref.c, * ldctor.c, * ldemul.c, * ldexp.c, * ldgram.y, + * ldlang.c, * ldlex.l, * ldmain.c, * ldmisc.c, * pe-dll.c, + * emultempl/sh64elf.em: Replace use of of %I, %R, %S and %T in + format strings passed to einfo and friends by %pI, %pR, %pS and %pT. + +2018-02-19 Alan Modra + + * ldmisc.c (vfinfo): Handle %pA and %pB in place of %A and %B. + * ldcref.c: Update all messages using %A and %B. + * ldexp.c: Likewise. + * ldlang.c: Likewise. + * ldmain.c: Likewise. + * ldmisc.c: Likewise. + * pe-dll.c: Likewise. + * plugin.c: Likewise. + * emultempl/beos.em: Likewise. + * emultempl/cr16elf.em: Likewise. + * emultempl/elf32.em: Likewise. + * emultempl/m68kcoff.em: Likewise. + * emultempl/m68kelf.em: Likewise. + * emultempl/mmo.em: Likewise. + * emultempl/nds32elf.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/pep.em: Likewise. + * emultempl/spuelf.em: Likewise. + * emultempl/sunos.em: Likewise. + * emultempl/xtensaelf.em: Likewise. + +2018-02-19 H.J. Lu + + PR ld/22845 + * testsuite/ld-elf/frame.exp: Skip if -shared isn't supported. + Add tests for "-z noseparate-code" and "-z separate-code". + Remove unsupported -shared check. + +2018-02-17 H.J. Lu + + PR ld/22845 + * testsuite/ld-elf/ehdr_start.d: Pass --build-id to ld. + +2018-02-17 H.J. Lu + + PR ld/22845 + * testsuite/ld-elf/binutils.exp (tls_opts): Add tests for + "-z noseparate-code" and "-z separate-code". + +2018-02-17 H.J. Lu + + PR ld/22845 + * ld-elf/eh4.d: Pass -z max-page-size=0x200000 -z noseparate-code + to ld. + +2018-02-16 H.J. Lu + + * testsuite/ld-x86-64/bnd-branch-1-now.d: Add -z + max-page-size=0x200000 -z noseparate-code. + * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise. + * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. + * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise. + * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. + * testsuite/ld-x86-64/bnd-plt-1.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-1.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise. + * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise. + * testsuite/ld-x86-64/load1a.d: Likewise. + * testsuite/ld-x86-64/load1b.d: Likewise. + * testsuite/ld-x86-64/load1c.d: Likewise. + * testsuite/ld-x86-64/load1d.d: Likewise. + * testsuite/ld-x86-64/pie3.d: Likewise. + * testsuite/ld-x86-64/pr14207.d: Likewise. + * testsuite/ld-x86-64/pr17618.d: Likewise. + * testsuite/ld-x86-64/pr19162.d: Likewise. + * testsuite/ld-x86-64/pr19636-2d.d: Likewise. + * testsuite/ld-x86-64/pr19636-2l.d: Likewise. + * testsuite/ld-x86-64/pr20253-1b.d: Likewise. + * testsuite/ld-x86-64/pr20253-1d.d: Likewise. + * testsuite/ld-x86-64/pr20253-1f.d: Likewise. + * testsuite/ld-x86-64/pr20253-1h.d: Likewise. + * testsuite/ld-x86-64/pr20253-1j.d: Likewise. + * testsuite/ld-x86-64/pr20253-1l.d: Likewise. + * testsuite/ld-x86-64/pr20830a-now.d: Likewise. + * testsuite/ld-x86-64/pr20830a.d: Likewise. + * testsuite/ld-x86-64/pr20830b-now.d: Likewise. + * testsuite/ld-x86-64/pr20830b.d: Likewise. + * testsuite/ld-x86-64/pr21038a-now.d: Likewise. + * testsuite/ld-x86-64/pr21038a.d: Likewise. + * testsuite/ld-x86-64/pr21038b-now.d: Likewise. + * testsuite/ld-x86-64/pr21038b.d: Likewise. + * testsuite/ld-x86-64/pr21038c-now.d: Likewise. + * testsuite/ld-x86-64/pr21038c.d: Likewise. + +2018-02-16 H.J. Lu + + * testsuite/ld-x86-64/bnd-ifunc-1.d: Updated. + * testsuite/ld-x86-64/ilp32-4.d: Likewise. + +2018-02-16 H.J. Lu + + * testsuite/ld-x86-64/mpx.exp: Add -z max-page-size=0x200000 + -z noseparate-code. + +2018-02-16 H.J. Lu + + * testsuite/ld-x86-64/x86-64.exp: Add -z noseparate-code + -z max-page-size=0x200000, excluding NaCl target. + +2018-02-16 H.J. Lu + + * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise. + * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise. + * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise. + * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise. + * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise. + * testsuite/ld-ifunc/pr17154-i386.d: Likewise. + +2018-02-16 H.J. Lu + + * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Add + -z max-page-size=0x200000 -z noseparate-code. + * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise. + * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise. + * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise. + * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise. + * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise. + +2018-02-16 H.J. Lu + + * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated for i386. + * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise. + * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise. + +2018-02-16 H.J. Lu + + * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated. + * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise. + * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise. + +2018-02-16 H.J. Lu + + * testsuite/ld-i386/ibt-plt-1.d: Add -z noseparate-code. + * testsuite/ld-i386/ibt-plt-2a.d: Likewise. + * testsuite/ld-i386/ibt-plt-2b.d: Likewise. + * testsuite/ld-i386/ibt-plt-2c.d: Likewise. + * testsuite/ld-i386/ibt-plt-2d.d: Likewise. + * testsuite/ld-i386/ibt-plt-3a.d: Likewise. + * testsuite/ld-i386/ibt-plt-3b.d: Likewise. + * testsuite/ld-i386/ibt-plt-3c.d: Likewise. + * testsuite/ld-i386/ibt-plt-3d.d: Likewise. + * testsuite/ld-i386/load1.d: Likewise. + * testsuite/ld-i386/pie1.d: Likewise. + * testsuite/ld-i386/pr20244-1a.d: Likewise. + * testsuite/ld-i386/pr20244-1b.d: Likewise. + * testsuite/ld-i386/pr20244-2a.d: Likewise. + * testsuite/ld-i386/pr20244-2b.d: Likewise. + * testsuite/ld-i386/pr20244-2c.d: Likewise. + * testsuite/ld-i386/pr20244-4a.d: Likewise. + * testsuite/ld-i386/pr20244-4b.d: Likewise. + * testsuite/ld-i386/pr20830.d: Likewise. + +2018-02-16 H.J. Lu + + * testsuite/ld-i386/pr19636-1a.d: Updated. + * testsuite/ld-i386/pr19636-1b.d: Likewise. + * testsuite/ld-i386/pr19636-1j.d: Likewise. + * testsuite/ld-i386/pr19636-1k.d: Likewise. + * testsuite/ld-i386/pr19636-2a.d: Likewise. + * testsuite/ld-i386/pr19636-2b.d: Likewise. + +2018-02-16 H.J. Lu + + * testsuite/ld-i386/i386.exp: Add -z noseparate-code. + +2018-02-16 H.J. Lu + + * testsuite/ld-elf/pr19162.d: Add -z noseparate-code. + * testsuite/ld-elf/textaddr1.d: Likewise. + * testsuite/ld-elf/textaddr2.d: Likewise. + * testsuite/ld-elf/textaddr4.d: Likewise. + * testsuite/ld-elf/textaddr6.d: Likewise. + +2018-02-15 Jim Wilson + + * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend test. + * testsuite/ld-riscv-elf/pcrel-lo-addend.d: New. + * testsuite/ld-riscv-elf/pcrel-lo-addend.s: New. + +2018-02-14 H.J. Lu + + PR ld/22842 + * testsuite/ld-i386/i386.exp: Run PR ld/22842 tests. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/ld-i386/pr22842a.c: New file. + * testsuite/ld-i386/pr22842b.S: Likewise. + * testsuite/ld-x86-64/pr22842a.c: Likewise. + * testsuite/ld-x86-64/pr22842a.rd: Likewise. + * testsuite/ld-x86-64/pr22842b.S: Likewise. + * testsuite/ld-x86-64/pr22842b.rd: Likewise. + +2018-02-14 Maciej W. Rozycki + + * ldlex.h (ldlex_command): Remove prototype. + +2018-02-13 H.J. Lu + + * testsuite/ld-x86-64/x86-64.exp: Replace pr22393-2a.so and + pr22393-2a-now.so with pr22393-3a.so and pr22393-3a-now.so. + +2018-02-14 H.J. Lu + + PR 22836 + * testsuite/ld-elf/pr22836-1.s: New file. + * testsuite/ld-elf/pr22836-1a.d: Likewise. + * testsuite/ld-elf/pr22836-1b.d: Likewise. + +2018-02-13 H.J. Lu + + PR gas/22791 + * testsuite/ld-x86-64/mpx1c.rd: Updated. + * testsuite/ld-x86-64/pr22791-1.err: New file. + * testsuite/ld-x86-64/pr22791-1a.c: Likewise. + * testsuite/ld-x86-64/pr22791-1b.s: Likewise. + * testsuite/ld-x86-64/pr22791-2.rd: Likewise. + * testsuite/ld-x86-64/pr22791-2a.s: Likewise. + * testsuite/ld-x86-64/pr22791-2b.c: Likewise. + * testsuite/ld-x86-64/pr22791-2c.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests. + +2018-02-13 Alan Modra + + PR 22836 + * testsuite/ld-elf/pr22836-2.d, + * testsuite/ld-elf/pr22836-2.s: New test. + +2018-02-13 Alan Modra + + * testsuite/ld-x86-64/pr14207.d: Adjust relro p_filesz. + +2018-02-07 Alan Modra + + Revert 2018-01-17 Alan Modra + * emultempl/ppc32elf.em: Remove --speculate-indirect-jumps support. + * emultempl/ppc64elf.em: Likesize + * ld.texinfo: Likewise + * testsuite/ld-powerpc/elfv2exe.d, + * testsuite/ld-powerpc/elfv2so.d, + * testsuite/ld-powerpc/relbrlt.d, + * testsuite/ld-powerpc/powerpc.exp: Likewise. + +2018-02-06 Eric Botcazou + + * testsuite/ld-elf/tls.exp (AFLAGS_PIC): Define on SPARC. + (pr22263-1): Pass AFLAGS_PIC to the assembler. + * testsuite/ld-sparc/tlspie32.s: Add test for other 3 transitions. + * testsuite/ld-sparc/tlspie32.dd: Adjust to above. + * testsuite/ld-sparc/tlspie64.s: Add test for other 3 transitions. + * testsuite/ld-sparc/tlspie64.dd: Adjust to above. + +2018-02-05 Renlin Li + + PR ld/22764 + * testsuite/ld-aarch64/emit-relocs-258.s: Define symbol as an address. + * testsuite/ld-aarch64/emit-relocs-259.s: Likewise. + * testsuite/ld-aarch64/pr22764.s: New. + * testsuite/ld-aarch64/pr22764.d: New. + +2018-02-05 H.J. Lu + + PR ld/22782 + * testsuite/ld-i386/discarded1.s: Replace mov with div. + * testsuite/ld-x86-64/discarded1.s: Likewise. + * testsuite/ld-i386/i386.exp: Run pr22782. + * testsuite/ld-i386/load1-nacl.d: Updated for removing + _GLOBAL_OFFSET_TABLE_ from output. + * testsuite/ld-i386/load1.d: Likewise. + * testsuite/ld-x86-64/load1a-nacl.d: Likewise. + * testsuite/ld-x86-64/load1a.d: Likewise. + * testsuite/ld-x86-64/load1b-nacl.d: Likewise. + * testsuite/ld-x86-64/load1b.d: Likewise. + * testsuite/ld-i386/pr22782.d: New file. + * testsuite/ld-i386/pr22782.s: Likewise. + * testsuite/ld-x86-64/pr22782.s: Likewise. + * testsuite/ld-x86-64/pr22782a.d: Likewise. + * testsuite/ld-x86-64/pr22782b.d: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run pr22782a and pr22782b. + +2018-02-05 Nick Clifton + + * po/pt_BR.po: Updated Brazilian Portuguese translation. + +2018-02-04 H.J. Lu + + * testsuite/ld-i386/lea1d.d: Replace -Sw with -SW. + * testsuite/ld-i386/lea1e.d: Likewise. + * testsuite/ld-i386/lea1f.d: Likewise. + * testsuite/ld-x86-64/lea1g.d: Likewise. + * testsuite/ld-x86-64/lea1h.d: Likewise. + * testsuite/ld-x86-64/lea1i.d: Likewise. + * testsuite/ld-x86-64/lea1j.d: Likewise. + * testsuite/ld-x86-64/lea1k.d: Likewise. + * testsuite/ld-x86-64/lea1l.d: Likewise. + +2018-02-03 Nick Clifton + + PR 22762 + * scripttempl/pe.sc: Remove PROVIDE()s from __CTOR_LIST__ and + __DTOR_LIST__ symbols. Add a comment explaining why this is + necessary. + * scripttemp/pep.sc: Likewise. + * ld.texinfo (PROVIDE): Add a note about the effect of common + symbols. + +2018-02-03 Sandra Loosemore + + * emulparams/nios2elf.sh (GENERATE_SHLIB_SCRIPT): Don't set. + +2018-02-02 Maciej W. Rozycki + + * testsuite/ld-elf/shared.exp: Add $AFLAGS_PIC throughout to PIC + assembly builds where missing and remove `tic6x-*-*' XFAIL + markings accordingly. + +2018-02-01 Simon Marchi + + * ldexp.c (fold_name, exp_fold_tree_1): Avoid pointer arithmetic + on NULL pointer. + +2018-01-31 H.J. Lu + + * testsuite/ld-elf/pr21964-5.c (my_var): Mark as used. + +2018-01-31 Maciej W. Rozycki + + * testsuite/ld-elf/shared.exp: Fix a typo s/scrip/script/. + +2018-01-31 Maciej W. Rozycki + + * testsuite/ld-elf/comm-data.exp: Pass `-call_shared' to links + involving a shared library for `mips*vr4100*-*-elf*', + `mips*vr4300*-*-elf*' and `mips*vr5000*-*-elf*' targets. + * testsuite/ld-elf/provide-hidden.exp: Likewise. + * testsuite/ld-elf/shared.exp: Likewise. + * testsuite/ld-gc/gc.exp: Likewise. + * testsuite/ld-mips-elf/comm-data.exp: Likewise. + +2018-01-31 Maciej W. Rozycki + + * testsuite/ld-elf/elf.exp: Move shared library tests over to... + * testsuite/ld-elf/shared.exp: ... here. + +2018-01-31 Michael Matz + + * testsuite/ld-elf/pr21964-5.c: New test. + * testsuite/ld-elf/shared.exp: Run it. + +2018-01-31 H.J. Lu + + PR ld/21964 + * testsuite/ld-elf/pr21964-4.c: New file. + * testsuite/ld-elf/shared.exp: Run pr21964-4 test on Linux. + +2018-01-30 Alan Modra + + * testsuite/ld-gc/stop.d, + * testsuite/ld-gc/stop.s: New test. + * testsuite/ld-gc/gc.exp: Run it. + +2018-01-30 Maciej W. Rozycki + + PR ld/22649 + * testsuite/ld-elf/pr22649-2ab-mips.msg: New stderr output. + * testsuite/ld-elf/pr22649-2cd-mips.msg: New stderr output. + * testsuite/ld-elf/shared.exp: Use the new outputs with + `mips*-*-*' targets. + +2018-01-30 Maciej W. Rozycki + + * testsuite/ld-elf/comm-data1.sd: Alternatively accept + `PRC[0xff02]' in place of a regular section index. + * testsuite/ld-elf/pr21703-shared.sd: Likewise `PRC[0xff01]'. + +2018-01-29 Alan Modra + + * testsuite/ld-elf/pr21964-3a.c: New file. + * testsuite/ld-elf/pr21964-3c.c: New file. + * testsuite/ld-elf/shared.exp: Run new __start/__stop testcase. + +2018-01-29 Eric Botcazou + + * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Define on SPARC. + (pr22269-1): Pass AFLAGS_PIC to the assembler. + +2018-01-29 Eric Botcazou + + * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64. + +2018-01-29 Maciej W. Rozycki + + * testsuite/ld-mips-elf/comm-data.exp: Correct support for + targets using non-traditional MIPS emulation or having a limited + selection of ABIs available. Don't force big endianness, use + defaults. + +2018-01-29 H.J. Lu + + PR ld/22732 + * testsuite/config/default.exp (STATIC_LDFLAGS): New. Set to + "-static" if target compiler supports it. + * testsuite/ld-bootstrap/bootstrap.exp: Skip static executable + tests if target compiler doesn't support it. + * testsuite/ld-ifunc/ifunc.exp: Likewise. + * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise. + (run_cc_link_tests): Likewise. + +2018-01-27 H.J. Lu + + PR ld/22751 + * testsuite/config/default.exp (INT128_CFLAGS): New. + * testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New. + Run ld/22751 tests. + * testsuite/ld-plugin/pr22751.c: New file. + * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add + ld trailing options. + +2018-01-28 Alan Modra + + PR 22751 + * ldlang.c (find_rescan_insertion): Look past bfds with claim_archive + set. + +2018-01-26 Maciej W. Rozycki + + * emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to + `mipself'. + +2018-01-25 Eric Botcazou + + * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library): + Link with a version script. + (32-bit: TLS -fpie): New test. + (64-bit: Helper shared library): Link with a version script. + (64-bit: TLS -fpie): New test. + (64-bit: GOTDATA relocations): Pass -Av9 to the assembler. + * testsuite/ld-sparc/tlslib.ver: New file. + * testsuite/ld-sparc/tlspie32.dd: Likewise. + * testsuite/ld-sparc/tlspie32.s: Likewise. + * testsuite/ld-sparc/tlspie64.dd: Likewise. + * testsuite/ld-sparc/tlspie64.s: Likewise. + * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol. + * testsuite/ld-sparc/tlssunbin32.rd: Likewise. + * testsuite/ld-sparc/tlssunbin32.sd: Likewise. + * testsuite/ld-sparc/tlssunbin64.dd: Likewise. + * testsuite/ld-sparc/tlssunbin64.rd: Likewise. + * testsuite/ld-sparc/tlssunbin64.sd: Likewise. + +2018-01-24 Renlin Li + + * testsuite/ld-aarch64/aarch64-elf.exp: Run new testes. + * testsuite/ld-aarch64/emit-relocs-287.s: Fix test case. + * testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output. + * testsuite/ld-aarch64/emit-relocs-287-overflow.s: New. + * testsuite/ld-aarch64/emit-relocs-287-overflow.d: New. + * testsuite/ld-aarch64/emit-relocs-288.d: New. + * testsuite/ld-aarch64/emit-relocs-288.s: New. + * testsuite/ld-aarch64/emit-relocs-289.d: New. + * testsuite/ld-aarch64/emit-relocs-289.s: New. + * testsuite/ld-aarch64/emit-relocs-289-overflow.s: New. + * testsuite/ld-aarch64/emit-relocs-289-overflow.d: New. + * testsuite/ld-aarch64/emit-relocs-290.d: New. + * testsuite/ld-aarch64/emit-relocs-290.s: New. + * testsuite/ld-aarch64/emit-relocs-291.d: New. + * testsuite/ld-aarch64/emit-relocs-291.s: New. + * testsuite/ld-aarch64/emit-relocs-291-overflow.s: New. + * testsuite/ld-aarch64/emit-relocs-291-overflow.d: New. + * testsuite/ld-aarch64/emit-relocs-292.d: New. + * testsuite/ld-aarch64/emit-relocs-292.s: New. + * testsuite/ld-aarch64/emit-relocs-293.d: New. + * testsuite/ld-aarch64/emit-relocs-293.s: New. + +2018-01-20 H.J. Lu + + PR ld/22721 + * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests. + * testsuite/ld-plugin/pr22721.t: New file. + * testsuite/ld-plugin/pr22721a.s: Likewise. + * testsuite/ld-plugin/pr22721b.c: Likewise. + +2018-01-18 H.J. Lu + + * testsuite/ld-elf/group1.d: Also xfail Solaris. + +2018-01-18 H.J. Lu + + * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different + PLT/GOT order/layout for Solaris/x86 targets. + * testsuite/ld-elf/linkinfo1b.d: Likewise. + +2018-01-18 H.J. Lu + + PR ld/22728 + * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold + into ... + (elf_solaris2_before_allocation): This. + (LDEMUL_AFTER_ALLOCATION): Removed. + +2018-01-18 Alan Modra + + * emultempl/ppc32elf.em: Support optional --plt-align arg. + * emultempl/ppc64elf.em: Support negative --plt-align arg. + +2018-01-17 Alan Modra + + * emultempl/ppc32elf.em (params): Init new field. + (OPTION_SPECULATE_INDIRECT_JUMPS): Define. + (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define. + (PARSE_AND_LIST_LONGOPTS): Handle new options. + (PARSE_AND_LIST_ARGS_CASES): Likewise. + (PARSE_AND_LIST_OPTIONS): Likewise. + * emultempl/ppc64elf.em (params): Init new field. + (OPTION_SPECULATE_INDIRECT_JUMPS): Define. + (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define. + (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps. + (PARSE_AND_LIST_OPTIONS): Likewise. + (PARSE_AND_LIST_ARGS_CASES): Likewise. + * ld.texinfo (--no-plt-thread-safe): Correct itemx. + (--speculate-indirect-jumps): Document. + * testsuite/ld-powerpc/elfv2exe.d, + * testsuite/ld-powerpc/elfv2so.d, + * testsuite/ld-powerpc/relbrlt.d, + * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and + speculation barriers on various tests. + +2018-01-17 Alan Modra + + * emultempl/ppc32elf.em (params): Init new field. + (enum ppc32_opt): New enum to define OPTION_* values. Add + OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN. + (PARSE_AND_LIST_LONGOPTS): Handle new options. + (PARSE_AND_LIST_ARGS_CASES): Likewise. + (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output. + * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment + correctly for negative --plt-stub-align. + * testsuite/ld-powerpc/elfv2exe.d, + * testsuite/ld-powerpc/elfv2so.d, + * testsuite/ld-powerpc/relbrlt.d, + * testsuite/ld-powerpc/relbrlt.s, + * testsuite/ld-powerpc/tlsexe.d, + * testsuite/ld-powerpc/tlsexe.r, + * testsuite/ld-powerpc/tlsexe32.d, + * testsuite/ld-powerpc/tlsexe32.g, + * testsuite/ld-powerpc/tlsexe32.r, + * testsuite/ld-powerpc/tlsexetoc.d, + * testsuite/ld-powerpc/tlsexetoc.r, + * testsuite/ld-powerpc/tlsopt5_32.d, + * testsuite/ld-powerpc/tlsso.d, + * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order. + +2018-01-16 Nick Clifton + + * po/pt_BR.po: Updated Brazilian Portuguese translation. + +2018-01-15 Nick Clifton + + * po/uk.po: Updated Ukranian translation. + +2018-01-13 Nick Clifton + + * po/ld.pot: Regenerated. + +2018-01-13 Nick Clifton + + * configure: Regenerate. + +2018-01-13 Nick Clifton + + 2.30 branch created. + * NEWS: Add marker for 2.30. + +2018-01-12 Alan Modra + + * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer + initialization" for currently failing targets. + +2018-01-12 Alan Modra + + PR ld/22649 + * testsuite/ld-elf/pr22649.msg: Allow other messages. + * testsuite/ld-elf/shared.exp: Check that --gc-sections is + supported before running ld/22649 tests. + +2018-01-12 Nick Clifton + + * emultempl/elf32.em (_handle_option): Add support for "-z undefs" + as the opposite of "-z defs". + * ld.texinfo: Document the new option. Update the description of + the -z defs option to make it clear that it does generate an error + if an undefined symbol reference is found in an object file whilst + creating a shared library. + * NEWS: Document this new feature. + +2018-01-11 H.J. Lu + + * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with + "-z separate-code". + * testsuite/ld-elf/pr22393-2b.rd: Likewise. + * testsuite/ld-x86-64/pr22393-3a.rd: Likewise. + * testsuite/ld-x86-64/pr22393-3b.rd: Likewise. + +2018-01-11 H.J. Lu + + PR ld/22393 + * testsuite/ld-x86-64/pr22393-3a.c: New file. + * testsuite/ld-x86-64/pr22393-3a.rd: Likewise. + * testsuite/ld-x86-64/pr22393-3b.c: Likewise. + * testsuite/ld-x86-64/pr22393-3b.rd: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code + -z max-page-size=0x1000. + +2018-01-11 H.J. Lu + + PR ld/22393 + * testsuite/ld-elf/pr16322.d: Add -z noseparate-code. + * testsuite/ld-elf/pr22393-1.s: New file. + * testsuite/ld-elf/pr22393-1a.d: Likewise. + * testsuite/ld-elf/pr22393-1b.d: Likewise. + * testsuite/ld-elf/pr22393-1c.d: Likewise. + * testsuite/ld-elf/pr22393-1d.d: Likewise. + * testsuite/ld-elf/pr22393-1e.d: Likewise. + * testsuite/ld-elf/pr22393-1f.d: Likewise. + * testsuite/ld-elf/pr22393-2a.c: Likewise. + * testsuite/ld-elf/pr22393-2a.rd: Likewise. + * testsuite/ld-elf/pr22393-2b.c: Likewise. + * testsuite/ld-elf/pr22393-2b.rd: Likewise. + * testsuite/ld-elf/shared.exp: Run tests for -z separate-code. + +2018-01-11 H.J. Lu + + PR ld/22393 + * NEWS: Mention "-z separate-code". + * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get + builtin linker scripts and return linker scripts from disk for + "-z separate-code". + (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code" + and "-z noseparate-code". + * genscripts.sh: Generate linker scripts for "-z separate-code". + (LD_FLAG): Set to *textonly for "-z separate-code". + * ld.texinfo: Document "-z separate-code". + * lexsup.c (elf_shlib_list_options): Add linker help messsages + for "-z separate-code" and "-z noseparate-code". + * scripttempl/elf.sc (SEPARATE_TEXT): New + (TEXT_SEGMENT_ALIGN): Likewise. + Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to + ${MAXPAGESIZE}. + +2018-01-11 H.J. Lu + + PR ld/22649 + * testsuite/ld-elf/pr22649-1.s: New file. + * testsuite/ld-elf/pr22649-2a.s: Likewise. + * testsuite/ld-elf/pr22649-2b.s: Likewise. + * testsuite/ld-elf/pr22649.msg: Likewise. + * testsuite/ld-elf/shared.exp: Run ld/22649 tests. + +2018-01-11 H.J. Lu + + PR ld/22677 + * scripttempl/elf.sc (PREINIT_ARRAY): New. + Don't add .preinit_array for ld -r. + * testsuite/ld-elf/pr22677.d: New file. + * testsuite/ld-elf/pr22677.s: Likewise. + +2018-01-11 Andrew Burgess + + * ldexp.h (union etree_union): Remove defsym field. + * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym + parameter. + (exp_assign): Remove passing of defsym parameter. + (exp_defsym): Likewise. + (exp_provide): Likewise. + +2018-01-11 Andrew Burgess + + * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide + nodes are ignored in the tree walk, and move the location at which + we change provide nodes into provided nodes. + (exp_init_os): Add etree_provided. + * testsuite/ld-scripts/provide-6.d: New file. + * testsuite/ld-scripts/provide-6.t: New file. + * testsuite/ld-scripts/provide-7.d: New file. + * testsuite/ld-scripts/provide-7.t: New file. + * testsuite/ld-scripts/provide-8.d: New file. + * testsuite/ld-scripts/provide-8.t: New file. + +2018-01-11 Andrew Burgess + + * testsuite/ld-scripts/provide-3.d: Add xfail directive. + * testsuite/ld-scripts/provide-4.d: Use new map file name. + * testsuite/ld-scripts/provide-5.d: Use new map file name. + * testsuite/ld-scripts/provide-4-map.d: Renamed to... + * testsuite/ld-scripts/provide-4.map: ...this. + * testsuite/ld-scripts/provide-5-map.d: Renamed to... + * testsuite/ld-scripts/provide-5.map: ...this. + * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d + file, and run tests in a loop. + +2018-01-11 Andrew Burgess + + * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing + PROVIDE statements. + * testsuite/ld-scripts/provide-4.map: Update expected output. + * testsuite/ld-scripts/provide-5.map: Likewise. + +2018-01-11 H.J. Lu + + PR ld/22696 + * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR. + +2018-01-09 Jim Wilson + + * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete + (#alltargets): Renamed from #target. Add shared. + * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target. + Document alltargets option. Add support for alltargets option. + (istarget): Add support for shared target. + +2018-01-08 Jim Wilson + + * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start + instead of .text. + * testsuite/ld-riscv-elf/c-lui.s: Add _start label. + * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$ + tests, add call to check_shared_lib_support. + +2018-01-05 Jim Wilson + + * testsuite/ld-riscv-elf/disas-jalr.d: New. + * testsuite/ld-riscv-elf/disas-jalr.s: New. + * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase. + + * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside + case on $target, and don't set for riscv*-elf targets. + (GENERATE_PIE_SCRIPT): Likewise. + +2018-01-03 Alan Modra + + Update year range in copyright notice of all files. + +For older changes see ChangeLog-2017 + +Copyright (C) 2018 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 4fa14fdb26..c2900e0b00 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,2542 +1,6 @@ -2018-12-28 Alan Modra - - PR 24028 - * ppc-dis.c (print_insn_powerpc): Replace PPC_INT_FMT uses with - PRId64/PRIx64. - -2018-12-18 Alan Modra - - * arm-dis.c: Include bfd.h. - * aarch64-opc.c: Include bfd_stdint.h rather than stdint.h. - * csky-dis.c: Likewise. - * nds32-asm.c: Likewise. - * riscv-dis.c: Likewise. - * s12z-dis.c: Likewise. - * wasm32-dis.c: Likewise. - -2018-12-07 Jim Wilson - - PR gas/23956 - * riscv-opc.c (riscv_opcodes) <"add">: Use 1 not 0 for fourth arg. - -2018-12-06 Andrew Burgess - - * configure.ac (enable-cgen-maint): Support passing path to cgen - source tree. - * configure: Regenerate. - -2018-12-06 Andrew Burgess - - * disassembler.c (disassemble_init_for_target): Add RISC-V - initialisation. - * riscv-dis.c (riscv_symbol_is_valid): New function. - -2018-12-03 Kito Cheng - - * riscv-opc.c: Change the type of xlen, because type of - xlen_requirement changed. - -2018-12-03 Egeyar Bagcioglu - - PR 23193 - PR 19721 - * aarch64-tbl.h (aarch64_opcode_table): Only disassemble an ORR - encoding as MOV if the shift operation is a left shift of zero. - -2018-11-29 Jim Wilson - - * riscv-opc.c (unimp): Mark compressed unimp as INSN_ALIAS. - (c.unimp): New. - -2018-11-27 Jim Wilson - - * riscv-opc.c (ciw): Fix whitespace to align columns. - (ca): New. - -2018-11-21 John Darrington - - * s12z-dis.c (print_insn_shift) [SB_REG_REG_N]: Enter special case - if the postbyte matches the appropriate pattern. - -2018-11-13 Francois H. Theron - - * nfp-dis.c: Fix crc[] disassembly if operands are swapped. - -2018-11-12 Sudakshina Das - - * aarch64-opc.c (aarch64_sys_regs_dc): New entries for - IGVAC, IGSW, CGSW, CIGSW, CGVAC, CGVAP, CGVADP, CIGVAC, GVA, - IGDVAC, IGDSW, CGDSW, CIGDSW, CGDVAC, CGDVAP, CGDVADP, - CIGDVAC and GZVA. - (aarch64_sys_ins_reg_supported_p): New check for above. - -2018-11-12 Sudakshina Das - - * aarch64-opc.c (aarch64_sys_regs): New entries for TCO, - TFSRE0_SL1, TFSR_EL1, TFSR_EL2, TFSR_EL3, TFSR_EL12, - RGSR_EL1 and GCR_EL1. - (aarch64_sys_reg_supported_p): New check for above. - (aarch64_pstatefields): New entry for TCO. - (aarch64_pstatefield_supported_p): New check for above. - -2018-11-12 Sudakshina Das - - * aarch64-asm.c (aarch64_ins_addr_simple_2): New. - * aarch64-asm.h (ins_addr_simple_2): Declare the above. - * aarch64-dis.c (aarch64_ext_addr_simple_2): New. - * aarch64-dis.h (ext_addr_simple_2): Declare the above. - * aarch64-opc.c (operand_general_constraint_met_p): Add case for - AARCH64_OPND_ADDR_SIMPLE_2 and ldstgv_indexed. - (aarch64_print_operand): Add case for AARCH64_OPND_ADDR_SIMPLE_2. - * aarch64-tbl.h (aarch64_opcode_table): Add stgv and ldgv. - (AARCH64_OPERANDS): Define ADDR_SIMPLE_2. - * aarch64-asm-2.c: Regenerated. - * aarch64-dis-2.c: Regenerated. - * aarch64-opc-2.c: Regenerated. - -2018-11-12 Sudakshina Das - - * aarch64-tbl.h (QL_LDG): New. - (aarch64_opcode_table): Add ldg. - * aarch64-asm-2.c: Regenerated. - * aarch64-dis-2.c: Regenerated. - * aarch64-opc-2.c: Regenerated. - -2018-11-12 Sudakshina Das - - * aarch64-opc.c (aarch64_opnd_qualifiers): Add new data - for AARCH64_OPND_QLF_imm_tag. - (operand_general_constraint_met_p): Add case for - AARCH64_OPND_ADDR_SIMM11 and AARCH64_OPND_ADDR_SIMM13. - (aarch64_print_operand): Likewise. - * aarch64-tbl.h (QL_LDST_AT, QL_STGP): New. - (aarch64_opcode_table): Add stg, stzg, st2g, stz2g and stgp - for both offset and pre/post indexed versions. - (AARCH64_OPERANDS): Define ADDR_SIMM11 and ADDR_SIMM13. - * aarch64-asm-2.c: Regenerated. - * aarch64-dis-2.c: Regenerated. - * aarch64-opc-2.c: Regenerated. - -2018-11-12 Sudakshina Das - - * aarch64-tbl.h (aarch64_opcode_table): Add subp, subps and cmpp. - * aarch64-asm-2.c: Regenerated. - * aarch64-dis-2.c: Regenerated. - * aarch64-opc-2.c: Regenerated. - -2018-11-12 Sudakshina Das - - * aarch64-opc.h (aarch64_field_kind): New FLD_imm4_3. - (OPD_F_SHIFT_BY_4, operand_need_shift_by_four): New. - * aarch64-opc.c (fields): Add entry for imm4_3. - (operand_general_constraint_met_p): Add cases for - AARCH64_OPND_UIMM4_ADDG and AARCH64_OPND_UIMM10. - (aarch64_print_operand): Likewise. - * aarch64-tbl.h (QL_ADDG): New. - (aarch64_opcode_table): Add addg, subg, irg and gmi. - (AARCH64_OPERANDS): Define UIMM4_ADDG and UIMM10. - * aarch64-asm.c (aarch64_ins_imm): Add case for - operand_need_shift_by_four. - * aarch64-asm-2.c: Regenerated. - * aarch64-dis-2.c: Regenerated. - * aarch64-opc-2.c: Regenerated. - -2018-11-12 Sudakshina Das - - * aarch64-tbl.h (aarch64_feature_memtag): New. - (MEMTAG, MEMTAG_INSN): New. - -2018-11-06 Sudakshina Das - - * arm-dis.c (select_arm_features): Update bfd_mach_arm_8 - with Armv8.5-A. Remove reduntant ARM_EXT2_FP16_FML. - -2018-11-06 Alan Modra - - * ppc-opc.c (insert_arx, insert_ary, insert_rx, insert_ry, insert_ls), - (insert_evuimm1_ex0, insert_evuimm2_ex0, insert_evuimm4_ex0), - (insert_evuimm8_ex0, insert_evuimm_lt8, insert_evuimm_lt16), - (insert_rD_rS_even, insert_off_lsp, insert_off_spe2, insert_Ddd): - Don't return zero on error, insert mask bits instead. - (insert_sd4h, extract_sd4h, insert_sd4w, extract_sd4w): Delete. - (insert_sh6, extract_sh6): Delete dead code. - (insert_sprbat, insert_sprg): Use unsigned comparisions. - (powerpc_operands ): Set shift count rather than using - PPC_OPSHIFT_INV. - : Likewise. Don't use insert/extract functions. - -2018-11-06 Jan Beulich - - * i386-dis-evex.h (evex_table): Use K suffix instead of %LW for - vpbroadcast{d,q} with GPR operand. - -2018-11-06 Jan Beulich - - * i386-dis.c (EVEX_W_0F6E_P_2, EVEX_W_0F7E_P_2): Delete. - * i386-dis-evex.h (evex_table): Move vmov[dq} with GPR operand - cases up one level in the hierarchy. - -2018-11-06 Jan Beulich - - * i386-dis.c (MOD_VEX_W_0_0F92_P_3_LEN_0, - MOD_VEX_W_1_0F92_P_3_LEN_0): Fold into MOD_VEX_0F92_P_3_LEN_0. - (MOD_VEX_W_0_0F93_P_3_LEN_0, MOD_VEX_W_1_0F93_P_3_LEN_0): Fold - into MOD_VEX_0F93_P_3_LEN_0. - (vex_len_table, vex_w_table, mod_table): Move kmov[dq} with GPR - operand cases up one level in the hierarchy. - -2018-11-06 Jan Beulich - - * i386-dis.c (VEX_W_0FC4_P_2, VEX_W_0FC5_P_2, VEX_W_0F3A14_P_2, - VEX_W_0F3A15_P_2, VEX_W_0F3A20_P_2, EVEX_W_0F3A16_P_2, - EVEX_W_0F3A22_P_2): Delete. - (vex_len_table, vex_w_table): Move vpextr{b,w} and vpinsr{b,w} - entries up one level in the hierarchy. - (OP_E_memory): Handle dq_mode when determining Disp8 shift - value. - * i386-dis-evex.h (evex_table): Move vpextr{d,q} and vpinsr{d,q} - entries up one level in the hierarchy. - * i386-opc.tbl (vpextrb, vpextrw, vpinsrb, vpinsrw): Change to - VexWIG for AVX flavors. - * i386-tbl.h: Re-generate. - -2018-11-06 Jan Beulich - - * i386-opc.tbl (vcvtsi2sd, vcvtsi2ss, vmovd, vpcmpestri, - vpcmpestrm, vpextrd, vpinsrd, vpbroadcastd, vcvtusi2sd, - vcvtusi2ss, kmovd): Drop VexW=1. - * i386-tbl.h: Re-generate. - -2018-11-06 Jan Beulich - - * i386-opc.tbl (Vex128, Vex256, VexLIG, EVex128, EVex256, - EVex512, EVexLIG, EVexDYN): New. - (ldmxcsr, stmxcsr, vldmxcsr, vstmxcsr, all BMI, BMI2, and TBM - insns): Use Vex128 instead of Vex=3 (aka VexLIG). - (vextractps, vinsertps, vpextr*, vpinsr*): Use EVex128 instead - of EVex=4 (aka EVexLIG). - * i386-tbl.h: Re-generate. - -2018-11-06 Jan Beulich - - * i386-opc.tbl (pextrw, vpextrw): Add Load to 0F C5 forms. - (vpmaxub): Re-order attributes on AVX512BW flavor. - * i386-tbl.h: Re-generate. - -2018-11-06 Jan Beulich - - * i386-opc.tbl (vandnp*, vandp*, vcmp*, vcvtss2sd, vorp*, - vpmaxub, vmovntdqa, vmpsadbw, vphsub*): Use VexWIG instead of - Vex=1 on AVX / AVX2 flavors. - (vpmaxub): Re-order attributes on AVX512BW flavor. - * i386-tbl.h: Re-generate. - -2018-11-06 Jan Beulich - - * i386-opc.tbl (VexW0, VexW1): New. - (vphadd*, vphsub*): Use VexW0 on XOP variants. - * i386-tbl.h: Re-generate. - -2018-10-22 John Darrington - - * s12z-dis.c (decode_possible_symbol): Add fallback case. - (rel_15_7): Likewise. - -2018-10-19 Tamar Christina - - * arm-dis.c (UNKNOWN_INSTRUCTION_32BIT): Format specifier for arm mode. - (UNKNOWN_INSTRUCTION_16BIT): Format specifier for thumb mode. - (print_insn_arm, print_insn_thumb16, print_insn_thumb32): Use them. - -2018-10-16 Matthew Malcomson - - * aarch64-opc.c (struct operand_qualifier_data): Change qualifier data - corresponding to AARCH64_OPND_QLF_S_4B qualifier. - -2018-10-10 Jan Beulich - - * i386-gen.c (opcode_modifiers): Drop Size16, Size32, and - Size64. Add Size. - * i386-opc.h (Size16, Size32, Size64): Delete. - (Size): New. - (SIZE16, SIZE32, SIZE64): Define. - (struct i386_opcode_modifier): Drop size16, size32, and size64. - Add size. - * i386-opc.tbl (Size16, Size32, Size64): Define. - * i386-tbl.h: Re-generate. - -2018-10-09 Sudakshina Das - - * aarch64-opc.c (operand_general_constraint_met_p): Add - SSBS in the check for one-bit immediate. - (aarch64_sys_regs): New entry for SSBS. - (aarch64_sys_reg_supported_p): New check for above. - (aarch64_pstatefields): New entry for SSBS. - (aarch64_pstatefield_supported_p): New check for above. - -2018-10-09 Sudakshina Das - - * aarch64-opc.c (aarch64_sys_regs): New entries for - scxtnum_el[0,1,2,3,12] and id_pfr2_el1. - (aarch64_sys_reg_supported_p): New checks for above. - -2018-10-09 Sudakshina Das - - * aarch64-opc.h (HINT_OPD_NOPRINT, HINT_ENCODE): New. - (HINT_FLAG, HINT_VALUE): New macros to encode NO_PRINT flag - with the hint immediate. - * aarch64-opc.c (aarch64_hint_options): New entries for - c, j, jc and default (with HINT_OPD_F_NOPRINT flag) for BTI. - (aarch64_print_operand): Add case for AARCH64_OPND_BTI_TARGET - while checking for HINT_OPD_F_NOPRINT flag. - * aarch64-dis.c (aarch64_ext_hint): Use new HINT_VALUE to - extract value. - * aarch64-tbl.h (aarch64_feature_bti, BTI, BTI_INSN): New. - (aarch64_opcode_table): Add entry for BTI. - (AARCH64_OPERANDS): Add new description for BTI targets. - * aarch64-asm-2.c: Regenerate. - * aarch64-dis-2.c: Regenerate. - * aarch64-opc-2.c: Regenerate. - -2018-10-09 Sudakshina Das - - * aarch64-opc.c (aarch64_sys_regs): New entries for - rndr and rndrrs. - (aarch64_sys_reg_supported_p): New check for above. - -2018-10-09 Sudakshina Das - - * aarch64-opc.c (aarch64_sys_regs_dc): New entry for cvadp. - (aarch64_sys_ins_reg_supported_p): New check for above. - -2018-10-09 Sudakshina Das - - * aarch64-dis.c (aarch64_ext_sysins_op): Add case for - AARCH64_OPND_SYSREG_SR. - * aarch64-opc.c (aarch64_print_operand): Likewise. - (aarch64_sys_regs_sr): Define table. - (aarch64_sys_ins_reg_supported_p): Check for RCTX with - AARCH64_FEATURE_PREDRES. - * aarch64-tbl.h (aarch64_feature_predres): New. - (PREDRES, PREDRES_INSN): New. - (aarch64_opcode_table): Add entries for cfp, dvp and cpp. - (AARCH64_OPERANDS): Add new description for SYSREG_SR. - * aarch64-asm-2.c: Regenerate. - * aarch64-dis-2.c: Regenerate. - * aarch64-opc-2.c: Regenerate. - -2018-10-09 Sudakshina Das - - * aarch64-tbl.h (aarch64_feature_sb): New. - (SB, SB_INSN): New. - (aarch64_opcode_table): Add entry for sb. - * aarch64-asm-2.c: Regenerate. - * aarch64-dis-2.c: Regenerate. - * aarch64-opc-2.c: Regenerate. - -2018-10-09 Sudakshina Das - - * aarch64-tbl.h (aarch64_feature_flagmanip): New. - (aarch64_feature_frintts): New. - (FLAGMANIP, FRINTTS): New. - (aarch64_opcode_table): Add entries for xaflag, axflag - and frint[32,64][x,z] instructions. - * aarch64-asm-2.c: Regenerate. - * aarch64-dis-2.c: Regenerate. - * aarch64-opc-2.c: Regenerate. - -2018-10-09 Sudakshina Das - - * aarch64-tbl.h (aarch64_feature_set aarch64_feature_v8_5): New. - (ARMV8_5, V8_5_INSN): New. - -2018-10-08 Tamar Christina - - * aarch64-opc.c (verify_constraints): Use memset instead of {0}. - -2018-10-05 H.J. Lu - - * i386-dis.c (rm_table): Add enclv. - * i386-opc.tbl: Add enclv. - * i386-tbl.h: Regenerated. - -2018-10-05 Sudakshina Das - - * arm-dis.c (arm_opcodes): Add sb. - (thumb32_opcodes): Likewise. - -2018-10-05 Richard Henderson - Stafford Horne - - * or1k-desc.c: Regenerate. - * or1k-desc.h: Regenerate. - * or1k-opc.c: Regenerate. - * or1k-opc.h: Regenerate. - * or1k-opinst.c: Regenerate. - -2018-10-05 Richard Henderson - - * or1k-asm.c: Regenerated. - * or1k-desc.c: Regenerated. - * or1k-desc.h: Regenerated. - * or1k-dis.c: Regenerated. - * or1k-ibld.c: Regenerated. - * or1k-opc.c: Regenerated. - * or1k-opc.h: Regenerated. - * or1k-opinst.c: Regenerated. - -2018-10-05 Richard Henderson - - * or1k-asm.c: Regenerate. - -2018-10-03 Tamar Christina - - * aarch64-asm.c (aarch64_opcode_encode): Apply constraint verifier. - * aarch64-dis.c (print_operands): Refactor to take notes. - (print_verifier_notes): New. - (print_aarch64_insn): Apply constraint verifier. - (print_insn_aarch64_word): Update call to print_aarch64_insn. - * aarch64-opc.c (aarch64_print_operand): Remove attribute, update notes format. - -2018-10-03 Tamar Christina - - * aarch64-opc.c (init_insn_block): New. - (verify_constraints, aarch64_is_destructive_by_operands): New. - * aarch64-opc.h (verify_constraints): New. - -2018-10-03 Tamar Christina - - * aarch64-dis.c (aarch64_opcode_decode): Update verifier call. - * aarch64-opc.c (verify_ldpsw): Update arguments. - -2018-10-03 Tamar Christina - - * aarch64-dis.c (ERR_OK, ERR_UND, ERR_UNP, ERR_NYI): Remove. - (aarch64_decode_insn, print_insn_aarch64_word): Use err_type. - -2018-10-03 Tamar Christina - - * aarch64-asm.c (aarch64_opcode_encode): Add insn_sequence. - * aarch64-dis.c (insn_sequence): New. - -2018-10-03 Tamar Christina - - * aarch64-tbl.h (CORE_INSN, __FP_INSN, SIMD_INSN, CRYP_INSN, _CRC_INSN, - _LSE_INSN, _LOR_INSN, RDMA_INSN, FF16_INSN, SF16_INSN, V8_2_INSN, - _SVE_INSN, V8_3_INSN, CNUM_INSN, RCPC_INSN, SHA2_INSN, AES_INSN, - V8_4_INSN, SHA3_INSN, SM4_INSN, FP16_V8_2_INSN, DOT_INSN): Initialize - constraints. - (_SVE_INSNC): New. - (struct aarch64_opcode): (fjcvtzs, ldpsw, ldpsw, esb, psb): Initialize - constraints. - (movprfx): Change _SVE_INSN into _SVE_INSNC, add C_SCAN_MOVPRFX and - F_SCAN flags. - (msb, mul, neg, not, orr, rbit, revb, revh, revw, sabd, scvtf, - sdiv, sdivr, sdot, smax, smin, smulh, splice, sqadd, sqdecd, sqdech, - sqdecp, sqdecw, sqincd, sqinch, sqincp, sqincw, sqsub, sub, subr, sxtb, - sxth, sxtw, uabd, ucvtf, udiv, udivr, udot, umax, umin, umulh, uqadd, - uqdecd, uqdech, uqdecp, uqdecw, uqincd, uqinch, uqincp, uqincw, uqsub, - uxtb, uxth, uxtw, bic, eon, orn, mov, fmov): Change _SVE_INSN into _SVE_INSNC and add - C_SCAN_MOVPRFX and C_MAX_ELEM constraints. - -2018-10-02 Palmer Dabbelt - - * riscv-opc.c (riscv_opcodes) : New opcode. - -2018-09-23 Sandra Loosemore - - * nios2-dis.c (nios2_print_insn_arg): Make sure signed conversions - are used when extracting signed fields and converting them to - potentially 64-bit types. - -2018-09-21 Simon Marchi - - * Makefile.am: Remove NO_WMISSING_FIELD_INITIALIZERS. - * Makefile.in: Re-generate. - * aclocal.m4: Re-generate. - * configure: Re-generate. - * configure.ac: Remove check for -Wno-missing-field-initializers. - * csky-opc.h (csky_v1_opcodes): Initialize all fields of last element. - (csky_v2_opcodes): Likewise. - -2018-09-20 Maciej W. Rozycki - - * arc-nps400-tbl.h: Append `ull' to large constants throughout. - -2018-09-20 Nelson Chu - - * nds32-asm.c (operand_fields): Remove the unused fields. - (nds32_opcodes): Remove the unused instructions. - * nds32-dis.c (nds32_ex9_info): Removed. - (nds32_parse_opcode): Updated. - (print_insn_nds32): Likewise. - * nds32-asm.c (config.h, stdlib.h, string.h): New includes. - (LEX_SET_FIELD, LEX_GET_FIELD): Update defines. - (nds32_asm_init, build_operand_hash_table, build_keyword_hash_table, - build_opcode_hash_table): New functions. - (nds32_keyword_table, nds32_keyword_count_table, nds32_field_table, - nds32_opcode_table): New. - (hw_ktabs): Declare it to a pointer rather than an array. - (build_hash_table): Removed. - * nds32-asm.h (enum): Add SYN_INPUT, SYN_OUTPUT, SYN_LOPT, - SYN_ROPT and upadte HW_GPR and HW_INT. - * nds32-dis.c (keywords): Remove const. - (match_field): New function. - (nds32_parse_opcode): Updated. - * disassemble.c (disassemble_init_for_target): - Add disassemble_init_nds32. - * nds32-dis.c (eum map_type): New. - (nds32_private_data): Likewise. - (get_mapping_symbol_type, is_mapping_symbol, nds32_symbol_is_valid, - nds32_add_opcode_hash_table, disassemble_init_nds32): New functions. - (print_insn_nds32): Updated. - * nds32-asm.c (parse_aext_reg): Add new parameter. - (parse_re, parse_re2, parse_aext_reg): Only reduced registers - are allowed to use. - All callers changed. - * nds32-asm.c (keyword_usr, keyword_sr): Updated. - (operand_fields): Add new fields. - (nds32_opcodes): Add new instructions. - (keyword_aridxi_mx): New keyword. - * nds32-asm.h (enum): Add NASM_ATTR_DSP_ISAEXT, HW_AEXT_ARIDXI_MX - and NASM_ATTR_ZOL. - (ALU2_1, ALU2_2, ALU2_3): New macros. - * nds32-dis.c (nds32_filter_unknown_insn): Updated. - -2018-09-17 Kito Cheng - - * riscv-opc.c (riscv_opcodes): Adjust the order of ble and bleu. - -2018-09-17 H.J. Lu - - PR gas/23670 - * i386-dis-evex.h (evex_table): Use EVEX_LEN_0F6E_P_2, - EVEX_LEN_0F7E_P_1, EVEX_LEN_0F7E_P_2 and EVEX_LEN_0FD6_P_2. - (EVEX_LEN_0F6E_P_2): New EVEX_LEN_TABLE entry. - (EVEX_LEN_0F7E_P_1): Likewise. - (EVEX_LEN_0F7E_P_2): Likewise. - (EVEX_LEN_0FD6_P_2): Likewise. - * i386-dis.c (USE_EVEX_LEN_TABLE): New. - (EVEX_LEN_TABLE): Likewise. - (EVEX_LEN_0F6E_P_2): New enum. - (EVEX_LEN_0F7E_P_1): Likewise. - (EVEX_LEN_0F7E_P_2): Likewise. - (EVEX_LEN_0FD6_P_2): Likewise. - (evex_len_table): New. - (get_valid_dis386): Handle USE_EVEX_LEN_TABLE. - * i386-opc.tbl: Set EVex=2 on EVEX.128 only vmovd and vmovq. - * i386-tbl.h: Regenerated. - -2018-09-17 H.J. Lu - - PR gas/23665 - * i386-dis.c (vex_len_table): Update VEX_LEN_0F6E_P_2 and - VEX_LEN_0F7E_P_2 entries. - * i386-opc.tbl: Set Vex=1 on VEX.128 only vmovd and vmovq. - * i386-tbl.h: Regenerated. - -2018-09-17 H.J. Lu - - * i386-dis.c (VZERO_Fixup): Removed. - (VZERO): Likewise. - (VEX_LEN_0F10_P_1): Likewise. - (VEX_LEN_0F10_P_3): Likewise. - (VEX_LEN_0F11_P_1): Likewise. - (VEX_LEN_0F11_P_3): Likewise. - (VEX_LEN_0F2E_P_0): Likewise. - (VEX_LEN_0F2E_P_2): Likewise. - (VEX_LEN_0F2F_P_0): Likewise. - (VEX_LEN_0F2F_P_2): Likewise. - (VEX_LEN_0F51_P_1): Likewise. - (VEX_LEN_0F51_P_3): Likewise. - (VEX_LEN_0F52_P_1): Likewise. - (VEX_LEN_0F53_P_1): Likewise. - (VEX_LEN_0F58_P_1): Likewise. - (VEX_LEN_0F58_P_3): Likewise. - (VEX_LEN_0F59_P_1): Likewise. - (VEX_LEN_0F59_P_3): Likewise. - (VEX_LEN_0F5A_P_1): Likewise. - (VEX_LEN_0F5A_P_3): Likewise. - (VEX_LEN_0F5C_P_1): Likewise. - (VEX_LEN_0F5C_P_3): Likewise. - (VEX_LEN_0F5D_P_1): Likewise. - (VEX_LEN_0F5D_P_3): Likewise. - (VEX_LEN_0F5E_P_1): Likewise. - (VEX_LEN_0F5E_P_3): Likewise. - (VEX_LEN_0F5F_P_1): Likewise. - (VEX_LEN_0F5F_P_3): Likewise. - (VEX_LEN_0FC2_P_1): Likewise. - (VEX_LEN_0FC2_P_3): Likewise. - (VEX_LEN_0F3A0A_P_2): Likewise. - (VEX_LEN_0F3A0B_P_2): Likewise. - (VEX_W_0F10_P_0): Likewise. - (VEX_W_0F10_P_1): Likewise. - (VEX_W_0F10_P_2): Likewise. - (VEX_W_0F10_P_3): Likewise. - (VEX_W_0F11_P_0): Likewise. - (VEX_W_0F11_P_1): Likewise. - (VEX_W_0F11_P_2): Likewise. - (VEX_W_0F11_P_3): Likewise. - (VEX_W_0F12_P_0_M_0): Likewise. - (VEX_W_0F12_P_0_M_1): Likewise. - (VEX_W_0F12_P_1): Likewise. - (VEX_W_0F12_P_2): Likewise. - (VEX_W_0F12_P_3): Likewise. - (VEX_W_0F13_M_0): Likewise. - (VEX_W_0F14): Likewise. - (VEX_W_0F15): Likewise. - (VEX_W_0F16_P_0_M_0): Likewise. - (VEX_W_0F16_P_0_M_1): Likewise. - (VEX_W_0F16_P_1): Likewise. - (VEX_W_0F16_P_2): Likewise. - (VEX_W_0F17_M_0): Likewise. - (VEX_W_0F28): Likewise. - (VEX_W_0F29): Likewise. - (VEX_W_0F2B_M_0): Likewise. - (VEX_W_0F2E_P_0): Likewise. - (VEX_W_0F2E_P_2): Likewise. - (VEX_W_0F2F_P_0): Likewise. - (VEX_W_0F2F_P_2): Likewise. - (VEX_W_0F50_M_0): Likewise. - (VEX_W_0F51_P_0): Likewise. - (VEX_W_0F51_P_1): Likewise. - (VEX_W_0F51_P_2): Likewise. - (VEX_W_0F51_P_3): Likewise. - (VEX_W_0F52_P_0): Likewise. - (VEX_W_0F52_P_1): Likewise. - (VEX_W_0F53_P_0): Likewise. - (VEX_W_0F53_P_1): Likewise. - (VEX_W_0F58_P_0): Likewise. - (VEX_W_0F58_P_1): Likewise. - (VEX_W_0F58_P_2): Likewise. - (VEX_W_0F58_P_3): Likewise. - (VEX_W_0F59_P_0): Likewise. - (VEX_W_0F59_P_1): Likewise. - (VEX_W_0F59_P_2): Likewise. - (VEX_W_0F59_P_3): Likewise. - (VEX_W_0F5A_P_0): Likewise. - (VEX_W_0F5A_P_1): Likewise. - (VEX_W_0F5A_P_3): Likewise. - (VEX_W_0F5B_P_0): Likewise. - (VEX_W_0F5B_P_1): Likewise. - (VEX_W_0F5B_P_2): Likewise. - (VEX_W_0F5C_P_0): Likewise. - (VEX_W_0F5C_P_1): Likewise. - (VEX_W_0F5C_P_2): Likewise. - (VEX_W_0F5C_P_3): Likewise. - (VEX_W_0F5D_P_0): Likewise. - (VEX_W_0F5D_P_1): Likewise. - (VEX_W_0F5D_P_2): Likewise. - (VEX_W_0F5D_P_3): Likewise. - (VEX_W_0F5E_P_0): Likewise. - (VEX_W_0F5E_P_1): Likewise. - (VEX_W_0F5E_P_2): Likewise. - (VEX_W_0F5E_P_3): Likewise. - (VEX_W_0F5F_P_0): Likewise. - (VEX_W_0F5F_P_1): Likewise. - (VEX_W_0F5F_P_2): Likewise. - (VEX_W_0F5F_P_3): Likewise. - (VEX_W_0F60_P_2): Likewise. - (VEX_W_0F61_P_2): Likewise. - (VEX_W_0F62_P_2): Likewise. - (VEX_W_0F63_P_2): Likewise. - (VEX_W_0F64_P_2): Likewise. - (VEX_W_0F65_P_2): Likewise. - (VEX_W_0F66_P_2): Likewise. - (VEX_W_0F67_P_2): Likewise. - (VEX_W_0F68_P_2): Likewise. - (VEX_W_0F69_P_2): Likewise. - (VEX_W_0F6A_P_2): Likewise. - (VEX_W_0F6B_P_2): Likewise. - (VEX_W_0F6C_P_2): Likewise. - (VEX_W_0F6D_P_2): Likewise. - (VEX_W_0F6F_P_1): Likewise. - (VEX_W_0F6F_P_2): Likewise. - (VEX_W_0F70_P_1): Likewise. - (VEX_W_0F70_P_2): Likewise. - (VEX_W_0F70_P_3): Likewise. - (VEX_W_0F71_R_2_P_2): Likewise. - (VEX_W_0F71_R_4_P_2): Likewise. - (VEX_W_0F71_R_6_P_2): Likewise. - (VEX_W_0F72_R_2_P_2): Likewise. - (VEX_W_0F72_R_4_P_2): Likewise. - (VEX_W_0F72_R_6_P_2): Likewise. - (VEX_W_0F73_R_2_P_2): Likewise. - (VEX_W_0F73_R_3_P_2): Likewise. - (VEX_W_0F73_R_6_P_2): Likewise. - (VEX_W_0F73_R_7_P_2): Likewise. - (VEX_W_0F74_P_2): Likewise. - (VEX_W_0F75_P_2): Likewise. - (VEX_W_0F76_P_2): Likewise. - (VEX_W_0F77_P_0): Likewise. - (VEX_W_0F7C_P_2): Likewise. - (VEX_W_0F7C_P_3): Likewise. - (VEX_W_0F7D_P_2): Likewise. - (VEX_W_0F7D_P_3): Likewise. - (VEX_W_0F7E_P_1): Likewise. - (VEX_W_0F7F_P_1): Likewise. - (VEX_W_0F7F_P_2): Likewise. - (VEX_W_0FAE_R_2_M_0): Likewise. - (VEX_W_0FAE_R_3_M_0): Likewise. - (VEX_W_0FC2_P_0): Likewise. - (VEX_W_0FC2_P_1): Likewise. - (VEX_W_0FC2_P_2): Likewise. - (VEX_W_0FC2_P_3): Likewise. - (VEX_W_0FD0_P_2): Likewise. - (VEX_W_0FD0_P_3): Likewise. - (VEX_W_0FD1_P_2): Likewise. - (VEX_W_0FD2_P_2): Likewise. - (VEX_W_0FD3_P_2): Likewise. - (VEX_W_0FD4_P_2): Likewise. - (VEX_W_0FD5_P_2): Likewise. - (VEX_W_0FD6_P_2): Likewise. - (VEX_W_0FD7_P_2_M_1): Likewise. - (VEX_W_0FD8_P_2): Likewise. - (VEX_W_0FD9_P_2): Likewise. - (VEX_W_0FDA_P_2): Likewise. - (VEX_W_0FDB_P_2): Likewise. - (VEX_W_0FDC_P_2): Likewise. - (VEX_W_0FDD_P_2): Likewise. - (VEX_W_0FDE_P_2): Likewise. - (VEX_W_0FDF_P_2): Likewise. - (VEX_W_0FE0_P_2): Likewise. - (VEX_W_0FE1_P_2): Likewise. - (VEX_W_0FE2_P_2): Likewise. - (VEX_W_0FE3_P_2): Likewise. - (VEX_W_0FE4_P_2): Likewise. - (VEX_W_0FE5_P_2): Likewise. - (VEX_W_0FE6_P_1): Likewise. - (VEX_W_0FE6_P_2): Likewise. - (VEX_W_0FE6_P_3): Likewise. - (VEX_W_0FE7_P_2_M_0): Likewise. - (VEX_W_0FE8_P_2): Likewise. - (VEX_W_0FE9_P_2): Likewise. - (VEX_W_0FEA_P_2): Likewise. - (VEX_W_0FEB_P_2): Likewise. - (VEX_W_0FEC_P_2): Likewise. - (VEX_W_0FED_P_2): Likewise. - (VEX_W_0FEE_P_2): Likewise. - (VEX_W_0FEF_P_2): Likewise. - (VEX_W_0FF0_P_3_M_0): Likewise. - (VEX_W_0FF1_P_2): Likewise. - (VEX_W_0FF2_P_2): Likewise. - (VEX_W_0FF3_P_2): Likewise. - (VEX_W_0FF4_P_2): Likewise. - (VEX_W_0FF5_P_2): Likewise. - (VEX_W_0FF6_P_2): Likewise. - (VEX_W_0FF7_P_2): Likewise. - (VEX_W_0FF8_P_2): Likewise. - (VEX_W_0FF9_P_2): Likewise. - (VEX_W_0FFA_P_2): Likewise. - (VEX_W_0FFB_P_2): Likewise. - (VEX_W_0FFC_P_2): Likewise. - (VEX_W_0FFD_P_2): Likewise. - (VEX_W_0FFE_P_2): Likewise. - (VEX_W_0F3800_P_2): Likewise. - (VEX_W_0F3801_P_2): Likewise. - (VEX_W_0F3802_P_2): Likewise. - (VEX_W_0F3803_P_2): Likewise. - (VEX_W_0F3804_P_2): Likewise. - (VEX_W_0F3805_P_2): Likewise. - (VEX_W_0F3806_P_2): Likewise. - (VEX_W_0F3807_P_2): Likewise. - (VEX_W_0F3808_P_2): Likewise. - (VEX_W_0F3809_P_2): Likewise. - (VEX_W_0F380A_P_2): Likewise. - (VEX_W_0F380B_P_2): Likewise. - (VEX_W_0F3817_P_2): Likewise. - (VEX_W_0F381C_P_2): Likewise. - (VEX_W_0F381D_P_2): Likewise. - (VEX_W_0F381E_P_2): Likewise. - (VEX_W_0F3820_P_2): Likewise. - (VEX_W_0F3821_P_2): Likewise. - (VEX_W_0F3822_P_2): Likewise. - (VEX_W_0F3823_P_2): Likewise. - (VEX_W_0F3824_P_2): Likewise. - (VEX_W_0F3825_P_2): Likewise. - (VEX_W_0F3828_P_2): Likewise. - (VEX_W_0F3829_P_2): Likewise. - (VEX_W_0F382A_P_2_M_0): Likewise. - (VEX_W_0F382B_P_2): Likewise. - (VEX_W_0F3830_P_2): Likewise. - (VEX_W_0F3831_P_2): Likewise. - (VEX_W_0F3832_P_2): Likewise. - (VEX_W_0F3833_P_2): Likewise. - (VEX_W_0F3834_P_2): Likewise. - (VEX_W_0F3835_P_2): Likewise. - (VEX_W_0F3837_P_2): Likewise. - (VEX_W_0F3838_P_2): Likewise. - (VEX_W_0F3839_P_2): Likewise. - (VEX_W_0F383A_P_2): Likewise. - (VEX_W_0F383B_P_2): Likewise. - (VEX_W_0F383C_P_2): Likewise. - (VEX_W_0F383D_P_2): Likewise. - (VEX_W_0F383E_P_2): Likewise. - (VEX_W_0F383F_P_2): Likewise. - (VEX_W_0F3840_P_2): Likewise. - (VEX_W_0F3841_P_2): Likewise. - (VEX_W_0F38DB_P_2): Likewise. - (VEX_W_0F3A08_P_2): Likewise. - (VEX_W_0F3A09_P_2): Likewise. - (VEX_W_0F3A0A_P_2): Likewise. - (VEX_W_0F3A0B_P_2): Likewise. - (VEX_W_0F3A0C_P_2): Likewise. - (VEX_W_0F3A0D_P_2): Likewise. - (VEX_W_0F3A0E_P_2): Likewise. - (VEX_W_0F3A0F_P_2): Likewise. - (VEX_W_0F3A21_P_2): Likewise. - (VEX_W_0F3A40_P_2): Likewise. - (VEX_W_0F3A41_P_2): Likewise. - (VEX_W_0F3A42_P_2): Likewise. - (VEX_W_0F3A62_P_2): Likewise. - (VEX_W_0F3A63_P_2): Likewise. - (VEX_W_0F3ADF_P_2): Likewise. - (VEX_LEN_0F77_P_0): New. - (prefix_table): Update PREFIX_VEX_0F10, PREFIX_VEX_0F11, - PREFIX_VEX_0F12, PREFIX_VEX_0F16, PREFIX_VEX_0F2E, - PREFIX_VEX_0F2F, PREFIX_VEX_0F51, PREFIX_VEX_0F52, - PREFIX_VEX_0F53, PREFIX_VEX_0F58, PREFIX_VEX_0F59, - PREFIX_VEX_0F5A, PREFIX_VEX_0F5B, PREFIX_VEX_0F5C, - PREFIX_VEX_0F5D, PREFIX_VEX_0F5E, PREFIX_VEX_0F5F, - PREFIX_VEX_0F60, PREFIX_VEX_0F61, PREFIX_VEX_0F62, - PREFIX_VEX_0F63, PREFIX_VEX_0F64, PREFIX_VEX_0F65, - PREFIX_VEX_0F66, PREFIX_VEX_0F67, PREFIX_VEX_0F68, - PREFIX_VEX_0F69, PREFIX_VEX_0F6A, PREFIX_VEX_0F6B, - PREFIX_VEX_0F6C, PREFIX_VEX_0F6D, PREFIX_VEX_0F6F, - PREFIX_VEX_0F70, PREFIX_VEX_0F71_REG_2, PREFIX_VEX_0F71_REG_4, - PREFIX_VEX_0F71_REG_6, PREFIX_VEX_0F72_REG_4, - PREFIX_VEX_0F72_REG_6, PREFIX_VEX_0F73_REG_2, - PREFIX_VEX_0F73_REG_3, PREFIX_VEX_0F73_REG_6, - PREFIX_VEX_0F73_REG_7, PREFIX_VEX_0F74, PREFIX_VEX_0F75, - PREFIX_VEX_0F76, PREFIX_VEX_0F77, PREFIX_VEX_0F7C, - PREFIX_VEX_0F7D, PREFIX_VEX_0F7F, PREFIX_VEX_0FC2, - PREFIX_VEX_0FD0, PREFIX_VEX_0FD1, PREFIX_VEX_0FD2, - PREFIX_VEX_0FD3, PREFIX_VEX_0FD4, PREFIX_VEX_0FD5, - PREFIX_VEX_0FD8, PREFIX_VEX_0FD9, PREFIX_VEX_0FDA, - PREFIX_VEX_0FDC, PREFIX_VEX_0FDD, PREFIX_VEX_0FDE, - PREFIX_VEX_0FDF, PREFIX_VEX_0FE0, PREFIX_VEX_0FE1, - PREFIX_VEX_0FE2, PREFIX_VEX_0FE3, PREFIX_VEX_0FE4, - PREFIX_VEX_0FE5, PREFIX_VEX_0FE6, PREFIX_VEX_0FE8, - PREFIX_VEX_0FE9, PREFIX_VEX_0FEA, PREFIX_VEX_0FEB, - PREFIX_VEX_0FEC, PREFIX_VEX_0FED, PREFIX_VEX_0FEE, - PREFIX_VEX_0FEF, PREFIX_VEX_0FF1. PREFIX_VEX_0FF2, - PREFIX_VEX_0FF3, PREFIX_VEX_0FF4, PREFIX_VEX_0FF5, - PREFIX_VEX_0FF6, PREFIX_VEX_0FF8, PREFIX_VEX_0FF9, - PREFIX_VEX_0FFA, PREFIX_VEX_0FFB, PREFIX_VEX_0FFC, - PREFIX_VEX_0FFD, PREFIX_VEX_0FFE, PREFIX_VEX_0F3800, - PREFIX_VEX_0F3801, PREFIX_VEX_0F3802, PREFIX_VEX_0F3803, - PREFIX_VEX_0F3804, PREFIX_VEX_0F3805, PREFIX_VEX_0F3806, - PREFIX_VEX_0F3807, PREFIX_VEX_0F3808, PREFIX_VEX_0F3809, - PREFIX_VEX_0F380A, PREFIX_VEX_0F380B, PREFIX_VEX_0F3817, - PREFIX_VEX_0F381C, PREFIX_VEX_0F381D, PREFIX_VEX_0F381E, - PREFIX_VEX_0F3820, PREFIX_VEX_0F3821, PREFIX_VEX_0F3822, - PREFIX_VEX_0F3823, PREFIX_VEX_0F3824, PREFIX_VEX_0F3825, - PREFIX_VEX_0F3828, PREFIX_VEX_0F3829, PREFIX_VEX_0F382B, - PREFIX_VEX_0F382C, PREFIX_VEX_0F3831, PREFIX_VEX_0F3832, - PREFIX_VEX_0F3833, PREFIX_VEX_0F3834, PREFIX_VEX_0F3835, - PREFIX_VEX_0F3837, PREFIX_VEX_0F3838, PREFIX_VEX_0F3839, - PREFIX_VEX_0F383A, PREFIX_VEX_0F383B, PREFIX_VEX_0F383C, - PREFIX_VEX_0F383D, PREFIX_VEX_0F383E, PREFIX_VEX_0F383F, - PREFIX_VEX_0F3840, PREFIX_VEX_0F3A08, PREFIX_VEX_0F3A09, - PREFIX_VEX_0F3A0A, PREFIX_VEX_0F3A0B, PREFIX_VEX_0F3A0C, - PREFIX_VEX_0F3A0D, PREFIX_VEX_0F3A0E, PREFIX_VEX_0F3A0F, - PREFIX_VEX_0F3A40 and PREFIX_VEX_0F3A42 entries. - (vex_table): Update VEX 0F28 and 0F29 entries. - (vex_len_table): Update VEX_LEN_0F10_P_1, VEX_LEN_0F10_P_3, - VEX_LEN_0F11_P_1, VEX_LEN_0F11_P_3, VEX_LEN_0F2E_P_0, - VEX_LEN_0F2E_P_2, VEX_LEN_0F2F_P_0, VEX_LEN_0F2F_P_2, - VEX_LEN_0F51_P_1, VEX_LEN_0F51_P_3, VEX_LEN_0F52_P_1, - VEX_LEN_0F53_P_1, VEX_LEN_0F58_P_1, VEX_LEN_0F58_P_3, - VEX_LEN_0F59_P_1, VEX_LEN_0F59_P_3, VEX_LEN_0F5A_P_1, - VEX_LEN_0F5A_P_3, VEX_LEN_0F5C_P_1, VEX_LEN_0F5C_P_3, - VEX_LEN_0F5D_P_1, VEX_LEN_0F5D_P_3, VEX_LEN_0F5E_P_1, - VEX_LEN_0F5E_P_3, VEX_LEN_0F5F_P_1, VEX_LEN_0F5F_P_3, - VEX_LEN_0FC2_P_1, VEX_LEN_0FC2_P_3, VEX_LEN_0F3A0A_P_2 and - VEX_LEN_0F3A0B_P_2 entries. - (vex_w_table): Remove VEX_W_0F10_P_0, VEX_W_0F10_P_1, - VEX_W_0F10_P_2, VEX_W_0F10_P_3, VEX_W_0F11_P_0, VEX_W_0F11_P_1, - VEX_W_0F11_P_2, VEX_W_0F11_P_3, VEX_W_0F12_P_0_M_0, - VEX_W_0F12_P_0_M_1, VEX_W_0F12_P_1, VEX_W_0F12_P_2, - VEX_W_0F12_P_3, VEX_W_0F13_M_0, VEX_W_0F14, VEX_W_0F15, - VEX_W_0F16_P_0_M_0, VEX_W_0F16_P_0_M_1, VEX_W_0F16_P_1, - VEX_W_0F16_P_2, VEX_W_0F17_M_0, VEX_W_0F28, VEX_W_0F29, - VEX_W_0F2B_M_0, VEX_W_0F2E_P_0, VEX_W_0F2E_P_2, VEX_W_0F2F_P_0, - VEX_W_0F2F_P_2, VEX_W_0F50_M_0, VEX_W_0F51_P_0, VEX_W_0F51_P_1, - VEX_W_0F51_P_2, VEX_W_0F51_P_3, VEX_W_0F52_P_0, VEX_W_0F52_P_1, - VEX_W_0F53_P_0, VEX_W_0F53_P_1, VEX_W_0F58_P_0, VEX_W_0F58_P_1, - VEX_W_0F58_P_2, VEX_W_0F58_P_3, VEX_W_0F59_P_0, VEX_W_0F59_P_1, - VEX_W_0F59_P_2, VEX_W_0F59_P_3, VEX_W_0F5A_P_0, VEX_W_0F5A_P_1, - VEX_W_0F5A_P_3, VEX_W_0F5B_P_0, VEX_W_0F5B_P_1, VEX_W_0F5B_P_2, - VEX_W_0F5C_P_0, VEX_W_0F5C_P_1, VEX_W_0F5C_P_2, VEX_W_0F5C_P_3, - VEX_W_0F5D_P_0, VEX_W_0F5D_P_1, VEX_W_0F5D_P_2, VEX_W_0F5D_P_3, - VEX_W_0F5E_P_0, VEX_W_0F5E_P_1, VEX_W_0F5E_P_2, VEX_W_0F5E_P_3, - VEX_W_0F5F_P_0, VEX_W_0F5F_P_1, VEX_W_0F5F_P_2, VEX_W_0F5F_P_3, - VEX_W_0F60_P_2, VEX_W_0F61_P_2, VEX_W_0F62_P_2, VEX_W_0F63_P_2, - VEX_W_0F64_P_2, VEX_W_0F65_P_2, VEX_W_0F66_P_2, VEX_W_0F67_P_2, - VEX_W_0F68_P_2, VEX_W_0F69_P_2, VEX_W_0F6A_P_2, VEX_W_0F6B_P_2, - VEX_W_0F6C_P_2, VEX_W_0F6D_P_2, VEX_W_0F6F_P_1, VEX_W_0F6F_P_2, - VEX_W_0F70_P_1, VEX_W_0F70_P_2, VEX_W_0F70_P_3, - VEX_W_0F71_R_2_P_2, VEX_W_0F71_R_4_P_2, VEX_W_0F71_R_6_P_2, - VEX_W_0F72_R_2_P_2, VEX_W_0F72_R_4_P_2, VEX_W_0F72_R_6_P_2, - VEX_W_0F73_R_2_P_2, VEX_W_0F73_R_3_P_2, VEX_W_0F73_R_6_P_2, - VEX_W_0F73_R_7_P_2, VEX_W_0F74_P_2, VEX_W_0F75_P_2, - VEX_W_0F76_P_2, VEX_W_0F77_P_0, VEX_W_0F7C_P_2, VEX_W_0F7C_P_3, - VEX_W_0F7D_P_2, VEX_W_0F7D_P_3, VEX_W_0F7E_P_1, VEX_W_0F7F_P_1, - VEX_W_0F7F_P_2, VEX_W_0FAE_R_2_M_0, VEX_W_0FAE_R_3_M_0, - VEX_W_0FC2_P_0, VEX_W_0FC2_P_1, VEX_W_0FC2_P_2, VEX_W_0FC2_P_3, - VEX_W_0FD0_P_2, VEX_W_0FD0_P_3, VEX_W_0FD1_P_2, VEX_W_0FD2_P_2, - VEX_W_0FD3_P_2, VEX_W_0FD4_P_2, VEX_W_0FD5_P_2, VEX_W_0FD6_P_2, - VEX_W_0FD7_P_2_M_1, VEX_W_0FD8_P_2, VEX_W_0FD9_P_2, - VEX_W_0FDA_P_2, VEX_W_0FDB_P_2, VEX_W_0FDC_P_2, VEX_W_0FDD_P_2, - VEX_W_0FDE_P_2, VEX_W_0FDF_P_2, VEX_W_0FE0_P_2, VEX_W_0FE1_P_2, - VEX_W_0FE2_P_2, VEX_W_0FE3_P_2, VEX_W_0FE4_P_2, VEX_W_0FE5_P_2, - VEX_W_0FE6_P_1, VEX_W_0FE6_P_2, VEX_W_0FE6_P_3, - VEX_W_0FE7_P_2_M_0, VEX_W_0FE8_P_2, VEX_W_0FE9_P_2, - VEX_W_0FEA_P_2, VEX_W_0FEB_P_2, VEX_W_0FEC_P_2, VEX_W_0FED_P_2, - VEX_W_0FEE_P_2, VEX_W_0FEF_P_2, VEX_W_0FF0_P_3_M_0, - VEX_W_0FF1_P_2, VEX_W_0FF2_P_2, VEX_W_0FF3_P_2, VEX_W_0FF4_P_2, - VEX_W_0FF5_P_2, VEX_W_0FF6_P_2, VEX_W_0FF7_P_2, VEX_W_0FF8_P_2, - VEX_W_0FF9_P_2, VEX_W_0FFA_P_2, VEX_W_0FFB_P_2, VEX_W_0FFC_P_2, - VEX_W_0FFD_P_2, VEX_W_0FFE_P_2, VEX_W_0F3800_P_2, - VEX_W_0F3801_P_2, VEX_W_0F3802_P_2, VEX_W_0F3803_P_2, - VEX_W_0F3804_P_2, VEX_W_0F3805_P_2, VEX_W_0F3806_P_2, - VEX_W_0F3807_P_2, VEX_W_0F3808_P_2, VEX_W_0F3809_P_2, - VEX_W_0F380A_P_2, VEX_W_0F380B_P_2, VEX_W_0F3817_P_2, - VEX_W_0F381C_P_2, VEX_W_0F381D_P_2, VEX_W_0F381E_P_2, - VEX_W_0F3820_P_2, VEX_W_0F3821_P_2, VEX_W_0F3822_P_2, - VEX_W_0F3823_P_2, VEX_W_0F3824_P_2, VEX_W_0F3825_P_2, - VEX_W_0F3828_P_2, VEX_W_0F3829_P_2, VEX_W_0F382A_P_2_M_0, - VEX_W_0F382B_P_2, VEX_W_0F3830_P_2, VEX_W_0F3831_P_2, - VEX_W_0F3832_P_2, VEX_W_0F3833_P_2, VEX_W_0F3834_P_2, - VEX_W_0F3835_P_2, VEX_W_0F3837_P_2, VEX_W_0F3838_P_2, - VEX_W_0F3839_P_2, VEX_W_0F383A_P_2, VEX_W_0F383B_P_2, - VEX_W_0F383C_P_2, VEX_W_0F383D_P_2, VEX_W_0F383E_P_2, - VEX_W_0F383F_P_2, VEX_W_0F3840_P_2, VEX_W_0F3841_P_2, - VEX_W_0F38DB_P_2, VEX_W_0F3A08_P_2, VEX_W_0F3A09_P_2, - VEX_W_0F3A0A_P_2, VEX_W_0F3A0B_P_2, VEX_W_0F3A0C_P_2, - VEX_W_0F3A0D_P_2, VEX_W_0F3A0E_P_2, VEX_W_0F3A0F_P_2, - VEX_W_0F3A21_P_2, VEX_W_0F3A40_P_2, VEX_W_0F3A41_P_2, - VEX_W_0F3A42_P_2, VEX_W_0F3A62_P_2, VEX_W_0F3A63_P_2 and - VEX_W_0F3ADF_P_2 entries. - (mod_table): Update MOD_VEX_0F2B, MOD_VEX_0F50, - MOD_VEX_0FD7_PREFIX_2, MOD_VEX_0FE7_PREFIX_2, - MOD_VEX_0FF0_PREFIX_3 and MOD_VEX_0F382A_PREFIX_2 entries. - -2018-09-17 H.J. Lu - - * i386-opc.tbl (VexWIG): New. - Replace VexW=3 with VexWIG. - -2018-09-15 H.J. Lu - - * i386-opc.tbl: Set VexW=3 on AVX vrsqrtss. - * i386-tbl.h: Regenerated. - -2018-09-15 H.J. Lu - - PR gas/23665 - * i386-dis.c (vex_len_table): Update VEX_LEN_0F7E_P_1 and - VEX_LEN_0FD6_P_2 entries. - * i386-opc.tbl: Set Vex=1 on VEX.128 only vmovq. - * i386-tbl.h: Regenerated. - -2018-09-14 H.J. Lu - - PR gas/23642 - * i386-opc.h (VEXWIG): New. - * i386-opc.tbl: Set VexW=3 on VEX/EVEX WIG instructions. - * i386-tbl.h: Regenerated. - -2018-09-14 H.J. Lu - - PR binutils/23655 - * i386-dis-evex.h: Replace EXxEVexR with EXxEVexR64 for - vcvtsi2sd%LQ and vcvtusi2sd%LQ. - * i386-dis.c (EXxEVexR64): New. - (evex_rounding_64_mode): Likewise. - (OP_Rounding): Handle evex_rounding_64_mode. - -2018-09-14 H.J. Lu - - PR binutils/23655 - * i386-dis-evex.h (evex_table): Replace Eq with Edqa for - vcvtsi2ss%LQ, vcvtsi2sd%LQ, vcvtusi2ss%LQ and vcvtusi2sd%LQ. - * i386-dis.c (Edqa): New. - (dqa_mode): Likewise. - (intel_operand_size): Handle dqa_mode as m_mode. - (OP_E_register): Handle dqa_mode as dq_mode. - (OP_E_memory): Set shift for dqa_mode based on address_mode. - -2018-09-14 H.J. Lu - - * i386-dis.c (OP_E_memory): Reformat. - -2018-09-14 Jan Beulich - - * i386-opc.tbl (crc32): Fold byte and word forms. - * i386-tbl.h: Re-generate. - -2018-09-13 H.J. Lu - - * i386-opc.tbl: Add VexW=1 to VEX.W0 VEX movd, cvtsi2ss, cvtsi2sd, - pextrd, pinsrd, vcvtsi2sd, vcvtsi2ss, vmovd, vpextrd and vpinsrd. - Add VexW=2 to VEX.W1 VEX movq, pextrq, pinsrq, vmovq, vpextrq and - vpinsrq. Remove VexW=1 from WIG VEX movq and vmovq. - * i386-tbl.h: Regenerated. - -2018-09-13 Jan Beulich - - * i386-opc.tbl (mov, movq, movdir64b): Drop IgnoreSize where - meaningless. - (invept, invvpid, vcvtph2ps, vcvtps2ph, bndmov, xrstors, - xrstors64, xsaves, xsaves64, xsavec, xsavec64, rdpid, incsspq, - rdsspq, saveprevssp, setssbsy, endbr32, endbr64): Drop IgnoreSize. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from AVX512_4FMAPS and - AVX512_4VNNIW insns. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from AVX512DQ insns where - meaningless. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from AVX512BW insns where - meaningless. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from AVX512VL insns where - meaningless. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from AVX512ER insns where - meaningless. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from AVX512F insns where - meaningless. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from SHA insns. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from XOP and SSE4a insns. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from AVX2 insns where - meaningless. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from AVX insns where - meaningless. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from GNFI insns. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from PCLMUL/VPCLMUL insns. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from AES/VAES insns. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from SSE4.2 insns where - meaningless. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from SSE4.1 insns where - meaningless. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from SSSE3 insns where - meaningless. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from SSE3 insns where meaningless. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from SSE2 insns where meaningless. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl: Drop IgnoreSize from SSE insns where meaningless. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl (crc32, incsspq, rdsspq): Drop Rex64. - (vpbroadcastw, rdpid): Drop NoRex64. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl (vmovsd, vmovss): Fold register form load and - store templates, adding D. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-opc.tbl (bndmov, kmovb, kmovd, kmovq, kmovw, movapd, - movaps, movd, movdqa, movdqu, movhpd, movhps, movlpd, movlps, - movq, movsd, movss, movupd, movups, vmovapd, vmovaps, vmovd, - vmovdqa, vmovdqa32, vmovdqa64, vmovdqu, vmovdqu16, vmovdqu32, - vmovdqu64, vmovdqu8, vmovq, vmovsd, vmovss, vmovupd, vmovups): - Fold load and store templates where possible, adding D. Drop - IgnoreSize where it was pointlessly present. Drop redundant - *word. - * i386-tbl.h: Re-generate. - -2018-09-13 Jan Beulich - - * i386-dis.c (Mv_bnd, v_bndmk_mode): New. - (mod_table): Use Mv_bnd for bndldx, bndstx, and bndmk. - (intel_operand_size): Handle v_bndmk_mode. - (OP_E_memory): Likewise. Produce (bad) when also riprel. - -2018-09-08 John Darrington - - * disassemble.c (ARCH_s12z): Define if ARCH_all. - -2018-08-31 Kito Cheng - - * riscv-opc.c (riscv_opcodes): Fix incorrect subset info for - compressed floating point instructions. - -2018-08-30 Kito Cheng - - * riscv-dis.c (riscv_disassemble_insn): Check XLEN by - riscv_opcode.xlen_requirement. - * riscv-opc.c (riscv_opcodes): Update for struct change. - -2018-08-29 Martin Aberg - - * sparc-opc.c (sparc_opcodes): Add Leon specific partial write - psr (PWRPSR) instruction. - -2018-08-29 Chenghua Xu - - * mips-dis.c (mips_arch_choices): Add gs264e descriptors. - -2018-08-29 Chenghua Xu - - * mips-dis.c (mips_arch_choices): Add gs464e descriptors. - -2018-08-29 Chenghua Xu - - * mips-dis.c (mips_arch_choices): Add gs464 descriptors, Keep - loongson3a as an alias of gs464 for compatibility. - * mips-opc.c (mips_opcodes): Change Comments. - -2018-08-29 Chenghua Xu - - * mips-dis.c (parse_mips_ase_option): Handle -M loongson-ext - option. - (print_mips_disassembler_options): Document -M loongson-ext. - * mips-opc.c (LEXT2): New macro. - (mips_opcodes): Add cto, ctz, dcto, dctz instructions. - -2018-08-29 Chenghua Xu - - * mips-dis.c (mips_arch_choices): Add EXT to loongson3a - descriptors. - (parse_mips_ase_option): Handle -M loongson-ext option. - (print_mips_disassembler_options): Document -M loongson-ext. - * mips-opc.c (IL3A): Delete. - * mips-opc.c (LEXT): New macro. - (mips_opcodes): Replace IL2F|IL3A marking with LEXT for EXT - instructions. - -2018-08-29 Chenghua Xu - - * mips-dis.c (mips_arch_choices): Add CAM to loongson3a - descriptors. - (parse_mips_ase_option): Handle -M loongson-cam option. - (print_mips_disassembler_options): Document -M loongson-cam. - * mips-opc.c (LCAM): New macro. - (mips_opcodes): Replace IL2F|IL3A marking with LCAM for CAM - instructions. - -2018-08-21 Alan Modra - - * ppc-dis.c (operand_value_powerpc): Init "invalid". - (skip_optional_operands): Count optional operands, and update - ppc_optional_operand_value call. - * ppc-opc.c (extract_dxdn): Remove ATTRIBUTE_UNUSED from used arg. - (extract_vlensi): Likewise. - (extract_fxm): Return default value for missing optional operand. - (extract_ls, extract_raq, extract_tbr): Likewise. - (insert_sxl, extract_sxl): New functions. - (insert_esync, extract_esync): Remove Power9 handling and simplify. - (powerpc_operands ): Delete PPC_OPERAND_OPTIONAL_VALUE - flag and extra entry. - (powerpc_operands ): Likewise, and use insert_sxl and - extract_sxl. - -2018-08-20 Alan Modra - - * sh-opc.h (MASK): Simplify. - -2018-08-18 John Darrington - - * s12z-dis.c (bm_decode): Deal with cases where the mode is - BM_RESERVED0 or BM_RESERVED1 - (bm_rel_decode, bm_n_bytes): Ditto. - -2018-08-18 John Darrington - - * s12z.h: Delete. - -2018-08-14 H.J. Lu - - * i386-dis.c (OP_E_memory): In 64-bit mode, display eiz for - address with the addr32 prefix and without base nor index - registers. - -2018-08-11 H.J. Lu - - * i386-gen.c (cpu_flag_init): Add CpuCMOV and CpuFXSR to - CPU_I686_FLAGS. Add CPU_CMOV_FLAGS, CPU_FXSR_FLAGS, - CPU_ANY_CMOV_FLAGS and CPU_ANY_FXSR_FLAGS. - (cpu_flags): Add CpuCMOV and CpuFXSR. - * i386-opc.tbl: Replace Cpu686 with CpuFXSR on fxsave, fxsave64, - fxrstor and fxrstor64. Replace Cpu686 with CpuCMOV on cmovCC. - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. - -2018-08-06 Claudiu Zissulescu - - * arc-regs.h: Update auxiliary registers. - -2018-08-06 Jan Beulich - - * i386-opc.h (RegRip, RegEip, RegEiz, RegRiz): Drop defines. - (RegIP, RegIZ): Define. - * i386-reg.tbl: Adjust comments. - (rip): Use Qword instead of BaseIndex. Use RegIP. - (eip): Use Dword instead of BaseIndex. Use RegIP. - (riz): Add Qword. Use RegIZ. - (eiz): Add Dword. Use RegIZ. - * i386-tbl.h: Re-generate. - -2018-08-03 Jan Beulich - - * i386-opc.tbl (pmovsxbw, pmovsxdq, pmovsxwd, pmovzxbw, - pmovzxdq, pmovzxwd, vpmovsxbw, vpmovsxdq, vpmovsxwd, vpmovzxbw, - vpmovzxdq, vpmovzxwd): Remove NoRex64. - * i386-tbl.h: Re-generate. - -2018-08-03 Jan Beulich - - * i386-gen.c (operand_types): Remove Mem field. - * i386-opc.h (union i386_operand_type): Remove mem field. - * i386-init.h, i386-tbl.h: Re-generate. - -2018-08-01 Alan Modra - - * po/POTFILES.in: Regenerate. - -2018-07-31 Nick Clifton - - * po/sv.po: Updated Swedish translation. - -2018-07-31 Jan Beulich - - * i386-opc.tbl (kandnd, kandnq, kxord, kxorq): Add Optimize. - * i386-init.h, i386-tbl.h: Re-generate. - -2018-07-31 Jan Beulich - - * i386-opc.h (ZEROING_MASKING) Rename to ... - (DYNAMIC_MASKING): ... this. Adjust comment. - * i386-opc.tbl (MaskingMorZ): Define. - (vcompresspd, vcompressps, vcvtps2ph, vextractf32x4, - vextractf32x8, vextractf64x2, vextractf64x4, vextracti32x4, - vextracti32x8, vextracti64x2, vextracti64x4, vmovapd, vmovaps, - vmovdqa32, vmovdqa64, vmovdqu8, vmovdqu16, vmovdqu32, vmovdqu64, - vmovupd, vmovups, vpcompressb, vpcompressw, vpcompressd, - vpcompressq, vpmovdb, vpmovdw, vpmovqb, vpmovqd, vpmovqw, - vpmovsdb, vpmovsdw, vpmovsqb, vpmovsqd, vpmovsqw, vpmovswb, - vpmovusdb, vpmovusdw, vpmovusqb, vpmovusqd, vpmovusqw, - vpmovuswb, vpmovwb): Fold AVX512 register and memory forms. - -2018-07-31 Jan Beulich - - * i386-opc.tbl: Use element rather than vector size for AVX512* - scatter/gather insns. - * i386-tbl.h: Re-generate. - -2018-07-31 Jan Beulich - - * i386-gen.c (cpu_flag_init): Drop CpuVREX uses. - (cpu_flags): Drop CpuVREX. - * i386-opc.h (CpuVREX): Delete. - (union i386_cpu_flags): Remove cpuvrex. - * i386-init.h, i386-tbl.h: Re-generate. - -2018-07-30 Jim Wilson - - * riscv-dis.c (riscv_disassemble_insn): Set insn_type and data_size - fields. - * riscv-opc.c (riscv_opcodes): Use new INSN_* flags to annotate insns. - -2018-07-30 Andrew Jenner - - * Makefile.am (TARGET_LIBOPCODES_CFILES): Add csky-dis.c. - * Makefile.in: Regenerated. - * configure.ac: Add C-SKY. - * configure: Regenerated. - * csky-dis.c: New file. - * csky-opc.h: New file. - * disassemble.c (ARCH_csky): Define. - (disassembler, disassemble_init_for_target): Add case for ARCH_csky. - * disassemble.h (print_insn_csky, csky_get_disassembler): Declare. - -2018-07-27 Alan Modra - - * ppc-opc.c (insert_sprbat): Correct function parameter and - return type. - (extract_sprbat): Likewise, variable too. - -2018-07-26 Alex Chadwick - Alan Modra - - * ppc-dis.c (ppc_opts): Add -mgekko and -mbroadway. - (powerpc_init_dialect): Handle bfd_mach_ppc_750. - * ppc-opc.c (insert_sprbat, extract_sprbat): New functions to - support disjointed BAT. - (powerpc_operands): Allow extra bit in SPRBAT_MASK. Add SPRGQR. - (XSPRGQR_MASK, GEKKO, BROADWAY): Define. - (powerpc_opcodes): Add 750cl extended mnemonics for spr access. - -2018-07-25 H.J. Lu - Igor Tsimbalist - - * i386-gen.c (adjust_broadcast_modifier): New function. - (process_i386_opcode_modifier): Add an argument for operands. - Adjust the Broadcast value based on operands. - (output_i386_opcode): Pass operand_types to - process_i386_opcode_modifier. - (process_i386_opcodes): Pass NULL as operands to - process_i386_opcode_modifier. - * i386-opc.h (BYTE_BROADCAST): New. - (WORD_BROADCAST): Likewise. - (DWORD_BROADCAST): Likewise. - (QWORD_BROADCAST): Likewise. - (i386_opcode_modifier): Expand broadcast to 3 bits. - * i386-tbl.h: Regenerated. - -2018-07-24 Alan Modra - - PR 23430 - * or1k-desc.h: Regenerate. - -2018-07-24 Jan Beulich - - * i386-dis-evex.h (evex_table): Add %LQ to vcvtsi2ss, vcvtsi2sd, - vcvtusi2ss, and vcvtusi2sd. - * i386-opc.tbl (vcvtsi2sd, vcvtusi2sd, vcvtsi2ss, vcvtusi2ss): - Convert AVX512F variants to distinct CpuNo64 and Cpu64 forms. - * i386-tbl.h: Re-generate. - -2018-07-23 Claudiu Zissulescu - - * arc-opc.c (extract_w6): Fix extending the sign. - -2018-07-23 Claudiu Zissulescu - - * arc-tbl.h (vewt): Allow it for ARC EM family. - -2018-07-23 Alan Modra - - PR 23419 - * ppc-opc.c (powerpc_opcodes): Add mtupmc/mfupmc/mfpmc extended - opcode variants for mtspr/mfspr encodings. - -2018-07-20 Chenghua Xu - Maciej W. Rozycki - - * mips-dis.c (mips_arch_choices): Add MMI to loongson2f and - loongson3a descriptors. - (parse_mips_ase_option): Handle -M loongson-mmi option. - (print_mips_disassembler_options): Document -M loongson-mmi. - * mips-opc.c (LMMI): New macro. - (mips_opcodes): Replace IL2F|IL3A marking with LMMI for MMI - instructions. - -2018-07-19 Jan Beulich - - * i386-opc.tbl (vcvtpd2dq, vcvtpd2ps, vcvttpd2dq, vcvtpd2udq, - vcvtqq2ps, vcvtuqq2ps): Fold 128- and 256-bit templates. Drop - IgnoreSize and [XYZ]MMword where applicable. - * i386-tbl.h: Re-generate. - -2018-07-19 Jan Beulich - - * i386-opc.tbl (vfpclasspd, vfpclassps): Fold. - (vfpclasspdz, vfpclasspsz): Drop IgnoreSize and ZmmWord. - (vfpclasspdx, vfpclasspsx): Drop IgnoreSize and XmmWord. - (vfpclasspdy, vfpclasspsy): Drop IgnoreSize and YmmWord. - * i386-tbl.h: Re-generate. - -2018-07-19 Jan Beulich - - * i386-opc.tbl: Fold AVX512IFMA, AVX512VBMI, AVX512_VPOPCNTDQ, - AVX512_VBMI2, AVX512_VNNI, AVX512_BITALG, GFNI, VAES, and - VPCLMULQDQ templates into their respective AVX512VL counterparts - where possible, using Disp8ShiftVL and CheckRegSize instead of - Evex= plus Disp8MemShift= (plus often IgnoreSize) as appropriate. - * i386-tbl.h: Re-generate. - -2018-07-19 Jan Beulich - - * i386-opc.tbl: Fold AVX512DQ templates into their respective - AVX512VL counterparts where possible, using Disp8ShiftVL and - CheckRegSize instead of Evex= plus Disp8MemShift= (plus often - IgnoreSize) as appropriate. - * i386-tbl.h: Re-generate. - -2018-07-19 Jan Beulich - - * i386-opc.tbl: Fold AVX512BW templates into their respective - AVX512VL counterparts where possible, using Disp8ShiftVL and - CheckRegSize instead of Evex= plus Disp8MemShift= (plus often - IgnoreSize) as appropriate. - * i386-tbl.h: Re-generate. - -2018-07-19 Jan Beulich - - * i386-opc.tbl: Fold AVX512CD templates into their respective - AVX512VL counterparts where possible, using Disp8ShiftVL and - CheckRegSize instead of Evex= plus Disp8MemShift= (plus often - IgnoreSize) as appropriate. - * i386-tbl.h: Re-generate. - -2018-07-19 Jan Beulich - - * i386-opc.h (DISP8_SHIFT_VL): New. - * i386-opc.tbl (Disp8ShiftVL): Define. - (various): Fold AVX512VL templates into their respective - AVX512F counterparts where possible, using Disp8ShiftVL and - CheckRegSize instead of Evex= plus Disp8MemShift= (plus often - IgnoreSize) as appropriate. - * i386-tbl.h: Re-generate. - -2018-07-19 Jan Beulich - - * Makefile.am: Change dependencies and rule for - $(srcdir)/i386-init.h. - * Makefile.in: Re-generate. - * i386-gen.c (process_i386_opcodes): New local variable - "marker". Drop opening of input file. Recognize marker and line - number directives. - * i386-opc.tbl (OPCODE_I386_H): Define. - (i386-opc.h): Include it. - (None): Undefine. - -2018-07-18 H.J. Lu - - PR gas/23418 - * i386-opc.h (Byte): Update comments. - (Word): Likewise. - (Dword): Likewise. - (Fword): Likewise. - (Qword): Likewise. - (Tbyte): Likewise. - (Xmmword): Likewise. - (Ymmword): Likewise. - (Zmmword): Likewise. - * i386-opc.tbl: Split vcvtps2qq, vcvtps2uqq, vcvttps2qq and - vcvttps2uqq. - * i386-tbl.h: Regenerated. - -2018-07-12 Sudakshina Das - - * aarch64-tbl.h (aarch64_opcode_table): Add entry for - ssbb and pssbb and update dsb flags to F_HAS_ALIAS. - * aarch64-asm-2.c: Regenerate. - * aarch64-dis-2.c: Regenerate. - * aarch64-opc-2.c: Regenerate. - -2018-07-12 Tamar Christina - - PR binutils/23192 - * aarch64-tbl.h (sqdmlal, sqdmlal2, smlsl, smlsl2, sqdmlsl, sqdmlsl2, - mul, smull, smull2, sqdmull, sqdmull2, sqdmulh, sqrdmulh, mla, umlal, - umlal2, mls, umlsl, umlsl2, umull, umull2, sqdmlal, sqdmlsl, sqdmull, - sqdmulh, sqrdmulh): Use Em16. - -2018-07-11 Sudakshina Das - - * arm-dis.c (arm_opcodes): Add ssbb and pssbb and move - csdb together with them. - (thumb32_opcodes): Likewise. - -2018-07-11 Jan Beulich - - * i386-opc.tbl (monitor, monitorx): Add 64-bit template - requiring 32-bit registers as operands 2 and 3. Improve - comments. - (mwait, mwaitx): Fold templates. Improve comments. - OPERAND_TYPE_INOUTPORTREG. - * i386-tbl.h: Re-generate. - -2018-07-11 Jan Beulich - - * i386-gen.c (operand_type_init): Remove - OPERAND_TYPE_REG16_INOUTPORTREG entry and one instance of - OPERAND_TYPE_INOUTPORTREG. - * i386-init.h: Re-generate. - -2018-07-11 Jan Beulich - - * i386-opc.tbl (wrssd, wrussd): Add Dword. - (wrssq, wrussq): Add Qword. - * i386-tbl.h: Re-generate. - -2018-07-11 Jan Beulich - - * i386-opc.h: Rename OTMax to OTNum. - (OTNumOfUints): Adjust calculation. - (OTUnused): Directly alias to OTNum. - -2018-07-09 Maciej W. Rozycki - - * s12z-dis.c (lea_reg_xys_opr): Rename `reg' local variable to - `reg_xys'. - (lea_reg_xys): Likewise. - (print_insn_loop_primitive): Rename `reg' local variable to - `reg_dxy'. - -2018-07-06 Tamar Christina - - PR binutils/23242 - * aarch64-tbl.h (ldarh): Fix disassembly mask. - -2018-07-06 Tamar Christina - - PR binutils/23369 - * aarch64-opc.c (aarch64_sys_regs): Make read/write csselr_el1, - vsesr_el2, osdtrrx_el1, osdtrtx_el1, pmsidr_el1. - -2018-07-02 Maciej W. Rozycki - - PR tdep/8282 - * mips-dis.c (mips_option_arg_t): New enumeration. - (mips_options): New variable. - (disassembler_options_mips): New function. - (print_mips_disassembler_options): Reimplement in terms of - `disassembler_options_mips'. - * arm-dis.c (disassembler_options_arm): Adapt to using the - `disasm_options_and_args_t' structure. - * ppc-dis.c (disassembler_options_powerpc): Likewise. - * s390-dis.c (disassembler_options_s390): Likewise. - -2018-07-02 Thomas Preud'homme - - * testsuite/ld-arm/tls-descrelax-be8.d: Add architecture version in - expected result. - * testsuite/ld-arm/tls-descrelax-v7.d: Likewise. - * testsuite/ld-arm/tls-longplt-lib.d: Likewise. - * testsuite/ld-arm/tls-longplt.d: Likewise. - -2018-06-29 Tamar Christina - - PR binutils/23192 - * aarch64-asm-2.c: Regenerate. - * aarch64-dis-2.c: Likewise. - * aarch64-opc-2.c: Likewise. - * aarch64-dis.c (aarch64_ext_reglane): Add AARCH64_OPND_Em16 constraint. - * aarch64-opc.c (operand_general_constraint_met_p, - aarch64_print_operand): Likewise. - * aarch64-tbl.h (aarch64_opcode_table): Change Em to Em16 for smlal, - smlal2, fmla, fmls, fmul, fmulx, sqrdmlah, sqrdlsh, fmlal, fmlsl, - fmlal2, fmlsl2. - (AARCH64_OPERANDS): Add Em2. - -2018-06-26 Nick Clifton - - * po/uk.po: Updated Ukranian translation. - * po/de.po: Updated German translation. - * po/pt_BR.po: Updated Brazilian Portuguese translation. - -2018-06-26 Nick Clifton - - * nfp-dis.c: Fix spelling mistake. - -2018-06-24 Nick Clifton - - * configure: Regenerate. - * po/opcodes.pot: Regenerate. - -2018-06-24 Nick Clifton - - 2.31 branch created. - -2018-06-19 Tamar Christina - - * aarch64-tbl.h (aarch64_opcode_table): Fix alias flag for negs - * aarch64-asm-2.c: Regenerate. - * aarch64-dis-2.c: Likewise. - -2018-06-21 Maciej W. Rozycki - - * mips-dis.c (print_mips_disassembler_options): Fix a typo in - `-M ginv' option description. - -2018-06-20 Sebastian Huber - - PR gas/23305 - * riscv-opc.c (riscv_opcodes): Use new format specifier 'B' for - la and lla. - -2018-06-19 Simon Marchi - - * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11. - * configure.ac: Remove AC_PREREQ. - * Makefile.in: Re-generate. - * aclocal.m4: Re-generate. - * configure: Re-generate. - -2018-06-14 Faraz Shahbazker - - * mips-dis.c (mips_arch_choices): Add GINV to mips32r6 and - mips64r6 descriptors. - (parse_mips_ase_option): Handle -Mginv option. - (print_mips_disassembler_options): Document -Mginv. - * mips-opc.c (decode_mips_operand) <+\>: New operand format. - (GINV): New macro. - (mips_opcodes): Define ginvi and ginvt. - -2018-06-13 Scott Egerton - Faraz Shahbazker - - * mips-dis.c (mips_arch_choices): Add CRC and CRC64 ASEs. - * mips-opc.c (CRC, CRC64): New macros. - (mips_builtin_opcodes): Define crc32b, crc32h, crc32w, - crc32cb, crc32ch and crc32cw for CRC. Define crc32d and - crc32cd for CRC64. - -2018-06-08 Egeyar Bagcioglu - - PR 20319 - * aarch64-tbl.h: Introduce QL_INT2FP_FMOV and QL_FP2INT_FMOV. - (aarch64_opcode_table) : Use QL_INT2FP_FMOV and QL_FP2INT_FMOV. - -2018-06-06 Alan Modra - - * xtensa-dis.c (print_insn_xtensa): Init fmt and valid_insn after - setjmp. Move init for some other vars later too. - -2018-06-04 Max Filippov - - * xtensa-dis.c (bfd.h, elf/xtensa.h): New includes. - (dis_private): Add new fields for property section tracking. - (xtensa_coalesce_insn_tables, xtensa_find_table_entry) - (xtensa_instruction_fits): New functions. - (fetch_data): Bump minimal fetch size to 4. - (print_insn_xtensa): Make struct dis_private static. - Load and prepare property table on section change. - Don't disassemble literals. Don't disassemble instructions that - cross property table boundaries. - -2018-06-01 H.J. Lu - - * configure: Regenerated. - -2018-06-01 Jan Beulich - - * i386-opc.tbl (mov, movq): Fold to/from SReg* forms. - * i386-tbl.h: Re-generate. - -2018-06-01 Jan Beulich - - * i386-opc.tbl (sldt, str): Add NoRex64. - * i386-tbl.h: Re-generate. - -2018-06-01 Jan Beulich - - * i386-opc.tbl (invpcid): Add Oword. - * i386-tbl.h: Re-generate. - -2018-06-01 Alan Modra - - * sysdep.h (_bfd_error_handler): Don't declare. - * msp430-decode.opc: Include bfd.h. Don't include ansidecl.h here. - * rl78-decode.opc: Likewise. - * msp430-decode.c: Regenerate. - * rl78-decode.c: Regenerate. - -2018-05-30 Amit Pawar - - * i386-gen.c (cpu_flag_init): Add CPU_ZNVER2_FLAGS. - * i386-init.h : Regenerated. - -2018-05-25 Alan Modra - - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-05-21 Peter Bergner - - * ppc-opc.c (insert_bat, extract_bat, insert_bba, extract_bba, - insert_rbs, extract_rbs, insert_xb6s, extract_xb6s): Delete functions. - (insert_bab, extract_bab, insert_btab, extract_btab, - insert_rsb, extract_rsb, insert_xab6, extract_xab6): New functions. - (BAT, BBA VBA RBS XB6S): Delete macros. - (BTAB, BAB, VAB, RAB, RSB, XAB6): New macros. - (BB, BD, RBX, XC6): Update for new macros. - (powerpc_opcodes) : Likewise. - * ppc-dis.c (print_insn_powerpc): Delete handling of fake operands. - -2018-05-18 John Darrington - - * Makefile.am: Add support for s12z architecture. - * configure.ac: Likewise. - * disassemble.c: Likewise. - * disassemble.h: Likewise. - * Makefile.in: Regenerate. - * configure: Regenerate. - * s12z-dis.c: New file. - * s12z.h: New file. - -2018-05-18 Alan Modra - - * nfp-dis.c: Don't #include libbfd.h. - (init_nfp3200_priv): Use bfd_get_section_contents. - (nit_nfp6000_mecsr_sec): Likewise. - -2018-05-17 Nick Clifton - - * po/zh_CN.po: Updated simplified Chinese translation. - -2018-05-16 Tamar Christina - - PR binutils/23109 - * aarch64-tbl.h (aarch64_opcode_table): Correct sdot and udot. - * aarch64-dis-2.c: Regenerate. - -2018-05-15 Tamar Christina - - PR binutils/21446 - * aarch64-asm.c (opintl.h): Include. - (aarch64_ins_sysreg): Enforce read/write constraints. - * aarch64-dis.c (aarch64_ext_sysreg): Likewise. - * aarch64-opc.h (F_DEPRECATED, F_ARCHEXT, F_HASXT): Moved here. - (F_REG_READ, F_REG_WRITE): New. - * aarch64-opc.c (aarch64_print_operand): Generate notes for - AARCH64_OPND_SYSREG. - (F_DEPRECATED, F_ARCHEXT, F_HASXT): Move to aarch64-opc.h. - (aarch64_sys_regs): Add constraints to currentel, midr_el1, ctr_el0, - mpidr_el1, revidr_el1, aidr_el1, dczid_el0, id_dfr0_el1, id_pfr0_el1, - id_pfr1_el1, id_afr0_el1, id_mmfr0_el1, id_mmfr1_el1, id_mmfr2_el1, - id_mmfr3_el1, id_mmfr4_el1, id_isar0_el1, id_isar1_el1, id_isar2_el1, - id_isar3_el1, id_isar4_el1, id_isar5_el1, mvfr0_el1, mvfr1_el1, - mvfr2_el1, ccsidr_el1, id_aa64pfr0_el1, id_aa64pfr1_el1, - id_aa64dfr0_el1, id_aa64dfr1_el1, id_aa64isar0_el1, id_aa64isar1_el1, - id_aa64mmfr0_el1, id_aa64mmfr1_el1, id_aa64mmfr2_el1, id_aa64afr0_el1, - id_aa64afr0_el1, id_aa64afr1_el1, id_aa64zfr0_el1, clidr_el1, - csselr_el1, vsesr_el2, erridr_el1, erxfr_el1, rvbar_el1, rvbar_el2, - rvbar_el3, isr_el1, tpidrro_el0, cntfrq_el0, cntpct_el0, cntvct_el0, - mdccsr_el0, dbgdtrrx_el0, dbgdtrtx_el0, osdtrrx_el1, osdtrtx_el1, - mdrar_el1, oslar_el1, oslsr_el1, dbgauthstatus_el1, pmbidr_el1, - pmsidr_el1, pmswinc_el0, pmceid0_el0, pmceid1_el0. - * aarch64-tbl.h (aarch64_opcode_table): Add constraints to - msr (F_SYS_WRITE), mrs (F_SYS_READ). - -2018-05-15 Tamar Christina - - PR binutils/21446 - * aarch64-dis.c (no_notes: New. - (parse_aarch64_dis_option): Support notes. - (aarch64_decode_insn, print_operands): Likewise. - (print_aarch64_disassembler_options): Document notes. - * aarch64-opc.c (aarch64_print_operand): Support notes. - -2018-05-15 Tamar Christina - - PR binutils/21446 - * aarch64-asm.h (aarch64_insert_operand, aarch64_##x): Return boolean - and take error struct. - * aarch64-asm.c (aarch64_ext_regno, aarch64_ins_reglane, - aarch64_ins_reglist, aarch64_ins_ldst_reglist, - aarch64_ins_ldst_reglist_r, aarch64_ins_ldst_elemlist, - aarch64_ins_advsimd_imm_shift, aarch64_ins_imm, aarch64_ins_imm_half, - aarch64_ins_advsimd_imm_modified, aarch64_ins_fpimm, - aarch64_ins_imm_rotate1, aarch64_ins_imm_rotate2, aarch64_ins_fbits, - aarch64_ins_aimm, aarch64_ins_limm_1, aarch64_ins_limm, - aarch64_ins_inv_limm, aarch64_ins_ft, aarch64_ins_addr_simple, - aarch64_ins_addr_regoff, aarch64_ins_addr_offset, aarch64_ins_addr_simm, - aarch64_ins_addr_simm10, aarch64_ins_addr_uimm12, - aarch64_ins_simd_addr_post, aarch64_ins_cond, aarch64_ins_sysreg, - aarch64_ins_pstatefield, aarch64_ins_sysins_op, aarch64_ins_barrier, - aarch64_ins_prfop, aarch64_ins_hint, aarch64_ins_reg_extended, - aarch64_ins_reg_shifted, aarch64_ins_sve_addr_ri_s4xvl, - aarch64_ins_sve_addr_ri_s6xvl, aarch64_ins_sve_addr_ri_s9xvl, - aarch64_ins_sve_addr_ri_s4, aarch64_ins_sve_addr_ri_u6, - aarch64_ins_sve_addr_rr_lsl, aarch64_ins_sve_addr_rz_xtw, - aarch64_ins_sve_addr_zi_u5, aarch64_ext_sve_addr_zz, - aarch64_ins_sve_addr_zz_lsl, aarch64_ins_sve_addr_zz_sxtw, - aarch64_ins_sve_addr_zz_uxtw, aarch64_ins_sve_aimm, - aarch64_ins_sve_asimm, aarch64_ins_sve_index, aarch64_ins_sve_limm_mov, - aarch64_ins_sve_quad_index, aarch64_ins_sve_reglist, - aarch64_ins_sve_scale, aarch64_ins_sve_shlimm, aarch64_ins_sve_shrimm, - aarch64_ins_sve_float_half_one, aarch64_ins_sve_float_half_two, - aarch64_ins_sve_float_zero_one, aarch64_opcode_encode): Likewise. - * aarch64-dis.h (aarch64_extract_operand, aarch64_##x): Likewise. - * aarch64-dis.c (aarch64_ext_regno, aarch64_ext_reglane, - aarch64_ext_reglist, aarch64_ext_ldst_reglist, - aarch64_ext_ldst_reglist_r, aarch64_ext_ldst_elemlist, - aarch64_ext_advsimd_imm_shift, aarch64_ext_imm, aarch64_ext_imm_half, - aarch64_ext_advsimd_imm_modified, aarch64_ext_fpimm, - aarch64_ext_imm_rotate1, aarch64_ext_imm_rotate2, aarch64_ext_fbits, - aarch64_ext_aimm, aarch64_ext_limm_1, aarch64_ext_limm, decode_limm, - aarch64_ext_inv_limm, aarch64_ext_ft, aarch64_ext_addr_simple, - aarch64_ext_addr_regoff, aarch64_ext_addr_offset, aarch64_ext_addr_simm, - aarch64_ext_addr_simm10, aarch64_ext_addr_uimm12, - aarch64_ext_simd_addr_post, aarch64_ext_cond, aarch64_ext_sysreg, - aarch64_ext_pstatefield, aarch64_ext_sysins_op, aarch64_ext_barrier, - aarch64_ext_prfop, aarch64_ext_hint, aarch64_ext_reg_extended, - aarch64_ext_reg_shifted, aarch64_ext_sve_addr_ri_s4xvl, - aarch64_ext_sve_addr_ri_s6xvl, aarch64_ext_sve_addr_ri_s9xvl, - aarch64_ext_sve_addr_ri_s4, aarch64_ext_sve_addr_ri_u6, - aarch64_ext_sve_addr_rr_lsl, aarch64_ext_sve_addr_rz_xtw, - aarch64_ext_sve_addr_zi_u5, aarch64_ext_sve_addr_zz, - aarch64_ext_sve_addr_zz_lsl, aarch64_ext_sve_addr_zz_sxtw, - aarch64_ext_sve_addr_zz_uxtw, aarch64_ext_sve_aimm, - aarch64_ext_sve_asimm, aarch64_ext_sve_index, aarch64_ext_sve_limm_mov, - aarch64_ext_sve_quad_index, aarch64_ext_sve_reglist, - aarch64_ext_sve_scale, aarch64_ext_sve_shlimm, aarch64_ext_sve_shrimm, - aarch64_ext_sve_float_half_one, aarch64_ext_sve_float_half_two, - aarch64_ext_sve_float_zero_one, aarch64_opcode_decode): Likewise. - (determine_disassembling_preference, aarch64_decode_insn, - print_insn_aarch64_word, print_insn_data): Take errors struct. - (print_insn_aarch64): Use errors. - * aarch64-asm-2.c: Regenerate. - * aarch64-dis-2.c: Regenerate. - * aarch64-gen.c (print_operand_inserter): Use errors and change type to - boolean in aarch64_insert_operan. - (print_operand_extractor): Likewise. - * aarch64-opc.c (aarch64_print_operand): Use sysreg struct. - -2018-05-15 Francois H. Theron - - * nfp-dis.c: Use uint64_t for instruction variables, not bfd_vma. - -2018-05-09 H.J. Lu - - * i386-opc.tbl: Remove Disp from movidir{i,64b}. - -2018-05-09 Sebastian Rasmussen - - * cr16-opc.c (cr16_instruction): Comment typo fix. - * hppa-dis.c (print_insn_hppa): Likewise. - -2018-05-08 Jim Wilson - - * riscv-opc.c (match_c_slli, match_slli_as_c_slli): New. - (match_c_slli64, match_srxi_as_c_srxi): New. - (riscv_opcodes) : Use match_slli_as_c_slli. - : Use match_srxi_as_c_srxi. - : Use match_s_slli. - : New. - -2018-05-08 Alan Modra - - * ppc-dis.c (PPC_OPCD_SEGS): Define using PPC_OP. - (VLE_OPCD_SEGS, SPE2_OPCD_SEGS): Similarly, using macros used to - partition opcode space for index lookup. - -2018-05-07 Peter Bergner - - * ppc-dis.c (print_insn_powerpc) : Replace this... - : ...with this. Update usage. - Remove duplicate call to *info->memory_error_func. - -2018-05-07 Igor Tsimbalist - H.J. Lu - - * i386-dis.c (Gva): New. - (enum): Add PREFIX_0F38F8, PREFIX_0F38F9, - MOD_0F38F8_PREFIX_2, MOD_0F38F9_PREFIX_0. - (prefix_table): New instructions (see prefix above). - (mod_table): New instructions (see prefix above). - (OP_G): Handle va_mode. - * i386-gen.c (cpu_flag_init): Add CPU_MOVDIRI_FLAGS, - CPU_MOVDIR64B_FLAGS. - (cpu_flags): Add CpuMOVDIRI and CpuMOVDIR64B. - * i386-opc.h (enum): Add CpuMOVDIRI, CpuMOVDIR64B. - (i386_cpu_flags): Add cpumovdiri and cpumovdir64b. - * i386-opc.tbl: Add movidir{i,64b}. - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. - -2018-05-07 H.J. Lu - - * i386-gen.c (opcode_modifiers): Replace AddrPrefixOp0 with - AddrPrefixOpReg. - * i386-opc.h (AddrPrefixOp0): Renamed to ... - (AddrPrefixOpReg): This. - (i386_opcode_modifier): Rename addrprefixop0 to addrprefixopreg. - * i386-opc.tbl: Replace AddrPrefixOp0 with AddrPrefixOpReg. - -2018-05-07 Peter Bergner - - * ppc-opc.c (powerpc_num_opcodes): Change type to unsigned. - (vle_num_opcodes): Likewise. - (spe2_num_opcodes): Likewise. - * ppc-dis.c (disassemble_init_powerpc) : Rewrite - initialization loop. - (disassemble_init_powerpc) : Likewise. - (disassemble_init_powerpc) : Likewise. Initialize - only once. - -2018-05-01 Tamar Christina - - * aarch64-dis.c (aarch64_opcode_decode): Moved memory clear code. - -2018-04-30 Francois H. Theron - - Makefile.am: Added nfp-dis.c. - configure.ac: Added bfd_nfp_arch. - disassemble.h: Added print_insn_nfp prototype. - disassemble.c: Added ARCH_nfp and call to print_insn_nfp - nfp-dis.c: New, for NFP support. - po/POTFILES.in: Added nfp-dis.c to the list. - Makefile.in: Regenerate. - configure: Regenerate. - -2018-04-26 Jan Beulich - - * i386-opc.tbl: Fold various non-memory operand AVX512VL - templates into their base ones. - * i386-tlb.h: Re-generate. - -2018-04-26 Jan Beulich - - * i386-gen.c (cpu_flag_init): Use CPU_XOP_FLAGS for - CPU_BDVER1_FLAGS. Use CPU_AVX2_FLAGS for CPU_ZNVER1_FLAGS. Use - CPU_AVX_FLAGS for CPU_BTVER1_FLAGS. Add CPU_XSAVE_FLAGS to - CPU_LWP_FLAGS, CPU_AVX_FLAGS, CPU_MPX_FLAGS, and CPU_OSPKE_FLAGS. - * i386-init.h: Re-generate. - -2018-04-26 Jan Beulich - - * i386-gen.c (cpu_flag_init): Drop all uses of CpuRegMMX, - CpuRegXMM, CpuRegYMM, CpuRegZMM, and CpuRegMask. Use - CPU_AVX2_FLAGS for CPU_AVX512F_FLAGS and drop bogus comment. - Don't use CPU_AVX2_FLAGS for CPU_AVX512VL_FLAGS and drop bogus - comment. - (cpu_flags): Drop CpuRegMMX, CpuRegXMM, CpuRegYMM, CpuRegZMM, - and CpuRegMask. - * i386-opc.h: CpuRegMMX, CpuRegXMM, CpuRegYMM, CpuRegZMM, - CpuRegMask: Delete. - (union i386_cpu_flags): Remove cpuregmmx, cpuregxmm, cpuregymm, - cpuregzmm, and cpuregmask. - * i386-init.h: Re-generate. - * i386-tbl.h: Re-generate. - -2018-04-26 Jan Beulich - - * i386-gen.c (cpu_flag_init): CPU_I586_FLAGS inherits Cpu387 only. - CPU_287_FLAGS is Cpu287 only. CPU_387_FLAGS is Cpu387 only. - * i386-init.h: Re-generate. - -2018-04-26 Jan Beulich - - * i386-gen.c (VexImmExt): Delete. - * i386-opc.h (VexImmExt, veximmext): Delete. - * i386-opc.tbl: Drop all VexImmExt uses. - * i386-tlb.h: Re-generate. - -2018-04-25 Jan Beulich - - * i386-opc.tbl (vpslld, vpsrad, vpsrld): Drop AVX512VL - register-only forms. - * i386-tlb.h: Re-generate. - -2018-04-25 Tamar Christina - - * aarch64-tbl.h (sqrdmlah, sqrdmlsh): Fix masks. - -2018-04-17 Igor Tsimbalist - - * i386-dis.c: Add REG_0F1C_MOD_0, MOD_0F1C_PREFIX_0, - PREFIX_0F1C. - * i386-gen.c (cpu_flag_init): Add CPU_CLDEMOTE_FLAGS, - (cpu_flags): Add CpuCLDEMOTE. - * i386-init.h: Regenerate. - * i386-opc.h (enum): Add CpuCLDEMOTE, - (i386_cpu_flags): Add cpucldemote. - * i386-opc.tbl: Add cldemote. - * i386-tbl.h: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove sh5 and sh64 support. - * configure.ac: Likewise. - * disassemble.c: Likewise. - * disassemble.h: Likewise. - * sh-dis.c: Likewise. - * sh64-dis.c: Delete. - * sh64-opc.c: Delete. - * sh64-opc.h: Delete. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove w65 support. - * configure.ac: Likewise. - * disassemble.c: Likewise. - * disassemble.h: Likewise. - * w65-dis.c: Delete. - * w65-opc.h: Delete. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * configure.ac: Remove we32k support. - * configure: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove m88k support. - * configure.ac: Likewise. - * disassemble.c: Likewise. - * disassemble.h: Likewise. - * m88k-dis.c: Delete. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove i370 support. - * configure.ac: Likewise. - * disassemble.c: Likewise. - * disassemble.h: Likewise. - * i370-dis.c: Delete. - * i370-opc.c: Delete. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * Makefile.am: Remove h8500 support. - * configure.ac: Likewise. - * disassemble.c: Likewise. - * disassemble.h: Likewise. - * h8500-dis.c: Delete. - * h8500-opc.h: Delete. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-16 Alan Modra - - * configure.ac: Remove tahoe support. - * configure: Regenerate. - -2018-04-15 H.J. Lu - - * i386-dis.c (prefix_table): Replace Em with Edq on tpause and - umwait. - * i386-opc.tbl: Allow 32-bit registers for tpause and umwait in - 64-bit mode. - * i386-tbl.h: Regenerated. - -2018-04-11 Igor Tsimbalist - - * i386-dis.c (enum): Add PREFIX_MOD_0_0FAE_REG_6, - PREFIX_MOD_1_0FAE_REG_6. - (va_mode): New. - (OP_E_register): Use va_mode. - * i386-dis-evex.h (prefix_table): - New instructions (see prefixes above). - * i386-gen.c (cpu_flag_init): Add WAITPKG. - (cpu_flags): Likewise. - * i386-opc.h (enum): Likewise. - (i386_cpu_flags): Likewise. - * i386-opc.tbl: Add umonitor, umwait, tpause. - * i386-init.h: Regenerate. - * i386-tbl.h: Likewise. - -2018-04-11 Alan Modra - - * opcodes/i860-dis.c: Delete. - * opcodes/i960-dis.c: Delete. - * Makefile.am: Remove i860 and i960 support. - * configure.ac: Likewise. - * disassemble.c: Likewise. - * disassemble.h: Likewise. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - -2018-04-04 H.J. Lu - - PR binutils/23025 - * i386-dis.c (get_valid_dis386): Don't set vex.prefix nor vex.w - to 0. - (print_insn): Clear vex instead of vex.evex. - -2018-04-04 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2018-03-28 Jan Beulich - - * i386-gen.c (opcode_modifiers): Delete VecESize. - * i386-opc.h (VecESize): Delete. - (struct i386_opcode_modifier): Delete vecesize. - * i386-opc.tbl: Drop VecESize. - * i386-tlb.h: Re-generate. - -2018-03-28 Jan Beulich - - * i386-opc.h (NO_BROADCAST, BROADCAST_1TO16, BROADCAST_1TO8, - BROADCAST_1TO4, BROADCAST_1TO2): Delete. - (struct i386_opcode_modifier): Shrink broadcast field to 1 bit. - * i386-opc.tbl: Replace Broadcast= by Broadcast. - * i386-tlb.h: Re-generate. - -2018-03-28 Jan Beulich - - * i386-opc.tbl (vcvt*d2si, vcvt*d2usi, vcvt*s2si, vcvt*s2usi): - Fold AVX512 forms - * i386-tlb.h: Re-generate. - -2018-03-28 Jan Beulich - - * i386-dis.c (prefix_table): Drop Y for cvt*2si. - (vex_len_table): Drop Y for vcvt*2si. - (putop): Replace plain 'Y' handling by abort(). - -2018-03-28 Nick Clifton - - PR 22988 - * aarch64-tbl.h (aarch64_opcode_table): Add entries for LDFF1xx - instructions with only a base address register. - * aarch64-opc.c (operand_general_constraint_met_p): Add code to - handle AARHC64_OPND_SVE_ADDR_R. - (aarch64_print_operand): Likewise. - * aarch64-asm-2.c: Regenerate. - * aarch64_dis-2.c: Regenerate. - * aarch64-opc-2.c: Regenerate. - -2018-03-22 Jan Beulich - - * i386-opc.tbl: Drop VecESize from register only insn forms and - memory forms not allowing broadcast. - * i386-tlb.h: Re-generate. - -2018-03-22 Jan Beulich - - * i386-opc.tbl (vfrczs*, vphadd*, vphsub*, vpmacs*, vpmadcs*, - vprot*, vpsha*, vpshl*, bextr, blc*, bls*, t1mskc, tzmsk, sha1*, - sha256*): Drop Disp. - -2018-03-22 Jan Beulich - - * i386-dis.c (EbndS, bnd_swap_mode): New. - (prefix_table): Use EbndS. - (OP_E_register, OP_E_memory): Also handle bnd_swap_mode. - * i386-opc.tbl (bndmov): Move misplaced Load. - * i386-tlb.h: Re-generate. - -2018-03-22 Jan Beulich - - * i386-opc.tbl (vcvtdq2pd, vcvtps2pd, vcvtudq2pd): Use separate - templates allowing memory operands and folded ones for register - only flavors. - * i386-tlb.h: Re-generate. - -2018-03-22 Jan Beulich - - * i386-opc.tbl (vfrczp*, vpcmov, vpermil2p*): Fold 128- and - 256-bit templates. Drop redundant leftover Disp. - * i386-tlb.h: Re-generate. - -2018-03-14 Kito Cheng - - * riscv-opc.c (riscv_insn_types): New. - -2018-03-13 Nick Clifton - - * po/pt_BR.po: Updated Brazilian Portuguese translation. - -2018-03-08 H.J. Lu - - * i386-opc.tbl: Add Optimize to clr. - * i386-tbl.h: Regenerated. - -2018-03-08 H.J. Lu - - * i386-gen.c (opcode_modifiers): Remove OldGcc. - * i386-opc.h (OldGcc): Removed. - (i386_opcode_modifier): Remove oldgcc. - * i386-opc.tbl: Remove fsubp, fsubrp, fdivp and fdivrp - instructions for old (<= 2.8.1) versions of gcc. - * i386-tbl.h: Regenerated. - -2018-03-08 Jan Beulich - - * i386-opc.h (EVEXDYN): New. - * i386-opc.tbl: Fold various AVX512VL templates. - * i386-tlb.h: Re-generate. - -2018-03-08 Jan Beulich - - * i386-opc.tbl (vexpandpd, vexpandps, vmovapd, vmovaps, - vmovdqa32, vmovdqa64, vmovdqu32, vmovdqu64, vmovupd, vmovups, - vpexpandd, vpexpandq): Fold AFX512VF templates. - * i386-tlb.h: Re-generate. - -2018-03-08 Jan Beulich - - * i386-opc.tbl (vgf2p8affineinvqb, vgf2p8affineqb, vgf2p8mulb): - Fold 128- and 256-bit VEX-encoded templates. - * i386-tlb.h: Re-generate. - -2018-03-08 Jan Beulich - - * i386-opc.tbl (vexpandpd, vexpandps, vmovapd, vmovaps, - vmovdqa32, vmovdqa64, vmovdqu32, vmovdqu64, vmovupd, vmovups, - vpexpandd, vpexpandq): Fold AVX512F templates. - * i386-tlb.h: Re-generate. - -2018-03-08 Jan Beulich - - * i386-opc.tbl (llwpcb, slwpcb, lwpval, lwpins): Fold 32- and - 64-bit templates. Drop Disp. - * i386-tlb.h: Re-generate. - -2018-03-08 Jan Beulich - - * i386-opc.tbl (vfmadd*, vfmsub*, vfnmadd*, vfnmsub*): Fold 128- - and 256-bit templates. - * i386-tlb.h: Re-generate. - -2018-03-08 Jan Beulich - - * i386-opc.tbl (cmpxchg8b): Add NoRex64. - * i386-tlb.h: Re-generate. - -2018-03-08 Jan Beulich - - * i386-opc.tbl (cmpxchg16b, fisttp, fisttpll, bndmov, mwaitx): - Drop NoAVX. - * i386-tlb.h: Re-generate. - -2018-03-08 Jan Beulich - - * i386-opc.tbl (ldmxcsr, stmxcsr): Add NoAVX. - * i386-tlb.h: Re-generate. - -2018-03-08 Jan Beulich - - * i386-gen.c (opcode_modifiers): Delete FloatD. - * i386-opc.h (FloatD): Delete. - (struct i386_opcode_modifier): Delete floatd. - * i386-opc.tbl (fadd, fsub, fsubr, fmul, fdiv, fdivr): Replace - FloatD by D. - * i386-tlb.h: Re-generate. - -2018-03-08 Jan Beulich - - * i386-dis.c (float_reg): Adjust DC and DE fsub*/fdiv* patterns. - -2018-03-08 Jan Beulich - - * i386-opc.tbl (vmovd): Disallow Qword memory operands. - * i386-tlb.h: Re-generate. - -2018-03-08 Jan Beulich - - * i386-opc.tbl (vcvtpd2ps): Fold AVX 128- and 256-bit memory - forms. - * i386-tlb.h: Re-generate. - -2018-03-07 Alan Modra - - * disassemble.c (disassembler): Use bfd_arch_powerpc entry for - bfd_arch_rs6000. - * disassemble.h (print_insn_rs6000): Delete. - * ppc-dis.c (powerpc_init_dialect): Handle rs6000. - (disassemble_init_powerpc): Call powerpc_init_dialect for rs6000. - (print_insn_rs6000): Delete. - -2018-03-03 Alan Modra - - * sysdep.h (opcodes_error_handler): Define. - (_bfd_error_handler): Declare. - * Makefile.am: Remove stray #. - * opc2c.c (main): Remove bogus -l arg handling. Print "DO NOT - EDIT" comment. - * aarch64-dis.c, * arc-dis.c, * arm-dis.c, * avr-dis.c, - * d30v-dis.c, * h8300-dis.c, * mmix-dis.c, * ppc-dis.c, - * riscv-dis.c, * s390-dis.c, * sparc-dis.c, * v850-dis.c: Use - opcodes_error_handler to print errors. Standardize error messages. - * msp430-decode.opc, * nios2-dis.c, * rl78-decode.opc: Likewise, - and include opintl.h. - * nds32-asm.c: Likewise, and include sysdep.h and opintl.h. - * i386-gen.c: Standardize error messages. - * msp430-decode.c, * rl78-decode.c, rx-decode.c: Regenerate. - * Makefile.in: Regenerate. - * epiphany-asm.c, * epiphany-desc.c, * epiphany-dis.c, - * epiphany-ibld.c, * fr30-asm.c, * fr30-desc.c, * fr30-dis.c, - * fr30-ibld.c, * frv-asm.c, * frv-desc.c, * frv-dis.c, * frv-ibld.c, - * frv-opc.c, * ip2k-asm.c, * ip2k-desc.c, * ip2k-dis.c, * ip2k-ibld.c, - * iq2000-asm.c, * iq2000-desc.c, * iq2000-dis.c, * iq2000-ibld.c, - * lm32-asm.c, * lm32-desc.c, * lm32-dis.c, * lm32-ibld.c, - * m32c-asm.c, * m32c-desc.c, * m32c-dis.c, * m32c-ibld.c, - * m32r-asm.c, * m32r-desc.c, * m32r-dis.c, * m32r-ibld.c, - * mep-asm.c, * mep-desc.c, * mep-dis.c, * mep-ibld.c, * mt-asm.c, - * mt-desc.c, * mt-dis.c, * mt-ibld.c, * or1k-asm.c, * or1k-desc.c, - * or1k-dis.c, * or1k-ibld.c, * xc16x-asm.c, * xc16x-desc.c, - * xc16x-dis.c, * xc16x-ibld.c, * xstormy16-asm.c, * xstormy16-desc.c, - * xstormy16-dis.c, * xstormy16-ibld.c: Regenerate. - -2018-03-01 H.J. Lu - - * * i386-opc.tbl: Add "Optimize" to AVX256 and AVX512 - vpsub[bwdq] instructions. - * i386-tbl.h: Regenerated. - -2018-03-01 Alan Modra - - * configure.ac (ALL_LINGUAS): Sort. - * configure: Regenerate. - -2018-02-27 Thomas Preud'homme - - * arm-dis.c (print_insn_coprocessor): Replace uses of ARM_FEATURE_COPY - macro by assignements. - -2018-02-27 H.J. Lu - - PR gas/22871 - * i386-gen.c (opcode_modifiers): Add Optimize. - * i386-opc.h (Optimize): New enum. - (i386_opcode_modifier): Add optimize. - * i386-opc.tbl: Add "Optimize" to "mov $imm, reg", - "sub reg, reg/mem", "test $imm, acc", "test $imm, reg/mem", - "and $imm, acc", "and $imm, reg/mem", "xor reg, reg/mem", - "movq $imm, reg" and AVX256 and AVX512 versions of vandnps, - vandnpd, vpandn, vpandnd, vpandnq, vxorps, vxorpd, vpxor, - vpxord and vpxorq. - * i386-tbl.h: Regenerated. - -2018-02-26 Alan Modra - - * crx-dis.c (getregliststring): Allocate a large enough buffer - to silence false positive gcc8 warning. - -2018-02-22 Shea Levy - - * disassemble.c (ARCH_riscv): Define if ARCH_all. - -2018-02-22 H.J. Lu - - * i386-opc.tbl: Add {rex}, - * i386-tbl.h: Regenerated. - -2018-02-20 Maciej W. Rozycki - - * mips16-opc.c (decode_mips16_operand) <'M'>: Remove case. - (mips16_opcodes): Replace `M' with `m' for "restore". - -2018-02-19 Thomas Preud'homme - - * arm-dis.c (thumb_opcodes): Fix BXNS mask. - -2018-02-13 Maciej W. Rozycki - - * wasm32-dis.c (print_insn_wasm32): Rename `index' local - variable to `function_index'. - -2018-02-13 Nick Clifton - - PR 22823 - * metag-dis.c (print_fmmov): Double buffer size to avoid warning - about truncation of printing. - -2018-02-12 Henry Wong - - * mips-opc.c (mips_builtin_opcodes): Correct "sigrie" encoding. - -2018-02-05 Nick Clifton - - * po/pt_BR.po: Updated Brazilian Portuguese translation. - -2018-01-23 Igor Tsimbalist - - * i386-dis.c (enum): Add pconfig. - * i386-gen.c (cpu_flag_init): Add CPU_PCONFIG_FLAGS. - (cpu_flags): Add CpuPCONFIG. - * i386-opc.h (enum): Add CpuPCONFIG. - (i386_cpu_flags): Add cpupconfig. - * i386-opc.tbl: Add PCONFIG instruction. - * i386-init.h: Regenerate. - * i386-tbl.h: Likewise. - -2018-01-23 Igor Tsimbalist - - * i386-dis.c (enum): Add PREFIX_0F09. - * i386-gen.c (cpu_flag_init): Add CPU_WBNOINVD_FLAGS. - (cpu_flags): Add CpuWBNOINVD. - * i386-opc.h (enum): Add CpuWBNOINVD. - (i386_cpu_flags): Add cpuwbnoinvd. - * i386-opc.tbl: Add WBNOINVD instruction. - * i386-init.h: Regenerate. - * i386-tbl.h: Likewise. - -2018-01-17 Jim Wilson - - * riscv-opc.c (riscv_opcodes) : Use z instead of 0. - -2018-01-17 Igor Tsimbalist - - * i386-gen.c (cpu_flag_init): Delete CPU_CET_FLAGS, CpuCET. - Add CPU_IBT_FLAGS, CPU_SHSTK_FLAGS, CPY_ANY_IBT_FLAGS, - CPU_ANY_SHSTK_FLAGS, CpuIBT, CpuSHSTK. - (cpu_flags): Add CpuIBT, CpuSHSTK. - * i386-opc.h (enum): Add CpuIBT, CpuSHSTK. - (i386_cpu_flags): Add cpuibt, cpushstk. - * i386-opc.tbl: Change CpuCET to CpuSHSTK and CpuIBT. - * i386-init.h: Regenerate. - * i386-tbl.h: Likewise. - -2018-01-16 Nick Clifton - - * po/pt_BR.po: Updated Brazilian Portugese translation. - * po/de.po: Updated German translation. - -2018-01-15 Jim Wilson - - * riscv-opc.c (match_c_nop): New. - (riscv_opcodes) : Handle an addi that compresses to c.nop. - -2018-01-15 Nick Clifton - - * po/uk.po: Updated Ukranian translation. - -2018-01-13 Nick Clifton - - * po/opcodes.pot: Regenerated. - -2018-01-13 Nick Clifton - - * configure: Regenerate. - -2018-01-13 Nick Clifton - - 2.30 branch created. - -2018-01-11 Igor Tsimbalist - - * i386-opc.tbl: Remove VL variants for 4FMAPS and 4VNNIW insns. - * i386-tbl.h: Regenerate. - -2018-01-10 Jan Beulich - - * i386-opc.tbl (v4fmaddss, v4fnmaddss): Adjust Disp8MemShift. - * i386-tbl.h: Re-generate. - -2018-01-10 Jan Beulich - - * i386-opc.tbl (vpcmpeqb, vpcmpleb, vpcmpltb, vpcmpneqb, - vpcmpnleb, vpcmpnltb, vpcmpequb, vpcmpleub, vpcmpltub, - vpcmpnequb, vpcmpnleub, vpcmpnltub, vpcmpeqw, vpcmplew, - vpcmpltw, vpcmpneqw, vpcmpnlew, vpcmpnltw, vpcmpequw, vpcmpleuw, - vpcmpltuw, vpcmpnequw, vpcmpnleuw, vpcmpnltuw): Adjust - Disp8MemShift of AVX512VL forms. - * i386-tbl.h: Re-generate. - -2018-01-09 Jim Wilson - - * riscv-dis.c (maybe_print_address): If base_reg is zero, - then the hi_addr value is zero. - -2018-01-09 James Greenhalgh - - * arm-dis.c (arm_opcodes): Add csdb. - (thumb32_opcodes): Add csdb. - -2018-01-09 James Greenhalgh - - * aarch64-tbl.h (aarch64_opcode_table): Add "csdb". - * aarch64-asm-2.c: Regenerate. - * aarch64-dis-2.c: Regenerate. - * aarch64-opc-2.c: Regenerate. - -2018-01-08 H.J. Lu - - PR gas/22681 - * i386-opc.tbl: Properly encode vmovd with Qword memeory operand. - Remove AVX512 vmovd with 64-bit operands. - * i386-tbl.h: Regenerated. - -2018-01-05 Jim Wilson - - * riscv-dis.c (print_insn_args) <'s'>: Call maybe_print_address for a - jalr. - -2018-01-03 Alan Modra - - Update year range in copyright notice of all files. - -2018-01-02 Jan Beulich - - * i386-gen.c (operand_type_init): Restore OPERAND_TYPE_REGYMM - and OPERAND_TYPE_REGZMM entries. - -For older changes see ChangeLog-2017 +For older changes see ChangeLog-2018 -Copyright (C) 2018 Free Software Foundation, Inc. +Copyright (C) 2019 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/opcodes/ChangeLog-2018 b/opcodes/ChangeLog-2018 new file mode 100644 index 0000000000..4fa14fdb26 --- /dev/null +++ b/opcodes/ChangeLog-2018 @@ -0,0 +1,2550 @@ +2018-12-28 Alan Modra + + PR 24028 + * ppc-dis.c (print_insn_powerpc): Replace PPC_INT_FMT uses with + PRId64/PRIx64. + +2018-12-18 Alan Modra + + * arm-dis.c: Include bfd.h. + * aarch64-opc.c: Include bfd_stdint.h rather than stdint.h. + * csky-dis.c: Likewise. + * nds32-asm.c: Likewise. + * riscv-dis.c: Likewise. + * s12z-dis.c: Likewise. + * wasm32-dis.c: Likewise. + +2018-12-07 Jim Wilson + + PR gas/23956 + * riscv-opc.c (riscv_opcodes) <"add">: Use 1 not 0 for fourth arg. + +2018-12-06 Andrew Burgess + + * configure.ac (enable-cgen-maint): Support passing path to cgen + source tree. + * configure: Regenerate. + +2018-12-06 Andrew Burgess + + * disassembler.c (disassemble_init_for_target): Add RISC-V + initialisation. + * riscv-dis.c (riscv_symbol_is_valid): New function. + +2018-12-03 Kito Cheng + + * riscv-opc.c: Change the type of xlen, because type of + xlen_requirement changed. + +2018-12-03 Egeyar Bagcioglu + + PR 23193 + PR 19721 + * aarch64-tbl.h (aarch64_opcode_table): Only disassemble an ORR + encoding as MOV if the shift operation is a left shift of zero. + +2018-11-29 Jim Wilson + + * riscv-opc.c (unimp): Mark compressed unimp as INSN_ALIAS. + (c.unimp): New. + +2018-11-27 Jim Wilson + + * riscv-opc.c (ciw): Fix whitespace to align columns. + (ca): New. + +2018-11-21 John Darrington + + * s12z-dis.c (print_insn_shift) [SB_REG_REG_N]: Enter special case + if the postbyte matches the appropriate pattern. + +2018-11-13 Francois H. Theron + + * nfp-dis.c: Fix crc[] disassembly if operands are swapped. + +2018-11-12 Sudakshina Das + + * aarch64-opc.c (aarch64_sys_regs_dc): New entries for + IGVAC, IGSW, CGSW, CIGSW, CGVAC, CGVAP, CGVADP, CIGVAC, GVA, + IGDVAC, IGDSW, CGDSW, CIGDSW, CGDVAC, CGDVAP, CGDVADP, + CIGDVAC and GZVA. + (aarch64_sys_ins_reg_supported_p): New check for above. + +2018-11-12 Sudakshina Das + + * aarch64-opc.c (aarch64_sys_regs): New entries for TCO, + TFSRE0_SL1, TFSR_EL1, TFSR_EL2, TFSR_EL3, TFSR_EL12, + RGSR_EL1 and GCR_EL1. + (aarch64_sys_reg_supported_p): New check for above. + (aarch64_pstatefields): New entry for TCO. + (aarch64_pstatefield_supported_p): New check for above. + +2018-11-12 Sudakshina Das + + * aarch64-asm.c (aarch64_ins_addr_simple_2): New. + * aarch64-asm.h (ins_addr_simple_2): Declare the above. + * aarch64-dis.c (aarch64_ext_addr_simple_2): New. + * aarch64-dis.h (ext_addr_simple_2): Declare the above. + * aarch64-opc.c (operand_general_constraint_met_p): Add case for + AARCH64_OPND_ADDR_SIMPLE_2 and ldstgv_indexed. + (aarch64_print_operand): Add case for AARCH64_OPND_ADDR_SIMPLE_2. + * aarch64-tbl.h (aarch64_opcode_table): Add stgv and ldgv. + (AARCH64_OPERANDS): Define ADDR_SIMPLE_2. + * aarch64-asm-2.c: Regenerated. + * aarch64-dis-2.c: Regenerated. + * aarch64-opc-2.c: Regenerated. + +2018-11-12 Sudakshina Das + + * aarch64-tbl.h (QL_LDG): New. + (aarch64_opcode_table): Add ldg. + * aarch64-asm-2.c: Regenerated. + * aarch64-dis-2.c: Regenerated. + * aarch64-opc-2.c: Regenerated. + +2018-11-12 Sudakshina Das + + * aarch64-opc.c (aarch64_opnd_qualifiers): Add new data + for AARCH64_OPND_QLF_imm_tag. + (operand_general_constraint_met_p): Add case for + AARCH64_OPND_ADDR_SIMM11 and AARCH64_OPND_ADDR_SIMM13. + (aarch64_print_operand): Likewise. + * aarch64-tbl.h (QL_LDST_AT, QL_STGP): New. + (aarch64_opcode_table): Add stg, stzg, st2g, stz2g and stgp + for both offset and pre/post indexed versions. + (AARCH64_OPERANDS): Define ADDR_SIMM11 and ADDR_SIMM13. + * aarch64-asm-2.c: Regenerated. + * aarch64-dis-2.c: Regenerated. + * aarch64-opc-2.c: Regenerated. + +2018-11-12 Sudakshina Das + + * aarch64-tbl.h (aarch64_opcode_table): Add subp, subps and cmpp. + * aarch64-asm-2.c: Regenerated. + * aarch64-dis-2.c: Regenerated. + * aarch64-opc-2.c: Regenerated. + +2018-11-12 Sudakshina Das + + * aarch64-opc.h (aarch64_field_kind): New FLD_imm4_3. + (OPD_F_SHIFT_BY_4, operand_need_shift_by_four): New. + * aarch64-opc.c (fields): Add entry for imm4_3. + (operand_general_constraint_met_p): Add cases for + AARCH64_OPND_UIMM4_ADDG and AARCH64_OPND_UIMM10. + (aarch64_print_operand): Likewise. + * aarch64-tbl.h (QL_ADDG): New. + (aarch64_opcode_table): Add addg, subg, irg and gmi. + (AARCH64_OPERANDS): Define UIMM4_ADDG and UIMM10. + * aarch64-asm.c (aarch64_ins_imm): Add case for + operand_need_shift_by_four. + * aarch64-asm-2.c: Regenerated. + * aarch64-dis-2.c: Regenerated. + * aarch64-opc-2.c: Regenerated. + +2018-11-12 Sudakshina Das + + * aarch64-tbl.h (aarch64_feature_memtag): New. + (MEMTAG, MEMTAG_INSN): New. + +2018-11-06 Sudakshina Das + + * arm-dis.c (select_arm_features): Update bfd_mach_arm_8 + with Armv8.5-A. Remove reduntant ARM_EXT2_FP16_FML. + +2018-11-06 Alan Modra + + * ppc-opc.c (insert_arx, insert_ary, insert_rx, insert_ry, insert_ls), + (insert_evuimm1_ex0, insert_evuimm2_ex0, insert_evuimm4_ex0), + (insert_evuimm8_ex0, insert_evuimm_lt8, insert_evuimm_lt16), + (insert_rD_rS_even, insert_off_lsp, insert_off_spe2, insert_Ddd): + Don't return zero on error, insert mask bits instead. + (insert_sd4h, extract_sd4h, insert_sd4w, extract_sd4w): Delete. + (insert_sh6, extract_sh6): Delete dead code. + (insert_sprbat, insert_sprg): Use unsigned comparisions. + (powerpc_operands ): Set shift count rather than using + PPC_OPSHIFT_INV. + : Likewise. Don't use insert/extract functions. + +2018-11-06 Jan Beulich + + * i386-dis-evex.h (evex_table): Use K suffix instead of %LW for + vpbroadcast{d,q} with GPR operand. + +2018-11-06 Jan Beulich + + * i386-dis.c (EVEX_W_0F6E_P_2, EVEX_W_0F7E_P_2): Delete. + * i386-dis-evex.h (evex_table): Move vmov[dq} with GPR operand + cases up one level in the hierarchy. + +2018-11-06 Jan Beulich + + * i386-dis.c (MOD_VEX_W_0_0F92_P_3_LEN_0, + MOD_VEX_W_1_0F92_P_3_LEN_0): Fold into MOD_VEX_0F92_P_3_LEN_0. + (MOD_VEX_W_0_0F93_P_3_LEN_0, MOD_VEX_W_1_0F93_P_3_LEN_0): Fold + into MOD_VEX_0F93_P_3_LEN_0. + (vex_len_table, vex_w_table, mod_table): Move kmov[dq} with GPR + operand cases up one level in the hierarchy. + +2018-11-06 Jan Beulich + + * i386-dis.c (VEX_W_0FC4_P_2, VEX_W_0FC5_P_2, VEX_W_0F3A14_P_2, + VEX_W_0F3A15_P_2, VEX_W_0F3A20_P_2, EVEX_W_0F3A16_P_2, + EVEX_W_0F3A22_P_2): Delete. + (vex_len_table, vex_w_table): Move vpextr{b,w} and vpinsr{b,w} + entries up one level in the hierarchy. + (OP_E_memory): Handle dq_mode when determining Disp8 shift + value. + * i386-dis-evex.h (evex_table): Move vpextr{d,q} and vpinsr{d,q} + entries up one level in the hierarchy. + * i386-opc.tbl (vpextrb, vpextrw, vpinsrb, vpinsrw): Change to + VexWIG for AVX flavors. + * i386-tbl.h: Re-generate. + +2018-11-06 Jan Beulich + + * i386-opc.tbl (vcvtsi2sd, vcvtsi2ss, vmovd, vpcmpestri, + vpcmpestrm, vpextrd, vpinsrd, vpbroadcastd, vcvtusi2sd, + vcvtusi2ss, kmovd): Drop VexW=1. + * i386-tbl.h: Re-generate. + +2018-11-06 Jan Beulich + + * i386-opc.tbl (Vex128, Vex256, VexLIG, EVex128, EVex256, + EVex512, EVexLIG, EVexDYN): New. + (ldmxcsr, stmxcsr, vldmxcsr, vstmxcsr, all BMI, BMI2, and TBM + insns): Use Vex128 instead of Vex=3 (aka VexLIG). + (vextractps, vinsertps, vpextr*, vpinsr*): Use EVex128 instead + of EVex=4 (aka EVexLIG). + * i386-tbl.h: Re-generate. + +2018-11-06 Jan Beulich + + * i386-opc.tbl (pextrw, vpextrw): Add Load to 0F C5 forms. + (vpmaxub): Re-order attributes on AVX512BW flavor. + * i386-tbl.h: Re-generate. + +2018-11-06 Jan Beulich + + * i386-opc.tbl (vandnp*, vandp*, vcmp*, vcvtss2sd, vorp*, + vpmaxub, vmovntdqa, vmpsadbw, vphsub*): Use VexWIG instead of + Vex=1 on AVX / AVX2 flavors. + (vpmaxub): Re-order attributes on AVX512BW flavor. + * i386-tbl.h: Re-generate. + +2018-11-06 Jan Beulich + + * i386-opc.tbl (VexW0, VexW1): New. + (vphadd*, vphsub*): Use VexW0 on XOP variants. + * i386-tbl.h: Re-generate. + +2018-10-22 John Darrington + + * s12z-dis.c (decode_possible_symbol): Add fallback case. + (rel_15_7): Likewise. + +2018-10-19 Tamar Christina + + * arm-dis.c (UNKNOWN_INSTRUCTION_32BIT): Format specifier for arm mode. + (UNKNOWN_INSTRUCTION_16BIT): Format specifier for thumb mode. + (print_insn_arm, print_insn_thumb16, print_insn_thumb32): Use them. + +2018-10-16 Matthew Malcomson + + * aarch64-opc.c (struct operand_qualifier_data): Change qualifier data + corresponding to AARCH64_OPND_QLF_S_4B qualifier. + +2018-10-10 Jan Beulich + + * i386-gen.c (opcode_modifiers): Drop Size16, Size32, and + Size64. Add Size. + * i386-opc.h (Size16, Size32, Size64): Delete. + (Size): New. + (SIZE16, SIZE32, SIZE64): Define. + (struct i386_opcode_modifier): Drop size16, size32, and size64. + Add size. + * i386-opc.tbl (Size16, Size32, Size64): Define. + * i386-tbl.h: Re-generate. + +2018-10-09 Sudakshina Das + + * aarch64-opc.c (operand_general_constraint_met_p): Add + SSBS in the check for one-bit immediate. + (aarch64_sys_regs): New entry for SSBS. + (aarch64_sys_reg_supported_p): New check for above. + (aarch64_pstatefields): New entry for SSBS. + (aarch64_pstatefield_supported_p): New check for above. + +2018-10-09 Sudakshina Das + + * aarch64-opc.c (aarch64_sys_regs): New entries for + scxtnum_el[0,1,2,3,12] and id_pfr2_el1. + (aarch64_sys_reg_supported_p): New checks for above. + +2018-10-09 Sudakshina Das + + * aarch64-opc.h (HINT_OPD_NOPRINT, HINT_ENCODE): New. + (HINT_FLAG, HINT_VALUE): New macros to encode NO_PRINT flag + with the hint immediate. + * aarch64-opc.c (aarch64_hint_options): New entries for + c, j, jc and default (with HINT_OPD_F_NOPRINT flag) for BTI. + (aarch64_print_operand): Add case for AARCH64_OPND_BTI_TARGET + while checking for HINT_OPD_F_NOPRINT flag. + * aarch64-dis.c (aarch64_ext_hint): Use new HINT_VALUE to + extract value. + * aarch64-tbl.h (aarch64_feature_bti, BTI, BTI_INSN): New. + (aarch64_opcode_table): Add entry for BTI. + (AARCH64_OPERANDS): Add new description for BTI targets. + * aarch64-asm-2.c: Regenerate. + * aarch64-dis-2.c: Regenerate. + * aarch64-opc-2.c: Regenerate. + +2018-10-09 Sudakshina Das + + * aarch64-opc.c (aarch64_sys_regs): New entries for + rndr and rndrrs. + (aarch64_sys_reg_supported_p): New check for above. + +2018-10-09 Sudakshina Das + + * aarch64-opc.c (aarch64_sys_regs_dc): New entry for cvadp. + (aarch64_sys_ins_reg_supported_p): New check for above. + +2018-10-09 Sudakshina Das + + * aarch64-dis.c (aarch64_ext_sysins_op): Add case for + AARCH64_OPND_SYSREG_SR. + * aarch64-opc.c (aarch64_print_operand): Likewise. + (aarch64_sys_regs_sr): Define table. + (aarch64_sys_ins_reg_supported_p): Check for RCTX with + AARCH64_FEATURE_PREDRES. + * aarch64-tbl.h (aarch64_feature_predres): New. + (PREDRES, PREDRES_INSN): New. + (aarch64_opcode_table): Add entries for cfp, dvp and cpp. + (AARCH64_OPERANDS): Add new description for SYSREG_SR. + * aarch64-asm-2.c: Regenerate. + * aarch64-dis-2.c: Regenerate. + * aarch64-opc-2.c: Regenerate. + +2018-10-09 Sudakshina Das + + * aarch64-tbl.h (aarch64_feature_sb): New. + (SB, SB_INSN): New. + (aarch64_opcode_table): Add entry for sb. + * aarch64-asm-2.c: Regenerate. + * aarch64-dis-2.c: Regenerate. + * aarch64-opc-2.c: Regenerate. + +2018-10-09 Sudakshina Das + + * aarch64-tbl.h (aarch64_feature_flagmanip): New. + (aarch64_feature_frintts): New. + (FLAGMANIP, FRINTTS): New. + (aarch64_opcode_table): Add entries for xaflag, axflag + and frint[32,64][x,z] instructions. + * aarch64-asm-2.c: Regenerate. + * aarch64-dis-2.c: Regenerate. + * aarch64-opc-2.c: Regenerate. + +2018-10-09 Sudakshina Das + + * aarch64-tbl.h (aarch64_feature_set aarch64_feature_v8_5): New. + (ARMV8_5, V8_5_INSN): New. + +2018-10-08 Tamar Christina + + * aarch64-opc.c (verify_constraints): Use memset instead of {0}. + +2018-10-05 H.J. Lu + + * i386-dis.c (rm_table): Add enclv. + * i386-opc.tbl: Add enclv. + * i386-tbl.h: Regenerated. + +2018-10-05 Sudakshina Das + + * arm-dis.c (arm_opcodes): Add sb. + (thumb32_opcodes): Likewise. + +2018-10-05 Richard Henderson + Stafford Horne + + * or1k-desc.c: Regenerate. + * or1k-desc.h: Regenerate. + * or1k-opc.c: Regenerate. + * or1k-opc.h: Regenerate. + * or1k-opinst.c: Regenerate. + +2018-10-05 Richard Henderson + + * or1k-asm.c: Regenerated. + * or1k-desc.c: Regenerated. + * or1k-desc.h: Regenerated. + * or1k-dis.c: Regenerated. + * or1k-ibld.c: Regenerated. + * or1k-opc.c: Regenerated. + * or1k-opc.h: Regenerated. + * or1k-opinst.c: Regenerated. + +2018-10-05 Richard Henderson + + * or1k-asm.c: Regenerate. + +2018-10-03 Tamar Christina + + * aarch64-asm.c (aarch64_opcode_encode): Apply constraint verifier. + * aarch64-dis.c (print_operands): Refactor to take notes. + (print_verifier_notes): New. + (print_aarch64_insn): Apply constraint verifier. + (print_insn_aarch64_word): Update call to print_aarch64_insn. + * aarch64-opc.c (aarch64_print_operand): Remove attribute, update notes format. + +2018-10-03 Tamar Christina + + * aarch64-opc.c (init_insn_block): New. + (verify_constraints, aarch64_is_destructive_by_operands): New. + * aarch64-opc.h (verify_constraints): New. + +2018-10-03 Tamar Christina + + * aarch64-dis.c (aarch64_opcode_decode): Update verifier call. + * aarch64-opc.c (verify_ldpsw): Update arguments. + +2018-10-03 Tamar Christina + + * aarch64-dis.c (ERR_OK, ERR_UND, ERR_UNP, ERR_NYI): Remove. + (aarch64_decode_insn, print_insn_aarch64_word): Use err_type. + +2018-10-03 Tamar Christina + + * aarch64-asm.c (aarch64_opcode_encode): Add insn_sequence. + * aarch64-dis.c (insn_sequence): New. + +2018-10-03 Tamar Christina + + * aarch64-tbl.h (CORE_INSN, __FP_INSN, SIMD_INSN, CRYP_INSN, _CRC_INSN, + _LSE_INSN, _LOR_INSN, RDMA_INSN, FF16_INSN, SF16_INSN, V8_2_INSN, + _SVE_INSN, V8_3_INSN, CNUM_INSN, RCPC_INSN, SHA2_INSN, AES_INSN, + V8_4_INSN, SHA3_INSN, SM4_INSN, FP16_V8_2_INSN, DOT_INSN): Initialize + constraints. + (_SVE_INSNC): New. + (struct aarch64_opcode): (fjcvtzs, ldpsw, ldpsw, esb, psb): Initialize + constraints. + (movprfx): Change _SVE_INSN into _SVE_INSNC, add C_SCAN_MOVPRFX and + F_SCAN flags. + (msb, mul, neg, not, orr, rbit, revb, revh, revw, sabd, scvtf, + sdiv, sdivr, sdot, smax, smin, smulh, splice, sqadd, sqdecd, sqdech, + sqdecp, sqdecw, sqincd, sqinch, sqincp, sqincw, sqsub, sub, subr, sxtb, + sxth, sxtw, uabd, ucvtf, udiv, udivr, udot, umax, umin, umulh, uqadd, + uqdecd, uqdech, uqdecp, uqdecw, uqincd, uqinch, uqincp, uqincw, uqsub, + uxtb, uxth, uxtw, bic, eon, orn, mov, fmov): Change _SVE_INSN into _SVE_INSNC and add + C_SCAN_MOVPRFX and C_MAX_ELEM constraints. + +2018-10-02 Palmer Dabbelt + + * riscv-opc.c (riscv_opcodes) : New opcode. + +2018-09-23 Sandra Loosemore + + * nios2-dis.c (nios2_print_insn_arg): Make sure signed conversions + are used when extracting signed fields and converting them to + potentially 64-bit types. + +2018-09-21 Simon Marchi + + * Makefile.am: Remove NO_WMISSING_FIELD_INITIALIZERS. + * Makefile.in: Re-generate. + * aclocal.m4: Re-generate. + * configure: Re-generate. + * configure.ac: Remove check for -Wno-missing-field-initializers. + * csky-opc.h (csky_v1_opcodes): Initialize all fields of last element. + (csky_v2_opcodes): Likewise. + +2018-09-20 Maciej W. Rozycki + + * arc-nps400-tbl.h: Append `ull' to large constants throughout. + +2018-09-20 Nelson Chu + + * nds32-asm.c (operand_fields): Remove the unused fields. + (nds32_opcodes): Remove the unused instructions. + * nds32-dis.c (nds32_ex9_info): Removed. + (nds32_parse_opcode): Updated. + (print_insn_nds32): Likewise. + * nds32-asm.c (config.h, stdlib.h, string.h): New includes. + (LEX_SET_FIELD, LEX_GET_FIELD): Update defines. + (nds32_asm_init, build_operand_hash_table, build_keyword_hash_table, + build_opcode_hash_table): New functions. + (nds32_keyword_table, nds32_keyword_count_table, nds32_field_table, + nds32_opcode_table): New. + (hw_ktabs): Declare it to a pointer rather than an array. + (build_hash_table): Removed. + * nds32-asm.h (enum): Add SYN_INPUT, SYN_OUTPUT, SYN_LOPT, + SYN_ROPT and upadte HW_GPR and HW_INT. + * nds32-dis.c (keywords): Remove const. + (match_field): New function. + (nds32_parse_opcode): Updated. + * disassemble.c (disassemble_init_for_target): + Add disassemble_init_nds32. + * nds32-dis.c (eum map_type): New. + (nds32_private_data): Likewise. + (get_mapping_symbol_type, is_mapping_symbol, nds32_symbol_is_valid, + nds32_add_opcode_hash_table, disassemble_init_nds32): New functions. + (print_insn_nds32): Updated. + * nds32-asm.c (parse_aext_reg): Add new parameter. + (parse_re, parse_re2, parse_aext_reg): Only reduced registers + are allowed to use. + All callers changed. + * nds32-asm.c (keyword_usr, keyword_sr): Updated. + (operand_fields): Add new fields. + (nds32_opcodes): Add new instructions. + (keyword_aridxi_mx): New keyword. + * nds32-asm.h (enum): Add NASM_ATTR_DSP_ISAEXT, HW_AEXT_ARIDXI_MX + and NASM_ATTR_ZOL. + (ALU2_1, ALU2_2, ALU2_3): New macros. + * nds32-dis.c (nds32_filter_unknown_insn): Updated. + +2018-09-17 Kito Cheng + + * riscv-opc.c (riscv_opcodes): Adjust the order of ble and bleu. + +2018-09-17 H.J. Lu + + PR gas/23670 + * i386-dis-evex.h (evex_table): Use EVEX_LEN_0F6E_P_2, + EVEX_LEN_0F7E_P_1, EVEX_LEN_0F7E_P_2 and EVEX_LEN_0FD6_P_2. + (EVEX_LEN_0F6E_P_2): New EVEX_LEN_TABLE entry. + (EVEX_LEN_0F7E_P_1): Likewise. + (EVEX_LEN_0F7E_P_2): Likewise. + (EVEX_LEN_0FD6_P_2): Likewise. + * i386-dis.c (USE_EVEX_LEN_TABLE): New. + (EVEX_LEN_TABLE): Likewise. + (EVEX_LEN_0F6E_P_2): New enum. + (EVEX_LEN_0F7E_P_1): Likewise. + (EVEX_LEN_0F7E_P_2): Likewise. + (EVEX_LEN_0FD6_P_2): Likewise. + (evex_len_table): New. + (get_valid_dis386): Handle USE_EVEX_LEN_TABLE. + * i386-opc.tbl: Set EVex=2 on EVEX.128 only vmovd and vmovq. + * i386-tbl.h: Regenerated. + +2018-09-17 H.J. Lu + + PR gas/23665 + * i386-dis.c (vex_len_table): Update VEX_LEN_0F6E_P_2 and + VEX_LEN_0F7E_P_2 entries. + * i386-opc.tbl: Set Vex=1 on VEX.128 only vmovd and vmovq. + * i386-tbl.h: Regenerated. + +2018-09-17 H.J. Lu + + * i386-dis.c (VZERO_Fixup): Removed. + (VZERO): Likewise. + (VEX_LEN_0F10_P_1): Likewise. + (VEX_LEN_0F10_P_3): Likewise. + (VEX_LEN_0F11_P_1): Likewise. + (VEX_LEN_0F11_P_3): Likewise. + (VEX_LEN_0F2E_P_0): Likewise. + (VEX_LEN_0F2E_P_2): Likewise. + (VEX_LEN_0F2F_P_0): Likewise. + (VEX_LEN_0F2F_P_2): Likewise. + (VEX_LEN_0F51_P_1): Likewise. + (VEX_LEN_0F51_P_3): Likewise. + (VEX_LEN_0F52_P_1): Likewise. + (VEX_LEN_0F53_P_1): Likewise. + (VEX_LEN_0F58_P_1): Likewise. + (VEX_LEN_0F58_P_3): Likewise. + (VEX_LEN_0F59_P_1): Likewise. + (VEX_LEN_0F59_P_3): Likewise. + (VEX_LEN_0F5A_P_1): Likewise. + (VEX_LEN_0F5A_P_3): Likewise. + (VEX_LEN_0F5C_P_1): Likewise. + (VEX_LEN_0F5C_P_3): Likewise. + (VEX_LEN_0F5D_P_1): Likewise. + (VEX_LEN_0F5D_P_3): Likewise. + (VEX_LEN_0F5E_P_1): Likewise. + (VEX_LEN_0F5E_P_3): Likewise. + (VEX_LEN_0F5F_P_1): Likewise. + (VEX_LEN_0F5F_P_3): Likewise. + (VEX_LEN_0FC2_P_1): Likewise. + (VEX_LEN_0FC2_P_3): Likewise. + (VEX_LEN_0F3A0A_P_2): Likewise. + (VEX_LEN_0F3A0B_P_2): Likewise. + (VEX_W_0F10_P_0): Likewise. + (VEX_W_0F10_P_1): Likewise. + (VEX_W_0F10_P_2): Likewise. + (VEX_W_0F10_P_3): Likewise. + (VEX_W_0F11_P_0): Likewise. + (VEX_W_0F11_P_1): Likewise. + (VEX_W_0F11_P_2): Likewise. + (VEX_W_0F11_P_3): Likewise. + (VEX_W_0F12_P_0_M_0): Likewise. + (VEX_W_0F12_P_0_M_1): Likewise. + (VEX_W_0F12_P_1): Likewise. + (VEX_W_0F12_P_2): Likewise. + (VEX_W_0F12_P_3): Likewise. + (VEX_W_0F13_M_0): Likewise. + (VEX_W_0F14): Likewise. + (VEX_W_0F15): Likewise. + (VEX_W_0F16_P_0_M_0): Likewise. + (VEX_W_0F16_P_0_M_1): Likewise. + (VEX_W_0F16_P_1): Likewise. + (VEX_W_0F16_P_2): Likewise. + (VEX_W_0F17_M_0): Likewise. + (VEX_W_0F28): Likewise. + (VEX_W_0F29): Likewise. + (VEX_W_0F2B_M_0): Likewise. + (VEX_W_0F2E_P_0): Likewise. + (VEX_W_0F2E_P_2): Likewise. + (VEX_W_0F2F_P_0): Likewise. + (VEX_W_0F2F_P_2): Likewise. + (VEX_W_0F50_M_0): Likewise. + (VEX_W_0F51_P_0): Likewise. + (VEX_W_0F51_P_1): Likewise. + (VEX_W_0F51_P_2): Likewise. + (VEX_W_0F51_P_3): Likewise. + (VEX_W_0F52_P_0): Likewise. + (VEX_W_0F52_P_1): Likewise. + (VEX_W_0F53_P_0): Likewise. + (VEX_W_0F53_P_1): Likewise. + (VEX_W_0F58_P_0): Likewise. + (VEX_W_0F58_P_1): Likewise. + (VEX_W_0F58_P_2): Likewise. + (VEX_W_0F58_P_3): Likewise. + (VEX_W_0F59_P_0): Likewise. + (VEX_W_0F59_P_1): Likewise. + (VEX_W_0F59_P_2): Likewise. + (VEX_W_0F59_P_3): Likewise. + (VEX_W_0F5A_P_0): Likewise. + (VEX_W_0F5A_P_1): Likewise. + (VEX_W_0F5A_P_3): Likewise. + (VEX_W_0F5B_P_0): Likewise. + (VEX_W_0F5B_P_1): Likewise. + (VEX_W_0F5B_P_2): Likewise. + (VEX_W_0F5C_P_0): Likewise. + (VEX_W_0F5C_P_1): Likewise. + (VEX_W_0F5C_P_2): Likewise. + (VEX_W_0F5C_P_3): Likewise. + (VEX_W_0F5D_P_0): Likewise. + (VEX_W_0F5D_P_1): Likewise. + (VEX_W_0F5D_P_2): Likewise. + (VEX_W_0F5D_P_3): Likewise. + (VEX_W_0F5E_P_0): Likewise. + (VEX_W_0F5E_P_1): Likewise. + (VEX_W_0F5E_P_2): Likewise. + (VEX_W_0F5E_P_3): Likewise. + (VEX_W_0F5F_P_0): Likewise. + (VEX_W_0F5F_P_1): Likewise. + (VEX_W_0F5F_P_2): Likewise. + (VEX_W_0F5F_P_3): Likewise. + (VEX_W_0F60_P_2): Likewise. + (VEX_W_0F61_P_2): Likewise. + (VEX_W_0F62_P_2): Likewise. + (VEX_W_0F63_P_2): Likewise. + (VEX_W_0F64_P_2): Likewise. + (VEX_W_0F65_P_2): Likewise. + (VEX_W_0F66_P_2): Likewise. + (VEX_W_0F67_P_2): Likewise. + (VEX_W_0F68_P_2): Likewise. + (VEX_W_0F69_P_2): Likewise. + (VEX_W_0F6A_P_2): Likewise. + (VEX_W_0F6B_P_2): Likewise. + (VEX_W_0F6C_P_2): Likewise. + (VEX_W_0F6D_P_2): Likewise. + (VEX_W_0F6F_P_1): Likewise. + (VEX_W_0F6F_P_2): Likewise. + (VEX_W_0F70_P_1): Likewise. + (VEX_W_0F70_P_2): Likewise. + (VEX_W_0F70_P_3): Likewise. + (VEX_W_0F71_R_2_P_2): Likewise. + (VEX_W_0F71_R_4_P_2): Likewise. + (VEX_W_0F71_R_6_P_2): Likewise. + (VEX_W_0F72_R_2_P_2): Likewise. + (VEX_W_0F72_R_4_P_2): Likewise. + (VEX_W_0F72_R_6_P_2): Likewise. + (VEX_W_0F73_R_2_P_2): Likewise. + (VEX_W_0F73_R_3_P_2): Likewise. + (VEX_W_0F73_R_6_P_2): Likewise. + (VEX_W_0F73_R_7_P_2): Likewise. + (VEX_W_0F74_P_2): Likewise. + (VEX_W_0F75_P_2): Likewise. + (VEX_W_0F76_P_2): Likewise. + (VEX_W_0F77_P_0): Likewise. + (VEX_W_0F7C_P_2): Likewise. + (VEX_W_0F7C_P_3): Likewise. + (VEX_W_0F7D_P_2): Likewise. + (VEX_W_0F7D_P_3): Likewise. + (VEX_W_0F7E_P_1): Likewise. + (VEX_W_0F7F_P_1): Likewise. + (VEX_W_0F7F_P_2): Likewise. + (VEX_W_0FAE_R_2_M_0): Likewise. + (VEX_W_0FAE_R_3_M_0): Likewise. + (VEX_W_0FC2_P_0): Likewise. + (VEX_W_0FC2_P_1): Likewise. + (VEX_W_0FC2_P_2): Likewise. + (VEX_W_0FC2_P_3): Likewise. + (VEX_W_0FD0_P_2): Likewise. + (VEX_W_0FD0_P_3): Likewise. + (VEX_W_0FD1_P_2): Likewise. + (VEX_W_0FD2_P_2): Likewise. + (VEX_W_0FD3_P_2): Likewise. + (VEX_W_0FD4_P_2): Likewise. + (VEX_W_0FD5_P_2): Likewise. + (VEX_W_0FD6_P_2): Likewise. + (VEX_W_0FD7_P_2_M_1): Likewise. + (VEX_W_0FD8_P_2): Likewise. + (VEX_W_0FD9_P_2): Likewise. + (VEX_W_0FDA_P_2): Likewise. + (VEX_W_0FDB_P_2): Likewise. + (VEX_W_0FDC_P_2): Likewise. + (VEX_W_0FDD_P_2): Likewise. + (VEX_W_0FDE_P_2): Likewise. + (VEX_W_0FDF_P_2): Likewise. + (VEX_W_0FE0_P_2): Likewise. + (VEX_W_0FE1_P_2): Likewise. + (VEX_W_0FE2_P_2): Likewise. + (VEX_W_0FE3_P_2): Likewise. + (VEX_W_0FE4_P_2): Likewise. + (VEX_W_0FE5_P_2): Likewise. + (VEX_W_0FE6_P_1): Likewise. + (VEX_W_0FE6_P_2): Likewise. + (VEX_W_0FE6_P_3): Likewise. + (VEX_W_0FE7_P_2_M_0): Likewise. + (VEX_W_0FE8_P_2): Likewise. + (VEX_W_0FE9_P_2): Likewise. + (VEX_W_0FEA_P_2): Likewise. + (VEX_W_0FEB_P_2): Likewise. + (VEX_W_0FEC_P_2): Likewise. + (VEX_W_0FED_P_2): Likewise. + (VEX_W_0FEE_P_2): Likewise. + (VEX_W_0FEF_P_2): Likewise. + (VEX_W_0FF0_P_3_M_0): Likewise. + (VEX_W_0FF1_P_2): Likewise. + (VEX_W_0FF2_P_2): Likewise. + (VEX_W_0FF3_P_2): Likewise. + (VEX_W_0FF4_P_2): Likewise. + (VEX_W_0FF5_P_2): Likewise. + (VEX_W_0FF6_P_2): Likewise. + (VEX_W_0FF7_P_2): Likewise. + (VEX_W_0FF8_P_2): Likewise. + (VEX_W_0FF9_P_2): Likewise. + (VEX_W_0FFA_P_2): Likewise. + (VEX_W_0FFB_P_2): Likewise. + (VEX_W_0FFC_P_2): Likewise. + (VEX_W_0FFD_P_2): Likewise. + (VEX_W_0FFE_P_2): Likewise. + (VEX_W_0F3800_P_2): Likewise. + (VEX_W_0F3801_P_2): Likewise. + (VEX_W_0F3802_P_2): Likewise. + (VEX_W_0F3803_P_2): Likewise. + (VEX_W_0F3804_P_2): Likewise. + (VEX_W_0F3805_P_2): Likewise. + (VEX_W_0F3806_P_2): Likewise. + (VEX_W_0F3807_P_2): Likewise. + (VEX_W_0F3808_P_2): Likewise. + (VEX_W_0F3809_P_2): Likewise. + (VEX_W_0F380A_P_2): Likewise. + (VEX_W_0F380B_P_2): Likewise. + (VEX_W_0F3817_P_2): Likewise. + (VEX_W_0F381C_P_2): Likewise. + (VEX_W_0F381D_P_2): Likewise. + (VEX_W_0F381E_P_2): Likewise. + (VEX_W_0F3820_P_2): Likewise. + (VEX_W_0F3821_P_2): Likewise. + (VEX_W_0F3822_P_2): Likewise. + (VEX_W_0F3823_P_2): Likewise. + (VEX_W_0F3824_P_2): Likewise. + (VEX_W_0F3825_P_2): Likewise. + (VEX_W_0F3828_P_2): Likewise. + (VEX_W_0F3829_P_2): Likewise. + (VEX_W_0F382A_P_2_M_0): Likewise. + (VEX_W_0F382B_P_2): Likewise. + (VEX_W_0F3830_P_2): Likewise. + (VEX_W_0F3831_P_2): Likewise. + (VEX_W_0F3832_P_2): Likewise. + (VEX_W_0F3833_P_2): Likewise. + (VEX_W_0F3834_P_2): Likewise. + (VEX_W_0F3835_P_2): Likewise. + (VEX_W_0F3837_P_2): Likewise. + (VEX_W_0F3838_P_2): Likewise. + (VEX_W_0F3839_P_2): Likewise. + (VEX_W_0F383A_P_2): Likewise. + (VEX_W_0F383B_P_2): Likewise. + (VEX_W_0F383C_P_2): Likewise. + (VEX_W_0F383D_P_2): Likewise. + (VEX_W_0F383E_P_2): Likewise. + (VEX_W_0F383F_P_2): Likewise. + (VEX_W_0F3840_P_2): Likewise. + (VEX_W_0F3841_P_2): Likewise. + (VEX_W_0F38DB_P_2): Likewise. + (VEX_W_0F3A08_P_2): Likewise. + (VEX_W_0F3A09_P_2): Likewise. + (VEX_W_0F3A0A_P_2): Likewise. + (VEX_W_0F3A0B_P_2): Likewise. + (VEX_W_0F3A0C_P_2): Likewise. + (VEX_W_0F3A0D_P_2): Likewise. + (VEX_W_0F3A0E_P_2): Likewise. + (VEX_W_0F3A0F_P_2): Likewise. + (VEX_W_0F3A21_P_2): Likewise. + (VEX_W_0F3A40_P_2): Likewise. + (VEX_W_0F3A41_P_2): Likewise. + (VEX_W_0F3A42_P_2): Likewise. + (VEX_W_0F3A62_P_2): Likewise. + (VEX_W_0F3A63_P_2): Likewise. + (VEX_W_0F3ADF_P_2): Likewise. + (VEX_LEN_0F77_P_0): New. + (prefix_table): Update PREFIX_VEX_0F10, PREFIX_VEX_0F11, + PREFIX_VEX_0F12, PREFIX_VEX_0F16, PREFIX_VEX_0F2E, + PREFIX_VEX_0F2F, PREFIX_VEX_0F51, PREFIX_VEX_0F52, + PREFIX_VEX_0F53, PREFIX_VEX_0F58, PREFIX_VEX_0F59, + PREFIX_VEX_0F5A, PREFIX_VEX_0F5B, PREFIX_VEX_0F5C, + PREFIX_VEX_0F5D, PREFIX_VEX_0F5E, PREFIX_VEX_0F5F, + PREFIX_VEX_0F60, PREFIX_VEX_0F61, PREFIX_VEX_0F62, + PREFIX_VEX_0F63, PREFIX_VEX_0F64, PREFIX_VEX_0F65, + PREFIX_VEX_0F66, PREFIX_VEX_0F67, PREFIX_VEX_0F68, + PREFIX_VEX_0F69, PREFIX_VEX_0F6A, PREFIX_VEX_0F6B, + PREFIX_VEX_0F6C, PREFIX_VEX_0F6D, PREFIX_VEX_0F6F, + PREFIX_VEX_0F70, PREFIX_VEX_0F71_REG_2, PREFIX_VEX_0F71_REG_4, + PREFIX_VEX_0F71_REG_6, PREFIX_VEX_0F72_REG_4, + PREFIX_VEX_0F72_REG_6, PREFIX_VEX_0F73_REG_2, + PREFIX_VEX_0F73_REG_3, PREFIX_VEX_0F73_REG_6, + PREFIX_VEX_0F73_REG_7, PREFIX_VEX_0F74, PREFIX_VEX_0F75, + PREFIX_VEX_0F76, PREFIX_VEX_0F77, PREFIX_VEX_0F7C, + PREFIX_VEX_0F7D, PREFIX_VEX_0F7F, PREFIX_VEX_0FC2, + PREFIX_VEX_0FD0, PREFIX_VEX_0FD1, PREFIX_VEX_0FD2, + PREFIX_VEX_0FD3, PREFIX_VEX_0FD4, PREFIX_VEX_0FD5, + PREFIX_VEX_0FD8, PREFIX_VEX_0FD9, PREFIX_VEX_0FDA, + PREFIX_VEX_0FDC, PREFIX_VEX_0FDD, PREFIX_VEX_0FDE, + PREFIX_VEX_0FDF, PREFIX_VEX_0FE0, PREFIX_VEX_0FE1, + PREFIX_VEX_0FE2, PREFIX_VEX_0FE3, PREFIX_VEX_0FE4, + PREFIX_VEX_0FE5, PREFIX_VEX_0FE6, PREFIX_VEX_0FE8, + PREFIX_VEX_0FE9, PREFIX_VEX_0FEA, PREFIX_VEX_0FEB, + PREFIX_VEX_0FEC, PREFIX_VEX_0FED, PREFIX_VEX_0FEE, + PREFIX_VEX_0FEF, PREFIX_VEX_0FF1. PREFIX_VEX_0FF2, + PREFIX_VEX_0FF3, PREFIX_VEX_0FF4, PREFIX_VEX_0FF5, + PREFIX_VEX_0FF6, PREFIX_VEX_0FF8, PREFIX_VEX_0FF9, + PREFIX_VEX_0FFA, PREFIX_VEX_0FFB, PREFIX_VEX_0FFC, + PREFIX_VEX_0FFD, PREFIX_VEX_0FFE, PREFIX_VEX_0F3800, + PREFIX_VEX_0F3801, PREFIX_VEX_0F3802, PREFIX_VEX_0F3803, + PREFIX_VEX_0F3804, PREFIX_VEX_0F3805, PREFIX_VEX_0F3806, + PREFIX_VEX_0F3807, PREFIX_VEX_0F3808, PREFIX_VEX_0F3809, + PREFIX_VEX_0F380A, PREFIX_VEX_0F380B, PREFIX_VEX_0F3817, + PREFIX_VEX_0F381C, PREFIX_VEX_0F381D, PREFIX_VEX_0F381E, + PREFIX_VEX_0F3820, PREFIX_VEX_0F3821, PREFIX_VEX_0F3822, + PREFIX_VEX_0F3823, PREFIX_VEX_0F3824, PREFIX_VEX_0F3825, + PREFIX_VEX_0F3828, PREFIX_VEX_0F3829, PREFIX_VEX_0F382B, + PREFIX_VEX_0F382C, PREFIX_VEX_0F3831, PREFIX_VEX_0F3832, + PREFIX_VEX_0F3833, PREFIX_VEX_0F3834, PREFIX_VEX_0F3835, + PREFIX_VEX_0F3837, PREFIX_VEX_0F3838, PREFIX_VEX_0F3839, + PREFIX_VEX_0F383A, PREFIX_VEX_0F383B, PREFIX_VEX_0F383C, + PREFIX_VEX_0F383D, PREFIX_VEX_0F383E, PREFIX_VEX_0F383F, + PREFIX_VEX_0F3840, PREFIX_VEX_0F3A08, PREFIX_VEX_0F3A09, + PREFIX_VEX_0F3A0A, PREFIX_VEX_0F3A0B, PREFIX_VEX_0F3A0C, + PREFIX_VEX_0F3A0D, PREFIX_VEX_0F3A0E, PREFIX_VEX_0F3A0F, + PREFIX_VEX_0F3A40 and PREFIX_VEX_0F3A42 entries. + (vex_table): Update VEX 0F28 and 0F29 entries. + (vex_len_table): Update VEX_LEN_0F10_P_1, VEX_LEN_0F10_P_3, + VEX_LEN_0F11_P_1, VEX_LEN_0F11_P_3, VEX_LEN_0F2E_P_0, + VEX_LEN_0F2E_P_2, VEX_LEN_0F2F_P_0, VEX_LEN_0F2F_P_2, + VEX_LEN_0F51_P_1, VEX_LEN_0F51_P_3, VEX_LEN_0F52_P_1, + VEX_LEN_0F53_P_1, VEX_LEN_0F58_P_1, VEX_LEN_0F58_P_3, + VEX_LEN_0F59_P_1, VEX_LEN_0F59_P_3, VEX_LEN_0F5A_P_1, + VEX_LEN_0F5A_P_3, VEX_LEN_0F5C_P_1, VEX_LEN_0F5C_P_3, + VEX_LEN_0F5D_P_1, VEX_LEN_0F5D_P_3, VEX_LEN_0F5E_P_1, + VEX_LEN_0F5E_P_3, VEX_LEN_0F5F_P_1, VEX_LEN_0F5F_P_3, + VEX_LEN_0FC2_P_1, VEX_LEN_0FC2_P_3, VEX_LEN_0F3A0A_P_2 and + VEX_LEN_0F3A0B_P_2 entries. + (vex_w_table): Remove VEX_W_0F10_P_0, VEX_W_0F10_P_1, + VEX_W_0F10_P_2, VEX_W_0F10_P_3, VEX_W_0F11_P_0, VEX_W_0F11_P_1, + VEX_W_0F11_P_2, VEX_W_0F11_P_3, VEX_W_0F12_P_0_M_0, + VEX_W_0F12_P_0_M_1, VEX_W_0F12_P_1, VEX_W_0F12_P_2, + VEX_W_0F12_P_3, VEX_W_0F13_M_0, VEX_W_0F14, VEX_W_0F15, + VEX_W_0F16_P_0_M_0, VEX_W_0F16_P_0_M_1, VEX_W_0F16_P_1, + VEX_W_0F16_P_2, VEX_W_0F17_M_0, VEX_W_0F28, VEX_W_0F29, + VEX_W_0F2B_M_0, VEX_W_0F2E_P_0, VEX_W_0F2E_P_2, VEX_W_0F2F_P_0, + VEX_W_0F2F_P_2, VEX_W_0F50_M_0, VEX_W_0F51_P_0, VEX_W_0F51_P_1, + VEX_W_0F51_P_2, VEX_W_0F51_P_3, VEX_W_0F52_P_0, VEX_W_0F52_P_1, + VEX_W_0F53_P_0, VEX_W_0F53_P_1, VEX_W_0F58_P_0, VEX_W_0F58_P_1, + VEX_W_0F58_P_2, VEX_W_0F58_P_3, VEX_W_0F59_P_0, VEX_W_0F59_P_1, + VEX_W_0F59_P_2, VEX_W_0F59_P_3, VEX_W_0F5A_P_0, VEX_W_0F5A_P_1, + VEX_W_0F5A_P_3, VEX_W_0F5B_P_0, VEX_W_0F5B_P_1, VEX_W_0F5B_P_2, + VEX_W_0F5C_P_0, VEX_W_0F5C_P_1, VEX_W_0F5C_P_2, VEX_W_0F5C_P_3, + VEX_W_0F5D_P_0, VEX_W_0F5D_P_1, VEX_W_0F5D_P_2, VEX_W_0F5D_P_3, + VEX_W_0F5E_P_0, VEX_W_0F5E_P_1, VEX_W_0F5E_P_2, VEX_W_0F5E_P_3, + VEX_W_0F5F_P_0, VEX_W_0F5F_P_1, VEX_W_0F5F_P_2, VEX_W_0F5F_P_3, + VEX_W_0F60_P_2, VEX_W_0F61_P_2, VEX_W_0F62_P_2, VEX_W_0F63_P_2, + VEX_W_0F64_P_2, VEX_W_0F65_P_2, VEX_W_0F66_P_2, VEX_W_0F67_P_2, + VEX_W_0F68_P_2, VEX_W_0F69_P_2, VEX_W_0F6A_P_2, VEX_W_0F6B_P_2, + VEX_W_0F6C_P_2, VEX_W_0F6D_P_2, VEX_W_0F6F_P_1, VEX_W_0F6F_P_2, + VEX_W_0F70_P_1, VEX_W_0F70_P_2, VEX_W_0F70_P_3, + VEX_W_0F71_R_2_P_2, VEX_W_0F71_R_4_P_2, VEX_W_0F71_R_6_P_2, + VEX_W_0F72_R_2_P_2, VEX_W_0F72_R_4_P_2, VEX_W_0F72_R_6_P_2, + VEX_W_0F73_R_2_P_2, VEX_W_0F73_R_3_P_2, VEX_W_0F73_R_6_P_2, + VEX_W_0F73_R_7_P_2, VEX_W_0F74_P_2, VEX_W_0F75_P_2, + VEX_W_0F76_P_2, VEX_W_0F77_P_0, VEX_W_0F7C_P_2, VEX_W_0F7C_P_3, + VEX_W_0F7D_P_2, VEX_W_0F7D_P_3, VEX_W_0F7E_P_1, VEX_W_0F7F_P_1, + VEX_W_0F7F_P_2, VEX_W_0FAE_R_2_M_0, VEX_W_0FAE_R_3_M_0, + VEX_W_0FC2_P_0, VEX_W_0FC2_P_1, VEX_W_0FC2_P_2, VEX_W_0FC2_P_3, + VEX_W_0FD0_P_2, VEX_W_0FD0_P_3, VEX_W_0FD1_P_2, VEX_W_0FD2_P_2, + VEX_W_0FD3_P_2, VEX_W_0FD4_P_2, VEX_W_0FD5_P_2, VEX_W_0FD6_P_2, + VEX_W_0FD7_P_2_M_1, VEX_W_0FD8_P_2, VEX_W_0FD9_P_2, + VEX_W_0FDA_P_2, VEX_W_0FDB_P_2, VEX_W_0FDC_P_2, VEX_W_0FDD_P_2, + VEX_W_0FDE_P_2, VEX_W_0FDF_P_2, VEX_W_0FE0_P_2, VEX_W_0FE1_P_2, + VEX_W_0FE2_P_2, VEX_W_0FE3_P_2, VEX_W_0FE4_P_2, VEX_W_0FE5_P_2, + VEX_W_0FE6_P_1, VEX_W_0FE6_P_2, VEX_W_0FE6_P_3, + VEX_W_0FE7_P_2_M_0, VEX_W_0FE8_P_2, VEX_W_0FE9_P_2, + VEX_W_0FEA_P_2, VEX_W_0FEB_P_2, VEX_W_0FEC_P_2, VEX_W_0FED_P_2, + VEX_W_0FEE_P_2, VEX_W_0FEF_P_2, VEX_W_0FF0_P_3_M_0, + VEX_W_0FF1_P_2, VEX_W_0FF2_P_2, VEX_W_0FF3_P_2, VEX_W_0FF4_P_2, + VEX_W_0FF5_P_2, VEX_W_0FF6_P_2, VEX_W_0FF7_P_2, VEX_W_0FF8_P_2, + VEX_W_0FF9_P_2, VEX_W_0FFA_P_2, VEX_W_0FFB_P_2, VEX_W_0FFC_P_2, + VEX_W_0FFD_P_2, VEX_W_0FFE_P_2, VEX_W_0F3800_P_2, + VEX_W_0F3801_P_2, VEX_W_0F3802_P_2, VEX_W_0F3803_P_2, + VEX_W_0F3804_P_2, VEX_W_0F3805_P_2, VEX_W_0F3806_P_2, + VEX_W_0F3807_P_2, VEX_W_0F3808_P_2, VEX_W_0F3809_P_2, + VEX_W_0F380A_P_2, VEX_W_0F380B_P_2, VEX_W_0F3817_P_2, + VEX_W_0F381C_P_2, VEX_W_0F381D_P_2, VEX_W_0F381E_P_2, + VEX_W_0F3820_P_2, VEX_W_0F3821_P_2, VEX_W_0F3822_P_2, + VEX_W_0F3823_P_2, VEX_W_0F3824_P_2, VEX_W_0F3825_P_2, + VEX_W_0F3828_P_2, VEX_W_0F3829_P_2, VEX_W_0F382A_P_2_M_0, + VEX_W_0F382B_P_2, VEX_W_0F3830_P_2, VEX_W_0F3831_P_2, + VEX_W_0F3832_P_2, VEX_W_0F3833_P_2, VEX_W_0F3834_P_2, + VEX_W_0F3835_P_2, VEX_W_0F3837_P_2, VEX_W_0F3838_P_2, + VEX_W_0F3839_P_2, VEX_W_0F383A_P_2, VEX_W_0F383B_P_2, + VEX_W_0F383C_P_2, VEX_W_0F383D_P_2, VEX_W_0F383E_P_2, + VEX_W_0F383F_P_2, VEX_W_0F3840_P_2, VEX_W_0F3841_P_2, + VEX_W_0F38DB_P_2, VEX_W_0F3A08_P_2, VEX_W_0F3A09_P_2, + VEX_W_0F3A0A_P_2, VEX_W_0F3A0B_P_2, VEX_W_0F3A0C_P_2, + VEX_W_0F3A0D_P_2, VEX_W_0F3A0E_P_2, VEX_W_0F3A0F_P_2, + VEX_W_0F3A21_P_2, VEX_W_0F3A40_P_2, VEX_W_0F3A41_P_2, + VEX_W_0F3A42_P_2, VEX_W_0F3A62_P_2, VEX_W_0F3A63_P_2 and + VEX_W_0F3ADF_P_2 entries. + (mod_table): Update MOD_VEX_0F2B, MOD_VEX_0F50, + MOD_VEX_0FD7_PREFIX_2, MOD_VEX_0FE7_PREFIX_2, + MOD_VEX_0FF0_PREFIX_3 and MOD_VEX_0F382A_PREFIX_2 entries. + +2018-09-17 H.J. Lu + + * i386-opc.tbl (VexWIG): New. + Replace VexW=3 with VexWIG. + +2018-09-15 H.J. Lu + + * i386-opc.tbl: Set VexW=3 on AVX vrsqrtss. + * i386-tbl.h: Regenerated. + +2018-09-15 H.J. Lu + + PR gas/23665 + * i386-dis.c (vex_len_table): Update VEX_LEN_0F7E_P_1 and + VEX_LEN_0FD6_P_2 entries. + * i386-opc.tbl: Set Vex=1 on VEX.128 only vmovq. + * i386-tbl.h: Regenerated. + +2018-09-14 H.J. Lu + + PR gas/23642 + * i386-opc.h (VEXWIG): New. + * i386-opc.tbl: Set VexW=3 on VEX/EVEX WIG instructions. + * i386-tbl.h: Regenerated. + +2018-09-14 H.J. Lu + + PR binutils/23655 + * i386-dis-evex.h: Replace EXxEVexR with EXxEVexR64 for + vcvtsi2sd%LQ and vcvtusi2sd%LQ. + * i386-dis.c (EXxEVexR64): New. + (evex_rounding_64_mode): Likewise. + (OP_Rounding): Handle evex_rounding_64_mode. + +2018-09-14 H.J. Lu + + PR binutils/23655 + * i386-dis-evex.h (evex_table): Replace Eq with Edqa for + vcvtsi2ss%LQ, vcvtsi2sd%LQ, vcvtusi2ss%LQ and vcvtusi2sd%LQ. + * i386-dis.c (Edqa): New. + (dqa_mode): Likewise. + (intel_operand_size): Handle dqa_mode as m_mode. + (OP_E_register): Handle dqa_mode as dq_mode. + (OP_E_memory): Set shift for dqa_mode based on address_mode. + +2018-09-14 H.J. Lu + + * i386-dis.c (OP_E_memory): Reformat. + +2018-09-14 Jan Beulich + + * i386-opc.tbl (crc32): Fold byte and word forms. + * i386-tbl.h: Re-generate. + +2018-09-13 H.J. Lu + + * i386-opc.tbl: Add VexW=1 to VEX.W0 VEX movd, cvtsi2ss, cvtsi2sd, + pextrd, pinsrd, vcvtsi2sd, vcvtsi2ss, vmovd, vpextrd and vpinsrd. + Add VexW=2 to VEX.W1 VEX movq, pextrq, pinsrq, vmovq, vpextrq and + vpinsrq. Remove VexW=1 from WIG VEX movq and vmovq. + * i386-tbl.h: Regenerated. + +2018-09-13 Jan Beulich + + * i386-opc.tbl (mov, movq, movdir64b): Drop IgnoreSize where + meaningless. + (invept, invvpid, vcvtph2ps, vcvtps2ph, bndmov, xrstors, + xrstors64, xsaves, xsaves64, xsavec, xsavec64, rdpid, incsspq, + rdsspq, saveprevssp, setssbsy, endbr32, endbr64): Drop IgnoreSize. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from AVX512_4FMAPS and + AVX512_4VNNIW insns. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from AVX512DQ insns where + meaningless. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from AVX512BW insns where + meaningless. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from AVX512VL insns where + meaningless. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from AVX512ER insns where + meaningless. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from AVX512F insns where + meaningless. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from SHA insns. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from XOP and SSE4a insns. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from AVX2 insns where + meaningless. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from AVX insns where + meaningless. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from GNFI insns. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from PCLMUL/VPCLMUL insns. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from AES/VAES insns. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from SSE4.2 insns where + meaningless. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from SSE4.1 insns where + meaningless. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from SSSE3 insns where + meaningless. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from SSE3 insns where meaningless. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from SSE2 insns where meaningless. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl: Drop IgnoreSize from SSE insns where meaningless. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl (crc32, incsspq, rdsspq): Drop Rex64. + (vpbroadcastw, rdpid): Drop NoRex64. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl (vmovsd, vmovss): Fold register form load and + store templates, adding D. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-opc.tbl (bndmov, kmovb, kmovd, kmovq, kmovw, movapd, + movaps, movd, movdqa, movdqu, movhpd, movhps, movlpd, movlps, + movq, movsd, movss, movupd, movups, vmovapd, vmovaps, vmovd, + vmovdqa, vmovdqa32, vmovdqa64, vmovdqu, vmovdqu16, vmovdqu32, + vmovdqu64, vmovdqu8, vmovq, vmovsd, vmovss, vmovupd, vmovups): + Fold load and store templates where possible, adding D. Drop + IgnoreSize where it was pointlessly present. Drop redundant + *word. + * i386-tbl.h: Re-generate. + +2018-09-13 Jan Beulich + + * i386-dis.c (Mv_bnd, v_bndmk_mode): New. + (mod_table): Use Mv_bnd for bndldx, bndstx, and bndmk. + (intel_operand_size): Handle v_bndmk_mode. + (OP_E_memory): Likewise. Produce (bad) when also riprel. + +2018-09-08 John Darrington + + * disassemble.c (ARCH_s12z): Define if ARCH_all. + +2018-08-31 Kito Cheng + + * riscv-opc.c (riscv_opcodes): Fix incorrect subset info for + compressed floating point instructions. + +2018-08-30 Kito Cheng + + * riscv-dis.c (riscv_disassemble_insn): Check XLEN by + riscv_opcode.xlen_requirement. + * riscv-opc.c (riscv_opcodes): Update for struct change. + +2018-08-29 Martin Aberg + + * sparc-opc.c (sparc_opcodes): Add Leon specific partial write + psr (PWRPSR) instruction. + +2018-08-29 Chenghua Xu + + * mips-dis.c (mips_arch_choices): Add gs264e descriptors. + +2018-08-29 Chenghua Xu + + * mips-dis.c (mips_arch_choices): Add gs464e descriptors. + +2018-08-29 Chenghua Xu + + * mips-dis.c (mips_arch_choices): Add gs464 descriptors, Keep + loongson3a as an alias of gs464 for compatibility. + * mips-opc.c (mips_opcodes): Change Comments. + +2018-08-29 Chenghua Xu + + * mips-dis.c (parse_mips_ase_option): Handle -M loongson-ext + option. + (print_mips_disassembler_options): Document -M loongson-ext. + * mips-opc.c (LEXT2): New macro. + (mips_opcodes): Add cto, ctz, dcto, dctz instructions. + +2018-08-29 Chenghua Xu + + * mips-dis.c (mips_arch_choices): Add EXT to loongson3a + descriptors. + (parse_mips_ase_option): Handle -M loongson-ext option. + (print_mips_disassembler_options): Document -M loongson-ext. + * mips-opc.c (IL3A): Delete. + * mips-opc.c (LEXT): New macro. + (mips_opcodes): Replace IL2F|IL3A marking with LEXT for EXT + instructions. + +2018-08-29 Chenghua Xu + + * mips-dis.c (mips_arch_choices): Add CAM to loongson3a + descriptors. + (parse_mips_ase_option): Handle -M loongson-cam option. + (print_mips_disassembler_options): Document -M loongson-cam. + * mips-opc.c (LCAM): New macro. + (mips_opcodes): Replace IL2F|IL3A marking with LCAM for CAM + instructions. + +2018-08-21 Alan Modra + + * ppc-dis.c (operand_value_powerpc): Init "invalid". + (skip_optional_operands): Count optional operands, and update + ppc_optional_operand_value call. + * ppc-opc.c (extract_dxdn): Remove ATTRIBUTE_UNUSED from used arg. + (extract_vlensi): Likewise. + (extract_fxm): Return default value for missing optional operand. + (extract_ls, extract_raq, extract_tbr): Likewise. + (insert_sxl, extract_sxl): New functions. + (insert_esync, extract_esync): Remove Power9 handling and simplify. + (powerpc_operands ): Delete PPC_OPERAND_OPTIONAL_VALUE + flag and extra entry. + (powerpc_operands ): Likewise, and use insert_sxl and + extract_sxl. + +2018-08-20 Alan Modra + + * sh-opc.h (MASK): Simplify. + +2018-08-18 John Darrington + + * s12z-dis.c (bm_decode): Deal with cases where the mode is + BM_RESERVED0 or BM_RESERVED1 + (bm_rel_decode, bm_n_bytes): Ditto. + +2018-08-18 John Darrington + + * s12z.h: Delete. + +2018-08-14 H.J. Lu + + * i386-dis.c (OP_E_memory): In 64-bit mode, display eiz for + address with the addr32 prefix and without base nor index + registers. + +2018-08-11 H.J. Lu + + * i386-gen.c (cpu_flag_init): Add CpuCMOV and CpuFXSR to + CPU_I686_FLAGS. Add CPU_CMOV_FLAGS, CPU_FXSR_FLAGS, + CPU_ANY_CMOV_FLAGS and CPU_ANY_FXSR_FLAGS. + (cpu_flags): Add CpuCMOV and CpuFXSR. + * i386-opc.tbl: Replace Cpu686 with CpuFXSR on fxsave, fxsave64, + fxrstor and fxrstor64. Replace Cpu686 with CpuCMOV on cmovCC. + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + +2018-08-06 Claudiu Zissulescu + + * arc-regs.h: Update auxiliary registers. + +2018-08-06 Jan Beulich + + * i386-opc.h (RegRip, RegEip, RegEiz, RegRiz): Drop defines. + (RegIP, RegIZ): Define. + * i386-reg.tbl: Adjust comments. + (rip): Use Qword instead of BaseIndex. Use RegIP. + (eip): Use Dword instead of BaseIndex. Use RegIP. + (riz): Add Qword. Use RegIZ. + (eiz): Add Dword. Use RegIZ. + * i386-tbl.h: Re-generate. + +2018-08-03 Jan Beulich + + * i386-opc.tbl (pmovsxbw, pmovsxdq, pmovsxwd, pmovzxbw, + pmovzxdq, pmovzxwd, vpmovsxbw, vpmovsxdq, vpmovsxwd, vpmovzxbw, + vpmovzxdq, vpmovzxwd): Remove NoRex64. + * i386-tbl.h: Re-generate. + +2018-08-03 Jan Beulich + + * i386-gen.c (operand_types): Remove Mem field. + * i386-opc.h (union i386_operand_type): Remove mem field. + * i386-init.h, i386-tbl.h: Re-generate. + +2018-08-01 Alan Modra + + * po/POTFILES.in: Regenerate. + +2018-07-31 Nick Clifton + + * po/sv.po: Updated Swedish translation. + +2018-07-31 Jan Beulich + + * i386-opc.tbl (kandnd, kandnq, kxord, kxorq): Add Optimize. + * i386-init.h, i386-tbl.h: Re-generate. + +2018-07-31 Jan Beulich + + * i386-opc.h (ZEROING_MASKING) Rename to ... + (DYNAMIC_MASKING): ... this. Adjust comment. + * i386-opc.tbl (MaskingMorZ): Define. + (vcompresspd, vcompressps, vcvtps2ph, vextractf32x4, + vextractf32x8, vextractf64x2, vextractf64x4, vextracti32x4, + vextracti32x8, vextracti64x2, vextracti64x4, vmovapd, vmovaps, + vmovdqa32, vmovdqa64, vmovdqu8, vmovdqu16, vmovdqu32, vmovdqu64, + vmovupd, vmovups, vpcompressb, vpcompressw, vpcompressd, + vpcompressq, vpmovdb, vpmovdw, vpmovqb, vpmovqd, vpmovqw, + vpmovsdb, vpmovsdw, vpmovsqb, vpmovsqd, vpmovsqw, vpmovswb, + vpmovusdb, vpmovusdw, vpmovusqb, vpmovusqd, vpmovusqw, + vpmovuswb, vpmovwb): Fold AVX512 register and memory forms. + +2018-07-31 Jan Beulich + + * i386-opc.tbl: Use element rather than vector size for AVX512* + scatter/gather insns. + * i386-tbl.h: Re-generate. + +2018-07-31 Jan Beulich + + * i386-gen.c (cpu_flag_init): Drop CpuVREX uses. + (cpu_flags): Drop CpuVREX. + * i386-opc.h (CpuVREX): Delete. + (union i386_cpu_flags): Remove cpuvrex. + * i386-init.h, i386-tbl.h: Re-generate. + +2018-07-30 Jim Wilson + + * riscv-dis.c (riscv_disassemble_insn): Set insn_type and data_size + fields. + * riscv-opc.c (riscv_opcodes): Use new INSN_* flags to annotate insns. + +2018-07-30 Andrew Jenner + + * Makefile.am (TARGET_LIBOPCODES_CFILES): Add csky-dis.c. + * Makefile.in: Regenerated. + * configure.ac: Add C-SKY. + * configure: Regenerated. + * csky-dis.c: New file. + * csky-opc.h: New file. + * disassemble.c (ARCH_csky): Define. + (disassembler, disassemble_init_for_target): Add case for ARCH_csky. + * disassemble.h (print_insn_csky, csky_get_disassembler): Declare. + +2018-07-27 Alan Modra + + * ppc-opc.c (insert_sprbat): Correct function parameter and + return type. + (extract_sprbat): Likewise, variable too. + +2018-07-26 Alex Chadwick + Alan Modra + + * ppc-dis.c (ppc_opts): Add -mgekko and -mbroadway. + (powerpc_init_dialect): Handle bfd_mach_ppc_750. + * ppc-opc.c (insert_sprbat, extract_sprbat): New functions to + support disjointed BAT. + (powerpc_operands): Allow extra bit in SPRBAT_MASK. Add SPRGQR. + (XSPRGQR_MASK, GEKKO, BROADWAY): Define. + (powerpc_opcodes): Add 750cl extended mnemonics for spr access. + +2018-07-25 H.J. Lu + Igor Tsimbalist + + * i386-gen.c (adjust_broadcast_modifier): New function. + (process_i386_opcode_modifier): Add an argument for operands. + Adjust the Broadcast value based on operands. + (output_i386_opcode): Pass operand_types to + process_i386_opcode_modifier. + (process_i386_opcodes): Pass NULL as operands to + process_i386_opcode_modifier. + * i386-opc.h (BYTE_BROADCAST): New. + (WORD_BROADCAST): Likewise. + (DWORD_BROADCAST): Likewise. + (QWORD_BROADCAST): Likewise. + (i386_opcode_modifier): Expand broadcast to 3 bits. + * i386-tbl.h: Regenerated. + +2018-07-24 Alan Modra + + PR 23430 + * or1k-desc.h: Regenerate. + +2018-07-24 Jan Beulich + + * i386-dis-evex.h (evex_table): Add %LQ to vcvtsi2ss, vcvtsi2sd, + vcvtusi2ss, and vcvtusi2sd. + * i386-opc.tbl (vcvtsi2sd, vcvtusi2sd, vcvtsi2ss, vcvtusi2ss): + Convert AVX512F variants to distinct CpuNo64 and Cpu64 forms. + * i386-tbl.h: Re-generate. + +2018-07-23 Claudiu Zissulescu + + * arc-opc.c (extract_w6): Fix extending the sign. + +2018-07-23 Claudiu Zissulescu + + * arc-tbl.h (vewt): Allow it for ARC EM family. + +2018-07-23 Alan Modra + + PR 23419 + * ppc-opc.c (powerpc_opcodes): Add mtupmc/mfupmc/mfpmc extended + opcode variants for mtspr/mfspr encodings. + +2018-07-20 Chenghua Xu + Maciej W. Rozycki + + * mips-dis.c (mips_arch_choices): Add MMI to loongson2f and + loongson3a descriptors. + (parse_mips_ase_option): Handle -M loongson-mmi option. + (print_mips_disassembler_options): Document -M loongson-mmi. + * mips-opc.c (LMMI): New macro. + (mips_opcodes): Replace IL2F|IL3A marking with LMMI for MMI + instructions. + +2018-07-19 Jan Beulich + + * i386-opc.tbl (vcvtpd2dq, vcvtpd2ps, vcvttpd2dq, vcvtpd2udq, + vcvtqq2ps, vcvtuqq2ps): Fold 128- and 256-bit templates. Drop + IgnoreSize and [XYZ]MMword where applicable. + * i386-tbl.h: Re-generate. + +2018-07-19 Jan Beulich + + * i386-opc.tbl (vfpclasspd, vfpclassps): Fold. + (vfpclasspdz, vfpclasspsz): Drop IgnoreSize and ZmmWord. + (vfpclasspdx, vfpclasspsx): Drop IgnoreSize and XmmWord. + (vfpclasspdy, vfpclasspsy): Drop IgnoreSize and YmmWord. + * i386-tbl.h: Re-generate. + +2018-07-19 Jan Beulich + + * i386-opc.tbl: Fold AVX512IFMA, AVX512VBMI, AVX512_VPOPCNTDQ, + AVX512_VBMI2, AVX512_VNNI, AVX512_BITALG, GFNI, VAES, and + VPCLMULQDQ templates into their respective AVX512VL counterparts + where possible, using Disp8ShiftVL and CheckRegSize instead of + Evex= plus Disp8MemShift= (plus often IgnoreSize) as appropriate. + * i386-tbl.h: Re-generate. + +2018-07-19 Jan Beulich + + * i386-opc.tbl: Fold AVX512DQ templates into their respective + AVX512VL counterparts where possible, using Disp8ShiftVL and + CheckRegSize instead of Evex= plus Disp8MemShift= (plus often + IgnoreSize) as appropriate. + * i386-tbl.h: Re-generate. + +2018-07-19 Jan Beulich + + * i386-opc.tbl: Fold AVX512BW templates into their respective + AVX512VL counterparts where possible, using Disp8ShiftVL and + CheckRegSize instead of Evex= plus Disp8MemShift= (plus often + IgnoreSize) as appropriate. + * i386-tbl.h: Re-generate. + +2018-07-19 Jan Beulich + + * i386-opc.tbl: Fold AVX512CD templates into their respective + AVX512VL counterparts where possible, using Disp8ShiftVL and + CheckRegSize instead of Evex= plus Disp8MemShift= (plus often + IgnoreSize) as appropriate. + * i386-tbl.h: Re-generate. + +2018-07-19 Jan Beulich + + * i386-opc.h (DISP8_SHIFT_VL): New. + * i386-opc.tbl (Disp8ShiftVL): Define. + (various): Fold AVX512VL templates into their respective + AVX512F counterparts where possible, using Disp8ShiftVL and + CheckRegSize instead of Evex= plus Disp8MemShift= (plus often + IgnoreSize) as appropriate. + * i386-tbl.h: Re-generate. + +2018-07-19 Jan Beulich + + * Makefile.am: Change dependencies and rule for + $(srcdir)/i386-init.h. + * Makefile.in: Re-generate. + * i386-gen.c (process_i386_opcodes): New local variable + "marker". Drop opening of input file. Recognize marker and line + number directives. + * i386-opc.tbl (OPCODE_I386_H): Define. + (i386-opc.h): Include it. + (None): Undefine. + +2018-07-18 H.J. Lu + + PR gas/23418 + * i386-opc.h (Byte): Update comments. + (Word): Likewise. + (Dword): Likewise. + (Fword): Likewise. + (Qword): Likewise. + (Tbyte): Likewise. + (Xmmword): Likewise. + (Ymmword): Likewise. + (Zmmword): Likewise. + * i386-opc.tbl: Split vcvtps2qq, vcvtps2uqq, vcvttps2qq and + vcvttps2uqq. + * i386-tbl.h: Regenerated. + +2018-07-12 Sudakshina Das + + * aarch64-tbl.h (aarch64_opcode_table): Add entry for + ssbb and pssbb and update dsb flags to F_HAS_ALIAS. + * aarch64-asm-2.c: Regenerate. + * aarch64-dis-2.c: Regenerate. + * aarch64-opc-2.c: Regenerate. + +2018-07-12 Tamar Christina + + PR binutils/23192 + * aarch64-tbl.h (sqdmlal, sqdmlal2, smlsl, smlsl2, sqdmlsl, sqdmlsl2, + mul, smull, smull2, sqdmull, sqdmull2, sqdmulh, sqrdmulh, mla, umlal, + umlal2, mls, umlsl, umlsl2, umull, umull2, sqdmlal, sqdmlsl, sqdmull, + sqdmulh, sqrdmulh): Use Em16. + +2018-07-11 Sudakshina Das + + * arm-dis.c (arm_opcodes): Add ssbb and pssbb and move + csdb together with them. + (thumb32_opcodes): Likewise. + +2018-07-11 Jan Beulich + + * i386-opc.tbl (monitor, monitorx): Add 64-bit template + requiring 32-bit registers as operands 2 and 3. Improve + comments. + (mwait, mwaitx): Fold templates. Improve comments. + OPERAND_TYPE_INOUTPORTREG. + * i386-tbl.h: Re-generate. + +2018-07-11 Jan Beulich + + * i386-gen.c (operand_type_init): Remove + OPERAND_TYPE_REG16_INOUTPORTREG entry and one instance of + OPERAND_TYPE_INOUTPORTREG. + * i386-init.h: Re-generate. + +2018-07-11 Jan Beulich + + * i386-opc.tbl (wrssd, wrussd): Add Dword. + (wrssq, wrussq): Add Qword. + * i386-tbl.h: Re-generate. + +2018-07-11 Jan Beulich + + * i386-opc.h: Rename OTMax to OTNum. + (OTNumOfUints): Adjust calculation. + (OTUnused): Directly alias to OTNum. + +2018-07-09 Maciej W. Rozycki + + * s12z-dis.c (lea_reg_xys_opr): Rename `reg' local variable to + `reg_xys'. + (lea_reg_xys): Likewise. + (print_insn_loop_primitive): Rename `reg' local variable to + `reg_dxy'. + +2018-07-06 Tamar Christina + + PR binutils/23242 + * aarch64-tbl.h (ldarh): Fix disassembly mask. + +2018-07-06 Tamar Christina + + PR binutils/23369 + * aarch64-opc.c (aarch64_sys_regs): Make read/write csselr_el1, + vsesr_el2, osdtrrx_el1, osdtrtx_el1, pmsidr_el1. + +2018-07-02 Maciej W. Rozycki + + PR tdep/8282 + * mips-dis.c (mips_option_arg_t): New enumeration. + (mips_options): New variable. + (disassembler_options_mips): New function. + (print_mips_disassembler_options): Reimplement in terms of + `disassembler_options_mips'. + * arm-dis.c (disassembler_options_arm): Adapt to using the + `disasm_options_and_args_t' structure. + * ppc-dis.c (disassembler_options_powerpc): Likewise. + * s390-dis.c (disassembler_options_s390): Likewise. + +2018-07-02 Thomas Preud'homme + + * testsuite/ld-arm/tls-descrelax-be8.d: Add architecture version in + expected result. + * testsuite/ld-arm/tls-descrelax-v7.d: Likewise. + * testsuite/ld-arm/tls-longplt-lib.d: Likewise. + * testsuite/ld-arm/tls-longplt.d: Likewise. + +2018-06-29 Tamar Christina + + PR binutils/23192 + * aarch64-asm-2.c: Regenerate. + * aarch64-dis-2.c: Likewise. + * aarch64-opc-2.c: Likewise. + * aarch64-dis.c (aarch64_ext_reglane): Add AARCH64_OPND_Em16 constraint. + * aarch64-opc.c (operand_general_constraint_met_p, + aarch64_print_operand): Likewise. + * aarch64-tbl.h (aarch64_opcode_table): Change Em to Em16 for smlal, + smlal2, fmla, fmls, fmul, fmulx, sqrdmlah, sqrdlsh, fmlal, fmlsl, + fmlal2, fmlsl2. + (AARCH64_OPERANDS): Add Em2. + +2018-06-26 Nick Clifton + + * po/uk.po: Updated Ukranian translation. + * po/de.po: Updated German translation. + * po/pt_BR.po: Updated Brazilian Portuguese translation. + +2018-06-26 Nick Clifton + + * nfp-dis.c: Fix spelling mistake. + +2018-06-24 Nick Clifton + + * configure: Regenerate. + * po/opcodes.pot: Regenerate. + +2018-06-24 Nick Clifton + + 2.31 branch created. + +2018-06-19 Tamar Christina + + * aarch64-tbl.h (aarch64_opcode_table): Fix alias flag for negs + * aarch64-asm-2.c: Regenerate. + * aarch64-dis-2.c: Likewise. + +2018-06-21 Maciej W. Rozycki + + * mips-dis.c (print_mips_disassembler_options): Fix a typo in + `-M ginv' option description. + +2018-06-20 Sebastian Huber + + PR gas/23305 + * riscv-opc.c (riscv_opcodes): Use new format specifier 'B' for + la and lla. + +2018-06-19 Simon Marchi + + * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11. + * configure.ac: Remove AC_PREREQ. + * Makefile.in: Re-generate. + * aclocal.m4: Re-generate. + * configure: Re-generate. + +2018-06-14 Faraz Shahbazker + + * mips-dis.c (mips_arch_choices): Add GINV to mips32r6 and + mips64r6 descriptors. + (parse_mips_ase_option): Handle -Mginv option. + (print_mips_disassembler_options): Document -Mginv. + * mips-opc.c (decode_mips_operand) <+\>: New operand format. + (GINV): New macro. + (mips_opcodes): Define ginvi and ginvt. + +2018-06-13 Scott Egerton + Faraz Shahbazker + + * mips-dis.c (mips_arch_choices): Add CRC and CRC64 ASEs. + * mips-opc.c (CRC, CRC64): New macros. + (mips_builtin_opcodes): Define crc32b, crc32h, crc32w, + crc32cb, crc32ch and crc32cw for CRC. Define crc32d and + crc32cd for CRC64. + +2018-06-08 Egeyar Bagcioglu + + PR 20319 + * aarch64-tbl.h: Introduce QL_INT2FP_FMOV and QL_FP2INT_FMOV. + (aarch64_opcode_table) : Use QL_INT2FP_FMOV and QL_FP2INT_FMOV. + +2018-06-06 Alan Modra + + * xtensa-dis.c (print_insn_xtensa): Init fmt and valid_insn after + setjmp. Move init for some other vars later too. + +2018-06-04 Max Filippov + + * xtensa-dis.c (bfd.h, elf/xtensa.h): New includes. + (dis_private): Add new fields for property section tracking. + (xtensa_coalesce_insn_tables, xtensa_find_table_entry) + (xtensa_instruction_fits): New functions. + (fetch_data): Bump minimal fetch size to 4. + (print_insn_xtensa): Make struct dis_private static. + Load and prepare property table on section change. + Don't disassemble literals. Don't disassemble instructions that + cross property table boundaries. + +2018-06-01 H.J. Lu + + * configure: Regenerated. + +2018-06-01 Jan Beulich + + * i386-opc.tbl (mov, movq): Fold to/from SReg* forms. + * i386-tbl.h: Re-generate. + +2018-06-01 Jan Beulich + + * i386-opc.tbl (sldt, str): Add NoRex64. + * i386-tbl.h: Re-generate. + +2018-06-01 Jan Beulich + + * i386-opc.tbl (invpcid): Add Oword. + * i386-tbl.h: Re-generate. + +2018-06-01 Alan Modra + + * sysdep.h (_bfd_error_handler): Don't declare. + * msp430-decode.opc: Include bfd.h. Don't include ansidecl.h here. + * rl78-decode.opc: Likewise. + * msp430-decode.c: Regenerate. + * rl78-decode.c: Regenerate. + +2018-05-30 Amit Pawar + + * i386-gen.c (cpu_flag_init): Add CPU_ZNVER2_FLAGS. + * i386-init.h : Regenerated. + +2018-05-25 Alan Modra + + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-05-21 Peter Bergner + + * ppc-opc.c (insert_bat, extract_bat, insert_bba, extract_bba, + insert_rbs, extract_rbs, insert_xb6s, extract_xb6s): Delete functions. + (insert_bab, extract_bab, insert_btab, extract_btab, + insert_rsb, extract_rsb, insert_xab6, extract_xab6): New functions. + (BAT, BBA VBA RBS XB6S): Delete macros. + (BTAB, BAB, VAB, RAB, RSB, XAB6): New macros. + (BB, BD, RBX, XC6): Update for new macros. + (powerpc_opcodes) : Likewise. + * ppc-dis.c (print_insn_powerpc): Delete handling of fake operands. + +2018-05-18 John Darrington + + * Makefile.am: Add support for s12z architecture. + * configure.ac: Likewise. + * disassemble.c: Likewise. + * disassemble.h: Likewise. + * Makefile.in: Regenerate. + * configure: Regenerate. + * s12z-dis.c: New file. + * s12z.h: New file. + +2018-05-18 Alan Modra + + * nfp-dis.c: Don't #include libbfd.h. + (init_nfp3200_priv): Use bfd_get_section_contents. + (nit_nfp6000_mecsr_sec): Likewise. + +2018-05-17 Nick Clifton + + * po/zh_CN.po: Updated simplified Chinese translation. + +2018-05-16 Tamar Christina + + PR binutils/23109 + * aarch64-tbl.h (aarch64_opcode_table): Correct sdot and udot. + * aarch64-dis-2.c: Regenerate. + +2018-05-15 Tamar Christina + + PR binutils/21446 + * aarch64-asm.c (opintl.h): Include. + (aarch64_ins_sysreg): Enforce read/write constraints. + * aarch64-dis.c (aarch64_ext_sysreg): Likewise. + * aarch64-opc.h (F_DEPRECATED, F_ARCHEXT, F_HASXT): Moved here. + (F_REG_READ, F_REG_WRITE): New. + * aarch64-opc.c (aarch64_print_operand): Generate notes for + AARCH64_OPND_SYSREG. + (F_DEPRECATED, F_ARCHEXT, F_HASXT): Move to aarch64-opc.h. + (aarch64_sys_regs): Add constraints to currentel, midr_el1, ctr_el0, + mpidr_el1, revidr_el1, aidr_el1, dczid_el0, id_dfr0_el1, id_pfr0_el1, + id_pfr1_el1, id_afr0_el1, id_mmfr0_el1, id_mmfr1_el1, id_mmfr2_el1, + id_mmfr3_el1, id_mmfr4_el1, id_isar0_el1, id_isar1_el1, id_isar2_el1, + id_isar3_el1, id_isar4_el1, id_isar5_el1, mvfr0_el1, mvfr1_el1, + mvfr2_el1, ccsidr_el1, id_aa64pfr0_el1, id_aa64pfr1_el1, + id_aa64dfr0_el1, id_aa64dfr1_el1, id_aa64isar0_el1, id_aa64isar1_el1, + id_aa64mmfr0_el1, id_aa64mmfr1_el1, id_aa64mmfr2_el1, id_aa64afr0_el1, + id_aa64afr0_el1, id_aa64afr1_el1, id_aa64zfr0_el1, clidr_el1, + csselr_el1, vsesr_el2, erridr_el1, erxfr_el1, rvbar_el1, rvbar_el2, + rvbar_el3, isr_el1, tpidrro_el0, cntfrq_el0, cntpct_el0, cntvct_el0, + mdccsr_el0, dbgdtrrx_el0, dbgdtrtx_el0, osdtrrx_el1, osdtrtx_el1, + mdrar_el1, oslar_el1, oslsr_el1, dbgauthstatus_el1, pmbidr_el1, + pmsidr_el1, pmswinc_el0, pmceid0_el0, pmceid1_el0. + * aarch64-tbl.h (aarch64_opcode_table): Add constraints to + msr (F_SYS_WRITE), mrs (F_SYS_READ). + +2018-05-15 Tamar Christina + + PR binutils/21446 + * aarch64-dis.c (no_notes: New. + (parse_aarch64_dis_option): Support notes. + (aarch64_decode_insn, print_operands): Likewise. + (print_aarch64_disassembler_options): Document notes. + * aarch64-opc.c (aarch64_print_operand): Support notes. + +2018-05-15 Tamar Christina + + PR binutils/21446 + * aarch64-asm.h (aarch64_insert_operand, aarch64_##x): Return boolean + and take error struct. + * aarch64-asm.c (aarch64_ext_regno, aarch64_ins_reglane, + aarch64_ins_reglist, aarch64_ins_ldst_reglist, + aarch64_ins_ldst_reglist_r, aarch64_ins_ldst_elemlist, + aarch64_ins_advsimd_imm_shift, aarch64_ins_imm, aarch64_ins_imm_half, + aarch64_ins_advsimd_imm_modified, aarch64_ins_fpimm, + aarch64_ins_imm_rotate1, aarch64_ins_imm_rotate2, aarch64_ins_fbits, + aarch64_ins_aimm, aarch64_ins_limm_1, aarch64_ins_limm, + aarch64_ins_inv_limm, aarch64_ins_ft, aarch64_ins_addr_simple, + aarch64_ins_addr_regoff, aarch64_ins_addr_offset, aarch64_ins_addr_simm, + aarch64_ins_addr_simm10, aarch64_ins_addr_uimm12, + aarch64_ins_simd_addr_post, aarch64_ins_cond, aarch64_ins_sysreg, + aarch64_ins_pstatefield, aarch64_ins_sysins_op, aarch64_ins_barrier, + aarch64_ins_prfop, aarch64_ins_hint, aarch64_ins_reg_extended, + aarch64_ins_reg_shifted, aarch64_ins_sve_addr_ri_s4xvl, + aarch64_ins_sve_addr_ri_s6xvl, aarch64_ins_sve_addr_ri_s9xvl, + aarch64_ins_sve_addr_ri_s4, aarch64_ins_sve_addr_ri_u6, + aarch64_ins_sve_addr_rr_lsl, aarch64_ins_sve_addr_rz_xtw, + aarch64_ins_sve_addr_zi_u5, aarch64_ext_sve_addr_zz, + aarch64_ins_sve_addr_zz_lsl, aarch64_ins_sve_addr_zz_sxtw, + aarch64_ins_sve_addr_zz_uxtw, aarch64_ins_sve_aimm, + aarch64_ins_sve_asimm, aarch64_ins_sve_index, aarch64_ins_sve_limm_mov, + aarch64_ins_sve_quad_index, aarch64_ins_sve_reglist, + aarch64_ins_sve_scale, aarch64_ins_sve_shlimm, aarch64_ins_sve_shrimm, + aarch64_ins_sve_float_half_one, aarch64_ins_sve_float_half_two, + aarch64_ins_sve_float_zero_one, aarch64_opcode_encode): Likewise. + * aarch64-dis.h (aarch64_extract_operand, aarch64_##x): Likewise. + * aarch64-dis.c (aarch64_ext_regno, aarch64_ext_reglane, + aarch64_ext_reglist, aarch64_ext_ldst_reglist, + aarch64_ext_ldst_reglist_r, aarch64_ext_ldst_elemlist, + aarch64_ext_advsimd_imm_shift, aarch64_ext_imm, aarch64_ext_imm_half, + aarch64_ext_advsimd_imm_modified, aarch64_ext_fpimm, + aarch64_ext_imm_rotate1, aarch64_ext_imm_rotate2, aarch64_ext_fbits, + aarch64_ext_aimm, aarch64_ext_limm_1, aarch64_ext_limm, decode_limm, + aarch64_ext_inv_limm, aarch64_ext_ft, aarch64_ext_addr_simple, + aarch64_ext_addr_regoff, aarch64_ext_addr_offset, aarch64_ext_addr_simm, + aarch64_ext_addr_simm10, aarch64_ext_addr_uimm12, + aarch64_ext_simd_addr_post, aarch64_ext_cond, aarch64_ext_sysreg, + aarch64_ext_pstatefield, aarch64_ext_sysins_op, aarch64_ext_barrier, + aarch64_ext_prfop, aarch64_ext_hint, aarch64_ext_reg_extended, + aarch64_ext_reg_shifted, aarch64_ext_sve_addr_ri_s4xvl, + aarch64_ext_sve_addr_ri_s6xvl, aarch64_ext_sve_addr_ri_s9xvl, + aarch64_ext_sve_addr_ri_s4, aarch64_ext_sve_addr_ri_u6, + aarch64_ext_sve_addr_rr_lsl, aarch64_ext_sve_addr_rz_xtw, + aarch64_ext_sve_addr_zi_u5, aarch64_ext_sve_addr_zz, + aarch64_ext_sve_addr_zz_lsl, aarch64_ext_sve_addr_zz_sxtw, + aarch64_ext_sve_addr_zz_uxtw, aarch64_ext_sve_aimm, + aarch64_ext_sve_asimm, aarch64_ext_sve_index, aarch64_ext_sve_limm_mov, + aarch64_ext_sve_quad_index, aarch64_ext_sve_reglist, + aarch64_ext_sve_scale, aarch64_ext_sve_shlimm, aarch64_ext_sve_shrimm, + aarch64_ext_sve_float_half_one, aarch64_ext_sve_float_half_two, + aarch64_ext_sve_float_zero_one, aarch64_opcode_decode): Likewise. + (determine_disassembling_preference, aarch64_decode_insn, + print_insn_aarch64_word, print_insn_data): Take errors struct. + (print_insn_aarch64): Use errors. + * aarch64-asm-2.c: Regenerate. + * aarch64-dis-2.c: Regenerate. + * aarch64-gen.c (print_operand_inserter): Use errors and change type to + boolean in aarch64_insert_operan. + (print_operand_extractor): Likewise. + * aarch64-opc.c (aarch64_print_operand): Use sysreg struct. + +2018-05-15 Francois H. Theron + + * nfp-dis.c: Use uint64_t for instruction variables, not bfd_vma. + +2018-05-09 H.J. Lu + + * i386-opc.tbl: Remove Disp from movidir{i,64b}. + +2018-05-09 Sebastian Rasmussen + + * cr16-opc.c (cr16_instruction): Comment typo fix. + * hppa-dis.c (print_insn_hppa): Likewise. + +2018-05-08 Jim Wilson + + * riscv-opc.c (match_c_slli, match_slli_as_c_slli): New. + (match_c_slli64, match_srxi_as_c_srxi): New. + (riscv_opcodes) : Use match_slli_as_c_slli. + : Use match_srxi_as_c_srxi. + : Use match_s_slli. + : New. + +2018-05-08 Alan Modra + + * ppc-dis.c (PPC_OPCD_SEGS): Define using PPC_OP. + (VLE_OPCD_SEGS, SPE2_OPCD_SEGS): Similarly, using macros used to + partition opcode space for index lookup. + +2018-05-07 Peter Bergner + + * ppc-dis.c (print_insn_powerpc) : Replace this... + : ...with this. Update usage. + Remove duplicate call to *info->memory_error_func. + +2018-05-07 Igor Tsimbalist + H.J. Lu + + * i386-dis.c (Gva): New. + (enum): Add PREFIX_0F38F8, PREFIX_0F38F9, + MOD_0F38F8_PREFIX_2, MOD_0F38F9_PREFIX_0. + (prefix_table): New instructions (see prefix above). + (mod_table): New instructions (see prefix above). + (OP_G): Handle va_mode. + * i386-gen.c (cpu_flag_init): Add CPU_MOVDIRI_FLAGS, + CPU_MOVDIR64B_FLAGS. + (cpu_flags): Add CpuMOVDIRI and CpuMOVDIR64B. + * i386-opc.h (enum): Add CpuMOVDIRI, CpuMOVDIR64B. + (i386_cpu_flags): Add cpumovdiri and cpumovdir64b. + * i386-opc.tbl: Add movidir{i,64b}. + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + +2018-05-07 H.J. Lu + + * i386-gen.c (opcode_modifiers): Replace AddrPrefixOp0 with + AddrPrefixOpReg. + * i386-opc.h (AddrPrefixOp0): Renamed to ... + (AddrPrefixOpReg): This. + (i386_opcode_modifier): Rename addrprefixop0 to addrprefixopreg. + * i386-opc.tbl: Replace AddrPrefixOp0 with AddrPrefixOpReg. + +2018-05-07 Peter Bergner + + * ppc-opc.c (powerpc_num_opcodes): Change type to unsigned. + (vle_num_opcodes): Likewise. + (spe2_num_opcodes): Likewise. + * ppc-dis.c (disassemble_init_powerpc) : Rewrite + initialization loop. + (disassemble_init_powerpc) : Likewise. + (disassemble_init_powerpc) : Likewise. Initialize + only once. + +2018-05-01 Tamar Christina + + * aarch64-dis.c (aarch64_opcode_decode): Moved memory clear code. + +2018-04-30 Francois H. Theron + + Makefile.am: Added nfp-dis.c. + configure.ac: Added bfd_nfp_arch. + disassemble.h: Added print_insn_nfp prototype. + disassemble.c: Added ARCH_nfp and call to print_insn_nfp + nfp-dis.c: New, for NFP support. + po/POTFILES.in: Added nfp-dis.c to the list. + Makefile.in: Regenerate. + configure: Regenerate. + +2018-04-26 Jan Beulich + + * i386-opc.tbl: Fold various non-memory operand AVX512VL + templates into their base ones. + * i386-tlb.h: Re-generate. + +2018-04-26 Jan Beulich + + * i386-gen.c (cpu_flag_init): Use CPU_XOP_FLAGS for + CPU_BDVER1_FLAGS. Use CPU_AVX2_FLAGS for CPU_ZNVER1_FLAGS. Use + CPU_AVX_FLAGS for CPU_BTVER1_FLAGS. Add CPU_XSAVE_FLAGS to + CPU_LWP_FLAGS, CPU_AVX_FLAGS, CPU_MPX_FLAGS, and CPU_OSPKE_FLAGS. + * i386-init.h: Re-generate. + +2018-04-26 Jan Beulich + + * i386-gen.c (cpu_flag_init): Drop all uses of CpuRegMMX, + CpuRegXMM, CpuRegYMM, CpuRegZMM, and CpuRegMask. Use + CPU_AVX2_FLAGS for CPU_AVX512F_FLAGS and drop bogus comment. + Don't use CPU_AVX2_FLAGS for CPU_AVX512VL_FLAGS and drop bogus + comment. + (cpu_flags): Drop CpuRegMMX, CpuRegXMM, CpuRegYMM, CpuRegZMM, + and CpuRegMask. + * i386-opc.h: CpuRegMMX, CpuRegXMM, CpuRegYMM, CpuRegZMM, + CpuRegMask: Delete. + (union i386_cpu_flags): Remove cpuregmmx, cpuregxmm, cpuregymm, + cpuregzmm, and cpuregmask. + * i386-init.h: Re-generate. + * i386-tbl.h: Re-generate. + +2018-04-26 Jan Beulich + + * i386-gen.c (cpu_flag_init): CPU_I586_FLAGS inherits Cpu387 only. + CPU_287_FLAGS is Cpu287 only. CPU_387_FLAGS is Cpu387 only. + * i386-init.h: Re-generate. + +2018-04-26 Jan Beulich + + * i386-gen.c (VexImmExt): Delete. + * i386-opc.h (VexImmExt, veximmext): Delete. + * i386-opc.tbl: Drop all VexImmExt uses. + * i386-tlb.h: Re-generate. + +2018-04-25 Jan Beulich + + * i386-opc.tbl (vpslld, vpsrad, vpsrld): Drop AVX512VL + register-only forms. + * i386-tlb.h: Re-generate. + +2018-04-25 Tamar Christina + + * aarch64-tbl.h (sqrdmlah, sqrdmlsh): Fix masks. + +2018-04-17 Igor Tsimbalist + + * i386-dis.c: Add REG_0F1C_MOD_0, MOD_0F1C_PREFIX_0, + PREFIX_0F1C. + * i386-gen.c (cpu_flag_init): Add CPU_CLDEMOTE_FLAGS, + (cpu_flags): Add CpuCLDEMOTE. + * i386-init.h: Regenerate. + * i386-opc.h (enum): Add CpuCLDEMOTE, + (i386_cpu_flags): Add cpucldemote. + * i386-opc.tbl: Add cldemote. + * i386-tbl.h: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove sh5 and sh64 support. + * configure.ac: Likewise. + * disassemble.c: Likewise. + * disassemble.h: Likewise. + * sh-dis.c: Likewise. + * sh64-dis.c: Delete. + * sh64-opc.c: Delete. + * sh64-opc.h: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove w65 support. + * configure.ac: Likewise. + * disassemble.c: Likewise. + * disassemble.h: Likewise. + * w65-dis.c: Delete. + * w65-opc.h: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * configure.ac: Remove we32k support. + * configure: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove m88k support. + * configure.ac: Likewise. + * disassemble.c: Likewise. + * disassemble.h: Likewise. + * m88k-dis.c: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove i370 support. + * configure.ac: Likewise. + * disassemble.c: Likewise. + * disassemble.h: Likewise. + * i370-dis.c: Delete. + * i370-opc.c: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove h8500 support. + * configure.ac: Likewise. + * disassemble.c: Likewise. + * disassemble.h: Likewise. + * h8500-dis.c: Delete. + * h8500-opc.h: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * configure.ac: Remove tahoe support. + * configure: Regenerate. + +2018-04-15 H.J. Lu + + * i386-dis.c (prefix_table): Replace Em with Edq on tpause and + umwait. + * i386-opc.tbl: Allow 32-bit registers for tpause and umwait in + 64-bit mode. + * i386-tbl.h: Regenerated. + +2018-04-11 Igor Tsimbalist + + * i386-dis.c (enum): Add PREFIX_MOD_0_0FAE_REG_6, + PREFIX_MOD_1_0FAE_REG_6. + (va_mode): New. + (OP_E_register): Use va_mode. + * i386-dis-evex.h (prefix_table): + New instructions (see prefixes above). + * i386-gen.c (cpu_flag_init): Add WAITPKG. + (cpu_flags): Likewise. + * i386-opc.h (enum): Likewise. + (i386_cpu_flags): Likewise. + * i386-opc.tbl: Add umonitor, umwait, tpause. + * i386-init.h: Regenerate. + * i386-tbl.h: Likewise. + +2018-04-11 Alan Modra + + * opcodes/i860-dis.c: Delete. + * opcodes/i960-dis.c: Delete. + * Makefile.am: Remove i860 and i960 support. + * configure.ac: Likewise. + * disassemble.c: Likewise. + * disassemble.h: Likewise. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-04 H.J. Lu + + PR binutils/23025 + * i386-dis.c (get_valid_dis386): Don't set vex.prefix nor vex.w + to 0. + (print_insn): Clear vex instead of vex.evex. + +2018-04-04 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2018-03-28 Jan Beulich + + * i386-gen.c (opcode_modifiers): Delete VecESize. + * i386-opc.h (VecESize): Delete. + (struct i386_opcode_modifier): Delete vecesize. + * i386-opc.tbl: Drop VecESize. + * i386-tlb.h: Re-generate. + +2018-03-28 Jan Beulich + + * i386-opc.h (NO_BROADCAST, BROADCAST_1TO16, BROADCAST_1TO8, + BROADCAST_1TO4, BROADCAST_1TO2): Delete. + (struct i386_opcode_modifier): Shrink broadcast field to 1 bit. + * i386-opc.tbl: Replace Broadcast= by Broadcast. + * i386-tlb.h: Re-generate. + +2018-03-28 Jan Beulich + + * i386-opc.tbl (vcvt*d2si, vcvt*d2usi, vcvt*s2si, vcvt*s2usi): + Fold AVX512 forms + * i386-tlb.h: Re-generate. + +2018-03-28 Jan Beulich + + * i386-dis.c (prefix_table): Drop Y for cvt*2si. + (vex_len_table): Drop Y for vcvt*2si. + (putop): Replace plain 'Y' handling by abort(). + +2018-03-28 Nick Clifton + + PR 22988 + * aarch64-tbl.h (aarch64_opcode_table): Add entries for LDFF1xx + instructions with only a base address register. + * aarch64-opc.c (operand_general_constraint_met_p): Add code to + handle AARHC64_OPND_SVE_ADDR_R. + (aarch64_print_operand): Likewise. + * aarch64-asm-2.c: Regenerate. + * aarch64_dis-2.c: Regenerate. + * aarch64-opc-2.c: Regenerate. + +2018-03-22 Jan Beulich + + * i386-opc.tbl: Drop VecESize from register only insn forms and + memory forms not allowing broadcast. + * i386-tlb.h: Re-generate. + +2018-03-22 Jan Beulich + + * i386-opc.tbl (vfrczs*, vphadd*, vphsub*, vpmacs*, vpmadcs*, + vprot*, vpsha*, vpshl*, bextr, blc*, bls*, t1mskc, tzmsk, sha1*, + sha256*): Drop Disp. + +2018-03-22 Jan Beulich + + * i386-dis.c (EbndS, bnd_swap_mode): New. + (prefix_table): Use EbndS. + (OP_E_register, OP_E_memory): Also handle bnd_swap_mode. + * i386-opc.tbl (bndmov): Move misplaced Load. + * i386-tlb.h: Re-generate. + +2018-03-22 Jan Beulich + + * i386-opc.tbl (vcvtdq2pd, vcvtps2pd, vcvtudq2pd): Use separate + templates allowing memory operands and folded ones for register + only flavors. + * i386-tlb.h: Re-generate. + +2018-03-22 Jan Beulich + + * i386-opc.tbl (vfrczp*, vpcmov, vpermil2p*): Fold 128- and + 256-bit templates. Drop redundant leftover Disp. + * i386-tlb.h: Re-generate. + +2018-03-14 Kito Cheng + + * riscv-opc.c (riscv_insn_types): New. + +2018-03-13 Nick Clifton + + * po/pt_BR.po: Updated Brazilian Portuguese translation. + +2018-03-08 H.J. Lu + + * i386-opc.tbl: Add Optimize to clr. + * i386-tbl.h: Regenerated. + +2018-03-08 H.J. Lu + + * i386-gen.c (opcode_modifiers): Remove OldGcc. + * i386-opc.h (OldGcc): Removed. + (i386_opcode_modifier): Remove oldgcc. + * i386-opc.tbl: Remove fsubp, fsubrp, fdivp and fdivrp + instructions for old (<= 2.8.1) versions of gcc. + * i386-tbl.h: Regenerated. + +2018-03-08 Jan Beulich + + * i386-opc.h (EVEXDYN): New. + * i386-opc.tbl: Fold various AVX512VL templates. + * i386-tlb.h: Re-generate. + +2018-03-08 Jan Beulich + + * i386-opc.tbl (vexpandpd, vexpandps, vmovapd, vmovaps, + vmovdqa32, vmovdqa64, vmovdqu32, vmovdqu64, vmovupd, vmovups, + vpexpandd, vpexpandq): Fold AFX512VF templates. + * i386-tlb.h: Re-generate. + +2018-03-08 Jan Beulich + + * i386-opc.tbl (vgf2p8affineinvqb, vgf2p8affineqb, vgf2p8mulb): + Fold 128- and 256-bit VEX-encoded templates. + * i386-tlb.h: Re-generate. + +2018-03-08 Jan Beulich + + * i386-opc.tbl (vexpandpd, vexpandps, vmovapd, vmovaps, + vmovdqa32, vmovdqa64, vmovdqu32, vmovdqu64, vmovupd, vmovups, + vpexpandd, vpexpandq): Fold AVX512F templates. + * i386-tlb.h: Re-generate. + +2018-03-08 Jan Beulich + + * i386-opc.tbl (llwpcb, slwpcb, lwpval, lwpins): Fold 32- and + 64-bit templates. Drop Disp. + * i386-tlb.h: Re-generate. + +2018-03-08 Jan Beulich + + * i386-opc.tbl (vfmadd*, vfmsub*, vfnmadd*, vfnmsub*): Fold 128- + and 256-bit templates. + * i386-tlb.h: Re-generate. + +2018-03-08 Jan Beulich + + * i386-opc.tbl (cmpxchg8b): Add NoRex64. + * i386-tlb.h: Re-generate. + +2018-03-08 Jan Beulich + + * i386-opc.tbl (cmpxchg16b, fisttp, fisttpll, bndmov, mwaitx): + Drop NoAVX. + * i386-tlb.h: Re-generate. + +2018-03-08 Jan Beulich + + * i386-opc.tbl (ldmxcsr, stmxcsr): Add NoAVX. + * i386-tlb.h: Re-generate. + +2018-03-08 Jan Beulich + + * i386-gen.c (opcode_modifiers): Delete FloatD. + * i386-opc.h (FloatD): Delete. + (struct i386_opcode_modifier): Delete floatd. + * i386-opc.tbl (fadd, fsub, fsubr, fmul, fdiv, fdivr): Replace + FloatD by D. + * i386-tlb.h: Re-generate. + +2018-03-08 Jan Beulich + + * i386-dis.c (float_reg): Adjust DC and DE fsub*/fdiv* patterns. + +2018-03-08 Jan Beulich + + * i386-opc.tbl (vmovd): Disallow Qword memory operands. + * i386-tlb.h: Re-generate. + +2018-03-08 Jan Beulich + + * i386-opc.tbl (vcvtpd2ps): Fold AVX 128- and 256-bit memory + forms. + * i386-tlb.h: Re-generate. + +2018-03-07 Alan Modra + + * disassemble.c (disassembler): Use bfd_arch_powerpc entry for + bfd_arch_rs6000. + * disassemble.h (print_insn_rs6000): Delete. + * ppc-dis.c (powerpc_init_dialect): Handle rs6000. + (disassemble_init_powerpc): Call powerpc_init_dialect for rs6000. + (print_insn_rs6000): Delete. + +2018-03-03 Alan Modra + + * sysdep.h (opcodes_error_handler): Define. + (_bfd_error_handler): Declare. + * Makefile.am: Remove stray #. + * opc2c.c (main): Remove bogus -l arg handling. Print "DO NOT + EDIT" comment. + * aarch64-dis.c, * arc-dis.c, * arm-dis.c, * avr-dis.c, + * d30v-dis.c, * h8300-dis.c, * mmix-dis.c, * ppc-dis.c, + * riscv-dis.c, * s390-dis.c, * sparc-dis.c, * v850-dis.c: Use + opcodes_error_handler to print errors. Standardize error messages. + * msp430-decode.opc, * nios2-dis.c, * rl78-decode.opc: Likewise, + and include opintl.h. + * nds32-asm.c: Likewise, and include sysdep.h and opintl.h. + * i386-gen.c: Standardize error messages. + * msp430-decode.c, * rl78-decode.c, rx-decode.c: Regenerate. + * Makefile.in: Regenerate. + * epiphany-asm.c, * epiphany-desc.c, * epiphany-dis.c, + * epiphany-ibld.c, * fr30-asm.c, * fr30-desc.c, * fr30-dis.c, + * fr30-ibld.c, * frv-asm.c, * frv-desc.c, * frv-dis.c, * frv-ibld.c, + * frv-opc.c, * ip2k-asm.c, * ip2k-desc.c, * ip2k-dis.c, * ip2k-ibld.c, + * iq2000-asm.c, * iq2000-desc.c, * iq2000-dis.c, * iq2000-ibld.c, + * lm32-asm.c, * lm32-desc.c, * lm32-dis.c, * lm32-ibld.c, + * m32c-asm.c, * m32c-desc.c, * m32c-dis.c, * m32c-ibld.c, + * m32r-asm.c, * m32r-desc.c, * m32r-dis.c, * m32r-ibld.c, + * mep-asm.c, * mep-desc.c, * mep-dis.c, * mep-ibld.c, * mt-asm.c, + * mt-desc.c, * mt-dis.c, * mt-ibld.c, * or1k-asm.c, * or1k-desc.c, + * or1k-dis.c, * or1k-ibld.c, * xc16x-asm.c, * xc16x-desc.c, + * xc16x-dis.c, * xc16x-ibld.c, * xstormy16-asm.c, * xstormy16-desc.c, + * xstormy16-dis.c, * xstormy16-ibld.c: Regenerate. + +2018-03-01 H.J. Lu + + * * i386-opc.tbl: Add "Optimize" to AVX256 and AVX512 + vpsub[bwdq] instructions. + * i386-tbl.h: Regenerated. + +2018-03-01 Alan Modra + + * configure.ac (ALL_LINGUAS): Sort. + * configure: Regenerate. + +2018-02-27 Thomas Preud'homme + + * arm-dis.c (print_insn_coprocessor): Replace uses of ARM_FEATURE_COPY + macro by assignements. + +2018-02-27 H.J. Lu + + PR gas/22871 + * i386-gen.c (opcode_modifiers): Add Optimize. + * i386-opc.h (Optimize): New enum. + (i386_opcode_modifier): Add optimize. + * i386-opc.tbl: Add "Optimize" to "mov $imm, reg", + "sub reg, reg/mem", "test $imm, acc", "test $imm, reg/mem", + "and $imm, acc", "and $imm, reg/mem", "xor reg, reg/mem", + "movq $imm, reg" and AVX256 and AVX512 versions of vandnps, + vandnpd, vpandn, vpandnd, vpandnq, vxorps, vxorpd, vpxor, + vpxord and vpxorq. + * i386-tbl.h: Regenerated. + +2018-02-26 Alan Modra + + * crx-dis.c (getregliststring): Allocate a large enough buffer + to silence false positive gcc8 warning. + +2018-02-22 Shea Levy + + * disassemble.c (ARCH_riscv): Define if ARCH_all. + +2018-02-22 H.J. Lu + + * i386-opc.tbl: Add {rex}, + * i386-tbl.h: Regenerated. + +2018-02-20 Maciej W. Rozycki + + * mips16-opc.c (decode_mips16_operand) <'M'>: Remove case. + (mips16_opcodes): Replace `M' with `m' for "restore". + +2018-02-19 Thomas Preud'homme + + * arm-dis.c (thumb_opcodes): Fix BXNS mask. + +2018-02-13 Maciej W. Rozycki + + * wasm32-dis.c (print_insn_wasm32): Rename `index' local + variable to `function_index'. + +2018-02-13 Nick Clifton + + PR 22823 + * metag-dis.c (print_fmmov): Double buffer size to avoid warning + about truncation of printing. + +2018-02-12 Henry Wong + + * mips-opc.c (mips_builtin_opcodes): Correct "sigrie" encoding. + +2018-02-05 Nick Clifton + + * po/pt_BR.po: Updated Brazilian Portuguese translation. + +2018-01-23 Igor Tsimbalist + + * i386-dis.c (enum): Add pconfig. + * i386-gen.c (cpu_flag_init): Add CPU_PCONFIG_FLAGS. + (cpu_flags): Add CpuPCONFIG. + * i386-opc.h (enum): Add CpuPCONFIG. + (i386_cpu_flags): Add cpupconfig. + * i386-opc.tbl: Add PCONFIG instruction. + * i386-init.h: Regenerate. + * i386-tbl.h: Likewise. + +2018-01-23 Igor Tsimbalist + + * i386-dis.c (enum): Add PREFIX_0F09. + * i386-gen.c (cpu_flag_init): Add CPU_WBNOINVD_FLAGS. + (cpu_flags): Add CpuWBNOINVD. + * i386-opc.h (enum): Add CpuWBNOINVD. + (i386_cpu_flags): Add cpuwbnoinvd. + * i386-opc.tbl: Add WBNOINVD instruction. + * i386-init.h: Regenerate. + * i386-tbl.h: Likewise. + +2018-01-17 Jim Wilson + + * riscv-opc.c (riscv_opcodes) : Use z instead of 0. + +2018-01-17 Igor Tsimbalist + + * i386-gen.c (cpu_flag_init): Delete CPU_CET_FLAGS, CpuCET. + Add CPU_IBT_FLAGS, CPU_SHSTK_FLAGS, CPY_ANY_IBT_FLAGS, + CPU_ANY_SHSTK_FLAGS, CpuIBT, CpuSHSTK. + (cpu_flags): Add CpuIBT, CpuSHSTK. + * i386-opc.h (enum): Add CpuIBT, CpuSHSTK. + (i386_cpu_flags): Add cpuibt, cpushstk. + * i386-opc.tbl: Change CpuCET to CpuSHSTK and CpuIBT. + * i386-init.h: Regenerate. + * i386-tbl.h: Likewise. + +2018-01-16 Nick Clifton + + * po/pt_BR.po: Updated Brazilian Portugese translation. + * po/de.po: Updated German translation. + +2018-01-15 Jim Wilson + + * riscv-opc.c (match_c_nop): New. + (riscv_opcodes) : Handle an addi that compresses to c.nop. + +2018-01-15 Nick Clifton + + * po/uk.po: Updated Ukranian translation. + +2018-01-13 Nick Clifton + + * po/opcodes.pot: Regenerated. + +2018-01-13 Nick Clifton + + * configure: Regenerate. + +2018-01-13 Nick Clifton + + 2.30 branch created. + +2018-01-11 Igor Tsimbalist + + * i386-opc.tbl: Remove VL variants for 4FMAPS and 4VNNIW insns. + * i386-tbl.h: Regenerate. + +2018-01-10 Jan Beulich + + * i386-opc.tbl (v4fmaddss, v4fnmaddss): Adjust Disp8MemShift. + * i386-tbl.h: Re-generate. + +2018-01-10 Jan Beulich + + * i386-opc.tbl (vpcmpeqb, vpcmpleb, vpcmpltb, vpcmpneqb, + vpcmpnleb, vpcmpnltb, vpcmpequb, vpcmpleub, vpcmpltub, + vpcmpnequb, vpcmpnleub, vpcmpnltub, vpcmpeqw, vpcmplew, + vpcmpltw, vpcmpneqw, vpcmpnlew, vpcmpnltw, vpcmpequw, vpcmpleuw, + vpcmpltuw, vpcmpnequw, vpcmpnleuw, vpcmpnltuw): Adjust + Disp8MemShift of AVX512VL forms. + * i386-tbl.h: Re-generate. + +2018-01-09 Jim Wilson + + * riscv-dis.c (maybe_print_address): If base_reg is zero, + then the hi_addr value is zero. + +2018-01-09 James Greenhalgh + + * arm-dis.c (arm_opcodes): Add csdb. + (thumb32_opcodes): Add csdb. + +2018-01-09 James Greenhalgh + + * aarch64-tbl.h (aarch64_opcode_table): Add "csdb". + * aarch64-asm-2.c: Regenerate. + * aarch64-dis-2.c: Regenerate. + * aarch64-opc-2.c: Regenerate. + +2018-01-08 H.J. Lu + + PR gas/22681 + * i386-opc.tbl: Properly encode vmovd with Qword memeory operand. + Remove AVX512 vmovd with 64-bit operands. + * i386-tbl.h: Regenerated. + +2018-01-05 Jim Wilson + + * riscv-dis.c (print_insn_args) <'s'>: Call maybe_print_address for a + jalr. + +2018-01-03 Alan Modra + + Update year range in copyright notice of all files. + +2018-01-02 Jan Beulich + + * i386-gen.c (operand_type_init): Restore OPERAND_TYPE_REGYMM + and OPERAND_TYPE_REGZMM entries. + +For older changes see ChangeLog-2017 + +Copyright (C) 2018 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: