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