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