1 2019-03-19 H.J. Lu <hongjiu.lu@intel.com>
4 * config/tc-i386.c (optimize_encoding): Check only
5 cpu_arch_flags.bitfield.cpuavx512vl.
6 * testsuite/gas/i386/i386.exp: Run x86-64-optimize-2b.
7 * testsuite/gas/i386/x86-64-optimize-2.d: Revert the last
9 * testsuite/gas/i386/x86-64-optimize-2b.d: New file.
10 * testsuite/gas/i386/x86-64-optimize-2b.s: Likewise.
12 2019-03-19 H.J. Lu <hongjiu.lu@intel.com>
15 * testsuite/gas/i386/i386.exp: Change optimize-6a, optimize-7,
16 x86-64-optimize-7a and x86-64-optimize-8 tests to run_list_test.
17 Remove optimize-6c and x86-64-optimize-7c tests.
18 * testsuite/gas/i386/noavx-3.l: Updated.
19 * testsuite/gas/i386/noavx-4.d: Likewise.
20 * testsuite/gas/i386/noavx-5.d: Likewise.
21 * testsuite/gas/i386/noavx-3.s: Add AVX512F tests.
22 * testsuite/gas/i386/noavx-4.s: Remove AVX512F tests.
23 * testsuite/gas/i386/nosse-5.s: Likewise.
24 * testsuite/gas/i386/optimize-6a.d: Removed.
25 * testsuite/gas/i386/optimize-6c.d: Likewise.
26 * testsuite/gas/i386/optimize-7.d: Likewise.
27 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
28 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
29 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
30 * testsuite/gas/i386/optimize-6a.l: New file.
31 * testsuite/gas/i386/optimize-6a.s: Likewise.
32 * testsuite/gas/i386/optimize-7.l: Likewise.
33 * testsuite/gas/i386/x86-64-optimize-7a.l: Likewise.
34 * testsuite/gas/i386/x86-64-optimize-7a.s: Likewise.
35 * testsuite/gas/i386/x86-64-optimize-8.l: Likewise.
37 2019-03-18 Alan Modra <amodra@gmail.com>
39 * config/m68k-parse.y (yylex): Use temp_ilp and restore_ilp.
40 * as.c (macro_expr): Likewise.
41 * macro.c (buffer_and_nest): Likewise.
42 * read.c (temp_ilp): Remove FIXME.
44 2019-03-18 H.J. Lu <hongjiu.lu@intel.com>
46 * testsuite/gas/i386/att-regs.d: Pass -O0 to assembler.
47 * testsuite/gas/i386/avx512bw-intel.d: Likewise.
48 * testsuite/gas/i386/avx512bw.d: Likewise.
49 * testsuite/gas/i386/avx512f-intel.d: Likewise.
50 * testsuite/gas/i386/avx512f.d: Likewise.
51 * testsuite/gas/i386/disp32.d: Likewise.
52 * testsuite/gas/i386/intel-regs.d: Likewise.
53 * testsuite/gas/i386/pseudos.d: Likewise.
54 * testsuite/gas/i386/x86-64-disp32.d: Likewise.
55 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
57 2019-03-18 H.J. Lu <hongjiu.lu@intel.com>
60 * config/tc-i386.c (optimize_encoding): Encode 128-bit and
61 256-bit EVEX vector register load/store instructions as VEX
62 vector register load/store instructions for -O1.
63 * doc/c-i386.texi: Update -O1 documentation.
64 * testsuite/gas/i386/i386.exp: Run PR gas/24348 tests.
65 * testsuite/gas/i386/optimize-1.s: Add tests for EVEX vector
66 load/store instructions.
67 * testsuite/gas/i386/optimize-2.s: Likewise.
68 * testsuite/gas/i386/optimize-3.s: Likewise.
69 * testsuite/gas/i386/optimize-5.s: Likewise.
70 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
71 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
72 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
73 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
74 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
75 * testsuite/gas/i386/optimize-1.d: Updated.
76 * testsuite/gas/i386/optimize-2.d: Likewise.
77 * testsuite/gas/i386/optimize-3.d: Likewise.
78 * testsuite/gas/i386/optimize-4.d: Likewise.
79 * testsuite/gas/i386/optimize-5.d: Likewise.
80 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
81 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
82 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
83 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
84 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
85 * testsuite/gas/i386/optimize-7.d: New file.
86 * testsuite/gas/i386/optimize-7.s: Likewise.
87 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
88 * testsuite/gas/i386/x86-64-optimize-8.s: Likewise.
90 2019-03-18 H.J. Lu <hongjiu.lu@intel.com>
92 * config/tc-i386.c (optimize_encoding): Encode 256-bit/512-bit
93 VEX/EVEX vector register clearing instructions with 128-bit VEX
94 vector register clearing instructions at -O1.
95 * doc/c-i386.texi: Update -O1 and -O2 documentation.
96 * testsuite/gas/i386/i386.exp: Run optimize-1a and
98 * testsuite/gas/i386/optimize-1a.d: New file.
99 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
101 2019-03-17 H.J. Lu <hongjiu.lu@intel.com>
104 * config/tc-i386.c: Include <limits.h> if it exists and try
105 including <sys/param.h> if we have it.
106 (INT_MAX): Define if not defined.
107 (md_parse_option): Set optimize to INT_MAX for -Os.
108 * testsuite/gas/i386/optimize-2.s: Add a test.
109 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
110 * testsuite/gas/i386/optimize-2.d: Updated.
111 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
113 2019-03-17 H.J. Lu <hongjiu.lu@intel.com>
116 * config/tc-i386.c (optimize_encoding): Encode 512-bit EVEX
117 with 128-bit VEX encoding only when AVX is enabled and with
118 128-bit EVEX encoding only when AVX512VL is enabled.
119 * testsuite/gas/i386/i386.exp: Run PR gas/24352 tests.
120 * testsuite/gas/i386/optimize-6.s: New file.
121 * testsuite/gas/i386/optimize-6a.d: Likewise.
122 * testsuite/gas/i386/optimize-6b.d: Likewise.
123 * testsuite/gas/i386/optimize-6c.d: Likewise.
124 * testsuite/gas/i386/x86-64-optimize-7.s: Likewise.
125 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
126 * testsuite/gas/i386/x86-64-optimize-7b.d: Likewise.
127 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
128 * testsuite/gas/i386/x86-64-optimize-2.d: Updated.
130 2019-03-15 Li Hao <li.hao296@zte.com.cn>
133 * config/tc-i386.c (parse_insn): Check mnemp before using it to
134 determine if a suffix can be trimmed.
136 2019-03-13 Christian Eggers <ceggers@gmx.de>
138 * dwarf2dbg.c (out_set_addr): Align relocation within .debug_line.
140 2019-03-13 Christian Eggers <ceggers@gmx.de>
142 * dwarf2dbg.c (out_debug_line): Pad size of .debug_line section.
144 2019-03-13 Christian Eggers <ceggers@gmx.de>
146 * dwarf2dbg.c (out_debug_str): Use octets for .debug_string pointers.
148 2019-03-13 Christian Eggers <ceggers@gmx.de>
150 * dwarf2dbg.c (out_debug_line): Use octets for .debug_line prologue.
152 2019-03-13 Christian Eggers <ceggers@gmx.de>
154 * dwarf2dbg.c (out_debug_line): Use octets for dwarf2 headers.
155 (out_debug_aranges, out_debug_info): Likewise.
157 2019-03-13 Christian Eggers <ceggers@gmx.de>
159 * symbols.h (symbol_temp_new_now_octets): Declare.
160 (symbol_set_value_now_octets, symbol_octets_p): Declare.
161 * symbols.c (struct symbol_flags): New member sy_octets.
162 (symbol_temp_new_now_octets): New function.
163 (resolve_symbol_value): Return octets instead of bytes if
165 (symbol_set_value_now_octets): New function.
166 (symbol_octets_p): New function.
168 2019-03-13 Christian Eggers <ceggers@gmx.de>
170 * dwarf2dbg.c (dwarf2_emit_insn): Fix calculation of line info offset.
172 2019-03-12 Andreas Krebbel <krebbel@linux.ibm.com>
174 * testsuite/gas/s390/zarch-arch13.s: Adjust testcase to optable changes.
175 * testsuite/gas/s390/zarch-arch13.d: Likewise.
177 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
179 * testsuite/gas/aarch64/dotproduct.d: Use multiple "as" lines.
180 * testsuite/gas/aarch64/dotproduct_armv8_4.d: Remove.
181 * testsuite/gas/aarch64/dotproduct_armv8_4.s: Remove.
182 * testsuite/gas/aarch64/illegal-dotproduct.d: Use multiple "as"
184 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: Remove.
185 * testsuite/gas/aarch64/ldst-rcpc.d: Use multiple "as" lines.
187 2019-02-24 Alan Modra <amodra@gmail.com>
189 * config/tc-ppc.c (parse_tls_arg): Wrap in #ifdef OBJ_ELF.
191 2019-02-24 Alan Modra <amodra@gmail.com>
194 * config/obj-aout.c (obj_aout_frob_file_before_fix): Write to end
195 of section to ensure file contents cover aligned section size.
197 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
199 * config/tc-arm.c (arm_cpus): Add neoverse-n1.
200 * doc/c-arm.texi (-mcpu): Document neoverse-n1 value.
202 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
204 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-e1.
205 * doc/c-aarch64.texi (-mcpu): Document neoverse-e1 value.
207 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
209 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n1.
210 * doc/c-aarch64.texi (-mcpu): Document neoverse-n1 value.
212 2019-02-19 Paul Hua <paul.hua.gm@gmail.com>
214 * NEWS: Mention -m[no-]fix-loongson3-llsc.
215 * configure.ac: Add --enable-mips-fix-loongson3-llsc.
216 Define DEFAULT_MIPS_FIX_LOONGSON3_LLSC.
217 * config.in: Regenerated.
218 * configure: Likewise.
219 * config/tc-mips.c (sync_insn, mips_fix_loongson3_llsc):
221 (options): New OPTION_FIX_LOONGSON3_LLSC,
222 OPTION_NO_FIX_LOONGSON3_LLSC.
223 (md_longopts): Add -m[no-]fix-loongson3-llsc.
224 (md_begin): Initialize sync insn.
225 (fix_loongson3_llsc): New.
226 (append_insn): Call fix_loongson3_llsc.
227 (md_parse_option): Handle OPTION_FIX_LOONGSON3_LLSC,
228 OPTION_NO_FIX_LOONGSON3_LLSC.
229 (md_show_usage): Display -m[no-]fix-loongson3-llsc.
230 * doc/c-mips.texi: Document -m[no-]fix-loongson3-llsc,
231 --enable-mips-fix-loongson3-llsc=[yes|no].
233 2019-02-10 H.J. Lu <hongjiu.lu@intel.com>
236 * frags.c (frag_var_init): Pass max_chars to TC_FRAG_INIT as
238 * config/tc-aarch64.h (TC_FRAG_INIT): Add and pass max_bytes to
240 * /config/tc-arm.h (TC_FRAG_INIT): And and pass max_bytes to
242 * config/tc-avr.h (TC_FRAG_INIT): And and ignore max_bytes.
243 * config/tc-ia64.h (TC_FRAG_INIT): Likewise.
244 * config/tc-mmix.h (TC_FRAG_INIT): Likewise.
245 * config/tc-nds32.h (TC_FRAG_INIT): Likewise.
246 * config/tc-ns32k.h (TC_FRAG_INIT): Likewise.
247 * config/tc-rl78.h (TC_FRAG_INIT): Likewise.
248 * config/tc-rx.h (TC_FRAG_INIT): Likewise.
249 * config/tc-score.h (TC_FRAG_INIT): Likewise.
250 * config/tc-tic54x.h (TC_FRAG_INIT): Likewise.
251 * config/tc-tic6x.h (TC_FRAG_INIT): Likewise.
252 * config/tc-xtensa.h (TC_FRAG_INIT): Likewise.
253 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Set to
254 (alignment ? ((1 << alignment) - 1) : 1)
255 (i386_tc_frag_data): Add max_bytes.
256 (TC_FRAG_INIT): Add and track max_bytes.
257 (HANDLE_ALIGN): Replace MAX_MEM_FOR_RS_ALIGN_CODE with
258 fragP->tc_frag_data.max_bytes.
259 * doc/internals.texi: Update TC_FRAG_TYPE with max_bytes.
261 2019-02-08 Jim Wilson <jimw@sifive.com>
263 * config/tc-riscv.c (validate_riscv_insn) <'C'>: Add 'z' support.
264 (riscv_ip) <'C'>: Add 'z' support.
266 2019-02-07 Tamar Christina <tamar.christina@arm.com>
268 * config/tc-arm.c (insns): Redefine THUMB_VARIANT and ARM_VARIANT for
270 * testsuite/gas/arm/armv8a-automatic-hlt.d: Update TAGs
271 * testsuite/gas/arm/hlt.d: New test.
272 * testsuite/gas/arm/hlt.s: New test.
274 2019-02-07 Tamar Christina <tamar.christina@arm.com>
276 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.d: New test.
277 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.s: New test.
279 2019-02-07 Tamar Christina <tamar.christina@arm.com>
282 * testsuite/gas/aarch64/undefined_by_elem_sz_l.s: New test.
283 * testsuite/gas/aarch64/undefined_by_elem_sz_l.d: New test.
285 2019-02-07 Eric Botcazou <ebotcazou@adacore.com>
287 * config/tc-visium.c (md_assemble) <mode_cad>: Align instruction on
288 64-bit boundaries for the GR6.
289 * testsuite/gas/visium/allinsn_gr6.s: Tweak.
290 * testsuite/gas/visium/allinsn_gr6.d: Likewise.
291 * testsuite/gas/visium/bra-1.d: New test.
292 * testsuite/gas/visium/bra-1.s: Likewise.
293 * testsuite/gas/visium/visium.exp: Run bra-1 test.
295 2019-01-31 John Darrington <john@darrington.wattle.id.au>
297 * config/tc-s12z.c (lex_imm): Add new argument exp_o.
298 (emit_reloc): New function.
299 (md_apply_fix): [BFD_RELOC_S12Z_OPR] Recognise that it
300 can be either 2 bytes or 3 bytes long.
301 * testsuite/gas/s12z/mov-imm-reloc.d: New file.
302 * testsuite/gas/s12z/mov-imm-reloc.s: New file.
303 * testsuite/gas/s12z/s12z.exp: Add them.
305 2019-01-31 John Darrington <john@darrington.wattle.id.au>
307 * config/tc-s12z.c (md_apply_fix): Fix incorrect limits.
308 * testsuite/gas/s12z/pc-rel-bad.d: New file.
309 * testsuite/gas/s12z/pc-rel-bad.l: New file.
310 * testsuite/gas/s12z/pc-rel-bad.s: New file.
311 * testsuite/gas/s12z/pc-rel-good.d: New file.
312 * testsuite/gas/s12z/pc-rel-good.s: New file.
313 * testsuite/gas/s12z/s12z.exp: Add them.
315 2019-01-31 John Darrington <john@darrington.wattle.id.au>
317 * config/tc-s12z.c (tfr): Emit warning if operands are the same.
318 * testsuite/gas/s12z/exg.d: New test case.
319 * testsuite/gas/s12z/exg.l: New file.
321 2019-01-31 John Darrington <john@darrington.wattle.id.au>
323 * config/tc-s12z.c (lex_opr): Add a parameter to indicate whether
324 immediate mode operands should be permitted.
325 * testsuite/s12z/imm-dest.d: New file.
326 * testsuite/s12z/imm-dest.l: New file.
327 * testsuite/s12z/imm-dest.s: New file.
328 * testsuite/s12z/s12z.exp: Add them.
330 2019-01-31 Andreas Krebbel <krebbel@linux.ibm.com>
332 * config/tc-s390.c (s390_parse_cpu): New entry for arch13.
333 * doc/c-s390.texi: Document arch13 march option.
334 * testsuite/gas/s390/s390.exp: Run the arch13 related tests.
335 * testsuite/gas/s390/zarch-arch13.d: New test.
336 * testsuite/gas/s390/zarch-arch13.s: New test.
337 * testsuite/gas/s390/zarch-z13.d: Expect the renamed mnemonics
340 2019-01-31 Alan Modra <amodra@gmail.com>
342 * config/tc-alpha.c (md_apply_fix): Correct range checks for
343 BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BSR.
344 * config/tc-arm.c (md_apply_fix): Use llabs rather than abs.
345 * config/tc-csky.c (get_macro_reg_vals): Pass s to csky_show_error.
347 2019-01-28 Max Filippov <jcmvbkbc@gmail.com>
349 * config/tc-xtensa.c (md_apply_fix): Mark fixups for constant
350 symbols as done in md_apply_fix.
351 * testsuite/gas/all/forward.d: Don't XFAIL for xtensa.
353 2019-01-28 Nick Clifton <nickc@redhat.com>
355 * po/fr.po: Updated French translation.
356 * po/ru.po: Updated Russian translation.
358 2019-01-28 Alan Modra <amodra@gmail.com>
360 * configure.ac (ac_checking): Set from bfd/development.sh
361 development variable.
362 * configure: Regenerate.
364 2019-01-25 Sudakshina Das <sudi.das@arm.com>
366 * config/tc-aarch64.c (warn_unpredictable_ldst): Exempt
367 stg, st2g, stzg and stz2g from Xt == Xn with writeback warning.
368 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Change tests for
369 stg, stzg, st2g and stz2g.
370 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
371 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
372 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
374 2019-01-25 Sudakshina Das <sudi.das@arm.com>
376 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for stzgm.
377 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
378 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
379 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
381 2019-01-25 Sudakshina Das <sudi.das@arm.com>
382 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
384 * config/tc-aarch64.c (parse_address_main): Remove support for
385 [base]! address expression.
386 (parse_operands): Remove support for AARCH64_OPND_ADDR_SIMPLE_2.
387 (warn_unpredictable_ldst): Remove support for ldstgv_indexed.
388 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Remove tests for ldgv
390 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
391 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
392 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
394 2019-01-25 Wu Heng <wu.heng@zte.com.cn>
397 * macro.c (getstring): Check array bound before accessing.
399 2019-01-25 Alan Modra <amodra@gmail.com>
403 * read.c (stringer): Delete assertion.
405 2019-01-21 Nick Clifton <nickc@redhat.com>
407 * po/uk.po: Updated Ukranian translation.
409 2019-01-19 Nick Clifton <nickc@redhat.com>
411 * config.in: Regenerate.
412 * configure: Regenerate.
413 * po/gas.pot: Regenerate.
415 2018-06-24 Nick Clifton <nickc@redhat.com>
419 2019-01-17 Tamar Christina <tamar.christina@arm.com>
421 * testsuite/gas/arm/archv6t2-1-pe.d: New test.
422 * testsuite/gas/arm/archv6t2-1.d: Skip pe.
423 * testsuite/gas/arm/csdb.d: Skip pe.
424 * testsuite/gas/arm/sb-thumb1-pe.d: New test.
425 * testsuite/gas/arm/sb-thumb1.d: Skip pe.
426 * testsuite/gas/arm/sb-thumb2-pe.d: New test.
427 * testsuite/gas/arm/sb-thumb2.d: Skip pe.
428 * testsuite/gas/arm/udf.d: Skip pe.
430 2019-01-16 Kito Cheng <kito@andestech.com>
432 * testsuite/gas/riscv/attribute-empty.d: New.
434 2019-01-16 Kito Cheng <kito@andestech.com>
435 Nelson Chu <nelson@andestech.com>
437 * config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined.
438 (riscv_set_options): Add `arch_attr` field.
439 (riscv_opts): Set default value for arch_attr.
440 (riscv_write_out_arch_attr): New.
441 (riscv_set_public_attributes): Likewise.
442 (riscv_md_end): Likewise.
443 (riscv_convert_symbolic_attribute): Likewise.
444 (s_riscv_attribute): Likewise.
445 (explicit_arch_attr): Likewise.
446 (riscv_pseudo_table): Add .attribute to the table.
447 (options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR
448 enumeration constants.
449 (md_longopts): Add `march-attr' and `mno-arch-attr' options.
450 (md_parse_option): Handle the new options.
451 (md_show_usage): Document the `march-attr' option.
452 * config/tc-riscv.h (md_end): Define as riscv_md_end
453 (riscv_md_end): Declare.
454 (CONVERT_SYMBOLIC_ATTRIBUTE): Define as
455 riscv_convert_symbolic_attribute.
456 (riscv_convert_symbolic_attribute): Declare.
457 (start_assemble): Declare.
458 * testsuite/gas/elf/elf.exp: Adjust test case for section2.e.
459 * testsuite/gas/elf/section2.e-riscv: New.
460 * testsuite/gas/riscv/attribute-01.d: New test
461 * testsuite/gas/riscv/attribute-02.d: Likewise.
462 * testsuite/gas/riscv/attribute-03.d: Likewise.
463 * testsuite/gas/riscv/attribute-04.d: Likewise.
464 * testsuite/gas/riscv/attribute-04.s: Likewise.
465 * testsuite/gas/riscv/attribute-05.d: Likewise.
466 * testsuite/gas/riscv/attribute-05.s: Likewise.
467 * testsuite/gas/riscv/attribute-06.d: Likewise.
468 * testsuite/gas/riscv/attribute-06.s: Likewise.
469 * testsuite/gas/riscv/attribute-07.d: Likewise.
470 * testsuite/gas/riscv/attribute-07.s: Likewise.
471 * testsuite/gas/riscv/attribute-08.d: Likewise.
472 * testsuite/gas/riscv/attribute-08.s: Likewise.
473 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
474 * testsuite/gas/riscv/attribute-unknown.s: Likewise.
475 * testsuite/gas/riscv/empty.l: Likewise.
476 * doc/c-riscv.texi (.attribute): Add documentation.
477 * configure.ac (--enable-default-riscv-attribute): New options.
478 * configure: Re-generate.
479 * config.in: Re-generate.
481 2019-01-16 John Darrington <john@darrington.wattle.id.au>
483 * config/tc-s12z.c (lex_reg_name): Compare the length of the strings
485 * testsuite/gas/s12z/labels.d: New file.
486 * testsuite/gas/s12z/labels.s: New file.
487 * testsuite/gas/s12z/s12z.exp: Add them.
488 * config/tc-s12z.c (tfr): Change as_bad to as_warn.
489 Also fix message typo and semantics.
490 * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
492 * testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead
495 2019-01-14 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
497 * config/tc-arm.c (arm_ext_v6k_v6t2): Define.
498 (insns) [ARM_VARIANT]: Modified.
499 (insns) [THUMB_VARIANT]: To implement few ARMv6K instructions
501 * testsuite/gas/arm/archv6t2-1.d: New test.
502 * testsuite/gas/arm/archv6t2-1.s: Likewise.
503 * testsuite/gas/arm/archv6t2-2.d: Likewise.
505 2019-01-11 Alan Modra <amodra@gmail.com>
508 * testsuite/gas/m68hc11/lbranch-dwarf2.d: Adjust for PR23963 change.
509 * testsuite/gas/m68hc11/opers12-dwarf2.d: Likewise.
511 2019-01-10 Nick Clifton <nickc@redhat.com>
514 * testsuite/gas/mips/mips16-branch-absolute-1.d: Adjust for the
515 fact that control characters are now displayed as escape
517 * testsuite/gas/mips/mips16-e.d: Likewise.
518 * testsuite/gas/mips/mips16-pcrel-0.d: Likewise.
519 * testsuite/gas/mips/mips16-pcrel-1.d: Likewise.
520 * testsuite/gas/mips/mips16-pcrel-delay-0.d: Likewise.
521 * testsuite/gas/mips/mips16-pcrel-delay-1.d: Likewise.
522 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
523 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
524 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
525 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
526 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: Likewise.
527 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: Likewise.
528 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: Likewise.
529 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: Likewise.
530 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: Likewise.
531 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: Likewise.
532 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d:
534 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d:
536 * testsuite/gas/mips/mipsel16-e.d: Likewise.
537 * testsuite/gas/mips/mipsr6@msa.d: Likewise.
538 * testsuite/gas/mips/mipsr6@relax-swap3.d: Likewise.
539 * testsuite/gas/mips/r6-64-n32.d: Likewise.
540 * testsuite/gas/mips/r6-64-n64.d: Likewise.
541 * testsuite/gas/mips/r6-n32.d: Likewise.
542 * testsuite/gas/mips/r6-n64.d: Likewise.
543 * testsuite/gas/mips/r6.d: Likewise.
544 * testsuite/gas/mips/tmips16-e.d: Likewise.
545 * testsuite/gas/mips/tmipsel16-e.d: Likewise.
546 * testsuite/gas/mn10300/relax.d: Likewise.
548 2019-01-09 John Darrington <john@darrington.wattle.id.au>
550 * testsuite/gas/s12z/jsr.s: New case.
551 * testsuite/gas/s12z/jsr.d: New case.
553 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
555 * configure: Regenerate.
557 2019-01-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
559 * config/tc-aarch64.c (aarch64_cpus): Add ares.
560 * doc/c-aarch64.texi (-mcpu): Document ares value.
562 2019-01-08 Alan Modra <amodra@gmail.com>
564 * testsuite/gas/rx/rx.exp: Create generated test source in
566 * testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d,
567 * testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d,
568 * testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d,
569 * testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d,
570 * testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d,
571 * testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d,
572 * testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d,
573 * testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d,
574 * testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d,
575 * testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d,
576 * testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d,
577 * testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d,
578 * testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d,
579 * testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d,
580 * testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d,
581 * testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d,
582 * testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d,
583 * testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d,
584 * testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d,
585 * testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d,
586 * testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d,
587 * testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d,
588 * testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d,
589 * testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d,
590 * testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d,
591 * testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d,
592 * testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d,
593 * testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d,
594 * testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d,
595 * testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d,
596 * testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d,
597 * testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d,
598 * testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d,
599 * testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d,
600 * testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d,
601 * testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d,
602 * testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d,
603 * testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d,
604 * testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d,
605 * testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d,
606 * testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d,
607 * testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d,
608 * testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d,
609 * testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d,
610 * testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d,
611 * testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d,
612 * testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d,
613 * testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d,
614 * testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d,
615 * testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d,
616 * testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d,
617 * testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d,
618 * testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d,
619 * testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d,
620 * testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d,
621 * testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d,
622 * testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d,
623 * testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d,
624 * testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d,
625 * testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d,
626 * testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d,
627 * testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d,
628 * testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d,
629 * testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d,
630 * testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d,
631 * testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d,
632 * testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d,
633 * testsuite/gas/rx/xor.d: Add #source line.
635 2019-01-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
637 * config/tc-arm.c (arm_cpus): Add ares.
638 * doc/c-arm.texi (-mcpu): Document ares value.
640 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
642 * config/rx-defs.h (rx_cpu_types): Add type RXV3 and RXV3FPU.
643 (rx_bfield): Add prototype.
645 * config/rx-parse.y: Add v3 instructions and Double FPU registers.
648 (rx_check_v3): New. check v3 type.
649 (rx_check_dfpu): New. check have double support.
650 (double_condition_table): New. dcmp<cond> contiditon.
651 (check_condition): Multiple condition support.
652 (rx_lex): RXv3 instructions support.
653 Add parse dcmp<cond> instruction and Double FPU registers.
654 (immediate): Disable optimize in dmov #imm case.
655 (displacement): Add double displacement in dmov instraction.
656 * config/tc-rx.c (rx_use_conventional_section_names):
657 Invert default value in rx-*-linux target.
658 (cpu_type): Add additional ELF flags.
659 (cpu_type_list): Add RXv3.
660 (md_parse_option): Refer elf_flags from cpu_type_list.
661 (md_show_usage): Add rxv3 and rxv3-dfpu.
662 (rx_bytesT): Add post byte.
663 (rx_bfield): New. generate bfmov / bfmovz "imm" field.
664 (rx_post): New. Set instruction post byte.
665 (md_assemble): Add post byte.
666 doc/c-rx.texi: Add cpu types.
667 * testsuite/gas/rx/Xtod.d: New.
668 * testsuite/gas/rx/Xtod.sm: New.
669 * testsuite/gas/rx/bfmov.d: New.
670 * testsuite/gas/rx/bfmov.sm: New.
671 * testsuite/gas/rx/dabs.d: New.
672 * testsuite/gas/rx/dabs.sm: New.
673 * testsuite/gas/rx/dadd.d: New.
674 * testsuite/gas/rx/dadd.sm: New.
675 * testsuite/gas/rx/dcmp.d: New.
676 * testsuite/gas/rx/dcmp.sm: New.
677 * testsuite/gas/rx/ddiv.d: New.
678 * testsuite/gas/rx/ddiv.sm: New.
679 * testsuite/gas/rx/dmov.d: New.
680 * testsuite/gas/rx/dmov.sm: New.
681 * testsuite/gas/rx/dmul.d: New.
682 * testsuite/gas/rx/dmul.sm: New.
683 * testsuite/gas/rx/dneg.d: New.
684 * testsuite/gas/rx/dneg.sm: New.
685 * testsuite/gas/rx/dpopm.d: New.
686 * testsuite/gas/rx/dpopm.sm: New.
687 * testsuite/gas/rx/dpushm.d: New.
688 * testsuite/gas/rx/dpushm.sm: New.
689 * testsuite/gas/rx/dround.d: New.
690 * testsuite/gas/rx/dround.sm: New.
691 * testsuite/gas/rx/dsqrt.d: New.
692 * testsuite/gas/rx/dsqrt.sm: New.
693 * testsuite/gas/rx/dsub.d: New.
694 * testsuite/gas/rx/dsub.sm: New.
695 * testsuite/gas/rx/dtoX.d: New.
696 * testsuite/gas/rx/dtoX.sm: New.
697 * testsuite/gas/rx/macros.inc: Add double FPU registers.
698 * testsuite/gas/rx/mvfdc.d: New.
699 * testsuite/gas/rx/mvfdc.sm: New.
700 * testsuite/gas/rx/mvfdr.d: New.
701 * testsuite/gas/rx/mvfdr.sm: New.
702 * testsuite/gas/rx/mvtdc.d: New.
703 * testsuite/gas/rx/mvtdc.sm: New.
704 * testsuite/gas/rx/rstr.d: New.
705 * testsuite/gas/rx/rstr.sm: New.
706 * testsuite/gas/rx/rx.exp: Use rxv3-dfpu option.
707 * testsuite/gas/rx/save.d: New.
708 * testsuite/gas/rx/save.sm: New.
709 * testsuite/gas/rx/xor.d: New.
710 * testsuite/gas/rx/xor.sm: Add pattern.
712 2019-01-04 Wu Heng <wu.heng@zte.com.cn>
715 * macro.c (get_any_string): Check for end of input whilst scanning
718 2019-01-04 Wu Heng <wu.heng@zte.com.cn>
721 * read.c (stringer): Fix handling of missing '>' character at end
724 2019-01-01 Alan Modra <amodra@gmail.com>
726 Update year range in copyright notice of all files.
728 For older changes see ChangeLog-2018
730 Copyright (C) 2019 Free Software Foundation, Inc.
732 Copying and distribution of this file, with or without modification,
733 are permitted in any medium without royalty provided the copyright
734 notice and this notice are preserved.
740 version-control: never