1 2019-05-10 Faraz Shahbazker <fshahbazker@wavecomp.com>
3 * config/tc-mips.c (macro) <M_ADD_I, M_SUB_I, M_DADD_I, M_DSUB_I>:
4 Add expansions for MIPS r6.
5 * testsuite/gas/mips/add.s: Enable tests for R6.
6 * testsuite/gas/mips/daddi.s: Annotate to test DADD for R6.
7 * testsuite/gas/mips/mipsr6@add.d: Likewise.
8 * gas/testsuite/gas/mips/mipsr6@dadd.d: New test.
9 * gas/testsuite/gas/mips/mips.exp: Run the new test.
11 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
13 * testsuite/gas/aarch64/sve2.d: Remove file format restriction.
15 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
17 * testsuite/gas/aarch64/illegal-sve2-aes.d: New test.
18 * testsuite/gas/aarch64/illegal-sve2-bitperm.d: New test.
19 * testsuite/gas/aarch64/illegal-sve2-sha3.d: Test new instructions.
20 * testsuite/gas/aarch64/illegal-sve2-sm4.d: Test new instructions.
21 * testsuite/gas/aarch64/illegal-sve2-sve1ext.d: Test new instructions.
22 * testsuite/gas/aarch64/illegal-sve2-sve1ext.l: Test new instructions.
23 * testsuite/gas/aarch64/illegal-sve2.d: Test new instructions.
24 * testsuite/gas/aarch64/illegal-sve2.l: Test new instructions.
25 * testsuite/gas/aarch64/illegal-sve2.s: Test new instructions.
26 * testsuite/gas/aarch64/sve1-extended-sve2.s: New test.
27 * testsuite/gas/aarch64/sve2.d: Test new instructions.
28 * testsuite/gas/aarch64/sve2.s: Test new instructions.
30 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
32 * config/tc-aarch64.c (parse_operands): Handle new SVE_SHLIMM_UNPRED_22
35 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
37 * config/tc-aarch64.c (parse_operands): Handle new SVE_Zm4_11_INDEX
40 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
42 * config/tc-aarch64.c (parse_operands): Handle new SVE_SHRIMM_UNPRED_22
45 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
47 * config/tc-aarch64.c (REG_ZR): Macro specifying zero register.
48 (parse_address_main): Account for new addressing mode [Zn.S, Xm].
49 (parse_operands): Handle new SVE_ADDR_ZX operand.
51 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
53 * config/tc-aarch64.c (parse_operands): Handle new SVE_Zm3_11_INDEX
56 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
58 * config/tc-aarch64.c (parse_operands): Handle new SVE_IMM_ROT3 operand.
60 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
62 * config/tc-aarch64.c: Add command line architecture feature flags
63 "sve2", "sve2-sm4", "sve2-aes", "sve2-sha3", "bitperm".
64 * doc/c-aarch64.texi: Document new architecture feature flags.
66 2019-05-08 Alan Modra <amodra@gmail.com>
68 * testsuite/gas/elf/dwarf2-1.s,
69 * testsuite/gas/elf/dwarf2-2.s,
70 * testsuite/gas/elf/dwarf2-5.s,
71 * testsuite/gas/elf/dwarf2-7.s,
72 * testsuite/gas/elf/dwarf2-8.s,
73 * testsuite/gas/elf/dwarf2-9.s,
74 * testsuite/gas/elf/dwarf2-10.s,
75 * testsuite/gas/elf/dwarf2-11.s,
76 * testsuite/gas/elf/dwarf2-12.s,
77 * testsuite/gas/elf/dwarf2-13.s,
78 * testsuite/gas/elf/dwarf2-14.s,
79 * testsuite/gas/elf/dwarf2-15.s,
80 * testsuite/gas/elf/dwarf2-16.s,
81 * testsuite/gas/elf/dwarf2-17.s,
82 * testsuite/gas/elf/dwarf2-18.s,
83 * testsuite/gas/elf/dwarf2-19.s: Double size of align and simulated
85 * testsuite/gas/elf/dwarf2-1.d,
86 * testsuite/gas/elf/dwarf2-2.d,
87 * testsuite/gas/elf/dwarf2-5.d,
88 * testsuite/gas/elf/dwarf2-7.d,
89 * testsuite/gas/elf/dwarf2-8.d,
90 * testsuite/gas/elf/dwarf2-9.d,
91 * testsuite/gas/elf/dwarf2-10.d,
92 * testsuite/gas/elf/dwarf2-11.d,
93 * testsuite/gas/elf/dwarf2-12.d,
94 * testsuite/gas/elf/dwarf2-13.d,
95 * testsuite/gas/elf/dwarf2-14.d,
96 * testsuite/gas/elf/dwarf2-15.d,
97 * testsuite/gas/elf/dwarf2-16.d,
98 * testsuite/gas/elf/dwarf2-17.d,
99 * testsuite/gas/elf/dwarf2-18.d,
100 * testsuite/gas/elf/dwarf2-19.d: Use xfail rather than notarget.
101 Remove avr, pru, tile, xtensa from xfails. Update expected output.
102 * testsuite/gas/elf/elf.exp: Sort targets.
103 (dump_opts): Pass {as -mno-relax} for riscv, {as -mno-link-relax}
104 for avr and pru, and {as --no-link-relax} for xtensa to dwarf tests.
105 * testsuite/gas/elf/section2.e-miwmmxt: Delete unused file.
107 2019-05-08 Alan Modra <amodra@gmail.com>
109 * config/tc-xtensa.c (opt_linkrelax): New variable.
110 (md_parse_option): Set it here.
111 (md_begin): Copy opt_linkrelax to linkrelax.
113 2019-05-07 Alexandre Oliva <aoliva@redhat.com>
115 * testsuite/gas/elf/dwarf2-18.d: Xfail mep-*.
116 * testsuite/gas/elf/dwarf2-19.d: Likewise.
118 2019-05-07 Alan Modra <amodra@gmail.com>
120 * symbols.c (use_complex_relocs_for): Formatting. Factor out
123 2019-05-06 Andrew Bennett <andrew.bennett@imgtec.com>
124 Faraz Shahbazker <fshahbazker@wavecomp.com>
126 * config/tc-mips.c (mips_set_ase): Handle ASE_EVA_R6.
127 (macro) <M_LLWPE_AB, M_SCWPE_AB>: New cases.
128 (mips_after_parse_args): Translate EVA to EVA_R6.
129 * testsuite/gas/mips/ase-errors-1.s: Add new instructions.
130 * testsuite/gas/mips/eva.s: Likewise.
131 * testsuite/gas/mips/ase-errors-1.l: Check errors for
133 * testsuite/gas/mips/mipsr6@eva.d: Check new test cases.
135 2019-05-06 Alan Modra <amodra@gmail.com>
137 * symbols.c (symbol_relc_make_sym): Do not access sym->sy_value
140 2019-05-06 Alan Modra <amodra@gmail.com>
142 * config/tc-ppc.c (ppc_fix_adjustable): Exclude all GOT and PLT
143 relocs, and VLE sdarel relocs.
144 * testsuite/gas/ppc/power4.d: Adjust.
146 2019-05-05 Alexandre Oliva <aoliva@redhat.com>
148 * dwarf2dbg.c (set_or_check_view): Skip heads when assigning
150 (dwarf2_gen_line_info_1): Skip heads.
151 (size_inc_line_addr, emit_inc_line_addr): Drop
152 DW_LNS_advance_pc for zero addr delta.
153 (dwarf2_finish): Assign views for heads of segments.
154 * testsuite/gas/elf/dwarf2-19.d: New.
155 * testsuite/gas/elf/dwarf2-19.s: New.
156 * testsuite/gas/elf/elf.exp: Test it.
158 2019-05-04 Alan Modra <amodra@gmail.com>
160 * config/tc-m32c.c (insn_size): Delete static var.
161 (md_begin): Don't set it.
162 (m32c_md_end): Delete.
163 (md_assemble): Add insn_size auto var.
164 * config/tc-m32c.h (md_end): Don't define.
165 (m32c_md_end): Delete.
166 (NOP_OPCODE, HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): Define.
167 * testsuite/gas/all/align.d: Remove m32c from notarget list.
168 * testsuite/gas/all/incbin.d: Likewise.
169 * testsuite/gas/elf/dwarf2-11.d: Likewise.
170 * testsuite/gas/macros/semi.d: Likewise.
171 * testsuite/gas/all/gas.exp (do_comment): Similarly.
173 2019-05-02 H.J. Lu <hongjiu.lu@intel.com>
176 * config/tc-i386.c (process_suffix): Issue a warning to IRET
177 without a suffix for .code16gcc.
178 * testsuite/gas/i386/jump16.s: Add tests for iretX.
179 * testsuite/gas/i386/jump16.d: Updated.
180 * testsuite/gas/i386/jump16.e: New file.
182 2019-05-01 Sudakshina Das <sudi.das@arm.com>
184 * config/tc-aarch64.c (parse_operands): Add case for
185 AARCH64_OPND_TME_UIMM16.
186 (aarch64_features): Add "tme".
187 * doc/c-aarch64.texi: Document the same.
188 * testsuite/gas/aarch64/tme-invalid.d: New test.
189 * testsuite/gas/aarch64/tme-invalid.l: New test.
190 * testsuite/gas/aarch64/tme-invalid.s: New test.
191 * testsuite/gas/aarch64/tme.d: New test.
192 * testsuite/gas/aarch64/tme.s: New test.
194 2019-04-29 John Darrington <john@darrington.wattle.id.au>
196 * testsuite/gas/s12z/truncated.d: New file.
197 * testsuite/gas/s12z/truncated.s: New file.
198 * testsuite/gas/s12z/s12z.exp: Add new test.
200 2019-04-26 Andrew Bennett <andrew.bennett@imgtec.com>
201 Faraz Shahbazker <fshahbazker@wavecomp.com>
203 * config/tc-mips.c (macro) <M_LLWP_AB, M_LLDP_AB, M_SCWP_AB,
204 M_SCDP_AB>: New cases and expansions for paired instructions.
205 * testsuite/gas/mips/llpscp-32.s: New test source.
206 * testsuite/gas/mips/llpscp-64.s: Likewise.
207 * testsuite/gas/mips/llpscp-32.d: New test.
208 * testsuite/gas/mips/llpscp-64.d: Likewise.
209 * testsuite/gas/mips/mips.exp: Run the new tests.
210 * testsuite/gas/mips/r6.s: Add new instructions to test source.
211 * testsuite/gas/mips/r6-64.s: Likewise.
212 * testsuite/gas/mips/r6-64-n32.d: Check new instructions.
213 * testsuite/gas/mips/r6-64-n64.d: Likewise.
214 * testsuite/gas/mips/r6-n32.d: Likewise.
215 * testsuite/gas/mips/r6-n64.d: Likwwise.
216 * testsuite/gas/mips/r6.d: Likewise.
218 2019-04-26 H.J. Lu <hongjiu.lu@intel.com>
221 * config/tc-i386.c (process_suffix): Don't add DATA_PREFIX_OPCODE
222 to IRET for .code16gcc.
223 * testsuite/gas/i386/jump16.s: Add IRET tests.
224 * testsuite/gas/i386/jump16.d: Updated.
226 2019-04-25 Alexandre Oliva <aoliva@redhat.com>
227 Alan Modra <amodra@gmail.com>
230 * frags.c (frag_gtoffset_p): New.
231 * frags.h (frag_gtoffset_p): Declare it.
232 * expr.c (resolve_expression): Use it.
234 2019-04-24 Alan Modra <amodra@gmail.com>
237 * symbols.c (resolve_symbol_value): When handling symbols
238 marked as sy_flags.resolved, return correct value for the
239 case of expression symbols left as an O_symbol expression.
240 Merge O_symbol code handling undefined and common symbols with
241 code handling special cases of expression symbols. Use
242 seg_left to test for undefined and common symbols. Don't
243 leave an O_symbol expression when X_add_symbol resolves to
244 the absolute_section. Init final_val later.
245 * testsuite/gas/mmix/basep-7.d: Adjust expected output.
247 2019-04-24 John Darrington <john@darrington.wattle.id.au>
249 * testsuite/gas/s12z/bit-manip-invalid.s: Extend test for BSET
250 and BCLR instructions with an invalid mode.
251 * testsuite/gas/s12z/bit-manip-invalid.d: ditto.
253 2019-04-19 Nick Clifton <nickc@redhat.com>
256 * config/tc-rx.h (md_relax_frag): Pass the max_iterations variable
257 to the relaxation function.
258 * config/tc-rx.c (rx_relax_frag): Add new parameter - the maximum
259 number of iterations. Make sure that our internal iteration limit
260 does not exceed this external iteration limit.
262 2019-04-18 Matthew Fortune <matthew.fortune@mips.com>
264 * config/tc-mips.c (match_non_zero_reg_operand): Update
266 * testsuite/gas/mips/r6-branch-constraints.l: Likewise.
268 2019-04-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
270 * config/tc-msp430.c (msp430_make_init_symbols): Define
271 __crt0_run_{preinit,init,fini}_array symbols if
272 .{preinit,init,fini}_array sections exist.
273 * testsuite/gas/msp430/fini-array.d: New test.
274 * testsuite/gas/msp430/init-array.d: New test.
275 * testsuite/gas/msp430/preinit-array.d: New test.
276 * testsuite/gas/msp430/fini-array.s: New test source.
277 * testsuite/gas/msp430/init-array.s: New test source.
278 * testsuite/gas/msp430/preinit-array.s: New test source.
279 * testsuite/gas/msp430/msp430.exp: Add new tests to driver.
281 2019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
283 * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
284 symbol when .lower.bss or .either.bss sections exist.
285 Define __crt0_movedata when .lower.data or .either.data sections exist.
286 * testsuite/gas/msp430/either-data-bss-sym.d: New test.
287 * testsuite/gas/msp430/low-data-bss-sym.d: New test.
288 * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
289 * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
290 * testsuite/gas/msp430/msp430.exp: Run new tests.
291 Enable large code model when running -mdata-region={upper,either}
294 2019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
296 * config/tc-msp430.c (options): New OPTION_UNKNOWN_INTR_NOPS,
297 OPTION_NO_UNKNOWN_INTR_NOPS and do_unknown_interrupt_nops.
298 (md_parse_option): Handle OPTION_UNKNOWN_INTR_NOPS and
299 OPTION_NO_UNKNOWN_INTR_NOPS by setting do_unknown_interrupt_nops
301 (md_show_usage): Likewise.
302 (md_shortopts): Add "mu" for OPTION_UNKNOWN_INTR_NOPS and
303 "mU" for OPTION_NO_UNKNOWN_INTR_NOPS.
304 (md_longopts): Likewise.
305 (warn_eint_nop): Update comment.
306 (warn_unsure_interrupt): Don't warn if prev_insn_is_nop or
307 prev_insn_is_dint or we are assembling for 430 ISA.
308 (msp430_operands): Only call warn_unsure_interrupt if
309 do_unknown_interrupt_nops == TRUE.
310 * testsuite/gas/msp430/nop-unknown-intr.s: New test source file.
311 * testsuite/gas/msp430/nop-unknown-intr-430.d: New test.
312 * testsuite/gas/msp430/nop-unknown-intr-430x.d: New test.
313 * testsuite/gas/msp430/nop-unknown-intr-430x-ignore.d: New test.
314 * testsuite/gas/msp430/nop-unknown-intr-430.l: Warning output for new
316 * testsuite/gas/msp430/nop-unknown-intr-430x.l: Likewise.
317 * testsuite/gas/msp430/msp430.exp: Add new tests to driver.
319 2019-04-16 Alan Modra <amodra@gmail.com>
321 * testsuite/gas/all/weakref1.d: xfail nds32.
323 2019-04-16 Alan Modra <amodra@gmail.com>
325 * testsuite/gas/all/gas.exp: Remove ns32k xfails.
326 * testsuite/gas/all/weakref1u.d: Don't run for ns32k-*-*.
328 2019-04-16 Alan Modra <amodra@gmail.com>
330 * write.h: Don't include bit_fix.h.
331 (struct fix): Rearrange some fields. Delete fx_im_disp and
332 fx_bit_fixP. Use bitfields for fx_size and fx_pcrel_adjust.
333 * write.c (fix_new_internal): Don't init fx_im_disp and fx_bit_fixP.
334 (fixup_segment): Don't exclude overflow checks on fx_bit_fixP.
335 (print_fixup): Don't print im_disp.
336 * config/tc-cris.c (md_apply_fix): Remove tests of fx_bit_fixP
338 * config/tc-dlx.c (md_apply_fix): Remove wrong debug code. Set
339 fx_no_overflow when fx_bit_fixP.
340 * config/tc-dlx.h: Include bit_fix.h.
341 (TC_FIX_TYPE, tc_fix_data, TC_INIT_FIX_DATA): Define.
342 * config/tc-ns32k.c (fix_new_ns32k, fix_new_ns32k_exp): Set
343 fx_no_overflow when bit_fixP.
344 * config/tc-ns32k.h (TC_FIX_TYPE): Add fx_bit_fixP and fx_im_disp.
345 (fix_im_disp, fix_bit_fixP): Adjust to suit.
346 (TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise.
348 2019-04-16 Alan Modra <amodra@gmail.com>
350 * write.h (struct fix <fx_where>): Make unsigned.
351 (fix_new, fix_at_start, fix_new_exp): Adjust prototypes.
352 * write.c (fix_new, fix_new_exp, fix_at_start): Make "where" and
353 "size" parameters unsigned long.
354 (fix_new_internal): Likewise. Adjust error format string to suit.
355 * config/tc-mips.c (md_convert_frag): Remove cast of fx_where.
356 * config/tc-sparc.c (md_apply_fix): Likewise.
357 * config/tc-score.c (s3_convert_frag): Adjust for unsigned fx_where.
358 * config/tc-score7.c (s7_convert_frag): Likewise.
360 2019-04-16 Alan Modra <amodra@gmail.com>
362 * frags.h (struct frag <fr_fix>): Use unsigned type.
363 * frags.c (frag_new): Assert that current size exceeds
364 old_frags_var_max_size.
365 * ehopt.c (get_cie_info): Adjust for unsigned fr_fix.
366 * listing.c (calc_hex): Likewise.
367 * write.c (cvt_frag_to_fill, write_relocs): Likewise.
368 * config/tc-arc.c (md_convert_frag): Likewise.
369 * config/tc-avr.c (avr_patch_gccisr_frag): Likewise.
370 * config/tc-mips.c (md_convert_frag): Likewise.
371 * config/tc-rl78.c (md_convert_frag): Likewise.
372 * config/tc-rx.c (md_convert_frag): Likewise.
373 * config/tc-sparc.c (md_apply_fix): Likewise.
374 * config/tc-xtensa.c (next_instrs_are_b_retw): Likewise.
375 (unrelaxed_frag_min_insn_count, unrelaxed_frag_has_b_j): Likewise.
377 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
379 * config/tc-arm.c (parse_sys_vldr_vstr): New function.
380 (OP_VLDR): New enum operand_parse_code enumerator.
381 (parse_operands): Add logic for OP_VLDR.
382 (do_t_vldr_vstr_sysreg): New function.
383 (do_vldr_vstr): Likewise.
384 (insns): Guard VLDR and VSTR by arm_ext_v4t for Thumb mode.
385 (md_apply_fix): Add bound check for VLDR and VSTR co-processor offset.
386 Add masking logic for BFD_RELOC_ARM_T32_VLDR_VSTR_OFF_IMM relocation.
387 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Add examples of bad
388 uses of VLDR and VSTR.
389 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Add error messages for
391 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Add examples of VLDR and
393 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Add disassembly for the
396 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
398 * config/tc-arm.c (arm_typed_reg_parse): Fix typo in comment.
399 (enum reg_list_els): New REGLIST_VFP_S_VPR and REGLIST_VFP_D_VPR
401 (parse_vfp_reg_list): Add new partial_match parameter. Set
402 *partial_match to TRUE if at least one element in the register list has
403 matched. Add support for REGLIST_VFP_S_VPR and REGLIST_VFP_D_VPR
404 register lists which expect VPR as last element in the list.
405 (s_arm_unwind_save_vfp_armv6): Adapt call to parse_vfp_reg_list to new
407 (s_arm_unwind_save_vfp): Likewise.
408 (enum operand_parse_code): New OP_VRSDVLST enumerator.
409 (parse_operands): Adapt call to parse_vfp_reg_list to new prototype.
410 Handle new OP_VRSDVLST case.
411 (do_t_vscclrm): New function.
412 (insns): New entry for VSCCLRM instruction.
413 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Add invalid VSCCLRM
415 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Add error expectations
416 for above instructions.
417 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Add tests for VSCCLRM
419 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Add expected disassembly
420 for above instructions.
422 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
424 * config/tc-arm.c (enum reg_list_els): Define earlier and add
425 REGLIST_RN and REGLIST_CLRM enumerators.
426 (parse_reg_list): Add etype parameter to distinguish between regular
427 core register list and CLRM register list. Add logic to
428 recognize CLRM register list.
429 (parse_vfp_reg_list): Assert type is not for core register list.
430 (s_arm_unwind_save_core): Update call to parse_reg_list to new
432 (enum operand_parse_code): Declare OP_CLRMLST enumerator.
433 (parse_operands): Update call to parse_reg_list to new prototype. Add
434 logic for OP_CLRMLST.
435 (encode_thumb2_ldmstm): Rename into ...
436 (encode_thumb2_multi): This. Add do_io parameter. Add logic to
437 encode CLRM and guard LDM/STM only code by do_io.
438 (do_t_ldmstm): Adapt to use encode_thumb2_multi.
439 (do_t_push_pop): Likewise.
440 (do_t_clrm): New function.
441 (insns): Define CLRM.
442 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.d: New file.
443 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Likewise.
444 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Likewise.
445 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Likewise.
446 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Likewise.
448 2019-04-15 Sudakshina Das <sudi.das@arm.com>
449 Andre Vieira <andre.simoesdiasvieira@arm.com>
451 * config/tc-arm.c (operand_parse_code): Add OP_LR and OP_oLR
452 for the LR operand and optional LR operand.
453 (parse_operands): Add switch cases for OP_LR and OP_oLR for
454 both type checking and value checking.
455 (encode_thumb32_addr_mode): New entries for DLS, WLS and LE.
456 (v8_1_loop_reloc): New helper function for handling labels
457 for the low overhead loop instructions.
458 (do_t_loloop): New function to encode DLS, WLS and LE.
459 (insns): New entries for WLS, DLS and LE.
460 (md_pcrel_from_section): New switch case
461 for BFD_RELOC_ARM_THUMB_LOOP12.
462 (md_appdy_fix): Likewise.
463 (tc_gen_reloc): Likewise.
464 * testsuite/gas/arm/armv8_1-m-tloop.s: New.
465 * testsuite/gas/arm/armv8_1-m-tloop.d: New.
466 * testsuite/gas/arm/armv8_1-m-tloop-bad.s: New.
467 * testsuite/gas/arm/armv8_1-m-tloop-bad.d: New.
468 * testsuite/gas/arm/armv8_1-m-tloop-bad.l: New.
470 2019-04-15 Sudakshina Das <sudi.das@arm.com>
471 Andre Vieira <andre.simoesdiasvieira@arm.com>
473 * config/tc-arm.c (T16_32_TAB): New entriy for bfcsel.
474 (do_t_v8_1_branch): New switch case for bfcsel.
476 (insns): New instruction for bfcsel.
477 (md_pcrel_from_section): New switch case
478 for BFD_RELOC_THUMB_PCREL_BFCSEL.
479 (md_appdy_fix): Likewise
480 (tc_gen_reloc): Likewise.
481 * testsuite/gas/arm/armv8_1-m-bfcsel.d: New.
482 * testsuite/gas/arm/armv8_1-m-bfcsel.s: New.
484 2019-04-15 Sudakshina Das <sudi.das@arm.com>
486 * config/tc-arm.c (md_pcrel_from_section): New switch case for
487 BFD_RELOC_ARM_THUMB_BF13.
488 (md_appdy_fix): Likewise.
489 (tc_gen_reloc): Likewise.
491 2019-04-15 Sudakshina Das <sudi.das@arm.com>
492 Andre Vieira <andre.simoesdiasvieira@arm.com>
494 * config/tc-arm.c (T16_32_TAB): New entrie for bfl.
495 (do_t_v8_1_branch): New switch case for bfl.
496 (insns): New instruction for bfl.
497 * testsuite/gas/arm/armv8_1-m-bfl.d: New.
498 * testsuite/gas/arm/armv8_1-m-bfl.s: New.
499 * testsuite/gas/arm/armv8_1-m-bfl-bad.s: New.
500 * testsuite/gas/arm/armv8_1-m-bfl-bad.d: New.
501 * testsuite/gas/arm/armv8_1-m-bfl-bad.l: New.
502 * testsuite/gas/arm/armv8_1-m-bfl-rel.d: New.
503 * testsuite/gas/arm/armv8_1-m-bfl-rel.s: New.
505 2019-04-15 Sudakshina Das <sudi.das@arm.com>
507 * config/tc-arm.c (md_pcrel_from_section): New switch case for
508 BFD_RELOC_ARM_THUMB_BF19.
509 (md_appdy_fix): Likewise.
510 (tc_gen_reloc): Likewise.
512 2019-04-15 Sudakshina Das <sudi.das@arm.com>
514 * config/tc-arm.c (T16_32_TAB): New entries for bfx and bflx.
515 (do_t_v8_1_branch): New switch cases for bfx and bflx.
516 (insns): New instruction for bfx and bflx.
517 * testsuite/gas/arm/armv8_1-m-bf-exchange.d: New.
518 * testsuite/gas/arm/armv8_1-m-bf-exchange.s: New.
519 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.s: New
520 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.l: New
521 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.d: New
523 2019-04-15 Sudakshina Das <sudi.das@arm.com>
524 Andre Vieira <andre.simoesdiasvieira@arm.com>
526 * config/tc-arm.c (T16_32_TAB): New entries for bf.
527 (do_t_branch_future): New.
528 (insns): New instruction for bf.
529 * testsuite/gas/arm/armv8_1-m-bf.d: New.
530 * testsuite/gas/arm/armv8_1-m-bf.s: New.
531 * testsuite/gas/arm/armv8_1-m-bf-bad.s: New.
532 * testsuite/gas/arm/armv8_1-m-bf-bad.l: New.
533 * testsuite/gas/arm/armv8_1-m-bf-bad.d: New.
534 * testsuite/gas/arm/armv8_1-m-bf-rel.d: New.
535 * testsuite/gas/arm/armv8_1-m-bf-rel.s: New.
537 2019-04-15 Sudakshina Das <sudi.das@arm.com>
539 * config/tc-arm.c (md_pcrel_from_section): New switch case for
540 BFD_RELOC_ARM_THUMB_BF17.
541 (md_appdy_fix): Likewise.
542 (tc_gen_reloc): Likewise.
544 2019-04-15 Sudakshina Das <sudi.das@arm.com>
546 * config/tc-arm.c (ARM_IT_MAX_RELOCS): New macro.
547 (arm_it): Member reloc renamed relocs and updated to an array.
548 Rest: Replace all occurrences of reloc to relocs[0].
550 2019-04-15 Sudakshina Das <sudi.das@arm.com>
552 * config/tc-arm.c (md_pcrel_from_section): New switch case
553 for BFD_RELOC_THUMB_PCREL_BRANCH5.
554 (v8_1_branch_value_check): New function to check branch
556 (md_appdy_fix): New switch case for
557 BFD_RELOC_THUMB_PCREL_BRANCH5.
558 (tc_gen_reloc): Likewise.
560 2019-04-15 Andre Vieira <andre.simoesdiasvieira@arm.com>
562 * config/tc-arm.c (do_neon_movhf): Remove fp-armv8 check.
563 (armv8_1m_main_ext_table): New extension table.
564 (arm_archs): Use the new extension table.
565 * doc/c-arm.texi: Add missing arch and document new extensions.
566 * testsuite/gas/arm/armv8.1-m.main-fp.d: New.
567 * testsuite/gas/arm/armv8.1-m.main-fp-dp.d: New.
568 * testsuite/gas/arm/armv8.1-m.main-hp.d: New.
570 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
572 * config/tc-arm.c (cpu_arch_ver): Add entry for Armv8.1-M Mainline
573 Tag_CPU_arch build attribute value. Reindent.
574 (get_aeabi_cpu_arch_from_fset): Update assert.
575 (aeabi_set_public_attributes): Update assert for Tag_DIV_use logic.
576 * testsuite/gas/arm/attr-march-armv8_1-m.main.d: New test.
578 2019-04-09 Matthew Fortune <matthew.fortune@mips.com>
580 * config/tc-mips.c (mips_cpu_info_table): Add i6500. Update
581 default ASEs for i6400.
582 * doc/c-mips.texi (-march): Document i6500.
583 * testsuite/gas/mips/elf_mach_i6400.d: New test.
584 * testsuite/gas/mips/elf_mach_i6500.d: New test.
585 * testsuite/gas/mips/mips.exp: Run the new tests.
587 2019-04-09 Matthew Fortune <matthew.fortune@mips.com>
589 * config/tc-mips.c (mips_set_options) <init_ase>: New field.
590 (file_mips_opts, mips_opts) <init_ase>: Initialize new field.
591 (file_mips_check_options): Propagate initial ASE settings.
592 (mips_after_parse_args, parse_code_option): Track the initial
593 ASE settings for a CPU.
594 (s_mipsset): Restore the initial ASE settings when reverting
596 * testsuite/gas/mips/elf_mach_p6600.d: New test.
597 * testsuite/gas/mips/mips.exp: Run the new test.
599 2019-04-12 John Darrington <john@darrington.wattle.id.au>
601 config/tc-s12z.h: Remove definition of macro TC_M68K
603 2019-04-01 John Darrington <john@darrington.wattle.id.au>
605 config/tc-s12z.c: Use bfd_boolean where appropriate.
607 2019-04-11 Max Filippov <jcmvbkbc@gmail.com>
609 * testsuite/gas/xtensa/loop-relax-2.d: New test definition.
610 * testsuite/gas/xtensa/loop-relax.d: New test definition.
611 * testsuite/gas/xtensa/loop-relax.s: New test source.
612 * testsuite/gas/xtensa/text-section-literals-1a.d: New test
614 * testsuite/gas/xtensa/text-section-literals-2.d: New test
616 * testsuite/gas/xtensa/text-section-literals-2.s: New test
618 * testsuite/gas/xtensa/text-section-literals-2a.d: New test
620 * testsuite/gas/xtensa/text-section-literals-3.d: New test
622 * testsuite/gas/xtensa/text-section-literals-3.s: New test
624 * testsuite/gas/xtensa/text-section-literals-4.d: New test
626 * testsuite/gas/xtensa/text-section-literals-4.s: New test
628 * testsuite/gas/xtensa/text-section-literals-4a.d: New test
631 2019-04-11 Max Filippov <jcmvbkbc@gmail.com>
633 * testsuite/gas/xtensa/all.exp: Remove all expect-based
634 tests and all explicit run_dump_test / run_list_test
635 invocations. Add run_dump_tests for all .d files in the
637 * testsuite/gas/xtensa/entry_align.d: New test definition.
638 * testsuite/gas/xtensa/entry_align.l: New test output.
639 * testsuite/gas/xtensa/entry_misalign.d: New test definition.
640 * testsuite/gas/xtensa/entry_misalign2.d: New test definition.
641 * testsuite/gas/xtensa/j_too_far.d: New test definition.
642 * testsuite/gas/xtensa/j_too_far.l: New test output.
643 * testsuite/gas/xtensa/loop_align.d: New test definition.
644 * testsuite/gas/xtensa/loop_misalign.d: New test definition.
645 * testsuite/gas/xtensa/trampoline-2.d: New test definition.
646 * testsuite/gas/xtensa/trampoline-2.l: Remove empty output.
647 * testsuite/gas/xtensa/xtensa-err.exp: Use positive logic.
649 2019-04-11 Max Filippov <jcmvbkbc@gmail.com>
651 * config/tc-xtensa.c (xtensa_literal_pseudo): Drop code that has
653 (get_literal_pool_location): Only search for the literal pool
654 when auto litpools is used, otherwise take one recorded in the
655 tc_segment_info_data.
656 (xtensa_assign_litpool_addresses): New function.
657 (xtensa_move_literals): Don't duplicate 'literal pool location
658 required...' error message. Call xtensa_assign_litpool_addresses.
660 2019-04-11 Max Filippov <jcmvbkbc@gmail.com>
662 * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration.
663 (xtensa_mark_literal_pool_location): Don't add fill frag to literal
664 section that records literal pool location.
665 (md_begin): Call xtensa_mark_literal_pool_location when text
666 section literals or auto litpools are used.
667 (xtensa_elf_section_change_hook): Call
668 xtensa_mark_literal_pool_location when text section literals or
669 auto litpools are used, there's no literal pool location defined
670 for the current section and it's not .init or .fini.
671 * testsuite/gas/xtensa/auto-litpools-first1.d: Fix up addresses.
672 * testsuite/gas/xtensa/auto-litpools-first2.d: Likewise.
673 * testsuite/gas/xtensa/auto-litpools.d: Likewise.
675 2019-04-11 Sudakshina Das <sudi.das@arm.com>
677 * config/tc-aarch64.c (process_omitted_operand): Add case for
679 (parse_operands): Likewise.
680 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Update tests.
681 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
682 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
683 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
685 2019-04-11 Sudakshina Das <sudi.das@arm.com>
687 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for ldgm and stgm.
688 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
689 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
690 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
692 2019-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
694 * config/tc-i386.c (need_plt32_p) [TE_SOLARIS]: Return FALSE.
695 * testsuite/gas/i386/solaris/solaris.exp: New driver.
696 * testsuite/gas/i386/solaris/reloc64.d,
697 testsuite/gas/i386/solaris/x86-64-jump.d,
698 testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d,
699 testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d,
700 testsuite/gas/i386/solaris/x86-64-nop-3.d,
701 testsuite/gas/i386/solaris/x86-64-nop-4.d,
702 testsuite/gas/i386/solaris/x86-64-nop-5.d,
703 testsuite/gas/i386/solaris/x86-64-relax-2.d,
704 testsuite/gas/i386/solaris/x86-64-relax-3.d: New tests.
705 * testsuite/gas/i386/reloc64.d,
706 testsuite/gas/i386/x86-64-jump.d,
707 testsuite/gas/i386/x86-64-mpx-branch-1.d,
708 testsuite/gas/i386/x86-64-mpx-branch-2.d,
709 testsuite/gas/i386/x86-64-nop-3.d,
710 testsuite/gas/i386/x86-64-nop-4.d,
711 testsuite/gas/i386/x86-64-nop-5.d,
712 testsuite/gas/i386/x86-64-relax-2.d,
713 testsuite/gas/i386/x86-64-relax-3.d: Skip on *-*-solaris*.
715 2019-04-10 Alan Modra <amodra@gmail.com>
717 * config/te-cloudabi.h: New file.
718 * config/tc-aarch64.c (aarch64_after_parse_args): Use TE_CLOUDABI
719 rather than TARGET_OS to select cloudabi.
720 * config/tc-i386.h (ELF_TARGET_FORMAT64): Define for TE_CLOUDABI.
721 * configure.tgt (*-*-cloudabi*): Set em=cloudabi.
723 2019-04-09 Robert Suchanek <robert.suchanek@mips.com>
725 * testsuite/gas/mips/mips.exp: Run hwr-names test.
726 * testsuite/gas/mips/hwr-names.s: Add test cases for RDHWR with
728 * testsuite/gas/mips/mipsr6@hwr-names.d: New file.
730 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
732 * config/tc-i386.c (output_insn): Support
733 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
734 * testsuite/gas/i386/property-2.s: Add AVX512_BF16 test.
735 * testsuite/gas/i386/property-2.d: Updated.
736 * testsuite/gas/i386/x86-64-property-2.d: Likewise.
738 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
740 * configure.tgt: Remove i386-*-kaos* and i386-*-chaos targets.
741 * testsuite/gas/i386/i386.exp: Remove *-*-caos* and "*-*-kaos*
744 2019-04-05 H.J. Lu <hongjiu.lu@intel.com>
746 * testsuite/gas/i386/i386.exp: Run -mx86-used-note=yes tests.
747 * testsuite/gas/i386/property-2.d: New file.
748 * testsuite/gas/i386/property-2.s: Likewise.
749 * testsuite/gas/i386/x86-64-property-2.d: Likewise.
751 2019-04-05 Xuepeng Guo <xuepeng.guo@intel.com>
753 * config/tc-i386.c (cpu_arch): Add .avx512_bf16.
754 (cpu_noarch): Add noavx512_bf16.
755 * doc/c-i386.texi: Document avx512_bf16.
756 * testsuite/gas/i386/avx512_bf16.d: New file.
757 * testsuite/gas/i386/avx512_bf16.s: Likewise.
758 * testsuite/gas/i386/avx512_bf16_vl-inval.l: Likewise.
759 * testsuite/gas/i386/avx512_bf16_vl-inval.s: Likewise.
760 * testsuite/gas/i386/avx512_bf16_vl.d: Likewise.
761 * testsuite/gas/i386/avx512_bf16_vl.s: Likewise.
762 * testsuite/gas/i386/x86-64-avx512_bf16.d: Likewise.
763 * testsuite/gas/i386/x86-64-avx512_bf16.s: Likewise.
764 * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.l: Likesie.
765 * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.s: Likewise.
766 * testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Likewise.
767 * testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Likewise.
768 * testsuite/gas/i386/i386.exp: Add BF16 related tests.
770 2019-04-05 Alan Modra <amodra@gmail.com>
772 * testsuite/gas/ppc/bc.s,
773 * testsuite/gas/ppc/bcat.d,
774 * testsuite/gas/ppc/bcaterr.d,
775 * testsuite/gas/ppc/bcaterr.l,
776 * testsuite/gas/ppc/bcy.d,
777 * testsuite/gas/ppc/bcyerr.d,
778 * testsuite/gas/ppc/bcyerr.l: New tests.
779 * testsuite/gas/ppc/ppc.exp: Run them.
781 2019-04-05 Alan Modra <amodra@gmail.com>
783 * testsuite/gas/ppc/476.d: Remove trailing spaces.
784 * testsuite/gas/ppc/a2.d: Likewise.
785 * testsuite/gas/ppc/booke.d: Likewise.
786 * testsuite/gas/ppc/booke_xcoff.d: Likewise.
787 * testsuite/gas/ppc/e500.d: Likewise.
788 * testsuite/gas/ppc/e500mc.d: Likewise.
789 * testsuite/gas/ppc/e6500.d: Likewise.
790 * testsuite/gas/ppc/htm.d: Likewise.
791 * testsuite/gas/ppc/power6.d: Likewise.
792 * testsuite/gas/ppc/power8.d: Likewise.
793 * testsuite/gas/ppc/power9.d: Likewise.
794 * testsuite/gas/ppc/vle.d: Likewise.
796 2019-04-04 Peter Bergner <bergner@linux.ibm.com>
799 * testsuite/gas/ppc/power8.s: (bdnztar, bdnztarl, bdztar, bdztarl,
800 btar, btarl, bdnztar-, bdnztarl-, bdnztar+, bdnztarl+, bdztar-,
801 bdztarl-, bdztar+, bdztarl+, bgetar, bnltar, bgetarl, bnltarl,
802 bletar, bngtar, bletarl, bngtarl, bnetar, bnetarl, bnstar, bnutar,
803 bnstarl, bnutarl, bgetar-, bnltar-, bgetarl-, bnltarl-, bletar-,
804 bngtar-, bletarl-, bngtarl-, bnetar-, bnetarl-, bnstar-, bnutar-,
805 bnstarl-, bnutarl-, bgetar+, bnltar+, bgetarl+, bnltarl+, bletar+,
806 bngtar+, bletarl+, bngtarl+, bnetar+, bnetarl+, bnstar+, bnutar+,
807 bnstarl+, bnutarl+, blttar, blttarl, bgttar, bgttarl, beqtar,
808 beqtarl, bsotar, buntar, bsotarl, buntarl, blttar-, blttarl-,
809 bgttar-, bgttarl-, beqtar-, beqtarl-, bsotar-, buntar-, bsotarl-,
810 buntarl-, blttar+, blttarl+, bgttar+, bgttarl+, beqtar+, beqtarl+,
811 bsotar+, buntar+, bsotarl+, buntarl+, bdnzftar, bdnzftarl, bdzftar,
812 bdzftarl, bftar, bftarl, bftar-, bftarl-, bftar+, bftarl+, bdnzttar,
813 bdnzttarl, bdzttar, bdzttarl, bttar, bttarl, bttar-, bttarl-, bttar+,
814 bttarl+): Add tests of extended mnemonics.
815 * testsuite/gas/ppc/power8.d: Likewise. Update previous bctar tests
816 to expect new extended mnemonics.
817 * testsuite/gas/ppc/a2.s: <bc, bc-, bc+, bcl, bcl-, bcl+>: Update test
818 to not use illegal BO value. Use a more convenient BI value.
819 * testsuite/gas/ppc/a2.d: Update tests for new expect output.
821 2019-04-03 Max Filippov <jcmvbkbc@gmail.com>
823 * config/tc-xtensa.c (convert_frag_immed): Drop
824 convert_frag_immed_finish_loop invocation.
825 (convert_frag_immed_finish_loop): Drop declaration and
827 * config/xtensa-relax.c (widen_spec_list): Replace loop
828 widening that uses addi/addmi with widening that uses l32r
831 2019-04-01 Andre Vieira <andre.simoesdiasvieira@arm.com>
833 * config/tc-arm.c (arm_ext_table): New struct type.
834 (arm_arch_option_table): Add new 'arm_ext_table' field.
835 (ARM_EXT,ARM_ADD,ARM_REMOVE, ALL_FP): New macros.
836 (armv5te_ext_table, armv7ve_ext_table, armv7a_ext_table,
837 armv7r_ext_table, armv7em_ext_table, armv8a_ext_table,
838 armv81a_ext_table, armv82a_ext_table, armv84a_ext_table,
839 armv85a_ext_table, armv8m_main_ext_table,
840 armv8r_ext_table): New architecture extension tables.
841 (ARM_ARCH_OPT): Add new default field.
842 (ARM_ARCH_OPT2): New macro.
843 (arm_archs): Extend some architectures with the new architecture
844 extension tables mentioned above.
845 (arm_extensions): Add DEPRECATED comment with instructions to
847 (arm_parse_extension): Change to use new extension tables.
848 (arm_parse_cpu): Don't change existing behavior.
849 (arm_parse_arch): Change to use new extension tables.
850 * doc/c-arm.texi: Document new architecture extensions.
851 * testsuite/gas/arm/attr-mfpu-neon-fp16.d: Change test to use new
852 extension option rather than -mfpu and change expected behaviour to
854 * testsuite/gas/arm/armv8-2-fp16-scalar-bad-ext.d: New.
855 * testsuite/gas/arm/armv8-2-fp16-scalar-ext.d: New.
856 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb-ext.d: New.
857 * testsuite/gas/arm/armv8-2-fp16-simd-ext.d: New.
858 * testsuite/gas/arm/armv8-2-fp16-simd-thumb-ext.d: New.
859 * testsuite/gas/arm/armv8-2-fp16-simd-warning-ext.d: New.
860 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb-ext.d: New.
861 * testsuite/gas/arm/armv8_2+rdma-ext.d: New.
862 * testsuite/gas/arm/armv8_2-a-fp16-thumb2-ext.d: New.
863 * testsuite/gas/arm/armv8_2-a-fp16_ext.d: New.
864 * testsuite/gas/arm/armv8_3-a-fp-bad-ext.d: New.
865 * testsuite/gas/arm/armv8_3-a-fp-ext.d: New.
866 * testsuite/gas/arm/armv8_3-a-fp16-ext.d: New.
867 * testsuite/gas/arm/armv8_3-a-simd-bad-ext.d: New.
868 * testsuite/gas/arm/armv8_4-a-fp16-ext.d: New.
869 * testsuite/gas/arm/armv8m.main+fp.d: New.
870 * testsuite/gas/arm/armv8m.main+fp.dp.d: New.
871 * testsuite/gas/arm/attr-ext-fpv5-d16.d: New.
872 * testsuite/gas/arm/attr-ext-fpv5.d: New.
873 * testsuite/gas/arm/attr-ext-idiv.d: New.
874 * testsuite/gas/arm/attr-ext-mp.d: New.
875 * testsuite/gas/arm/attr-ext-neon-fp16.d: New.
876 * testsuite/gas/arm/attr-ext-neon-vfpv3.d: New.
877 * testsuite/gas/arm/attr-ext-neon-vfpv4.d: New.
878 * testsuite/gas/arm/attr-ext-sec.d: New.
879 * testsuite/gas/arm/attr-ext-vfpv3-d16-fp16.d: New.
880 * testsuite/gas/arm/attr-ext-vfpv3-d16.d: New.
881 * testsuite/gas/arm/attr-ext-vfpv3-fp16.d: New.
882 * testsuite/gas/arm/attr-ext-vfpv3.d: New.
883 * testsuite/gas/arm/attr-ext-vfpv3xd-fp.d: New.
884 * testsuite/gas/arm/attr-ext-vfpv3xd.d: New.
885 * testsuite/gas/arm/attr-ext-vfpv4-d16.d: New.
886 * testsuite/gas/arm/attr-ext-vfpv4-sp-d16.d: New.
887 * testsuite/gas/arm/attr-ext-vfpv4.d: New.
888 * testsuite/gas/arm/dotprod-mandatory-ext.d: New.
889 * testsuite/gas/arm/fpv5-d16.s: New.
890 * testsuite/gas/arm/fpv5-sp-d16.s: New.
892 2019-03-28 Alan Modra <amodra@gmail.com>
895 * testsuite/gas/ppc/476.d: Update mtfsb*.
896 * testsuite/gas/ppc/a2.d: Likewise.
898 2019-03-21 Alan Modra <amodra@gmail.com>
900 * emul.h (struct emulation): Delete strip_underscore.
901 * emul-target.h (emul_strip_underscore): Don't define.
902 (emul_struct_name): Update initialization.
904 2019-03-21 Alan Modra <amodra@gmail.com>
906 * config/tc-d10v.c (md_apply_fix): Apply BFD_RELOC_8.
907 * config/tc-pdp11.c (md_apply_fix): Likewise.
908 * config/tc-d30v.c (md_apply_fix): Don't emit errors for BFD_RELOC_8,
909 BFD_RELOC_16, and BFD_RELOC_64.
910 * testsuite/gas/all/gas.exp: Move target exclusions for forward
911 test, but not cr16, to..
912 * testsuite/gas/all/forward.d: ..here, with explanation. Remove
913 d10v, d30v, and pdp11 xfails.
915 2019-03-19 H.J. Lu <hongjiu.lu@intel.com>
917 * config/tc-i386.c (optimize_encoding): Don't check AVX for
918 EVEX vector load/store optimization. Check both operands for
919 ZMM register. Update EVEX vector load/store opcode check.
920 Choose EVEX Disp8 over VEX Disp32.
921 * testsuite/gas/i386/optimize-1.d: Updated.
922 * testsuite/gas/i386/optimize-1a.d: Likewise.
923 * testsuite/gas/i386/optimize-2.d: Likewise.
924 * testsuite/gas/i386/optimize-4.d: Likewise.
925 * testsuite/gas/i386/optimize-5.d: Likewise.
926 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
927 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
928 * testsuite/gas/i386/x86-64-optimize-2b.d: Likewise.
929 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
930 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
931 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
932 * testsuite/gas/i386/optimize-1.s: Add ZMM register load
934 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
936 2019-03-19 H.J. Lu <hongjiu.lu@intel.com>
939 * config/tc-i386.c (optimize_encoding): Check only
940 cpu_arch_flags.bitfield.cpuavx512vl.
941 * testsuite/gas/i386/i386.exp: Run x86-64-optimize-2b.
942 * testsuite/gas/i386/x86-64-optimize-2.d: Revert the last
944 * testsuite/gas/i386/x86-64-optimize-2b.d: New file.
945 * testsuite/gas/i386/x86-64-optimize-2b.s: Likewise.
947 2019-03-19 H.J. Lu <hongjiu.lu@intel.com>
950 * testsuite/gas/i386/i386.exp: Change optimize-6a, optimize-7,
951 x86-64-optimize-7a and x86-64-optimize-8 tests to run_list_test.
952 Remove optimize-6c and x86-64-optimize-7c tests.
953 * testsuite/gas/i386/noavx-3.l: Updated.
954 * testsuite/gas/i386/noavx-4.d: Likewise.
955 * testsuite/gas/i386/noavx-5.d: Likewise.
956 * testsuite/gas/i386/noavx-3.s: Add AVX512F tests.
957 * testsuite/gas/i386/noavx-4.s: Remove AVX512F tests.
958 * testsuite/gas/i386/nosse-5.s: Likewise.
959 * testsuite/gas/i386/optimize-6a.d: Removed.
960 * testsuite/gas/i386/optimize-6c.d: Likewise.
961 * testsuite/gas/i386/optimize-7.d: Likewise.
962 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
963 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
964 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
965 * testsuite/gas/i386/optimize-6a.l: New file.
966 * testsuite/gas/i386/optimize-6a.s: Likewise.
967 * testsuite/gas/i386/optimize-7.l: Likewise.
968 * testsuite/gas/i386/x86-64-optimize-7a.l: Likewise.
969 * testsuite/gas/i386/x86-64-optimize-7a.s: Likewise.
970 * testsuite/gas/i386/x86-64-optimize-8.l: Likewise.
972 2019-03-18 Alan Modra <amodra@gmail.com>
974 * config/m68k-parse.y (yylex): Use temp_ilp and restore_ilp.
975 * as.c (macro_expr): Likewise.
976 * macro.c (buffer_and_nest): Likewise.
977 * read.c (temp_ilp): Remove FIXME.
979 2019-03-18 H.J. Lu <hongjiu.lu@intel.com>
981 * testsuite/gas/i386/att-regs.d: Pass -O0 to assembler.
982 * testsuite/gas/i386/avx512bw-intel.d: Likewise.
983 * testsuite/gas/i386/avx512bw.d: Likewise.
984 * testsuite/gas/i386/avx512f-intel.d: Likewise.
985 * testsuite/gas/i386/avx512f.d: Likewise.
986 * testsuite/gas/i386/disp32.d: Likewise.
987 * testsuite/gas/i386/intel-regs.d: Likewise.
988 * testsuite/gas/i386/pseudos.d: Likewise.
989 * testsuite/gas/i386/x86-64-disp32.d: Likewise.
990 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
992 2019-03-18 H.J. Lu <hongjiu.lu@intel.com>
995 * config/tc-i386.c (optimize_encoding): Encode 128-bit and
996 256-bit EVEX vector register load/store instructions as VEX
997 vector register load/store instructions for -O1.
998 * doc/c-i386.texi: Update -O1 documentation.
999 * testsuite/gas/i386/i386.exp: Run PR gas/24348 tests.
1000 * testsuite/gas/i386/optimize-1.s: Add tests for EVEX vector
1001 load/store instructions.
1002 * testsuite/gas/i386/optimize-2.s: Likewise.
1003 * testsuite/gas/i386/optimize-3.s: Likewise.
1004 * testsuite/gas/i386/optimize-5.s: Likewise.
1005 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
1006 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
1007 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
1008 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
1009 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
1010 * testsuite/gas/i386/optimize-1.d: Updated.
1011 * testsuite/gas/i386/optimize-2.d: Likewise.
1012 * testsuite/gas/i386/optimize-3.d: Likewise.
1013 * testsuite/gas/i386/optimize-4.d: Likewise.
1014 * testsuite/gas/i386/optimize-5.d: Likewise.
1015 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1016 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
1017 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
1018 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
1019 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
1020 * testsuite/gas/i386/optimize-7.d: New file.
1021 * testsuite/gas/i386/optimize-7.s: Likewise.
1022 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
1023 * testsuite/gas/i386/x86-64-optimize-8.s: Likewise.
1025 2019-03-18 H.J. Lu <hongjiu.lu@intel.com>
1027 * config/tc-i386.c (optimize_encoding): Encode 256-bit/512-bit
1028 VEX/EVEX vector register clearing instructions with 128-bit VEX
1029 vector register clearing instructions at -O1.
1030 * doc/c-i386.texi: Update -O1 and -O2 documentation.
1031 * testsuite/gas/i386/i386.exp: Run optimize-1a and
1033 * testsuite/gas/i386/optimize-1a.d: New file.
1034 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
1036 2019-03-17 H.J. Lu <hongjiu.lu@intel.com>
1039 * config/tc-i386.c: Include <limits.h> if it exists and try
1040 including <sys/param.h> if we have it.
1041 (INT_MAX): Define if not defined.
1042 (md_parse_option): Set optimize to INT_MAX for -Os.
1043 * testsuite/gas/i386/optimize-2.s: Add a test.
1044 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
1045 * testsuite/gas/i386/optimize-2.d: Updated.
1046 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
1048 2019-03-17 H.J. Lu <hongjiu.lu@intel.com>
1051 * config/tc-i386.c (optimize_encoding): Encode 512-bit EVEX
1052 with 128-bit VEX encoding only when AVX is enabled and with
1053 128-bit EVEX encoding only when AVX512VL is enabled.
1054 * testsuite/gas/i386/i386.exp: Run PR gas/24352 tests.
1055 * testsuite/gas/i386/optimize-6.s: New file.
1056 * testsuite/gas/i386/optimize-6a.d: Likewise.
1057 * testsuite/gas/i386/optimize-6b.d: Likewise.
1058 * testsuite/gas/i386/optimize-6c.d: Likewise.
1059 * testsuite/gas/i386/x86-64-optimize-7.s: Likewise.
1060 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
1061 * testsuite/gas/i386/x86-64-optimize-7b.d: Likewise.
1062 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
1063 * testsuite/gas/i386/x86-64-optimize-2.d: Updated.
1065 2019-03-15 Li Hao <li.hao296@zte.com.cn>
1068 * config/tc-i386.c (parse_insn): Check mnemp before using it to
1069 determine if a suffix can be trimmed.
1071 2019-03-13 Christian Eggers <ceggers@gmx.de>
1073 * dwarf2dbg.c (out_set_addr): Align relocation within .debug_line.
1075 2019-03-13 Christian Eggers <ceggers@gmx.de>
1077 * dwarf2dbg.c (out_debug_line): Pad size of .debug_line section.
1079 2019-03-13 Christian Eggers <ceggers@gmx.de>
1081 * dwarf2dbg.c (out_debug_str): Use octets for .debug_string pointers.
1083 2019-03-13 Christian Eggers <ceggers@gmx.de>
1085 * dwarf2dbg.c (out_debug_line): Use octets for .debug_line prologue.
1087 2019-03-13 Christian Eggers <ceggers@gmx.de>
1089 * dwarf2dbg.c (out_debug_line): Use octets for dwarf2 headers.
1090 (out_debug_aranges, out_debug_info): Likewise.
1092 2019-03-13 Christian Eggers <ceggers@gmx.de>
1094 * symbols.h (symbol_temp_new_now_octets): Declare.
1095 (symbol_set_value_now_octets, symbol_octets_p): Declare.
1096 * symbols.c (struct symbol_flags): New member sy_octets.
1097 (symbol_temp_new_now_octets): New function.
1098 (resolve_symbol_value): Return octets instead of bytes if
1100 (symbol_set_value_now_octets): New function.
1101 (symbol_octets_p): New function.
1103 2019-03-13 Christian Eggers <ceggers@gmx.de>
1105 * dwarf2dbg.c (dwarf2_emit_insn): Fix calculation of line info offset.
1107 2019-03-12 Andreas Krebbel <krebbel@linux.ibm.com>
1109 * testsuite/gas/s390/zarch-arch13.s: Adjust testcase to optable changes.
1110 * testsuite/gas/s390/zarch-arch13.d: Likewise.
1112 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
1114 * testsuite/gas/aarch64/dotproduct.d: Use multiple "as" lines.
1115 * testsuite/gas/aarch64/dotproduct_armv8_4.d: Remove.
1116 * testsuite/gas/aarch64/dotproduct_armv8_4.s: Remove.
1117 * testsuite/gas/aarch64/illegal-dotproduct.d: Use multiple "as"
1119 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: Remove.
1120 * testsuite/gas/aarch64/ldst-rcpc.d: Use multiple "as" lines.
1122 2019-02-24 Alan Modra <amodra@gmail.com>
1124 * config/tc-ppc.c (parse_tls_arg): Wrap in #ifdef OBJ_ELF.
1126 2019-02-24 Alan Modra <amodra@gmail.com>
1129 * config/obj-aout.c (obj_aout_frob_file_before_fix): Write to end
1130 of section to ensure file contents cover aligned section size.
1132 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1134 * config/tc-arm.c (arm_cpus): Add neoverse-n1.
1135 * doc/c-arm.texi (-mcpu): Document neoverse-n1 value.
1137 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1139 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-e1.
1140 * doc/c-aarch64.texi (-mcpu): Document neoverse-e1 value.
1142 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1144 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n1.
1145 * doc/c-aarch64.texi (-mcpu): Document neoverse-n1 value.
1147 2019-02-19 Paul Hua <paul.hua.gm@gmail.com>
1149 * NEWS: Mention -m[no-]fix-loongson3-llsc.
1150 * configure.ac: Add --enable-mips-fix-loongson3-llsc.
1151 Define DEFAULT_MIPS_FIX_LOONGSON3_LLSC.
1152 * config.in: Regenerated.
1153 * configure: Likewise.
1154 * config/tc-mips.c (sync_insn, mips_fix_loongson3_llsc):
1156 (options): New OPTION_FIX_LOONGSON3_LLSC,
1157 OPTION_NO_FIX_LOONGSON3_LLSC.
1158 (md_longopts): Add -m[no-]fix-loongson3-llsc.
1159 (md_begin): Initialize sync insn.
1160 (fix_loongson3_llsc): New.
1161 (append_insn): Call fix_loongson3_llsc.
1162 (md_parse_option): Handle OPTION_FIX_LOONGSON3_LLSC,
1163 OPTION_NO_FIX_LOONGSON3_LLSC.
1164 (md_show_usage): Display -m[no-]fix-loongson3-llsc.
1165 * doc/c-mips.texi: Document -m[no-]fix-loongson3-llsc,
1166 --enable-mips-fix-loongson3-llsc=[yes|no].
1168 2019-02-10 H.J. Lu <hongjiu.lu@intel.com>
1171 * frags.c (frag_var_init): Pass max_chars to TC_FRAG_INIT as
1173 * config/tc-aarch64.h (TC_FRAG_INIT): Add and pass max_bytes to
1175 * /config/tc-arm.h (TC_FRAG_INIT): And and pass max_bytes to
1177 * config/tc-avr.h (TC_FRAG_INIT): And and ignore max_bytes.
1178 * config/tc-ia64.h (TC_FRAG_INIT): Likewise.
1179 * config/tc-mmix.h (TC_FRAG_INIT): Likewise.
1180 * config/tc-nds32.h (TC_FRAG_INIT): Likewise.
1181 * config/tc-ns32k.h (TC_FRAG_INIT): Likewise.
1182 * config/tc-rl78.h (TC_FRAG_INIT): Likewise.
1183 * config/tc-rx.h (TC_FRAG_INIT): Likewise.
1184 * config/tc-score.h (TC_FRAG_INIT): Likewise.
1185 * config/tc-tic54x.h (TC_FRAG_INIT): Likewise.
1186 * config/tc-tic6x.h (TC_FRAG_INIT): Likewise.
1187 * config/tc-xtensa.h (TC_FRAG_INIT): Likewise.
1188 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Set to
1189 (alignment ? ((1 << alignment) - 1) : 1)
1190 (i386_tc_frag_data): Add max_bytes.
1191 (TC_FRAG_INIT): Add and track max_bytes.
1192 (HANDLE_ALIGN): Replace MAX_MEM_FOR_RS_ALIGN_CODE with
1193 fragP->tc_frag_data.max_bytes.
1194 * doc/internals.texi: Update TC_FRAG_TYPE with max_bytes.
1196 2019-02-08 Jim Wilson <jimw@sifive.com>
1198 * config/tc-riscv.c (validate_riscv_insn) <'C'>: Add 'z' support.
1199 (riscv_ip) <'C'>: Add 'z' support.
1201 2019-02-07 Tamar Christina <tamar.christina@arm.com>
1203 * config/tc-arm.c (insns): Redefine THUMB_VARIANT and ARM_VARIANT for
1205 * testsuite/gas/arm/armv8a-automatic-hlt.d: Update TAGs
1206 * testsuite/gas/arm/hlt.d: New test.
1207 * testsuite/gas/arm/hlt.s: New test.
1209 2019-02-07 Tamar Christina <tamar.christina@arm.com>
1211 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.d: New test.
1212 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.s: New test.
1214 2019-02-07 Tamar Christina <tamar.christina@arm.com>
1217 * testsuite/gas/aarch64/undefined_by_elem_sz_l.s: New test.
1218 * testsuite/gas/aarch64/undefined_by_elem_sz_l.d: New test.
1220 2019-02-07 Eric Botcazou <ebotcazou@adacore.com>
1222 * config/tc-visium.c (md_assemble) <mode_cad>: Align instruction on
1223 64-bit boundaries for the GR6.
1224 * testsuite/gas/visium/allinsn_gr6.s: Tweak.
1225 * testsuite/gas/visium/allinsn_gr6.d: Likewise.
1226 * testsuite/gas/visium/bra-1.d: New test.
1227 * testsuite/gas/visium/bra-1.s: Likewise.
1228 * testsuite/gas/visium/visium.exp: Run bra-1 test.
1230 2019-01-31 John Darrington <john@darrington.wattle.id.au>
1232 * config/tc-s12z.c (lex_imm): Add new argument exp_o.
1233 (emit_reloc): New function.
1234 (md_apply_fix): [BFD_RELOC_S12Z_OPR] Recognise that it
1235 can be either 2 bytes or 3 bytes long.
1236 * testsuite/gas/s12z/mov-imm-reloc.d: New file.
1237 * testsuite/gas/s12z/mov-imm-reloc.s: New file.
1238 * testsuite/gas/s12z/s12z.exp: Add them.
1240 2019-01-31 John Darrington <john@darrington.wattle.id.au>
1242 * config/tc-s12z.c (md_apply_fix): Fix incorrect limits.
1243 * testsuite/gas/s12z/pc-rel-bad.d: New file.
1244 * testsuite/gas/s12z/pc-rel-bad.l: New file.
1245 * testsuite/gas/s12z/pc-rel-bad.s: New file.
1246 * testsuite/gas/s12z/pc-rel-good.d: New file.
1247 * testsuite/gas/s12z/pc-rel-good.s: New file.
1248 * testsuite/gas/s12z/s12z.exp: Add them.
1250 2019-01-31 John Darrington <john@darrington.wattle.id.au>
1252 * config/tc-s12z.c (tfr): Emit warning if operands are the same.
1253 * testsuite/gas/s12z/exg.d: New test case.
1254 * testsuite/gas/s12z/exg.l: New file.
1256 2019-01-31 John Darrington <john@darrington.wattle.id.au>
1258 * config/tc-s12z.c (lex_opr): Add a parameter to indicate whether
1259 immediate mode operands should be permitted.
1260 * testsuite/s12z/imm-dest.d: New file.
1261 * testsuite/s12z/imm-dest.l: New file.
1262 * testsuite/s12z/imm-dest.s: New file.
1263 * testsuite/s12z/s12z.exp: Add them.
1265 2019-01-31 Andreas Krebbel <krebbel@linux.ibm.com>
1267 * config/tc-s390.c (s390_parse_cpu): New entry for arch13.
1268 * doc/c-s390.texi: Document arch13 march option.
1269 * testsuite/gas/s390/s390.exp: Run the arch13 related tests.
1270 * testsuite/gas/s390/zarch-arch13.d: New test.
1271 * testsuite/gas/s390/zarch-arch13.s: New test.
1272 * testsuite/gas/s390/zarch-z13.d: Expect the renamed mnemonics
1275 2019-01-31 Alan Modra <amodra@gmail.com>
1277 * config/tc-alpha.c (md_apply_fix): Correct range checks for
1278 BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BSR.
1279 * config/tc-arm.c (md_apply_fix): Use llabs rather than abs.
1280 * config/tc-csky.c (get_macro_reg_vals): Pass s to csky_show_error.
1282 2019-01-28 Max Filippov <jcmvbkbc@gmail.com>
1284 * config/tc-xtensa.c (md_apply_fix): Mark fixups for constant
1285 symbols as done in md_apply_fix.
1286 * testsuite/gas/all/forward.d: Don't XFAIL for xtensa.
1288 2019-01-28 Nick Clifton <nickc@redhat.com>
1290 * po/fr.po: Updated French translation.
1291 * po/ru.po: Updated Russian translation.
1293 2019-01-28 Alan Modra <amodra@gmail.com>
1295 * configure.ac (ac_checking): Set from bfd/development.sh
1296 development variable.
1297 * configure: Regenerate.
1299 2019-01-25 Sudakshina Das <sudi.das@arm.com>
1301 * config/tc-aarch64.c (warn_unpredictable_ldst): Exempt
1302 stg, st2g, stzg and stz2g from Xt == Xn with writeback warning.
1303 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Change tests for
1304 stg, stzg, st2g and stz2g.
1305 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
1306 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
1307 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
1309 2019-01-25 Sudakshina Das <sudi.das@arm.com>
1311 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for stzgm.
1312 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
1313 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
1314 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
1316 2019-01-25 Sudakshina Das <sudi.das@arm.com>
1317 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1319 * config/tc-aarch64.c (parse_address_main): Remove support for
1320 [base]! address expression.
1321 (parse_operands): Remove support for AARCH64_OPND_ADDR_SIMPLE_2.
1322 (warn_unpredictable_ldst): Remove support for ldstgv_indexed.
1323 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Remove tests for ldgv
1325 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
1326 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
1327 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
1329 2019-01-25 Wu Heng <wu.heng@zte.com.cn>
1332 * macro.c (getstring): Check array bound before accessing.
1334 2019-01-25 Alan Modra <amodra@gmail.com>
1338 * read.c (stringer): Delete assertion.
1340 2019-01-21 Nick Clifton <nickc@redhat.com>
1342 * po/uk.po: Updated Ukranian translation.
1344 2019-01-19 Nick Clifton <nickc@redhat.com>
1346 * config.in: Regenerate.
1347 * configure: Regenerate.
1348 * po/gas.pot: Regenerate.
1350 2018-06-24 Nick Clifton <nickc@redhat.com>
1352 2.32 branch created.
1354 2019-01-17 Tamar Christina <tamar.christina@arm.com>
1356 * testsuite/gas/arm/archv6t2-1-pe.d: New test.
1357 * testsuite/gas/arm/archv6t2-1.d: Skip pe.
1358 * testsuite/gas/arm/csdb.d: Skip pe.
1359 * testsuite/gas/arm/sb-thumb1-pe.d: New test.
1360 * testsuite/gas/arm/sb-thumb1.d: Skip pe.
1361 * testsuite/gas/arm/sb-thumb2-pe.d: New test.
1362 * testsuite/gas/arm/sb-thumb2.d: Skip pe.
1363 * testsuite/gas/arm/udf.d: Skip pe.
1365 2019-01-16 Kito Cheng <kito@andestech.com>
1367 * testsuite/gas/riscv/attribute-empty.d: New.
1369 2019-01-16 Kito Cheng <kito@andestech.com>
1370 Nelson Chu <nelson@andestech.com>
1372 * config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined.
1373 (riscv_set_options): Add `arch_attr` field.
1374 (riscv_opts): Set default value for arch_attr.
1375 (riscv_write_out_arch_attr): New.
1376 (riscv_set_public_attributes): Likewise.
1377 (riscv_md_end): Likewise.
1378 (riscv_convert_symbolic_attribute): Likewise.
1379 (s_riscv_attribute): Likewise.
1380 (explicit_arch_attr): Likewise.
1381 (riscv_pseudo_table): Add .attribute to the table.
1382 (options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR
1383 enumeration constants.
1384 (md_longopts): Add `march-attr' and `mno-arch-attr' options.
1385 (md_parse_option): Handle the new options.
1386 (md_show_usage): Document the `march-attr' option.
1387 * config/tc-riscv.h (md_end): Define as riscv_md_end
1388 (riscv_md_end): Declare.
1389 (CONVERT_SYMBOLIC_ATTRIBUTE): Define as
1390 riscv_convert_symbolic_attribute.
1391 (riscv_convert_symbolic_attribute): Declare.
1392 (start_assemble): Declare.
1393 * testsuite/gas/elf/elf.exp: Adjust test case for section2.e.
1394 * testsuite/gas/elf/section2.e-riscv: New.
1395 * testsuite/gas/riscv/attribute-01.d: New test
1396 * testsuite/gas/riscv/attribute-02.d: Likewise.
1397 * testsuite/gas/riscv/attribute-03.d: Likewise.
1398 * testsuite/gas/riscv/attribute-04.d: Likewise.
1399 * testsuite/gas/riscv/attribute-04.s: Likewise.
1400 * testsuite/gas/riscv/attribute-05.d: Likewise.
1401 * testsuite/gas/riscv/attribute-05.s: Likewise.
1402 * testsuite/gas/riscv/attribute-06.d: Likewise.
1403 * testsuite/gas/riscv/attribute-06.s: Likewise.
1404 * testsuite/gas/riscv/attribute-07.d: Likewise.
1405 * testsuite/gas/riscv/attribute-07.s: Likewise.
1406 * testsuite/gas/riscv/attribute-08.d: Likewise.
1407 * testsuite/gas/riscv/attribute-08.s: Likewise.
1408 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
1409 * testsuite/gas/riscv/attribute-unknown.s: Likewise.
1410 * testsuite/gas/riscv/empty.l: Likewise.
1411 * doc/c-riscv.texi (.attribute): Add documentation.
1412 * configure.ac (--enable-default-riscv-attribute): New options.
1413 * configure: Re-generate.
1414 * config.in: Re-generate.
1416 2019-01-16 John Darrington <john@darrington.wattle.id.au>
1418 * config/tc-s12z.c (lex_reg_name): Compare the length of the strings
1419 before the contents.
1420 * testsuite/gas/s12z/labels.d: New file.
1421 * testsuite/gas/s12z/labels.s: New file.
1422 * testsuite/gas/s12z/s12z.exp: Add them.
1423 * config/tc-s12z.c (tfr): Change as_bad to as_warn.
1424 Also fix message typo and semantics.
1425 * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
1427 * testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead
1430 2019-01-14 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1432 * config/tc-arm.c (arm_ext_v6k_v6t2): Define.
1433 (insns) [ARM_VARIANT]: Modified.
1434 (insns) [THUMB_VARIANT]: To implement few ARMv6K instructions
1436 * testsuite/gas/arm/archv6t2-1.d: New test.
1437 * testsuite/gas/arm/archv6t2-1.s: Likewise.
1438 * testsuite/gas/arm/archv6t2-2.d: Likewise.
1440 2019-01-11 Alan Modra <amodra@gmail.com>
1443 * testsuite/gas/m68hc11/lbranch-dwarf2.d: Adjust for PR23963 change.
1444 * testsuite/gas/m68hc11/opers12-dwarf2.d: Likewise.
1446 2019-01-10 Nick Clifton <nickc@redhat.com>
1449 * testsuite/gas/mips/mips16-branch-absolute-1.d: Adjust for the
1450 fact that control characters are now displayed as escape
1452 * testsuite/gas/mips/mips16-e.d: Likewise.
1453 * testsuite/gas/mips/mips16-pcrel-0.d: Likewise.
1454 * testsuite/gas/mips/mips16-pcrel-1.d: Likewise.
1455 * testsuite/gas/mips/mips16-pcrel-delay-0.d: Likewise.
1456 * testsuite/gas/mips/mips16-pcrel-delay-1.d: Likewise.
1457 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
1458 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
1459 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
1460 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
1461 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: Likewise.
1462 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: Likewise.
1463 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: Likewise.
1464 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: Likewise.
1465 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: Likewise.
1466 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: Likewise.
1467 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d:
1469 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d:
1471 * testsuite/gas/mips/mipsel16-e.d: Likewise.
1472 * testsuite/gas/mips/mipsr6@msa.d: Likewise.
1473 * testsuite/gas/mips/mipsr6@relax-swap3.d: Likewise.
1474 * testsuite/gas/mips/r6-64-n32.d: Likewise.
1475 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1476 * testsuite/gas/mips/r6-n32.d: Likewise.
1477 * testsuite/gas/mips/r6-n64.d: Likewise.
1478 * testsuite/gas/mips/r6.d: Likewise.
1479 * testsuite/gas/mips/tmips16-e.d: Likewise.
1480 * testsuite/gas/mips/tmipsel16-e.d: Likewise.
1481 * testsuite/gas/mn10300/relax.d: Likewise.
1483 2019-01-09 John Darrington <john@darrington.wattle.id.au>
1485 * testsuite/gas/s12z/jsr.s: New case.
1486 * testsuite/gas/s12z/jsr.d: New case.
1488 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
1490 * configure: Regenerate.
1492 2019-01-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1494 * config/tc-aarch64.c (aarch64_cpus): Add ares.
1495 * doc/c-aarch64.texi (-mcpu): Document ares value.
1497 2019-01-08 Alan Modra <amodra@gmail.com>
1499 * testsuite/gas/rx/rx.exp: Create generated test source in
1501 * testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d,
1502 * testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d,
1503 * testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d,
1504 * testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d,
1505 * testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d,
1506 * testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d,
1507 * testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d,
1508 * testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d,
1509 * testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d,
1510 * testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d,
1511 * testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d,
1512 * testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d,
1513 * testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d,
1514 * testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d,
1515 * testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d,
1516 * testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d,
1517 * testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d,
1518 * testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d,
1519 * testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d,
1520 * testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d,
1521 * testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d,
1522 * testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d,
1523 * testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d,
1524 * testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d,
1525 * testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d,
1526 * testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d,
1527 * testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d,
1528 * testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d,
1529 * testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d,
1530 * testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d,
1531 * testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d,
1532 * testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d,
1533 * testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d,
1534 * testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d,
1535 * testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d,
1536 * testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d,
1537 * testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d,
1538 * testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d,
1539 * testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d,
1540 * testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d,
1541 * testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d,
1542 * testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d,
1543 * testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d,
1544 * testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d,
1545 * testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d,
1546 * testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d,
1547 * testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d,
1548 * testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d,
1549 * testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d,
1550 * testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d,
1551 * testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d,
1552 * testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d,
1553 * testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d,
1554 * testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d,
1555 * testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d,
1556 * testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d,
1557 * testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d,
1558 * testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d,
1559 * testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d,
1560 * testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d,
1561 * testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d,
1562 * testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d,
1563 * testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d,
1564 * testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d,
1565 * testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d,
1566 * testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d,
1567 * testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d,
1568 * testsuite/gas/rx/xor.d: Add #source line.
1570 2019-01-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1572 * config/tc-arm.c (arm_cpus): Add ares.
1573 * doc/c-arm.texi (-mcpu): Document ares value.
1575 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1577 * config/rx-defs.h (rx_cpu_types): Add type RXV3 and RXV3FPU.
1578 (rx_bfield): Add prototype.
1579 (rx_post): Likewise.
1580 * config/rx-parse.y: Add v3 instructions and Double FPU registers.
1583 (rx_check_v3): New. check v3 type.
1584 (rx_check_dfpu): New. check have double support.
1585 (double_condition_table): New. dcmp<cond> contiditon.
1586 (check_condition): Multiple condition support.
1587 (rx_lex): RXv3 instructions support.
1588 Add parse dcmp<cond> instruction and Double FPU registers.
1589 (immediate): Disable optimize in dmov #imm case.
1590 (displacement): Add double displacement in dmov instraction.
1591 * config/tc-rx.c (rx_use_conventional_section_names):
1592 Invert default value in rx-*-linux target.
1593 (cpu_type): Add additional ELF flags.
1594 (cpu_type_list): Add RXv3.
1595 (md_parse_option): Refer elf_flags from cpu_type_list.
1596 (md_show_usage): Add rxv3 and rxv3-dfpu.
1597 (rx_bytesT): Add post byte.
1598 (rx_bfield): New. generate bfmov / bfmovz "imm" field.
1599 (rx_post): New. Set instruction post byte.
1600 (md_assemble): Add post byte.
1601 doc/c-rx.texi: Add cpu types.
1602 * testsuite/gas/rx/Xtod.d: New.
1603 * testsuite/gas/rx/Xtod.sm: New.
1604 * testsuite/gas/rx/bfmov.d: New.
1605 * testsuite/gas/rx/bfmov.sm: New.
1606 * testsuite/gas/rx/dabs.d: New.
1607 * testsuite/gas/rx/dabs.sm: New.
1608 * testsuite/gas/rx/dadd.d: New.
1609 * testsuite/gas/rx/dadd.sm: New.
1610 * testsuite/gas/rx/dcmp.d: New.
1611 * testsuite/gas/rx/dcmp.sm: New.
1612 * testsuite/gas/rx/ddiv.d: New.
1613 * testsuite/gas/rx/ddiv.sm: New.
1614 * testsuite/gas/rx/dmov.d: New.
1615 * testsuite/gas/rx/dmov.sm: New.
1616 * testsuite/gas/rx/dmul.d: New.
1617 * testsuite/gas/rx/dmul.sm: New.
1618 * testsuite/gas/rx/dneg.d: New.
1619 * testsuite/gas/rx/dneg.sm: New.
1620 * testsuite/gas/rx/dpopm.d: New.
1621 * testsuite/gas/rx/dpopm.sm: New.
1622 * testsuite/gas/rx/dpushm.d: New.
1623 * testsuite/gas/rx/dpushm.sm: New.
1624 * testsuite/gas/rx/dround.d: New.
1625 * testsuite/gas/rx/dround.sm: New.
1626 * testsuite/gas/rx/dsqrt.d: New.
1627 * testsuite/gas/rx/dsqrt.sm: New.
1628 * testsuite/gas/rx/dsub.d: New.
1629 * testsuite/gas/rx/dsub.sm: New.
1630 * testsuite/gas/rx/dtoX.d: New.
1631 * testsuite/gas/rx/dtoX.sm: New.
1632 * testsuite/gas/rx/macros.inc: Add double FPU registers.
1633 * testsuite/gas/rx/mvfdc.d: New.
1634 * testsuite/gas/rx/mvfdc.sm: New.
1635 * testsuite/gas/rx/mvfdr.d: New.
1636 * testsuite/gas/rx/mvfdr.sm: New.
1637 * testsuite/gas/rx/mvtdc.d: New.
1638 * testsuite/gas/rx/mvtdc.sm: New.
1639 * testsuite/gas/rx/rstr.d: New.
1640 * testsuite/gas/rx/rstr.sm: New.
1641 * testsuite/gas/rx/rx.exp: Use rxv3-dfpu option.
1642 * testsuite/gas/rx/save.d: New.
1643 * testsuite/gas/rx/save.sm: New.
1644 * testsuite/gas/rx/xor.d: New.
1645 * testsuite/gas/rx/xor.sm: Add pattern.
1647 2019-01-04 Wu Heng <wu.heng@zte.com.cn>
1650 * macro.c (get_any_string): Check for end of input whilst scanning
1653 2019-01-04 Wu Heng <wu.heng@zte.com.cn>
1656 * read.c (stringer): Fix handling of missing '>' character at end
1659 2019-01-01 Alan Modra <amodra@gmail.com>
1661 Update year range in copyright notice of all files.
1663 For older changes see ChangeLog-2018
1665 Copyright (C) 2019 Free Software Foundation, Inc.
1667 Copying and distribution of this file, with or without modification,
1668 are permitted in any medium without royalty provided the copyright
1669 notice and this notice are preserved.
1675 version-control: never