]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
ix86: Disable AVX512F when disabling AVX2
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
89199bb5
L
12019-03-19 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR gas/24359
4 * testsuite/gas/i386/i386.exp: Change optimize-6a, optimize-7,
5 x86-64-optimize-7a and x86-64-optimize-8 tests to run_list_test.
6 Remove optimize-6c and x86-64-optimize-7c tests.
7 * testsuite/gas/i386/noavx-3.l: Updated.
8 * testsuite/gas/i386/noavx-4.d: Likewise.
9 * testsuite/gas/i386/noavx-5.d: Likewise.
10 * testsuite/gas/i386/noavx-3.s: Add AVX512F tests.
11 * testsuite/gas/i386/noavx-4.s: Remove AVX512F tests.
12 * testsuite/gas/i386/nosse-5.s: Likewise.
13 * testsuite/gas/i386/optimize-6a.d: Removed.
14 * testsuite/gas/i386/optimize-6c.d: Likewise.
15 * testsuite/gas/i386/optimize-7.d: Likewise.
16 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
17 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
18 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
19 * testsuite/gas/i386/optimize-6a.l: New file.
20 * testsuite/gas/i386/optimize-6a.s: Likewise.
21 * testsuite/gas/i386/optimize-7.l: Likewise.
22 * testsuite/gas/i386/x86-64-optimize-7a.l: Likewise.
23 * testsuite/gas/i386/x86-64-optimize-7a.s: Likewise.
24 * testsuite/gas/i386/x86-64-optimize-8.l: Likewise.
25
c6cdff46
AM
262019-03-18 Alan Modra <amodra@gmail.com>
27
28 * config/m68k-parse.y (yylex): Use temp_ilp and restore_ilp.
af60449c
AM
29 * as.c (macro_expr): Likewise.
30 * macro.c (buffer_and_nest): Likewise.
31 * read.c (temp_ilp): Remove FIXME.
c6cdff46 32
a716e60c
L
332019-03-18 H.J. Lu <hongjiu.lu@intel.com>
34
35 * testsuite/gas/i386/att-regs.d: Pass -O0 to assembler.
36 * testsuite/gas/i386/avx512bw-intel.d: Likewise.
37 * testsuite/gas/i386/avx512bw.d: Likewise.
38 * testsuite/gas/i386/avx512f-intel.d: Likewise.
39 * testsuite/gas/i386/avx512f.d: Likewise.
40 * testsuite/gas/i386/disp32.d: Likewise.
41 * testsuite/gas/i386/intel-regs.d: Likewise.
42 * testsuite/gas/i386/pseudos.d: Likewise.
43 * testsuite/gas/i386/x86-64-disp32.d: Likewise.
44 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
45
97ed31ae
L
462019-03-18 H.J. Lu <hongjiu.lu@intel.com>
47
48 PR gas/24348
49 * config/tc-i386.c (optimize_encoding): Encode 128-bit and
50 256-bit EVEX vector register load/store instructions as VEX
51 vector register load/store instructions for -O1.
52 * doc/c-i386.texi: Update -O1 documentation.
53 * testsuite/gas/i386/i386.exp: Run PR gas/24348 tests.
54 * testsuite/gas/i386/optimize-1.s: Add tests for EVEX vector
55 load/store instructions.
56 * testsuite/gas/i386/optimize-2.s: Likewise.
57 * testsuite/gas/i386/optimize-3.s: Likewise.
58 * testsuite/gas/i386/optimize-5.s: Likewise.
59 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
60 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
61 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
62 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
63 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
64 * testsuite/gas/i386/optimize-1.d: Updated.
65 * testsuite/gas/i386/optimize-2.d: Likewise.
66 * testsuite/gas/i386/optimize-3.d: Likewise.
67 * testsuite/gas/i386/optimize-4.d: Likewise.
68 * testsuite/gas/i386/optimize-5.d: Likewise.
69 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
70 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
71 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
72 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
73 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
74 * testsuite/gas/i386/optimize-7.d: New file.
75 * testsuite/gas/i386/optimize-7.s: Likewise.
76 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
77 * testsuite/gas/i386/x86-64-optimize-8.s: Likewise.
78
99112332
L
792019-03-18 H.J. Lu <hongjiu.lu@intel.com>
80
81 * config/tc-i386.c (optimize_encoding): Encode 256-bit/512-bit
82 VEX/EVEX vector register clearing instructions with 128-bit VEX
83 vector register clearing instructions at -O1.
84 * doc/c-i386.texi: Update -O1 and -O2 documentation.
85 * testsuite/gas/i386/i386.exp: Run optimize-1a and
86 x86-64-optimize-2a.
87 * testsuite/gas/i386/optimize-1a.d: New file.
88 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
89
41fd2579
L
902019-03-17 H.J. Lu <hongjiu.lu@intel.com>
91
92 PR gas/24353
93 * config/tc-i386.c: Include <limits.h> if it exists and try
94 including <sys/param.h> if we have it.
95 (INT_MAX): Define if not defined.
96 (md_parse_option): Set optimize to INT_MAX for -Os.
97 * testsuite/gas/i386/optimize-2.s: Add a test.
98 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
99 * testsuite/gas/i386/optimize-2.d: Updated.
100 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
101
dd22218c
L
1022019-03-17 H.J. Lu <hongjiu.lu@intel.com>
103
104 PR gas/24352
105 * config/tc-i386.c (optimize_encoding): Encode 512-bit EVEX
106 with 128-bit VEX encoding only when AVX is enabled and with
107 128-bit EVEX encoding only when AVX512VL is enabled.
108 * testsuite/gas/i386/i386.exp: Run PR gas/24352 tests.
109 * testsuite/gas/i386/optimize-6.s: New file.
110 * testsuite/gas/i386/optimize-6a.d: Likewise.
111 * testsuite/gas/i386/optimize-6b.d: Likewise.
112 * testsuite/gas/i386/optimize-6c.d: Likewise.
113 * testsuite/gas/i386/x86-64-optimize-7.s: Likewise.
114 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
115 * testsuite/gas/i386/x86-64-optimize-7b.d: Likewise.
116 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
117 * testsuite/gas/i386/x86-64-optimize-2.d: Updated.
118
1c529385
LH
1192019-03-15 Li Hao <li.hao296@zte.com.cn>
120
121 PR 24308
122 * config/tc-i386.c (parse_insn): Check mnemp before using it to
123 determine if a suffix can be trimmed.
124
204f543c
CE
1252019-03-13 Christian Eggers <ceggers@gmx.de>
126
127 * dwarf2dbg.c (out_set_addr): Align relocation within .debug_line.
128
145c4477
CE
1292019-03-13 Christian Eggers <ceggers@gmx.de>
130
131 * dwarf2dbg.c (out_debug_line): Pad size of .debug_line section.
132
5c4e5fe6
CE
1332019-03-13 Christian Eggers <ceggers@gmx.de>
134
135 * dwarf2dbg.c (out_debug_str): Use octets for .debug_string pointers.
136
38c24f42
CE
1372019-03-13 Christian Eggers <ceggers@gmx.de>
138
139 * dwarf2dbg.c (out_debug_line): Use octets for .debug_line prologue.
140
72354279
CE
1412019-03-13 Christian Eggers <ceggers@gmx.de>
142
143 * dwarf2dbg.c (out_debug_line): Use octets for dwarf2 headers.
144 (out_debug_aranges, out_debug_info): Likewise.
145
d18d1999
CE
1462019-03-13 Christian Eggers <ceggers@gmx.de>
147
148 * symbols.h (symbol_temp_new_now_octets): Declare.
149 (symbol_set_value_now_octets, symbol_octets_p): Declare.
150 * symbols.c (struct symbol_flags): New member sy_octets.
151 (symbol_temp_new_now_octets): New function.
152 (resolve_symbol_value): Return octets instead of bytes if
153 sy_octets is set.
154 (symbol_set_value_now_octets): New function.
155 (symbol_octets_p): New function.
156
71250b94
CE
1572019-03-13 Christian Eggers <ceggers@gmx.de>
158
159 * dwarf2dbg.c (dwarf2_emit_insn): Fix calculation of line info offset.
160
0919bfe9
AK
1612019-03-12 Andreas Krebbel <krebbel@linux.ibm.com>
162
163 * testsuite/gas/s390/zarch-arch13.s: Adjust testcase to optable changes.
164 * testsuite/gas/s390/zarch-arch13.d: Likewise.
165
52d6f3ee
MM
1662019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
167
168 * testsuite/gas/aarch64/dotproduct.d: Use multiple "as" lines.
169 * testsuite/gas/aarch64/dotproduct_armv8_4.d: Remove.
170 * testsuite/gas/aarch64/dotproduct_armv8_4.s: Remove.
171 * testsuite/gas/aarch64/illegal-dotproduct.d: Use multiple "as"
172 lines.
173 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: Remove.
174 * testsuite/gas/aarch64/ldst-rcpc.d: Use multiple "as" lines.
175
a894d76a
AM
1762019-02-24 Alan Modra <amodra@gmail.com>
177
178 * config/tc-ppc.c (parse_tls_arg): Wrap in #ifdef OBJ_ELF.
179
f616c36b
AM
1802019-02-24 Alan Modra <amodra@gmail.com>
181
182 PR 24144
183 * config/obj-aout.c (obj_aout_frob_file_before_fix): Write to end
184 of section to ensure file contents cover aligned section size.
185
83f43c83
KT
1862019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
187
188 * config/tc-arm.c (arm_cpus): Add neoverse-n1.
189 * doc/c-arm.texi (-mcpu): Document neoverse-n1 value.
190
516dbc44
KT
1912019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
192
193 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-e1.
194 * doc/c-aarch64.texi (-mcpu): Document neoverse-e1 value.
195
38e75bf2
KT
1962019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
197
198 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n1.
199 * doc/c-aarch64.texi (-mcpu): Document neoverse-n1 value.
200
6f2117ba
PH
2012019-02-19 Paul Hua <paul.hua.gm@gmail.com>
202
203 * NEWS: Mention -m[no-]fix-loongson3-llsc.
204 * configure.ac: Add --enable-mips-fix-loongson3-llsc.
205 Define DEFAULT_MIPS_FIX_LOONGSON3_LLSC.
206 * config.in: Regenerated.
207 * configure: Likewise.
208 * config/tc-mips.c (sync_insn, mips_fix_loongson3_llsc):
209 New variables.
210 (options): New OPTION_FIX_LOONGSON3_LLSC,
211 OPTION_NO_FIX_LOONGSON3_LLSC.
212 (md_longopts): Add -m[no-]fix-loongson3-llsc.
213 (md_begin): Initialize sync insn.
214 (fix_loongson3_llsc): New.
215 (append_insn): Call fix_loongson3_llsc.
216 (md_parse_option): Handle OPTION_FIX_LOONGSON3_LLSC,
217 OPTION_NO_FIX_LOONGSON3_LLSC.
218 (md_show_usage): Display -m[no-]fix-loongson3-llsc.
219 * doc/c-mips.texi: Document -m[no-]fix-loongson3-llsc,
220 --enable-mips-fix-loongson3-llsc=[yes|no].
221
db222310
L
2222019-02-10 H.J. Lu <hongjiu.lu@intel.com>
223
224 PR gas/24165
225 * frags.c (frag_var_init): Pass max_chars to TC_FRAG_INIT as
226 max_bytes.
227 * config/tc-aarch64.h (TC_FRAG_INIT): Add and pass max_bytes to
228 aarch64_init_frag.
229 * /config/tc-arm.h (TC_FRAG_INIT): And and pass max_bytes to
230 arm_init_frag.
231 * config/tc-avr.h (TC_FRAG_INIT): And and ignore max_bytes.
232 * config/tc-ia64.h (TC_FRAG_INIT): Likewise.
233 * config/tc-mmix.h (TC_FRAG_INIT): Likewise.
234 * config/tc-nds32.h (TC_FRAG_INIT): Likewise.
235 * config/tc-ns32k.h (TC_FRAG_INIT): Likewise.
236 * config/tc-rl78.h (TC_FRAG_INIT): Likewise.
237 * config/tc-rx.h (TC_FRAG_INIT): Likewise.
238 * config/tc-score.h (TC_FRAG_INIT): Likewise.
239 * config/tc-tic54x.h (TC_FRAG_INIT): Likewise.
240 * config/tc-tic6x.h (TC_FRAG_INIT): Likewise.
241 * config/tc-xtensa.h (TC_FRAG_INIT): Likewise.
242 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Set to
243 (alignment ? ((1 << alignment) - 1) : 1)
244 (i386_tc_frag_data): Add max_bytes.
245 (TC_FRAG_INIT): Add and track max_bytes.
246 (HANDLE_ALIGN): Replace MAX_MEM_FOR_RS_ALIGN_CODE with
247 fragP->tc_frag_data.max_bytes.
248 * doc/internals.texi: Update TC_FRAG_TYPE with max_bytes.
249
21820ebe
JW
2502019-02-08 Jim Wilson <jimw@sifive.com>
251
252 * config/tc-riscv.c (validate_riscv_insn) <'C'>: Add 'z' support.
253 (riscv_ip) <'C'>: Add 'z' support.
254
f7dd2fb2
TC
2552019-02-07 Tamar Christina <tamar.christina@arm.com>
256
257 * config/tc-arm.c (insns): Redefine THUMB_VARIANT and ARM_VARIANT for
258 hlt to armv1.
259 * testsuite/gas/arm/armv8a-automatic-hlt.d: Update TAGs
260 * testsuite/gas/arm/hlt.d: New test.
261 * testsuite/gas/arm/hlt.s: New test.
262
bd756351
TC
2632019-02-07 Tamar Christina <tamar.christina@arm.com>
264
265 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.d: New test.
266 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.s: New test.
267
6456d318
TC
2682019-02-07 Tamar Christina <tamar.christina@arm.com>
269
270 PR binutils/23212
271 * testsuite/gas/aarch64/undefined_by_elem_sz_l.s: New test.
272 * testsuite/gas/aarch64/undefined_by_elem_sz_l.d: New test.
273
0e7e9601
EB
2742019-02-07 Eric Botcazou <ebotcazou@adacore.com>
275
276 * config/tc-visium.c (md_assemble) <mode_cad>: Align instruction on
277 64-bit boundaries for the GR6.
278 * testsuite/gas/visium/allinsn_gr6.s: Tweak.
279 * testsuite/gas/visium/allinsn_gr6.d: Likewise.
280 * testsuite/gas/visium/bra-1.d: New test.
281 * testsuite/gas/visium/bra-1.s: Likewise.
282 * testsuite/gas/visium/visium.exp: Run bra-1 test.
283
c6f14c0d
JD
2842019-01-31 John Darrington <john@darrington.wattle.id.au>
285
286 * config/tc-s12z.c (lex_imm): Add new argument exp_o.
287 (emit_reloc): New function.
288 (md_apply_fix): [BFD_RELOC_S12Z_OPR] Recognise that it
289 can be either 2 bytes or 3 bytes long.
290 * testsuite/gas/s12z/mov-imm-reloc.d: New file.
291 * testsuite/gas/s12z/mov-imm-reloc.s: New file.
292 * testsuite/gas/s12z/s12z.exp: Add them.
293
91bae991
JD
2942019-01-31 John Darrington <john@darrington.wattle.id.au>
295
296 * config/tc-s12z.c (md_apply_fix): Fix incorrect limits.
297 * testsuite/gas/s12z/pc-rel-bad.d: New file.
298 * testsuite/gas/s12z/pc-rel-bad.l: New file.
299 * testsuite/gas/s12z/pc-rel-bad.s: New file.
300 * testsuite/gas/s12z/pc-rel-good.d: New file.
301 * testsuite/gas/s12z/pc-rel-good.s: New file.
302 * testsuite/gas/s12z/s12z.exp: Add them.
303
1d4d8669
JD
3042019-01-31 John Darrington <john@darrington.wattle.id.au>
305
306 * config/tc-s12z.c (tfr): Emit warning if operands are the same.
307 * testsuite/gas/s12z/exg.d: New test case.
308 * testsuite/gas/s12z/exg.l: New file.
309
8b3a46f9
JD
3102019-01-31 John Darrington <john@darrington.wattle.id.au>
311
312 * config/tc-s12z.c (lex_opr): Add a parameter to indicate whether
313 immediate mode operands should be permitted.
314 * testsuite/s12z/imm-dest.d: New file.
315 * testsuite/s12z/imm-dest.l: New file.
316 * testsuite/s12z/imm-dest.s: New file.
317 * testsuite/s12z/s12z.exp: Add them.
318
fc60b8c8
AK
3192019-01-31 Andreas Krebbel <krebbel@linux.ibm.com>
320
321 * config/tc-s390.c (s390_parse_cpu): New entry for arch13.
322 * doc/c-s390.texi: Document arch13 march option.
323 * testsuite/gas/s390/s390.exp: Run the arch13 related tests.
324 * testsuite/gas/s390/zarch-arch13.d: New test.
325 * testsuite/gas/s390/zarch-arch13.s: New test.
326 * testsuite/gas/s390/zarch-z13.d: Expect the renamed mnemonics
327 also for z13.
328
3ca4a8ec
AM
3292019-01-31 Alan Modra <amodra@gmail.com>
330
331 * config/tc-alpha.c (md_apply_fix): Correct range checks for
332 BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BSR.
333 * config/tc-arm.c (md_apply_fix): Use llabs rather than abs.
334 * config/tc-csky.c (get_macro_reg_vals): Pass s to csky_show_error.
335
75c1c971
MF
3362019-01-28 Max Filippov <jcmvbkbc@gmail.com>
337
338 * config/tc-xtensa.c (md_apply_fix): Mark fixups for constant
339 symbols as done in md_apply_fix.
340 * testsuite/gas/all/forward.d: Don't XFAIL for xtensa.
341
2d151af7
NC
3422019-01-28 Nick Clifton <nickc@redhat.com>
343
344 * po/fr.po: Updated French translation.
345 * po/ru.po: Updated Russian translation.
346
e044973b
AM
3472019-01-28 Alan Modra <amodra@gmail.com>
348
349 * configure.ac (ac_checking): Set from bfd/development.sh
350 development variable.
351 * configure: Regenerate.
352
e10620d3
TC
3532019-01-25 Sudakshina Das <sudi.das@arm.com>
354
355 * config/tc-aarch64.c (warn_unpredictable_ldst): Exempt
356 stg, st2g, stzg and stz2g from Xt == Xn with writeback warning.
357 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Change tests for
358 stg, stzg, st2g and stz2g.
359 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
360 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
361 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
362
20a4ca55
SD
3632019-01-25 Sudakshina Das <sudi.das@arm.com>
364
365 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for stzgm.
366 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
367 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
368 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
369
550fd7bf
SD
3702019-01-25 Sudakshina Das <sudi.das@arm.com>
371 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
372
373 * config/tc-aarch64.c (parse_address_main): Remove support for
374 [base]! address expression.
375 (parse_operands): Remove support for AARCH64_OPND_ADDR_SIMPLE_2.
376 (warn_unpredictable_ldst): Remove support for ldstgv_indexed.
377 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Remove tests for ldgv
378 and stgv.
379 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
380 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
381 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
382
10c172ba
WH
3832019-01-25 Wu Heng <wu.heng@zte.com.cn>
384
385 PR gas/23940
386 * macro.c (getstring): Check array bound before accessing.
387
0c56b5cf
AM
3882019-01-25 Alan Modra <amodra@gmail.com>
389
390 PR 20902
391 PR 24125
392 * read.c (stringer): Delete assertion.
393
375cd423
NC
3942019-01-21 Nick Clifton <nickc@redhat.com>
395
396 * po/uk.po: Updated Ukranian translation.
397
f48dfe41
NC
3982019-01-19 Nick Clifton <nickc@redhat.com>
399
400 * config.in: Regenerate.
401 * configure: Regenerate.
402 * po/gas.pot: Regenerate.
403
f974f26c
NC
4042018-06-24 Nick Clifton <nickc@redhat.com>
405
406 2.32 branch created.
407
dee3ee22
TC
4082019-01-17 Tamar Christina <tamar.christina@arm.com>
409
410 * testsuite/gas/arm/archv6t2-1-pe.d: New test.
411 * testsuite/gas/arm/archv6t2-1.d: Skip pe.
412 * testsuite/gas/arm/csdb.d: Skip pe.
413 * testsuite/gas/arm/sb-thumb1-pe.d: New test.
414 * testsuite/gas/arm/sb-thumb1.d: Skip pe.
415 * testsuite/gas/arm/sb-thumb2-pe.d: New test.
416 * testsuite/gas/arm/sb-thumb2.d: Skip pe.
417 * testsuite/gas/arm/udf.d: Skip pe.
418
a4bf3d07
JW
4192019-01-16 Kito Cheng <kito@andestech.com>
420
421 * testsuite/gas/riscv/attribute-empty.d: New.
422
2dc8dd17
JW
4232019-01-16 Kito Cheng <kito@andestech.com>
424 Nelson Chu <nelson@andestech.com>
425
426 * config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined.
427 (riscv_set_options): Add `arch_attr` field.
428 (riscv_opts): Set default value for arch_attr.
429 (riscv_write_out_arch_attr): New.
430 (riscv_set_public_attributes): Likewise.
431 (riscv_md_end): Likewise.
432 (riscv_convert_symbolic_attribute): Likewise.
433 (s_riscv_attribute): Likewise.
434 (explicit_arch_attr): Likewise.
435 (riscv_pseudo_table): Add .attribute to the table.
436 (options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR
437 enumeration constants.
438 (md_longopts): Add `march-attr' and `mno-arch-attr' options.
439 (md_parse_option): Handle the new options.
440 (md_show_usage): Document the `march-attr' option.
441 * config/tc-riscv.h (md_end): Define as riscv_md_end
442 (riscv_md_end): Declare.
443 (CONVERT_SYMBOLIC_ATTRIBUTE): Define as
444 riscv_convert_symbolic_attribute.
445 (riscv_convert_symbolic_attribute): Declare.
446 (start_assemble): Declare.
447 * testsuite/gas/elf/elf.exp: Adjust test case for section2.e.
448 * testsuite/gas/elf/section2.e-riscv: New.
449 * testsuite/gas/riscv/attribute-01.d: New test
450 * testsuite/gas/riscv/attribute-02.d: Likewise.
451 * testsuite/gas/riscv/attribute-03.d: Likewise.
452 * testsuite/gas/riscv/attribute-04.d: Likewise.
453 * testsuite/gas/riscv/attribute-04.s: Likewise.
454 * testsuite/gas/riscv/attribute-05.d: Likewise.
455 * testsuite/gas/riscv/attribute-05.s: Likewise.
456 * testsuite/gas/riscv/attribute-06.d: Likewise.
457 * testsuite/gas/riscv/attribute-06.s: Likewise.
458 * testsuite/gas/riscv/attribute-07.d: Likewise.
459 * testsuite/gas/riscv/attribute-07.s: Likewise.
460 * testsuite/gas/riscv/attribute-08.d: Likewise.
461 * testsuite/gas/riscv/attribute-08.s: Likewise.
462 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
463 * testsuite/gas/riscv/attribute-unknown.s: Likewise.
464 * testsuite/gas/riscv/empty.l: Likewise.
465 * doc/c-riscv.texi (.attribute): Add documentation.
466 * configure.ac (--enable-default-riscv-attribute): New options.
467 * configure: Re-generate.
468 * config.in: Re-generate.
469
d5dcaf1b
JD
4702019-01-16 John Darrington <john@darrington.wattle.id.au>
471
e7b47f2e
JD
472 * config/tc-s12z.c (lex_reg_name): Compare the length of the strings
473 before the contents.
474 * testsuite/gas/s12z/labels.d: New file.
475 * testsuite/gas/s12z/labels.s: New file.
476 * testsuite/gas/s12z/s12z.exp: Add them.
477 * config/tc-s12z.c (tfr): Change as_bad to as_warn.
77fdb0e0 478 Also fix message typo and semantics.
e7b47f2e 479 * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
d5dcaf1b
JD
480 BFD_RELOC_24.
481 * testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead
482 of R_S12Z_EXT24.
483
55e8aae7
SP
4842019-01-14 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
485
486 * config/tc-arm.c (arm_ext_v6k_v6t2): Define.
487 (insns) [ARM_VARIANT]: Modified.
488 (insns) [THUMB_VARIANT]: To implement few ARMv6K instructions
489 in ARMv6T2 as well.
490 * testsuite/gas/arm/archv6t2-1.d: New test.
491 * testsuite/gas/arm/archv6t2-1.s: Likewise.
492 * testsuite/gas/arm/archv6t2-2.d: Likewise.
493
c7af41ec
AM
4942019-01-11 Alan Modra <amodra@gmail.com>
495
496 PR 23963
497 * testsuite/gas/m68hc11/lbranch-dwarf2.d: Adjust for PR23963 change.
498 * testsuite/gas/m68hc11/opers12-dwarf2.d: Likewise.
499
12add40e
NC
5002019-01-10 Nick Clifton <nickc@redhat.com>
501
502 PR 23963
59aa9b0b
NC
503 * testsuite/gas/mips/mips16-branch-absolute-1.d: Adjust for the
504 fact that control characters are now displayed as escape
505 sequences.
12add40e
NC
506 * testsuite/gas/mips/mips16-e.d: Likewise.
507 * testsuite/gas/mips/mips16-pcrel-0.d: Likewise.
508 * testsuite/gas/mips/mips16-pcrel-1.d: Likewise.
509 * testsuite/gas/mips/mips16-pcrel-delay-0.d: Likewise.
510 * testsuite/gas/mips/mips16-pcrel-delay-1.d: Likewise.
511 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
512 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
513 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
514 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
515 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: Likewise.
516 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: Likewise.
517 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: Likewise.
518 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: Likewise.
519 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: Likewise.
520 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: Likewise.
521 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d:
522 Likewise.
523 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d:
524 Likewise.
525 * testsuite/gas/mips/mipsel16-e.d: Likewise.
526 * testsuite/gas/mips/mipsr6@msa.d: Likewise.
527 * testsuite/gas/mips/mipsr6@relax-swap3.d: Likewise.
528 * testsuite/gas/mips/r6-64-n32.d: Likewise.
529 * testsuite/gas/mips/r6-64-n64.d: Likewise.
530 * testsuite/gas/mips/r6-n32.d: Likewise.
531 * testsuite/gas/mips/r6-n64.d: Likewise.
532 * testsuite/gas/mips/r6.d: Likewise.
533 * testsuite/gas/mips/tmips16-e.d: Likewise.
534 * testsuite/gas/mips/tmipsel16-e.d: Likewise.
535 * testsuite/gas/mn10300/relax.d: Likewise.
536
39f286cd
JD
5372019-01-09 John Darrington <john@darrington.wattle.id.au>
538
539 * testsuite/gas/s12z/jsr.s: New case.
540 * testsuite/gas/s12z/jsr.d: New case.
541
3107326d
AP
5422019-01-09 Andrew Paprocki <andrew@ishiboo.com>
543
544 * configure: Regenerate.
545
c8fcc360
KT
5462019-01-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
547
548 * config/tc-aarch64.c (aarch64_cpus): Add ares.
549 * doc/c-aarch64.texi (-mcpu): Document ares value.
550
171b8e19
AM
5512019-01-08 Alan Modra <amodra@gmail.com>
552
553 * testsuite/gas/rx/rx.exp: Create generated test source in
554 current directory.
555 * testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d,
556 * testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d,
557 * testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d,
558 * testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d,
559 * testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d,
560 * testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d,
561 * testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d,
562 * testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d,
563 * testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d,
564 * testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d,
565 * testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d,
566 * testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d,
567 * testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d,
568 * testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d,
569 * testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d,
570 * testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d,
571 * testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d,
572 * testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d,
573 * testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d,
574 * testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d,
575 * testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d,
576 * testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d,
577 * testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d,
578 * testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d,
579 * testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d,
580 * testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d,
581 * testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d,
582 * testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d,
583 * testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d,
584 * testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d,
585 * testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d,
586 * testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d,
587 * testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d,
588 * testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d,
589 * testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d,
590 * testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d,
591 * testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d,
592 * testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d,
593 * testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d,
594 * testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d,
595 * testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d,
596 * testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d,
597 * testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d,
598 * testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d,
599 * testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d,
600 * testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d,
601 * testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d,
602 * testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d,
603 * testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d,
604 * testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d,
605 * testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d,
606 * testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d,
607 * testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d,
608 * testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d,
609 * testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d,
610 * testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d,
611 * testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d,
612 * testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d,
613 * testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d,
614 * testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d,
615 * testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d,
616 * testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d,
617 * testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d,
618 * testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d,
619 * testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d,
620 * testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d,
621 * testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d,
622 * testsuite/gas/rx/xor.d: Add #source line.
623
ef8df4ca
KT
6242019-01-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
625
626 * config/tc-arm.c (arm_cpus): Add ares.
627 * doc/c-arm.texi (-mcpu): Document ares value.
628
6a25bee8
YS
6292019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
630
631 * config/rx-defs.h (rx_cpu_types): Add type RXV3 and RXV3FPU.
632 (rx_bfield): Add prototype.
633 (rx_post): Likewise.
634 * config/rx-parse.y: Add v3 instructions and Double FPU registers.
635 (DSIZE): Define.
636 (POST): Define.
637 (rx_check_v3): New. check v3 type.
638 (rx_check_dfpu): New. check have double support.
639 (double_condition_table): New. dcmp<cond> contiditon.
640 (check_condition): Multiple condition support.
641 (rx_lex): RXv3 instructions support.
642 Add parse dcmp<cond> instruction and Double FPU registers.
643 (immediate): Disable optimize in dmov #imm case.
644 (displacement): Add double displacement in dmov instraction.
645 * config/tc-rx.c (rx_use_conventional_section_names):
646 Invert default value in rx-*-linux target.
647 (cpu_type): Add additional ELF flags.
648 (cpu_type_list): Add RXv3.
649 (md_parse_option): Refer elf_flags from cpu_type_list.
650 (md_show_usage): Add rxv3 and rxv3-dfpu.
651 (rx_bytesT): Add post byte.
652 (rx_bfield): New. generate bfmov / bfmovz "imm" field.
653 (rx_post): New. Set instruction post byte.
654 (md_assemble): Add post byte.
655 doc/c-rx.texi: Add cpu types.
656 * testsuite/gas/rx/Xtod.d: New.
657 * testsuite/gas/rx/Xtod.sm: New.
658 * testsuite/gas/rx/bfmov.d: New.
659 * testsuite/gas/rx/bfmov.sm: New.
660 * testsuite/gas/rx/dabs.d: New.
661 * testsuite/gas/rx/dabs.sm: New.
662 * testsuite/gas/rx/dadd.d: New.
663 * testsuite/gas/rx/dadd.sm: New.
664 * testsuite/gas/rx/dcmp.d: New.
665 * testsuite/gas/rx/dcmp.sm: New.
666 * testsuite/gas/rx/ddiv.d: New.
667 * testsuite/gas/rx/ddiv.sm: New.
668 * testsuite/gas/rx/dmov.d: New.
669 * testsuite/gas/rx/dmov.sm: New.
670 * testsuite/gas/rx/dmul.d: New.
671 * testsuite/gas/rx/dmul.sm: New.
672 * testsuite/gas/rx/dneg.d: New.
673 * testsuite/gas/rx/dneg.sm: New.
674 * testsuite/gas/rx/dpopm.d: New.
675 * testsuite/gas/rx/dpopm.sm: New.
676 * testsuite/gas/rx/dpushm.d: New.
677 * testsuite/gas/rx/dpushm.sm: New.
678 * testsuite/gas/rx/dround.d: New.
679 * testsuite/gas/rx/dround.sm: New.
680 * testsuite/gas/rx/dsqrt.d: New.
681 * testsuite/gas/rx/dsqrt.sm: New.
682 * testsuite/gas/rx/dsub.d: New.
683 * testsuite/gas/rx/dsub.sm: New.
684 * testsuite/gas/rx/dtoX.d: New.
685 * testsuite/gas/rx/dtoX.sm: New.
686 * testsuite/gas/rx/macros.inc: Add double FPU registers.
687 * testsuite/gas/rx/mvfdc.d: New.
688 * testsuite/gas/rx/mvfdc.sm: New.
689 * testsuite/gas/rx/mvfdr.d: New.
690 * testsuite/gas/rx/mvfdr.sm: New.
691 * testsuite/gas/rx/mvtdc.d: New.
692 * testsuite/gas/rx/mvtdc.sm: New.
693 * testsuite/gas/rx/rstr.d: New.
694 * testsuite/gas/rx/rstr.sm: New.
695 * testsuite/gas/rx/rx.exp: Use rxv3-dfpu option.
696 * testsuite/gas/rx/save.d: New.
697 * testsuite/gas/rx/save.sm: New.
698 * testsuite/gas/rx/xor.d: New.
699 * testsuite/gas/rx/xor.sm: Add pattern.
700
1b2ed39c
WH
7012019-01-04 Wu Heng <wu.heng@zte.com.cn>
702
703 PR 24010
704 * macro.c (get_any_string): Check for end of input whilst scanning
705 for separators.
706
bdfb4455
WH
7072019-01-04 Wu Heng <wu.heng@zte.com.cn>
708
709 PR 24009
710 * read.c (stringer): Fix handling of missing '>' character at end
711 of <...> sequence.
712
82704155
AM
7132019-01-01 Alan Modra <amodra@gmail.com>
714
715 Update year range in copyright notice of all files.
716
d5c04e1b 717For older changes see ChangeLog-2018
3499769a 718\f
d5c04e1b 719Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
720
721Copying and distribution of this file, with or without modification,
722are permitted in any medium without royalty provided the copyright
723notice and this notice are preserved.
724
725Local Variables:
726mode: change-log
727left-margin: 8
728fill-column: 74
729version-control: never
730End: