1 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
3 * config/tc-arm.c (struct asm_opcode): Make avalue a full int.
4 (BAD_ODD, BAD_EVEN, BAD_SIMD_TYPE): New errors.
5 (enum operand_parse_code): Handle new operands.
6 (parse_operands): Likewise.
7 (M_MNEM_vabav, M_MNEM_vmladav, M_MNEM_vmladava, M_MNEM_vmladavx,
8 M_MNEM_vmladavax, M_MNEM_vmlsdav, M_MNEM_vmlsdava, M_MNEM_vmlsdavx,
9 M_MNEM_vmlsdavax): Define new encodings.
10 (NEON_SHAPE_DEF): Add new shape.
11 (neon_check_type): Use BAD_SIMD_TYPE.
12 (mve_encode_rqq): New encoding helper function.
13 (do_mve_vabav, do_mve_vmladav): New encoding functions.
15 * testsuite/gas/arm/mve-vabav-bad.d: New test.
16 * testsuite/gas/arm/mve-vabav-bad.l: New test.
17 * testsuite/gas/arm/mve-vabav-bad.s: New test.
18 * testsuite/gas/arm/mve-vmladav-bad.d: New test.
19 * testsuite/gas/arm/mve-vmladav-bad.l: New test.
20 * testsuite/gas/arm/mve-vmladav-bad.s: New test.
21 * testsuite/gas/arm/mve-vmlav-bad.d: New test.
22 * testsuite/gas/arm/mve-vmlav-bad.l: New test.
23 * testsuite/gas/arm/mve-vmlav-bad.s: New test.
24 * testsuite/gas/arm/mve-vmlsdav-bad.d: New test.
25 * testsuite/gas/arm/mve-vmlsdav-bad.l: New test.
26 * testsuite/gas/arm/mve-vmlsdav-bad.s: New test.
28 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
30 * config/tc-arm.c (do_neon_abs_neg): Make it accept MVE variant.
31 (insns): Change vabs and vneg entries to accept MVE variants.
32 * testsuite/gas/arm/mve-vabsneg-bad-1.d: New test.
33 * testsuite/gas/arm/mve-vabsneg-bad-1.l: New test.
34 * testsuite/gas/arm/mve-vabsneg-bad-1.s: New test.
35 * testsuite/gas/arm/mve-vabsneg-bad-2.d: New test.
36 * testsuite/gas/arm/mve-vabsneg-bad-2.l: New test.
37 * testsuite/gas/arm/mve-vabsneg-bad-2.s: New test.
39 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
41 * config/tc-arm.c (enum it_instruction_type): Rename to...
42 (enum pred_instruction_type): ... this. Include VPT types.
43 (it_insn_type): Rename to ...
44 (pred_insn_type): .. this.
45 (arm_it): Change comment.
46 (enum arm_reg_type): Add new value.
47 (reg_expected_msgs): New entry.
48 (asm_opcode): Add mayBeVecPred member.
49 (BAD_SYNTAX, BAD_NOT_VPT, BAD_OUT_VPT, BAD_VPT_COND, MVE_NOT_IT,
50 MVE_NOT_VPT, MVE_BAD_PC, MVE_BAD_SP): New diagnostic MACROS.
51 (arm_vcond_hsh): New table for vector condition codes.
52 (now_it): Rename to ...
54 (now_it_compatible): Rename to ...
55 (now_pred_compatible): ... this.
56 (in_it_block): Rename to ...
57 (in_pred_block): ... this.
58 (handle_it_state): Rename to ...
59 (handle_pred_state): ... this. And change it to accept VPT blocks.
60 (set_it_insn_type): Rename to ...
61 (set_pred_insn_type): ... this.
62 (set_it_insn_type_nonvoid): Rename to ...
63 (set_pred_insn_type_nonvoid): ... this.
64 (set_it_insn_type_last): Rename to ...
65 (set_pred_insn_type_last): ... this.
66 (record_feature_use): Moved.
67 (mark_feature_used): Likewise.
68 (parse_typed_reg_or_scalar): Add new case for REG_TYPE_MQ.
69 (emit_insn): Use renamed functions and variables.
70 (enum operand_parse_code): Add new operands.
71 (parse_operands): Handle new operands.
72 (do_scalar_fp16_v82_encode): Change predication detection.
73 (do_it): Use renamed functions and variables.
74 (do_t_add_sub): Likewise.
75 (do_t_arit3): Likewise.
76 (do_t_arit3c): Likewise.
78 (do_t_branch): Likewise.
79 (do_t_bkpt_hlt1): Likewise.
80 (do_t_branch23): Likewise.
83 (do_t_cond): Likewise.
84 (do_t_csdb): Likewise.
86 (do_t_cpsi): Likewise.
89 (do_mve_vpt): New function to handle VPT blocks.
90 (encode_thumb2_multi): Use renamed functions and variables.
91 (do_t_ldst): Use renamed functions and variables.
92 (do_t_mov_cmp): Likewise.
93 (do_t_mvn_tst): Likewise.
98 (do_t_setend): Likewise.
99 (do_t_shift): Likewise.
100 (do_t_smc): Likewise.
102 (do_t_udf): Likewise.
103 (do_t_loloop): Likewise.
104 (do_neon_cvt_1): Likewise.
105 (do_vfp_nsyn_cvt_fpv8): Likewise.
107 (do_vmaxnm): Likewise.
108 (do_vrint_1): Likewise.
109 (do_crypto_2op_1): Likewise.
110 (do_crypto_3op_1): Likewise.
111 (do_crc32_1): Likewise.
112 (it_fsm_pre_encode): Likewise.
113 (it_fsm_post_encode): Likewise.
114 (force_automatic_it_block_close): Likewise.
115 (check_it_blocks_finished): Likewise.
116 (check_pred_blocks_finished): Likewise.
117 (arm_cleanup): Likewise.
118 (now_it_add_mask): Rename to ...
119 (now_pred_add_mask): ... this. And use new variables and functions.
120 (NEON_ENC_TAB): Add entries for vabdl, vaddl and vsubl.
121 (N_I_MVE, N_F_MVE, N_SU_MVE): New MACROs.
122 (neon_check_type): Generalize error message.
123 (mve_encode_qqr): New MVE generic encoding function.
124 (neon_dyadic_misc): Change to accept MVE variants.
125 (do_neon_dyadic_if_su): Likewise.
126 (do_neon_addsub_if_i): Likewise.
127 (do_neon_dyadic_long): Likewise.
128 (vfp_or_neon_is_neon): Add extra checks.
129 (check_simd_pred_availability): Helper function to check SIMD
130 instruction availability with respect to predication.
131 (enum opcode_tag): New suffix value.
132 (opcode_lookup): Change to handle VPT blocks.
133 (new_automatic_it_block): Rename to ...
134 (close_automatic_it_block): ...this.
135 (TxCE, TxC3, TxC3w, TUE, TUEc, TUF, CE, C3, ToC, ToU,
136 toC, toU, CL, cCE, cCL, C3E, xCM_, UE, UF, NUF, nUF,
137 NCE_tag, NCE, NCEF, nCE_tag, nCE, nCEF): Add default value for new
139 (mCEF, mnCEF, mnCE, MNUF, mnUF, mToC, MNCE, MNCEF): New MACROs.
140 (insns): Redefine vadd, vsub, cabd, vabdl, vaddl, vsubl to accept MVE
141 variants. Add entries for vscclrm, and vpst.
142 (md_begin): Add arm_vcond_hsh initialization.
143 * config/tc-arm.h (enum it_state): Rename to...
144 (enum pred_state): ...this.
145 (struct current_it): Rename to...
146 (struct current_pred): ...this.
147 (enum pred_type): New enum.
148 (struct arm_segment_info_type): Use current_pred.
149 * testsuite/gas/arm/armv8_3-a-fp-bad.l: Update error message.
150 * testsuite/gas/arm/armv8_3-a-simd-bad.l: Update error message.
151 * testsuite/gas/arm/dotprod-illegal.l: Update error message.
152 * testsuite/gas/arm/mve-vaddsubabd-bad-1.d: New test.
153 * testsuite/gas/arm/mve-vaddsubabd-bad-1.l: New test.
154 * testsuite/gas/arm/mve-vaddsubabd-bad-1.s: New test.
155 * testsuite/gas/arm/mve-vaddsubabd-bad-2.d: New test.
156 * testsuite/gas/arm/mve-vaddsubabd-bad-2.l: New test.
157 * testsuite/gas/arm/mve-vaddsubabd-bad-2.s: New test.
158 * testsuite/gas/arm/mve-vpst-bad.d: New test.
159 * testsuite/gas/arm/mve-vpst-bad.l: New test.
160 * testsuite/gas/arm/mve-vpst-bad.s: New test.
161 * testsuite/gas/arm/neon-ldst-es-bad.l: Updated error message.
163 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
165 * config/tc-arm.c (mve_ext, mve_fp_ext): New features.
166 (armv8_1m_main_ext_table): Add new extensions.
167 (aeabi_set_public_attributes): Translate new features to new build attributes.
168 (arm_convert_symbolic_attribute): Add Tag_MVE_arch.
169 * doc/c-arm.texi: Document new extensions and new build attribute.
171 2019-05-15 John Darrington <john@darrington.wattle.id.au>
173 * config/tc-s12z.c (register_prefix): New variable. (md_show_usage,
174 md_parse_option): parse the new option.
175 (lex_reg_name): Scan the prefix if one is set.
176 * doc/c-s12z.texi (S12Z-Opts): Document the new option.
177 * testsuite/gas/s12z/reg-prefix.d: New file.
178 * testsuite/gas/s12z/reg-prefix.s: New file.
179 * testsuite/gas/s12z/s12z.exp: Add them.
181 2019-05-14 John Darrington <john@darrington.wattle.id.au>
183 * doc/as.texi (Machine Dependencies): Fix misaligned menu entry.
185 2019-05-15 Alan Modra <amodra@gmail.com>
187 * config/tc-csky.c (md_convert_frag): Initialise trailing
188 padding for COND_JUMP_PIC.
190 2019-05-15 Alan Modra <amodra@gmail.com>
192 * dwarf2dbg.c: Whitespace fixes.
193 (get_filenum): Don't strdup "file". Adjust error message.
194 (dwarf2_directive_filename): Use an unsigned type for "num".
195 Catch truncation of file number and overflow of get_filenum
196 XRESIZEVEC multiplication. Delete dead code.
198 2019-05-15 Alan Modra <amodra@gmail.com>
201 * config/tc-tic54x.c (tic54x_start_line_hook): Do skip end of line
202 chars in setting endp.
204 2019-05-14 Nick Clifton <nickc@redhat.com>
207 * config/tc-i386-intel.c (i386_intel_simplify_register): Reject
208 illegal register numbers.
210 2019-05-10 Nick Clifton <nickc@redhat.com>
213 * macro.c (get_any_string): Increase size of buffer used to hold
214 decimal value of expression result.
215 * dw2gencfi.c (get_debugseg_name): Handle an empty name.
216 * dwarf2dbg.c (get_filenum): Catch integer wraparound when
217 extending allocate file array.
218 (dwarf2_directive_filename): Add extra checks of the computed file
220 * config/tc-arm.c (arm_tc_equal_in_insn): Insert copy of name into
222 (s_arm_eabi_attribute): Check for obj_elf_vendor_attribute
224 * config/tc-i386.c (i386_output_nops): Catch an attempt to
225 generate nops of negative lengths.
226 * as.h (MAX_LITTLENUMS): Move definition to here from...
227 * config/atof-ieee.c: ...here.
228 * config/tc-aarch64.c: ...here.
229 * config/tc-arc.c: ...here.
230 * config/tc-arm.c: ...here.
231 * config/tc-epiphany.c: ...here.
232 * config/tc-i386.c: ...here.
233 * config/tc-ia64.c: ...here. (And correct the value).
234 * config/tc-m32c.c: ...here.
235 * config/tc-m32r.c: ...here.
236 * config/tc-metag.c: ...here.
237 * config/tc-microblaze.c: ...here.
238 * config/tc-nds32.c: ...here.
239 * config/tc-or1k.c: ...here.
240 * config/tc-score.c: ...here.
241 * config/tc-score7.c: ...here.
242 * config/tc-tic4x.c: ...here.
243 * config/tc-tilegx.c: ...here.
244 * config/tc-tilepro.c: ...here.
245 * config/tc-visium.c: ...here.
246 * config/tc-sh.c (md_assemble): Add check for an instruction with
248 * config/tc-mips.c (mips_lookup_insn): Add check for very short
250 * config/tc-tic54x.c: Use unsigned chars to access is_end_of_line
252 (tic54x_start_line_hook): Check for an empty line.
253 (next_line_shows_parallel): Do not walk off the end of the string.
254 (tic54x_macro_start): Check for too much macro nesting.
255 (tic54x_start_label): Add label_start parameter. Use this
256 parameter to check the first character of the label.
258 * config/tc-tic54x.h (TC_START_LABEL_WITHOUT_COLON): Pass
259 line_start variable to tic54x_start_label.
261 2019-05-10 Faraz Shahbazker <fshahbazker@wavecomp.com>
263 * config/tc-mips.c (macro) <M_ADD_I, M_SUB_I, M_DADD_I, M_DSUB_I>:
264 Add expansions for MIPS r6.
265 * testsuite/gas/mips/add.s: Enable tests for R6.
266 * testsuite/gas/mips/daddi.s: Annotate to test DADD for R6.
267 * testsuite/gas/mips/mipsr6@add.d: Likewise.
268 * gas/testsuite/gas/mips/mipsr6@dadd.d: New test.
269 * gas/testsuite/gas/mips/mips.exp: Run the new test.
271 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
273 * testsuite/gas/aarch64/sve2.d: Remove file format restriction.
275 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
277 * testsuite/gas/aarch64/illegal-sve2-aes.d: New test.
278 * testsuite/gas/aarch64/illegal-sve2-bitperm.d: New test.
279 * testsuite/gas/aarch64/illegal-sve2-sha3.d: Test new instructions.
280 * testsuite/gas/aarch64/illegal-sve2-sm4.d: Test new instructions.
281 * testsuite/gas/aarch64/illegal-sve2-sve1ext.d: Test new instructions.
282 * testsuite/gas/aarch64/illegal-sve2-sve1ext.l: Test new instructions.
283 * testsuite/gas/aarch64/illegal-sve2.d: Test new instructions.
284 * testsuite/gas/aarch64/illegal-sve2.l: Test new instructions.
285 * testsuite/gas/aarch64/illegal-sve2.s: Test new instructions.
286 * testsuite/gas/aarch64/sve1-extended-sve2.s: New test.
287 * testsuite/gas/aarch64/sve2.d: Test new instructions.
288 * testsuite/gas/aarch64/sve2.s: Test new instructions.
290 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
292 * config/tc-aarch64.c (parse_operands): Handle new SVE_SHLIMM_UNPRED_22
295 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
297 * config/tc-aarch64.c (parse_operands): Handle new SVE_Zm4_11_INDEX
300 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
302 * config/tc-aarch64.c (parse_operands): Handle new SVE_SHRIMM_UNPRED_22
305 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
307 * config/tc-aarch64.c (REG_ZR): Macro specifying zero register.
308 (parse_address_main): Account for new addressing mode [Zn.S, Xm].
309 (parse_operands): Handle new SVE_ADDR_ZX operand.
311 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
313 * config/tc-aarch64.c (parse_operands): Handle new SVE_Zm3_11_INDEX
316 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
318 * config/tc-aarch64.c (parse_operands): Handle new SVE_IMM_ROT3 operand.
320 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
322 * config/tc-aarch64.c: Add command line architecture feature flags
323 "sve2", "sve2-sm4", "sve2-aes", "sve2-sha3", "bitperm".
324 * doc/c-aarch64.texi: Document new architecture feature flags.
326 2019-05-08 Alan Modra <amodra@gmail.com>
328 * testsuite/gas/elf/dwarf2-1.s,
329 * testsuite/gas/elf/dwarf2-2.s,
330 * testsuite/gas/elf/dwarf2-5.s,
331 * testsuite/gas/elf/dwarf2-7.s,
332 * testsuite/gas/elf/dwarf2-8.s,
333 * testsuite/gas/elf/dwarf2-9.s,
334 * testsuite/gas/elf/dwarf2-10.s,
335 * testsuite/gas/elf/dwarf2-11.s,
336 * testsuite/gas/elf/dwarf2-12.s,
337 * testsuite/gas/elf/dwarf2-13.s,
338 * testsuite/gas/elf/dwarf2-14.s,
339 * testsuite/gas/elf/dwarf2-15.s,
340 * testsuite/gas/elf/dwarf2-16.s,
341 * testsuite/gas/elf/dwarf2-17.s,
342 * testsuite/gas/elf/dwarf2-18.s,
343 * testsuite/gas/elf/dwarf2-19.s: Double size of align and simulated
345 * testsuite/gas/elf/dwarf2-1.d,
346 * testsuite/gas/elf/dwarf2-2.d,
347 * testsuite/gas/elf/dwarf2-5.d,
348 * testsuite/gas/elf/dwarf2-7.d,
349 * testsuite/gas/elf/dwarf2-8.d,
350 * testsuite/gas/elf/dwarf2-9.d,
351 * testsuite/gas/elf/dwarf2-10.d,
352 * testsuite/gas/elf/dwarf2-11.d,
353 * testsuite/gas/elf/dwarf2-12.d,
354 * testsuite/gas/elf/dwarf2-13.d,
355 * testsuite/gas/elf/dwarf2-14.d,
356 * testsuite/gas/elf/dwarf2-15.d,
357 * testsuite/gas/elf/dwarf2-16.d,
358 * testsuite/gas/elf/dwarf2-17.d,
359 * testsuite/gas/elf/dwarf2-18.d,
360 * testsuite/gas/elf/dwarf2-19.d: Use xfail rather than notarget.
361 Remove avr, pru, tile, xtensa from xfails. Update expected output.
362 * testsuite/gas/elf/elf.exp: Sort targets.
363 (dump_opts): Pass {as -mno-relax} for riscv, {as -mno-link-relax}
364 for avr and pru, and {as --no-link-relax} for xtensa to dwarf tests.
365 * testsuite/gas/elf/section2.e-miwmmxt: Delete unused file.
367 2019-05-08 Alan Modra <amodra@gmail.com>
369 * config/tc-xtensa.c (opt_linkrelax): New variable.
370 (md_parse_option): Set it here.
371 (md_begin): Copy opt_linkrelax to linkrelax.
373 2019-05-07 Alexandre Oliva <aoliva@redhat.com>
375 * testsuite/gas/elf/dwarf2-18.d: Xfail mep-*.
376 * testsuite/gas/elf/dwarf2-19.d: Likewise.
378 2019-05-07 Alan Modra <amodra@gmail.com>
380 * symbols.c (use_complex_relocs_for): Formatting. Factor out
383 2019-05-06 Andrew Bennett <andrew.bennett@imgtec.com>
384 Faraz Shahbazker <fshahbazker@wavecomp.com>
386 * config/tc-mips.c (mips_set_ase): Handle ASE_EVA_R6.
387 (macro) <M_LLWPE_AB, M_SCWPE_AB>: New cases.
388 (mips_after_parse_args): Translate EVA to EVA_R6.
389 * testsuite/gas/mips/ase-errors-1.s: Add new instructions.
390 * testsuite/gas/mips/eva.s: Likewise.
391 * testsuite/gas/mips/ase-errors-1.l: Check errors for
393 * testsuite/gas/mips/mipsr6@eva.d: Check new test cases.
395 2019-05-06 Alan Modra <amodra@gmail.com>
397 * symbols.c (symbol_relc_make_sym): Do not access sym->sy_value
400 2019-05-06 Alan Modra <amodra@gmail.com>
402 * config/tc-ppc.c (ppc_fix_adjustable): Exclude all GOT and PLT
403 relocs, and VLE sdarel relocs.
404 * testsuite/gas/ppc/power4.d: Adjust.
406 2019-05-05 Alexandre Oliva <aoliva@redhat.com>
408 * dwarf2dbg.c (set_or_check_view): Skip heads when assigning
410 (dwarf2_gen_line_info_1): Skip heads.
411 (size_inc_line_addr, emit_inc_line_addr): Drop
412 DW_LNS_advance_pc for zero addr delta.
413 (dwarf2_finish): Assign views for heads of segments.
414 * testsuite/gas/elf/dwarf2-19.d: New.
415 * testsuite/gas/elf/dwarf2-19.s: New.
416 * testsuite/gas/elf/elf.exp: Test it.
418 2019-05-04 Alan Modra <amodra@gmail.com>
420 * config/tc-m32c.c (insn_size): Delete static var.
421 (md_begin): Don't set it.
422 (m32c_md_end): Delete.
423 (md_assemble): Add insn_size auto var.
424 * config/tc-m32c.h (md_end): Don't define.
425 (m32c_md_end): Delete.
426 (NOP_OPCODE, HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): Define.
427 * testsuite/gas/all/align.d: Remove m32c from notarget list.
428 * testsuite/gas/all/incbin.d: Likewise.
429 * testsuite/gas/elf/dwarf2-11.d: Likewise.
430 * testsuite/gas/macros/semi.d: Likewise.
431 * testsuite/gas/all/gas.exp (do_comment): Similarly.
433 2019-05-02 H.J. Lu <hongjiu.lu@intel.com>
436 * config/tc-i386.c (process_suffix): Issue a warning to IRET
437 without a suffix for .code16gcc.
438 * testsuite/gas/i386/jump16.s: Add tests for iretX.
439 * testsuite/gas/i386/jump16.d: Updated.
440 * testsuite/gas/i386/jump16.e: New file.
442 2019-05-01 Sudakshina Das <sudi.das@arm.com>
444 * config/tc-aarch64.c (parse_operands): Add case for
445 AARCH64_OPND_TME_UIMM16.
446 (aarch64_features): Add "tme".
447 * doc/c-aarch64.texi: Document the same.
448 * testsuite/gas/aarch64/tme-invalid.d: New test.
449 * testsuite/gas/aarch64/tme-invalid.l: New test.
450 * testsuite/gas/aarch64/tme-invalid.s: New test.
451 * testsuite/gas/aarch64/tme.d: New test.
452 * testsuite/gas/aarch64/tme.s: New test.
454 2019-04-29 John Darrington <john@darrington.wattle.id.au>
456 * testsuite/gas/s12z/truncated.d: New file.
457 * testsuite/gas/s12z/truncated.s: New file.
458 * testsuite/gas/s12z/s12z.exp: Add new test.
460 2019-04-26 Andrew Bennett <andrew.bennett@imgtec.com>
461 Faraz Shahbazker <fshahbazker@wavecomp.com>
463 * config/tc-mips.c (macro) <M_LLWP_AB, M_LLDP_AB, M_SCWP_AB,
464 M_SCDP_AB>: New cases and expansions for paired instructions.
465 * testsuite/gas/mips/llpscp-32.s: New test source.
466 * testsuite/gas/mips/llpscp-64.s: Likewise.
467 * testsuite/gas/mips/llpscp-32.d: New test.
468 * testsuite/gas/mips/llpscp-64.d: Likewise.
469 * testsuite/gas/mips/mips.exp: Run the new tests.
470 * testsuite/gas/mips/r6.s: Add new instructions to test source.
471 * testsuite/gas/mips/r6-64.s: Likewise.
472 * testsuite/gas/mips/r6-64-n32.d: Check new instructions.
473 * testsuite/gas/mips/r6-64-n64.d: Likewise.
474 * testsuite/gas/mips/r6-n32.d: Likewise.
475 * testsuite/gas/mips/r6-n64.d: Likwwise.
476 * testsuite/gas/mips/r6.d: Likewise.
478 2019-04-26 H.J. Lu <hongjiu.lu@intel.com>
481 * config/tc-i386.c (process_suffix): Don't add DATA_PREFIX_OPCODE
482 to IRET for .code16gcc.
483 * testsuite/gas/i386/jump16.s: Add IRET tests.
484 * testsuite/gas/i386/jump16.d: Updated.
486 2019-04-25 Alexandre Oliva <aoliva@redhat.com>
487 Alan Modra <amodra@gmail.com>
490 * frags.c (frag_gtoffset_p): New.
491 * frags.h (frag_gtoffset_p): Declare it.
492 * expr.c (resolve_expression): Use it.
494 2019-04-24 Alan Modra <amodra@gmail.com>
497 * symbols.c (resolve_symbol_value): When handling symbols
498 marked as sy_flags.resolved, return correct value for the
499 case of expression symbols left as an O_symbol expression.
500 Merge O_symbol code handling undefined and common symbols with
501 code handling special cases of expression symbols. Use
502 seg_left to test for undefined and common symbols. Don't
503 leave an O_symbol expression when X_add_symbol resolves to
504 the absolute_section. Init final_val later.
505 * testsuite/gas/mmix/basep-7.d: Adjust expected output.
507 2019-04-24 John Darrington <john@darrington.wattle.id.au>
509 * testsuite/gas/s12z/bit-manip-invalid.s: Extend test for BSET
510 and BCLR instructions with an invalid mode.
511 * testsuite/gas/s12z/bit-manip-invalid.d: ditto.
513 2019-04-19 Nick Clifton <nickc@redhat.com>
516 * config/tc-rx.h (md_relax_frag): Pass the max_iterations variable
517 to the relaxation function.
518 * config/tc-rx.c (rx_relax_frag): Add new parameter - the maximum
519 number of iterations. Make sure that our internal iteration limit
520 does not exceed this external iteration limit.
522 2019-04-18 Matthew Fortune <matthew.fortune@mips.com>
524 * config/tc-mips.c (match_non_zero_reg_operand): Update
526 * testsuite/gas/mips/r6-branch-constraints.l: Likewise.
528 2019-04-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
530 * config/tc-msp430.c (msp430_make_init_symbols): Define
531 __crt0_run_{preinit,init,fini}_array symbols if
532 .{preinit,init,fini}_array sections exist.
533 * testsuite/gas/msp430/fini-array.d: New test.
534 * testsuite/gas/msp430/init-array.d: New test.
535 * testsuite/gas/msp430/preinit-array.d: New test.
536 * testsuite/gas/msp430/fini-array.s: New test source.
537 * testsuite/gas/msp430/init-array.s: New test source.
538 * testsuite/gas/msp430/preinit-array.s: New test source.
539 * testsuite/gas/msp430/msp430.exp: Add new tests to driver.
541 2019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
543 * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
544 symbol when .lower.bss or .either.bss sections exist.
545 Define __crt0_movedata when .lower.data or .either.data sections exist.
546 * testsuite/gas/msp430/either-data-bss-sym.d: New test.
547 * testsuite/gas/msp430/low-data-bss-sym.d: New test.
548 * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
549 * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
550 * testsuite/gas/msp430/msp430.exp: Run new tests.
551 Enable large code model when running -mdata-region={upper,either}
554 2019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
556 * config/tc-msp430.c (options): New OPTION_UNKNOWN_INTR_NOPS,
557 OPTION_NO_UNKNOWN_INTR_NOPS and do_unknown_interrupt_nops.
558 (md_parse_option): Handle OPTION_UNKNOWN_INTR_NOPS and
559 OPTION_NO_UNKNOWN_INTR_NOPS by setting do_unknown_interrupt_nops
561 (md_show_usage): Likewise.
562 (md_shortopts): Add "mu" for OPTION_UNKNOWN_INTR_NOPS and
563 "mU" for OPTION_NO_UNKNOWN_INTR_NOPS.
564 (md_longopts): Likewise.
565 (warn_eint_nop): Update comment.
566 (warn_unsure_interrupt): Don't warn if prev_insn_is_nop or
567 prev_insn_is_dint or we are assembling for 430 ISA.
568 (msp430_operands): Only call warn_unsure_interrupt if
569 do_unknown_interrupt_nops == TRUE.
570 * testsuite/gas/msp430/nop-unknown-intr.s: New test source file.
571 * testsuite/gas/msp430/nop-unknown-intr-430.d: New test.
572 * testsuite/gas/msp430/nop-unknown-intr-430x.d: New test.
573 * testsuite/gas/msp430/nop-unknown-intr-430x-ignore.d: New test.
574 * testsuite/gas/msp430/nop-unknown-intr-430.l: Warning output for new
576 * testsuite/gas/msp430/nop-unknown-intr-430x.l: Likewise.
577 * testsuite/gas/msp430/msp430.exp: Add new tests to driver.
579 2019-04-16 Alan Modra <amodra@gmail.com>
581 * testsuite/gas/all/weakref1.d: xfail nds32.
583 2019-04-16 Alan Modra <amodra@gmail.com>
585 * testsuite/gas/all/gas.exp: Remove ns32k xfails.
586 * testsuite/gas/all/weakref1u.d: Don't run for ns32k-*-*.
588 2019-04-16 Alan Modra <amodra@gmail.com>
590 * write.h: Don't include bit_fix.h.
591 (struct fix): Rearrange some fields. Delete fx_im_disp and
592 fx_bit_fixP. Use bitfields for fx_size and fx_pcrel_adjust.
593 * write.c (fix_new_internal): Don't init fx_im_disp and fx_bit_fixP.
594 (fixup_segment): Don't exclude overflow checks on fx_bit_fixP.
595 (print_fixup): Don't print im_disp.
596 * config/tc-cris.c (md_apply_fix): Remove tests of fx_bit_fixP
598 * config/tc-dlx.c (md_apply_fix): Remove wrong debug code. Set
599 fx_no_overflow when fx_bit_fixP.
600 * config/tc-dlx.h: Include bit_fix.h.
601 (TC_FIX_TYPE, tc_fix_data, TC_INIT_FIX_DATA): Define.
602 * config/tc-ns32k.c (fix_new_ns32k, fix_new_ns32k_exp): Set
603 fx_no_overflow when bit_fixP.
604 * config/tc-ns32k.h (TC_FIX_TYPE): Add fx_bit_fixP and fx_im_disp.
605 (fix_im_disp, fix_bit_fixP): Adjust to suit.
606 (TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise.
608 2019-04-16 Alan Modra <amodra@gmail.com>
610 * write.h (struct fix <fx_where>): Make unsigned.
611 (fix_new, fix_at_start, fix_new_exp): Adjust prototypes.
612 * write.c (fix_new, fix_new_exp, fix_at_start): Make "where" and
613 "size" parameters unsigned long.
614 (fix_new_internal): Likewise. Adjust error format string to suit.
615 * config/tc-mips.c (md_convert_frag): Remove cast of fx_where.
616 * config/tc-sparc.c (md_apply_fix): Likewise.
617 * config/tc-score.c (s3_convert_frag): Adjust for unsigned fx_where.
618 * config/tc-score7.c (s7_convert_frag): Likewise.
620 2019-04-16 Alan Modra <amodra@gmail.com>
622 * frags.h (struct frag <fr_fix>): Use unsigned type.
623 * frags.c (frag_new): Assert that current size exceeds
624 old_frags_var_max_size.
625 * ehopt.c (get_cie_info): Adjust for unsigned fr_fix.
626 * listing.c (calc_hex): Likewise.
627 * write.c (cvt_frag_to_fill, write_relocs): Likewise.
628 * config/tc-arc.c (md_convert_frag): Likewise.
629 * config/tc-avr.c (avr_patch_gccisr_frag): Likewise.
630 * config/tc-mips.c (md_convert_frag): Likewise.
631 * config/tc-rl78.c (md_convert_frag): Likewise.
632 * config/tc-rx.c (md_convert_frag): Likewise.
633 * config/tc-sparc.c (md_apply_fix): Likewise.
634 * config/tc-xtensa.c (next_instrs_are_b_retw): Likewise.
635 (unrelaxed_frag_min_insn_count, unrelaxed_frag_has_b_j): Likewise.
637 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
639 * config/tc-arm.c (parse_sys_vldr_vstr): New function.
640 (OP_VLDR): New enum operand_parse_code enumerator.
641 (parse_operands): Add logic for OP_VLDR.
642 (do_t_vldr_vstr_sysreg): New function.
643 (do_vldr_vstr): Likewise.
644 (insns): Guard VLDR and VSTR by arm_ext_v4t for Thumb mode.
645 (md_apply_fix): Add bound check for VLDR and VSTR co-processor offset.
646 Add masking logic for BFD_RELOC_ARM_T32_VLDR_VSTR_OFF_IMM relocation.
647 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Add examples of bad
648 uses of VLDR and VSTR.
649 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Add error messages for
651 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Add examples of VLDR and
653 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Add disassembly for the
656 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
658 * config/tc-arm.c (arm_typed_reg_parse): Fix typo in comment.
659 (enum reg_list_els): New REGLIST_VFP_S_VPR and REGLIST_VFP_D_VPR
661 (parse_vfp_reg_list): Add new partial_match parameter. Set
662 *partial_match to TRUE if at least one element in the register list has
663 matched. Add support for REGLIST_VFP_S_VPR and REGLIST_VFP_D_VPR
664 register lists which expect VPR as last element in the list.
665 (s_arm_unwind_save_vfp_armv6): Adapt call to parse_vfp_reg_list to new
667 (s_arm_unwind_save_vfp): Likewise.
668 (enum operand_parse_code): New OP_VRSDVLST enumerator.
669 (parse_operands): Adapt call to parse_vfp_reg_list to new prototype.
670 Handle new OP_VRSDVLST case.
671 (do_t_vscclrm): New function.
672 (insns): New entry for VSCCLRM instruction.
673 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Add invalid VSCCLRM
675 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Add error expectations
676 for above instructions.
677 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Add tests for VSCCLRM
679 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Add expected disassembly
680 for above instructions.
682 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
684 * config/tc-arm.c (enum reg_list_els): Define earlier and add
685 REGLIST_RN and REGLIST_CLRM enumerators.
686 (parse_reg_list): Add etype parameter to distinguish between regular
687 core register list and CLRM register list. Add logic to
688 recognize CLRM register list.
689 (parse_vfp_reg_list): Assert type is not for core register list.
690 (s_arm_unwind_save_core): Update call to parse_reg_list to new
692 (enum operand_parse_code): Declare OP_CLRMLST enumerator.
693 (parse_operands): Update call to parse_reg_list to new prototype. Add
694 logic for OP_CLRMLST.
695 (encode_thumb2_ldmstm): Rename into ...
696 (encode_thumb2_multi): This. Add do_io parameter. Add logic to
697 encode CLRM and guard LDM/STM only code by do_io.
698 (do_t_ldmstm): Adapt to use encode_thumb2_multi.
699 (do_t_push_pop): Likewise.
700 (do_t_clrm): New function.
701 (insns): Define CLRM.
702 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.d: New file.
703 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Likewise.
704 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Likewise.
705 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Likewise.
706 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Likewise.
708 2019-04-15 Sudakshina Das <sudi.das@arm.com>
709 Andre Vieira <andre.simoesdiasvieira@arm.com>
711 * config/tc-arm.c (operand_parse_code): Add OP_LR and OP_oLR
712 for the LR operand and optional LR operand.
713 (parse_operands): Add switch cases for OP_LR and OP_oLR for
714 both type checking and value checking.
715 (encode_thumb32_addr_mode): New entries for DLS, WLS and LE.
716 (v8_1_loop_reloc): New helper function for handling labels
717 for the low overhead loop instructions.
718 (do_t_loloop): New function to encode DLS, WLS and LE.
719 (insns): New entries for WLS, DLS and LE.
720 (md_pcrel_from_section): New switch case
721 for BFD_RELOC_ARM_THUMB_LOOP12.
722 (md_appdy_fix): Likewise.
723 (tc_gen_reloc): Likewise.
724 * testsuite/gas/arm/armv8_1-m-tloop.s: New.
725 * testsuite/gas/arm/armv8_1-m-tloop.d: New.
726 * testsuite/gas/arm/armv8_1-m-tloop-bad.s: New.
727 * testsuite/gas/arm/armv8_1-m-tloop-bad.d: New.
728 * testsuite/gas/arm/armv8_1-m-tloop-bad.l: New.
730 2019-04-15 Sudakshina Das <sudi.das@arm.com>
731 Andre Vieira <andre.simoesdiasvieira@arm.com>
733 * config/tc-arm.c (T16_32_TAB): New entriy for bfcsel.
734 (do_t_v8_1_branch): New switch case for bfcsel.
736 (insns): New instruction for bfcsel.
737 (md_pcrel_from_section): New switch case
738 for BFD_RELOC_THUMB_PCREL_BFCSEL.
739 (md_appdy_fix): Likewise
740 (tc_gen_reloc): Likewise.
741 * testsuite/gas/arm/armv8_1-m-bfcsel.d: New.
742 * testsuite/gas/arm/armv8_1-m-bfcsel.s: New.
744 2019-04-15 Sudakshina Das <sudi.das@arm.com>
746 * config/tc-arm.c (md_pcrel_from_section): New switch case for
747 BFD_RELOC_ARM_THUMB_BF13.
748 (md_appdy_fix): Likewise.
749 (tc_gen_reloc): Likewise.
751 2019-04-15 Sudakshina Das <sudi.das@arm.com>
752 Andre Vieira <andre.simoesdiasvieira@arm.com>
754 * config/tc-arm.c (T16_32_TAB): New entrie for bfl.
755 (do_t_v8_1_branch): New switch case for bfl.
756 (insns): New instruction for bfl.
757 * testsuite/gas/arm/armv8_1-m-bfl.d: New.
758 * testsuite/gas/arm/armv8_1-m-bfl.s: New.
759 * testsuite/gas/arm/armv8_1-m-bfl-bad.s: New.
760 * testsuite/gas/arm/armv8_1-m-bfl-bad.d: New.
761 * testsuite/gas/arm/armv8_1-m-bfl-bad.l: New.
762 * testsuite/gas/arm/armv8_1-m-bfl-rel.d: New.
763 * testsuite/gas/arm/armv8_1-m-bfl-rel.s: New.
765 2019-04-15 Sudakshina Das <sudi.das@arm.com>
767 * config/tc-arm.c (md_pcrel_from_section): New switch case for
768 BFD_RELOC_ARM_THUMB_BF19.
769 (md_appdy_fix): Likewise.
770 (tc_gen_reloc): Likewise.
772 2019-04-15 Sudakshina Das <sudi.das@arm.com>
774 * config/tc-arm.c (T16_32_TAB): New entries for bfx and bflx.
775 (do_t_v8_1_branch): New switch cases for bfx and bflx.
776 (insns): New instruction for bfx and bflx.
777 * testsuite/gas/arm/armv8_1-m-bf-exchange.d: New.
778 * testsuite/gas/arm/armv8_1-m-bf-exchange.s: New.
779 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.s: New
780 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.l: New
781 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.d: New
783 2019-04-15 Sudakshina Das <sudi.das@arm.com>
784 Andre Vieira <andre.simoesdiasvieira@arm.com>
786 * config/tc-arm.c (T16_32_TAB): New entries for bf.
787 (do_t_branch_future): New.
788 (insns): New instruction for bf.
789 * testsuite/gas/arm/armv8_1-m-bf.d: New.
790 * testsuite/gas/arm/armv8_1-m-bf.s: New.
791 * testsuite/gas/arm/armv8_1-m-bf-bad.s: New.
792 * testsuite/gas/arm/armv8_1-m-bf-bad.l: New.
793 * testsuite/gas/arm/armv8_1-m-bf-bad.d: New.
794 * testsuite/gas/arm/armv8_1-m-bf-rel.d: New.
795 * testsuite/gas/arm/armv8_1-m-bf-rel.s: New.
797 2019-04-15 Sudakshina Das <sudi.das@arm.com>
799 * config/tc-arm.c (md_pcrel_from_section): New switch case for
800 BFD_RELOC_ARM_THUMB_BF17.
801 (md_appdy_fix): Likewise.
802 (tc_gen_reloc): Likewise.
804 2019-04-15 Sudakshina Das <sudi.das@arm.com>
806 * config/tc-arm.c (ARM_IT_MAX_RELOCS): New macro.
807 (arm_it): Member reloc renamed relocs and updated to an array.
808 Rest: Replace all occurrences of reloc to relocs[0].
810 2019-04-15 Sudakshina Das <sudi.das@arm.com>
812 * config/tc-arm.c (md_pcrel_from_section): New switch case
813 for BFD_RELOC_THUMB_PCREL_BRANCH5.
814 (v8_1_branch_value_check): New function to check branch
816 (md_appdy_fix): New switch case for
817 BFD_RELOC_THUMB_PCREL_BRANCH5.
818 (tc_gen_reloc): Likewise.
820 2019-04-15 Andre Vieira <andre.simoesdiasvieira@arm.com>
822 * config/tc-arm.c (do_neon_movhf): Remove fp-armv8 check.
823 (armv8_1m_main_ext_table): New extension table.
824 (arm_archs): Use the new extension table.
825 * doc/c-arm.texi: Add missing arch and document new extensions.
826 * testsuite/gas/arm/armv8.1-m.main-fp.d: New.
827 * testsuite/gas/arm/armv8.1-m.main-fp-dp.d: New.
828 * testsuite/gas/arm/armv8.1-m.main-hp.d: New.
830 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
832 * config/tc-arm.c (cpu_arch_ver): Add entry for Armv8.1-M Mainline
833 Tag_CPU_arch build attribute value. Reindent.
834 (get_aeabi_cpu_arch_from_fset): Update assert.
835 (aeabi_set_public_attributes): Update assert for Tag_DIV_use logic.
836 * testsuite/gas/arm/attr-march-armv8_1-m.main.d: New test.
838 2019-04-09 Matthew Fortune <matthew.fortune@mips.com>
840 * config/tc-mips.c (mips_cpu_info_table): Add i6500. Update
841 default ASEs for i6400.
842 * doc/c-mips.texi (-march): Document i6500.
843 * testsuite/gas/mips/elf_mach_i6400.d: New test.
844 * testsuite/gas/mips/elf_mach_i6500.d: New test.
845 * testsuite/gas/mips/mips.exp: Run the new tests.
847 2019-04-09 Matthew Fortune <matthew.fortune@mips.com>
849 * config/tc-mips.c (mips_set_options) <init_ase>: New field.
850 (file_mips_opts, mips_opts) <init_ase>: Initialize new field.
851 (file_mips_check_options): Propagate initial ASE settings.
852 (mips_after_parse_args, parse_code_option): Track the initial
853 ASE settings for a CPU.
854 (s_mipsset): Restore the initial ASE settings when reverting
856 * testsuite/gas/mips/elf_mach_p6600.d: New test.
857 * testsuite/gas/mips/mips.exp: Run the new test.
859 2019-04-12 John Darrington <john@darrington.wattle.id.au>
861 config/tc-s12z.h: Remove definition of macro TC_M68K
863 2019-04-01 John Darrington <john@darrington.wattle.id.au>
865 config/tc-s12z.c: Use bfd_boolean where appropriate.
867 2019-04-11 Max Filippov <jcmvbkbc@gmail.com>
869 * testsuite/gas/xtensa/loop-relax-2.d: New test definition.
870 * testsuite/gas/xtensa/loop-relax.d: New test definition.
871 * testsuite/gas/xtensa/loop-relax.s: New test source.
872 * testsuite/gas/xtensa/text-section-literals-1a.d: New test
874 * testsuite/gas/xtensa/text-section-literals-2.d: New test
876 * testsuite/gas/xtensa/text-section-literals-2.s: New test
878 * testsuite/gas/xtensa/text-section-literals-2a.d: New test
880 * testsuite/gas/xtensa/text-section-literals-3.d: New test
882 * testsuite/gas/xtensa/text-section-literals-3.s: New test
884 * testsuite/gas/xtensa/text-section-literals-4.d: New test
886 * testsuite/gas/xtensa/text-section-literals-4.s: New test
888 * testsuite/gas/xtensa/text-section-literals-4a.d: New test
891 2019-04-11 Max Filippov <jcmvbkbc@gmail.com>
893 * testsuite/gas/xtensa/all.exp: Remove all expect-based
894 tests and all explicit run_dump_test / run_list_test
895 invocations. Add run_dump_tests for all .d files in the
897 * testsuite/gas/xtensa/entry_align.d: New test definition.
898 * testsuite/gas/xtensa/entry_align.l: New test output.
899 * testsuite/gas/xtensa/entry_misalign.d: New test definition.
900 * testsuite/gas/xtensa/entry_misalign2.d: New test definition.
901 * testsuite/gas/xtensa/j_too_far.d: New test definition.
902 * testsuite/gas/xtensa/j_too_far.l: New test output.
903 * testsuite/gas/xtensa/loop_align.d: New test definition.
904 * testsuite/gas/xtensa/loop_misalign.d: New test definition.
905 * testsuite/gas/xtensa/trampoline-2.d: New test definition.
906 * testsuite/gas/xtensa/trampoline-2.l: Remove empty output.
907 * testsuite/gas/xtensa/xtensa-err.exp: Use positive logic.
909 2019-04-11 Max Filippov <jcmvbkbc@gmail.com>
911 * config/tc-xtensa.c (xtensa_literal_pseudo): Drop code that has
913 (get_literal_pool_location): Only search for the literal pool
914 when auto litpools is used, otherwise take one recorded in the
915 tc_segment_info_data.
916 (xtensa_assign_litpool_addresses): New function.
917 (xtensa_move_literals): Don't duplicate 'literal pool location
918 required...' error message. Call xtensa_assign_litpool_addresses.
920 2019-04-11 Max Filippov <jcmvbkbc@gmail.com>
922 * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration.
923 (xtensa_mark_literal_pool_location): Don't add fill frag to literal
924 section that records literal pool location.
925 (md_begin): Call xtensa_mark_literal_pool_location when text
926 section literals or auto litpools are used.
927 (xtensa_elf_section_change_hook): Call
928 xtensa_mark_literal_pool_location when text section literals or
929 auto litpools are used, there's no literal pool location defined
930 for the current section and it's not .init or .fini.
931 * testsuite/gas/xtensa/auto-litpools-first1.d: Fix up addresses.
932 * testsuite/gas/xtensa/auto-litpools-first2.d: Likewise.
933 * testsuite/gas/xtensa/auto-litpools.d: Likewise.
935 2019-04-11 Sudakshina Das <sudi.das@arm.com>
937 * config/tc-aarch64.c (process_omitted_operand): Add case for
939 (parse_operands): Likewise.
940 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Update tests.
941 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
942 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
943 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
945 2019-04-11 Sudakshina Das <sudi.das@arm.com>
947 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for ldgm and stgm.
948 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
949 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
950 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
952 2019-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
954 * config/tc-i386.c (need_plt32_p) [TE_SOLARIS]: Return FALSE.
955 * testsuite/gas/i386/solaris/solaris.exp: New driver.
956 * testsuite/gas/i386/solaris/reloc64.d,
957 testsuite/gas/i386/solaris/x86-64-jump.d,
958 testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d,
959 testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d,
960 testsuite/gas/i386/solaris/x86-64-nop-3.d,
961 testsuite/gas/i386/solaris/x86-64-nop-4.d,
962 testsuite/gas/i386/solaris/x86-64-nop-5.d,
963 testsuite/gas/i386/solaris/x86-64-relax-2.d,
964 testsuite/gas/i386/solaris/x86-64-relax-3.d: New tests.
965 * testsuite/gas/i386/reloc64.d,
966 testsuite/gas/i386/x86-64-jump.d,
967 testsuite/gas/i386/x86-64-mpx-branch-1.d,
968 testsuite/gas/i386/x86-64-mpx-branch-2.d,
969 testsuite/gas/i386/x86-64-nop-3.d,
970 testsuite/gas/i386/x86-64-nop-4.d,
971 testsuite/gas/i386/x86-64-nop-5.d,
972 testsuite/gas/i386/x86-64-relax-2.d,
973 testsuite/gas/i386/x86-64-relax-3.d: Skip on *-*-solaris*.
975 2019-04-10 Alan Modra <amodra@gmail.com>
977 * config/te-cloudabi.h: New file.
978 * config/tc-aarch64.c (aarch64_after_parse_args): Use TE_CLOUDABI
979 rather than TARGET_OS to select cloudabi.
980 * config/tc-i386.h (ELF_TARGET_FORMAT64): Define for TE_CLOUDABI.
981 * configure.tgt (*-*-cloudabi*): Set em=cloudabi.
983 2019-04-09 Robert Suchanek <robert.suchanek@mips.com>
985 * testsuite/gas/mips/mips.exp: Run hwr-names test.
986 * testsuite/gas/mips/hwr-names.s: Add test cases for RDHWR with
988 * testsuite/gas/mips/mipsr6@hwr-names.d: New file.
990 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
992 * config/tc-i386.c (output_insn): Support
993 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
994 * testsuite/gas/i386/property-2.s: Add AVX512_BF16 test.
995 * testsuite/gas/i386/property-2.d: Updated.
996 * testsuite/gas/i386/x86-64-property-2.d: Likewise.
998 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1000 * configure.tgt: Remove i386-*-kaos* and i386-*-chaos targets.
1001 * testsuite/gas/i386/i386.exp: Remove *-*-caos* and "*-*-kaos*
1004 2019-04-05 H.J. Lu <hongjiu.lu@intel.com>
1006 * testsuite/gas/i386/i386.exp: Run -mx86-used-note=yes tests.
1007 * testsuite/gas/i386/property-2.d: New file.
1008 * testsuite/gas/i386/property-2.s: Likewise.
1009 * testsuite/gas/i386/x86-64-property-2.d: Likewise.
1011 2019-04-05 Xuepeng Guo <xuepeng.guo@intel.com>
1013 * config/tc-i386.c (cpu_arch): Add .avx512_bf16.
1014 (cpu_noarch): Add noavx512_bf16.
1015 * doc/c-i386.texi: Document avx512_bf16.
1016 * testsuite/gas/i386/avx512_bf16.d: New file.
1017 * testsuite/gas/i386/avx512_bf16.s: Likewise.
1018 * testsuite/gas/i386/avx512_bf16_vl-inval.l: Likewise.
1019 * testsuite/gas/i386/avx512_bf16_vl-inval.s: Likewise.
1020 * testsuite/gas/i386/avx512_bf16_vl.d: Likewise.
1021 * testsuite/gas/i386/avx512_bf16_vl.s: Likewise.
1022 * testsuite/gas/i386/x86-64-avx512_bf16.d: Likewise.
1023 * testsuite/gas/i386/x86-64-avx512_bf16.s: Likewise.
1024 * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.l: Likesie.
1025 * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.s: Likewise.
1026 * testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Likewise.
1027 * testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Likewise.
1028 * testsuite/gas/i386/i386.exp: Add BF16 related tests.
1030 2019-04-05 Alan Modra <amodra@gmail.com>
1032 * testsuite/gas/ppc/bc.s,
1033 * testsuite/gas/ppc/bcat.d,
1034 * testsuite/gas/ppc/bcaterr.d,
1035 * testsuite/gas/ppc/bcaterr.l,
1036 * testsuite/gas/ppc/bcy.d,
1037 * testsuite/gas/ppc/bcyerr.d,
1038 * testsuite/gas/ppc/bcyerr.l: New tests.
1039 * testsuite/gas/ppc/ppc.exp: Run them.
1041 2019-04-05 Alan Modra <amodra@gmail.com>
1043 * testsuite/gas/ppc/476.d: Remove trailing spaces.
1044 * testsuite/gas/ppc/a2.d: Likewise.
1045 * testsuite/gas/ppc/booke.d: Likewise.
1046 * testsuite/gas/ppc/booke_xcoff.d: Likewise.
1047 * testsuite/gas/ppc/e500.d: Likewise.
1048 * testsuite/gas/ppc/e500mc.d: Likewise.
1049 * testsuite/gas/ppc/e6500.d: Likewise.
1050 * testsuite/gas/ppc/htm.d: Likewise.
1051 * testsuite/gas/ppc/power6.d: Likewise.
1052 * testsuite/gas/ppc/power8.d: Likewise.
1053 * testsuite/gas/ppc/power9.d: Likewise.
1054 * testsuite/gas/ppc/vle.d: Likewise.
1056 2019-04-04 Peter Bergner <bergner@linux.ibm.com>
1059 * testsuite/gas/ppc/power8.s: (bdnztar, bdnztarl, bdztar, bdztarl,
1060 btar, btarl, bdnztar-, bdnztarl-, bdnztar+, bdnztarl+, bdztar-,
1061 bdztarl-, bdztar+, bdztarl+, bgetar, bnltar, bgetarl, bnltarl,
1062 bletar, bngtar, bletarl, bngtarl, bnetar, bnetarl, bnstar, bnutar,
1063 bnstarl, bnutarl, bgetar-, bnltar-, bgetarl-, bnltarl-, bletar-,
1064 bngtar-, bletarl-, bngtarl-, bnetar-, bnetarl-, bnstar-, bnutar-,
1065 bnstarl-, bnutarl-, bgetar+, bnltar+, bgetarl+, bnltarl+, bletar+,
1066 bngtar+, bletarl+, bngtarl+, bnetar+, bnetarl+, bnstar+, bnutar+,
1067 bnstarl+, bnutarl+, blttar, blttarl, bgttar, bgttarl, beqtar,
1068 beqtarl, bsotar, buntar, bsotarl, buntarl, blttar-, blttarl-,
1069 bgttar-, bgttarl-, beqtar-, beqtarl-, bsotar-, buntar-, bsotarl-,
1070 buntarl-, blttar+, blttarl+, bgttar+, bgttarl+, beqtar+, beqtarl+,
1071 bsotar+, buntar+, bsotarl+, buntarl+, bdnzftar, bdnzftarl, bdzftar,
1072 bdzftarl, bftar, bftarl, bftar-, bftarl-, bftar+, bftarl+, bdnzttar,
1073 bdnzttarl, bdzttar, bdzttarl, bttar, bttarl, bttar-, bttarl-, bttar+,
1074 bttarl+): Add tests of extended mnemonics.
1075 * testsuite/gas/ppc/power8.d: Likewise. Update previous bctar tests
1076 to expect new extended mnemonics.
1077 * testsuite/gas/ppc/a2.s: <bc, bc-, bc+, bcl, bcl-, bcl+>: Update test
1078 to not use illegal BO value. Use a more convenient BI value.
1079 * testsuite/gas/ppc/a2.d: Update tests for new expect output.
1081 2019-04-03 Max Filippov <jcmvbkbc@gmail.com>
1083 * config/tc-xtensa.c (convert_frag_immed): Drop
1084 convert_frag_immed_finish_loop invocation.
1085 (convert_frag_immed_finish_loop): Drop declaration and
1087 * config/xtensa-relax.c (widen_spec_list): Replace loop
1088 widening that uses addi/addmi with widening that uses l32r
1091 2019-04-01 Andre Vieira <andre.simoesdiasvieira@arm.com>
1093 * config/tc-arm.c (arm_ext_table): New struct type.
1094 (arm_arch_option_table): Add new 'arm_ext_table' field.
1095 (ARM_EXT,ARM_ADD,ARM_REMOVE, ALL_FP): New macros.
1096 (armv5te_ext_table, armv7ve_ext_table, armv7a_ext_table,
1097 armv7r_ext_table, armv7em_ext_table, armv8a_ext_table,
1098 armv81a_ext_table, armv82a_ext_table, armv84a_ext_table,
1099 armv85a_ext_table, armv8m_main_ext_table,
1100 armv8r_ext_table): New architecture extension tables.
1101 (ARM_ARCH_OPT): Add new default field.
1102 (ARM_ARCH_OPT2): New macro.
1103 (arm_archs): Extend some architectures with the new architecture
1104 extension tables mentioned above.
1105 (arm_extensions): Add DEPRECATED comment with instructions to
1107 (arm_parse_extension): Change to use new extension tables.
1108 (arm_parse_cpu): Don't change existing behavior.
1109 (arm_parse_arch): Change to use new extension tables.
1110 * doc/c-arm.texi: Document new architecture extensions.
1111 * testsuite/gas/arm/attr-mfpu-neon-fp16.d: Change test to use new
1112 extension option rather than -mfpu and change expected behaviour to
1114 * testsuite/gas/arm/armv8-2-fp16-scalar-bad-ext.d: New.
1115 * testsuite/gas/arm/armv8-2-fp16-scalar-ext.d: New.
1116 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb-ext.d: New.
1117 * testsuite/gas/arm/armv8-2-fp16-simd-ext.d: New.
1118 * testsuite/gas/arm/armv8-2-fp16-simd-thumb-ext.d: New.
1119 * testsuite/gas/arm/armv8-2-fp16-simd-warning-ext.d: New.
1120 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb-ext.d: New.
1121 * testsuite/gas/arm/armv8_2+rdma-ext.d: New.
1122 * testsuite/gas/arm/armv8_2-a-fp16-thumb2-ext.d: New.
1123 * testsuite/gas/arm/armv8_2-a-fp16_ext.d: New.
1124 * testsuite/gas/arm/armv8_3-a-fp-bad-ext.d: New.
1125 * testsuite/gas/arm/armv8_3-a-fp-ext.d: New.
1126 * testsuite/gas/arm/armv8_3-a-fp16-ext.d: New.
1127 * testsuite/gas/arm/armv8_3-a-simd-bad-ext.d: New.
1128 * testsuite/gas/arm/armv8_4-a-fp16-ext.d: New.
1129 * testsuite/gas/arm/armv8m.main+fp.d: New.
1130 * testsuite/gas/arm/armv8m.main+fp.dp.d: New.
1131 * testsuite/gas/arm/attr-ext-fpv5-d16.d: New.
1132 * testsuite/gas/arm/attr-ext-fpv5.d: New.
1133 * testsuite/gas/arm/attr-ext-idiv.d: New.
1134 * testsuite/gas/arm/attr-ext-mp.d: New.
1135 * testsuite/gas/arm/attr-ext-neon-fp16.d: New.
1136 * testsuite/gas/arm/attr-ext-neon-vfpv3.d: New.
1137 * testsuite/gas/arm/attr-ext-neon-vfpv4.d: New.
1138 * testsuite/gas/arm/attr-ext-sec.d: New.
1139 * testsuite/gas/arm/attr-ext-vfpv3-d16-fp16.d: New.
1140 * testsuite/gas/arm/attr-ext-vfpv3-d16.d: New.
1141 * testsuite/gas/arm/attr-ext-vfpv3-fp16.d: New.
1142 * testsuite/gas/arm/attr-ext-vfpv3.d: New.
1143 * testsuite/gas/arm/attr-ext-vfpv3xd-fp.d: New.
1144 * testsuite/gas/arm/attr-ext-vfpv3xd.d: New.
1145 * testsuite/gas/arm/attr-ext-vfpv4-d16.d: New.
1146 * testsuite/gas/arm/attr-ext-vfpv4-sp-d16.d: New.
1147 * testsuite/gas/arm/attr-ext-vfpv4.d: New.
1148 * testsuite/gas/arm/dotprod-mandatory-ext.d: New.
1149 * testsuite/gas/arm/fpv5-d16.s: New.
1150 * testsuite/gas/arm/fpv5-sp-d16.s: New.
1152 2019-03-28 Alan Modra <amodra@gmail.com>
1155 * testsuite/gas/ppc/476.d: Update mtfsb*.
1156 * testsuite/gas/ppc/a2.d: Likewise.
1158 2019-03-21 Alan Modra <amodra@gmail.com>
1160 * emul.h (struct emulation): Delete strip_underscore.
1161 * emul-target.h (emul_strip_underscore): Don't define.
1162 (emul_struct_name): Update initialization.
1164 2019-03-21 Alan Modra <amodra@gmail.com>
1166 * config/tc-d10v.c (md_apply_fix): Apply BFD_RELOC_8.
1167 * config/tc-pdp11.c (md_apply_fix): Likewise.
1168 * config/tc-d30v.c (md_apply_fix): Don't emit errors for BFD_RELOC_8,
1169 BFD_RELOC_16, and BFD_RELOC_64.
1170 * testsuite/gas/all/gas.exp: Move target exclusions for forward
1171 test, but not cr16, to..
1172 * testsuite/gas/all/forward.d: ..here, with explanation. Remove
1173 d10v, d30v, and pdp11 xfails.
1175 2019-03-19 H.J. Lu <hongjiu.lu@intel.com>
1177 * config/tc-i386.c (optimize_encoding): Don't check AVX for
1178 EVEX vector load/store optimization. Check both operands for
1179 ZMM register. Update EVEX vector load/store opcode check.
1180 Choose EVEX Disp8 over VEX Disp32.
1181 * testsuite/gas/i386/optimize-1.d: Updated.
1182 * testsuite/gas/i386/optimize-1a.d: Likewise.
1183 * testsuite/gas/i386/optimize-2.d: Likewise.
1184 * testsuite/gas/i386/optimize-4.d: Likewise.
1185 * testsuite/gas/i386/optimize-5.d: Likewise.
1186 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1187 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
1188 * testsuite/gas/i386/x86-64-optimize-2b.d: Likewise.
1189 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
1190 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
1191 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
1192 * testsuite/gas/i386/optimize-1.s: Add ZMM register load
1194 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
1196 2019-03-19 H.J. Lu <hongjiu.lu@intel.com>
1199 * config/tc-i386.c (optimize_encoding): Check only
1200 cpu_arch_flags.bitfield.cpuavx512vl.
1201 * testsuite/gas/i386/i386.exp: Run x86-64-optimize-2b.
1202 * testsuite/gas/i386/x86-64-optimize-2.d: Revert the last
1204 * testsuite/gas/i386/x86-64-optimize-2b.d: New file.
1205 * testsuite/gas/i386/x86-64-optimize-2b.s: Likewise.
1207 2019-03-19 H.J. Lu <hongjiu.lu@intel.com>
1210 * testsuite/gas/i386/i386.exp: Change optimize-6a, optimize-7,
1211 x86-64-optimize-7a and x86-64-optimize-8 tests to run_list_test.
1212 Remove optimize-6c and x86-64-optimize-7c tests.
1213 * testsuite/gas/i386/noavx-3.l: Updated.
1214 * testsuite/gas/i386/noavx-4.d: Likewise.
1215 * testsuite/gas/i386/noavx-5.d: Likewise.
1216 * testsuite/gas/i386/noavx-3.s: Add AVX512F tests.
1217 * testsuite/gas/i386/noavx-4.s: Remove AVX512F tests.
1218 * testsuite/gas/i386/nosse-5.s: Likewise.
1219 * testsuite/gas/i386/optimize-6a.d: Removed.
1220 * testsuite/gas/i386/optimize-6c.d: Likewise.
1221 * testsuite/gas/i386/optimize-7.d: Likewise.
1222 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
1223 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
1224 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
1225 * testsuite/gas/i386/optimize-6a.l: New file.
1226 * testsuite/gas/i386/optimize-6a.s: Likewise.
1227 * testsuite/gas/i386/optimize-7.l: Likewise.
1228 * testsuite/gas/i386/x86-64-optimize-7a.l: Likewise.
1229 * testsuite/gas/i386/x86-64-optimize-7a.s: Likewise.
1230 * testsuite/gas/i386/x86-64-optimize-8.l: Likewise.
1232 2019-03-18 Alan Modra <amodra@gmail.com>
1234 * config/m68k-parse.y (yylex): Use temp_ilp and restore_ilp.
1235 * as.c (macro_expr): Likewise.
1236 * macro.c (buffer_and_nest): Likewise.
1237 * read.c (temp_ilp): Remove FIXME.
1239 2019-03-18 H.J. Lu <hongjiu.lu@intel.com>
1241 * testsuite/gas/i386/att-regs.d: Pass -O0 to assembler.
1242 * testsuite/gas/i386/avx512bw-intel.d: Likewise.
1243 * testsuite/gas/i386/avx512bw.d: Likewise.
1244 * testsuite/gas/i386/avx512f-intel.d: Likewise.
1245 * testsuite/gas/i386/avx512f.d: Likewise.
1246 * testsuite/gas/i386/disp32.d: Likewise.
1247 * testsuite/gas/i386/intel-regs.d: Likewise.
1248 * testsuite/gas/i386/pseudos.d: Likewise.
1249 * testsuite/gas/i386/x86-64-disp32.d: Likewise.
1250 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1252 2019-03-18 H.J. Lu <hongjiu.lu@intel.com>
1255 * config/tc-i386.c (optimize_encoding): Encode 128-bit and
1256 256-bit EVEX vector register load/store instructions as VEX
1257 vector register load/store instructions for -O1.
1258 * doc/c-i386.texi: Update -O1 documentation.
1259 * testsuite/gas/i386/i386.exp: Run PR gas/24348 tests.
1260 * testsuite/gas/i386/optimize-1.s: Add tests for EVEX vector
1261 load/store instructions.
1262 * testsuite/gas/i386/optimize-2.s: Likewise.
1263 * testsuite/gas/i386/optimize-3.s: Likewise.
1264 * testsuite/gas/i386/optimize-5.s: Likewise.
1265 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
1266 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
1267 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
1268 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
1269 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
1270 * testsuite/gas/i386/optimize-1.d: Updated.
1271 * testsuite/gas/i386/optimize-2.d: Likewise.
1272 * testsuite/gas/i386/optimize-3.d: Likewise.
1273 * testsuite/gas/i386/optimize-4.d: Likewise.
1274 * testsuite/gas/i386/optimize-5.d: Likewise.
1275 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1276 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
1277 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
1278 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
1279 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
1280 * testsuite/gas/i386/optimize-7.d: New file.
1281 * testsuite/gas/i386/optimize-7.s: Likewise.
1282 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
1283 * testsuite/gas/i386/x86-64-optimize-8.s: Likewise.
1285 2019-03-18 H.J. Lu <hongjiu.lu@intel.com>
1287 * config/tc-i386.c (optimize_encoding): Encode 256-bit/512-bit
1288 VEX/EVEX vector register clearing instructions with 128-bit VEX
1289 vector register clearing instructions at -O1.
1290 * doc/c-i386.texi: Update -O1 and -O2 documentation.
1291 * testsuite/gas/i386/i386.exp: Run optimize-1a and
1293 * testsuite/gas/i386/optimize-1a.d: New file.
1294 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
1296 2019-03-17 H.J. Lu <hongjiu.lu@intel.com>
1299 * config/tc-i386.c: Include <limits.h> if it exists and try
1300 including <sys/param.h> if we have it.
1301 (INT_MAX): Define if not defined.
1302 (md_parse_option): Set optimize to INT_MAX for -Os.
1303 * testsuite/gas/i386/optimize-2.s: Add a test.
1304 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
1305 * testsuite/gas/i386/optimize-2.d: Updated.
1306 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
1308 2019-03-17 H.J. Lu <hongjiu.lu@intel.com>
1311 * config/tc-i386.c (optimize_encoding): Encode 512-bit EVEX
1312 with 128-bit VEX encoding only when AVX is enabled and with
1313 128-bit EVEX encoding only when AVX512VL is enabled.
1314 * testsuite/gas/i386/i386.exp: Run PR gas/24352 tests.
1315 * testsuite/gas/i386/optimize-6.s: New file.
1316 * testsuite/gas/i386/optimize-6a.d: Likewise.
1317 * testsuite/gas/i386/optimize-6b.d: Likewise.
1318 * testsuite/gas/i386/optimize-6c.d: Likewise.
1319 * testsuite/gas/i386/x86-64-optimize-7.s: Likewise.
1320 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
1321 * testsuite/gas/i386/x86-64-optimize-7b.d: Likewise.
1322 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
1323 * testsuite/gas/i386/x86-64-optimize-2.d: Updated.
1325 2019-03-15 Li Hao <li.hao296@zte.com.cn>
1328 * config/tc-i386.c (parse_insn): Check mnemp before using it to
1329 determine if a suffix can be trimmed.
1331 2019-03-13 Christian Eggers <ceggers@gmx.de>
1333 * dwarf2dbg.c (out_set_addr): Align relocation within .debug_line.
1335 2019-03-13 Christian Eggers <ceggers@gmx.de>
1337 * dwarf2dbg.c (out_debug_line): Pad size of .debug_line section.
1339 2019-03-13 Christian Eggers <ceggers@gmx.de>
1341 * dwarf2dbg.c (out_debug_str): Use octets for .debug_string pointers.
1343 2019-03-13 Christian Eggers <ceggers@gmx.de>
1345 * dwarf2dbg.c (out_debug_line): Use octets for .debug_line prologue.
1347 2019-03-13 Christian Eggers <ceggers@gmx.de>
1349 * dwarf2dbg.c (out_debug_line): Use octets for dwarf2 headers.
1350 (out_debug_aranges, out_debug_info): Likewise.
1352 2019-03-13 Christian Eggers <ceggers@gmx.de>
1354 * symbols.h (symbol_temp_new_now_octets): Declare.
1355 (symbol_set_value_now_octets, symbol_octets_p): Declare.
1356 * symbols.c (struct symbol_flags): New member sy_octets.
1357 (symbol_temp_new_now_octets): New function.
1358 (resolve_symbol_value): Return octets instead of bytes if
1360 (symbol_set_value_now_octets): New function.
1361 (symbol_octets_p): New function.
1363 2019-03-13 Christian Eggers <ceggers@gmx.de>
1365 * dwarf2dbg.c (dwarf2_emit_insn): Fix calculation of line info offset.
1367 2019-03-12 Andreas Krebbel <krebbel@linux.ibm.com>
1369 * testsuite/gas/s390/zarch-arch13.s: Adjust testcase to optable changes.
1370 * testsuite/gas/s390/zarch-arch13.d: Likewise.
1372 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
1374 * testsuite/gas/aarch64/dotproduct.d: Use multiple "as" lines.
1375 * testsuite/gas/aarch64/dotproduct_armv8_4.d: Remove.
1376 * testsuite/gas/aarch64/dotproduct_armv8_4.s: Remove.
1377 * testsuite/gas/aarch64/illegal-dotproduct.d: Use multiple "as"
1379 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: Remove.
1380 * testsuite/gas/aarch64/ldst-rcpc.d: Use multiple "as" lines.
1382 2019-02-24 Alan Modra <amodra@gmail.com>
1384 * config/tc-ppc.c (parse_tls_arg): Wrap in #ifdef OBJ_ELF.
1386 2019-02-24 Alan Modra <amodra@gmail.com>
1389 * config/obj-aout.c (obj_aout_frob_file_before_fix): Write to end
1390 of section to ensure file contents cover aligned section size.
1392 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1394 * config/tc-arm.c (arm_cpus): Add neoverse-n1.
1395 * doc/c-arm.texi (-mcpu): Document neoverse-n1 value.
1397 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1399 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-e1.
1400 * doc/c-aarch64.texi (-mcpu): Document neoverse-e1 value.
1402 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1404 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n1.
1405 * doc/c-aarch64.texi (-mcpu): Document neoverse-n1 value.
1407 2019-02-19 Paul Hua <paul.hua.gm@gmail.com>
1409 * NEWS: Mention -m[no-]fix-loongson3-llsc.
1410 * configure.ac: Add --enable-mips-fix-loongson3-llsc.
1411 Define DEFAULT_MIPS_FIX_LOONGSON3_LLSC.
1412 * config.in: Regenerated.
1413 * configure: Likewise.
1414 * config/tc-mips.c (sync_insn, mips_fix_loongson3_llsc):
1416 (options): New OPTION_FIX_LOONGSON3_LLSC,
1417 OPTION_NO_FIX_LOONGSON3_LLSC.
1418 (md_longopts): Add -m[no-]fix-loongson3-llsc.
1419 (md_begin): Initialize sync insn.
1420 (fix_loongson3_llsc): New.
1421 (append_insn): Call fix_loongson3_llsc.
1422 (md_parse_option): Handle OPTION_FIX_LOONGSON3_LLSC,
1423 OPTION_NO_FIX_LOONGSON3_LLSC.
1424 (md_show_usage): Display -m[no-]fix-loongson3-llsc.
1425 * doc/c-mips.texi: Document -m[no-]fix-loongson3-llsc,
1426 --enable-mips-fix-loongson3-llsc=[yes|no].
1428 2019-02-10 H.J. Lu <hongjiu.lu@intel.com>
1431 * frags.c (frag_var_init): Pass max_chars to TC_FRAG_INIT as
1433 * config/tc-aarch64.h (TC_FRAG_INIT): Add and pass max_bytes to
1435 * /config/tc-arm.h (TC_FRAG_INIT): And and pass max_bytes to
1437 * config/tc-avr.h (TC_FRAG_INIT): And and ignore max_bytes.
1438 * config/tc-ia64.h (TC_FRAG_INIT): Likewise.
1439 * config/tc-mmix.h (TC_FRAG_INIT): Likewise.
1440 * config/tc-nds32.h (TC_FRAG_INIT): Likewise.
1441 * config/tc-ns32k.h (TC_FRAG_INIT): Likewise.
1442 * config/tc-rl78.h (TC_FRAG_INIT): Likewise.
1443 * config/tc-rx.h (TC_FRAG_INIT): Likewise.
1444 * config/tc-score.h (TC_FRAG_INIT): Likewise.
1445 * config/tc-tic54x.h (TC_FRAG_INIT): Likewise.
1446 * config/tc-tic6x.h (TC_FRAG_INIT): Likewise.
1447 * config/tc-xtensa.h (TC_FRAG_INIT): Likewise.
1448 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Set to
1449 (alignment ? ((1 << alignment) - 1) : 1)
1450 (i386_tc_frag_data): Add max_bytes.
1451 (TC_FRAG_INIT): Add and track max_bytes.
1452 (HANDLE_ALIGN): Replace MAX_MEM_FOR_RS_ALIGN_CODE with
1453 fragP->tc_frag_data.max_bytes.
1454 * doc/internals.texi: Update TC_FRAG_TYPE with max_bytes.
1456 2019-02-08 Jim Wilson <jimw@sifive.com>
1458 * config/tc-riscv.c (validate_riscv_insn) <'C'>: Add 'z' support.
1459 (riscv_ip) <'C'>: Add 'z' support.
1461 2019-02-07 Tamar Christina <tamar.christina@arm.com>
1463 * config/tc-arm.c (insns): Redefine THUMB_VARIANT and ARM_VARIANT for
1465 * testsuite/gas/arm/armv8a-automatic-hlt.d: Update TAGs
1466 * testsuite/gas/arm/hlt.d: New test.
1467 * testsuite/gas/arm/hlt.s: New test.
1469 2019-02-07 Tamar Christina <tamar.christina@arm.com>
1471 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.d: New test.
1472 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.s: New test.
1474 2019-02-07 Tamar Christina <tamar.christina@arm.com>
1477 * testsuite/gas/aarch64/undefined_by_elem_sz_l.s: New test.
1478 * testsuite/gas/aarch64/undefined_by_elem_sz_l.d: New test.
1480 2019-02-07 Eric Botcazou <ebotcazou@adacore.com>
1482 * config/tc-visium.c (md_assemble) <mode_cad>: Align instruction on
1483 64-bit boundaries for the GR6.
1484 * testsuite/gas/visium/allinsn_gr6.s: Tweak.
1485 * testsuite/gas/visium/allinsn_gr6.d: Likewise.
1486 * testsuite/gas/visium/bra-1.d: New test.
1487 * testsuite/gas/visium/bra-1.s: Likewise.
1488 * testsuite/gas/visium/visium.exp: Run bra-1 test.
1490 2019-01-31 John Darrington <john@darrington.wattle.id.au>
1492 * config/tc-s12z.c (lex_imm): Add new argument exp_o.
1493 (emit_reloc): New function.
1494 (md_apply_fix): [BFD_RELOC_S12Z_OPR] Recognise that it
1495 can be either 2 bytes or 3 bytes long.
1496 * testsuite/gas/s12z/mov-imm-reloc.d: New file.
1497 * testsuite/gas/s12z/mov-imm-reloc.s: New file.
1498 * testsuite/gas/s12z/s12z.exp: Add them.
1500 2019-01-31 John Darrington <john@darrington.wattle.id.au>
1502 * config/tc-s12z.c (md_apply_fix): Fix incorrect limits.
1503 * testsuite/gas/s12z/pc-rel-bad.d: New file.
1504 * testsuite/gas/s12z/pc-rel-bad.l: New file.
1505 * testsuite/gas/s12z/pc-rel-bad.s: New file.
1506 * testsuite/gas/s12z/pc-rel-good.d: New file.
1507 * testsuite/gas/s12z/pc-rel-good.s: New file.
1508 * testsuite/gas/s12z/s12z.exp: Add them.
1510 2019-01-31 John Darrington <john@darrington.wattle.id.au>
1512 * config/tc-s12z.c (tfr): Emit warning if operands are the same.
1513 * testsuite/gas/s12z/exg.d: New test case.
1514 * testsuite/gas/s12z/exg.l: New file.
1516 2019-01-31 John Darrington <john@darrington.wattle.id.au>
1518 * config/tc-s12z.c (lex_opr): Add a parameter to indicate whether
1519 immediate mode operands should be permitted.
1520 * testsuite/s12z/imm-dest.d: New file.
1521 * testsuite/s12z/imm-dest.l: New file.
1522 * testsuite/s12z/imm-dest.s: New file.
1523 * testsuite/s12z/s12z.exp: Add them.
1525 2019-01-31 Andreas Krebbel <krebbel@linux.ibm.com>
1527 * config/tc-s390.c (s390_parse_cpu): New entry for arch13.
1528 * doc/c-s390.texi: Document arch13 march option.
1529 * testsuite/gas/s390/s390.exp: Run the arch13 related tests.
1530 * testsuite/gas/s390/zarch-arch13.d: New test.
1531 * testsuite/gas/s390/zarch-arch13.s: New test.
1532 * testsuite/gas/s390/zarch-z13.d: Expect the renamed mnemonics
1535 2019-01-31 Alan Modra <amodra@gmail.com>
1537 * config/tc-alpha.c (md_apply_fix): Correct range checks for
1538 BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BSR.
1539 * config/tc-arm.c (md_apply_fix): Use llabs rather than abs.
1540 * config/tc-csky.c (get_macro_reg_vals): Pass s to csky_show_error.
1542 2019-01-28 Max Filippov <jcmvbkbc@gmail.com>
1544 * config/tc-xtensa.c (md_apply_fix): Mark fixups for constant
1545 symbols as done in md_apply_fix.
1546 * testsuite/gas/all/forward.d: Don't XFAIL for xtensa.
1548 2019-01-28 Nick Clifton <nickc@redhat.com>
1550 * po/fr.po: Updated French translation.
1551 * po/ru.po: Updated Russian translation.
1553 2019-01-28 Alan Modra <amodra@gmail.com>
1555 * configure.ac (ac_checking): Set from bfd/development.sh
1556 development variable.
1557 * configure: Regenerate.
1559 2019-01-25 Sudakshina Das <sudi.das@arm.com>
1561 * config/tc-aarch64.c (warn_unpredictable_ldst): Exempt
1562 stg, st2g, stzg and stz2g from Xt == Xn with writeback warning.
1563 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Change tests for
1564 stg, stzg, st2g and stz2g.
1565 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
1566 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
1567 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
1569 2019-01-25 Sudakshina Das <sudi.das@arm.com>
1571 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for stzgm.
1572 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
1573 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
1574 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
1576 2019-01-25 Sudakshina Das <sudi.das@arm.com>
1577 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1579 * config/tc-aarch64.c (parse_address_main): Remove support for
1580 [base]! address expression.
1581 (parse_operands): Remove support for AARCH64_OPND_ADDR_SIMPLE_2.
1582 (warn_unpredictable_ldst): Remove support for ldstgv_indexed.
1583 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Remove tests for ldgv
1585 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
1586 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
1587 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
1589 2019-01-25 Wu Heng <wu.heng@zte.com.cn>
1592 * macro.c (getstring): Check array bound before accessing.
1594 2019-01-25 Alan Modra <amodra@gmail.com>
1598 * read.c (stringer): Delete assertion.
1600 2019-01-21 Nick Clifton <nickc@redhat.com>
1602 * po/uk.po: Updated Ukranian translation.
1604 2019-01-19 Nick Clifton <nickc@redhat.com>
1606 * config.in: Regenerate.
1607 * configure: Regenerate.
1608 * po/gas.pot: Regenerate.
1610 2018-06-24 Nick Clifton <nickc@redhat.com>
1612 2.32 branch created.
1614 2019-01-17 Tamar Christina <tamar.christina@arm.com>
1616 * testsuite/gas/arm/archv6t2-1-pe.d: New test.
1617 * testsuite/gas/arm/archv6t2-1.d: Skip pe.
1618 * testsuite/gas/arm/csdb.d: Skip pe.
1619 * testsuite/gas/arm/sb-thumb1-pe.d: New test.
1620 * testsuite/gas/arm/sb-thumb1.d: Skip pe.
1621 * testsuite/gas/arm/sb-thumb2-pe.d: New test.
1622 * testsuite/gas/arm/sb-thumb2.d: Skip pe.
1623 * testsuite/gas/arm/udf.d: Skip pe.
1625 2019-01-16 Kito Cheng <kito@andestech.com>
1627 * testsuite/gas/riscv/attribute-empty.d: New.
1629 2019-01-16 Kito Cheng <kito@andestech.com>
1630 Nelson Chu <nelson@andestech.com>
1632 * config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined.
1633 (riscv_set_options): Add `arch_attr` field.
1634 (riscv_opts): Set default value for arch_attr.
1635 (riscv_write_out_arch_attr): New.
1636 (riscv_set_public_attributes): Likewise.
1637 (riscv_md_end): Likewise.
1638 (riscv_convert_symbolic_attribute): Likewise.
1639 (s_riscv_attribute): Likewise.
1640 (explicit_arch_attr): Likewise.
1641 (riscv_pseudo_table): Add .attribute to the table.
1642 (options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR
1643 enumeration constants.
1644 (md_longopts): Add `march-attr' and `mno-arch-attr' options.
1645 (md_parse_option): Handle the new options.
1646 (md_show_usage): Document the `march-attr' option.
1647 * config/tc-riscv.h (md_end): Define as riscv_md_end
1648 (riscv_md_end): Declare.
1649 (CONVERT_SYMBOLIC_ATTRIBUTE): Define as
1650 riscv_convert_symbolic_attribute.
1651 (riscv_convert_symbolic_attribute): Declare.
1652 (start_assemble): Declare.
1653 * testsuite/gas/elf/elf.exp: Adjust test case for section2.e.
1654 * testsuite/gas/elf/section2.e-riscv: New.
1655 * testsuite/gas/riscv/attribute-01.d: New test
1656 * testsuite/gas/riscv/attribute-02.d: Likewise.
1657 * testsuite/gas/riscv/attribute-03.d: Likewise.
1658 * testsuite/gas/riscv/attribute-04.d: Likewise.
1659 * testsuite/gas/riscv/attribute-04.s: Likewise.
1660 * testsuite/gas/riscv/attribute-05.d: Likewise.
1661 * testsuite/gas/riscv/attribute-05.s: Likewise.
1662 * testsuite/gas/riscv/attribute-06.d: Likewise.
1663 * testsuite/gas/riscv/attribute-06.s: Likewise.
1664 * testsuite/gas/riscv/attribute-07.d: Likewise.
1665 * testsuite/gas/riscv/attribute-07.s: Likewise.
1666 * testsuite/gas/riscv/attribute-08.d: Likewise.
1667 * testsuite/gas/riscv/attribute-08.s: Likewise.
1668 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
1669 * testsuite/gas/riscv/attribute-unknown.s: Likewise.
1670 * testsuite/gas/riscv/empty.l: Likewise.
1671 * doc/c-riscv.texi (.attribute): Add documentation.
1672 * configure.ac (--enable-default-riscv-attribute): New options.
1673 * configure: Re-generate.
1674 * config.in: Re-generate.
1676 2019-01-16 John Darrington <john@darrington.wattle.id.au>
1678 * config/tc-s12z.c (lex_reg_name): Compare the length of the strings
1679 before the contents.
1680 * testsuite/gas/s12z/labels.d: New file.
1681 * testsuite/gas/s12z/labels.s: New file.
1682 * testsuite/gas/s12z/s12z.exp: Add them.
1683 * config/tc-s12z.c (tfr): Change as_bad to as_warn.
1684 Also fix message typo and semantics.
1685 * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
1687 * testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead
1690 2019-01-14 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1692 * config/tc-arm.c (arm_ext_v6k_v6t2): Define.
1693 (insns) [ARM_VARIANT]: Modified.
1694 (insns) [THUMB_VARIANT]: To implement few ARMv6K instructions
1696 * testsuite/gas/arm/archv6t2-1.d: New test.
1697 * testsuite/gas/arm/archv6t2-1.s: Likewise.
1698 * testsuite/gas/arm/archv6t2-2.d: Likewise.
1700 2019-01-11 Alan Modra <amodra@gmail.com>
1703 * testsuite/gas/m68hc11/lbranch-dwarf2.d: Adjust for PR23963 change.
1704 * testsuite/gas/m68hc11/opers12-dwarf2.d: Likewise.
1706 2019-01-10 Nick Clifton <nickc@redhat.com>
1709 * testsuite/gas/mips/mips16-branch-absolute-1.d: Adjust for the
1710 fact that control characters are now displayed as escape
1712 * testsuite/gas/mips/mips16-e.d: Likewise.
1713 * testsuite/gas/mips/mips16-pcrel-0.d: Likewise.
1714 * testsuite/gas/mips/mips16-pcrel-1.d: Likewise.
1715 * testsuite/gas/mips/mips16-pcrel-delay-0.d: Likewise.
1716 * testsuite/gas/mips/mips16-pcrel-delay-1.d: Likewise.
1717 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
1718 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
1719 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
1720 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
1721 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: Likewise.
1722 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: Likewise.
1723 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: Likewise.
1724 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: Likewise.
1725 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: Likewise.
1726 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: Likewise.
1727 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d:
1729 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d:
1731 * testsuite/gas/mips/mipsel16-e.d: Likewise.
1732 * testsuite/gas/mips/mipsr6@msa.d: Likewise.
1733 * testsuite/gas/mips/mipsr6@relax-swap3.d: Likewise.
1734 * testsuite/gas/mips/r6-64-n32.d: Likewise.
1735 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1736 * testsuite/gas/mips/r6-n32.d: Likewise.
1737 * testsuite/gas/mips/r6-n64.d: Likewise.
1738 * testsuite/gas/mips/r6.d: Likewise.
1739 * testsuite/gas/mips/tmips16-e.d: Likewise.
1740 * testsuite/gas/mips/tmipsel16-e.d: Likewise.
1741 * testsuite/gas/mn10300/relax.d: Likewise.
1743 2019-01-09 John Darrington <john@darrington.wattle.id.au>
1745 * testsuite/gas/s12z/jsr.s: New case.
1746 * testsuite/gas/s12z/jsr.d: New case.
1748 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
1750 * configure: Regenerate.
1752 2019-01-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1754 * config/tc-aarch64.c (aarch64_cpus): Add ares.
1755 * doc/c-aarch64.texi (-mcpu): Document ares value.
1757 2019-01-08 Alan Modra <amodra@gmail.com>
1759 * testsuite/gas/rx/rx.exp: Create generated test source in
1761 * testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d,
1762 * testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d,
1763 * testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d,
1764 * testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d,
1765 * testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d,
1766 * testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d,
1767 * testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d,
1768 * testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d,
1769 * testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d,
1770 * testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d,
1771 * testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d,
1772 * testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d,
1773 * testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d,
1774 * testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d,
1775 * testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d,
1776 * testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d,
1777 * testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d,
1778 * testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d,
1779 * testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d,
1780 * testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d,
1781 * testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d,
1782 * testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d,
1783 * testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d,
1784 * testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d,
1785 * testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d,
1786 * testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d,
1787 * testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d,
1788 * testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d,
1789 * testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d,
1790 * testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d,
1791 * testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d,
1792 * testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d,
1793 * testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d,
1794 * testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d,
1795 * testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d,
1796 * testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d,
1797 * testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d,
1798 * testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d,
1799 * testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d,
1800 * testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d,
1801 * testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d,
1802 * testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d,
1803 * testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d,
1804 * testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d,
1805 * testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d,
1806 * testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d,
1807 * testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d,
1808 * testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d,
1809 * testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d,
1810 * testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d,
1811 * testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d,
1812 * testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d,
1813 * testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d,
1814 * testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d,
1815 * testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d,
1816 * testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d,
1817 * testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d,
1818 * testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d,
1819 * testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d,
1820 * testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d,
1821 * testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d,
1822 * testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d,
1823 * testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d,
1824 * testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d,
1825 * testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d,
1826 * testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d,
1827 * testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d,
1828 * testsuite/gas/rx/xor.d: Add #source line.
1830 2019-01-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1832 * config/tc-arm.c (arm_cpus): Add ares.
1833 * doc/c-arm.texi (-mcpu): Document ares value.
1835 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1837 * config/rx-defs.h (rx_cpu_types): Add type RXV3 and RXV3FPU.
1838 (rx_bfield): Add prototype.
1839 (rx_post): Likewise.
1840 * config/rx-parse.y: Add v3 instructions and Double FPU registers.
1843 (rx_check_v3): New. check v3 type.
1844 (rx_check_dfpu): New. check have double support.
1845 (double_condition_table): New. dcmp<cond> contiditon.
1846 (check_condition): Multiple condition support.
1847 (rx_lex): RXv3 instructions support.
1848 Add parse dcmp<cond> instruction and Double FPU registers.
1849 (immediate): Disable optimize in dmov #imm case.
1850 (displacement): Add double displacement in dmov instraction.
1851 * config/tc-rx.c (rx_use_conventional_section_names):
1852 Invert default value in rx-*-linux target.
1853 (cpu_type): Add additional ELF flags.
1854 (cpu_type_list): Add RXv3.
1855 (md_parse_option): Refer elf_flags from cpu_type_list.
1856 (md_show_usage): Add rxv3 and rxv3-dfpu.
1857 (rx_bytesT): Add post byte.
1858 (rx_bfield): New. generate bfmov / bfmovz "imm" field.
1859 (rx_post): New. Set instruction post byte.
1860 (md_assemble): Add post byte.
1861 doc/c-rx.texi: Add cpu types.
1862 * testsuite/gas/rx/Xtod.d: New.
1863 * testsuite/gas/rx/Xtod.sm: New.
1864 * testsuite/gas/rx/bfmov.d: New.
1865 * testsuite/gas/rx/bfmov.sm: New.
1866 * testsuite/gas/rx/dabs.d: New.
1867 * testsuite/gas/rx/dabs.sm: New.
1868 * testsuite/gas/rx/dadd.d: New.
1869 * testsuite/gas/rx/dadd.sm: New.
1870 * testsuite/gas/rx/dcmp.d: New.
1871 * testsuite/gas/rx/dcmp.sm: New.
1872 * testsuite/gas/rx/ddiv.d: New.
1873 * testsuite/gas/rx/ddiv.sm: New.
1874 * testsuite/gas/rx/dmov.d: New.
1875 * testsuite/gas/rx/dmov.sm: New.
1876 * testsuite/gas/rx/dmul.d: New.
1877 * testsuite/gas/rx/dmul.sm: New.
1878 * testsuite/gas/rx/dneg.d: New.
1879 * testsuite/gas/rx/dneg.sm: New.
1880 * testsuite/gas/rx/dpopm.d: New.
1881 * testsuite/gas/rx/dpopm.sm: New.
1882 * testsuite/gas/rx/dpushm.d: New.
1883 * testsuite/gas/rx/dpushm.sm: New.
1884 * testsuite/gas/rx/dround.d: New.
1885 * testsuite/gas/rx/dround.sm: New.
1886 * testsuite/gas/rx/dsqrt.d: New.
1887 * testsuite/gas/rx/dsqrt.sm: New.
1888 * testsuite/gas/rx/dsub.d: New.
1889 * testsuite/gas/rx/dsub.sm: New.
1890 * testsuite/gas/rx/dtoX.d: New.
1891 * testsuite/gas/rx/dtoX.sm: New.
1892 * testsuite/gas/rx/macros.inc: Add double FPU registers.
1893 * testsuite/gas/rx/mvfdc.d: New.
1894 * testsuite/gas/rx/mvfdc.sm: New.
1895 * testsuite/gas/rx/mvfdr.d: New.
1896 * testsuite/gas/rx/mvfdr.sm: New.
1897 * testsuite/gas/rx/mvtdc.d: New.
1898 * testsuite/gas/rx/mvtdc.sm: New.
1899 * testsuite/gas/rx/rstr.d: New.
1900 * testsuite/gas/rx/rstr.sm: New.
1901 * testsuite/gas/rx/rx.exp: Use rxv3-dfpu option.
1902 * testsuite/gas/rx/save.d: New.
1903 * testsuite/gas/rx/save.sm: New.
1904 * testsuite/gas/rx/xor.d: New.
1905 * testsuite/gas/rx/xor.sm: Add pattern.
1907 2019-01-04 Wu Heng <wu.heng@zte.com.cn>
1910 * macro.c (get_any_string): Check for end of input whilst scanning
1913 2019-01-04 Wu Heng <wu.heng@zte.com.cn>
1916 * read.c (stringer): Fix handling of missing '>' character at end
1919 2019-01-01 Alan Modra <amodra@gmail.com>
1921 Update year range in copyright notice of all files.
1923 For older changes see ChangeLog-2018
1925 Copyright (C) 2019 Free Software Foundation, Inc.
1927 Copying and distribution of this file, with or without modification,
1928 are permitted in any medium without royalty provided the copyright
1929 notice and this notice are preserved.
1935 version-control: never