1. 02 Feb, 2019 2 commits
  2. 01 Feb, 2019 1 commit
  3. 31 Jan, 2019 4 commits
    • Andreas Krebbel's avatar
      S/390: Implement instruction set extensions · 126b2985
      Andreas Krebbel authored
      opcodes/ChangeLog:
      
      2019-01-31  Andreas Krebbel  <krebbel@linux.ibm.com>
      
      	Backport from mainline
      	2019-01-31  Andreas Krebbel  <krebbel@linux.ibm.com>
      
      	* s390-mkopc.c (main): Accept arch13 as cpu string.
      	* s390-opc.c: Add new instruction formats and instruction opcode
      	masks.
      	* s390-opc.txt: Add new arch13 instructions.
      
      include/ChangeLog:
      
      2019-01-31  Andreas Krebbel  <krebbel@linux.ibm.com>
      
      	Backport from mainline
      	2019-01-31  Andreas Krebbel  <krebbel@linux.ibm.com>
      
      	* opcode/s390.h (enum s390_opcode_cpu_val): Add
      	S390_OPCODE_ARCH13.
      
      gas/ChangeLog:
      
      2019-01-31  Andreas Krebbel  <krebbel@linux.ibm.com>
      
      	Backport from mainline
      	2019-01-31  Andreas Krebbel  <krebbel@linux.ibm.com>
      
      	* config/tc-s390.c (s390_parse_cpu): New entry for arch13.
      	* doc/c-s390.texi: Document arch13 march option.
      	* testsuite/gas/s390/s390.exp: Run the arch13 related tests.
      	* testsuite/gas/s390/zarch-arch13.d: New test.
      	* testsuite/gas/s390/zarch-arch13.s: New test.
      	* testsuite/gas/s390/zarch-z13.d: Expect the renamed mnemonics
      	also for z13.
      126b2985
    • Alan Modra's avatar
      Assorted warning fixes · d3357b4a
      Alan Modra authored
      gcc-9 flagged warnings at the places I'm patching here, all real bugs.
      
      	* config/tc-alpha.c (md_apply_fix): Correct range checks for
      	BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BSR.
      	* config/tc-arm.c (md_apply_fix): Use llabs rather than abs.
      	* config/tc-csky.c (get_macro_reg_vals): Pass s to csky_show_error.
      
      (cherry picked from commit 3ca4a8ec)
      d3357b4a
    • Alan Modra's avatar
      Document ld -t behaviour · 580e7b15
      Alan Modra authored
      	* NEWS: Mention -t change.
      	* ld.texi (--trace/-t): Expand documentation a little.
      
      (cherry picked from commit 4f4690cd)
      580e7b15
    • GDB Administrator's avatar
      Automatic date update in version.in · cd6b4a5c
      GDB Administrator authored
      cd6b4a5c
  4. 30 Jan, 2019 1 commit
  5. 29 Jan, 2019 5 commits
    • Max Filippov's avatar
      xtensa: gas: don't keep relocations for constants · 0b404f6e
      Max Filippov authored
      xtensa gas chokes on 8/16 bit data entries representing constant symbols
      because it leaves BFD_RELOC_8/BFD_RELOC_16 fixups for which xtensa BFD
      cannot emit relocations. Resolve fixups for constant symbols in
      md_apply_fix.
      
      gas/
      2019-01-29  Max Filippov  <jcmvbkbc@gmail.com>
      
      	* config/tc-xtensa.c (md_apply_fix): Mark fixups for constant
      	symbols as done in md_apply_fix.
      	* testsuite/gas/all/forward.d: Don't XFAIL for xtensa.
      0b404f6e
    • Alan Modra's avatar
      Control gas enable-checking default by bfd/development.sh · 0d2871ac
      Alan Modra authored
      	* configure.ac (ac_checking): Set from bfd/development.sh
      	development variable.
      	* configure: Regenerate.
      
      (cherry picked from commit e044973b)
      0d2871ac
    • Nick Clifton's avatar
      Fix error in expression evalutation in linker output maps. · 12542b2a
      Nick Clifton authored
      	PR 24008
      	* ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
      	* ldexp.c (fold_name): Move expld.assign_name check later to
      	avoid an extra lookup.
      	(exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
      	values, and don't clear expld.assign_name.
      	* ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
      	(print_assignment): Resolve entire assignment expression.
      	Don't access symbol u.def unless symbol is defined.
      12542b2a
    • Eric Botcazou's avatar
      Skip ld/pr23169 on SPARC. · 5bbcb18f
      Eric Botcazou authored
      The test is already skipped on PowerPC and Aarch64 because it's invalid.
      
      	* testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
      5bbcb18f
    • GDB Administrator's avatar
      Automatic date update in version.in · 7252074a
      GDB Administrator authored
      7252074a
  6. 28 Jan, 2019 3 commits
  7. 27 Jan, 2019 1 commit
  8. 26 Jan, 2019 1 commit
  9. 25 Jan, 2019 6 commits
    • Tamar Christina's avatar
      d6a865ea
    • Sudi Das's avatar
      AArch64: Update encodings for stg, st2g, stzg and st2zg. · aaebbe87
      Sudi Das authored
      This patch is part of a series of patches to introduce a few changes to the
      Armv8.5-A Memory Tagging Extension. This patch updates the st*g instructions
      to use a previously reserved field for a new register operand. Thus the
      new versions of the instructions are as follows:
      
      - STG Xt, [<Xn|SP>, #<simm>]
      - STG Xt, [<Xn|SP>, #<simm>]!
      - STG Xt, [<Xn|SP>], #<simm>
      - STZG Xt, [<Xn|SP>, #<simm>]
      - STZG Xt, [<Xn|SP>, #<simm>]!
      - STZG Xt, [<Xn|SP>], #<simm>
      - ST2G Xt, [<Xn|SP>, #<simm>]
      - ST2G Xt, [<Xn|SP>, #<simm>]!
      - ST2G Xt, [<Xn|SP>], #<simm>
      - STZ2G Xt, [<Xn|SP>, #<simm>]
      - STZ2G Xt, [<Xn|SP>, #<simm>]!
      - STZ2G Xt, [<Xn|SP>], #<simm>
      
      Committed on behalf of Sudakshina Das.
      
      *** gas/ChangeLog ***
      
      	* config/tc-aarch64.c (warn_unpredictable_ldst): Exempt
      	stg, st2g, stzg and stz2g from Xt == Xn with writeback warning.
      	* testsuite/gas/aarch64/armv8_5-a-memtag.d: Change tests for
      	stg, stzg, st2g and stz2g.
      	* testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
      	* testsuite/gas/aarch64/illegal-memtag.l: Likewise.
      	* testsuite/gas/aarch64/illegal-memtag.s: Likewise.
      
      *** opcodes/ChangeLog ***
      
      	* aarch64-tbl.h (QL_LDST_AT): Update macro.
      	(aarch64_opcode): Change encoding for stg, stzg
      	st2g and st2zg.
      	* aarch64-asm-2.c: Regenerated.
      	* aarch64-dis-2.c: Regenerated.
      	* aarch64-opc-2.c: Regenerated.
      
      (cherry picked from commit 69105ce4)
      aaebbe87
    • Sudi Das's avatar
      AArch64: Add new STZGM instruction for Armv8.5-A Memory Tagging Extension. · 824d332f
      Sudi Das authored
      This patch is part of a series of patches to introduce a few changes to the
      Armv8.5-A Memory Tagging Extension. This patch adds the new STZGM instruction.
      
      STGZM Xt, [<Xn|SP>]
      
      Committed on behalf of Sudakshina Das.
      
      *** gas/ChangeLog ***
      
      	* testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for stzgm.
      	* testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
      	* testsuite/gas/aarch64/illegal-memtag.l: Likewise.
      	* testsuite/gas/aarch64/illegal-memtag.s: Likewise.
      
      *** opcodes/ChangeLog ***
      
      	* aarch64-asm-2.c: Regenerated.
      	* aarch64-dis-2.c: Likewise.
      	* aarch64-opc-2.c: Likewise.
      	* aarch64-tbl.h (aarch64_opcode): Add new stzgm.
      
      (cherry picked from commit 20a4ca55)
      824d332f
    • Sudi Das's avatar
      AArch64: Remove ldgv and stgv instructions from Armv8.5-A Memory Tagging Extension. · 64485cb2
      Sudi Das authored
      This patch is part of a series of patches to introduce a few changes to the
      Armv8.5-A Memory Tagging Extension. This patch removes the LDGV and STGV
      instructions. These instructions needed special infrastructure to support
      [base]! style for addressing mode. That is also removed now.
      
      Committed on behalf of Sudakshina Das.
      
      *** gas/ChangeLog ***
      
      	* config/tc-aarch64.c (parse_address_main): Remove support for
      	[base]! address expression.
      	(parse_operands): Remove support for AARCH64_OPND_ADDR_SIMPLE_2.
      	(warn_unpredictable_ldst): Remove support for ldstgv_indexed.
      	* testsuite/gas/aarch64/armv8_5-a-memtag.d: Remove tests for ldgv
      	and stgv.
      	* testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
      	* testsuite/gas/aarch64/illegal-memtag.l: Likewise.
      	* testsuite/gas/aarch64/illegal-memtag.s: Likewise.
      
      *** include/ChangeLog ***
      
      	* opcode/aarch64.h (enum aarch64_opnd): Remove
      	AARCH64_OPND_ADDR_SIMPLE_2.
      	(enum aarch64_insn_class): Remove ldstgv_indexed.
      
      *** opcodes/ChangeLog ***
      
      	* aarch64-asm.c (aarch64_ins_addr_simple_2): Remove.
      	* aarch64-asm.h (ins_addr_simple_2): Likeiwse.
      	* aarch64-dis.c (aarch64_ext_addr_simple_2): Likewise.
      	* aarch64-dis.h (ext_addr_simple_2): Likewise.
      	* aarch64-opc.c (operand_general_constraint_met_p): Remove
      	case for ldstgv_indexed.
      	(aarch64_print_operand): Remove case for AARCH64_OPND_ADDR_SIMPLE_2.
      	* aarch64-tbl.h (struct aarch64_opcode): Remove ldgv and stgv.
      	(AARCH64_OPERANDS): Remove ADDR_SIMPLE_2.
      	* aarch64-asm-2.c: Regenerated.
      	* aarch64-dis-2.c: Regenerated.
      	* aarch64-opc-2.c: Regenerated.
      
      (cherry picked from commit 550fd7bf)
      64485cb2
    • Nick Clifton's avatar
    • GDB Administrator's avatar
      Automatic date update in version.in · b5824aad
      GDB Administrator authored
      b5824aad
  10. 24 Jan, 2019 1 commit
  11. 23 Jan, 2019 3 commits
  12. 22 Jan, 2019 1 commit
  13. 21 Jan, 2019 2 commits
  14. 19 Jan, 2019 3 commits
  15. 18 Jan, 2019 1 commit
  16. 17 Jan, 2019 5 commits
    • Tom Tromey's avatar
      Make minimal symbol range adapter a method on objfile · 7932255d
      Tom Tromey authored
      This removes class objfile_msymbols in favor of a method on the
      objfile.
      
      2019-01-16  Tom Tromey  <tom@tromey.com>
      
      	* objfiles.h (struct minimal_symbol_iterator): Rename.  Move
      	earlier.
      	(struct objfile) <msymbols_range>: Move from top level.
      	<msymbols>: New method.
      	(class objfile_msymbols): Remove.
      	* symtab.c (default_collect_symbol_completion_matches_break_on):
      	Update.
      	* symmisc.c (dump_msymbols): Update.
      	* stabsread.c (scan_file_globals): Update.
      	* objc-lang.c (info_selectors_command, info_classes_command)
      	(find_methods): Update.
      	* minsyms.c (find_solib_trampoline_target): Update.
      	* hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Update.
      	* coffread.c (coff_symfile_read): Update.
      	* ada-lang.c (ada_lookup_simple_minsym)
      	(ada_collect_symbol_completion_matches): Update.
      
      7932255d
    • Tom Tromey's avatar
      Simplify minsym iteration · 604b1bfb
      Tom Tromey authored
      This simplifies the minimal symbol iterator, by using
      minimal_symbol_count and just doing a somewhat ordinary array-like
      iteration.  array_view is nearly usable, except that it is more
      convenient for this iterator to return pointers rather than
      references.
      
      gdb/ChangeLog
      2019-01-16  Tom Tromey  <tom@tromey.com>
      
      	* objfiles.h (class objfile_msymbols) <iterator>: Change argument
      	type.  Remove no-argument constructor.
      	<iterator::operator++>: Simplify.
      	<begin>: Update.
      	<end>: Use minimal_symbol_count.
      604b1bfb
    • Tom Tromey's avatar
      Make psymtab range adapter a method on objfile · f252c6d5
      Tom Tromey authored
      This removes the objfile_psymtabs class in favor of a method on
      objfile and on psymtab_storage.
      
      2019-01-16  Tom Tromey  <tom@tromey.com>
      
      	* objfiles.h (struct objfile) <psymtabs>: New method.
      	(class objfile_psymtabs): Remove.
      	* psymtab.h (class psymtab_storage) <partial_symtab_range>: New
      	typedef.
      	<range>: New method.
      	(require_partial_symbols): Change return type.
      	* psymtab.c (require_partial_symbols)
      	(psym_expand_symtabs_matching): Update.
      	* mdebugread.c (parse_partial_symbols): Update.
      	* dbxread.c (dbx_end_psymtab): Update.
      
      f252c6d5
    • Tom Tromey's avatar
      Add compunits range adapter to objfile · b669c953
      Tom Tromey authored
      This removes the objfile_compunits range adapter in favor of using a
      method on objfile.
      
      2019-01-15  Tom Tromey  <tom@tromey.com>
      
      	* symtab.c (lookup_objfile_from_block)
      	(lookup_symbol_in_objfile_symtabs)
      	(basic_lookup_transparent_type_1, find_pc_sect_compunit_symtab)
      	(find_line_symtab, info_sources_command)
      	(default_collect_symbol_completion_matches_break_on)
      	(make_source_files_completion_list): Update.
      	* symmisc.c (print_objfile_statistics, dump_objfile)
      	(maintenance_print_symbols, maintenance_info_symtabs)
      	(maintenance_check_symtabs, maintenance_info_line_tables):
      	Update.
      	* source.c (select_source_symtab)
      	(forget_cached_source_info_for_objfile): Update.
      	* objfiles.h (class objfile_compunits): Remove.
      	(struct objfile) <compunits_range>: New typedef.
      	(compunits): New method.
      	* objfiles.c (objfile_relocate1): Update.
      	* mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update.
      	* maint.c (count_symtabs_and_blocks): Update.
      	* linespec.c (iterate_over_all_matching_symtabs): Update.
      	* cp-support.c (add_symbol_overload_list_qualified): Update.
      	* coffread.c (coff_symtab_read): Update.
      	* ada-lang.c (add_nonlocal_symbols)
      	(ada_collect_symbol_completion_matches)
      	(ada_add_global_exceptions): Update.
      
      b669c953
    • Tom Tromey's avatar
      Change all_objfiles_safe adapter to be a method on program_space · 7e955d83
      Tom Tromey authored
      This changes the all_objfiles_safe range adapter to be a method on the
      program space, and fixes up all the users.
      
      gdb/ChangeLog
      2019-01-15  Tom Tromey  <tom@tromey.com>
      
      	* progspace.h (program_space) <objfiles_safe_range>: New
      	typedef.
      	<objfiles_safe>: New method.
      	* objfiles.h (class all_objfiles_safe): Remove.
      	* objfiles.c (free_all_objfiles, objfile_purge_solibs): Update.
      	* jit.c (jit_inferior_exit_hook): Update.
      7e955d83