[binutils][aarch64] Introduce SVE_IMM_ROT3 operand.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
adccc507
MM
12019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
2
3 * config/tc-aarch64.c (parse_operands): Handle new SVE_IMM_ROT3 operand.
4
7ce2460a
MM
52019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
6
7 * config/tc-aarch64.c: Add command line architecture feature flags
8 "sve2", "sve2-sm4", "sve2-aes", "sve2-sha3", "bitperm".
9 * doc/c-aarch64.texi: Document new architecture feature flags.
10
762172a4
AM
112019-05-08 Alan Modra <amodra@gmail.com>
12
13 * testsuite/gas/elf/dwarf2-1.s,
14 * testsuite/gas/elf/dwarf2-2.s,
15 * testsuite/gas/elf/dwarf2-5.s,
16 * testsuite/gas/elf/dwarf2-7.s,
17 * testsuite/gas/elf/dwarf2-8.s,
18 * testsuite/gas/elf/dwarf2-9.s,
19 * testsuite/gas/elf/dwarf2-10.s,
20 * testsuite/gas/elf/dwarf2-11.s,
21 * testsuite/gas/elf/dwarf2-12.s,
22 * testsuite/gas/elf/dwarf2-13.s,
23 * testsuite/gas/elf/dwarf2-14.s,
24 * testsuite/gas/elf/dwarf2-15.s,
25 * testsuite/gas/elf/dwarf2-16.s,
26 * testsuite/gas/elf/dwarf2-17.s,
27 * testsuite/gas/elf/dwarf2-18.s,
28 * testsuite/gas/elf/dwarf2-19.s: Double size of align and simulated
29 instructions.
30 * testsuite/gas/elf/dwarf2-1.d,
31 * testsuite/gas/elf/dwarf2-2.d,
32 * testsuite/gas/elf/dwarf2-5.d,
33 * testsuite/gas/elf/dwarf2-7.d,
34 * testsuite/gas/elf/dwarf2-8.d,
35 * testsuite/gas/elf/dwarf2-9.d,
36 * testsuite/gas/elf/dwarf2-10.d,
37 * testsuite/gas/elf/dwarf2-11.d,
38 * testsuite/gas/elf/dwarf2-12.d,
39 * testsuite/gas/elf/dwarf2-13.d,
40 * testsuite/gas/elf/dwarf2-14.d,
41 * testsuite/gas/elf/dwarf2-15.d,
42 * testsuite/gas/elf/dwarf2-16.d,
43 * testsuite/gas/elf/dwarf2-17.d,
44 * testsuite/gas/elf/dwarf2-18.d,
45 * testsuite/gas/elf/dwarf2-19.d: Use xfail rather than notarget.
46 Remove avr, pru, tile, xtensa from xfails. Update expected output.
47 * testsuite/gas/elf/elf.exp: Sort targets.
48 (dump_opts): Pass {as -mno-relax} for riscv, {as -mno-link-relax}
49 for avr and pru, and {as --no-link-relax} for xtensa to dwarf tests.
50 * testsuite/gas/elf/section2.e-miwmmxt: Delete unused file.
51
9632a526
AM
522019-05-08 Alan Modra <amodra@gmail.com>
53
54 * config/tc-xtensa.c (opt_linkrelax): New variable.
55 (md_parse_option): Set it here.
56 (md_begin): Copy opt_linkrelax to linkrelax.
57
b654832d
AO
582019-05-07 Alexandre Oliva <aoliva@redhat.com>
59
60 * testsuite/gas/elf/dwarf2-18.d: Xfail mep-*.
61 * testsuite/gas/elf/dwarf2-19.d: Likewise.
62
0f1309c8
AM
632019-05-07 Alan Modra <amodra@gmail.com>
64
65 * symbols.c (use_complex_relocs_for): Formatting. Factor out
66 X_add_symbol tests.
67
41cee089
FS
682019-05-06 Andrew Bennett <andrew.bennett@imgtec.com>
69 Faraz Shahbazker <fshahbazker@wavecomp.com>
70
71 * config/tc-mips.c (mips_set_ase): Handle ASE_EVA_R6.
72 (macro) <M_LLWPE_AB, M_SCWPE_AB>: New cases.
73 (mips_after_parse_args): Translate EVA to EVA_R6.
74 * testsuite/gas/mips/ase-errors-1.s: Add new instructions.
75 * testsuite/gas/mips/eva.s: Likewise.
76 * testsuite/gas/mips/ase-errors-1.l: Check errors for
77 new instructions.
78 * testsuite/gas/mips/mipsr6@eva.d: Check new test cases.
79
be0d3bbb
AM
802019-05-06 Alan Modra <amodra@gmail.com>
81
82 * symbols.c (symbol_relc_make_sym): Do not access sym->sy_value
83 directly.
84
334d91b9
AM
852019-05-06 Alan Modra <amodra@gmail.com>
86
87 * config/tc-ppc.c (ppc_fix_adjustable): Exclude all GOT and PLT
88 relocs, and VLE sdarel relocs.
89 * testsuite/gas/ppc/power4.d: Adjust.
90
62e6b7b3
AO
912019-05-05 Alexandre Oliva <aoliva@redhat.com>
92
93 * dwarf2dbg.c (set_or_check_view): Skip heads when assigning
94 views of prior locs.
95 (dwarf2_gen_line_info_1): Skip heads.
96 (size_inc_line_addr, emit_inc_line_addr): Drop
97 DW_LNS_advance_pc for zero addr delta.
98 (dwarf2_finish): Assign views for heads of segments.
99 * testsuite/gas/elf/dwarf2-19.d: New.
100 * testsuite/gas/elf/dwarf2-19.s: New.
101 * testsuite/gas/elf/elf.exp: Test it.
102
27cdfa03
AM
1032019-05-04 Alan Modra <amodra@gmail.com>
104
105 * config/tc-m32c.c (insn_size): Delete static var.
106 (md_begin): Don't set it.
107 (m32c_md_end): Delete.
108 (md_assemble): Add insn_size auto var.
109 * config/tc-m32c.h (md_end): Don't define.
110 (m32c_md_end): Delete.
111 (NOP_OPCODE, HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): Define.
112 * testsuite/gas/all/align.d: Remove m32c from notarget list.
113 * testsuite/gas/all/incbin.d: Likewise.
114 * testsuite/gas/elf/dwarf2-11.d: Likewise.
115 * testsuite/gas/macros/semi.d: Likewise.
116 * testsuite/gas/all/gas.exp (do_comment): Similarly.
117
06f74c5c
L
1182019-05-02 H.J. Lu <hongjiu.lu@intel.com>
119
120 PR gas/24485
121 * config/tc-i386.c (process_suffix): Issue a warning to IRET
122 without a suffix for .code16gcc.
123 * testsuite/gas/i386/jump16.s: Add tests for iretX.
124 * testsuite/gas/i386/jump16.d: Updated.
125 * testsuite/gas/i386/jump16.e: New file.
126
b83b4b13
SD
1272019-05-01 Sudakshina Das <sudi.das@arm.com>
128
129 * config/tc-aarch64.c (parse_operands): Add case for
130 AARCH64_OPND_TME_UIMM16.
131 (aarch64_features): Add "tme".
132 * doc/c-aarch64.texi: Document the same.
133 * testsuite/gas/aarch64/tme-invalid.d: New test.
134 * testsuite/gas/aarch64/tme-invalid.l: New test.
135 * testsuite/gas/aarch64/tme-invalid.s: New test.
136 * testsuite/gas/aarch64/tme.d: New test.
137 * testsuite/gas/aarch64/tme.s: New test.
138
4a90ce95
JD
1392019-04-29 John Darrington <john@darrington.wattle.id.au>
140
141 * testsuite/gas/s12z/truncated.d: New file.
142 * testsuite/gas/s12z/truncated.s: New file.
143 * testsuite/gas/s12z/s12z.exp: Add new test.
144
a45328b9
AB
1452019-04-26 Andrew Bennett <andrew.bennett@imgtec.com>
146 Faraz Shahbazker <fshahbazker@wavecomp.com>
147
148 * config/tc-mips.c (macro) <M_LLWP_AB, M_LLDP_AB, M_SCWP_AB,
149 M_SCDP_AB>: New cases and expansions for paired instructions.
150 * testsuite/gas/mips/llpscp-32.s: New test source.
151 * testsuite/gas/mips/llpscp-64.s: Likewise.
152 * testsuite/gas/mips/llpscp-32.d: New test.
153 * testsuite/gas/mips/llpscp-64.d: Likewise.
154 * testsuite/gas/mips/mips.exp: Run the new tests.
155 * testsuite/gas/mips/r6.s: Add new instructions to test source.
156 * testsuite/gas/mips/r6-64.s: Likewise.
157 * testsuite/gas/mips/r6-64-n32.d: Check new instructions.
158 * testsuite/gas/mips/r6-64-n64.d: Likewise.
159 * testsuite/gas/mips/r6-n32.d: Likewise.
160 * testsuite/gas/mips/r6-n64.d: Likwwise.
161 * testsuite/gas/mips/r6.d: Likewise.
162
7cb22ff8
L
1632019-04-26 H.J. Lu <hongjiu.lu@intel.com>
164
165 PR gas/24485
166 * config/tc-i386.c (process_suffix): Don't add DATA_PREFIX_OPCODE
167 to IRET for .code16gcc.
168 * testsuite/gas/i386/jump16.s: Add IRET tests.
169 * testsuite/gas/i386/jump16.d: Updated.
170
38c3873e
AO
1712019-04-25 Alexandre Oliva <aoliva@redhat.com>
172 Alan Modra <amodra@gmail.com>
173
174 PR gas/24444
175 * frags.c (frag_gtoffset_p): New.
176 * frags.h (frag_gtoffset_p): Declare it.
177 * expr.c (resolve_expression): Use it.
178
1903f138
AM
1792019-04-24 Alan Modra <amodra@gmail.com>
180
181 PR 24444
182 * symbols.c (resolve_symbol_value): When handling symbols
183 marked as sy_flags.resolved, return correct value for the
184 case of expression symbols left as an O_symbol expression.
185 Merge O_symbol code handling undefined and common symbols with
186 code handling special cases of expression symbols. Use
187 seg_left to test for undefined and common symbols. Don't
188 leave an O_symbol expression when X_add_symbol resolves to
189 the absolute_section. Init final_val later.
190 * testsuite/gas/mmix/basep-7.d: Adjust expected output.
191
a679f24e
JD
1922019-04-24 John Darrington <john@darrington.wattle.id.au>
193
194 * testsuite/gas/s12z/bit-manip-invalid.s: Extend test for BSET
195 and BCLR instructions with an invalid mode.
196 * testsuite/gas/s12z/bit-manip-invalid.d: ditto.
197
5ce032bd
NC
1982019-04-19 Nick Clifton <nickc@redhat.com>
199
200 PR 24464
201 * config/tc-rx.h (md_relax_frag): Pass the max_iterations variable
202 to the relaxation function.
203 * config/tc-rx.c (rx_relax_frag): Add new parameter - the maximum
204 number of iterations. Make sure that our internal iteration limit
205 does not exceed this external iteration limit.
206
85bec12d
MF
2072019-04-18 Matthew Fortune <matthew.fortune@mips.com>
208
209 * config/tc-mips.c (match_non_zero_reg_operand): Update
210 warning message.
211 * testsuite/gas/mips/r6-branch-constraints.l: Likewise.
212
5d5b0bd3
JL
2132019-04-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
214
215 * config/tc-msp430.c (msp430_make_init_symbols): Define
216 __crt0_run_{preinit,init,fini}_array symbols if
217 .{preinit,init,fini}_array sections exist.
218 * testsuite/gas/msp430/fini-array.d: New test.
219 * testsuite/gas/msp430/init-array.d: New test.
220 * testsuite/gas/msp430/preinit-array.d: New test.
221 * testsuite/gas/msp430/fini-array.s: New test source.
222 * testsuite/gas/msp430/init-array.s: New test source.
223 * testsuite/gas/msp430/preinit-array.s: New test source.
224 * testsuite/gas/msp430/msp430.exp: Add new tests to driver.
225
afff667a
JL
2262019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
227
228 * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
229 symbol when .lower.bss or .either.bss sections exist.
230 Define __crt0_movedata when .lower.data or .either.data sections exist.
231 * testsuite/gas/msp430/either-data-bss-sym.d: New test.
232 * testsuite/gas/msp430/low-data-bss-sym.d: New test.
233 * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
234 * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
235 * testsuite/gas/msp430/msp430.exp: Run new tests.
236 Enable large code model when running -mdata-region={upper,either}
237 tests.
238
d5579774
JL
2392019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
240
241 * config/tc-msp430.c (options): New OPTION_UNKNOWN_INTR_NOPS,
242 OPTION_NO_UNKNOWN_INTR_NOPS and do_unknown_interrupt_nops.
243 (md_parse_option): Handle OPTION_UNKNOWN_INTR_NOPS and
244 OPTION_NO_UNKNOWN_INTR_NOPS by setting do_unknown_interrupt_nops
245 accordingly.
246 (md_show_usage): Likewise.
247 (md_shortopts): Add "mu" for OPTION_UNKNOWN_INTR_NOPS and
248 "mU" for OPTION_NO_UNKNOWN_INTR_NOPS.
249 (md_longopts): Likewise.
250 (warn_eint_nop): Update comment.
251 (warn_unsure_interrupt): Don't warn if prev_insn_is_nop or
252 prev_insn_is_dint or we are assembling for 430 ISA.
253 (msp430_operands): Only call warn_unsure_interrupt if
254 do_unknown_interrupt_nops == TRUE.
255 * testsuite/gas/msp430/nop-unknown-intr.s: New test source file.
256 * testsuite/gas/msp430/nop-unknown-intr-430.d: New test.
257 * testsuite/gas/msp430/nop-unknown-intr-430x.d: New test.
258 * testsuite/gas/msp430/nop-unknown-intr-430x-ignore.d: New test.
259 * testsuite/gas/msp430/nop-unknown-intr-430.l: Warning output for new
260 test.
261 * testsuite/gas/msp430/nop-unknown-intr-430x.l: Likewise.
262 * testsuite/gas/msp430/msp430.exp: Add new tests to driver.
263
fe7e91e7
AM
2642019-04-16 Alan Modra <amodra@gmail.com>
265
266 * testsuite/gas/all/weakref1.d: xfail nds32.
267
a0fb9615
AM
2682019-04-16 Alan Modra <amodra@gmail.com>
269
270 * testsuite/gas/all/gas.exp: Remove ns32k xfails.
271 * testsuite/gas/all/weakref1u.d: Don't run for ns32k-*-*.
272
5bc11336
AM
2732019-04-16 Alan Modra <amodra@gmail.com>
274
275 * write.h: Don't include bit_fix.h.
276 (struct fix): Rearrange some fields. Delete fx_im_disp and
277 fx_bit_fixP. Use bitfields for fx_size and fx_pcrel_adjust.
278 * write.c (fix_new_internal): Don't init fx_im_disp and fx_bit_fixP.
279 (fixup_segment): Don't exclude overflow checks on fx_bit_fixP.
280 (print_fixup): Don't print im_disp.
281 * config/tc-cris.c (md_apply_fix): Remove tests of fx_bit_fixP
282 and fx_im_disp.
283 * config/tc-dlx.c (md_apply_fix): Remove wrong debug code. Set
284 fx_no_overflow when fx_bit_fixP.
285 * config/tc-dlx.h: Include bit_fix.h.
286 (TC_FIX_TYPE, tc_fix_data, TC_INIT_FIX_DATA): Define.
287 * config/tc-ns32k.c (fix_new_ns32k, fix_new_ns32k_exp): Set
288 fx_no_overflow when bit_fixP.
289 * config/tc-ns32k.h (TC_FIX_TYPE): Add fx_bit_fixP and fx_im_disp.
290 (fix_im_disp, fix_bit_fixP): Adjust to suit.
291 (TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise.
292
90bd3c90
AM
2932019-04-16 Alan Modra <amodra@gmail.com>
294
295 * write.h (struct fix <fx_where>): Make unsigned.
296 (fix_new, fix_at_start, fix_new_exp): Adjust prototypes.
297 * write.c (fix_new, fix_new_exp, fix_at_start): Make "where" and
298 "size" parameters unsigned long.
299 (fix_new_internal): Likewise. Adjust error format string to suit.
300 * config/tc-mips.c (md_convert_frag): Remove cast of fx_where.
301 * config/tc-sparc.c (md_apply_fix): Likewise.
302 * config/tc-score.c (s3_convert_frag): Adjust for unsigned fx_where.
303 * config/tc-score7.c (s7_convert_frag): Likewise.
304
871a6bd2
AM
3052019-04-16 Alan Modra <amodra@gmail.com>
306
307 * frags.h (struct frag <fr_fix>): Use unsigned type.
308 * frags.c (frag_new): Assert that current size exceeds
309 old_frags_var_max_size.
310 * ehopt.c (get_cie_info): Adjust for unsigned fr_fix.
311 * listing.c (calc_hex): Likewise.
312 * write.c (cvt_frag_to_fill, write_relocs): Likewise.
313 * config/tc-arc.c (md_convert_frag): Likewise.
314 * config/tc-avr.c (avr_patch_gccisr_frag): Likewise.
315 * config/tc-mips.c (md_convert_frag): Likewise.
316 * config/tc-rl78.c (md_convert_frag): Likewise.
317 * config/tc-rx.c (md_convert_frag): Likewise.
318 * config/tc-sparc.c (md_apply_fix): Likewise.
319 * config/tc-xtensa.c (next_instrs_are_b_retw): Likewise.
320 (unrelaxed_frag_min_insn_count, unrelaxed_frag_has_b_j): Likewise.
321
32c36c3c
AV
3222019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
323
324 * config/tc-arm.c (parse_sys_vldr_vstr): New function.
325 (OP_VLDR): New enum operand_parse_code enumerator.
326 (parse_operands): Add logic for OP_VLDR.
327 (do_t_vldr_vstr_sysreg): New function.
328 (do_vldr_vstr): Likewise.
329 (insns): Guard VLDR and VSTR by arm_ext_v4t for Thumb mode.
330 (md_apply_fix): Add bound check for VLDR and VSTR co-processor offset.
331 Add masking logic for BFD_RELOC_ARM_T32_VLDR_VSTR_OFF_IMM relocation.
332 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Add examples of bad
333 uses of VLDR and VSTR.
334 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Add error messages for
335 above bad uses.
336 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Add examples of VLDR and
337 VSTR valid uses.
338 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Add disassembly for the
339 above examples.
340
efd6b359
AV
3412019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
342
343 * config/tc-arm.c (arm_typed_reg_parse): Fix typo in comment.
344 (enum reg_list_els): New REGLIST_VFP_S_VPR and REGLIST_VFP_D_VPR
345 enumerators.
346 (parse_vfp_reg_list): Add new partial_match parameter. Set
347 *partial_match to TRUE if at least one element in the register list has
348 matched. Add support for REGLIST_VFP_S_VPR and REGLIST_VFP_D_VPR
349 register lists which expect VPR as last element in the list.
350 (s_arm_unwind_save_vfp_armv6): Adapt call to parse_vfp_reg_list to new
351 prototype.
352 (s_arm_unwind_save_vfp): Likewise.
353 (enum operand_parse_code): New OP_VRSDVLST enumerator.
354 (parse_operands): Adapt call to parse_vfp_reg_list to new prototype.
355 Handle new OP_VRSDVLST case.
356 (do_t_vscclrm): New function.
357 (insns): New entry for VSCCLRM instruction.
358 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Add invalid VSCCLRM
359 instructions.
360 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Add error expectations
361 for above instructions.
362 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Add tests for VSCCLRM
363 instruction.
364 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Add expected disassembly
365 for above instructions.
366
4b5a202f
AV
3672019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
368
369 * config/tc-arm.c (enum reg_list_els): Define earlier and add
370 REGLIST_RN and REGLIST_CLRM enumerators.
371 (parse_reg_list): Add etype parameter to distinguish between regular
372 core register list and CLRM register list. Add logic to
373 recognize CLRM register list.
374 (parse_vfp_reg_list): Assert type is not for core register list.
375 (s_arm_unwind_save_core): Update call to parse_reg_list to new
376 prototype.
377 (enum operand_parse_code): Declare OP_CLRMLST enumerator.
378 (parse_operands): Update call to parse_reg_list to new prototype. Add
379 logic for OP_CLRMLST.
380 (encode_thumb2_ldmstm): Rename into ...
381 (encode_thumb2_multi): This. Add do_io parameter. Add logic to
382 encode CLRM and guard LDM/STM only code by do_io.
383 (do_t_ldmstm): Adapt to use encode_thumb2_multi.
384 (do_t_push_pop): Likewise.
385 (do_t_clrm): New function.
386 (insns): Define CLRM.
387 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.d: New file.
388 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Likewise.
389 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Likewise.
390 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Likewise.
391 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Likewise.
392
60f993ce
AV
3932019-04-15 Sudakshina Das <sudi.das@arm.com>
394 Andre Vieira <andre.simoesdiasvieira@arm.com>
395
396 * config/tc-arm.c (operand_parse_code): Add OP_LR and OP_oLR
397 for the LR operand and optional LR operand.
398 (parse_operands): Add switch cases for OP_LR and OP_oLR for
399 both type checking and value checking.
400 (encode_thumb32_addr_mode): New entries for DLS, WLS and LE.
401 (v8_1_loop_reloc): New helper function for handling labels
402 for the low overhead loop instructions.
403 (do_t_loloop): New function to encode DLS, WLS and LE.
404 (insns): New entries for WLS, DLS and LE.
405 (md_pcrel_from_section): New switch case
406 for BFD_RELOC_ARM_THUMB_LOOP12.
407 (md_appdy_fix): Likewise.
408 (tc_gen_reloc): Likewise.
409 * testsuite/gas/arm/armv8_1-m-tloop.s: New.
410 * testsuite/gas/arm/armv8_1-m-tloop.d: New.
411 * testsuite/gas/arm/armv8_1-m-tloop-bad.s: New.
412 * testsuite/gas/arm/armv8_1-m-tloop-bad.d: New.
413 * testsuite/gas/arm/armv8_1-m-tloop-bad.l: New.
414
f6b2b12d
AV
4152019-04-15 Sudakshina Das <sudi.das@arm.com>
416 Andre Vieira <andre.simoesdiasvieira@arm.com>
417
418 * config/tc-arm.c (T16_32_TAB): New entriy for bfcsel.
419 (do_t_v8_1_branch): New switch case for bfcsel.
420 (toU): Define.
421 (insns): New instruction for bfcsel.
422 (md_pcrel_from_section): New switch case
423 for BFD_RELOC_THUMB_PCREL_BFCSEL.
424 (md_appdy_fix): Likewise
425 (tc_gen_reloc): Likewise.
426 * testsuite/gas/arm/armv8_1-m-bfcsel.d: New.
427 * testsuite/gas/arm/armv8_1-m-bfcsel.s: New.
428
1889da70
AV
4292019-04-15 Sudakshina Das <sudi.das@arm.com>
430
431 * config/tc-arm.c (md_pcrel_from_section): New switch case for
432 BFD_RELOC_ARM_THUMB_BF13.
433 (md_appdy_fix): Likewise.
434 (tc_gen_reloc): Likewise.
435
65d1bc05
AV
4362019-04-15 Sudakshina Das <sudi.das@arm.com>
437 Andre Vieira <andre.simoesdiasvieira@arm.com>
438
439 * config/tc-arm.c (T16_32_TAB): New entrie for bfl.
440 (do_t_v8_1_branch): New switch case for bfl.
441 (insns): New instruction for bfl.
442 * testsuite/gas/arm/armv8_1-m-bfl.d: New.
443 * testsuite/gas/arm/armv8_1-m-bfl.s: New.
444 * testsuite/gas/arm/armv8_1-m-bfl-bad.s: New.
445 * testsuite/gas/arm/armv8_1-m-bfl-bad.d: New.
446 * testsuite/gas/arm/armv8_1-m-bfl-bad.l: New.
447 * testsuite/gas/arm/armv8_1-m-bfl-rel.d: New.
448 * testsuite/gas/arm/armv8_1-m-bfl-rel.s: New.
449
1caf72a5
AV
4502019-04-15 Sudakshina Das <sudi.das@arm.com>
451
452 * config/tc-arm.c (md_pcrel_from_section): New switch case for
453 BFD_RELOC_ARM_THUMB_BF19.
454 (md_appdy_fix): Likewise.
455 (tc_gen_reloc): Likewise.
456
f1c7f421
AV
4572019-04-15 Sudakshina Das <sudi.das@arm.com>
458
459 * config/tc-arm.c (T16_32_TAB): New entries for bfx and bflx.
460 (do_t_v8_1_branch): New switch cases for bfx and bflx.
461 (insns): New instruction for bfx and bflx.
462 * testsuite/gas/arm/armv8_1-m-bf-exchange.d: New.
463 * testsuite/gas/arm/armv8_1-m-bf-exchange.s: New.
464 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.s: New
465 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.l: New
466 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.d: New
467
4389b29a
AV
4682019-04-15 Sudakshina Das <sudi.das@arm.com>
469 Andre Vieira <andre.simoesdiasvieira@arm.com>
470
471 * config/tc-arm.c (T16_32_TAB): New entries for bf.
472 (do_t_branch_future): New.
473 (insns): New instruction for bf.
474 * testsuite/gas/arm/armv8_1-m-bf.d: New.
475 * testsuite/gas/arm/armv8_1-m-bf.s: New.
476 * testsuite/gas/arm/armv8_1-m-bf-bad.s: New.
477 * testsuite/gas/arm/armv8_1-m-bf-bad.l: New.
478 * testsuite/gas/arm/armv8_1-m-bf-bad.d: New.
479 * testsuite/gas/arm/armv8_1-m-bf-rel.d: New.
480 * testsuite/gas/arm/armv8_1-m-bf-rel.s: New.
481
e5d6e09e
AV
4822019-04-15 Sudakshina Das <sudi.das@arm.com>
483
484 * config/tc-arm.c (md_pcrel_from_section): New switch case for
485 BFD_RELOC_ARM_THUMB_BF17.
486 (md_appdy_fix): Likewise.
487 (tc_gen_reloc): Likewise.
488
e2b0ab59
AV
4892019-04-15 Sudakshina Das <sudi.das@arm.com>
490
491 * config/tc-arm.c (ARM_IT_MAX_RELOCS): New macro.
492 (arm_it): Member reloc renamed relocs and updated to an array.
493 Rest: Replace all occurrences of reloc to relocs[0].
494
e12437dc
AV
4952019-04-15 Sudakshina Das <sudi.das@arm.com>
496
497 * config/tc-arm.c (md_pcrel_from_section): New switch case
498 for BFD_RELOC_THUMB_PCREL_BRANCH5.
499 (v8_1_branch_value_check): New function to check branch
500 offsets.
501 (md_appdy_fix): New switch case for
502 BFD_RELOC_THUMB_PCREL_BRANCH5.
503 (tc_gen_reloc): Likewise.
504
e0991585
AV
5052019-04-15 Andre Vieira <andre.simoesdiasvieira@arm.com>
506
507 * config/tc-arm.c (do_neon_movhf): Remove fp-armv8 check.
508 (armv8_1m_main_ext_table): New extension table.
509 (arm_archs): Use the new extension table.
510 * doc/c-arm.texi: Add missing arch and document new extensions.
511 * testsuite/gas/arm/armv8.1-m.main-fp.d: New.
512 * testsuite/gas/arm/armv8.1-m.main-fp-dp.d: New.
513 * testsuite/gas/arm/armv8.1-m.main-hp.d: New.
514
031254f2
AV
5152019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
516
517 * config/tc-arm.c (cpu_arch_ver): Add entry for Armv8.1-M Mainline
518 Tag_CPU_arch build attribute value. Reindent.
519 (get_aeabi_cpu_arch_from_fset): Update assert.
520 (aeabi_set_public_attributes): Update assert for Tag_DIV_use logic.
521 * testsuite/gas/arm/attr-march-armv8_1-m.main.d: New test.
522
bdc8beb4
MF
5232019-04-09 Matthew Fortune <matthew.fortune@mips.com>
524
525 * config/tc-mips.c (mips_cpu_info_table): Add i6500. Update
526 default ASEs for i6400.
527 * doc/c-mips.texi (-march): Document i6500.
528 * testsuite/gas/mips/elf_mach_i6400.d: New test.
529 * testsuite/gas/mips/elf_mach_i6500.d: New test.
530 * testsuite/gas/mips/mips.exp: Run the new tests.
531
3315614d
MF
5322019-04-09 Matthew Fortune <matthew.fortune@mips.com>
533
534 * config/tc-mips.c (mips_set_options) <init_ase>: New field.
535 (file_mips_opts, mips_opts) <init_ase>: Initialize new field.
536 (file_mips_check_options): Propagate initial ASE settings.
537 (mips_after_parse_args, parse_code_option): Track the initial
538 ASE settings for a CPU.
539 (s_mipsset): Restore the initial ASE settings when reverting
540 to the default arch.
541 * testsuite/gas/mips/elf_mach_p6600.d: New test.
542 * testsuite/gas/mips/mips.exp: Run the new test.
543
8114a5c5
JD
5442019-04-12 John Darrington <john@darrington.wattle.id.au>
545
546 config/tc-s12z.h: Remove definition of macro TC_M68K
547
d04ebfb8
JD
5482019-04-01 John Darrington <john@darrington.wattle.id.au>
549
550 config/tc-s12z.c: Use bfd_boolean where appropriate.
551
c0b4cd46
MF
5522019-04-11 Max Filippov <jcmvbkbc@gmail.com>
553
554 * testsuite/gas/xtensa/loop-relax-2.d: New test definition.
555 * testsuite/gas/xtensa/loop-relax.d: New test definition.
556 * testsuite/gas/xtensa/loop-relax.s: New test source.
557 * testsuite/gas/xtensa/text-section-literals-1a.d: New test
558 definition.
559 * testsuite/gas/xtensa/text-section-literals-2.d: New test
560 definition.
561 * testsuite/gas/xtensa/text-section-literals-2.s: New test
562 source.
563 * testsuite/gas/xtensa/text-section-literals-2a.d: New test
564 definition.
565 * testsuite/gas/xtensa/text-section-literals-3.d: New test
566 definition.
567 * testsuite/gas/xtensa/text-section-literals-3.s: New test
568 source.
569 * testsuite/gas/xtensa/text-section-literals-4.d: New test
570 definition.
571 * testsuite/gas/xtensa/text-section-literals-4.s: New test
572 source.
573 * testsuite/gas/xtensa/text-section-literals-4a.d: New test
574 definition.
575
6f2b7715
MF
5762019-04-11 Max Filippov <jcmvbkbc@gmail.com>
577
578 * testsuite/gas/xtensa/all.exp: Remove all expect-based
579 tests and all explicit run_dump_test / run_list_test
580 invocations. Add run_dump_tests for all .d files in the
581 test subdirectory.
582 * testsuite/gas/xtensa/entry_align.d: New test definition.
583 * testsuite/gas/xtensa/entry_align.l: New test output.
584 * testsuite/gas/xtensa/entry_misalign.d: New test definition.
585 * testsuite/gas/xtensa/entry_misalign2.d: New test definition.
586 * testsuite/gas/xtensa/j_too_far.d: New test definition.
587 * testsuite/gas/xtensa/j_too_far.l: New test output.
588 * testsuite/gas/xtensa/loop_align.d: New test definition.
589 * testsuite/gas/xtensa/loop_misalign.d: New test definition.
590 * testsuite/gas/xtensa/trampoline-2.d: New test definition.
591 * testsuite/gas/xtensa/trampoline-2.l: Remove empty output.
592 * testsuite/gas/xtensa/xtensa-err.exp: Use positive logic.
593
f8aecf3c
MF
5942019-04-11 Max Filippov <jcmvbkbc@gmail.com>
595
596 * config/tc-xtensa.c (xtensa_literal_pseudo): Drop code that has
597 no effect.
598 (get_literal_pool_location): Only search for the literal pool
599 when auto litpools is used, otherwise take one recorded in the
600 tc_segment_info_data.
601 (xtensa_assign_litpool_addresses): New function.
602 (xtensa_move_literals): Don't duplicate 'literal pool location
603 required...' error message. Call xtensa_assign_litpool_addresses.
604
54879176
MF
6052019-04-11 Max Filippov <jcmvbkbc@gmail.com>
606
607 * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration.
608 (xtensa_mark_literal_pool_location): Don't add fill frag to literal
609 section that records literal pool location.
610 (md_begin): Call xtensa_mark_literal_pool_location when text
611 section literals or auto litpools are used.
612 (xtensa_elf_section_change_hook): Call
613 xtensa_mark_literal_pool_location when text section literals or
614 auto litpools are used, there's no literal pool location defined
615 for the current section and it's not .init or .fini.
616 * testsuite/gas/xtensa/auto-litpools-first1.d: Fix up addresses.
617 * testsuite/gas/xtensa/auto-litpools-first2.d: Likewise.
618 * testsuite/gas/xtensa/auto-litpools.d: Likewise.
619
bd7ceb8d
SD
6202019-04-11 Sudakshina Das <sudi.das@arm.com>
621
622 * config/tc-aarch64.c (process_omitted_operand): Add case for
623 AARCH64_OPND_Rt_SP.
624 (parse_operands): Likewise.
625 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Update tests.
626 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
627 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
628 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
629
e54010f1
SD
6302019-04-11 Sudakshina Das <sudi.das@arm.com>
631
632 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for ldgm and stgm.
633 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
634 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
635 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
636
a5def729
RO
6372019-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
638
639 * config/tc-i386.c (need_plt32_p) [TE_SOLARIS]: Return FALSE.
640 * testsuite/gas/i386/solaris/solaris.exp: New driver.
641 * testsuite/gas/i386/solaris/reloc64.d,
642 testsuite/gas/i386/solaris/x86-64-jump.d,
643 testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d,
644 testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d,
645 testsuite/gas/i386/solaris/x86-64-nop-3.d,
646 testsuite/gas/i386/solaris/x86-64-nop-4.d,
647 testsuite/gas/i386/solaris/x86-64-nop-5.d,
648 testsuite/gas/i386/solaris/x86-64-relax-2.d,
649 testsuite/gas/i386/solaris/x86-64-relax-3.d: New tests.
650 * testsuite/gas/i386/reloc64.d,
651 testsuite/gas/i386/x86-64-jump.d,
652 testsuite/gas/i386/x86-64-mpx-branch-1.d,
653 testsuite/gas/i386/x86-64-mpx-branch-2.d,
654 testsuite/gas/i386/x86-64-nop-3.d,
655 testsuite/gas/i386/x86-64-nop-4.d,
656 testsuite/gas/i386/x86-64-nop-5.d,
657 testsuite/gas/i386/x86-64-relax-2.d,
658 testsuite/gas/i386/x86-64-relax-3.d: Skip on *-*-solaris*.
659
12400dcc
AM
6602019-04-10 Alan Modra <amodra@gmail.com>
661
662 * config/te-cloudabi.h: New file.
663 * config/tc-aarch64.c (aarch64_after_parse_args): Use TE_CLOUDABI
664 rather than TARGET_OS to select cloudabi.
665 * config/tc-i386.h (ELF_TARGET_FORMAT64): Define for TE_CLOUDABI.
666 * configure.tgt (*-*-cloudabi*): Set em=cloudabi.
667
7e96e219
RS
6682019-04-09 Robert Suchanek <robert.suchanek@mips.com>
669
670 * testsuite/gas/mips/mips.exp: Run hwr-names test.
671 * testsuite/gas/mips/hwr-names.s: Add test cases for RDHWR with
672 the SEL field.
673 * testsuite/gas/mips/mipsr6@hwr-names.d: New file.
674
462cac58
L
6752019-04-08 H.J. Lu <hongjiu.lu@intel.com>
676
677 * config/tc-i386.c (output_insn): Support
678 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
679 * testsuite/gas/i386/property-2.s: Add AVX512_BF16 test.
680 * testsuite/gas/i386/property-2.d: Updated.
681 * testsuite/gas/i386/x86-64-property-2.d: Likewise.
682
3ae61bb6
L
6832019-04-08 H.J. Lu <hongjiu.lu@intel.com>
684
685 * configure.tgt: Remove i386-*-kaos* and i386-*-chaos targets.
686 * testsuite/gas/i386/i386.exp: Remove *-*-caos* and "*-*-kaos*
687 check.
688
4ef40579
L
6892019-04-05 H.J. Lu <hongjiu.lu@intel.com>
690
691 * testsuite/gas/i386/i386.exp: Run -mx86-used-note=yes tests.
692 * testsuite/gas/i386/property-2.d: New file.
693 * testsuite/gas/i386/property-2.s: Likewise.
694 * testsuite/gas/i386/x86-64-property-2.d: Likewise.
695
d6aab7a1
XG
6962019-04-05 Xuepeng Guo <xuepeng.guo@intel.com>
697
698 * config/tc-i386.c (cpu_arch): Add .avx512_bf16.
699 (cpu_noarch): Add noavx512_bf16.
700 * doc/c-i386.texi: Document avx512_bf16.
701 * testsuite/gas/i386/avx512_bf16.d: New file.
702 * testsuite/gas/i386/avx512_bf16.s: Likewise.
703 * testsuite/gas/i386/avx512_bf16_vl-inval.l: Likewise.
704 * testsuite/gas/i386/avx512_bf16_vl-inval.s: Likewise.
705 * testsuite/gas/i386/avx512_bf16_vl.d: Likewise.
706 * testsuite/gas/i386/avx512_bf16_vl.s: Likewise.
707 * testsuite/gas/i386/x86-64-avx512_bf16.d: Likewise.
708 * testsuite/gas/i386/x86-64-avx512_bf16.s: Likewise.
709 * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.l: Likesie.
710 * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.s: Likewise.
711 * testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Likewise.
712 * testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Likewise.
713 * testsuite/gas/i386/i386.exp: Add BF16 related tests.
714
bec858ea
AM
7152019-04-05 Alan Modra <amodra@gmail.com>
716
717 * testsuite/gas/ppc/bc.s,
718 * testsuite/gas/ppc/bcat.d,
719 * testsuite/gas/ppc/bcaterr.d,
720 * testsuite/gas/ppc/bcaterr.l,
721 * testsuite/gas/ppc/bcy.d,
722 * testsuite/gas/ppc/bcyerr.d,
723 * testsuite/gas/ppc/bcyerr.l: New tests.
724 * testsuite/gas/ppc/ppc.exp: Run them.
725
c2b1c275
AM
7262019-04-05 Alan Modra <amodra@gmail.com>
727
728 * testsuite/gas/ppc/476.d: Remove trailing spaces.
729 * testsuite/gas/ppc/a2.d: Likewise.
730 * testsuite/gas/ppc/booke.d: Likewise.
731 * testsuite/gas/ppc/booke_xcoff.d: Likewise.
732 * testsuite/gas/ppc/e500.d: Likewise.
733 * testsuite/gas/ppc/e500mc.d: Likewise.
734 * testsuite/gas/ppc/e6500.d: Likewise.
735 * testsuite/gas/ppc/htm.d: Likewise.
736 * testsuite/gas/ppc/power6.d: Likewise.
737 * testsuite/gas/ppc/power8.d: Likewise.
738 * testsuite/gas/ppc/power9.d: Likewise.
739 * testsuite/gas/ppc/vle.d: Likewise.
740
aae9718e
PB
7412019-04-04 Peter Bergner <bergner@linux.ibm.com>
742
743 PR gas/24349
744 * testsuite/gas/ppc/power8.s: (bdnztar, bdnztarl, bdztar, bdztarl,
745 btar, btarl, bdnztar-, bdnztarl-, bdnztar+, bdnztarl+, bdztar-,
746 bdztarl-, bdztar+, bdztarl+, bgetar, bnltar, bgetarl, bnltarl,
747 bletar, bngtar, bletarl, bngtarl, bnetar, bnetarl, bnstar, bnutar,
748 bnstarl, bnutarl, bgetar-, bnltar-, bgetarl-, bnltarl-, bletar-,
749 bngtar-, bletarl-, bngtarl-, bnetar-, bnetarl-, bnstar-, bnutar-,
750 bnstarl-, bnutarl-, bgetar+, bnltar+, bgetarl+, bnltarl+, bletar+,
751 bngtar+, bletarl+, bngtarl+, bnetar+, bnetarl+, bnstar+, bnutar+,
752 bnstarl+, bnutarl+, blttar, blttarl, bgttar, bgttarl, beqtar,
753 beqtarl, bsotar, buntar, bsotarl, buntarl, blttar-, blttarl-,
754 bgttar-, bgttarl-, beqtar-, beqtarl-, bsotar-, buntar-, bsotarl-,
755 buntarl-, blttar+, blttarl+, bgttar+, bgttarl+, beqtar+, beqtarl+,
756 bsotar+, buntar+, bsotarl+, buntarl+, bdnzftar, bdnzftarl, bdzftar,
757 bdzftarl, bftar, bftarl, bftar-, bftarl-, bftar+, bftarl+, bdnzttar,
758 bdnzttarl, bdzttar, bdzttarl, bttar, bttarl, bttar-, bttarl-, bttar+,
759 bttarl+): Add tests of extended mnemonics.
760 * testsuite/gas/ppc/power8.d: Likewise. Update previous bctar tests
761 to expect new extended mnemonics.
762 * testsuite/gas/ppc/a2.s: <bc, bc-, bc+, bcl, bcl-, bcl+>: Update test
763 to not use illegal BO value. Use a more convenient BI value.
764 * testsuite/gas/ppc/a2.d: Update tests for new expect output.
765
403b0b61
MF
7662019-04-03 Max Filippov <jcmvbkbc@gmail.com>
767
768 * config/tc-xtensa.c (convert_frag_immed): Drop
769 convert_frag_immed_finish_loop invocation.
770 (convert_frag_immed_finish_loop): Drop declaration and
771 definition.
772 * config/xtensa-relax.c (widen_spec_list): Replace loop
773 widening that uses addi/addmi with widening that uses l32r
774 and const16.
775
34ef62f4
AV
7762019-04-01 Andre Vieira <andre.simoesdiasvieira@arm.com>
777
778 * config/tc-arm.c (arm_ext_table): New struct type.
779 (arm_arch_option_table): Add new 'arm_ext_table' field.
780 (ARM_EXT,ARM_ADD,ARM_REMOVE, ALL_FP): New macros.
781 (armv5te_ext_table, armv7ve_ext_table, armv7a_ext_table,
782 armv7r_ext_table, armv7em_ext_table, armv8a_ext_table,
783 armv81a_ext_table, armv82a_ext_table, armv84a_ext_table,
784 armv85a_ext_table, armv8m_main_ext_table,
785 armv8r_ext_table): New architecture extension tables.
786 (ARM_ARCH_OPT): Add new default field.
787 (ARM_ARCH_OPT2): New macro.
788 (arm_archs): Extend some architectures with the new architecture
789 extension tables mentioned above.
790 (arm_extensions): Add DEPRECATED comment with instructions to
791 use new table.
792 (arm_parse_extension): Change to use new extension tables.
793 (arm_parse_cpu): Don't change existing behavior.
794 (arm_parse_arch): Change to use new extension tables.
795 * doc/c-arm.texi: Document new architecture extensions.
796 * testsuite/gas/arm/attr-mfpu-neon-fp16.d: Change test to use new
797 extension option rather than -mfpu and change expected behaviour to
798 sane outputs.
799 * testsuite/gas/arm/armv8-2-fp16-scalar-bad-ext.d: New.
800 * testsuite/gas/arm/armv8-2-fp16-scalar-ext.d: New.
801 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb-ext.d: New.
802 * testsuite/gas/arm/armv8-2-fp16-simd-ext.d: New.
803 * testsuite/gas/arm/armv8-2-fp16-simd-thumb-ext.d: New.
804 * testsuite/gas/arm/armv8-2-fp16-simd-warning-ext.d: New.
805 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb-ext.d: New.
806 * testsuite/gas/arm/armv8_2+rdma-ext.d: New.
807 * testsuite/gas/arm/armv8_2-a-fp16-thumb2-ext.d: New.
808 * testsuite/gas/arm/armv8_2-a-fp16_ext.d: New.
809 * testsuite/gas/arm/armv8_3-a-fp-bad-ext.d: New.
810 * testsuite/gas/arm/armv8_3-a-fp-ext.d: New.
811 * testsuite/gas/arm/armv8_3-a-fp16-ext.d: New.
812 * testsuite/gas/arm/armv8_3-a-simd-bad-ext.d: New.
813 * testsuite/gas/arm/armv8_4-a-fp16-ext.d: New.
814 * testsuite/gas/arm/armv8m.main+fp.d: New.
815 * testsuite/gas/arm/armv8m.main+fp.dp.d: New.
816 * testsuite/gas/arm/attr-ext-fpv5-d16.d: New.
817 * testsuite/gas/arm/attr-ext-fpv5.d: New.
818 * testsuite/gas/arm/attr-ext-idiv.d: New.
819 * testsuite/gas/arm/attr-ext-mp.d: New.
820 * testsuite/gas/arm/attr-ext-neon-fp16.d: New.
821 * testsuite/gas/arm/attr-ext-neon-vfpv3.d: New.
822 * testsuite/gas/arm/attr-ext-neon-vfpv4.d: New.
823 * testsuite/gas/arm/attr-ext-sec.d: New.
824 * testsuite/gas/arm/attr-ext-vfpv3-d16-fp16.d: New.
825 * testsuite/gas/arm/attr-ext-vfpv3-d16.d: New.
826 * testsuite/gas/arm/attr-ext-vfpv3-fp16.d: New.
827 * testsuite/gas/arm/attr-ext-vfpv3.d: New.
828 * testsuite/gas/arm/attr-ext-vfpv3xd-fp.d: New.
829 * testsuite/gas/arm/attr-ext-vfpv3xd.d: New.
830 * testsuite/gas/arm/attr-ext-vfpv4-d16.d: New.
831 * testsuite/gas/arm/attr-ext-vfpv4-sp-d16.d: New.
832 * testsuite/gas/arm/attr-ext-vfpv4.d: New.
833 * testsuite/gas/arm/dotprod-mandatory-ext.d: New.
834 * testsuite/gas/arm/fpv5-d16.s: New.
835 * testsuite/gas/arm/fpv5-sp-d16.s: New.
836
96a86c01
AM
8372019-03-28 Alan Modra <amodra@gmail.com>
838
839 PR 24390
840 * testsuite/gas/ppc/476.d: Update mtfsb*.
841 * testsuite/gas/ppc/a2.d: Likewise.
842
86b0c8dd
AM
8432019-03-21 Alan Modra <amodra@gmail.com>
844
845 * emul.h (struct emulation): Delete strip_underscore.
846 * emul-target.h (emul_strip_underscore): Don't define.
847 (emul_struct_name): Update initialization.
848
7553c869
AM
8492019-03-21 Alan Modra <amodra@gmail.com>
850
851 * config/tc-d10v.c (md_apply_fix): Apply BFD_RELOC_8.
852 * config/tc-pdp11.c (md_apply_fix): Likewise.
853 * config/tc-d30v.c (md_apply_fix): Don't emit errors for BFD_RELOC_8,
854 BFD_RELOC_16, and BFD_RELOC_64.
855 * testsuite/gas/all/gas.exp: Move target exclusions for forward
856 test, but not cr16, to..
857 * testsuite/gas/all/forward.d: ..here, with explanation. Remove
858 d10v, d30v, and pdp11 xfails.
859
392a5972
L
8602019-03-19 H.J. Lu <hongjiu.lu@intel.com>
861
862 * config/tc-i386.c (optimize_encoding): Don't check AVX for
863 EVEX vector load/store optimization. Check both operands for
864 ZMM register. Update EVEX vector load/store opcode check.
865 Choose EVEX Disp8 over VEX Disp32.
866 * testsuite/gas/i386/optimize-1.d: Updated.
867 * testsuite/gas/i386/optimize-1a.d: Likewise.
868 * testsuite/gas/i386/optimize-2.d: Likewise.
869 * testsuite/gas/i386/optimize-4.d: Likewise.
870 * testsuite/gas/i386/optimize-5.d: Likewise.
871 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
872 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
873 * testsuite/gas/i386/x86-64-optimize-2b.d: Likewise.
874 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
875 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
876 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
877 * testsuite/gas/i386/optimize-1.s: Add ZMM register load
878 test.
879 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
880
7b1d7ca1
L
8812019-03-19 H.J. Lu <hongjiu.lu@intel.com>
882
883 PR gas/24352
884 * config/tc-i386.c (optimize_encoding): Check only
885 cpu_arch_flags.bitfield.cpuavx512vl.
886 * testsuite/gas/i386/i386.exp: Run x86-64-optimize-2b.
887 * testsuite/gas/i386/x86-64-optimize-2.d: Revert the last
888 change.
889 * testsuite/gas/i386/x86-64-optimize-2b.d: New file.
890 * testsuite/gas/i386/x86-64-optimize-2b.s: Likewise.
891
89199bb5
L
8922019-03-19 H.J. Lu <hongjiu.lu@intel.com>
893
894 PR gas/24359
895 * testsuite/gas/i386/i386.exp: Change optimize-6a, optimize-7,
896 x86-64-optimize-7a and x86-64-optimize-8 tests to run_list_test.
897 Remove optimize-6c and x86-64-optimize-7c tests.
898 * testsuite/gas/i386/noavx-3.l: Updated.
899 * testsuite/gas/i386/noavx-4.d: Likewise.
900 * testsuite/gas/i386/noavx-5.d: Likewise.
901 * testsuite/gas/i386/noavx-3.s: Add AVX512F tests.
902 * testsuite/gas/i386/noavx-4.s: Remove AVX512F tests.
903 * testsuite/gas/i386/nosse-5.s: Likewise.
904 * testsuite/gas/i386/optimize-6a.d: Removed.
905 * testsuite/gas/i386/optimize-6c.d: Likewise.
906 * testsuite/gas/i386/optimize-7.d: Likewise.
907 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
908 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
909 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
910 * testsuite/gas/i386/optimize-6a.l: New file.
911 * testsuite/gas/i386/optimize-6a.s: Likewise.
912 * testsuite/gas/i386/optimize-7.l: Likewise.
913 * testsuite/gas/i386/x86-64-optimize-7a.l: Likewise.
914 * testsuite/gas/i386/x86-64-optimize-7a.s: Likewise.
915 * testsuite/gas/i386/x86-64-optimize-8.l: Likewise.
916
c6cdff46
AM
9172019-03-18 Alan Modra <amodra@gmail.com>
918
919 * config/m68k-parse.y (yylex): Use temp_ilp and restore_ilp.
af60449c
AM
920 * as.c (macro_expr): Likewise.
921 * macro.c (buffer_and_nest): Likewise.
922 * read.c (temp_ilp): Remove FIXME.
c6cdff46 923
a716e60c
L
9242019-03-18 H.J. Lu <hongjiu.lu@intel.com>
925
926 * testsuite/gas/i386/att-regs.d: Pass -O0 to assembler.
927 * testsuite/gas/i386/avx512bw-intel.d: Likewise.
928 * testsuite/gas/i386/avx512bw.d: Likewise.
929 * testsuite/gas/i386/avx512f-intel.d: Likewise.
930 * testsuite/gas/i386/avx512f.d: Likewise.
931 * testsuite/gas/i386/disp32.d: Likewise.
932 * testsuite/gas/i386/intel-regs.d: Likewise.
933 * testsuite/gas/i386/pseudos.d: Likewise.
934 * testsuite/gas/i386/x86-64-disp32.d: Likewise.
935 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
936
97ed31ae
L
9372019-03-18 H.J. Lu <hongjiu.lu@intel.com>
938
939 PR gas/24348
940 * config/tc-i386.c (optimize_encoding): Encode 128-bit and
941 256-bit EVEX vector register load/store instructions as VEX
942 vector register load/store instructions for -O1.
943 * doc/c-i386.texi: Update -O1 documentation.
944 * testsuite/gas/i386/i386.exp: Run PR gas/24348 tests.
945 * testsuite/gas/i386/optimize-1.s: Add tests for EVEX vector
946 load/store instructions.
947 * testsuite/gas/i386/optimize-2.s: Likewise.
948 * testsuite/gas/i386/optimize-3.s: Likewise.
949 * testsuite/gas/i386/optimize-5.s: Likewise.
950 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
951 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
952 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
953 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
954 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
955 * testsuite/gas/i386/optimize-1.d: Updated.
956 * testsuite/gas/i386/optimize-2.d: Likewise.
957 * testsuite/gas/i386/optimize-3.d: Likewise.
958 * testsuite/gas/i386/optimize-4.d: Likewise.
959 * testsuite/gas/i386/optimize-5.d: Likewise.
960 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
961 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
962 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
963 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
964 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
965 * testsuite/gas/i386/optimize-7.d: New file.
966 * testsuite/gas/i386/optimize-7.s: Likewise.
967 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
968 * testsuite/gas/i386/x86-64-optimize-8.s: Likewise.
969
99112332
L
9702019-03-18 H.J. Lu <hongjiu.lu@intel.com>
971
972 * config/tc-i386.c (optimize_encoding): Encode 256-bit/512-bit
973 VEX/EVEX vector register clearing instructions with 128-bit VEX
974 vector register clearing instructions at -O1.
975 * doc/c-i386.texi: Update -O1 and -O2 documentation.
976 * testsuite/gas/i386/i386.exp: Run optimize-1a and
977 x86-64-optimize-2a.
978 * testsuite/gas/i386/optimize-1a.d: New file.
979 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
980
41fd2579
L
9812019-03-17 H.J. Lu <hongjiu.lu@intel.com>
982
983 PR gas/24353
984 * config/tc-i386.c: Include <limits.h> if it exists and try
985 including <sys/param.h> if we have it.
986 (INT_MAX): Define if not defined.
987 (md_parse_option): Set optimize to INT_MAX for -Os.
988 * testsuite/gas/i386/optimize-2.s: Add a test.
989 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
990 * testsuite/gas/i386/optimize-2.d: Updated.
991 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
992
dd22218c
L
9932019-03-17 H.J. Lu <hongjiu.lu@intel.com>
994
995 PR gas/24352
996 * config/tc-i386.c (optimize_encoding): Encode 512-bit EVEX
997 with 128-bit VEX encoding only when AVX is enabled and with
998 128-bit EVEX encoding only when AVX512VL is enabled.
999 * testsuite/gas/i386/i386.exp: Run PR gas/24352 tests.
1000 * testsuite/gas/i386/optimize-6.s: New file.
1001 * testsuite/gas/i386/optimize-6a.d: Likewise.
1002 * testsuite/gas/i386/optimize-6b.d: Likewise.
1003 * testsuite/gas/i386/optimize-6c.d: Likewise.
1004 * testsuite/gas/i386/x86-64-optimize-7.s: Likewise.
1005 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
1006 * testsuite/gas/i386/x86-64-optimize-7b.d: Likewise.
1007 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
1008 * testsuite/gas/i386/x86-64-optimize-2.d: Updated.
1009
1c529385
LH
10102019-03-15 Li Hao <li.hao296@zte.com.cn>
1011
1012 PR 24308
1013 * config/tc-i386.c (parse_insn): Check mnemp before using it to
1014 determine if a suffix can be trimmed.
1015
204f543c
CE
10162019-03-13 Christian Eggers <ceggers@gmx.de>
1017
1018 * dwarf2dbg.c (out_set_addr): Align relocation within .debug_line.
1019
145c4477
CE
10202019-03-13 Christian Eggers <ceggers@gmx.de>
1021
1022 * dwarf2dbg.c (out_debug_line): Pad size of .debug_line section.
1023
5c4e5fe6
CE
10242019-03-13 Christian Eggers <ceggers@gmx.de>
1025
1026 * dwarf2dbg.c (out_debug_str): Use octets for .debug_string pointers.
1027
38c24f42
CE
10282019-03-13 Christian Eggers <ceggers@gmx.de>
1029
1030 * dwarf2dbg.c (out_debug_line): Use octets for .debug_line prologue.
1031
72354279
CE
10322019-03-13 Christian Eggers <ceggers@gmx.de>
1033
1034 * dwarf2dbg.c (out_debug_line): Use octets for dwarf2 headers.
1035 (out_debug_aranges, out_debug_info): Likewise.
1036
d18d1999
CE
10372019-03-13 Christian Eggers <ceggers@gmx.de>
1038
1039 * symbols.h (symbol_temp_new_now_octets): Declare.
1040 (symbol_set_value_now_octets, symbol_octets_p): Declare.
1041 * symbols.c (struct symbol_flags): New member sy_octets.
1042 (symbol_temp_new_now_octets): New function.
1043 (resolve_symbol_value): Return octets instead of bytes if
1044 sy_octets is set.
1045 (symbol_set_value_now_octets): New function.
1046 (symbol_octets_p): New function.
1047
71250b94
CE
10482019-03-13 Christian Eggers <ceggers@gmx.de>
1049
1050 * dwarf2dbg.c (dwarf2_emit_insn): Fix calculation of line info offset.
1051
0919bfe9
AK
10522019-03-12 Andreas Krebbel <krebbel@linux.ibm.com>
1053
1054 * testsuite/gas/s390/zarch-arch13.s: Adjust testcase to optable changes.
1055 * testsuite/gas/s390/zarch-arch13.d: Likewise.
1056
52d6f3ee
MM
10572019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
1058
1059 * testsuite/gas/aarch64/dotproduct.d: Use multiple "as" lines.
1060 * testsuite/gas/aarch64/dotproduct_armv8_4.d: Remove.
1061 * testsuite/gas/aarch64/dotproduct_armv8_4.s: Remove.
1062 * testsuite/gas/aarch64/illegal-dotproduct.d: Use multiple "as"
1063 lines.
1064 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: Remove.
1065 * testsuite/gas/aarch64/ldst-rcpc.d: Use multiple "as" lines.
1066
a894d76a
AM
10672019-02-24 Alan Modra <amodra@gmail.com>
1068
1069 * config/tc-ppc.c (parse_tls_arg): Wrap in #ifdef OBJ_ELF.
1070
f616c36b
AM
10712019-02-24 Alan Modra <amodra@gmail.com>
1072
1073 PR 24144
1074 * config/obj-aout.c (obj_aout_frob_file_before_fix): Write to end
1075 of section to ensure file contents cover aligned section size.
1076
83f43c83
KT
10772019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1078
1079 * config/tc-arm.c (arm_cpus): Add neoverse-n1.
1080 * doc/c-arm.texi (-mcpu): Document neoverse-n1 value.
1081
516dbc44
KT
10822019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1083
1084 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-e1.
1085 * doc/c-aarch64.texi (-mcpu): Document neoverse-e1 value.
1086
38e75bf2
KT
10872019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1088
1089 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n1.
1090 * doc/c-aarch64.texi (-mcpu): Document neoverse-n1 value.
1091
6f2117ba
PH
10922019-02-19 Paul Hua <paul.hua.gm@gmail.com>
1093
1094 * NEWS: Mention -m[no-]fix-loongson3-llsc.
1095 * configure.ac: Add --enable-mips-fix-loongson3-llsc.
1096 Define DEFAULT_MIPS_FIX_LOONGSON3_LLSC.
1097 * config.in: Regenerated.
1098 * configure: Likewise.
1099 * config/tc-mips.c (sync_insn, mips_fix_loongson3_llsc):
1100 New variables.
1101 (options): New OPTION_FIX_LOONGSON3_LLSC,
1102 OPTION_NO_FIX_LOONGSON3_LLSC.
1103 (md_longopts): Add -m[no-]fix-loongson3-llsc.
1104 (md_begin): Initialize sync insn.
1105 (fix_loongson3_llsc): New.
1106 (append_insn): Call fix_loongson3_llsc.
1107 (md_parse_option): Handle OPTION_FIX_LOONGSON3_LLSC,
1108 OPTION_NO_FIX_LOONGSON3_LLSC.
1109 (md_show_usage): Display -m[no-]fix-loongson3-llsc.
1110 * doc/c-mips.texi: Document -m[no-]fix-loongson3-llsc,
1111 --enable-mips-fix-loongson3-llsc=[yes|no].
1112
db222310
L
11132019-02-10 H.J. Lu <hongjiu.lu@intel.com>
1114
1115 PR gas/24165
1116 * frags.c (frag_var_init): Pass max_chars to TC_FRAG_INIT as
1117 max_bytes.
1118 * config/tc-aarch64.h (TC_FRAG_INIT): Add and pass max_bytes to
1119 aarch64_init_frag.
1120 * /config/tc-arm.h (TC_FRAG_INIT): And and pass max_bytes to
1121 arm_init_frag.
1122 * config/tc-avr.h (TC_FRAG_INIT): And and ignore max_bytes.
1123 * config/tc-ia64.h (TC_FRAG_INIT): Likewise.
1124 * config/tc-mmix.h (TC_FRAG_INIT): Likewise.
1125 * config/tc-nds32.h (TC_FRAG_INIT): Likewise.
1126 * config/tc-ns32k.h (TC_FRAG_INIT): Likewise.
1127 * config/tc-rl78.h (TC_FRAG_INIT): Likewise.
1128 * config/tc-rx.h (TC_FRAG_INIT): Likewise.
1129 * config/tc-score.h (TC_FRAG_INIT): Likewise.
1130 * config/tc-tic54x.h (TC_FRAG_INIT): Likewise.
1131 * config/tc-tic6x.h (TC_FRAG_INIT): Likewise.
1132 * config/tc-xtensa.h (TC_FRAG_INIT): Likewise.
1133 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Set to
1134 (alignment ? ((1 << alignment) - 1) : 1)
1135 (i386_tc_frag_data): Add max_bytes.
1136 (TC_FRAG_INIT): Add and track max_bytes.
1137 (HANDLE_ALIGN): Replace MAX_MEM_FOR_RS_ALIGN_CODE with
1138 fragP->tc_frag_data.max_bytes.
1139 * doc/internals.texi: Update TC_FRAG_TYPE with max_bytes.
1140
21820ebe
JW
11412019-02-08 Jim Wilson <jimw@sifive.com>
1142
1143 * config/tc-riscv.c (validate_riscv_insn) <'C'>: Add 'z' support.
1144 (riscv_ip) <'C'>: Add 'z' support.
1145
f7dd2fb2
TC
11462019-02-07 Tamar Christina <tamar.christina@arm.com>
1147
1148 * config/tc-arm.c (insns): Redefine THUMB_VARIANT and ARM_VARIANT for
1149 hlt to armv1.
1150 * testsuite/gas/arm/armv8a-automatic-hlt.d: Update TAGs
1151 * testsuite/gas/arm/hlt.d: New test.
1152 * testsuite/gas/arm/hlt.s: New test.
1153
bd756351
TC
11542019-02-07 Tamar Christina <tamar.christina@arm.com>
1155
1156 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.d: New test.
1157 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.s: New test.
1158
6456d318
TC
11592019-02-07 Tamar Christina <tamar.christina@arm.com>
1160
1161 PR binutils/23212
1162 * testsuite/gas/aarch64/undefined_by_elem_sz_l.s: New test.
1163 * testsuite/gas/aarch64/undefined_by_elem_sz_l.d: New test.
1164
0e7e9601
EB
11652019-02-07 Eric Botcazou <ebotcazou@adacore.com>
1166
1167 * config/tc-visium.c (md_assemble) <mode_cad>: Align instruction on
1168 64-bit boundaries for the GR6.
1169 * testsuite/gas/visium/allinsn_gr6.s: Tweak.
1170 * testsuite/gas/visium/allinsn_gr6.d: Likewise.
1171 * testsuite/gas/visium/bra-1.d: New test.
1172 * testsuite/gas/visium/bra-1.s: Likewise.
1173 * testsuite/gas/visium/visium.exp: Run bra-1 test.
1174
c6f14c0d
JD
11752019-01-31 John Darrington <john@darrington.wattle.id.au>
1176
1177 * config/tc-s12z.c (lex_imm): Add new argument exp_o.
1178 (emit_reloc): New function.
1179 (md_apply_fix): [BFD_RELOC_S12Z_OPR] Recognise that it
1180 can be either 2 bytes or 3 bytes long.
1181 * testsuite/gas/s12z/mov-imm-reloc.d: New file.
1182 * testsuite/gas/s12z/mov-imm-reloc.s: New file.
1183 * testsuite/gas/s12z/s12z.exp: Add them.
1184
91bae991
JD
11852019-01-31 John Darrington <john@darrington.wattle.id.au>
1186
1187 * config/tc-s12z.c (md_apply_fix): Fix incorrect limits.
1188 * testsuite/gas/s12z/pc-rel-bad.d: New file.
1189 * testsuite/gas/s12z/pc-rel-bad.l: New file.
1190 * testsuite/gas/s12z/pc-rel-bad.s: New file.
1191 * testsuite/gas/s12z/pc-rel-good.d: New file.
1192 * testsuite/gas/s12z/pc-rel-good.s: New file.
1193 * testsuite/gas/s12z/s12z.exp: Add them.
1194
1d4d8669
JD
11952019-01-31 John Darrington <john@darrington.wattle.id.au>
1196
1197 * config/tc-s12z.c (tfr): Emit warning if operands are the same.
1198 * testsuite/gas/s12z/exg.d: New test case.
1199 * testsuite/gas/s12z/exg.l: New file.
1200
8b3a46f9
JD
12012019-01-31 John Darrington <john@darrington.wattle.id.au>
1202
1203 * config/tc-s12z.c (lex_opr): Add a parameter to indicate whether
1204 immediate mode operands should be permitted.
1205 * testsuite/s12z/imm-dest.d: New file.
1206 * testsuite/s12z/imm-dest.l: New file.
1207 * testsuite/s12z/imm-dest.s: New file.
1208 * testsuite/s12z/s12z.exp: Add them.
1209
fc60b8c8
AK
12102019-01-31 Andreas Krebbel <krebbel@linux.ibm.com>
1211
1212 * config/tc-s390.c (s390_parse_cpu): New entry for arch13.
1213 * doc/c-s390.texi: Document arch13 march option.
1214 * testsuite/gas/s390/s390.exp: Run the arch13 related tests.
1215 * testsuite/gas/s390/zarch-arch13.d: New test.
1216 * testsuite/gas/s390/zarch-arch13.s: New test.
1217 * testsuite/gas/s390/zarch-z13.d: Expect the renamed mnemonics
1218 also for z13.
1219
3ca4a8ec
AM
12202019-01-31 Alan Modra <amodra@gmail.com>
1221
1222 * config/tc-alpha.c (md_apply_fix): Correct range checks for
1223 BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BSR.
1224 * config/tc-arm.c (md_apply_fix): Use llabs rather than abs.
1225 * config/tc-csky.c (get_macro_reg_vals): Pass s to csky_show_error.
1226
75c1c971
MF
12272019-01-28 Max Filippov <jcmvbkbc@gmail.com>
1228
1229 * config/tc-xtensa.c (md_apply_fix): Mark fixups for constant
1230 symbols as done in md_apply_fix.
1231 * testsuite/gas/all/forward.d: Don't XFAIL for xtensa.
1232
2d151af7
NC
12332019-01-28 Nick Clifton <nickc@redhat.com>
1234
1235 * po/fr.po: Updated French translation.
1236 * po/ru.po: Updated Russian translation.
1237
e044973b
AM
12382019-01-28 Alan Modra <amodra@gmail.com>
1239
1240 * configure.ac (ac_checking): Set from bfd/development.sh
1241 development variable.
1242 * configure: Regenerate.
1243
e10620d3
TC
12442019-01-25 Sudakshina Das <sudi.das@arm.com>
1245
1246 * config/tc-aarch64.c (warn_unpredictable_ldst): Exempt
1247 stg, st2g, stzg and stz2g from Xt == Xn with writeback warning.
1248 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Change tests for
1249 stg, stzg, st2g and stz2g.
1250 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
1251 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
1252 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
1253
20a4ca55
SD
12542019-01-25 Sudakshina Das <sudi.das@arm.com>
1255
1256 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for stzgm.
1257 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
1258 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
1259 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
1260
550fd7bf
SD
12612019-01-25 Sudakshina Das <sudi.das@arm.com>
1262 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1263
1264 * config/tc-aarch64.c (parse_address_main): Remove support for
1265 [base]! address expression.
1266 (parse_operands): Remove support for AARCH64_OPND_ADDR_SIMPLE_2.
1267 (warn_unpredictable_ldst): Remove support for ldstgv_indexed.
1268 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Remove tests for ldgv
1269 and stgv.
1270 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
1271 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
1272 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
1273
10c172ba
WH
12742019-01-25 Wu Heng <wu.heng@zte.com.cn>
1275
1276 PR gas/23940
1277 * macro.c (getstring): Check array bound before accessing.
1278
0c56b5cf
AM
12792019-01-25 Alan Modra <amodra@gmail.com>
1280
1281 PR 20902
1282 PR 24125
1283 * read.c (stringer): Delete assertion.
1284
375cd423
NC
12852019-01-21 Nick Clifton <nickc@redhat.com>
1286
1287 * po/uk.po: Updated Ukranian translation.
1288
f48dfe41
NC
12892019-01-19 Nick Clifton <nickc@redhat.com>
1290
1291 * config.in: Regenerate.
1292 * configure: Regenerate.
1293 * po/gas.pot: Regenerate.
1294
f974f26c
NC
12952018-06-24 Nick Clifton <nickc@redhat.com>
1296
1297 2.32 branch created.
1298
dee3ee22
TC
12992019-01-17 Tamar Christina <tamar.christina@arm.com>
1300
1301 * testsuite/gas/arm/archv6t2-1-pe.d: New test.
1302 * testsuite/gas/arm/archv6t2-1.d: Skip pe.
1303 * testsuite/gas/arm/csdb.d: Skip pe.
1304 * testsuite/gas/arm/sb-thumb1-pe.d: New test.
1305 * testsuite/gas/arm/sb-thumb1.d: Skip pe.
1306 * testsuite/gas/arm/sb-thumb2-pe.d: New test.
1307 * testsuite/gas/arm/sb-thumb2.d: Skip pe.
1308 * testsuite/gas/arm/udf.d: Skip pe.
1309
a4bf3d07
JW
13102019-01-16 Kito Cheng <kito@andestech.com>
1311
1312 * testsuite/gas/riscv/attribute-empty.d: New.
1313
2dc8dd17
JW
13142019-01-16 Kito Cheng <kito@andestech.com>
1315 Nelson Chu <nelson@andestech.com>
1316
1317 * config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined.
1318 (riscv_set_options): Add `arch_attr` field.
1319 (riscv_opts): Set default value for arch_attr.
1320 (riscv_write_out_arch_attr): New.
1321 (riscv_set_public_attributes): Likewise.
1322 (riscv_md_end): Likewise.
1323 (riscv_convert_symbolic_attribute): Likewise.
1324 (s_riscv_attribute): Likewise.
1325 (explicit_arch_attr): Likewise.
1326 (riscv_pseudo_table): Add .attribute to the table.
1327 (options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR
1328 enumeration constants.
1329 (md_longopts): Add `march-attr' and `mno-arch-attr' options.
1330 (md_parse_option): Handle the new options.
1331 (md_show_usage): Document the `march-attr' option.
1332 * config/tc-riscv.h (md_end): Define as riscv_md_end
1333 (riscv_md_end): Declare.
1334 (CONVERT_SYMBOLIC_ATTRIBUTE): Define as
1335 riscv_convert_symbolic_attribute.
1336 (riscv_convert_symbolic_attribute): Declare.
1337 (start_assemble): Declare.
1338 * testsuite/gas/elf/elf.exp: Adjust test case for section2.e.
1339 * testsuite/gas/elf/section2.e-riscv: New.
1340 * testsuite/gas/riscv/attribute-01.d: New test
1341 * testsuite/gas/riscv/attribute-02.d: Likewise.
1342 * testsuite/gas/riscv/attribute-03.d: Likewise.
1343 * testsuite/gas/riscv/attribute-04.d: Likewise.
1344 * testsuite/gas/riscv/attribute-04.s: Likewise.
1345 * testsuite/gas/riscv/attribute-05.d: Likewise.
1346 * testsuite/gas/riscv/attribute-05.s: Likewise.
1347 * testsuite/gas/riscv/attribute-06.d: Likewise.
1348 * testsuite/gas/riscv/attribute-06.s: Likewise.
1349 * testsuite/gas/riscv/attribute-07.d: Likewise.
1350 * testsuite/gas/riscv/attribute-07.s: Likewise.
1351 * testsuite/gas/riscv/attribute-08.d: Likewise.
1352 * testsuite/gas/riscv/attribute-08.s: Likewise.
1353 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
1354 * testsuite/gas/riscv/attribute-unknown.s: Likewise.
1355 * testsuite/gas/riscv/empty.l: Likewise.
1356 * doc/c-riscv.texi (.attribute): Add documentation.
1357 * configure.ac (--enable-default-riscv-attribute): New options.
1358 * configure: Re-generate.
1359 * config.in: Re-generate.
1360
d5dcaf1b
JD
13612019-01-16 John Darrington <john@darrington.wattle.id.au>
1362
e7b47f2e
JD
1363 * config/tc-s12z.c (lex_reg_name): Compare the length of the strings
1364 before the contents.
1365 * testsuite/gas/s12z/labels.d: New file.
1366 * testsuite/gas/s12z/labels.s: New file.
1367 * testsuite/gas/s12z/s12z.exp: Add them.
1368 * config/tc-s12z.c (tfr): Change as_bad to as_warn.
77fdb0e0 1369 Also fix message typo and semantics.
e7b47f2e 1370 * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
d5dcaf1b
JD
1371 BFD_RELOC_24.
1372 * testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead
1373 of R_S12Z_EXT24.
1374
55e8aae7
SP
13752019-01-14 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1376
1377 * config/tc-arm.c (arm_ext_v6k_v6t2): Define.
1378 (insns) [ARM_VARIANT]: Modified.
1379 (insns) [THUMB_VARIANT]: To implement few ARMv6K instructions
1380 in ARMv6T2 as well.
1381 * testsuite/gas/arm/archv6t2-1.d: New test.
1382 * testsuite/gas/arm/archv6t2-1.s: Likewise.
1383 * testsuite/gas/arm/archv6t2-2.d: Likewise.
1384
c7af41ec
AM
13852019-01-11 Alan Modra <amodra@gmail.com>
1386
1387 PR 23963
1388 * testsuite/gas/m68hc11/lbranch-dwarf2.d: Adjust for PR23963 change.
1389 * testsuite/gas/m68hc11/opers12-dwarf2.d: Likewise.
1390
12add40e
NC
13912019-01-10 Nick Clifton <nickc@redhat.com>
1392
1393 PR 23963
59aa9b0b
NC
1394 * testsuite/gas/mips/mips16-branch-absolute-1.d: Adjust for the
1395 fact that control characters are now displayed as escape
1396 sequences.
12add40e
NC
1397 * testsuite/gas/mips/mips16-e.d: Likewise.
1398 * testsuite/gas/mips/mips16-pcrel-0.d: Likewise.
1399 * testsuite/gas/mips/mips16-pcrel-1.d: Likewise.
1400 * testsuite/gas/mips/mips16-pcrel-delay-0.d: Likewise.
1401 * testsuite/gas/mips/mips16-pcrel-delay-1.d: Likewise.
1402 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
1403 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
1404 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
1405 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
1406 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: Likewise.
1407 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: Likewise.
1408 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: Likewise.
1409 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: Likewise.
1410 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: Likewise.
1411 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: Likewise.
1412 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d:
1413 Likewise.
1414 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d:
1415 Likewise.
1416 * testsuite/gas/mips/mipsel16-e.d: Likewise.
1417 * testsuite/gas/mips/mipsr6@msa.d: Likewise.
1418 * testsuite/gas/mips/mipsr6@relax-swap3.d: Likewise.
1419 * testsuite/gas/mips/r6-64-n32.d: Likewise.
1420 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1421 * testsuite/gas/mips/r6-n32.d: Likewise.
1422 * testsuite/gas/mips/r6-n64.d: Likewise.
1423 * testsuite/gas/mips/r6.d: Likewise.
1424 * testsuite/gas/mips/tmips16-e.d: Likewise.
1425 * testsuite/gas/mips/tmipsel16-e.d: Likewise.
1426 * testsuite/gas/mn10300/relax.d: Likewise.
1427
39f286cd
JD
14282019-01-09 John Darrington <john@darrington.wattle.id.au>
1429
1430 * testsuite/gas/s12z/jsr.s: New case.
1431 * testsuite/gas/s12z/jsr.d: New case.
1432
3107326d
AP
14332019-01-09 Andrew Paprocki <andrew@ishiboo.com>
1434
1435 * configure: Regenerate.
1436
c8fcc360
KT
14372019-01-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1438
1439 * config/tc-aarch64.c (aarch64_cpus): Add ares.
1440 * doc/c-aarch64.texi (-mcpu): Document ares value.
1441
171b8e19
AM
14422019-01-08 Alan Modra <amodra@gmail.com>
1443
1444 * testsuite/gas/rx/rx.exp: Create generated test source in
1445 current directory.
1446 * testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d,
1447 * testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d,
1448 * testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d,
1449 * testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d,
1450 * testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d,
1451 * testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d,
1452 * testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d,
1453 * testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d,
1454 * testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d,
1455 * testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d,
1456 * testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d,
1457 * testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d,
1458 * testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d,
1459 * testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d,
1460 * testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d,
1461 * testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d,
1462 * testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d,
1463 * testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d,
1464 * testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d,
1465 * testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d,
1466 * testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d,
1467 * testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d,
1468 * testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d,
1469 * testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d,
1470 * testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d,
1471 * testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d,
1472 * testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d,
1473 * testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d,
1474 * testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d,
1475 * testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d,
1476 * testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d,
1477 * testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d,
1478 * testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d,
1479 * testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d,
1480 * testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d,
1481 * testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d,
1482 * testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d,
1483 * testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d,
1484 * testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d,
1485 * testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d,
1486 * testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d,
1487 * testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d,
1488 * testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d,
1489 * testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d,
1490 * testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d,
1491 * testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d,
1492 * testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d,
1493 * testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d,
1494 * testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d,
1495 * testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d,
1496 * testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d,
1497 * testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d,
1498 * testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d,
1499 * testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d,
1500 * testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d,
1501 * testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d,
1502 * testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d,
1503 * testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d,
1504 * testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d,
1505 * testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d,
1506 * testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d,
1507 * testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d,
1508 * testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d,
1509 * testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d,
1510 * testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d,
1511 * testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d,
1512 * testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d,
1513 * testsuite/gas/rx/xor.d: Add #source line.
1514
ef8df4ca
KT
15152019-01-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1516
1517 * config/tc-arm.c (arm_cpus): Add ares.
1518 * doc/c-arm.texi (-mcpu): Document ares value.
1519
6a25bee8
YS
15202019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1521
1522 * config/rx-defs.h (rx_cpu_types): Add type RXV3 and RXV3FPU.
1523 (rx_bfield): Add prototype.
1524 (rx_post): Likewise.
1525 * config/rx-parse.y: Add v3 instructions and Double FPU registers.
1526 (DSIZE): Define.
1527 (POST): Define.
1528 (rx_check_v3): New. check v3 type.
1529 (rx_check_dfpu): New. check have double support.
1530 (double_condition_table): New. dcmp<cond> contiditon.
1531 (check_condition): Multiple condition support.
1532 (rx_lex): RXv3 instructions support.
1533 Add parse dcmp<cond> instruction and Double FPU registers.
1534 (immediate): Disable optimize in dmov #imm case.
1535 (displacement): Add double displacement in dmov instraction.
1536 * config/tc-rx.c (rx_use_conventional_section_names):
1537 Invert default value in rx-*-linux target.
1538 (cpu_type): Add additional ELF flags.
1539 (cpu_type_list): Add RXv3.
1540 (md_parse_option): Refer elf_flags from cpu_type_list.
1541 (md_show_usage): Add rxv3 and rxv3-dfpu.
1542 (rx_bytesT): Add post byte.
1543 (rx_bfield): New. generate bfmov / bfmovz "imm" field.
1544 (rx_post): New. Set instruction post byte.
1545 (md_assemble): Add post byte.
1546 doc/c-rx.texi: Add cpu types.
1547 * testsuite/gas/rx/Xtod.d: New.
1548 * testsuite/gas/rx/Xtod.sm: New.
1549 * testsuite/gas/rx/bfmov.d: New.
1550 * testsuite/gas/rx/bfmov.sm: New.
1551 * testsuite/gas/rx/dabs.d: New.
1552 * testsuite/gas/rx/dabs.sm: New.
1553 * testsuite/gas/rx/dadd.d: New.
1554 * testsuite/gas/rx/dadd.sm: New.
1555 * testsuite/gas/rx/dcmp.d: New.
1556 * testsuite/gas/rx/dcmp.sm: New.
1557 * testsuite/gas/rx/ddiv.d: New.
1558 * testsuite/gas/rx/ddiv.sm: New.
1559 * testsuite/gas/rx/dmov.d: New.
1560 * testsuite/gas/rx/dmov.sm: New.
1561 * testsuite/gas/rx/dmul.d: New.
1562 * testsuite/gas/rx/dmul.sm: New.
1563 * testsuite/gas/rx/dneg.d: New.
1564 * testsuite/gas/rx/dneg.sm: New.
1565 * testsuite/gas/rx/dpopm.d: New.
1566 * testsuite/gas/rx/dpopm.sm: New.
1567 * testsuite/gas/rx/dpushm.d: New.
1568 * testsuite/gas/rx/dpushm.sm: New.
1569 * testsuite/gas/rx/dround.d: New.
1570 * testsuite/gas/rx/dround.sm: New.
1571 * testsuite/gas/rx/dsqrt.d: New.
1572 * testsuite/gas/rx/dsqrt.sm: New.
1573 * testsuite/gas/rx/dsub.d: New.
1574 * testsuite/gas/rx/dsub.sm: New.
1575 * testsuite/gas/rx/dtoX.d: New.
1576 * testsuite/gas/rx/dtoX.sm: New.
1577 * testsuite/gas/rx/macros.inc: Add double FPU registers.
1578 * testsuite/gas/rx/mvfdc.d: New.
1579 * testsuite/gas/rx/mvfdc.sm: New.
1580 * testsuite/gas/rx/mvfdr.d: New.
1581 * testsuite/gas/rx/mvfdr.sm: New.
1582 * testsuite/gas/rx/mvtdc.d: New.
1583 * testsuite/gas/rx/mvtdc.sm: New.
1584 * testsuite/gas/rx/rstr.d: New.
1585 * testsuite/gas/rx/rstr.sm: New.
1586 * testsuite/gas/rx/rx.exp: Use rxv3-dfpu option.
1587 * testsuite/gas/rx/save.d: New.
1588 * testsuite/gas/rx/save.sm: New.
1589 * testsuite/gas/rx/xor.d: New.
1590 * testsuite/gas/rx/xor.sm: Add pattern.
1591
1b2ed39c
WH
15922019-01-04 Wu Heng <wu.heng@zte.com.cn>
1593
1594 PR 24010
1595 * macro.c (get_any_string): Check for end of input whilst scanning
1596 for separators.
1597
bdfb4455
WH
15982019-01-04 Wu Heng <wu.heng@zte.com.cn>
1599
1600 PR 24009
1601 * read.c (stringer): Fix handling of missing '>' character at end
1602 of <...> sequence.
1603
82704155
AM
16042019-01-01 Alan Modra <amodra@gmail.com>
1605
1606 Update year range in copyright notice of all files.
1607
d5c04e1b 1608For older changes see ChangeLog-2018
3499769a 1609\f
d5c04e1b 1610Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
1611
1612Copying and distribution of this file, with or without modification,
1613are permitted in any medium without royalty provided the copyright
1614notice and this notice are preserved.
1615
1616Local Variables:
1617mode: change-log
1618left-margin: 8
1619fill-column: 74
1620version-control: never
1621End:
This page took 0.28189 seconds and 4 git commands to generate.