X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gas%2FChangeLog;h=13243ce7a6fdaad96b1906281b7ecc503efd5d0c;hb=96e9ba5fbba2e1e8fcafd8576d0a98738a0fbc49;hp=5bc1de73eaef20050ef59a269e0ba7bdc00be934;hpb=d2dfe54d6c4c307dd64a5e6bdcc7d1081b17233a;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/ChangeLog b/gas/ChangeLog index 5bc1de73ea..13243ce7a6 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,758 @@ +2016-07-14 Maciej W. Rozycki + + * config/tc-mips.c (md_apply_fix) + + : Keep the ISA bit in the + addend calculated. + * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit + in `bar', export `foo'. + * testsuite/gas/mips/mips16-branch-absolute.d: Adjust + accordingly. + * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise. + * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise. + * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: + Likewise. + * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: + Likewise. + +2016-07-14 Maciej W. Rozycki + + * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns. + * testsuite/gas/mips/branch-absolute.d: New test. + * testsuite/gas/mips/branch-absolute-n32.d: New test. + * testsuite/gas/mips/branch-absolute-n64.d: New test. + * testsuite/gas/mips/branch-absolute-addend-n32.d: New test. + * testsuite/gas/mips/branch-absolute-addend-n64.d: New test. + * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test. + * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test. + * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New + test. + * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New + test. + * testsuite/gas/mips/micromips-branch-absolute.d: New test. + * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test. + * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test. + * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New + test. + * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New + test. + * testsuite/gas/mips/branch-absolute.s: New test source. + * testsuite/gas/mips/branch-absolute-addend.s: New test source. + * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test + source. + * testsuite/gas/mips/micromips-branch-absolute.s: New test + source. + * testsuite/gas/mips/micromips-branch-absolute-addend.s: New + test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-07-13 Maciej W. Rozycki + + * testsuite/gas/mips/nal-1.d: New test. + * testsuite/gas/mips/mipsr6@nal-1.d: New test. + * testsuite/gas/mips/nal-2.d: New test. + * testsuite/gas/mips/mipsr6@nal-2.d: New test. + * testsuite/gas/mips/nal.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-07-12 Jose E. Marchesi + + * testsuite/gas/sparc/ldtxa.s: New file. + * testsuite/gas/sparc/ldtxa.d: Likewise. + * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test. + +2016-07-11 Claudiu Zissulescu + + * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff. + (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum + as it is no longer needed. + +2016-07-08 Maciej W. Rozycki + + * config/tc-mips.c (append_insn): Remove extraneous + `install_insn' call. + +2016-07-04 Jan Beulich + + * config/tc-i386.c (check_qword_reg): Correct register kind + checked. + * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with + 16-bit register cases. + * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations. + + +2016-07-02 Maciej W. Rozycki + + * testsuite/gas/mips/ecoff@ld.d: Remove test. + * testsuite/gas/mips/ecoff@ld-forward.d: Remove test. + * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test. + * testsuite/gas/mips/ecoff@sd.d: Remove test. + * testsuite/gas/mips/ecoff@sd-forward.d: Remove test. + * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from + reloc patterns. + * testsuite/gas/mips/mipsr6@beq.d: Likewise. + * testsuite/gas/mips/bge.d: Likewise. + * testsuite/gas/mips/mipsr6@bge.d: Likewise. + * testsuite/gas/mips/bgeu.d: Likewise. + * testsuite/gas/mips/mipsr6@bgeu.d: Likewise. + * testsuite/gas/mips/blt.d: Likewise. + * testsuite/gas/mips/mipsr6@blt.d: Likewise. + * testsuite/gas/mips/bltu.d: Likewise. + * testsuite/gas/mips/mipsr6@bltu.d: Likewise. + * testsuite/gas/mips/branch-likely.d: Likewise. + * testsuite/gas/mips/la.d: Likewise. + * testsuite/gas/mips/lb.d: Likewise. + * testsuite/gas/mips/lifloat.d: Likewise. + * testsuite/gas/mips/sb.d: Likewise. + * testsuite/gas/mips/uld.d: Likewise. + * testsuite/gas/mips/ulh.d: Likewise. + * testsuite/gas/mips/ulw.d: Likewise. + * testsuite/gas/mips/usd.d: Likewise. + * testsuite/gas/mips/ush.d: Likewise. + * testsuite/gas/mips/usw.d: Likewise. + +2016-07-02 Maciej W. Rozycki + + * testsuite/gas/mips/branch-misc-2.s: Move non + locally-defined-global symbol tests... + * testsuite/gas/mips/branch-misc-5.s: ... to this new test. + * testsuite/gas/mips/branch-misc-2.d: Update accordingly. + * testsuite/gas/mips/branch-misc-2-64.d: Likewise. + * testsuite/gas/mips/branch-misc-2pic.d: Likewise. + * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise. + * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise. + * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise. + * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise. + * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise. + * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise. + * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise. + * testsuite/gas/mips/branch-misc-5.d: New test. + * testsuite/gas/mips/branch-misc-5pic.d: New test. + * testsuite/gas/mips/branch-misc-5-64.d: New test. + * testsuite/gas/mips/branch-misc-5pic-64.d: New test. + * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test. + * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test. + * testsuite/gas/mips/micromips@branch-misc-5.d: New test. + * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test. + * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test. + * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-07-02 Maciej W. Rozycki + + * testsuite/gas/mips/beq.s: Uncomment branches to undefined + symbols. + * testsuite/gas/mips/beq.d: Update accordingly. + * testsuite/gas/mips/mipsr6@beq.d: Likewise. + * testsuite/gas/mips/micromips@beq.d: Likewise. + +2016-07-02 Maciej W. Rozycki + + * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips' + tests to NewABI targets. + +2016-07-02 Maciej W. Rozycki + + * testsuite/gas/mips/mips.exp: Group `branch-misc' tests + together. + +2016-07-01 Szabolcs Nagy + + * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add + require field. + (aarch64_features): Initialize require fields. + (aarch64_parse_features): Handle dependencies. + (aarch64_feature_enable_set, aarch64_feature_disable_set): New. + (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES. + * testsuite/gas/aarch64/illegal-nofp16.s: New. + * testsuite/gas/aarch64/illegal-nofp16.l: New. + * testsuite/gas/aarch64/illegal-nofp16.d: New. + +2016-07-01 Nick Clifton + + * macro.c (macro_expand_body): Use a buffer big enough to hold an + extremely large integer. + +2016-07-01 Jan Beulich + + * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets. + +2016-07-01 Tristan Gingold + + * NEWS: Add marker for 2.27. + +2016-07-01 Jan Beulich + + * tc-i386.c (i386_index_check): Add special checks for bndmk, + bndldx, and bndstx. + * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative + as well as scaling by other than 1 tests. + * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly. + +2016-07-01 Jan Beulich + + * tc-i386.c (md_assemble): Alter address size checking for MPX + instructions. + * testsuite/gas/i386/mpx-inval-2.s: New. + * testsuite/gas/i386/mpx-inval-2.l: New. + * testsuite/gas/i386/i386.exp: Run new test. + +2016-07-01 Jan Beulich + + PR gas/20318 + * config/tc-i386.c (match_template): Add char parameter, + consumed in Intel mode for an extra suffix check. + (md_assemble): New local variable mnem_suffix. + * testsuite/gas/i386/suffix-bad.s: New. + * testsuite/gas/i386/suffix-bad.l: New. + * testsuite/gas/i386/i386.exp: Run new test (twice). + +2016-07-01 Jan Beulich + + * testsuite/gas/i386/movz.s: New. + * testsuite/gas/i386/movz32.d: New. + * testsuite/gas/i386/movz64.d: New. + * testsuite/gas/i386/i386.exp: Run new tests. + +2016-07-01 Jan Beulich + + * config/tc-i386.c (struct _i386_insn): New field memop1_string. + (md_assemble): Free first memory operand string. + (i386_index_check): Use repprefixok to distingush xlat from + other (real) string ops. + (maybe_adjust_templates): New. + (i386_att_operand). Call it. Store first memory operand string. + * config/tc-i386-intel.c (i386_intel_operand): Likewise. + * testsuite/gas/i386/intel-movs.s: New. + * testsuite/gas/i386/intel-movs32.d: New. + * testsuite/gas/i386/intel-movs64.d: New. + * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for + 64-bits tests with "--defsym x86_64=1 --strip-local-absolute". + +2016-06-30 Maciej W. Rozycki + + * config/tc-mips.c (get_append_method): Fix a comment typo. + +2016-06-30 Matthew Fortune + Maciej W. Rozycki + + * config/tc-mips.c (append_insn) : Do not special + case MIPS16 handling. + * testsuite/gas/mips/branch-swap-3.d: New test. + * testsuite/gas/mips/branch-swap-4.d: New test. + * testsuite/gas/mips/mips16@branch-swap-3.d: New test. + * testsuite/gas/mips/mips16@branch-swap-4.d: New test. + * testsuite/gas/mips/micromips@branch-swap-3.d: New test. + * testsuite/gas/mips/micromips@branch-swap-4.d: New test. + * testsuite/gas/mips/branch-swap-3.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-06-30 Maciej W. Rozycki + + * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch + swapping sequence. + +2016-06-30 Maciej W. Rozycki + + PR gas/20312 + * write.c (subsegs_finish_section): Force no section padding to + alignment on failed assembly, always set last frag's alignment + from section. + * testsuite/gas/all/pr20312.l: New list test. + * testsuite/gas/all/pr20312.s: New test source. + * testsuite/gas/all/gas.exp: Run the new test + +2016-06-30 Andrew Burgess + + * config.in (TARGET_WITH_CPU): Undefine. + * configure.ac: Add --with-cpu support, and define in config.h. + * configure: Regenerate. + * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU. + * NEWS: Mention new configure option. + +2016-06-30 Matthew Wahab + + * testsuite/gas/arm/armv8_2+rdma.d: New. + +2016-06-29 H.J. Lu + + * NEWS: Mention --enable-compressed-debug-sections=gas is the + default for Linux/x86 targets. + * configure.tgt (ac_default_compressed_debug_sections): Default + to yes for Linux/x86 targets. + +2016-06-29 Maciej W. Rozycki + + * write.c: Remove "libbfd.h" inclusion. + +2016-06-28 Maciej W. Rozycki + + * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the + `type' test. + +2016-06-28 Alan Modra + + PR gas/20247 + * testsuite/gas/elf/section11.s: Don't start directives in first column. + +2016-06-28 Richard Sandiford + + * testsuite/gas/aarch64/diagnostic.s, + testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices. + +2016-06-28 Maciej W. Rozycki + + * config/tc-mips.c (mips16_reloc_p): Handle + BFD_RELOC_MIPS16_16_PCREL_S1. + (b_reloc_p): Likewise. + (limited_pcrel_reloc_p): Likewise. + (md_pcrel_from): Likewise. + (md_apply_fix): Likewise. + (tc_gen_reloc): Likewise. + (md_convert_frag): Likewise. + (mips_fix_adjustable): Update comment. + * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error + output, add dump patterns. + * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error + output, add dump patterns. + * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error + output, add dump patterns. + * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error + output, add dump patterns. + * testsuite/gas/mips/mips16-branch-absolute.d: Remove error + output, add dump patterns. + * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file. + * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file. + * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file. + * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file. + * testsuite/gas/mips/mips16-branch-absolute.l: Remove file. + * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding. + * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid + implicit instruction padding, avoid MIPS16 JR->JRC conversion. + * testsuite/gas/mips/branch-weak-6.d: New test. + * testsuite/gas/mips/branch-weak-7.d: New test. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-06-27 Vineet Gupta + + * config//tc-arc.c (tc_arc_frame_initial_instructions): Use + cfi_add_CFA_def_cfa to generate default CFA with offset + * testsuite/gas/cfi/cfi-arc-1.d: Update expected output. + +2016-06-27 Nick Clifton + + PR gas/20247 + * as.h (do_not_pad_sections_to_alignment): New global variable. + * as.c (show_usage): Add --no-pad-sections. + (parse_args): Likewise. + * write.c (size_seg): Skip padding the end of the section if + requested from the command line. + (SUB_SEGMENT_ALIGN): Likewise. + * doc/as.texinfo: Document the new option. + * NEWS: Mention the new feature. + * testsuite/gas/elf/section11.s: New test. + * testsuite/gas/elf/section11.d: New test driver. + * testsuite/gas/elf/elf.exp: Run the new test. + +2016-06-27 Trevor Saunders + + * config/tc-dlx.c: Include bfd/elf32-dlx.h. + * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16. + +2016-06-27 Trevor Saunders + + * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a + sentinal element. + (map_suffix_reloc_to_operator): Likewise. + (map_operator_to_reloc): Likewise. + +2016-06-27 Trevor Saunders + + * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal + element in relax_table. + +2016-06-25 Trevor Saunders + + * config/tc-aarch64.c: Make the type of reg_entry::type + aarch_reg_type. + +2016-06-25 Trevor Saunders + + * config/tc-bfin.c (bfin_cpus): Remove sentinal. + (md_parse_option): Adjust. + * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal + with iteration from 0 to ARRAY_SIZE. + * config/tc-mcore.c (md_begin): Likewise. + * config/tc-visium.c (visium_parse_arch): Likewise. + +2016-06-25 Trevor Saunders + + * config/tc-tic54x.c (tic54x_set_default_include): remove argument + and simplify accordingly. + (tic54x_include): Adjust. + (tic54x_mlib): Likewise. + +2016-06-25 Trevor Saunders + + * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype. + +2016-06-24 Maciej W. Rozycki + + * config/tc-mips.c (append_insn): Use any `O_symbol' expression + unchanged with relaxed MIPS16 instructions. + (mips16_extended_frag): Adjust accordingly. Return 1 right + away if a relocation will be required for the symbol requested. + Remove dead first relaxation pass code. + (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'. + (md_convert_frag): Adjust symbol value calculation. Raise an + error if a relocation is required for the symbol requested. + * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns, + add error output. + * testsuite/gas/mips/mips16@relax-swap3.l: New error output. + * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test. + * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test. + * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test. + * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test. + * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test. + * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test. + * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test. + * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test. + * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test. + * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test. + * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test. + * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test. + * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test. + * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test. + * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test. + * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test. + * testsuite/gas/mips/mips16-pcrel-absolute.d: New test. + * testsuite/gas/mips/mips16-branch-reloc-0.d: New test. + * testsuite/gas/mips/mips16-branch-reloc-1.d: New test. + * testsuite/gas/mips/mips16-branch-reloc-2.d: New test. + * testsuite/gas/mips/mips16-branch-reloc-3.d: New test. + * testsuite/gas/mips/mips16-branch-addend-0.d: New test. + * testsuite/gas/mips/mips16-branch-addend-1.d: New test. + * testsuite/gas/mips/mips16-branch-addend-2.d: New test. + * testsuite/gas/mips/mips16-branch-addend-3.d: New test. + * testsuite/gas/mips/mips16-branch-absolute.d: New test. + * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test. + * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test. + * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test. + * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test. + * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output. + * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output. + * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output. + * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output. + * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output. + * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output. + * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output. + * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output. + * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output. + * testsuite/gas/mips/mips16-branch-addend-2.l: New error output. + * testsuite/gas/mips/mips16-branch-addend-3.l: New error output. + * testsuite/gas/mips/mips16-branch-absolute.l: New error output. + * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output. + * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output. + * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source. + * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source. + * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source. + * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source. + * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source. + * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source. + * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source. + * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source. + * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source. + * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source. + * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source. + * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source. + * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source. + * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source. + * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source. + * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source. + * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source. + * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source. + * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source. + * testsuite/gas/mips/mips16-branch-addend-0.s: New test source. + * testsuite/gas/mips/mips16-branch-addend-1.s: New test source. + * testsuite/gas/mips/mips16-branch-addend-2.s: New test source. + * testsuite/gas/mips/mips16-branch-addend-3.s: New test source. + * testsuite/gas/mips/mips16-branch-absolute.s: New test source. + * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source. + * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source. + * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source. + * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-06-24 Alan Modra + + * configure.tgt (alpha-*-openbsd*): Use em=nbsd. + +2016-06-23 Maciej W. Rozycki + + * config/tc-mips.c (b_reloc_p): New function. + (mips_fix_adjustable): Also keep the original microMIPS symbol + referred from branch relocations. + * testsuite/gas/mips/branch-local-1.d: New test. + * testsuite/gas/mips/branch-local-n32-1.d: New test. + * testsuite/gas/mips/branch-local-n64-1.d: New test. + * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update + relocations. + * testsuite/gas/mips/branch-local-1.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new cases. + +2016-06-23 Graham Markall + + * config/tc-arc.c (options, md_longopts, md_parse_option): Move + -mspfp, -mdpfp and -mfpuda out of the sections for dummy + options. Correct erroneous enabling of SPFP instructions when + using -mnps400. + +2016-06-22 Peter Bergner + + * testsuite/gas/ppc/power9.d : New tests. + * testsuite/gas/ppc/power9.s: Likewise. + +2016-06-22 Trevor Saunders + + * config/tc-xtensa.c: Include elf/xtensa.h. + +2016-06-21 Maciej W. Rozycki + + * config/tc-mips.c (calculate_reloc) + : New switch cases. + (md_apply_fix) : + Move switch cases along `BFD_RELOC_MIPS_JMP'. + + : Handle + the resolved case. + * testsuite/gas/mips/pcrel-reloc-4.d: New test. + * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test. + * testsuite/gas/mips/pcrel-reloc-5.d: New test. + * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test. + * testsuite/gas/mips/pcrel-reloc-6.d: New test. + * testsuite/gas/mips/pcrel-reloc-6.l: New list test. + * testsuite/gas/mips/pcrel-reloc-4.s: New test source. + * testsuite/gas/mips/pcrel-reloc-6.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-06-21 Maciej W. Rozycki + + * config/tc-mips.c (md_apply_fix) + : Avoid null pointer dereferences + via `fixP->fx_addsy'. + +2016-06-21 Maciej W. Rozycki + + * config/tc-mips.c (md_pcrel_from) : + Calculate relocation from the containing aligned doubleword. + (tc_gen_reloc) : Calculate the + addend from the containing aligned doubleword. + +2016-06-21 Maciej W. Rozycki + + * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts' + rather than `mips_opts' for the R6 ISA check. + (mips_fix_adjustable): Likewise. + * testsuite/gas/mips/pcrel-reloc-1.d: New test. + * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test. + * testsuite/gas/mips/pcrel-reloc-2.d: New test. + * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test. + * testsuite/gas/mips/pcrel-reloc-3.d: New test. + * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test. + * testsuite/gas/mips/pcrel-reloc-1.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-06-21 Graham Markall + + * config/tc-arc.c (check_cpu_feature, md_parse_option): + Add nps400 option and feature. Add check for nps400 + feature. Refactor existing checks to check subclass before + feature enablement. + (md_show_usage): Document flags for NPS-400 and add some other + undocumented flags. + (cpu_type): Remove nps400 CPU type entry + (check_zol): Remove bfd_mach_arc_nps400 case. + (md_show_usage): Add help on -mcpu=nps400. + (cpu_types): Add entry for nps400 as arc700 plus nps400 extension + set. + * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and + -fpuda flags. Document -mcpu=nps400. + * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change + expected flags to match ARC700 instead of NPS400. + * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400. + * testsuite/gas/arc/nps-400-2.d: Likewise. + * testsuite/gas/arc/nps-400-3.d: Likewise. + * testsuite/gas/arc/nps-400-4.d: Likewise. + * testsuite/gas/arc/nps-400-5.d: Likewise. + * testsuite/gas/arc/nps-400-6.d: Likewise. + * testsuite/gas/arc/nps-400-7.d: Likewise. + * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to + avoid clash with cbba instruction. + * testsuite/gas/arc/textinsn2op01.d: Likewise. + * testsuite/gas/arc/textinsn3op.d: Likewise. + * testsuite/gas/arc/textinsn3op.s: Likewise. + * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using + -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags. + +2016-06-20 Maciej W. Rozycki + + * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag. + * testsuite/gas/mips/r6-64-n64.d: Likewise. + +2016-06-20 Maciej W. Rozycki + + * config/tc-mips.c (mips_fix_adjustable): Update comment on jump + reloc conversion. + +2016-06-20 Virendra Pathak + + * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set. + +2016-06-17 Jose E. Marchesi + + * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper, + %hmcddfr and %hva_mask_nz. + (sparc_ip): New handling of asr/privileged/hyperprivileged + registers, adapted to the new form of the sparc opcodes table. + * testsuite/gas/sparc/rdasr.s: New file. + * testsuite/gas/sparc/rdasr.d: Likewise. + * testsuite/gas/sparc/wrasr.s: Likewise. + * testsuite/gas/sparc/wrasr.d: Likewise. + * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and + wrasr tests. + * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged + registers require it. + * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged + registers and write instruction modalities. + * testsuite/gas/sparc/wrpr.d: Likewise. + * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged + registers. + * testsuite/gas/sparc/rdhpr.d: Likewise. + * testsuite/gas/sparc/wrhpr.s: Likewise. + * testsuite/gas/sparc/wrhpr.d: Likewise. + +2016-06-17 Jose E. Marchesi + + * config/tc-sparc.c (sparc_arch_table): adjust the GAS + architectures to use the right opcode architecture. + (sparc_md_end): Handle v9{c,d,e,v,m}. + (sparc_ip): Fix some comments. + * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this + instruction, which is v9d. + * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1' + instruction from the test, as %mwait is not readable. + * testsuite/gas/sparc/mwait.d: Likewise. + * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e + mismatch architecture errors. + * testsuite/gas/sparc/mism-2.s: New file. + +2016-06-17 Jose E. Marchesi + + * config/tc-sparc.c (priv_reg_table): Use NULL instead of the + empty string to mark the end of the array. + (hpriv_reg_table): Likewise. + (v9a_asr_table): Likewise. + (cmp_reg_entry): Handle entries with NULL names. + (F_POP_V9): Define. + (F_POP_PCREL): Likewise. + (F_POP_TLS_CALL): Likewise. + (F_POP_POSTFIX): Likewise. + (struct pop_entry): New type. + (pop_table): New variable. + (enum pop_entry_type): New type. + (struct perc_entry): Likewise. + (NUM_PERC_ENTRIES): Define. + (perc_table): New variable. + (cmp_perc_entry): New function. + (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize + perc_table. + (sparc_ip): Handle entries with NULL names in priv_reg_table, + hpriv_reg_table and v9a_asr_table. Use perc_table to handle + %-pseudo-ops. + +2016-06-15 Nick Clifton + + * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the + instruction size. + * config/tc-mcore.c (md_assemble): Likewise. + * config/tc-mn10200.c (md_assemble): Likewise. + * config/tc-moxie.c (md_assemble): Likewise. + * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32. + * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of + exception targets. Add alpha, hppa, microblaze and rl78 to list + of exceptions. + (forward): Add microblaze to list of exceptions. + (fwdexp): Add alpha to list of exceptions. + (redef2): Add arm-epoc-pe and rl78 to list of exceptions. + (redef3): Add rl78 and x86_64 cygwin to list of exceptions. + (do_930509a): Alpha sort list of exception targets. Add h8300 and + mn10200 to list of exceptions. + (align2): Expect to fail for nds32. + (cond): Add alpha and rl78 to list of exceptions. + * testsuite/gas/all/none.d: Skip for ft32 and hppa. + * testsuite/gas/all/string.d: Skip for tic4x. + * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff + target does not support ELF. + * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target. + * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names. + * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH + tests for sh-pe and sh-rtemscoff targets. + * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to + list of exceptions. + (type): Run the noifunc version for alpha-freebsd and visium. + * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore, + mn10200 or moxie targets. + * testsuite/gas/ft32/insn.d: Update expected disassembly. + * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin + targets. + * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for + mcore and rx targets. + * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k, + rl78 and vax. + (purge): Expect to fail on the ns32k and vax. + * testsuite/gas/nds32/alu-2.d: Update expected disassembly. + * testsuite/gas/nds32/ls.d: Likewise. + * testsuite/gas/nds32/sys-reg.d: Likewise. + * testsuite/gas/nds32/usr-spe-reg.d: Likewise. + * testsuite/gas/pe/aligncomm-d.d: Skip for the sh. + * testsuite/gas/pe/section-align-3.d: Likewise. + * testsuite/gas/pe/section-exclude.d: Likewise. + * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required + data has been seen. + * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow + for variations in whitespace. + * testsuite/gas/tilepro/t_constants.d: Pass once all the required + data has been seen. + * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro. + Installs a 32-bit value without generating warnings on 64-bit + hosts. + Use the new macro to replace the .word directives. + +2016-06-15 Andrew Burgess + + * testsuite/gas/arc/add_s.d: New file. + * testsuite/gas/arc/add_s.s: New file. + +2016-06-14 Graham Markall + + * testsuite/gas/arc/nps400-6.s: Add tests of ldbit. + * testsuite/gas/arc/nps400-6.d: Likewise. + +2016-06-14 Graham Markall + + * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and + addf. + * testsuite/gas/arc/nps400-6.d: Likewise. + +2016-06-14 Graham Markall + + * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd, + calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab, + lbdsize, bdlen, csms, csma, cbba, zncv, and hofs. + * testsuite/gas/arc/nps400-6.d: Likewise. + 2016-06-14 Nick Clifton * config/tc-nds32.c (nds32_get_align): Avoid left shifting a