RX Assembler: Ensure that the internal limit on the number of relaxation iterations...
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
5ce032bd
NC
12019-04-19 Nick Clifton <nickc@redhat.com>
2
3 PR 24464
4 * config/tc-rx.h (md_relax_frag): Pass the max_iterations variable
5 to the relaxation function.
6 * config/tc-rx.c (rx_relax_frag): Add new parameter - the maximum
7 number of iterations. Make sure that our internal iteration limit
8 does not exceed this external iteration limit.
9
85bec12d
MF
102019-04-18 Matthew Fortune <matthew.fortune@mips.com>
11
12 * config/tc-mips.c (match_non_zero_reg_operand): Update
13 warning message.
14 * testsuite/gas/mips/r6-branch-constraints.l: Likewise.
15
5d5b0bd3
JL
162019-04-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
17
18 * config/tc-msp430.c (msp430_make_init_symbols): Define
19 __crt0_run_{preinit,init,fini}_array symbols if
20 .{preinit,init,fini}_array sections exist.
21 * testsuite/gas/msp430/fini-array.d: New test.
22 * testsuite/gas/msp430/init-array.d: New test.
23 * testsuite/gas/msp430/preinit-array.d: New test.
24 * testsuite/gas/msp430/fini-array.s: New test source.
25 * testsuite/gas/msp430/init-array.s: New test source.
26 * testsuite/gas/msp430/preinit-array.s: New test source.
27 * testsuite/gas/msp430/msp430.exp: Add new tests to driver.
28
afff667a
JL
292019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
30
31 * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
32 symbol when .lower.bss or .either.bss sections exist.
33 Define __crt0_movedata when .lower.data or .either.data sections exist.
34 * testsuite/gas/msp430/either-data-bss-sym.d: New test.
35 * testsuite/gas/msp430/low-data-bss-sym.d: New test.
36 * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
37 * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
38 * testsuite/gas/msp430/msp430.exp: Run new tests.
39 Enable large code model when running -mdata-region={upper,either}
40 tests.
41
d5579774
JL
422019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
43
44 * config/tc-msp430.c (options): New OPTION_UNKNOWN_INTR_NOPS,
45 OPTION_NO_UNKNOWN_INTR_NOPS and do_unknown_interrupt_nops.
46 (md_parse_option): Handle OPTION_UNKNOWN_INTR_NOPS and
47 OPTION_NO_UNKNOWN_INTR_NOPS by setting do_unknown_interrupt_nops
48 accordingly.
49 (md_show_usage): Likewise.
50 (md_shortopts): Add "mu" for OPTION_UNKNOWN_INTR_NOPS and
51 "mU" for OPTION_NO_UNKNOWN_INTR_NOPS.
52 (md_longopts): Likewise.
53 (warn_eint_nop): Update comment.
54 (warn_unsure_interrupt): Don't warn if prev_insn_is_nop or
55 prev_insn_is_dint or we are assembling for 430 ISA.
56 (msp430_operands): Only call warn_unsure_interrupt if
57 do_unknown_interrupt_nops == TRUE.
58 * testsuite/gas/msp430/nop-unknown-intr.s: New test source file.
59 * testsuite/gas/msp430/nop-unknown-intr-430.d: New test.
60 * testsuite/gas/msp430/nop-unknown-intr-430x.d: New test.
61 * testsuite/gas/msp430/nop-unknown-intr-430x-ignore.d: New test.
62 * testsuite/gas/msp430/nop-unknown-intr-430.l: Warning output for new
63 test.
64 * testsuite/gas/msp430/nop-unknown-intr-430x.l: Likewise.
65 * testsuite/gas/msp430/msp430.exp: Add new tests to driver.
66
fe7e91e7
AM
672019-04-16 Alan Modra <amodra@gmail.com>
68
69 * testsuite/gas/all/weakref1.d: xfail nds32.
70
a0fb9615
AM
712019-04-16 Alan Modra <amodra@gmail.com>
72
73 * testsuite/gas/all/gas.exp: Remove ns32k xfails.
74 * testsuite/gas/all/weakref1u.d: Don't run for ns32k-*-*.
75
5bc11336
AM
762019-04-16 Alan Modra <amodra@gmail.com>
77
78 * write.h: Don't include bit_fix.h.
79 (struct fix): Rearrange some fields. Delete fx_im_disp and
80 fx_bit_fixP. Use bitfields for fx_size and fx_pcrel_adjust.
81 * write.c (fix_new_internal): Don't init fx_im_disp and fx_bit_fixP.
82 (fixup_segment): Don't exclude overflow checks on fx_bit_fixP.
83 (print_fixup): Don't print im_disp.
84 * config/tc-cris.c (md_apply_fix): Remove tests of fx_bit_fixP
85 and fx_im_disp.
86 * config/tc-dlx.c (md_apply_fix): Remove wrong debug code. Set
87 fx_no_overflow when fx_bit_fixP.
88 * config/tc-dlx.h: Include bit_fix.h.
89 (TC_FIX_TYPE, tc_fix_data, TC_INIT_FIX_DATA): Define.
90 * config/tc-ns32k.c (fix_new_ns32k, fix_new_ns32k_exp): Set
91 fx_no_overflow when bit_fixP.
92 * config/tc-ns32k.h (TC_FIX_TYPE): Add fx_bit_fixP and fx_im_disp.
93 (fix_im_disp, fix_bit_fixP): Adjust to suit.
94 (TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise.
95
90bd3c90
AM
962019-04-16 Alan Modra <amodra@gmail.com>
97
98 * write.h (struct fix <fx_where>): Make unsigned.
99 (fix_new, fix_at_start, fix_new_exp): Adjust prototypes.
100 * write.c (fix_new, fix_new_exp, fix_at_start): Make "where" and
101 "size" parameters unsigned long.
102 (fix_new_internal): Likewise. Adjust error format string to suit.
103 * config/tc-mips.c (md_convert_frag): Remove cast of fx_where.
104 * config/tc-sparc.c (md_apply_fix): Likewise.
105 * config/tc-score.c (s3_convert_frag): Adjust for unsigned fx_where.
106 * config/tc-score7.c (s7_convert_frag): Likewise.
107
871a6bd2
AM
1082019-04-16 Alan Modra <amodra@gmail.com>
109
110 * frags.h (struct frag <fr_fix>): Use unsigned type.
111 * frags.c (frag_new): Assert that current size exceeds
112 old_frags_var_max_size.
113 * ehopt.c (get_cie_info): Adjust for unsigned fr_fix.
114 * listing.c (calc_hex): Likewise.
115 * write.c (cvt_frag_to_fill, write_relocs): Likewise.
116 * config/tc-arc.c (md_convert_frag): Likewise.
117 * config/tc-avr.c (avr_patch_gccisr_frag): Likewise.
118 * config/tc-mips.c (md_convert_frag): Likewise.
119 * config/tc-rl78.c (md_convert_frag): Likewise.
120 * config/tc-rx.c (md_convert_frag): Likewise.
121 * config/tc-sparc.c (md_apply_fix): Likewise.
122 * config/tc-xtensa.c (next_instrs_are_b_retw): Likewise.
123 (unrelaxed_frag_min_insn_count, unrelaxed_frag_has_b_j): Likewise.
124
32c36c3c
AV
1252019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
126
127 * config/tc-arm.c (parse_sys_vldr_vstr): New function.
128 (OP_VLDR): New enum operand_parse_code enumerator.
129 (parse_operands): Add logic for OP_VLDR.
130 (do_t_vldr_vstr_sysreg): New function.
131 (do_vldr_vstr): Likewise.
132 (insns): Guard VLDR and VSTR by arm_ext_v4t for Thumb mode.
133 (md_apply_fix): Add bound check for VLDR and VSTR co-processor offset.
134 Add masking logic for BFD_RELOC_ARM_T32_VLDR_VSTR_OFF_IMM relocation.
135 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Add examples of bad
136 uses of VLDR and VSTR.
137 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Add error messages for
138 above bad uses.
139 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Add examples of VLDR and
140 VSTR valid uses.
141 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Add disassembly for the
142 above examples.
143
efd6b359
AV
1442019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
145
146 * config/tc-arm.c (arm_typed_reg_parse): Fix typo in comment.
147 (enum reg_list_els): New REGLIST_VFP_S_VPR and REGLIST_VFP_D_VPR
148 enumerators.
149 (parse_vfp_reg_list): Add new partial_match parameter. Set
150 *partial_match to TRUE if at least one element in the register list has
151 matched. Add support for REGLIST_VFP_S_VPR and REGLIST_VFP_D_VPR
152 register lists which expect VPR as last element in the list.
153 (s_arm_unwind_save_vfp_armv6): Adapt call to parse_vfp_reg_list to new
154 prototype.
155 (s_arm_unwind_save_vfp): Likewise.
156 (enum operand_parse_code): New OP_VRSDVLST enumerator.
157 (parse_operands): Adapt call to parse_vfp_reg_list to new prototype.
158 Handle new OP_VRSDVLST case.
159 (do_t_vscclrm): New function.
160 (insns): New entry for VSCCLRM instruction.
161 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Add invalid VSCCLRM
162 instructions.
163 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Add error expectations
164 for above instructions.
165 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Add tests for VSCCLRM
166 instruction.
167 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Add expected disassembly
168 for above instructions.
169
4b5a202f
AV
1702019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
171
172 * config/tc-arm.c (enum reg_list_els): Define earlier and add
173 REGLIST_RN and REGLIST_CLRM enumerators.
174 (parse_reg_list): Add etype parameter to distinguish between regular
175 core register list and CLRM register list. Add logic to
176 recognize CLRM register list.
177 (parse_vfp_reg_list): Assert type is not for core register list.
178 (s_arm_unwind_save_core): Update call to parse_reg_list to new
179 prototype.
180 (enum operand_parse_code): Declare OP_CLRMLST enumerator.
181 (parse_operands): Update call to parse_reg_list to new prototype. Add
182 logic for OP_CLRMLST.
183 (encode_thumb2_ldmstm): Rename into ...
184 (encode_thumb2_multi): This. Add do_io parameter. Add logic to
185 encode CLRM and guard LDM/STM only code by do_io.
186 (do_t_ldmstm): Adapt to use encode_thumb2_multi.
187 (do_t_push_pop): Likewise.
188 (do_t_clrm): New function.
189 (insns): Define CLRM.
190 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.d: New file.
191 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Likewise.
192 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Likewise.
193 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Likewise.
194 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Likewise.
195
60f993ce
AV
1962019-04-15 Sudakshina Das <sudi.das@arm.com>
197 Andre Vieira <andre.simoesdiasvieira@arm.com>
198
199 * config/tc-arm.c (operand_parse_code): Add OP_LR and OP_oLR
200 for the LR operand and optional LR operand.
201 (parse_operands): Add switch cases for OP_LR and OP_oLR for
202 both type checking and value checking.
203 (encode_thumb32_addr_mode): New entries for DLS, WLS and LE.
204 (v8_1_loop_reloc): New helper function for handling labels
205 for the low overhead loop instructions.
206 (do_t_loloop): New function to encode DLS, WLS and LE.
207 (insns): New entries for WLS, DLS and LE.
208 (md_pcrel_from_section): New switch case
209 for BFD_RELOC_ARM_THUMB_LOOP12.
210 (md_appdy_fix): Likewise.
211 (tc_gen_reloc): Likewise.
212 * testsuite/gas/arm/armv8_1-m-tloop.s: New.
213 * testsuite/gas/arm/armv8_1-m-tloop.d: New.
214 * testsuite/gas/arm/armv8_1-m-tloop-bad.s: New.
215 * testsuite/gas/arm/armv8_1-m-tloop-bad.d: New.
216 * testsuite/gas/arm/armv8_1-m-tloop-bad.l: New.
217
f6b2b12d
AV
2182019-04-15 Sudakshina Das <sudi.das@arm.com>
219 Andre Vieira <andre.simoesdiasvieira@arm.com>
220
221 * config/tc-arm.c (T16_32_TAB): New entriy for bfcsel.
222 (do_t_v8_1_branch): New switch case for bfcsel.
223 (toU): Define.
224 (insns): New instruction for bfcsel.
225 (md_pcrel_from_section): New switch case
226 for BFD_RELOC_THUMB_PCREL_BFCSEL.
227 (md_appdy_fix): Likewise
228 (tc_gen_reloc): Likewise.
229 * testsuite/gas/arm/armv8_1-m-bfcsel.d: New.
230 * testsuite/gas/arm/armv8_1-m-bfcsel.s: New.
231
1889da70
AV
2322019-04-15 Sudakshina Das <sudi.das@arm.com>
233
234 * config/tc-arm.c (md_pcrel_from_section): New switch case for
235 BFD_RELOC_ARM_THUMB_BF13.
236 (md_appdy_fix): Likewise.
237 (tc_gen_reloc): Likewise.
238
65d1bc05
AV
2392019-04-15 Sudakshina Das <sudi.das@arm.com>
240 Andre Vieira <andre.simoesdiasvieira@arm.com>
241
242 * config/tc-arm.c (T16_32_TAB): New entrie for bfl.
243 (do_t_v8_1_branch): New switch case for bfl.
244 (insns): New instruction for bfl.
245 * testsuite/gas/arm/armv8_1-m-bfl.d: New.
246 * testsuite/gas/arm/armv8_1-m-bfl.s: New.
247 * testsuite/gas/arm/armv8_1-m-bfl-bad.s: New.
248 * testsuite/gas/arm/armv8_1-m-bfl-bad.d: New.
249 * testsuite/gas/arm/armv8_1-m-bfl-bad.l: New.
250 * testsuite/gas/arm/armv8_1-m-bfl-rel.d: New.
251 * testsuite/gas/arm/armv8_1-m-bfl-rel.s: New.
252
1caf72a5
AV
2532019-04-15 Sudakshina Das <sudi.das@arm.com>
254
255 * config/tc-arm.c (md_pcrel_from_section): New switch case for
256 BFD_RELOC_ARM_THUMB_BF19.
257 (md_appdy_fix): Likewise.
258 (tc_gen_reloc): Likewise.
259
f1c7f421
AV
2602019-04-15 Sudakshina Das <sudi.das@arm.com>
261
262 * config/tc-arm.c (T16_32_TAB): New entries for bfx and bflx.
263 (do_t_v8_1_branch): New switch cases for bfx and bflx.
264 (insns): New instruction for bfx and bflx.
265 * testsuite/gas/arm/armv8_1-m-bf-exchange.d: New.
266 * testsuite/gas/arm/armv8_1-m-bf-exchange.s: New.
267 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.s: New
268 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.l: New
269 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.d: New
270
4389b29a
AV
2712019-04-15 Sudakshina Das <sudi.das@arm.com>
272 Andre Vieira <andre.simoesdiasvieira@arm.com>
273
274 * config/tc-arm.c (T16_32_TAB): New entries for bf.
275 (do_t_branch_future): New.
276 (insns): New instruction for bf.
277 * testsuite/gas/arm/armv8_1-m-bf.d: New.
278 * testsuite/gas/arm/armv8_1-m-bf.s: New.
279 * testsuite/gas/arm/armv8_1-m-bf-bad.s: New.
280 * testsuite/gas/arm/armv8_1-m-bf-bad.l: New.
281 * testsuite/gas/arm/armv8_1-m-bf-bad.d: New.
282 * testsuite/gas/arm/armv8_1-m-bf-rel.d: New.
283 * testsuite/gas/arm/armv8_1-m-bf-rel.s: New.
284
e5d6e09e
AV
2852019-04-15 Sudakshina Das <sudi.das@arm.com>
286
287 * config/tc-arm.c (md_pcrel_from_section): New switch case for
288 BFD_RELOC_ARM_THUMB_BF17.
289 (md_appdy_fix): Likewise.
290 (tc_gen_reloc): Likewise.
291
e2b0ab59
AV
2922019-04-15 Sudakshina Das <sudi.das@arm.com>
293
294 * config/tc-arm.c (ARM_IT_MAX_RELOCS): New macro.
295 (arm_it): Member reloc renamed relocs and updated to an array.
296 Rest: Replace all occurrences of reloc to relocs[0].
297
e12437dc
AV
2982019-04-15 Sudakshina Das <sudi.das@arm.com>
299
300 * config/tc-arm.c (md_pcrel_from_section): New switch case
301 for BFD_RELOC_THUMB_PCREL_BRANCH5.
302 (v8_1_branch_value_check): New function to check branch
303 offsets.
304 (md_appdy_fix): New switch case for
305 BFD_RELOC_THUMB_PCREL_BRANCH5.
306 (tc_gen_reloc): Likewise.
307
e0991585
AV
3082019-04-15 Andre Vieira <andre.simoesdiasvieira@arm.com>
309
310 * config/tc-arm.c (do_neon_movhf): Remove fp-armv8 check.
311 (armv8_1m_main_ext_table): New extension table.
312 (arm_archs): Use the new extension table.
313 * doc/c-arm.texi: Add missing arch and document new extensions.
314 * testsuite/gas/arm/armv8.1-m.main-fp.d: New.
315 * testsuite/gas/arm/armv8.1-m.main-fp-dp.d: New.
316 * testsuite/gas/arm/armv8.1-m.main-hp.d: New.
317
031254f2
AV
3182019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
319
320 * config/tc-arm.c (cpu_arch_ver): Add entry for Armv8.1-M Mainline
321 Tag_CPU_arch build attribute value. Reindent.
322 (get_aeabi_cpu_arch_from_fset): Update assert.
323 (aeabi_set_public_attributes): Update assert for Tag_DIV_use logic.
324 * testsuite/gas/arm/attr-march-armv8_1-m.main.d: New test.
325
bdc8beb4
MF
3262019-04-09 Matthew Fortune <matthew.fortune@mips.com>
327
328 * config/tc-mips.c (mips_cpu_info_table): Add i6500. Update
329 default ASEs for i6400.
330 * doc/c-mips.texi (-march): Document i6500.
331 * testsuite/gas/mips/elf_mach_i6400.d: New test.
332 * testsuite/gas/mips/elf_mach_i6500.d: New test.
333 * testsuite/gas/mips/mips.exp: Run the new tests.
334
3315614d
MF
3352019-04-09 Matthew Fortune <matthew.fortune@mips.com>
336
337 * config/tc-mips.c (mips_set_options) <init_ase>: New field.
338 (file_mips_opts, mips_opts) <init_ase>: Initialize new field.
339 (file_mips_check_options): Propagate initial ASE settings.
340 (mips_after_parse_args, parse_code_option): Track the initial
341 ASE settings for a CPU.
342 (s_mipsset): Restore the initial ASE settings when reverting
343 to the default arch.
344 * testsuite/gas/mips/elf_mach_p6600.d: New test.
345 * testsuite/gas/mips/mips.exp: Run the new test.
346
8114a5c5
JD
3472019-04-12 John Darrington <john@darrington.wattle.id.au>
348
349 config/tc-s12z.h: Remove definition of macro TC_M68K
350
d04ebfb8
JD
3512019-04-01 John Darrington <john@darrington.wattle.id.au>
352
353 config/tc-s12z.c: Use bfd_boolean where appropriate.
354
c0b4cd46
MF
3552019-04-11 Max Filippov <jcmvbkbc@gmail.com>
356
357 * testsuite/gas/xtensa/loop-relax-2.d: New test definition.
358 * testsuite/gas/xtensa/loop-relax.d: New test definition.
359 * testsuite/gas/xtensa/loop-relax.s: New test source.
360 * testsuite/gas/xtensa/text-section-literals-1a.d: New test
361 definition.
362 * testsuite/gas/xtensa/text-section-literals-2.d: New test
363 definition.
364 * testsuite/gas/xtensa/text-section-literals-2.s: New test
365 source.
366 * testsuite/gas/xtensa/text-section-literals-2a.d: New test
367 definition.
368 * testsuite/gas/xtensa/text-section-literals-3.d: New test
369 definition.
370 * testsuite/gas/xtensa/text-section-literals-3.s: New test
371 source.
372 * testsuite/gas/xtensa/text-section-literals-4.d: New test
373 definition.
374 * testsuite/gas/xtensa/text-section-literals-4.s: New test
375 source.
376 * testsuite/gas/xtensa/text-section-literals-4a.d: New test
377 definition.
378
6f2b7715
MF
3792019-04-11 Max Filippov <jcmvbkbc@gmail.com>
380
381 * testsuite/gas/xtensa/all.exp: Remove all expect-based
382 tests and all explicit run_dump_test / run_list_test
383 invocations. Add run_dump_tests for all .d files in the
384 test subdirectory.
385 * testsuite/gas/xtensa/entry_align.d: New test definition.
386 * testsuite/gas/xtensa/entry_align.l: New test output.
387 * testsuite/gas/xtensa/entry_misalign.d: New test definition.
388 * testsuite/gas/xtensa/entry_misalign2.d: New test definition.
389 * testsuite/gas/xtensa/j_too_far.d: New test definition.
390 * testsuite/gas/xtensa/j_too_far.l: New test output.
391 * testsuite/gas/xtensa/loop_align.d: New test definition.
392 * testsuite/gas/xtensa/loop_misalign.d: New test definition.
393 * testsuite/gas/xtensa/trampoline-2.d: New test definition.
394 * testsuite/gas/xtensa/trampoline-2.l: Remove empty output.
395 * testsuite/gas/xtensa/xtensa-err.exp: Use positive logic.
396
f8aecf3c
MF
3972019-04-11 Max Filippov <jcmvbkbc@gmail.com>
398
399 * config/tc-xtensa.c (xtensa_literal_pseudo): Drop code that has
400 no effect.
401 (get_literal_pool_location): Only search for the literal pool
402 when auto litpools is used, otherwise take one recorded in the
403 tc_segment_info_data.
404 (xtensa_assign_litpool_addresses): New function.
405 (xtensa_move_literals): Don't duplicate 'literal pool location
406 required...' error message. Call xtensa_assign_litpool_addresses.
407
54879176
MF
4082019-04-11 Max Filippov <jcmvbkbc@gmail.com>
409
410 * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration.
411 (xtensa_mark_literal_pool_location): Don't add fill frag to literal
412 section that records literal pool location.
413 (md_begin): Call xtensa_mark_literal_pool_location when text
414 section literals or auto litpools are used.
415 (xtensa_elf_section_change_hook): Call
416 xtensa_mark_literal_pool_location when text section literals or
417 auto litpools are used, there's no literal pool location defined
418 for the current section and it's not .init or .fini.
419 * testsuite/gas/xtensa/auto-litpools-first1.d: Fix up addresses.
420 * testsuite/gas/xtensa/auto-litpools-first2.d: Likewise.
421 * testsuite/gas/xtensa/auto-litpools.d: Likewise.
422
bd7ceb8d
SD
4232019-04-11 Sudakshina Das <sudi.das@arm.com>
424
425 * config/tc-aarch64.c (process_omitted_operand): Add case for
426 AARCH64_OPND_Rt_SP.
427 (parse_operands): Likewise.
428 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Update tests.
429 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
430 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
431 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
432
e54010f1
SD
4332019-04-11 Sudakshina Das <sudi.das@arm.com>
434
435 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for ldgm and stgm.
436 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
437 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
438 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
439
a5def729
RO
4402019-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
441
442 * config/tc-i386.c (need_plt32_p) [TE_SOLARIS]: Return FALSE.
443 * testsuite/gas/i386/solaris/solaris.exp: New driver.
444 * testsuite/gas/i386/solaris/reloc64.d,
445 testsuite/gas/i386/solaris/x86-64-jump.d,
446 testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d,
447 testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d,
448 testsuite/gas/i386/solaris/x86-64-nop-3.d,
449 testsuite/gas/i386/solaris/x86-64-nop-4.d,
450 testsuite/gas/i386/solaris/x86-64-nop-5.d,
451 testsuite/gas/i386/solaris/x86-64-relax-2.d,
452 testsuite/gas/i386/solaris/x86-64-relax-3.d: New tests.
453 * testsuite/gas/i386/reloc64.d,
454 testsuite/gas/i386/x86-64-jump.d,
455 testsuite/gas/i386/x86-64-mpx-branch-1.d,
456 testsuite/gas/i386/x86-64-mpx-branch-2.d,
457 testsuite/gas/i386/x86-64-nop-3.d,
458 testsuite/gas/i386/x86-64-nop-4.d,
459 testsuite/gas/i386/x86-64-nop-5.d,
460 testsuite/gas/i386/x86-64-relax-2.d,
461 testsuite/gas/i386/x86-64-relax-3.d: Skip on *-*-solaris*.
462
12400dcc
AM
4632019-04-10 Alan Modra <amodra@gmail.com>
464
465 * config/te-cloudabi.h: New file.
466 * config/tc-aarch64.c (aarch64_after_parse_args): Use TE_CLOUDABI
467 rather than TARGET_OS to select cloudabi.
468 * config/tc-i386.h (ELF_TARGET_FORMAT64): Define for TE_CLOUDABI.
469 * configure.tgt (*-*-cloudabi*): Set em=cloudabi.
470
7e96e219
RS
4712019-04-09 Robert Suchanek <robert.suchanek@mips.com>
472
473 * testsuite/gas/mips/mips.exp: Run hwr-names test.
474 * testsuite/gas/mips/hwr-names.s: Add test cases for RDHWR with
475 the SEL field.
476 * testsuite/gas/mips/mipsr6@hwr-names.d: New file.
477
462cac58
L
4782019-04-08 H.J. Lu <hongjiu.lu@intel.com>
479
480 * config/tc-i386.c (output_insn): Support
481 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
482 * testsuite/gas/i386/property-2.s: Add AVX512_BF16 test.
483 * testsuite/gas/i386/property-2.d: Updated.
484 * testsuite/gas/i386/x86-64-property-2.d: Likewise.
485
3ae61bb6
L
4862019-04-08 H.J. Lu <hongjiu.lu@intel.com>
487
488 * configure.tgt: Remove i386-*-kaos* and i386-*-chaos targets.
489 * testsuite/gas/i386/i386.exp: Remove *-*-caos* and "*-*-kaos*
490 check.
491
4ef40579
L
4922019-04-05 H.J. Lu <hongjiu.lu@intel.com>
493
494 * testsuite/gas/i386/i386.exp: Run -mx86-used-note=yes tests.
495 * testsuite/gas/i386/property-2.d: New file.
496 * testsuite/gas/i386/property-2.s: Likewise.
497 * testsuite/gas/i386/x86-64-property-2.d: Likewise.
498
d6aab7a1
XG
4992019-04-05 Xuepeng Guo <xuepeng.guo@intel.com>
500
501 * config/tc-i386.c (cpu_arch): Add .avx512_bf16.
502 (cpu_noarch): Add noavx512_bf16.
503 * doc/c-i386.texi: Document avx512_bf16.
504 * testsuite/gas/i386/avx512_bf16.d: New file.
505 * testsuite/gas/i386/avx512_bf16.s: Likewise.
506 * testsuite/gas/i386/avx512_bf16_vl-inval.l: Likewise.
507 * testsuite/gas/i386/avx512_bf16_vl-inval.s: Likewise.
508 * testsuite/gas/i386/avx512_bf16_vl.d: Likewise.
509 * testsuite/gas/i386/avx512_bf16_vl.s: Likewise.
510 * testsuite/gas/i386/x86-64-avx512_bf16.d: Likewise.
511 * testsuite/gas/i386/x86-64-avx512_bf16.s: Likewise.
512 * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.l: Likesie.
513 * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.s: Likewise.
514 * testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Likewise.
515 * testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Likewise.
516 * testsuite/gas/i386/i386.exp: Add BF16 related tests.
517
bec858ea
AM
5182019-04-05 Alan Modra <amodra@gmail.com>
519
520 * testsuite/gas/ppc/bc.s,
521 * testsuite/gas/ppc/bcat.d,
522 * testsuite/gas/ppc/bcaterr.d,
523 * testsuite/gas/ppc/bcaterr.l,
524 * testsuite/gas/ppc/bcy.d,
525 * testsuite/gas/ppc/bcyerr.d,
526 * testsuite/gas/ppc/bcyerr.l: New tests.
527 * testsuite/gas/ppc/ppc.exp: Run them.
528
c2b1c275
AM
5292019-04-05 Alan Modra <amodra@gmail.com>
530
531 * testsuite/gas/ppc/476.d: Remove trailing spaces.
532 * testsuite/gas/ppc/a2.d: Likewise.
533 * testsuite/gas/ppc/booke.d: Likewise.
534 * testsuite/gas/ppc/booke_xcoff.d: Likewise.
535 * testsuite/gas/ppc/e500.d: Likewise.
536 * testsuite/gas/ppc/e500mc.d: Likewise.
537 * testsuite/gas/ppc/e6500.d: Likewise.
538 * testsuite/gas/ppc/htm.d: Likewise.
539 * testsuite/gas/ppc/power6.d: Likewise.
540 * testsuite/gas/ppc/power8.d: Likewise.
541 * testsuite/gas/ppc/power9.d: Likewise.
542 * testsuite/gas/ppc/vle.d: Likewise.
543
aae9718e
PB
5442019-04-04 Peter Bergner <bergner@linux.ibm.com>
545
546 PR gas/24349
547 * testsuite/gas/ppc/power8.s: (bdnztar, bdnztarl, bdztar, bdztarl,
548 btar, btarl, bdnztar-, bdnztarl-, bdnztar+, bdnztarl+, bdztar-,
549 bdztarl-, bdztar+, bdztarl+, bgetar, bnltar, bgetarl, bnltarl,
550 bletar, bngtar, bletarl, bngtarl, bnetar, bnetarl, bnstar, bnutar,
551 bnstarl, bnutarl, bgetar-, bnltar-, bgetarl-, bnltarl-, bletar-,
552 bngtar-, bletarl-, bngtarl-, bnetar-, bnetarl-, bnstar-, bnutar-,
553 bnstarl-, bnutarl-, bgetar+, bnltar+, bgetarl+, bnltarl+, bletar+,
554 bngtar+, bletarl+, bngtarl+, bnetar+, bnetarl+, bnstar+, bnutar+,
555 bnstarl+, bnutarl+, blttar, blttarl, bgttar, bgttarl, beqtar,
556 beqtarl, bsotar, buntar, bsotarl, buntarl, blttar-, blttarl-,
557 bgttar-, bgttarl-, beqtar-, beqtarl-, bsotar-, buntar-, bsotarl-,
558 buntarl-, blttar+, blttarl+, bgttar+, bgttarl+, beqtar+, beqtarl+,
559 bsotar+, buntar+, bsotarl+, buntarl+, bdnzftar, bdnzftarl, bdzftar,
560 bdzftarl, bftar, bftarl, bftar-, bftarl-, bftar+, bftarl+, bdnzttar,
561 bdnzttarl, bdzttar, bdzttarl, bttar, bttarl, bttar-, bttarl-, bttar+,
562 bttarl+): Add tests of extended mnemonics.
563 * testsuite/gas/ppc/power8.d: Likewise. Update previous bctar tests
564 to expect new extended mnemonics.
565 * testsuite/gas/ppc/a2.s: <bc, bc-, bc+, bcl, bcl-, bcl+>: Update test
566 to not use illegal BO value. Use a more convenient BI value.
567 * testsuite/gas/ppc/a2.d: Update tests for new expect output.
568
403b0b61
MF
5692019-04-03 Max Filippov <jcmvbkbc@gmail.com>
570
571 * config/tc-xtensa.c (convert_frag_immed): Drop
572 convert_frag_immed_finish_loop invocation.
573 (convert_frag_immed_finish_loop): Drop declaration and
574 definition.
575 * config/xtensa-relax.c (widen_spec_list): Replace loop
576 widening that uses addi/addmi with widening that uses l32r
577 and const16.
578
34ef62f4
AV
5792019-04-01 Andre Vieira <andre.simoesdiasvieira@arm.com>
580
581 * config/tc-arm.c (arm_ext_table): New struct type.
582 (arm_arch_option_table): Add new 'arm_ext_table' field.
583 (ARM_EXT,ARM_ADD,ARM_REMOVE, ALL_FP): New macros.
584 (armv5te_ext_table, armv7ve_ext_table, armv7a_ext_table,
585 armv7r_ext_table, armv7em_ext_table, armv8a_ext_table,
586 armv81a_ext_table, armv82a_ext_table, armv84a_ext_table,
587 armv85a_ext_table, armv8m_main_ext_table,
588 armv8r_ext_table): New architecture extension tables.
589 (ARM_ARCH_OPT): Add new default field.
590 (ARM_ARCH_OPT2): New macro.
591 (arm_archs): Extend some architectures with the new architecture
592 extension tables mentioned above.
593 (arm_extensions): Add DEPRECATED comment with instructions to
594 use new table.
595 (arm_parse_extension): Change to use new extension tables.
596 (arm_parse_cpu): Don't change existing behavior.
597 (arm_parse_arch): Change to use new extension tables.
598 * doc/c-arm.texi: Document new architecture extensions.
599 * testsuite/gas/arm/attr-mfpu-neon-fp16.d: Change test to use new
600 extension option rather than -mfpu and change expected behaviour to
601 sane outputs.
602 * testsuite/gas/arm/armv8-2-fp16-scalar-bad-ext.d: New.
603 * testsuite/gas/arm/armv8-2-fp16-scalar-ext.d: New.
604 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb-ext.d: New.
605 * testsuite/gas/arm/armv8-2-fp16-simd-ext.d: New.
606 * testsuite/gas/arm/armv8-2-fp16-simd-thumb-ext.d: New.
607 * testsuite/gas/arm/armv8-2-fp16-simd-warning-ext.d: New.
608 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb-ext.d: New.
609 * testsuite/gas/arm/armv8_2+rdma-ext.d: New.
610 * testsuite/gas/arm/armv8_2-a-fp16-thumb2-ext.d: New.
611 * testsuite/gas/arm/armv8_2-a-fp16_ext.d: New.
612 * testsuite/gas/arm/armv8_3-a-fp-bad-ext.d: New.
613 * testsuite/gas/arm/armv8_3-a-fp-ext.d: New.
614 * testsuite/gas/arm/armv8_3-a-fp16-ext.d: New.
615 * testsuite/gas/arm/armv8_3-a-simd-bad-ext.d: New.
616 * testsuite/gas/arm/armv8_4-a-fp16-ext.d: New.
617 * testsuite/gas/arm/armv8m.main+fp.d: New.
618 * testsuite/gas/arm/armv8m.main+fp.dp.d: New.
619 * testsuite/gas/arm/attr-ext-fpv5-d16.d: New.
620 * testsuite/gas/arm/attr-ext-fpv5.d: New.
621 * testsuite/gas/arm/attr-ext-idiv.d: New.
622 * testsuite/gas/arm/attr-ext-mp.d: New.
623 * testsuite/gas/arm/attr-ext-neon-fp16.d: New.
624 * testsuite/gas/arm/attr-ext-neon-vfpv3.d: New.
625 * testsuite/gas/arm/attr-ext-neon-vfpv4.d: New.
626 * testsuite/gas/arm/attr-ext-sec.d: New.
627 * testsuite/gas/arm/attr-ext-vfpv3-d16-fp16.d: New.
628 * testsuite/gas/arm/attr-ext-vfpv3-d16.d: New.
629 * testsuite/gas/arm/attr-ext-vfpv3-fp16.d: New.
630 * testsuite/gas/arm/attr-ext-vfpv3.d: New.
631 * testsuite/gas/arm/attr-ext-vfpv3xd-fp.d: New.
632 * testsuite/gas/arm/attr-ext-vfpv3xd.d: New.
633 * testsuite/gas/arm/attr-ext-vfpv4-d16.d: New.
634 * testsuite/gas/arm/attr-ext-vfpv4-sp-d16.d: New.
635 * testsuite/gas/arm/attr-ext-vfpv4.d: New.
636 * testsuite/gas/arm/dotprod-mandatory-ext.d: New.
637 * testsuite/gas/arm/fpv5-d16.s: New.
638 * testsuite/gas/arm/fpv5-sp-d16.s: New.
639
96a86c01
AM
6402019-03-28 Alan Modra <amodra@gmail.com>
641
642 PR 24390
643 * testsuite/gas/ppc/476.d: Update mtfsb*.
644 * testsuite/gas/ppc/a2.d: Likewise.
645
86b0c8dd
AM
6462019-03-21 Alan Modra <amodra@gmail.com>
647
648 * emul.h (struct emulation): Delete strip_underscore.
649 * emul-target.h (emul_strip_underscore): Don't define.
650 (emul_struct_name): Update initialization.
651
7553c869
AM
6522019-03-21 Alan Modra <amodra@gmail.com>
653
654 * config/tc-d10v.c (md_apply_fix): Apply BFD_RELOC_8.
655 * config/tc-pdp11.c (md_apply_fix): Likewise.
656 * config/tc-d30v.c (md_apply_fix): Don't emit errors for BFD_RELOC_8,
657 BFD_RELOC_16, and BFD_RELOC_64.
658 * testsuite/gas/all/gas.exp: Move target exclusions for forward
659 test, but not cr16, to..
660 * testsuite/gas/all/forward.d: ..here, with explanation. Remove
661 d10v, d30v, and pdp11 xfails.
662
392a5972
L
6632019-03-19 H.J. Lu <hongjiu.lu@intel.com>
664
665 * config/tc-i386.c (optimize_encoding): Don't check AVX for
666 EVEX vector load/store optimization. Check both operands for
667 ZMM register. Update EVEX vector load/store opcode check.
668 Choose EVEX Disp8 over VEX Disp32.
669 * testsuite/gas/i386/optimize-1.d: Updated.
670 * testsuite/gas/i386/optimize-1a.d: Likewise.
671 * testsuite/gas/i386/optimize-2.d: Likewise.
672 * testsuite/gas/i386/optimize-4.d: Likewise.
673 * testsuite/gas/i386/optimize-5.d: Likewise.
674 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
675 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
676 * testsuite/gas/i386/x86-64-optimize-2b.d: Likewise.
677 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
678 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
679 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
680 * testsuite/gas/i386/optimize-1.s: Add ZMM register load
681 test.
682 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
683
7b1d7ca1
L
6842019-03-19 H.J. Lu <hongjiu.lu@intel.com>
685
686 PR gas/24352
687 * config/tc-i386.c (optimize_encoding): Check only
688 cpu_arch_flags.bitfield.cpuavx512vl.
689 * testsuite/gas/i386/i386.exp: Run x86-64-optimize-2b.
690 * testsuite/gas/i386/x86-64-optimize-2.d: Revert the last
691 change.
692 * testsuite/gas/i386/x86-64-optimize-2b.d: New file.
693 * testsuite/gas/i386/x86-64-optimize-2b.s: Likewise.
694
89199bb5
L
6952019-03-19 H.J. Lu <hongjiu.lu@intel.com>
696
697 PR gas/24359
698 * testsuite/gas/i386/i386.exp: Change optimize-6a, optimize-7,
699 x86-64-optimize-7a and x86-64-optimize-8 tests to run_list_test.
700 Remove optimize-6c and x86-64-optimize-7c tests.
701 * testsuite/gas/i386/noavx-3.l: Updated.
702 * testsuite/gas/i386/noavx-4.d: Likewise.
703 * testsuite/gas/i386/noavx-5.d: Likewise.
704 * testsuite/gas/i386/noavx-3.s: Add AVX512F tests.
705 * testsuite/gas/i386/noavx-4.s: Remove AVX512F tests.
706 * testsuite/gas/i386/nosse-5.s: Likewise.
707 * testsuite/gas/i386/optimize-6a.d: Removed.
708 * testsuite/gas/i386/optimize-6c.d: Likewise.
709 * testsuite/gas/i386/optimize-7.d: Likewise.
710 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
711 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
712 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
713 * testsuite/gas/i386/optimize-6a.l: New file.
714 * testsuite/gas/i386/optimize-6a.s: Likewise.
715 * testsuite/gas/i386/optimize-7.l: Likewise.
716 * testsuite/gas/i386/x86-64-optimize-7a.l: Likewise.
717 * testsuite/gas/i386/x86-64-optimize-7a.s: Likewise.
718 * testsuite/gas/i386/x86-64-optimize-8.l: Likewise.
719
c6cdff46
AM
7202019-03-18 Alan Modra <amodra@gmail.com>
721
722 * config/m68k-parse.y (yylex): Use temp_ilp and restore_ilp.
af60449c
AM
723 * as.c (macro_expr): Likewise.
724 * macro.c (buffer_and_nest): Likewise.
725 * read.c (temp_ilp): Remove FIXME.
c6cdff46 726
a716e60c
L
7272019-03-18 H.J. Lu <hongjiu.lu@intel.com>
728
729 * testsuite/gas/i386/att-regs.d: Pass -O0 to assembler.
730 * testsuite/gas/i386/avx512bw-intel.d: Likewise.
731 * testsuite/gas/i386/avx512bw.d: Likewise.
732 * testsuite/gas/i386/avx512f-intel.d: Likewise.
733 * testsuite/gas/i386/avx512f.d: Likewise.
734 * testsuite/gas/i386/disp32.d: Likewise.
735 * testsuite/gas/i386/intel-regs.d: Likewise.
736 * testsuite/gas/i386/pseudos.d: Likewise.
737 * testsuite/gas/i386/x86-64-disp32.d: Likewise.
738 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
739
97ed31ae
L
7402019-03-18 H.J. Lu <hongjiu.lu@intel.com>
741
742 PR gas/24348
743 * config/tc-i386.c (optimize_encoding): Encode 128-bit and
744 256-bit EVEX vector register load/store instructions as VEX
745 vector register load/store instructions for -O1.
746 * doc/c-i386.texi: Update -O1 documentation.
747 * testsuite/gas/i386/i386.exp: Run PR gas/24348 tests.
748 * testsuite/gas/i386/optimize-1.s: Add tests for EVEX vector
749 load/store instructions.
750 * testsuite/gas/i386/optimize-2.s: Likewise.
751 * testsuite/gas/i386/optimize-3.s: Likewise.
752 * testsuite/gas/i386/optimize-5.s: Likewise.
753 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
754 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
755 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
756 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
757 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
758 * testsuite/gas/i386/optimize-1.d: Updated.
759 * testsuite/gas/i386/optimize-2.d: Likewise.
760 * testsuite/gas/i386/optimize-3.d: Likewise.
761 * testsuite/gas/i386/optimize-4.d: Likewise.
762 * testsuite/gas/i386/optimize-5.d: Likewise.
763 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
764 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
765 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
766 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
767 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
768 * testsuite/gas/i386/optimize-7.d: New file.
769 * testsuite/gas/i386/optimize-7.s: Likewise.
770 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
771 * testsuite/gas/i386/x86-64-optimize-8.s: Likewise.
772
99112332
L
7732019-03-18 H.J. Lu <hongjiu.lu@intel.com>
774
775 * config/tc-i386.c (optimize_encoding): Encode 256-bit/512-bit
776 VEX/EVEX vector register clearing instructions with 128-bit VEX
777 vector register clearing instructions at -O1.
778 * doc/c-i386.texi: Update -O1 and -O2 documentation.
779 * testsuite/gas/i386/i386.exp: Run optimize-1a and
780 x86-64-optimize-2a.
781 * testsuite/gas/i386/optimize-1a.d: New file.
782 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
783
41fd2579
L
7842019-03-17 H.J. Lu <hongjiu.lu@intel.com>
785
786 PR gas/24353
787 * config/tc-i386.c: Include <limits.h> if it exists and try
788 including <sys/param.h> if we have it.
789 (INT_MAX): Define if not defined.
790 (md_parse_option): Set optimize to INT_MAX for -Os.
791 * testsuite/gas/i386/optimize-2.s: Add a test.
792 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
793 * testsuite/gas/i386/optimize-2.d: Updated.
794 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
795
dd22218c
L
7962019-03-17 H.J. Lu <hongjiu.lu@intel.com>
797
798 PR gas/24352
799 * config/tc-i386.c (optimize_encoding): Encode 512-bit EVEX
800 with 128-bit VEX encoding only when AVX is enabled and with
801 128-bit EVEX encoding only when AVX512VL is enabled.
802 * testsuite/gas/i386/i386.exp: Run PR gas/24352 tests.
803 * testsuite/gas/i386/optimize-6.s: New file.
804 * testsuite/gas/i386/optimize-6a.d: Likewise.
805 * testsuite/gas/i386/optimize-6b.d: Likewise.
806 * testsuite/gas/i386/optimize-6c.d: Likewise.
807 * testsuite/gas/i386/x86-64-optimize-7.s: Likewise.
808 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
809 * testsuite/gas/i386/x86-64-optimize-7b.d: Likewise.
810 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
811 * testsuite/gas/i386/x86-64-optimize-2.d: Updated.
812
1c529385
LH
8132019-03-15 Li Hao <li.hao296@zte.com.cn>
814
815 PR 24308
816 * config/tc-i386.c (parse_insn): Check mnemp before using it to
817 determine if a suffix can be trimmed.
818
204f543c
CE
8192019-03-13 Christian Eggers <ceggers@gmx.de>
820
821 * dwarf2dbg.c (out_set_addr): Align relocation within .debug_line.
822
145c4477
CE
8232019-03-13 Christian Eggers <ceggers@gmx.de>
824
825 * dwarf2dbg.c (out_debug_line): Pad size of .debug_line section.
826
5c4e5fe6
CE
8272019-03-13 Christian Eggers <ceggers@gmx.de>
828
829 * dwarf2dbg.c (out_debug_str): Use octets for .debug_string pointers.
830
38c24f42
CE
8312019-03-13 Christian Eggers <ceggers@gmx.de>
832
833 * dwarf2dbg.c (out_debug_line): Use octets for .debug_line prologue.
834
72354279
CE
8352019-03-13 Christian Eggers <ceggers@gmx.de>
836
837 * dwarf2dbg.c (out_debug_line): Use octets for dwarf2 headers.
838 (out_debug_aranges, out_debug_info): Likewise.
839
d18d1999
CE
8402019-03-13 Christian Eggers <ceggers@gmx.de>
841
842 * symbols.h (symbol_temp_new_now_octets): Declare.
843 (symbol_set_value_now_octets, symbol_octets_p): Declare.
844 * symbols.c (struct symbol_flags): New member sy_octets.
845 (symbol_temp_new_now_octets): New function.
846 (resolve_symbol_value): Return octets instead of bytes if
847 sy_octets is set.
848 (symbol_set_value_now_octets): New function.
849 (symbol_octets_p): New function.
850
71250b94
CE
8512019-03-13 Christian Eggers <ceggers@gmx.de>
852
853 * dwarf2dbg.c (dwarf2_emit_insn): Fix calculation of line info offset.
854
0919bfe9
AK
8552019-03-12 Andreas Krebbel <krebbel@linux.ibm.com>
856
857 * testsuite/gas/s390/zarch-arch13.s: Adjust testcase to optable changes.
858 * testsuite/gas/s390/zarch-arch13.d: Likewise.
859
52d6f3ee
MM
8602019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
861
862 * testsuite/gas/aarch64/dotproduct.d: Use multiple "as" lines.
863 * testsuite/gas/aarch64/dotproduct_armv8_4.d: Remove.
864 * testsuite/gas/aarch64/dotproduct_armv8_4.s: Remove.
865 * testsuite/gas/aarch64/illegal-dotproduct.d: Use multiple "as"
866 lines.
867 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: Remove.
868 * testsuite/gas/aarch64/ldst-rcpc.d: Use multiple "as" lines.
869
a894d76a
AM
8702019-02-24 Alan Modra <amodra@gmail.com>
871
872 * config/tc-ppc.c (parse_tls_arg): Wrap in #ifdef OBJ_ELF.
873
f616c36b
AM
8742019-02-24 Alan Modra <amodra@gmail.com>
875
876 PR 24144
877 * config/obj-aout.c (obj_aout_frob_file_before_fix): Write to end
878 of section to ensure file contents cover aligned section size.
879
83f43c83
KT
8802019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
881
882 * config/tc-arm.c (arm_cpus): Add neoverse-n1.
883 * doc/c-arm.texi (-mcpu): Document neoverse-n1 value.
884
516dbc44
KT
8852019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
886
887 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-e1.
888 * doc/c-aarch64.texi (-mcpu): Document neoverse-e1 value.
889
38e75bf2
KT
8902019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
891
892 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n1.
893 * doc/c-aarch64.texi (-mcpu): Document neoverse-n1 value.
894
6f2117ba
PH
8952019-02-19 Paul Hua <paul.hua.gm@gmail.com>
896
897 * NEWS: Mention -m[no-]fix-loongson3-llsc.
898 * configure.ac: Add --enable-mips-fix-loongson3-llsc.
899 Define DEFAULT_MIPS_FIX_LOONGSON3_LLSC.
900 * config.in: Regenerated.
901 * configure: Likewise.
902 * config/tc-mips.c (sync_insn, mips_fix_loongson3_llsc):
903 New variables.
904 (options): New OPTION_FIX_LOONGSON3_LLSC,
905 OPTION_NO_FIX_LOONGSON3_LLSC.
906 (md_longopts): Add -m[no-]fix-loongson3-llsc.
907 (md_begin): Initialize sync insn.
908 (fix_loongson3_llsc): New.
909 (append_insn): Call fix_loongson3_llsc.
910 (md_parse_option): Handle OPTION_FIX_LOONGSON3_LLSC,
911 OPTION_NO_FIX_LOONGSON3_LLSC.
912 (md_show_usage): Display -m[no-]fix-loongson3-llsc.
913 * doc/c-mips.texi: Document -m[no-]fix-loongson3-llsc,
914 --enable-mips-fix-loongson3-llsc=[yes|no].
915
db222310
L
9162019-02-10 H.J. Lu <hongjiu.lu@intel.com>
917
918 PR gas/24165
919 * frags.c (frag_var_init): Pass max_chars to TC_FRAG_INIT as
920 max_bytes.
921 * config/tc-aarch64.h (TC_FRAG_INIT): Add and pass max_bytes to
922 aarch64_init_frag.
923 * /config/tc-arm.h (TC_FRAG_INIT): And and pass max_bytes to
924 arm_init_frag.
925 * config/tc-avr.h (TC_FRAG_INIT): And and ignore max_bytes.
926 * config/tc-ia64.h (TC_FRAG_INIT): Likewise.
927 * config/tc-mmix.h (TC_FRAG_INIT): Likewise.
928 * config/tc-nds32.h (TC_FRAG_INIT): Likewise.
929 * config/tc-ns32k.h (TC_FRAG_INIT): Likewise.
930 * config/tc-rl78.h (TC_FRAG_INIT): Likewise.
931 * config/tc-rx.h (TC_FRAG_INIT): Likewise.
932 * config/tc-score.h (TC_FRAG_INIT): Likewise.
933 * config/tc-tic54x.h (TC_FRAG_INIT): Likewise.
934 * config/tc-tic6x.h (TC_FRAG_INIT): Likewise.
935 * config/tc-xtensa.h (TC_FRAG_INIT): Likewise.
936 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Set to
937 (alignment ? ((1 << alignment) - 1) : 1)
938 (i386_tc_frag_data): Add max_bytes.
939 (TC_FRAG_INIT): Add and track max_bytes.
940 (HANDLE_ALIGN): Replace MAX_MEM_FOR_RS_ALIGN_CODE with
941 fragP->tc_frag_data.max_bytes.
942 * doc/internals.texi: Update TC_FRAG_TYPE with max_bytes.
943
21820ebe
JW
9442019-02-08 Jim Wilson <jimw@sifive.com>
945
946 * config/tc-riscv.c (validate_riscv_insn) <'C'>: Add 'z' support.
947 (riscv_ip) <'C'>: Add 'z' support.
948
f7dd2fb2
TC
9492019-02-07 Tamar Christina <tamar.christina@arm.com>
950
951 * config/tc-arm.c (insns): Redefine THUMB_VARIANT and ARM_VARIANT for
952 hlt to armv1.
953 * testsuite/gas/arm/armv8a-automatic-hlt.d: Update TAGs
954 * testsuite/gas/arm/hlt.d: New test.
955 * testsuite/gas/arm/hlt.s: New test.
956
bd756351
TC
9572019-02-07 Tamar Christina <tamar.christina@arm.com>
958
959 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.d: New test.
960 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.s: New test.
961
6456d318
TC
9622019-02-07 Tamar Christina <tamar.christina@arm.com>
963
964 PR binutils/23212
965 * testsuite/gas/aarch64/undefined_by_elem_sz_l.s: New test.
966 * testsuite/gas/aarch64/undefined_by_elem_sz_l.d: New test.
967
0e7e9601
EB
9682019-02-07 Eric Botcazou <ebotcazou@adacore.com>
969
970 * config/tc-visium.c (md_assemble) <mode_cad>: Align instruction on
971 64-bit boundaries for the GR6.
972 * testsuite/gas/visium/allinsn_gr6.s: Tweak.
973 * testsuite/gas/visium/allinsn_gr6.d: Likewise.
974 * testsuite/gas/visium/bra-1.d: New test.
975 * testsuite/gas/visium/bra-1.s: Likewise.
976 * testsuite/gas/visium/visium.exp: Run bra-1 test.
977
c6f14c0d
JD
9782019-01-31 John Darrington <john@darrington.wattle.id.au>
979
980 * config/tc-s12z.c (lex_imm): Add new argument exp_o.
981 (emit_reloc): New function.
982 (md_apply_fix): [BFD_RELOC_S12Z_OPR] Recognise that it
983 can be either 2 bytes or 3 bytes long.
984 * testsuite/gas/s12z/mov-imm-reloc.d: New file.
985 * testsuite/gas/s12z/mov-imm-reloc.s: New file.
986 * testsuite/gas/s12z/s12z.exp: Add them.
987
91bae991
JD
9882019-01-31 John Darrington <john@darrington.wattle.id.au>
989
990 * config/tc-s12z.c (md_apply_fix): Fix incorrect limits.
991 * testsuite/gas/s12z/pc-rel-bad.d: New file.
992 * testsuite/gas/s12z/pc-rel-bad.l: New file.
993 * testsuite/gas/s12z/pc-rel-bad.s: New file.
994 * testsuite/gas/s12z/pc-rel-good.d: New file.
995 * testsuite/gas/s12z/pc-rel-good.s: New file.
996 * testsuite/gas/s12z/s12z.exp: Add them.
997
1d4d8669
JD
9982019-01-31 John Darrington <john@darrington.wattle.id.au>
999
1000 * config/tc-s12z.c (tfr): Emit warning if operands are the same.
1001 * testsuite/gas/s12z/exg.d: New test case.
1002 * testsuite/gas/s12z/exg.l: New file.
1003
8b3a46f9
JD
10042019-01-31 John Darrington <john@darrington.wattle.id.au>
1005
1006 * config/tc-s12z.c (lex_opr): Add a parameter to indicate whether
1007 immediate mode operands should be permitted.
1008 * testsuite/s12z/imm-dest.d: New file.
1009 * testsuite/s12z/imm-dest.l: New file.
1010 * testsuite/s12z/imm-dest.s: New file.
1011 * testsuite/s12z/s12z.exp: Add them.
1012
fc60b8c8
AK
10132019-01-31 Andreas Krebbel <krebbel@linux.ibm.com>
1014
1015 * config/tc-s390.c (s390_parse_cpu): New entry for arch13.
1016 * doc/c-s390.texi: Document arch13 march option.
1017 * testsuite/gas/s390/s390.exp: Run the arch13 related tests.
1018 * testsuite/gas/s390/zarch-arch13.d: New test.
1019 * testsuite/gas/s390/zarch-arch13.s: New test.
1020 * testsuite/gas/s390/zarch-z13.d: Expect the renamed mnemonics
1021 also for z13.
1022
3ca4a8ec
AM
10232019-01-31 Alan Modra <amodra@gmail.com>
1024
1025 * config/tc-alpha.c (md_apply_fix): Correct range checks for
1026 BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BSR.
1027 * config/tc-arm.c (md_apply_fix): Use llabs rather than abs.
1028 * config/tc-csky.c (get_macro_reg_vals): Pass s to csky_show_error.
1029
75c1c971
MF
10302019-01-28 Max Filippov <jcmvbkbc@gmail.com>
1031
1032 * config/tc-xtensa.c (md_apply_fix): Mark fixups for constant
1033 symbols as done in md_apply_fix.
1034 * testsuite/gas/all/forward.d: Don't XFAIL for xtensa.
1035
2d151af7
NC
10362019-01-28 Nick Clifton <nickc@redhat.com>
1037
1038 * po/fr.po: Updated French translation.
1039 * po/ru.po: Updated Russian translation.
1040
e044973b
AM
10412019-01-28 Alan Modra <amodra@gmail.com>
1042
1043 * configure.ac (ac_checking): Set from bfd/development.sh
1044 development variable.
1045 * configure: Regenerate.
1046
e10620d3
TC
10472019-01-25 Sudakshina Das <sudi.das@arm.com>
1048
1049 * config/tc-aarch64.c (warn_unpredictable_ldst): Exempt
1050 stg, st2g, stzg and stz2g from Xt == Xn with writeback warning.
1051 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Change tests for
1052 stg, stzg, st2g and stz2g.
1053 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
1054 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
1055 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
1056
20a4ca55
SD
10572019-01-25 Sudakshina Das <sudi.das@arm.com>
1058
1059 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for stzgm.
1060 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
1061 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
1062 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
1063
550fd7bf
SD
10642019-01-25 Sudakshina Das <sudi.das@arm.com>
1065 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1066
1067 * config/tc-aarch64.c (parse_address_main): Remove support for
1068 [base]! address expression.
1069 (parse_operands): Remove support for AARCH64_OPND_ADDR_SIMPLE_2.
1070 (warn_unpredictable_ldst): Remove support for ldstgv_indexed.
1071 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Remove tests for ldgv
1072 and stgv.
1073 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
1074 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
1075 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
1076
10c172ba
WH
10772019-01-25 Wu Heng <wu.heng@zte.com.cn>
1078
1079 PR gas/23940
1080 * macro.c (getstring): Check array bound before accessing.
1081
0c56b5cf
AM
10822019-01-25 Alan Modra <amodra@gmail.com>
1083
1084 PR 20902
1085 PR 24125
1086 * read.c (stringer): Delete assertion.
1087
375cd423
NC
10882019-01-21 Nick Clifton <nickc@redhat.com>
1089
1090 * po/uk.po: Updated Ukranian translation.
1091
f48dfe41
NC
10922019-01-19 Nick Clifton <nickc@redhat.com>
1093
1094 * config.in: Regenerate.
1095 * configure: Regenerate.
1096 * po/gas.pot: Regenerate.
1097
f974f26c
NC
10982018-06-24 Nick Clifton <nickc@redhat.com>
1099
1100 2.32 branch created.
1101
dee3ee22
TC
11022019-01-17 Tamar Christina <tamar.christina@arm.com>
1103
1104 * testsuite/gas/arm/archv6t2-1-pe.d: New test.
1105 * testsuite/gas/arm/archv6t2-1.d: Skip pe.
1106 * testsuite/gas/arm/csdb.d: Skip pe.
1107 * testsuite/gas/arm/sb-thumb1-pe.d: New test.
1108 * testsuite/gas/arm/sb-thumb1.d: Skip pe.
1109 * testsuite/gas/arm/sb-thumb2-pe.d: New test.
1110 * testsuite/gas/arm/sb-thumb2.d: Skip pe.
1111 * testsuite/gas/arm/udf.d: Skip pe.
1112
a4bf3d07
JW
11132019-01-16 Kito Cheng <kito@andestech.com>
1114
1115 * testsuite/gas/riscv/attribute-empty.d: New.
1116
2dc8dd17
JW
11172019-01-16 Kito Cheng <kito@andestech.com>
1118 Nelson Chu <nelson@andestech.com>
1119
1120 * config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined.
1121 (riscv_set_options): Add `arch_attr` field.
1122 (riscv_opts): Set default value for arch_attr.
1123 (riscv_write_out_arch_attr): New.
1124 (riscv_set_public_attributes): Likewise.
1125 (riscv_md_end): Likewise.
1126 (riscv_convert_symbolic_attribute): Likewise.
1127 (s_riscv_attribute): Likewise.
1128 (explicit_arch_attr): Likewise.
1129 (riscv_pseudo_table): Add .attribute to the table.
1130 (options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR
1131 enumeration constants.
1132 (md_longopts): Add `march-attr' and `mno-arch-attr' options.
1133 (md_parse_option): Handle the new options.
1134 (md_show_usage): Document the `march-attr' option.
1135 * config/tc-riscv.h (md_end): Define as riscv_md_end
1136 (riscv_md_end): Declare.
1137 (CONVERT_SYMBOLIC_ATTRIBUTE): Define as
1138 riscv_convert_symbolic_attribute.
1139 (riscv_convert_symbolic_attribute): Declare.
1140 (start_assemble): Declare.
1141 * testsuite/gas/elf/elf.exp: Adjust test case for section2.e.
1142 * testsuite/gas/elf/section2.e-riscv: New.
1143 * testsuite/gas/riscv/attribute-01.d: New test
1144 * testsuite/gas/riscv/attribute-02.d: Likewise.
1145 * testsuite/gas/riscv/attribute-03.d: Likewise.
1146 * testsuite/gas/riscv/attribute-04.d: Likewise.
1147 * testsuite/gas/riscv/attribute-04.s: Likewise.
1148 * testsuite/gas/riscv/attribute-05.d: Likewise.
1149 * testsuite/gas/riscv/attribute-05.s: Likewise.
1150 * testsuite/gas/riscv/attribute-06.d: Likewise.
1151 * testsuite/gas/riscv/attribute-06.s: Likewise.
1152 * testsuite/gas/riscv/attribute-07.d: Likewise.
1153 * testsuite/gas/riscv/attribute-07.s: Likewise.
1154 * testsuite/gas/riscv/attribute-08.d: Likewise.
1155 * testsuite/gas/riscv/attribute-08.s: Likewise.
1156 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
1157 * testsuite/gas/riscv/attribute-unknown.s: Likewise.
1158 * testsuite/gas/riscv/empty.l: Likewise.
1159 * doc/c-riscv.texi (.attribute): Add documentation.
1160 * configure.ac (--enable-default-riscv-attribute): New options.
1161 * configure: Re-generate.
1162 * config.in: Re-generate.
1163
d5dcaf1b
JD
11642019-01-16 John Darrington <john@darrington.wattle.id.au>
1165
e7b47f2e
JD
1166 * config/tc-s12z.c (lex_reg_name): Compare the length of the strings
1167 before the contents.
1168 * testsuite/gas/s12z/labels.d: New file.
1169 * testsuite/gas/s12z/labels.s: New file.
1170 * testsuite/gas/s12z/s12z.exp: Add them.
1171 * config/tc-s12z.c (tfr): Change as_bad to as_warn.
77fdb0e0 1172 Also fix message typo and semantics.
e7b47f2e 1173 * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
d5dcaf1b
JD
1174 BFD_RELOC_24.
1175 * testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead
1176 of R_S12Z_EXT24.
1177
55e8aae7
SP
11782019-01-14 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1179
1180 * config/tc-arm.c (arm_ext_v6k_v6t2): Define.
1181 (insns) [ARM_VARIANT]: Modified.
1182 (insns) [THUMB_VARIANT]: To implement few ARMv6K instructions
1183 in ARMv6T2 as well.
1184 * testsuite/gas/arm/archv6t2-1.d: New test.
1185 * testsuite/gas/arm/archv6t2-1.s: Likewise.
1186 * testsuite/gas/arm/archv6t2-2.d: Likewise.
1187
c7af41ec
AM
11882019-01-11 Alan Modra <amodra@gmail.com>
1189
1190 PR 23963
1191 * testsuite/gas/m68hc11/lbranch-dwarf2.d: Adjust for PR23963 change.
1192 * testsuite/gas/m68hc11/opers12-dwarf2.d: Likewise.
1193
12add40e
NC
11942019-01-10 Nick Clifton <nickc@redhat.com>
1195
1196 PR 23963
59aa9b0b
NC
1197 * testsuite/gas/mips/mips16-branch-absolute-1.d: Adjust for the
1198 fact that control characters are now displayed as escape
1199 sequences.
12add40e
NC
1200 * testsuite/gas/mips/mips16-e.d: Likewise.
1201 * testsuite/gas/mips/mips16-pcrel-0.d: Likewise.
1202 * testsuite/gas/mips/mips16-pcrel-1.d: Likewise.
1203 * testsuite/gas/mips/mips16-pcrel-delay-0.d: Likewise.
1204 * testsuite/gas/mips/mips16-pcrel-delay-1.d: Likewise.
1205 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
1206 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
1207 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
1208 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
1209 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: Likewise.
1210 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: Likewise.
1211 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: Likewise.
1212 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: Likewise.
1213 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: Likewise.
1214 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: Likewise.
1215 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d:
1216 Likewise.
1217 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d:
1218 Likewise.
1219 * testsuite/gas/mips/mipsel16-e.d: Likewise.
1220 * testsuite/gas/mips/mipsr6@msa.d: Likewise.
1221 * testsuite/gas/mips/mipsr6@relax-swap3.d: Likewise.
1222 * testsuite/gas/mips/r6-64-n32.d: Likewise.
1223 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1224 * testsuite/gas/mips/r6-n32.d: Likewise.
1225 * testsuite/gas/mips/r6-n64.d: Likewise.
1226 * testsuite/gas/mips/r6.d: Likewise.
1227 * testsuite/gas/mips/tmips16-e.d: Likewise.
1228 * testsuite/gas/mips/tmipsel16-e.d: Likewise.
1229 * testsuite/gas/mn10300/relax.d: Likewise.
1230
39f286cd
JD
12312019-01-09 John Darrington <john@darrington.wattle.id.au>
1232
1233 * testsuite/gas/s12z/jsr.s: New case.
1234 * testsuite/gas/s12z/jsr.d: New case.
1235
3107326d
AP
12362019-01-09 Andrew Paprocki <andrew@ishiboo.com>
1237
1238 * configure: Regenerate.
1239
c8fcc360
KT
12402019-01-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1241
1242 * config/tc-aarch64.c (aarch64_cpus): Add ares.
1243 * doc/c-aarch64.texi (-mcpu): Document ares value.
1244
171b8e19
AM
12452019-01-08 Alan Modra <amodra@gmail.com>
1246
1247 * testsuite/gas/rx/rx.exp: Create generated test source in
1248 current directory.
1249 * testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d,
1250 * testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d,
1251 * testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d,
1252 * testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d,
1253 * testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d,
1254 * testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d,
1255 * testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d,
1256 * testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d,
1257 * testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d,
1258 * testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d,
1259 * testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d,
1260 * testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d,
1261 * testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d,
1262 * testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d,
1263 * testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d,
1264 * testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d,
1265 * testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d,
1266 * testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d,
1267 * testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d,
1268 * testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d,
1269 * testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d,
1270 * testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d,
1271 * testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d,
1272 * testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d,
1273 * testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d,
1274 * testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d,
1275 * testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d,
1276 * testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d,
1277 * testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d,
1278 * testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d,
1279 * testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d,
1280 * testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d,
1281 * testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d,
1282 * testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d,
1283 * testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d,
1284 * testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d,
1285 * testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d,
1286 * testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d,
1287 * testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d,
1288 * testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d,
1289 * testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d,
1290 * testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d,
1291 * testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d,
1292 * testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d,
1293 * testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d,
1294 * testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d,
1295 * testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d,
1296 * testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d,
1297 * testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d,
1298 * testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d,
1299 * testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d,
1300 * testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d,
1301 * testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d,
1302 * testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d,
1303 * testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d,
1304 * testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d,
1305 * testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d,
1306 * testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d,
1307 * testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d,
1308 * testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d,
1309 * testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d,
1310 * testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d,
1311 * testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d,
1312 * testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d,
1313 * testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d,
1314 * testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d,
1315 * testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d,
1316 * testsuite/gas/rx/xor.d: Add #source line.
1317
ef8df4ca
KT
13182019-01-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1319
1320 * config/tc-arm.c (arm_cpus): Add ares.
1321 * doc/c-arm.texi (-mcpu): Document ares value.
1322
6a25bee8
YS
13232019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1324
1325 * config/rx-defs.h (rx_cpu_types): Add type RXV3 and RXV3FPU.
1326 (rx_bfield): Add prototype.
1327 (rx_post): Likewise.
1328 * config/rx-parse.y: Add v3 instructions and Double FPU registers.
1329 (DSIZE): Define.
1330 (POST): Define.
1331 (rx_check_v3): New. check v3 type.
1332 (rx_check_dfpu): New. check have double support.
1333 (double_condition_table): New. dcmp<cond> contiditon.
1334 (check_condition): Multiple condition support.
1335 (rx_lex): RXv3 instructions support.
1336 Add parse dcmp<cond> instruction and Double FPU registers.
1337 (immediate): Disable optimize in dmov #imm case.
1338 (displacement): Add double displacement in dmov instraction.
1339 * config/tc-rx.c (rx_use_conventional_section_names):
1340 Invert default value in rx-*-linux target.
1341 (cpu_type): Add additional ELF flags.
1342 (cpu_type_list): Add RXv3.
1343 (md_parse_option): Refer elf_flags from cpu_type_list.
1344 (md_show_usage): Add rxv3 and rxv3-dfpu.
1345 (rx_bytesT): Add post byte.
1346 (rx_bfield): New. generate bfmov / bfmovz "imm" field.
1347 (rx_post): New. Set instruction post byte.
1348 (md_assemble): Add post byte.
1349 doc/c-rx.texi: Add cpu types.
1350 * testsuite/gas/rx/Xtod.d: New.
1351 * testsuite/gas/rx/Xtod.sm: New.
1352 * testsuite/gas/rx/bfmov.d: New.
1353 * testsuite/gas/rx/bfmov.sm: New.
1354 * testsuite/gas/rx/dabs.d: New.
1355 * testsuite/gas/rx/dabs.sm: New.
1356 * testsuite/gas/rx/dadd.d: New.
1357 * testsuite/gas/rx/dadd.sm: New.
1358 * testsuite/gas/rx/dcmp.d: New.
1359 * testsuite/gas/rx/dcmp.sm: New.
1360 * testsuite/gas/rx/ddiv.d: New.
1361 * testsuite/gas/rx/ddiv.sm: New.
1362 * testsuite/gas/rx/dmov.d: New.
1363 * testsuite/gas/rx/dmov.sm: New.
1364 * testsuite/gas/rx/dmul.d: New.
1365 * testsuite/gas/rx/dmul.sm: New.
1366 * testsuite/gas/rx/dneg.d: New.
1367 * testsuite/gas/rx/dneg.sm: New.
1368 * testsuite/gas/rx/dpopm.d: New.
1369 * testsuite/gas/rx/dpopm.sm: New.
1370 * testsuite/gas/rx/dpushm.d: New.
1371 * testsuite/gas/rx/dpushm.sm: New.
1372 * testsuite/gas/rx/dround.d: New.
1373 * testsuite/gas/rx/dround.sm: New.
1374 * testsuite/gas/rx/dsqrt.d: New.
1375 * testsuite/gas/rx/dsqrt.sm: New.
1376 * testsuite/gas/rx/dsub.d: New.
1377 * testsuite/gas/rx/dsub.sm: New.
1378 * testsuite/gas/rx/dtoX.d: New.
1379 * testsuite/gas/rx/dtoX.sm: New.
1380 * testsuite/gas/rx/macros.inc: Add double FPU registers.
1381 * testsuite/gas/rx/mvfdc.d: New.
1382 * testsuite/gas/rx/mvfdc.sm: New.
1383 * testsuite/gas/rx/mvfdr.d: New.
1384 * testsuite/gas/rx/mvfdr.sm: New.
1385 * testsuite/gas/rx/mvtdc.d: New.
1386 * testsuite/gas/rx/mvtdc.sm: New.
1387 * testsuite/gas/rx/rstr.d: New.
1388 * testsuite/gas/rx/rstr.sm: New.
1389 * testsuite/gas/rx/rx.exp: Use rxv3-dfpu option.
1390 * testsuite/gas/rx/save.d: New.
1391 * testsuite/gas/rx/save.sm: New.
1392 * testsuite/gas/rx/xor.d: New.
1393 * testsuite/gas/rx/xor.sm: Add pattern.
1394
1b2ed39c
WH
13952019-01-04 Wu Heng <wu.heng@zte.com.cn>
1396
1397 PR 24010
1398 * macro.c (get_any_string): Check for end of input whilst scanning
1399 for separators.
1400
bdfb4455
WH
14012019-01-04 Wu Heng <wu.heng@zte.com.cn>
1402
1403 PR 24009
1404 * read.c (stringer): Fix handling of missing '>' character at end
1405 of <...> sequence.
1406
82704155
AM
14072019-01-01 Alan Modra <amodra@gmail.com>
1408
1409 Update year range in copyright notice of all files.
1410
d5c04e1b 1411For older changes see ChangeLog-2018
3499769a 1412\f
d5c04e1b 1413Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
1414
1415Copying and distribution of this file, with or without modification,
1416are permitted in any medium without royalty provided the copyright
1417notice and this notice are preserved.
1418
1419Local Variables:
1420mode: change-log
1421left-margin: 8
1422fill-column: 74
1423version-control: never
1424End:
This page took 0.311273 seconds and 4 git commands to generate.