1. 30 Sep, 2019 1 commit
  2. 16 Sep, 2019 1 commit
  3. 14 Jun, 2019 1 commit
    • Alan Modra's avatar
      Regenerate with approved autotools version · 3a3a077c
      Alan Modra authored
      bfd/
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      binutils/
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* doc/Makefile.in: Regenerate.
      gas/
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* doc/Makefile.in: Regenerate.
      ld/
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      libctf/
      	* configure: Regenerate.
      3a3a077c
  4. 23 May, 2019 1 commit
    • Jose E. Marchesi's avatar
      gas: add support for eBPF · f8861f5d
      Jose E. Marchesi authored
      This patch adds a port for the Linux kernel eBPF to the GNU assembler.
      A testsuite and documentation updates are included.
      
      gas/ChangeLog:
      
      2019-05-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
      
      	* configure.ac: Handle bpf-*-* targets.
      	* configure.tgt (generic_target): Likewise.
      	* configure: Regenerate.
      	* Makefile.am (TARGET_CPU_CFILES): Add tc-bpf.c.
      	(TARGET_CPU_HFILES): Add tc-bpf.h.
      	* Makefile.in: Regenerated.
      	* config/tc-bpf.c: New file.
      	* config/tc-bpf.h: Likewise.
      	* doc/Makefile.am (CPU_DOCS): Add c-bpf.texi.
      	* doc/Makefile.in: Regenerated.
      	* doc/all.texi: set BPF.
      	* doc/as.texi: Add eBPF contents.
      	* doc/c-bpf.texi: New file.
      	* testsuite/gas/bpf/alu.d: New file.
      	* testsuite/gas/bpf/mem-be.d: Likewise.
      	* testsuite/gas/bpf/mem.s: Likewise.
      	* testsuite/gas/bpf/mem.d: Likewise.
      	* testsuite/gas/bpf/lddw-be.d: Likewise.
      	* testsuite/gas/bpf/lddw.s: Likewise.
      	* testsuite/gas/bpf/lddw.d: Likewise.
      	* testsuite/gas/bpf/jump-be.d: Likewise.
      	* testsuite/gas/bpf/jump.s: Likewise.
      	* testsuite/gas/bpf/jump.d: Likewise.
      	* testsuite/gas/bpf/exit-be.d: Likewise.
      	* testsuite/gas/bpf/exit.s: Likewise.
      	* testsuite/gas/bpf/exit.d: Likewise.
      	* testsuite/gas/bpf/call-be.d: Likewise.
      	* testsuite/gas/bpf/call.s: Likewise.
      	* testsuite/gas/bpf/call.d: Likewise.
      	* testsuite/gas/bpf/bpf.exp: Likewise.
      	* testsuite/gas/bpf/atomic-be.d: Likewise.
      	* testsuite/gas/bpf/atomic.s: Likewise.
      	* testsuite/gas/bpf/atomic.d: Likewise.
      	* testsuite/gas/bpf/alu-be.d: Likewise.
      	* testsuite/gas/bpf/alu32-be.d: Likewise.
      	* testsuite/gas/bpf/alu32.s: Likewise.
      	* testsuite/gas/bpf/alu32.d: Likewise.
      	* testsuite/gas/bpf/alu.s: Likewise.
      	* testsuite/gas/all/gas.exp: Introduce a nop_type for eBPF.
      	* testsuite/gas/all/org-1.s: Support nop_type 6.
      	* testsuite/gas/all/org-1.l: Updated to reflect changes in
      	org-1.s.
      f8861f5d
  5. 19 Feb, 2019 1 commit
    • Paul Hua's avatar
      Fix a potential deadlock in some older Loongson 3A1000 MIPS processors. · 6f2117ba
      Paul Hua authored
      	* NEWS: Mention -m[no-]fix-loongson3-llsc.
      	* configure.ac: Add --enable-mips-fix-loongson3-llsc.
      	Define DEFAULT_MIPS_FIX_LOONGSON3_LLSC.
      	* config.in: Regenerated.
      	* configure: Likewise.
      	* config/tc-mips.c (sync_insn, mips_fix_loongson3_llsc):
      	New variables.
      	(options): New OPTION_FIX_LOONGSON3_LLSC,
      	OPTION_NO_FIX_LOONGSON3_LLSC.
      	(md_longopts): Add -m[no-]fix-loongson3-llsc.
      	(md_begin): Initialize sync insn.
      	(fix_loongson3_llsc): New.
      	(append_insn): Call fix_loongson3_llsc.
      	(md_parse_option): Handle OPTION_FIX_LOONGSON3_LLSC,
      	OPTION_NO_FIX_LOONGSON3_LLSC.
      	(md_show_usage): Display -m[no-]fix-loongson3-llsc.
      	* doc/c-mips.texi: Document -m[no-]fix-loongson3-llsc,
      	--enable-mips-fix-loongson3-llsc=[yes|no].
      6f2117ba
  6. 27 Jan, 2019 1 commit
  7. 19 Jan, 2019 1 commit
  8. 16 Jan, 2019 1 commit
    • Jim Wilson's avatar
      RISC-V: Support ELF attribute for gas and readelf. · 2dc8dd17
      Jim Wilson authored
      	2019-01-16  Kito Cheng  <kito@andestech.com>
      		    Nelson Chu  <nelson@andestech.com>
      
      	bfd/
      	* elfnn-riscv.c (riscv_elf_obj_attrs_arg_type): New.
      	(elf_backend_obj_attrs_vendor): Define.
      	(elf_backend_obj_attrs_section_type): Likewise.
      	(elf_backend_obj_attrs_section): Likewise.
      	(elf_backend_obj_attrs_arg_type): Define as
      	riscv_elf_obj_attrs_arg_type.
      	* elfxx-riscv.c (riscv_estimate_digit): New.
      	(riscv_estimate_arch_strlen1): Likewise.
      	(riscv_estimate_arch_strlen): Likewise.
      	(riscv_arch_str1): Likewise.
      	(riscv_arch_str): Likewise.
      	* elfxx-riscv.h (riscv_arch_str): Declare.
      	binutils/
      	* readelf.c (get_riscv_section_type_name): New function.
      	(get_section_type_name): Add handler for RISC-V.
      	(riscv_attr_tag_t): Declare.
      	(riscv_attr_tag): New.
      	(display_riscv_attribute): New function.
      	(process_attributes): Add handler for RISC-V.
      	* testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
      	section.
      	gas/
      	* config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined.
      	(riscv_set_options): Add `arch_attr` field.
      	(riscv_opts): Set default value for arch_attr.
      	(riscv_write_out_arch_attr): New.
      	(riscv_set_public_attributes): Likewise.
      	(riscv_md_end): Likewise.
      	(riscv_convert_symbolic_attribute): Likewise.
      	(s_riscv_attribute): Likewise.
      	(explicit_arch_attr): Likewise.
      	(riscv_pseudo_table): Add .attribute to the table.
      	(options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR
      	enumeration constants.
      	(md_longopts): Add `march-attr' and `mno-arch-attr' options.
      	(md_parse_option): Handle the new options.
      	(md_show_usage): Document the `march-attr' option.
      	* config/tc-riscv.h (md_end): Define as riscv_md_end
      	(riscv_md_end): Declare.
      	(CONVERT_SYMBOLIC_ATTRIBUTE): Define as
      	riscv_convert_symbolic_attribute.
      	(riscv_convert_symbolic_attribute): Declare.
      	(start_assemble): Declare.
      	* testsuite/gas/elf/elf.exp: Adjust test case for section2.e.
      	* testsuite/gas/elf/section2.e-riscv: New.
      	* testsuite/gas/riscv/attribute-01.d: New test
      	* testsuite/gas/riscv/attribute-02.d: Likewise.
      	* testsuite/gas/riscv/attribute-03.d: Likewise.
      	* testsuite/gas/riscv/attribute-04.d: Likewise.
      	* testsuite/gas/riscv/attribute-04.s: Likewise.
      	* testsuite/gas/riscv/attribute-05.d: Likewise.
      	* testsuite/gas/riscv/attribute-05.s: Likewise.
      	* testsuite/gas/riscv/attribute-06.d: Likewise.
      	* testsuite/gas/riscv/attribute-06.s: Likewise.
      	* testsuite/gas/riscv/attribute-07.d: Likewise.
      	* testsuite/gas/riscv/attribute-07.s: Likewise.
      	* testsuite/gas/riscv/attribute-08.d: Likewise.
      	* testsuite/gas/riscv/attribute-08.s: Likewise.
      	* testsuite/gas/riscv/attribute-unknown.d: Likewise.
      	* testsuite/gas/riscv/attribute-unknown.s: Likewise.
      	* testsuite/gas/riscv/empty.l: Likewise.
      	* doc/c-riscv.texi (.attribute): Add documentation.
      	* configure.ac (--enable-default-riscv-attribute): New options.
      	* configure: Re-generate.
      	* config.in: Re-generate.
      	include/
      	* elf/riscv.h (SHT_RISCV_ATTRIBUTES): Define.
      	(Tag_RISCV_arch): Likewise.
      	(Tag_RISCV_priv_spec): Likewise.
      	(Tag_RISCV_priv_spec_minor): Likewise.
      	(Tag_RISCV_priv_spec_revision): Likewise.
      	(Tag_RISCV_unaligned_access): Likewise.
      	(Tag_RISCV_stack_align): Likewise.
      2dc8dd17
  9. 09 Jan, 2019 1 commit
    • Andrew Paprocki's avatar
      Adjust bfd/warning.m4 egrep patterns · 3107326d
      Andrew Paprocki authored
      Adjust the `bfd/warning.m4` `egrep` patterns to handle preprocessors
      that do not define `__GNUC__`, leaving the string in the output.
      
      bfd/
      	* warning.m4: Adjust egrep pattern for non-GNU compilers.
      	* configure: Regenerate.
      binutils/
      	* configure: Regenerate.
      gas/
      	* configure: Regenerate.
      gold/
      	* configure: Regenerate.
      gprof/
      	* configure: Regenerate.
      ld/
      	* configure: Regenerate.
      opcodes/
      	* configure: Regenerate.
      3107326d
  10. 20 Sep, 2018 1 commit
    • Nick Clifton's avatar
      Andes Technology has good news for you, we plan to update the nds32 port of binutils on upstream! · fbaf61ad
      Nick Clifton authored
      We have not only removed all unsupported and obsolete code, but also supported lost of new features,
      including better link-time relaxations and TLS implementations. Besides, the files generated by the
      newly assembler and linker usually get higher performance and more optimized code size.
      
      ld	* 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.
      
      include	* 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.
      
      gas 	* 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.
      
      binutils* testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
      	from 215 to 255 for NDS32.
      
      bfd	* 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.
      
      opcodes	* 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.
      fbaf61ad
  11. 31 Aug, 2018 1 commit
    • H.J. Lu's avatar
      x86: Extend assembler to generate GNU property notes · b4a3a7b4
      H.J. Lu authored
      Add -mx86-used-note=[yes|no] option to generate (or not) GNU property
      notes with GNU_PROPERTY_X86_FEATURE_2_USED and GNU_PROPERTY_X86_ISA_1_USED
      properties.  If the assembly input contains no instructions, set the
      GNU_PROPERTY_X86_UINT32_VALID bit in GNU_PROPERTY_X86_FEATURE_2_USED
      property.  Add a --enable-x86-used-note configure time option to set the
      default behavior.  Set the default if the configure option is not used
      to "no".
      
      	* 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=.
      b4a3a7b4
  12. 27 Jun, 2018 1 commit
    • Alan Modra's avatar
      gas object file locations · e11078da
      Alan Modra authored
      With the update to newer autotools, some gas object files are now
      built in config/, breaking xtensa-elf and ia64-vms.  This patch fixes
      the dependencies.
      
      	* 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.
      e11078da
  13. 24 Jun, 2018 1 commit
  14. 19 Jun, 2018 1 commit
    • Simon Marchi's avatar
      Bump to autoconf 2.69 and automake 1.15.1 · d0ac1c44
      Simon Marchi authored
      When trying to run the update-gnulib.sh script in gdb, I get this:
      
      Error: Wrong automake version (Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^      =:+{}]+)}/ at /opt/automake/1.11.1/bin/automake line 4113.), we need 1.11.1.
      Aborting.
      
      Apparently, it's an issue with a regex in automake that triggers a
      warning starting with Perl 5.22.  It has been fixed in automake 1.15.1.
      So I think it's a good excuse to bump the versions of autoconf and
      automake used in the gnulib import.  And to avoid requiring multiple
      builds of autoconf/automake, it was suggested that we bump the required
      version of those tools for all binutils-gdb.
      
      For autoconf, the 2.69 version is universally available, so it's an easy
      choice.  For automake, different distros and distro versions have
      different automake versions.  But 1.15.1 seems to be the most readily
      available as a package.  In any case, it's easy to build it from source.
      
      I removed the version checks from AUTOMAKE_OPTIONS and AC_PREREQ,
      because I don't think they are useful in our case.  They only specify a
      lower bound for the acceptable version of automake/autoconf.  That's
      useful if you let the user choose the version of the tool they want to
      use, but want to set a minimum version (because you use a feature that
      was introduced in that version).  In our case, we force people to use a
      specific version anyway.  For the autoconf version, we have the check in
      config/override.m4 that enforces the version we want.  It will be one
      less thing to update next time we change autotools version.
      
      I hit a few categories of problems that required some changes.  They are
      described below along with the chosen solutions.
      
      Problem 1:
      
        configure.ac:17: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
        configure.ac:17: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
      
      Solution 1:
      
        Adjust the code based on the example at that URL.
      
      Problem 2 (in zlib/):
      
        Makefile.am: error: required file './INSTALL' not found
        Makefile.am:   'automake --add-missing' can install 'INSTALL'
        Makefile.am: error: required file './NEWS' not found
        Makefile.am: error: required file './AUTHORS' not found
        Makefile.am: error: required file './COPYING' not found
        Makefile.am:   'automake --add-missing' can install 'COPYING'
      
      Solution 2:
      
        Add the foreign option to AUTOMAKE_OPTIONS.
      
      Problem 3:
      
        doc/Makefile.am:20: error: support for Cygnus-style trees has been removed
      
      Solution 3:
      
        Remove the cygnus options.
      
      Problem 4:
      
        Makefile.am:656: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
      
      Solution 4:
      
        Rename "INCLUDES = " to "AM_CPPFLAGS += " (because AM_CPPFLAGS is
        already defined earlier).
      
      Problem 5:
      
        doc/Makefile.am:71: warning: suffix '.texinfo' for Texinfo files is discouraged; use '.texi' instead
        doc/Makefile.am: warning: Oops!
        doc/Makefile.am:     It appears this file (or files included by it) are triggering
        doc/Makefile.am:     an undocumented, soon-to-be-removed automake hack.
        doc/Makefile.am:     Future automake versions will no longer place in the builddir
        doc/Makefile.am:     (rather than in the srcdir) the generated '.info' files that
        doc/Makefile.am:     appear to be cleaned, by e.g. being listed in CLEANFILES or
        doc/Makefile.am:     DISTCLEANFILES.
        doc/Makefile.am:     If you want your '.info' files to be placed in the builddir
        doc/Makefile.am:     rather than in the srcdir, you have to use the shiny new
        doc/Makefile.am:     'info-in-builddir' automake option.
      
      Solution 5:
      
        Rename .texinfo files to .texi.
      
      Problem 6:
      
        doc/Makefile.am: warning: Oops!
        doc/Makefile.am:     It appears this file (or files included by it) are triggering
        doc/Makefile.am:     an undocumented, soon-to-be-removed automake hack.
        doc/Makefile.am:     Future automake versions will no longer place in the builddir
        doc/Makefile.am:     (rather than in the srcdir) the generated '.info' files that
        doc/Makefile.am:     appear to be cleaned, by e.g. being listed in CLEANFILES or
        doc/Makefile.am:     DISTCLEANFILES.
        doc/Makefile.am:     If you want your '.info' files to be placed in the builddir
        doc/Makefile.am:     rather than in the srcdir, you have to use the shiny new
        doc/Makefile.am:     'info-in-builddir' automake option.
      
      Solution 6:
      
        Remove the hack at the bottom of doc/Makefile.am and use
        the info-in-builddir automake option.
      
      Problem 7:
      
        doc/Makefile.am:35: error: required file '../texinfo.tex' not found
        doc/Makefile.am:35:   'automake --add-missing' can install 'texinfo.tex'
      
      Solution 7:
      
        Use the no-texinfo.tex automake option.  We also have one in
        texinfo/texinfo.tex, not sure if we should point to that, or move it
        (or a newer version of it added with automake --add-missing) to
        top-level.
      
      Problem 8:
      
        Makefile.am:131: warning: source file 'config/tc-aarch64.c' is in a subdirectory,
        Makefile.am:131: but option 'subdir-objects' is disabled
        automake: warning: possible forward-incompatibility.
        automake: At least a source file is in a subdirectory, but the 'subdir-objects'
        automake: automake option hasn't been enabled.  For now, the corresponding output
        automake: object file(s) will be placed in the top-level directory.  However,
        automake: this behaviour will change in future Automake versions: they will
        automake: unconditionally cause object files to be placed in the same subdirectory
        automake: of the corresponding sources.
        automake: You are advised to start using 'subdir-objects' option throughout your
        automake: project, to avoid future incompatibilities.
      
      Solution 8:
      
        Use subdir-objects, that means adjusting references to some .o that will now
        be in config/.
      
      Problem 9:
      
        configure.ac:375: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
        ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
        ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from...
        ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from...
        ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
        ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
        ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
        configure.ac:375: the top level
      
      Solution 9:
      
        Use AC_LANG_SOURCE, or use proper quoting.
      
      Problem 10 (in intl/):
      
        configure.ac:7: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
        /usr/share/aclocal/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from...
        /usr/share/aclocal/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from...
        /usr/share/aclocal/threadlib.m4:318: gl_THREADLIB is expanded from...
        /usr/share/aclocal/lock.m4:9: gl_LOCK is expanded from...
        /usr/share/aclocal/intl.m4:211: gt_INTL_SUBDIR_CORE is expanded from...
        /usr/share/aclocal/intl.m4:25: AM_INTL_SUBDIR is expanded from...
        /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
        configure.ac:7: the top level
      
      Solution 10:
      
        Add AC_USE_SYSTEM_EXTENSIONS in configure.ac.
      
      ChangeLog:
      
      	* libtool.m4: Use AC_LANG_SOURCE.
      	* configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE.
      	* README-maintainer-mode: Update version requirements.
      	* ar-lib: New file.
      	* test-driver: New file.
      	* configure: Re-generate.
      
      bfd/ChangeLog:
      
      	* 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.
      
      binutils/ChangeLog:
      
      	* 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.
      
      config/ChangeLog:
      
      	* override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69.
      
      etc/ChangeLog:
      
      	* configure.in: Remove AC_PREREQ.
      	* configure: Re-generate.
      
      gas/ChangeLog:
      
      	* 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.
      
      gdb/ChangeLog:
      
      	* common/common-defs.h (PACKAGE_NAME, PACKAGE_VERSION,
      	PACKAGE_STRING, PACKAGE_TARNAME): Undefine.
      	* configure.ac: Remove AC_PREREQ, add missing quoting.
      	* gnulib/configure.ac: Modernize usage of
      	AC_INIT/AM_INIT_AUTOMAKE.  Remove AC_PREREQ.
      	* gnulib/update-gnulib.sh (AUTOCONF_VERSION): Bump to 2.69.
      	(AUTOMAKE_VERSION): Bump to 1.15.1.
      	* configure: Re-generate.
      	* config.in: Re-generate.
      	* aclocal.m4: Re-generate.
      	* gnulib/aclocal.m4: Re-generate.
      	* gnulib/config.in: Re-generate.
      	* gnulib/configure: Re-generate.
      	* gnulib/import/Makefile.in: Re-generate.
      
      gdb/gdbserver/ChangeLog:
      
      	* configure.ac: Remove AC_PREREQ, add missing quoting.
      	* configure: Re-generate.
      	* config.in: Re-generate.
      	* aclocal.m4: Re-generate.
      
      gdb/testsuite/ChangeLog:
      
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Re-generate.
      
      gold/ChangeLog:
      
      	* 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.
      
      gprof/ChangeLog:
      
      	* 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.
      
      intl/ChangeLog:
      
      	* configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ.
      	* configure: Re-generate.
      	* config.h.in: Re-generate.
      	* aclocal.m4: Re-generate.
      
      ld/ChangeLog:
      
      	* 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.
      
      libdecnumber/ChangeLog:
      
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Re-generate.
      	* aclocal.m4.
      
      libiberty/ChangeLog:
      
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Re-generate.
      	* config.in: Re-generate.
      
      opcodes/ChangeLog:
      
      	* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in: Re-generate.
      	* aclocal.m4: Re-generate.
      	* configure: Re-generate.
      
      readline/ChangeLog.gdb:
      
      	* configure: Re-generate.
      	* examples/rlfe/configure: Re-generate.
      
      sim/ChangeLog:
      
      	* All configure.ac: Remove AC_PREREQ.
      	* All configure: Re-generate.
      
      zlib/ChangeLog.bin-gdb:
      
      	* configure.ac: Modernize AC_INIT call, remove AC_PREREQ.
      	* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add
      	foreign.
      	* Makefile.in: Re-generate.
      	* aclocal.m4: Re-generate.
      	* configure: Re-generate.
      d0ac1c44
  15. 01 Jun, 2018 1 commit
    • H.J. Lu's avatar
      Bump version number to 2.30.52 · 55e99962
      H.J. Lu authored
      Bump version number to 2.30.52 since _bfd_link_hide_symbol has been added
      to bfd_target.
      
      bfd/
      
      	* version.m4: Bump version to 2.30.52
      	* configure: Regenerated.
      
      binutils/
      
      	* configure: Regenerated.
      
      gas/
      
      	* configure: Regenerated.
      
      gprof/
      
      	* configure: Regenerated.
      
      ld/
      
      	* configure: Regenerated.
      
      opcodes/
      
      	* configure: Regenerated.
      55e99962
  16. 26 Apr, 2018 1 commit
    • Nick Clifton's avatar
      Extend the assembler so that it can automatically generate GNU Build attribute... · 0df8ad28
      Nick Clifton authored
      Extend the assembler so that it can automatically generate GNU Build attribute notes if none are present in the input files.
      
      gas	* 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.
      
      binutils* 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.
      0df8ad28
  17. 18 Apr, 2018 1 commit
    • Alan Modra's avatar
      various i386-aout and i386-coff target removal · c65c21e1
      Alan Modra authored
      Also tidies some other aout leftovers in binutils-common.exp.
      
      bfd/
      	* 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.
      binutils/
      	* testsuite/lib/binutils-common.exp: Remove support for assorted
      	aout targets.
      gas/
      	* 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.
      include/
      	* aout/dynix3.h: Delete.
      ld/
      	* 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.
      c65c21e1
  18. 16 Apr, 2018 3 commits
    • Alan Modra's avatar
      Remove m68k-aout and m68k-coff support · dc12032b
      Alan Modra authored
      include/
      	* 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.
      bfd/
      	* 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.
      binutils/
      	* 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.
      gas/
      	* 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.
      ld/
      	* 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.
      dc12032b
    • Alan Modra's avatar
      Remove sh-symbianelf support · 4db9937a
      Alan Modra authored
      bfd/
      	* 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.
      gas/
      	* 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.
      ld/
      	* 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.
      4db9937a
    • Alan Modra's avatar
      Remove m88k support · c2bf1eec
      Alan Modra authored
      include/
      	* coff/internal.h: Remove m88k support.
      	* coff/m88k.h: Delete.
      	* opcode/m88k.h: Delete.
      bfd/
      	* 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.
      opcodes/
      	* 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.
      binutils/
      	* MAINTAINERS (Mark Kettenis): Move to past maintainers.
      	* testsuite/binutils-all/objdump.exp: Remove m88k support.
      gas/
      	* configure.ac: Remove m88k support.
      	* config.in: Regenerate.
      	* configure: Regenerate.
      ld/
      	* 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.
      c2bf1eec
  19. 11 Apr, 2018 1 commit
    • Alan Modra's avatar
      Remove i860, i960, bout and aout-adobe targets · a8eb42a8
      Alan Modra authored
      Plus remove a few leftovers from the 29k support.
      
      include/
      	* 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.
      bfd/
      	* 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.
      opcodes/
      	* 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.
      binutils/
      	* 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.
      gas/
      	* 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.
      ld/
      	* 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.
      a8eb42a8
  20. 05 Apr, 2018 1 commit
    • H.J. Lu's avatar
      Use dlsym to check if libdl is needed for plugin · 3cba8b6c
      H.J. Lu authored
      config/plugins.m4 has
      
       if test "$plugins" = "yes"; then
          AC_SEARCH_LIBS([dlopen], [dl])
        fi
      
      Plugin uses dlsym, but libasan.so only intercepts dlopen, not dlsym:
      
      [hjl@gnu-tools-1 binutils-text]$ nm -D /lib64/libasan.so.4| grep " dl"
      0000000000038580 W dlclose
                       U dl_iterate_phdr
      000000000004dc50 W dlopen
                       U dlsym
                       U dlvsym
      [hjl@gnu-tools-1 binutils-text]$
      
      Testing dlopen for libdl leads to false negative when -fsanitize=address
      is used.  It results in link failure:
      
      ../bfd/.libs/libbfd.a(plugin.o): undefined reference to symbol 'dlsym@@GLIBC_2.16'
      
      dlsym should be used to check if libdl is needed for plugin.
      
      bfd/
      
      	PR gas/22318
      	* configure: Regenerated.
      
      binutils/
      
      	PR gas/22318
      	* configure: Regenerated.
      
      gas/
      
      	PR gas/22318
      	* configure: Regenerated.
      
      gprof/
      
      	PR gas/22318
      	* configure: Regenerated.
      
      ld/
      
      	PR gas/22318
      	* configure: Regenerated.
      3cba8b6c
  21. 28 Feb, 2018 1 commit
    • Alan Modra's avatar
      Add missing translations to ALL_LINGUAS · e184813f
      Alan Modra authored
      binutils/
      	* configure.ac (ALL_LINGUAS): Add sr.  Sort.
      	* configure: Regenerate.
      gas/
      	* configure.ac (ALL_LINGUAS): Add uk.  Sort.
      	* configure: Regenerate.
      gprof/
      	* configure.ac (ALL_LINGUAS): Add it, ro, ru, uk.  Sort.
      	* configure: Regenerate.
      ld/
      	* configure.ac (ALL_LINGUAS): Add ja.  Sort.
      	* configure: Regenerate.
      opcodes/
      	* configure.ac (ALL_LINGUAS): Sort.
      	* configure: Regenerate.
      e184813f
  22. 23 Jan, 2018 1 commit
  23. 13 Jan, 2018 1 commit
    • Nick Clifton's avatar
      Bump version number to 2.30.51 · 769c7ea5
      Nick Clifton authored
      bfd/
      	* version.m4: Bump version to 2.30.51
      	* configure: Regenerate.
      
      binutils/
      	* configure: Regenerate.
      
      gas/
      	* configure: Regenerate.
      
      gprof/
      	* configure: Regenerate.
      
      ld/
      	* configure: Regenerate.
      
      opcodes/
      	* configure: Regenerate.
      769c7ea5
  24. 04 Jul, 2017 1 commit
    • Tristan Gingold's avatar
      Regenerate configure. · 0d702cfe
      Tristan Gingold authored
      bfd/
      2017-07-04  Tristan Gingold  <gingold@adacore.com>
      
      	* version.m4: Bump version to 2.29.51
      	* configure: Regenerate.
      
      binutils/
      2017-07-04  Tristan Gingold  <gingold@adacore.com>
      
      	* configure: Regenerate.
      
      gas/
      2017-07-04  Tristan Gingold  <gingold@adacore.com>
      
      	* configure: Regenerate.
      
      gprof/
      2017-07-04  Tristan Gingold  <gingold@adacore.com>
      
      	* configure: Regenerate.
      
      ld/
      2017-07-04  Tristan Gingold  <gingold@adacore.com>
      
      	* configure: Regenerate.
      
      opcodes/
      2017-07-04  Tristan Gingold  <gingold@adacore.com>
      
      	* configure: Regenerate.
      0d702cfe
  25. 22 May, 2017 1 commit
    • Jiong Wang's avatar
      [AArch64, gas] Support ILP32 triplet aarch64*-linux-gnu_ilp32 · 3c0367d0
      Jiong Wang authored
      This patch allows AArch64 GAS defaulting to ILP32 if it is configured with
      aarch64*-linux-gnu_ilp32.
      
      "md_after_parse_args" is implemented to update ABI into ILP32 if DEFAULT_ARCH is
      "aarch64:32".
      
      gas/
      	* configure.tgt: Set "arch" to "aarch64" if ${cpu} equals "aarch64".
      	Recognize the new triplet name aarch64*-linux-gnu_ilp32.
      	* configure.ac: Output DEFAULT_ARCH macro for AArch64.
      	* configure: Regenerate.
      	* config/tc-aarch64.h (aarch64_after_parse_args): New declaration.
      	(md_after_parse_args): New define.
      	* config/tc-aarch64.c (aarch64_abi_type): New enumeration
      	AARCH64_ABI_NONE.
      	(DEFAULT_ARCH): New define.
      	(aarch64_abi): Set default value to AARCH64_ABI_NONE.
      	(aarch64_after_parse_args): New function.
      3c0367d0
  26. 18 Jan, 2017 1 commit
    • Nathan Sidwell's avatar
      Catch gas exit-via-signal · 1ec4b9f2
      Nathan Sidwell authored
      	gas/
      	* as.h (gas_assert): Use abort.
      	(as_assert): Remove.
      	(signal_init): Declare.
      	* as.c (main): Call signal_init.
      	* messages.c: #include <signal.h>
      	(as_assert): Delete.
      	(as_abort): Allow NULL FILE.
      	(signal_crash): New.
      	(signal_init): Register fatal signal handlers.
      	* configure.ac: Check for strsignal.
      	* config.in: Rebuilt.
      	* configure: Rebuilt.
      1ec4b9f2
  27. 09 Jan, 2017 1 commit
  28. 23 Dec, 2016 1 commit
    • Tristan Gingold's avatar
      Bump version to 2.28.51 · 99b5dbf2
      Tristan Gingold authored
      bfd/
      2016-12-23  Tristan Gingold  <gingold@adacore.com>
      
      	* version.m4: Bump version to 2.28.51
      	* configure: Regenerate.
      
      binutils/
      2016-12-23  Tristan Gingold  <gingold@adacore.com>
      
      	* configure: Regenerate.
      
      gas/
      2016-12-23  Tristan Gingold  <gingold@adacore.com>
      
      	* configure: Regenerate.
      
      gprof/
      2016-12-23  Tristan Gingold  <gingold@adacore.com>
      
      	* configure: Regenerate.
      
      ld/
      2016-12-23  Tristan Gingold  <gingold@adacore.com>
      
      	* configure: Regenerate.
      
      opcodes/
      2016-12-23  Tristan Gingold  <gingold@adacore.com>
      
      	* configure: Regenerate.
      99b5dbf2
  29. 08 Dec, 2016 1 commit
    • Alan Modra's avatar
      sync binutils config/ with gcc · da17fe9d
      Alan Modra authored
      config/
      	* acx.m4: Import from gcc.
      	* bootstrap-asan.mk: Likewise.
      	* multi.m4: Likewise.
      /
      	* configure: Regnerate.
      gas/
      	* configure: Regnerate.
      ld/
      	* configure: Regnerate.
      libiberty/
      	* configure: Regnerate.
      zlib/
      	* configure: Regnerate.
      da17fe9d
  30. 22 Nov, 2016 1 commit
    • Ambrogino Modigliani's avatar
      Fix spelling mistakes in comments in configure scripts · 96fe4562
      Ambrogino Modigliani authored
      All changes are limited to comments, and no run-time behavior is
      affected.
      
      bfd/ChangeLog:
      2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
      
              * warning.m4: Fix spelling in comments.
              * configure.ac: Fix spelling in comments.
              * configure: Regenerate.
      
      binutils/ChangeLog:
      2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
      
              * configure: Regenerate.
      
      gdb/ChangeLog:
      2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
      
              * configure.ac: Fix spelling in comments.
              * configure: Regenerate.
      
      gas/ChangeLog:
      2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
      
              * configure: Regenerate.
      
      gold/ChangeLog:
      2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
      
              * configure: Regenerate.
      
      gprof/ChangeLog:
      2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
      
              * configure: Regenerate.
      
      ld/ChangeLog:
      2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
      
              * configure: Regenerate.
      
      opcodes/ChangeLog:
      2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
      
              * configure: Regenerate.
      96fe4562
  31. 21 Nov, 2016 1 commit
    • Alan Modra's avatar
      Use ACX_PROG_CMP_IGNORE_INITIAL in gas · 2d7f2507
      Alan Modra authored
      	* configure.ac: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
      	* Makefile.am (comparison): Rewrite using do_compare.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      	* doc/Makefile.in: Regenerate.
      2d7f2507
  32. 01 Nov, 2016 1 commit
    • Nick Clifton's avatar
      Add support for RISC-V architecture. · e23eba97
      Nick Clifton authored
      bfd	* Makefile.am: Add entries for riscv32-elf and riscv64-elf.
      	* config.bdf: Likewise.
      	* configure.ac: Likewise.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* archures.c: Add bfd_riscv_arch.
      	* reloc.c: Add riscv relocs.
      	* targets.c: Add riscv_elf32_vec and riscv_elf64_vec.
      	* bfd-in2.h: Regenerate.
      	* libbfd.h: Regenerate.
      	* elf-bfd.h: Add RISCV_ELF_DATA to enum elf_target_id.
      	* elfnn-riscv.c: New file.
      	* elfxx-riscv.c: New file.
      	* elfxx-riscv.h: New file.
      
      binutils* readelf.c (guess_is_rela): Add EM_RISCV.
      	(get_machine_name): Likewise.
      	(dump_relocations): Add support for riscv relocations.
      	(get_machine_flags): Add support for riscv flags.
      	(is_32bit_abs_reloc): Add R_RISCV_32.
      	(is_64bit_abs_reloc): Add R_RISCV_64.
      	(is_none_reloc): Add R_RISCV_NONE.
      	* testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
      	Expect the debug_ranges test to fail.
      
      gas	* Makefile.am: Add riscv files.
      	* Makefile.in: Regenerate.
      	* NEWS: Mention the support for this architecture.
      	* configure.in: Define a default architecture.
      	* configure: Regenerate.
      	* configure.tgt: Add entries for riscv.
      	* doc/as.texinfo: Likewise.
      	* testsuite/gas/all/gas.exp: Expect the redef tests to fail.
      	* testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
      	* config/tc-riscv.c: New file.
      	* config/tc-riscv.h: New file.
      	* doc/c-riscv.texi: New file.
      	* testsuite/gas/riscv: New directory.
      	* testsuite/gas/riscv/riscv.exp: New file.
      	* testsuite/gas/riscv/t_insns.d: New file.
      	* testsuite/gas/riscv/t_insns.s: New file.
      
      ld	* Makefile.am: Add riscv files.
      	* Makefile.in: Regenerate.
      	* NEWS: Mention the support for this target.
      	* configure.tgt: Add riscv entries.
      	* emulparams/elf32lriscv-defs.sh: New file.
      	* emulparams/elf32lriscv.sh: New file.
      	* emulparams/elf64lriscv-defs.sh: New file.
      	* emulparams/elf64lriscv.sh: New file.
      	* emultempl/riscvelf.em: New file.
      
      opcodes	* configure.ac: Add entry for bfd_riscv_arch.
      	* configure: Regenerate.
      	* disassemble.c (disassembler): Add support for riscv.
      	(disassembler_usage): Likewise.
      	* riscv-dis.c: New file.
      	* riscv-opc.c: New file.
      
      include	* dis-asm.h: Add prototypes for print_insn_riscv and
      	print_riscv_disassembler_options.
      	* elf/riscv.h: New file.
      	* opcode/riscv-opc.h: New file.
      	* opcode/riscv.h: New file.
      e23eba97
  33. 26 Sep, 2016 1 commit
    • Vlad Zakharov's avatar
      When building target binaries, ensure that the warning flags selected for the... · c5da1932
      Vlad Zakharov authored
      When building target binaries, ensure that the warning flags selected for the command line match the target compiler.
      
      bfd	* warning.m4 (AC_EGREP_CPP_FOR_BUILD): Introduce macro
      	to verify CC_FOR_BUILD compiler.
      	(AM_BINUTILS_WARNINGS): Introduce ac_cpp_for_build variable
      	and add CC_FOR_BUILD compiler checks.
      	* Makefile.in: Regenerate.
      	* configure: Likewise.
      	* doc/Makefile.in: Likewise.
      
      binutils	* Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
      	when building with CC_FOR_BUILD compiler.
      	* Makefile.in: Regenerate.
      	* configure: Likewise.
      	* doc/Makefile.in: Likewise.
      
      gas	* Makefile.in: Regenerate.
      	* configure: Likewise.
      	* doc/Makefile.in: Likewise.
      
      gold	* Makefile.in: Regenerate.
      	* configure: Likewise.
      	* testsuite/Makefile.in: Likewise.
      
      gprof	* Makefile.in: Regenerate.
      	* configure: Likewise.
      
      ld	* Makefile.in: Regenerate.
      	* configure: Likewise.
      
      opcodes	* Makefile.in: Regenerate.
      	* configure: Likewise.
      c5da1932
  34. 21 Jul, 2016 1 commit
    • H.J. Lu's avatar
      Set BFD_VERSION to 2.27.51 · fecd57f9
      H.J. Lu authored
      bfd/
      
      	* version.m4 (BFD_VERSION): Set to 2.27.51.
      	* configure: Regenerated.
      
      binutils/
      
      	* configure: Regenerated.
      
      gas/
      
      	* configure: Regenerated.
      
      gprof/
      
      	* configure: Regenerated.
      
      ld/
      
      	* configure: Regenerated.
      
      opcodes/
      
      	* configure: Regenerated.
      fecd57f9
  35. 30 Jun, 2016 1 commit
  36. 09 May, 2016 1 commit
  37. 31 Mar, 2016 1 commit
    • Trevor Saunders's avatar
      enable -Wwrite-strings for gas · 6757cf57
      Trevor Saunders authored
      We add a new AC_SUBST to warning.m4 so that the test if the warning is
      supported is centralized, but the warning can be enabled per directory.
      
      binutils/ChangeLog:
      
      2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
      
      	* configure: Regenerate.
      
      gprof/ChangeLog:
      
      2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
      
      	* configure: Regenerate.
      
      ld/ChangeLog:
      
      2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
      
      	* configure: Regenerate.
      
      opcodes/ChangeLog:
      
      2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
      
      	* configure: Regenerate.
      
      bfd/ChangeLog:
      
      2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
      
      	* configure: Regenerate.
      	* warning.m4: Add WARN_WRITE_STRINGS AC_SUBST.
      
      gold/ChangeLog:
      
      2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
      
      	* configure: Regenerate.
      
      gas/ChangeLog:
      
      2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
      
      	* Makefile.am: Add WARN_WRITE_STRINGS to WARN_CFLAGS.
      	* Makefile.in: Regenerate.
      	* configure: Likewise.
      6757cf57
  38. 22 Mar, 2016 1 commit