]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
ld -r script fixes
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
b0d99ba9
AM
12018-10-28 Alan Modra <amodra@gmail.com>
2
3 PR 23837
4 * config/tc-hppa.c: Don't include struc-symbol.h.
8fc91c40 5 (pa_build_unwind_subspace): Call symbol_get_frag rather than
b0d99ba9
AM
6 referencing sy_frag.
7
405b6196
JD
82018-10-23 John Darrington <john@darrington.wattle.id.au>
9
10 * config/tc-s12z.c (md_apply_fix): Handle BFD_RELOC_16 for fixups
11 without a symbol.
12
1f38083f
AM
132018-10-22 Alan Modra <amodra@gmail.com>
14
15 * testsuite/gas/all/simple-forward.d,
16 * testsuite/gas/all/simple-forward.s: New test.
17 * testsuite/gas/all/gas.exp: Run it.
18 * testsuite/gas/all/eqv-dot.d: xfail tic30 and tic54x.
19
e1748c54
AM
202018-10-22 Alan Modra <amodra@gmail.com>
21
22 * config/tc-alpha.c (md_apply_fix): Handle BFD_RELOC_8 for fixups
23 without a symbol.
24 * testsuite/gas/all/gas.exp: Don't xfail forward test here..
25 * testsuite/gas/all/forward.d: ..do so here, removing alpha.
26
38cf168b
AM
272018-10-22 Alan Modra <amodra@gmail.com>
28
29 PR 23040
30 * symbols.c (get_real_sym): New function.
31 (symbol_same_p): Use get_real_sym.
32 (symbol_clone_if_forward_ref): Save real original add_symbol and
33 op_symbol for comparison against that returned from lookup or
34 recursive calls.
35 * dwarf2dbg.c (set_or_check_view): Use expr_section for
36 expression symbols, not absolute_section.
37 (dwarf2_directive_loc): Check symbol_equated_p and tidy cloning
38 of view symbols.
39 * read.c (s_leb128): Don't use deferred_expression.
40
e4c2619a
AM
412018-10-20 Alan Modra <amodra@gmail.com>
42
43 PR 23800
44 * expr.c (expr): Don't simplify expressions involving forward_ref
45 symbols when mode is expr_defer.
46 * config/tc-spu.c (spu_cons): Parse expression using normal
47 expression evaluation if @ppu is not detected.
48 * testsuite/gas/all/eqv-dot.d,
49 * testsuite/gas/all/eqv-dot.s: New test.
50 * testsuite/gas/all/gas.exp: Run it.
51
bacb77d0
TC
522018-10-19 Tamar Christina <tamar.christina@arm.com>
53
54 * testsuite/gas/arm/undefined-insn-arm.d: Widen pe skip.
55 * testsuite/gas/arm/undefined-insn-thumb.d: Likewise.
56
0b347048
TC
572018-10-19 Tamar Christina <tamar.christina@arm.com>
58
59 * testsuite/gas/arm/undefined-insn-arm.d: New test.
60 * testsuite/gas/arm/undefined-insn-thumb.d: New test.
61 * testsuite/gas/arm/undefined-insn.s: New test.
62
33d64ca5
FN
632018-10-19 Fredrik Noring <noring@nocrew.org>
64
65 * testsuite/gas/mips/r5900.s: Extend the R5900 short loop fix
66 test with border cases.
67 * testsuite/gas/mips/r5900.d: Add extra expected disassembly.
68 * config/tc-mips.c (can_swap_branch_p): Clarify the R5900 short
69 loop hardware bug conditions. Correct note on the R5900
70 instruction count short loop fix.
71
66e6f0b7
MM
722018-10-16 Matthew Malcomson <matthew.malcomson@arm.com>
73
74 * testsuite/gas/aarch64/illegal-dotproduct.d: New test.
75 * testsuite/gas/aarch64/illegal-dotproduct.l: New test.
76 * testsuite/gas/aarch64/illegal-dotproduct.s: New test.
77
78
bf2dd8d7
AM
792018-10-15 Alan Modra <amodra@gmail.com>
80
81 PR 23534
82 * as.c (main): Exit with fatal error if bfd_init returns an
83 unexpected value.
84
a9597def
JB
852018-10-11 Jan Beulich <jbeulich@suse.com>
86
87 * testsuite/gas/i386/xmmword.s: Add MOVQ / VMOVQ cases.
88 * testsuite/gas/i386/xmmword.l: Adjust expectations.
89
673fe0f0
JB
902018-10-10 Jan Beulich <jbeulich@suse.com>
91
92 * config/tc-i386.c (parse_insn, process_suffix): Replace
93 opcode_modifier.size<N> uses.
94
104fefee
SD
952018-10-09 Sudakshina Das <sudi.das@arm.com>
96
97 * config/tc-aarch64.c (aarch64_features): Add new "ssbs".
98 * doc/c-aarch64.texi: Document the same.
99 * testsuite/gas/aarch64/ssbs-illegal1.d: New test.
100 * testsuite/gas/aarch64/ssbs-illegal1.l: New test.
101 * testsuite/gas/aarch64/ssbs-illegal2.d: New test.
102 * testsuite/gas/aarch64/ssbs-illegal2.l: New test.
103 * testsuite/gas/aarch64/ssbs.s: New test.
104 * testsuite/gas/aarch64/ssbs1.d: Test with +ssbs
105 * testsuite/gas/aarch64/ssbs2.d: Test with armv8.5-a.
106
a97330e7
SD
1072018-10-09 Sudakshina Das <sudi.das@arm.com>
108
109 * testsuite/gas/aarch64/sysreg-4.s: Test registers
110 scxtnum_el[0,1,2,3,12] and id_pfr2_el1.
111 * testsuite/gas/aarch64/sysreg-4.d: Likewise.
112 * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise.
113
ff605452
SD
1142018-10-09 Sudakshina Das <sudi.das@arm.com>
115
116 * config/tc-aarch64.c (parse_bti_operand): New.
117 (process_omitted_operand): Add case for AARCH64_OPND_BTI_TARGET.
118 (parse_operands): Likewise.
119 * testsuite/gas/aarch64/system.d: Update for BTI.
120 * testsuite/gas/aarch64/bti.s: New.
121 * testsuite/gas/aarch64/bti.d: New.
122 * testsuite/gas/aarch64/illegal-bti.d: New.
123 * testsuite/gas/aarch64/illegal-bti.l: New.
124
af4bcb4c
SD
1252018-10-09 Sudakshina Das <sudi.das@arm.com>
126
127 * config/tc-aarch64.c (aarch64_features): New "rng" option.
128 * doc/c-aarch64.texi: Document the same.
129 * testsuite/gas/aarch64/sysreg-4.s: Test both instructions.
130 * testsuite/gas/aarch64/sysreg-4.d: Likewise.
131 * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise.
132
3fd229a4
SD
1332018-10-09 Sudakshina Das <sudi.das@arm.com>
134
135 * testsuite/gas/aarch64/sysreg-4.s: Test instruction.
136 * testsuite/gas/aarch64/sysreg-4.d: Likewise.
137 * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise.
138
2ac435d4
SD
1392018-10-09 Sudakshina Das <sudi.das@arm.com>
140
141 * config/tc-aarch64.c (aarch64_sys_regs_sr_hsh): New.
142 (parse_operands): Add entry for AARCH64_OPND_SYSREG_SR.
143 (md_begin): Allocate and initialize aarch64_sys_regs_sr_hsh
144 with aarch64_sys_regs_sr.
145 (aarch64_features): Add new "predres" option for older
146 architectures.
147 * doc/c-aarch64.texi: Document the same.
148 * testsuite/gas/aarch64/sysreg-4.s: New.
149 * testsuite/gas/aarch64/sysreg-4.d: New.
150 * testsuite/gas/aarch64/illegal-sysreg-4.d: New.
151 * testsuite/gas/aarch64/illegal-sysreg-4.l: New.
152 * testsuite/gas/aarch64/predres.s: New.
153 * testsuite/gas/aarch64/predres.d: New.
154
68dfbb92
SD
1552018-10-09 Sudakshina Das <sudi.das@arm.com>
156
157 * config/tc-aarch64.c (aarch64_features): Add new "sb" option
158 for older architectures.
159 * doc/c-aarch64.texi: Document the same.
160 * testsuite/gas/aarch64/sb.s: New.
161 * testsuite/gas/aarch64/sb.d: New.
162
13c60ad7
SD
1632018-10-09 Sudakshina Das <sudi.das@arm.com>
164
165 * testsuite/gas/aarch64/armv8_5-a-dp.s: New.
166 * testsuite/gas/aarch64/armv8_5-a-dp.d: New.
167
70d56181
SD
1682018-10-09 Sudakshina Das <sudi.das@arm.com>
169
170 * config/tc-aarch64.c (aarch64_archs): New entry for armv8.5-a.
171 * doc/c-aarch64.texi: Add documentation for the same.
172
a4e78aa5
L
1732018-10-05 H.J. Lu <hongjiu.lu@intel.com>
174
70d56181 175
a4e78aa5
L
176 * testsuite/gas/i386/se1.s: Add enclv.
177 * testsuite/gas/i386/x86-64-se1.s: Likewise.
178 * testsuite/gas/i386/se1.d: Updated.
179 * testsuite/gas/i386/x86-64-se1.d: Likewise.
180
dad0c3bf
SD
1812018-10-05 Sudakshina Das <sudi.das@arm.com>
182
183 * config/tc-arm.c (arm_ext_predres): New.
184 (insns): Add new cfprctx, dvprctx and cpprctx instructions.
185 (arm_extensions): Add "predres".
186 * doc/c-arm.texi: Document the above.
187 * testsuite/gas/arm/predres-bad.d: New test.
188 * testsuite/gas/arm/predres-bad.l: New test.
189 * testsuite/gas/arm/predres.s: New test.
190 * testsuite/gas/arm/predres1.d: New test.
191 * testsuite/gas/arm/predres2.d: New test.
192
7fadb25d
SD
1932018-10-05 Sudakshina Das <sudi.das@arm.com>
194
195 * config/tc-arm.c (arm_ext_sb): New.
196 (insns): Add new sb instruction.
197 (arm_extensions): Add "sb".
198 * doc/c-arm.texi: Document the above.
199 * testsuite/gas/arm/sb-bad.d: New test.
200 * testsuite/gas/arm/sb-bad.l: New test.
201 * testsuite/gas/arm/sb-thumb1.d: New test.
202 * testsuite/gas/arm/sb-thumb2.d: New test.
203 * testsuite/gas/arm/sb.s: New test.
204 * testsuite/gas/arm/sb1.d: New test.
205 * testsuite/gas/arm/sb2.d: New test.
206
23f233a5
SD
2072018-10-05 Sudakshina Das <sudi.das@arm.com>
208
209 * config/tc-arm.c (arm_archs): New entry for armv8.5-a.
210 (cpu_arch_ver): Likewise.
211 * doc/c-arm.texi: Add documentation for the same.
212 * testsuite/gas/arm/attr-march-armv8_5-a.d: New.
213
1f041c6e
SH
2142018-10-05 Stafford Horne <shorne@gmail.com>
215
216 * doc/Makefile.am (CPU_DOCS): Add entry for OpenRISC.
217 * doc/Makefile.in: Regenerated.
218 * doc/all.texi: Set OPENRISC.
219 * doc/as.texi: Document OpenRISC.
220 * doc/c-or1k.texi: New file.
221
07f5f4c6
RH
2222018-10-05 Stafford Horne <shorne@gmail.com>
223
224 * testsuite/gas/or1k/allinsn.s: Add instruction tests for
225 l.muld, l.muldu, l.macu, l.msb, l.msbu.
226 * testsuite/gas/or1k/allinsn.d: Add test results for new
227 instructions.
228
c8e98e36
SH
2292018-10-05 Richard Henderson <rth@twiddle.net>
230
231 * config/tc-or1k.c (or1k_apply_fix): Add BFD_RELOC_OR1K_TLS_GD_PG21,
232 BFD_RELOC_OR1K_TLS_GD_LO13, BFD_RELOC_OR1K_TLS_LDM_PG21,
233 BFD_RELOC_OR1K_TLS_LDM_LO13, BFD_RELOC_OR1K_TLS_IE_PG21,
234 BFD_RELOC_OR1K_TLS_IE_LO13.
235 * testsuite/gas/or1k/allinsn.s: Add test for l.adrp.
236 * testsuite/gas/or1k/allinsn.d: Add test results for new
237 instructions.
238 * testsuite/gas/or1k/reloc-1.s: Add tests to generate
239 R_OR1K_PLTA26, R_OR1K_GOT_PG21, R_OR1K_TLS_GD_PG21, R_OR1K_TLS_LDM_PG21,
240 R_OR1K_TLS_IE_PG21, R_OR1K_LO13, R_OR1K_GOT_LO13, R_OR1K_TLS_GD_LO13,
241 R_OR1K_TLD_LDM_LO13, R_OR1K_TLS_IE_LO13, R_OR1K_LO13, R_OR1K_SLO13
242 relocations.
243 * testsuite/gas/or1k/reloc-1.d: Add relocation results for
244 tests.
245 * testsuite/gas/or1k/reloc-2.s: Add negative tests for store to
246 gotpo().
247 * testsuite/gas/or1k/reloc-2.l: Add expected error test results.
248
1c4f3780
RH
2492018-10-05 Richard Henderson <rth@twiddle.net>
250
251 * testsuite/gas/or1k/allinsn.d (l_ha): Add result for ha() relocation.
252 * testsuite/gas/or1k/allinsn.s (l_ha): Add test for ha() relocations.
253 * testsuite/gas/or1k/allinsn.exp: Renamed to or1k.exp.
254 * testsuite/gas/or1k/or1k.exp: Add reloc-2 list test.
255 * testsuite/gas/or1k/reloc-1.d: New file.
256 * testsuite/gas/or1k/reloc-1.s: New file.
257 * testsuite/gas/or1k/reloc-2.l: New file.
258 * testsuite/gas/or1k/reloc-2.s: New file.
259
e66cfcef
TC
2602018-10-03 Tamar Christina <tamar.christina@arm.com>
261
262 * testsuite/gas/aarch64/sve-movprfx_1.d: New test.
263 * testsuite/gas/aarch64/sve-movprfx_1.s: New test.
264 * testsuite/gas/aarch64/sve-movprfx_10.d: New test.
265 * testsuite/gas/aarch64/sve-movprfx_10.l: New test.
266 * testsuite/gas/aarch64/sve-movprfx_10.s: New test.
267 * testsuite/gas/aarch64/sve-movprfx_11.d: New test.
268 * testsuite/gas/aarch64/sve-movprfx_11.s: New test.
269 * testsuite/gas/aarch64/sve-movprfx_12.d: New test.
270 * testsuite/gas/aarch64/sve-movprfx_12.s: New test.
271 * testsuite/gas/aarch64/sve-movprfx_13.d: New test.
272 * testsuite/gas/aarch64/sve-movprfx_13.l: New test.
273 * testsuite/gas/aarch64/sve-movprfx_13.s: New test.
274 * testsuite/gas/aarch64/sve-movprfx_14.d: New test.
275 * testsuite/gas/aarch64/sve-movprfx_14.l: New test.
276 * testsuite/gas/aarch64/sve-movprfx_14.s: New test.
277 * testsuite/gas/aarch64/sve-movprfx_15.d: New test.
278 * testsuite/gas/aarch64/sve-movprfx_15.l: New test.
279 * testsuite/gas/aarch64/sve-movprfx_15.s: New test.
280 * testsuite/gas/aarch64/sve-movprfx_16.d: New test.
281 * testsuite/gas/aarch64/sve-movprfx_16.s: New test.
282 * testsuite/gas/aarch64/sve-movprfx_17.d: New test.
283 * testsuite/gas/aarch64/sve-movprfx_17.l: New test.
284 * testsuite/gas/aarch64/sve-movprfx_17.s: New test.
285 * testsuite/gas/aarch64/sve-movprfx_18.d: New test.
286 * testsuite/gas/aarch64/sve-movprfx_18.l: New test.
287 * testsuite/gas/aarch64/sve-movprfx_18.s: New test.
288 * testsuite/gas/aarch64/sve-movprfx_19.d: New test.
289 * testsuite/gas/aarch64/sve-movprfx_19.s: New test.
290 * testsuite/gas/aarch64/sve-movprfx_2.d: New test.
291 * testsuite/gas/aarch64/sve-movprfx_2.l: New test.
292 * testsuite/gas/aarch64/sve-movprfx_2.s: New test.
293 * testsuite/gas/aarch64/sve-movprfx_20.d: New test.
294 * testsuite/gas/aarch64/sve-movprfx_20.l: New test.
295 * testsuite/gas/aarch64/sve-movprfx_20.s: New test.
296 * testsuite/gas/aarch64/sve-movprfx_21.d: New test.
297 * testsuite/gas/aarch64/sve-movprfx_21.s: New test.
298 * testsuite/gas/aarch64/sve-movprfx_22.d: New test.
299 * testsuite/gas/aarch64/sve-movprfx_22.l: New test.
300 * testsuite/gas/aarch64/sve-movprfx_22.s: New test.
301 * testsuite/gas/aarch64/sve-movprfx_23.d: New test.
302 * testsuite/gas/aarch64/sve-movprfx_23.l: New test.
303 * testsuite/gas/aarch64/sve-movprfx_23.s: New test.
304 * testsuite/gas/aarch64/sve-movprfx_24.d: New test.
305 * testsuite/gas/aarch64/sve-movprfx_24.l: New test.
306 * testsuite/gas/aarch64/sve-movprfx_24.s: New test.
307 * testsuite/gas/aarch64/sve-movprfx_25.d: New test.
308 * testsuite/gas/aarch64/sve-movprfx_25.l: New test.
309 * testsuite/gas/aarch64/sve-movprfx_25.s: New test.
310 * testsuite/gas/aarch64/sve-movprfx_26.d: New test.
311 * testsuite/gas/aarch64/sve-movprfx_26.l: New test.
312 * testsuite/gas/aarch64/sve-movprfx_26.s: New test.
313 * testsuite/gas/aarch64/sve-movprfx_3.d: New test.
314 * testsuite/gas/aarch64/sve-movprfx_3.l: New test.
315 * testsuite/gas/aarch64/sve-movprfx_3.s: New test.
316 * testsuite/gas/aarch64/sve-movprfx_4.d: New test.
317 * testsuite/gas/aarch64/sve-movprfx_4.l: New test.
318 * testsuite/gas/aarch64/sve-movprfx_4.s: New test.
319 * testsuite/gas/aarch64/sve-movprfx_5.d: New test.
320 * testsuite/gas/aarch64/sve-movprfx_5.s: New test.
321 * testsuite/gas/aarch64/sve-movprfx_6.d: New test.
322 * testsuite/gas/aarch64/sve-movprfx_6.l: New test.
323 * testsuite/gas/aarch64/sve-movprfx_6.s: New test.
324 * testsuite/gas/aarch64/sve-movprfx_7.d: New test.
325 * testsuite/gas/aarch64/sve-movprfx_7.l: New test.
326 * testsuite/gas/aarch64/sve-movprfx_7.s: New test.
327 * testsuite/gas/aarch64/sve-movprfx_8.d: New test.
328 * testsuite/gas/aarch64/sve-movprfx_8.l: New test.
329 * testsuite/gas/aarch64/sve-movprfx_8.s: New test.
330 * testsuite/gas/aarch64/sve-movprfx_9.d: New test.
331 * testsuite/gas/aarch64/sve-movprfx_9.l: New test.
332 * testsuite/gas/aarch64/sve-movprfx_9.s: New test.
333
bde90be2
TC
3342018-10-03 Tamar Christina <tamar.christina@arm.com>
335
336 * testsuite/gas/aarch64/sve-movprfx.d: New test.
337 * testsuite/gas/aarch64/sve-movprfx.s: New test.
338 * testsuite/gas/aarch64/sve.d: Refactor.
339 * testsuite/gas/aarch64/sve.s: Refactor.
340 * testsuite/gas/aarch64/sysreg-diagnostic.d: Update.
341
4f5d2536
TC
3422018-10-03 Tamar Christina <tamar.christina@arm.com>
343
344 * config/tc-aarch64.c (force_automatic_sequence_close,
345 aarch64_frob_section): New.
346 * config/tc-aarch64.h (tc_frob_section, aarch64_frob_section): New.
347
a68f4cd2
TC
3482018-10-03 Tamar Christina <tamar.christina@arm.com>
349
350 * config/tc-aarch64.c (output_operand_error_report): Order warnings.
351
7e84b55d
TC
3522018-10-03 Tamar Christina <tamar.christina@arm.com>
353
354 * config/tc-aarch64.c (now_instr_sequence):
355 (*insn_sequence, now_instr_sequence): New.
356 (output_operand_error_record, do_encode): Add insn_sequence.
357 (md_assemble): Update insn_sequence.
358 (try_to_encode_as_unscaled_ldst, fix_mov_imm_insn, fix_insn):
359 Pass insn_sequence.
360 * config/tc-aarch64.h (struct aarch64_segment_info_type):
361 Add insn_sequence.
362
64a336ac
PD
3632018-10-02 Palmer Dabbelt <palmer@sifive.com>
364
365 * testsuite/gas/riscv/fence-tso.d: New file.
366 * testsuite/gas/riscv/fence-tso.s: Likewise.
367
ca60b3af
SL
3682018-09-26 Sandra Loosemore <sandra@codesourcery.com>
369
370 * testsuite/gas/all/gas.exp: Skip "Output file must be distinct
371 from input" test on Windows host.
372
b8426d16
L
3732018-09-21 H.J. Lu <hongjiu.lu@intel.com>
374
0192e8ae 375 PR gas/23691
b8426d16
L
376 * Makefile.am (bfin-parse.c): Depend on $(srcdir)/../bfd/reloc.c.
377 (rl78-parse.c): Likewise.
378 (rx-parse.c): Likewise.
379 * Makefile.in: Regenerated.
380
be9a9af9
AM
3812018-09-21 Alan Modra <amodra@gmail.com>
382
383 * testsuite/gas/avr/large-debug-line-table.d: Update.
384
ddb77fcc
L
3852018-09-20 H.J. Lu <hongjiu.lu@intel.com>
386
387 PR binutils/23695
388 * testsuite/gas/elf/dwarf2-11.d: Update expected outputs of
389 "readelf -wL".
390 * testsuite/gas/elf/dwarf2-12.d: Likewise.
391 * testsuite/gas/elf/dwarf2-13.d: Likewise.
392 * testsuite/gas/elf/dwarf2-14.d: Likewise.
393 * testsuite/gas/elf/dwarf2-15.d: Likewise.
394 * testsuite/gas/elf/dwarf2-16.d: Likewise.
395 * testsuite/gas/elf/dwarf2-17.d: Likewise.
396 * testsuite/gas/elf/dwarf2-18.d: Likewise.
397 * testsuite/gas/elf/dwarf2-5.d: Likewise.
398 * testsuite/gas/elf/dwarf2-6.d: Likewise.
399 * testsuite/gas/elf/dwarf2-7.d: Likewise.
400
fa9d2bd6
MR
4012018-09-20 Maciej W. Rozycki <macro@linux-mips.org>
402
403 * config/tc-s12z.c (lex_opr): Use an auxiliary unsigned variable
404 in encoding a constant operand.
405
16de26a6
MR
4062018-09-20 Maciej W. Rozycki <macro@linux-mips.org>
407
408 * config/tc-ppc.c (ppc_dwsect): Use `valueT' rather than
409 `offsetT' as the type of `flag'.
410
53b6d6f5
MR
4112018-09-20 Maciej W. Rozycki <macro@linux-mips.org>
412
413 * config/tc-arc.c (md_number_to_chars_midend): Append `ull' to
414 large constants.
415
fbaf61ad
NC
4162018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
417
418 * config/tc-nds32.c: Remove the unused target features.
419 (nds32_relax_relocs, md_pseudo_table, nds32_elf_record_fixup_exp,
420 nds32_set_elf_flags_by_insn, nds32_insert_relax_entry,
421 nds32_apply_fix): Likewise.
422 (nds32_no_ex9_begin): Removed.
423 * config/tc-nds32.c (add_mapping_symbol_for_align,
424 make_mapping_symbol, add_mapping_symbol): New functions.
425 * config/tc-nds32.h (enum mstate): New.
426 (nds32_segment_info_type): Likewise.
427 * configure.ac (--enable-dsp-ext, --enable-zol-ext): New options.
428 * config.in: Regenerated.
429 * configure: Regenerated.
430 * config/tc-nds32.c (nds32_dx_regs):
431 Set the value according to the configuration.
432 (nds32_perf_ext, nds32_perf_ext2, nds32_string_ext, nds32_audio_ext):
433 Likewise.
434 (nds32_dsp_ext): New variable. Set the value according to the
435 configuration.
436 (nds32_zol_ext): Likewise.
437 (asm_desc, nds32_pseudo_opcode_table): Make them static.
438 (nds32_set_elf_flags_by_insn): Updated.
439 (nds32_check_insn_available): Updated.
440 (nds32_str_tolower): New function.
441 * config/tc-nds32.c (relax_table): Updated.
442 (md_begin): Updated.
443 (md_assemble): Use XNEW macro to allocate space for `insn.info',
444 and then remember to free it.
445 (md_section_align): Cast (-1) to ValueT.
446 (nds32_get_align): Cast (~0U) to addressT.
447 (nds32_relax_branch_instructions): Updated.
448 (md_convert_frag): Add new local variable `final_r_type'.
449 (invalid_prev_frag): Add new bfd_boolean parameter `relax'.
450 All callers changed.
451 * config/tc-nds32.c (struct nds32_relocs_pattern): Add `insn' field.
452 (struct nds32_hint_map): Add `option_list' field.
453 (struct suffix_name, suffix_table): Remove the unused `pic' field.
454 (do_pseudo_b, do_pseudo_bal): Remove the suffix checking.
455 (do_pseudo_la_internal, do_pseudo_pushpopm): Indent.
456 (relax_hint_bias, relax_hint_id_current): New static variables.
457 (reset_bias, relax_hint_begin): New variables.
458 (nds_itoa): New function.
459 (CLEAN_REG, GET_OPCODE): New macros.
460 (struct relax_hint_id): New.
461 (nds32_relax_hint): For .relax_hint directive, we can use `begin'
462 and `end' to mark the relax pattern without giving exactly id number.
463 (nds32_elf_append_relax_relocs): Handle the case that the .relax_hint
464 directives are attached to pseudo instruction.
465 (nds32_elf_save_pseudo_pattern): Change the second parameter from
466 instruction's opcode to byte code.
467 (nds32_elf_build_relax_relation): Add new bfd_boolean parameter
468 `pseudo_hint'.
469 (nds32_lookup_pseudo_opcode): Fix the overflow issue.
470 (enum nds32_insn_type): Add N32_RELAX_ALU1 and N32_RELAX_16BIT.
471 (nds32_elf_record_fixup_exp, relax_ls_table, hint_map,
472 nds32_find_reloc_table, nds32_match_hint_insn, nds32_parse_name):
473 Updated.
474 * config/tc-nds32.h (MAX_RELAX_NUM): Extend it to 6.
475 (enum nds32_relax_hint_type): Merge NDS32_RELAX_HINT_LA and
476 NDS32_RELAX_HINT_LS into NDS32_RELAX_HINT_LALS. Add
477 NDS32_RELAX_HINT_LA_PLT, NDS32_RELAX_HINT_LA_GOT and
478 NDS32_RELAX_HINT_LA_GOTOFF.
479 * config/tc-nds32.h (relax_ls_table): Add floating load/store
480 to gp relax pattern.
481 (hint_map, nds32_find_reloc_table): Likewise.
482 * configure.ac: Define NDS32_LINUX_TOOLCHAIN.
483 * configure: Regenerated.
484 * config.in: Regenerated.
485 * config/tc-nds32.h (enum nds32_ramp): Updated.
486 (enum nds32_relax_hint_type): Likewise.
487 * config/tc-nds32.c: Include "errno.h" and "limits.h".
488 (relax_ls_table): Add TLS relax patterns.
489 (nds32_elf_append_relax_relocs): Attach BFD_RELOC_NDS32_GROUP on
490 each instructions of TLS patterns.
491 (nds32_elf_record_fixup_exp): Updated.
492 (nds32_apply_fix): Likewise.
493 (suffix_table): Add TLSDESC suffix.
494
af81c43b
TC
4952018-09-18 Tamar Christina <tamar.christina@arm.com>
496
497 * config/tc-aarch64.c (output_operand_error_report): Apply filtering to
498 current instead of head message.
499
4e2b1898
JW
5002018-09-17 Kito Cheng <kito@andestech.com>
501
502 * testsuite/gas/riscv/bge.d: New.
503 * testsuite/gas/riscv/bge.s: Likewise.
504
04e2a182
L
5052018-09-17 H.J. Lu <hongjiu.lu@intel.com>
506
507 PR gas/23670
508 * testsuite/gas/i386/evex-lig-2.d: New file.
509 * testsuite/gas/i386/evex-lig-2.s: Likewise.
510 * testsuite/gas/i386/x86-64-evex-lig-2.d: Likewise.
511 * testsuite/gas/i386/x86-64-evex-lig-2.s: Likewise.
512 * testsuite/gas/i386/i386.exp: Run evex-lig-2 and
513 x86-64-evex-lig-2.
514
d5f787c2
L
5152018-09-17 H.J. Lu <hongjiu.lu@intel.com>
516
517 PR gas/23665
518 * testsuite/gas/i386/avx-scalar.s: Remove vmovq and vmovd tests.
519 * testsuite/gas/i386/x86-64-avx-scalar.s: Likewise.
520 * testsuite/gas/i386/avx-scalar-intel.d: Updated.
521 * testsuite/gas/i386/avx-scalar.d: Likewise.
522 * testsuite/gas/i386/x86-64-avx-scalar-intel.d: Likewise.
523 * testsuite/gas/i386/x86-64-avx-scalar.d: Likewise.
524 * testsuite/gas/i386/i386.exp: Run avx-scalar2 and
525 x86-64-avx-scalar2.
526 * testsuite/gas/i386/avx-scalar-2.d: New file.
527 * testsuite/gas/i386/avx-scalar-2.s: Likewise.
528 * testsuite/gas/i386/x86-64-avx-scalar-2.d: Likewise.
529 * testsuite/gas/i386/x86-64-avx-scalar-2.s: Likewise.
530
03751133
L
5312018-09-17 H.J. Lu <hongjiu.lu@intel.com>
532
533 * gas/NEWS: Mention -mvexwig=[0|1] option.
534 * config/tc-i386.c (vexwig): New.
535 (build_vex_prefix): Set the VEX.W bit for -mvexwig=1 for WIG
536 VEX instructions.
537 (OPTION_MVEXWIG): New.
538 (md_longopts): Add -mvexwig=.
539 (md_parse_option): Handle OPTION_MVEXWIG.
540 (md_show_usage): Show -mvexwig=[0|1].
541 * doc/c-i386.texi: Document -mvexwig=[0|1].
542 * testsuite/gas/i386/avx-wig.d: New file.
543 * testsuite/gas/i386/avx-wig.s: Likewise.
544 * testsuite/gas/i386/avx2-wig.d: Likewise.
545 * testsuite/gas/i386/avx2-wig.s: Likewise.
546 * testsuite/gas/i386/x86-64-avx-wig.d: Likewise.
547 * testsuite/gas/i386/x86-64-avx-wig.s: Likewise.
548 * testsuite/gas/i386/x86-64-avx2-wig.d: Likewise.
549 * testsuite/gas/i386/x86-64-avx2-wig.s: Likewise.
550 * testsuite/gas/i386/i386.exp: Run avx-wig, avx2-wig,
551 x86-64-avx-wig and x86-64-avx2-wig.
552
a4b9568c
AM
5532018-09-17 Alan Modra <amodra@gmail.com>
554
555 * testsuite/gas/arm/arch7.d: Delete notarget.
556 * testsuite/gas/arm/arch7a-mp.d: Likewise.
557 * testsuite/gas/arm/arch7em.d: Likewise.
558 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
559 * testsuite/gas/arm/barrier.d: Likewise.
560 * testsuite/gas/arm/bignum1.d: Likewise.
561 * testsuite/gas/arm/thumb32.d: Likewise.
562 * testsuite/gas/elf/dwarf2-1.d: Likewise.
563 * testsuite/gas/elf/dwarf2-2.d: Likewise.
564 * testsuite/gas/elf/dwarf2-4.d: Likewise.
565 * testsuite/gas/elf/group2.d: Likewise.
566 * testsuite/gas/arm/mapshort-elf.d: Only notarget pe and wince.
567 * testsuite/gas/elf/dwarf2-3.d: Delete notarget, xfail ft32 and h8300.
568 * testsuite/gas/elf/dwarf2-6.d: Delete notarget, xfail a few.
569
0b1352e0
AM
5702018-09-17 Alan Modra <amodra@gmail.com>
571
572 * testsuite/gas/all/gas.exp (redef3): Don't xfail for hppa.
573 (octa): Run for hppa.
574 * testsuite/gas/elf/elf.exp (common1, common2): Likewise.
575 * testsuite/gas/elf/symver.d: Delete notarget.
576
a0a8a934
NC
5772018-09-17 Nick Clifton <nickc@redhat.com>
578
579 * testuite/gas/elf/group0a.d: Add extra details to the test
580 name.
581 * testuite/gas/elf/group0b.d: Likewise.
582 * testuite/gas/elf/group1a.d: Likewise.
583 * testuite/gas/elf/group1b.d: Likewise.
584 * testuite/gas/elf/group0b.d: Likewise.
585 * testuite/gas/elf/section9.d: Likewise.
586 * testuite/gas/i386/ilp32/lns/lns-common-1.d: Likewise.
587 * testuite/gas/i386/ilp32/lns/lns-duplicate-1.d: Likewise.
588
3c374143
L
5892018-09-15 H.J. Lu <hongjiu.lu@intel.com>
590
591 PR gas/23665
592 * testsuite/gas/i386/avx-scalar-intel.d: Updated.
593 * testsuite/gas/i386/avx-scalar.d: Likewise.
594 * testsuite/gas/i386/x86-64-avx-scalar-intel.d: Likewise.
595 * testsuite/gas/i386/x86-64-avx-scalar.d: Likewise.
596
8ffb70eb
AM
5972018-09-15 Alan Modra <amodra@gmail.com>
598
599 * testsuite/config/default.exp: Make tmpdir.
600 * testsuite/lib/gas-defs.exp (run_dump_test): Delete.
601 (get_standard_section_names, slurp_options): Delete.
602
99bcaeaf
AM
6032018-09-15 Alan Modra <amodra@gmail.com>
604
605 * testsuite/gas/mips/aent-2.d,
606 * testsuite/gas/mips/aent-mdebug-2.d,
607 * testsuite/gas/mips/attr-gnu-4-0.d,
608 * testsuite/gas/mips/attr-gnu-4-1.d,
609 * testsuite/gas/mips/attr-gnu-4-2.d,
610 * testsuite/gas/mips/attr-gnu-4-3.d,
611 * testsuite/gas/mips/attr-gnu-4-5.d,
612 * testsuite/gas/mips/attr-gnu-4-6.d,
613 * testsuite/gas/mips/attr-gnu-4-7.d,
614 * testsuite/gas/mips/attr-none-double.d,
615 * testsuite/gas/mips/attr-none-o32-fp64-nooddspreg.d,
616 * testsuite/gas/mips/attr-none-o32-fp64.d,
617 * testsuite/gas/mips/attr-none-o32-fpxx.d,
618 * testsuite/gas/mips/attr-none-single-float.d,
619 * testsuite/gas/mips/attr-none-soft-float.d,
620 * testsuite/gas/mips/elf-rel27.d,
621 * testsuite/gas/mips/loc-swap-2.d,
622 * testsuite/gas/mips/loc-swap-3.d,
623 * testsuite/gas/mips/loc-swap.d,
624 * testsuite/gas/mips/micromips@loc-swap-2.d,
625 * testsuite/gas/mips/micromips@loc-swap.d,
626 * testsuite/gas/mips/micromips@stabs-symbol-type.d,
627 * testsuite/gas/mips/mips16-intermix.d,
628 * testsuite/gas/mips/mips16@loc-swap-2.d,
629 * testsuite/gas/mips/mips16@loc-swap.d,
630 * testsuite/gas/mips/mips16@stabs-symbol-type.d,
631 * testsuite/gas/mips/mips16e@loc-swap.d,
632 * testsuite/gas/mips/no-odd-spreg.d,
633 * testsuite/gas/mips/odd-spreg.d,
634 * testsuite/gas/mips/r6-attr-none-double.d,
635 * testsuite/gas/mips/stabs-symbol-type.d,
636 * testsuite/lib/gas-defs.exp (run_dump_test): Replace PROG
637 with DUMPPROG.
638
4abd8e8d
AM
6392018-09-15 Alan Modra <amodra@gmail.com>
640
641 * testsuite/gas/elf/symver.d,
642 * testsuite/gas/ft32/insn.d,
643 * testsuite/gas/ft32/insnsc.d,
644 * testsuite/gas/i386/ilp32/elf/symver.d,
645 * testsuite/gas/lm32/csr.d,
646 * testsuite/gas/lm32/insn.d,
647 * testsuite/gas/m68hc11/9s12x-exg-sex-tfr.d,
648 * testsuite/gas/m68hc11/9s12x-mov.d,
649 * testsuite/gas/m68hc11/hexprefix.d,
650 * testsuite/gas/m68hc11/insns9s12x.d,
651 * testsuite/gas/m68hc11/insns9s12xg.d,
652 * testsuite/gas/mep/dj1.be.d,
653 * testsuite/gas/mep/dj1.le.d,
654 * testsuite/gas/mips/set-arch.d,
655 * testsuite/gas/mips/tls-o32.d,
656 * testsuite/gas/nios2/branch-r2.d,
657 * testsuite/gas/nios2/branch.d,
658 * testsuite/gas/pdp11/absreloc.d,
659 * testsuite/gas/pdp11/opcode.d,
660 * testsuite/gas/pdp11/pr14480.d,
661 * testsuite/gas/pdp11/pr23481.d,
662 * testsuite/gas/ppc/xcoff-dwsect-1-32.d,
663 * testsuite/gas/ppc/xcoff-dwsect-1-64.d,
664 * testsuite/gas/rx/abs.d,
665 * testsuite/gas/rx/adc.d,
666 * testsuite/gas/rx/add.d,
667 * testsuite/gas/rx/and.d,
668 * testsuite/gas/rx/bclr.d,
669 * testsuite/gas/rx/bcnd.d,
670 * testsuite/gas/rx/bmcnd.d,
671 * testsuite/gas/rx/bnot.d,
672 * testsuite/gas/rx/bra.d,
673 * testsuite/gas/rx/brk.d,
674 * testsuite/gas/rx/bset.d,
675 * testsuite/gas/rx/bsr.d,
676 * testsuite/gas/rx/btst.d,
677 * testsuite/gas/rx/clrpsw.d,
678 * testsuite/gas/rx/cmp.d,
679 * testsuite/gas/rx/dbt.d,
680 * testsuite/gas/rx/div.d,
681 * testsuite/gas/rx/divu.d,
682 * testsuite/gas/rx/emaca.d,
683 * testsuite/gas/rx/emsba.d,
684 * testsuite/gas/rx/emul.d,
685 * testsuite/gas/rx/emula.d,
686 * testsuite/gas/rx/emulu.d,
687 * testsuite/gas/rx/fadd.d,
688 * testsuite/gas/rx/fcmp.d,
689 * testsuite/gas/rx/fdiv.d,
690 * testsuite/gas/rx/fmul.d,
691 * testsuite/gas/rx/fsqrt.d,
692 * testsuite/gas/rx/fsub.d,
693 * testsuite/gas/rx/ftoi.d,
694 * testsuite/gas/rx/ftou.d,
695 * testsuite/gas/rx/gprel.d,
696 * testsuite/gas/rx/int.d,
697 * testsuite/gas/rx/itof.d,
698 * testsuite/gas/rx/jmp.d,
699 * testsuite/gas/rx/jsr.d,
700 * testsuite/gas/rx/machi.d,
701 * testsuite/gas/rx/maclh.d,
702 * testsuite/gas/rx/maclo.d,
703 * testsuite/gas/rx/max.d,
704 * testsuite/gas/rx/min.d,
705 * testsuite/gas/rx/mov.d,
706 * testsuite/gas/rx/movco.d,
707 * testsuite/gas/rx/movli.d,
708 * testsuite/gas/rx/movu.d,
709 * testsuite/gas/rx/msbhi.d,
710 * testsuite/gas/rx/msblh.d,
711 * testsuite/gas/rx/msblo.d,
712 * testsuite/gas/rx/mul.d,
713 * testsuite/gas/rx/mulhi.d,
714 * testsuite/gas/rx/mullh.d,
715 * testsuite/gas/rx/mullo.d,
716 * testsuite/gas/rx/mvfacgu.d,
717 * testsuite/gas/rx/mvfachi.d,
718 * testsuite/gas/rx/mvfaclo.d,
719 * testsuite/gas/rx/mvfacmi.d,
720 * testsuite/gas/rx/mvfc.d,
721 * testsuite/gas/rx/mvfcp.d,
722 * testsuite/gas/rx/mvtacgu.d,
723 * testsuite/gas/rx/mvtachi.d,
724 * testsuite/gas/rx/mvtaclo.d,
725 * testsuite/gas/rx/mvtc.d,
726 * testsuite/gas/rx/mvtcp.d,
727 * testsuite/gas/rx/neg.d,
728 * testsuite/gas/rx/nop.d,
729 * testsuite/gas/rx/not.d,
730 * testsuite/gas/rx/opecp.d,
731 * testsuite/gas/rx/or.d,
732 * testsuite/gas/rx/pop.d,
733 * testsuite/gas/rx/popc.d,
734 * testsuite/gas/rx/popm.d,
735 * testsuite/gas/rx/pr19665.d,
736 * testsuite/gas/rx/pr22737.d,
737 * testsuite/gas/rx/push.d,
738 * testsuite/gas/rx/pushc.d,
739 * testsuite/gas/rx/pushm.d,
740 * testsuite/gas/rx/r-bcc.d,
741 * testsuite/gas/rx/r-bra.d,
742 * testsuite/gas/rx/racl.d,
743 * testsuite/gas/rx/racw.d,
744 * testsuite/gas/rx/rdacl.d,
745 * testsuite/gas/rx/rdacw.d,
746 * testsuite/gas/rx/revl.d,
747 * testsuite/gas/rx/revw.d,
748 * testsuite/gas/rx/rmpa.d,
749 * testsuite/gas/rx/rolc.d,
750 * testsuite/gas/rx/rorc.d,
751 * testsuite/gas/rx/rotl.d,
752 * testsuite/gas/rx/rotr.d,
753 * testsuite/gas/rx/round.d,
754 * testsuite/gas/rx/rte.d,
755 * testsuite/gas/rx/rtfi.d,
756 * testsuite/gas/rx/rts.d,
757 * testsuite/gas/rx/rtsd.d,
758 * testsuite/gas/rx/sat.d,
759 * testsuite/gas/rx/satr.d,
760 * testsuite/gas/rx/sbb.d,
761 * testsuite/gas/rx/sccnd.d,
762 * testsuite/gas/rx/scmpu.d,
763 * testsuite/gas/rx/setpsw.d,
764 * testsuite/gas/rx/shar.d,
765 * testsuite/gas/rx/shll.d,
766 * testsuite/gas/rx/shlr.d,
767 * testsuite/gas/rx/smovb.d,
768 * testsuite/gas/rx/smovf.d,
769 * testsuite/gas/rx/smovu.d,
770 * testsuite/gas/rx/sstr.d,
771 * testsuite/gas/rx/stnz.d,
772 * testsuite/gas/rx/stz.d,
773 * testsuite/gas/rx/sub.d,
774 * testsuite/gas/rx/suntil.d,
775 * testsuite/gas/rx/swhile.d,
776 * testsuite/gas/rx/tst.d,
777 * testsuite/gas/rx/utof.d,
778 * testsuite/gas/rx/wait.d,
779 * testsuite/gas/rx/xchg.d,
780 * testsuite/gas/rx/xor.d,
781 * testsuite/gas/s12z/abs.d,
782 * testsuite/gas/s12z/adc-imm.d,
783 * testsuite/gas/s12z/adc-opr.d,
784 * testsuite/gas/s12z/add-imm.d,
785 * testsuite/gas/s12z/add-opr.d,
786 * testsuite/gas/s12z/and-imm.d,
787 * testsuite/gas/s12z/and-opr.d,
788 * testsuite/gas/s12z/and-or-cc.d,
789 * testsuite/gas/s12z/bfext-special.d,
790 * testsuite/gas/s12z/bfext.d,
791 * testsuite/gas/s12z/bit-manip.d,
792 * testsuite/gas/s12z/bit.d,
793 * testsuite/gas/s12z/bra-expression-defined.d,
794 * testsuite/gas/s12z/bra-expression-undef.d,
795 * testsuite/gas/s12z/bra.d,
796 * testsuite/gas/s12z/brclr-symbols.d,
797 * testsuite/gas/s12z/brset-clr-opr-imm-rel.d,
798 * testsuite/gas/s12z/brset-clr-opr-reg-rel.d,
799 * testsuite/gas/s12z/brset-clr-reg-imm-rel.d,
800 * testsuite/gas/s12z/brset-clr-reg-reg-rel.d,
801 * testsuite/gas/s12z/clb.d,
802 * testsuite/gas/s12z/clr-opr.d,
803 * testsuite/gas/s12z/clr.d,
804 * testsuite/gas/s12z/cmp-imm.d,
805 * testsuite/gas/s12z/cmp-opr-inc.d,
806 * testsuite/gas/s12z/cmp-opr-rdirect.d,
807 * testsuite/gas/s12z/cmp-opr-reg.d,
808 * testsuite/gas/s12z/cmp-opr-rindirect.d,
809 * testsuite/gas/s12z/cmp-opr-sxe4.d,
810 * testsuite/gas/s12z/cmp-opr-xys.d,
811 * testsuite/gas/s12z/cmp-s-imm.d,
812 * testsuite/gas/s12z/cmp-s-opr.d,
813 * testsuite/gas/s12z/cmp-xy.d,
814 * testsuite/gas/s12z/com-opr.d,
815 * testsuite/gas/s12z/complex-shifts.d,
816 * testsuite/gas/s12z/db-tb-cc-opr.d,
817 * testsuite/gas/s12z/db-tb-cc-reg.d,
818 * testsuite/gas/s12z/dbCC.d,
819 * testsuite/gas/s12z/dec-opr.d,
820 * testsuite/gas/s12z/dec.d,
821 * testsuite/gas/s12z/div.d,
822 * testsuite/gas/s12z/eor.d,
823 * testsuite/gas/s12z/exg.d,
824 * testsuite/gas/s12z/ext24-ld-xy.d,
825 * testsuite/gas/s12z/inc-opr.d,
826 * testsuite/gas/s12z/inc.d,
827 * testsuite/gas/s12z/inh.d,
828 * testsuite/gas/s12z/jmp.d,
829 * testsuite/gas/s12z/jsr.d,
830 * testsuite/gas/s12z/ld-imm-page2.d,
831 * testsuite/gas/s12z/ld-imm.d,
832 * testsuite/gas/s12z/ld-immu18.d,
833 * testsuite/gas/s12z/ld-large-direct.d,
834 * testsuite/gas/s12z/ld-opr.d,
835 * testsuite/gas/s12z/ld-s-opr.d,
836 * testsuite/gas/s12z/ld-small-direct.d,
837 * testsuite/gas/s12z/lea-immu18.d,
838 * testsuite/gas/s12z/lea.d,
839 * testsuite/gas/s12z/mac.d,
840 * testsuite/gas/s12z/min-max.d,
841 * testsuite/gas/s12z/mod.d,
842 * testsuite/gas/s12z/mov.d,
843 * testsuite/gas/s12z/mul-imm.d,
844 * testsuite/gas/s12z/mul-opr-opr.d,
845 * testsuite/gas/s12z/mul-opr.d,
846 * testsuite/gas/s12z/mul-reg.d,
847 * testsuite/gas/s12z/mul.d,
848 * testsuite/gas/s12z/neg-opr.d,
849 * testsuite/gas/s12z/not-so-simple-shifts.d,
850 * testsuite/gas/s12z/opr-18u.d,
851 * testsuite/gas/s12z/opr-expr.d,
852 * testsuite/gas/s12z/opr-ext-18.d,
853 * testsuite/gas/s12z/opr-idx-24-reg.d,
854 * testsuite/gas/s12z/opr-idx3-reg.d,
855 * testsuite/gas/s12z/opr-idx3-xysp-24.d,
856 * testsuite/gas/s12z/opr-indirect-expr.d,
857 * testsuite/gas/s12z/opr-symbol.d,
858 * testsuite/gas/s12z/or-imm.d,
859 * testsuite/gas/s12z/or-opr.d,
860 * testsuite/gas/s12z/p2-mul.d,
861 * testsuite/gas/s12z/page2-inh.d,
862 * testsuite/gas/s12z/psh-pul.d,
863 * testsuite/gas/s12z/qmul.d,
864 * testsuite/gas/s12z/rotate.d,
865 * testsuite/gas/s12z/sat.d,
866 * testsuite/gas/s12z/sbc-imm.d,
867 * testsuite/gas/s12z/sbc-opr.d,
868 * testsuite/gas/s12z/shift.d,
869 * testsuite/gas/s12z/simple-shift.d,
870 * testsuite/gas/s12z/single-ops.d,
871 * testsuite/gas/s12z/specd6.d,
872 * testsuite/gas/s12z/st-large-direct.d,
873 * testsuite/gas/s12z/st-opr.d,
874 * testsuite/gas/s12z/st-s-opr.d,
875 * testsuite/gas/s12z/st-small-direct.d,
876 * testsuite/gas/s12z/st-xy.d,
877 * testsuite/gas/s12z/sub-imm.d,
878 * testsuite/gas/s12z/sub-opr.d,
879 * testsuite/gas/s12z/tfr.d,
880 * testsuite/gas/s12z/trap.d,
881 * testsuite/gas/sh/fdpic.d,
882 * testsuite/gas/sh/sh2a-pic.d,
883 * testsuite/gas/sh/sh2a.d: Don't match object file name.
884 * testsuite/gas/wasm32/disass-2.d,
885 * testsuite/gas/wasm32/disass.d: Likewise, and tidy regexps.
886
e643ed08
AM
8872018-09-15 Alan Modra <amodra@gmail.com>
888
889 * testsuite/gas/aarch64/armv8_2-a-crypto-fp16-illegal.d,
890 * testsuite/gas/aarch64/armv8_2-a-illegal.d,
891 * testsuite/gas/aarch64/armv8_4-a-illegal.d,
892 * testsuite/gas/aarch64/armv8_4-a-registers-illegal.d,
893 * testsuite/gas/aarch64/deprecated.d,
894 * testsuite/gas/aarch64/diagnostic.d,
895 * testsuite/gas/aarch64/illegal-2.d,
896 * testsuite/gas/aarch64/illegal-by-element.d,
897 * testsuite/gas/aarch64/illegal-crypto-nofp.d,
898 * testsuite/gas/aarch64/illegal-fcmla.d,
899 * testsuite/gas/aarch64/illegal-fjcvtzs.d,
900 * testsuite/gas/aarch64/illegal-fp16-nofp.d,
901 * testsuite/gas/aarch64/illegal-ldapr.d,
902 * testsuite/gas/aarch64/illegal-ldraa.d,
903 * testsuite/gas/aarch64/illegal-lse.d,
904 * testsuite/gas/aarch64/illegal-nofp-armv8_3.d,
905 * testsuite/gas/aarch64/illegal-nofp16.d,
906 * testsuite/gas/aarch64/illegal-ras-1.d,
907 * testsuite/gas/aarch64/illegal-sysreg-2.d,
908 * testsuite/gas/aarch64/illegal-sysreg-3.d,
909 * testsuite/gas/aarch64/illegal.d,
910 * testsuite/gas/aarch64/legacy_reg_names.d,
911 * testsuite/gas/aarch64/pan-illegal.d,
912 * testsuite/gas/aarch64/pr22529.d,
913 * testsuite/gas/aarch64/rm-simd-ext.d,
914 * testsuite/gas/aarch64/sve-invalid.d,
915 * testsuite/gas/aarch64/sve-reg-diagnostic.d,
916 * testsuite/gas/aarch64/sve-sysreg-invalid.d,
917 * testsuite/gas/aarch64/sysreg-diagnostic.d,
918 * testsuite/gas/aarch64/verbose-error.d,
919 * testsuite/gas/all/byte.d,
920 * testsuite/gas/all/org-1.d,
921 * testsuite/gas/all/org-2.d,
922 * testsuite/gas/all/org-3.d,
923 * testsuite/gas/all/sleb128-9.d,
924 * testsuite/gas/arc/asm-errors-2.d,
925 * testsuite/gas/arc/asm-errors-3.d,
926 * testsuite/gas/arc/asm-errors.d,
927 * testsuite/gas/arc/attr-rf16.d,
928 * testsuite/gas/arc/relocs-errors.d,
929 * testsuite/gas/arc/textinsn-errors.d,
930 * testsuite/gas/arm/addsw-bad.d,
931 * testsuite/gas/arm/addthumb2err.d,
932 * testsuite/gas/arm/adr-invalid.d,
933 * testsuite/gas/arm/arch7em-bad-1.d,
934 * testsuite/gas/arm/arch7em-bad-2.d,
935 * testsuite/gas/arm/arch7em-bad-3.d,
936 * testsuite/gas/arm/arch7m-bad.d,
937 * testsuite/gas/arm/archv6s-m-bad.d,
938 * testsuite/gas/arm/archv6t2-bad.d,
939 * testsuite/gas/arm/arm-idiv-bad.d,
940 * testsuite/gas/arm/arm-it-bad-2.d,
941 * testsuite/gas/arm/arm-it-bad-3.d,
942 * testsuite/gas/arm/arm-it-bad.d,
943 * testsuite/gas/arm/arm3-bad.d,
944 * testsuite/gas/arm/arm7-bad.d,
945 * testsuite/gas/arm/armv1-bad.d,
946 * testsuite/gas/arm/armv1.d,
947 * testsuite/gas/arm/armv2-mp-bad.d,
948 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d,
949 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d,
950 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d,
951 * testsuite/gas/arm/armv8-a+rdma-warning.d,
952 * testsuite/gas/arm/armv8-a-bad.d,
953 * testsuite/gas/arm/armv8-a-it-bad.d,
954 * testsuite/gas/arm/armv8-r-bad.d,
955 * testsuite/gas/arm/armv8-r-it-bad.d,
956 * testsuite/gas/arm/armv8_2-a-fp16-illegal.d,
957 * testsuite/gas/arm/armv8_3-a-fp-bad.d,
958 * testsuite/gas/arm/armv8_3-a-simd-bad.d,
959 * testsuite/gas/arm/barrier-bad-thumb.d,
960 * testsuite/gas/arm/barrier-bad.d,
961 * testsuite/gas/arm/bl-local-v4t.d,
962 * testsuite/gas/arm/blx-bl-convert.d,
963 * testsuite/gas/arm/blx-local.d,
964 * testsuite/gas/arm/branch-reloc.d,
965 * testsuite/gas/arm/copro-arm_v2plus-arm_v1.d,
966 * testsuite/gas/arm/copro-arm_v5plus-arm_v4.d,
967 * testsuite/gas/arm/copro-arm_v5teplus-arm_v5.d,
968 * testsuite/gas/arm/copro-arm_v6plus-arm_v5te.d,
969 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-1.d,
970 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-2.d,
971 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-3.d,
972 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-4.d,
973 * testsuite/gas/arm/crc32-armv8-a-bad.d,
974 * testsuite/gas/arm/crc32-armv8-r-bad.d,
975 * testsuite/gas/arm/depr-swp.d,
976 * testsuite/gas/arm/dest-unpredictable.d,
977 * testsuite/gas/arm/dotprod-illegal.d,
978 * testsuite/gas/arm/dotprod-legacy-arch.d,
979 * testsuite/gas/arm/forbid-armv7-idiv-ext.d,
980 * testsuite/gas/arm/group-reloc-alu-encoding-bad.d,
981 * testsuite/gas/arm/group-reloc-alu-parsing-bad.d,
982 * testsuite/gas/arm/group-reloc-ldc-encoding-bad.d,
983 * testsuite/gas/arm/group-reloc-ldc-parsing-bad.d,
984 * testsuite/gas/arm/group-reloc-ldr-encoding-bad.d,
985 * testsuite/gas/arm/group-reloc-ldr-parsing-bad.d,
986 * testsuite/gas/arm/group-reloc-ldrs-encoding-bad.d,
987 * testsuite/gas/arm/group-reloc-ldrs-parsing-bad.d,
988 * testsuite/gas/arm/insn-error-a.d,
989 * testsuite/gas/arm/insn-error-t.d,
990 * testsuite/gas/arm/inst-po-2.d,
991 * testsuite/gas/arm/iwmmxt-bad.d,
992 * testsuite/gas/arm/iwmmxt-bad2.d,
993 * testsuite/gas/arm/ld-sp-warn-cortex-m3.d,
994 * testsuite/gas/arm/ld-sp-warn-cortex-m4.d,
995 * testsuite/gas/arm/ld-sp-warn-v7.d,
996 * testsuite/gas/arm/ld-sp-warn-v7a.d,
997 * testsuite/gas/arm/ld-sp-warn-v7em.d,
998 * testsuite/gas/arm/ld-sp-warn-v7m.d,
999 * testsuite/gas/arm/ld-sp-warn-v7r.d,
1000 * testsuite/gas/arm/ld-sp-warn.d,
1001 * testsuite/gas/arm/ldgesb-bad.d,
1002 * testsuite/gas/arm/ldgesh-bad.d,
1003 * testsuite/gas/arm/ldr-bad.d,
1004 * testsuite/gas/arm/ldr-t-bad.d,
1005 * testsuite/gas/arm/ldrd-unpredictable.d,
1006 * testsuite/gas/arm/ldsgeb.d,
1007 * testsuite/gas/arm/ldsgeh.d,
1008 * testsuite/gas/arm/missing.d,
1009 * testsuite/gas/arm/mrs-msr-arm-v7-a-bad.d,
1010 * testsuite/gas/arm/mrs-msr-thumb-v7-m-bad.d,
1011 * testsuite/gas/arm/msr-imm-bad.d,
1012 * testsuite/gas/arm/msr-reg-bad.d,
1013 * testsuite/gas/arm/mul-overlap.d,
1014 * testsuite/gas/arm/neon-addressing-bad.d,
1015 * testsuite/gas/arm/neon-cond-bad.d,
1016 * testsuite/gas/arm/neon-ldst-align-bad.d,
1017 * testsuite/gas/arm/neon-ldst-es-bad.d,
1018 * testsuite/gas/arm/neon-suffix-bad.d,
1019 * testsuite/gas/arm/neon-vmov-bad.d,
1020 * testsuite/gas/arm/noarm.d,
1021 * testsuite/gas/arm/pr18256.d,
1022 * testsuite/gas/arm/pr18347.d,
1023 * testsuite/gas/arm/pr20429.d,
1024 * testsuite/gas/arm/pr22773.d,
1025 * testsuite/gas/arm/r15-bad.d,
1026 * testsuite/gas/arm/reloc-bad.d,
1027 * testsuite/gas/arm/req.d,
1028 * testsuite/gas/arm/shift-bad-pc.d,
1029 * testsuite/gas/arm/shift-bad.d,
1030 * testsuite/gas/arm/simd_by_scalar_low_regbank.d,
1031 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d,
1032 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.d,
1033 * testsuite/gas/arm/sp-pc-validations-bad-t.d,
1034 * testsuite/gas/arm/sp-pc-validations-bad.d,
1035 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.d,
1036 * testsuite/gas/arm/srs-arm.d,
1037 * testsuite/gas/arm/srs-t2.d,
1038 * testsuite/gas/arm/strex-bad-t.d,
1039 * testsuite/gas/arm/t16-bad.d,
1040 * testsuite/gas/arm/thumb-b-bad.d,
1041 * testsuite/gas/arm/thumb-w-bad.d,
1042 * testsuite/gas/arm/thumb2_bad_reg.d,
1043 * testsuite/gas/arm/thumb2_it_bad.d,
1044 * testsuite/gas/arm/thumb2_it_bad_auto.d,
1045 * testsuite/gas/arm/thumb2_ldmstm_bad.d,
1046 * testsuite/gas/arm/thumb2_ldstd_unpredictable.d,
1047 * testsuite/gas/arm/thumb2_mul-bad.d,
1048 * testsuite/gas/arm/thumb2_str-bad.d,
1049 * testsuite/gas/arm/thumb32.d,
1050 * testsuite/gas/arm/udf-bad.d,
1051 * testsuite/gas/arm/udf.d,
1052 * testsuite/gas/arm/undefined.d,
1053 * testsuite/gas/arm/undefined_coff.d,
1054 * testsuite/gas/arm/vcmp-zero-bad.d,
1055 * testsuite/gas/arm/vcvt-bad.d,
1056 * testsuite/gas/arm/vfp-bad.d,
1057 * testsuite/gas/arm/vfp-bad_t2.d,
1058 * testsuite/gas/arm/vfpv3-d16-bad.d,
1059 * testsuite/gas/arm/vldm-thumb-bad.d,
1060 * testsuite/gas/arm/vldmw-arm-bad.d,
1061 * testsuite/gas/arm/vldmw-thumb-bad.d,
1062 * testsuite/gas/arm/vstr-arm-bad.d,
1063 * testsuite/gas/arm/vstr-thumb-bad.d,
1064 * testsuite/gas/arm/weakdef-2.d,
1065 * testsuite/gas/avr/pr21621.d,
1066 * testsuite/gas/elf/bad-bss.d,
1067 * testsuite/gas/elf/bad-group.d,
1068 * testsuite/gas/elf/bad-group.err,
1069 * testsuite/gas/elf/bad-section-flag.d,
1070 * testsuite/gas/elf/bad-section-flag.err,
1071 * testsuite/gas/elf/bad-size.d,
1072 * testsuite/gas/elf/bad-size.err,
1073 * testsuite/gas/elf/common1.d,
1074 * testsuite/gas/elf/common2.d,
1075 * testsuite/gas/elf/common5a.d,
1076 * testsuite/gas/elf/common5b.d,
1077 * testsuite/gas/elf/common5c.d,
1078 * testsuite/gas/elf/common5d.d,
1079 * testsuite/gas/elf/dwarf2-10.d,
1080 * testsuite/gas/elf/dwarf2-8.d,
1081 * testsuite/gas/elf/dwarf2-9.d,
1082 * testsuite/gas/elf/pr21661.d,
1083 * testsuite/gas/elf/pseudo.d,
1084 * testsuite/gas/elf/section13.d,
1085 * testsuite/gas/i386/bad-size.d,
1086 * testsuite/gas/i386/bundle-bad.d,
1087 * testsuite/gas/i386/ilp32/x86-64-sse-check-warn.d,
1088 * testsuite/gas/i386/intel-intel.d,
1089 * testsuite/gas/i386/intel.d,
1090 * testsuite/gas/i386/intelok.d,
1091 * testsuite/gas/i386/mpx-add-bnd-prefix.d,
1092 * testsuite/gas/i386/sse-check-warn.d,
1093 * testsuite/gas/i386/string-ok.d,
1094 * testsuite/gas/i386/vgather-check-warn.d,
1095 * testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d,
1096 * testsuite/gas/i386/x86-64-sse-check-warn.d,
1097 * testsuite/gas/i386/x86-64-vgather-check-warn.d,
1098 * testsuite/gas/mips/addiu-error.d,
1099 * testsuite/gas/mips/branch-extern-3.d,
1100 * testsuite/gas/mips/branch-extern-4.d,
1101 * testsuite/gas/mips/branch-local-2.d,
1102 * testsuite/gas/mips/branch-local-3.d,
1103 * testsuite/gas/mips/branch-local-5.d,
1104 * testsuite/gas/mips/branch-local-6.d,
1105 * testsuite/gas/mips/branch-local-n32-2.d,
1106 * testsuite/gas/mips/branch-local-n32-3.d,
1107 * testsuite/gas/mips/branch-local-n32-5.d,
1108 * testsuite/gas/mips/branch-local-n32-6.d,
1109 * testsuite/gas/mips/branch-local-n64-2.d,
1110 * testsuite/gas/mips/branch-local-n64-3.d,
1111 * testsuite/gas/mips/branch-local-n64-5.d,
1112 * testsuite/gas/mips/branch-local-n64-6.d,
1113 * testsuite/gas/mips/branch-section-3.d,
1114 * testsuite/gas/mips/branch-section-4.d,
1115 * testsuite/gas/mips/branch-weak-3.d,
1116 * testsuite/gas/mips/branch-weak-4.d,
1117 * testsuite/gas/mips/break-error.d,
1118 * testsuite/gas/mips/crc-err.d,
1119 * testsuite/gas/mips/crc64-err.d,
1120 * testsuite/gas/mips/ginv-err.d,
1121 * testsuite/gas/mips/interaptiv-mr2@isa-override-1.d,
1122 * testsuite/gas/mips/interaptiv-mr2@isa-override-2.d,
1123 * testsuite/gas/mips/isa-override-2.d,
1124 * testsuite/gas/mips/lui-1.d,
1125 * testsuite/gas/mips/lui-2.d,
1126 * testsuite/gas/mips/macro-warn-1-n32.d,
1127 * testsuite/gas/mips/macro-warn-1.d,
1128 * testsuite/gas/mips/macro-warn-2.d,
1129 * testsuite/gas/mips/macro-warn-3.d,
1130 * testsuite/gas/mips/macro-warn-4.d,
1131 * testsuite/gas/mips/micromips-branch-delay.d,
1132 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d,
1133 * testsuite/gas/mips/micromips-branch-relax-insn32.d,
1134 * testsuite/gas/mips/micromips-branch-relax-pic.d,
1135 * testsuite/gas/mips/micromips-branch-relax.d,
1136 * testsuite/gas/mips/micromips-compact.d,
1137 * testsuite/gas/mips/micromips-insn32.d,
1138 * testsuite/gas/mips/micromips-noinsn32.d,
1139 * testsuite/gas/mips/micromips-size-1.d,
1140 * testsuite/gas/mips/micromips-trap.d,
1141 * testsuite/gas/mips/micromips-warn-branch-delay.d,
1142 * testsuite/gas/mips/micromips.d,
1143 * testsuite/gas/mips/micromips@addiu-error.d,
1144 * testsuite/gas/mips/micromips@mips5-fp.d,
1145 * testsuite/gas/mips/micromips@msa-relax.d,
1146 * testsuite/gas/mips/micromips@relax-at.d,
1147 * testsuite/gas/mips/micromips@relax-offset.d,
1148 * testsuite/gas/mips/micromips@relax.d,
1149 * testsuite/gas/mips/mips-gp32-fp64-pic.d,
1150 * testsuite/gas/mips/mips-gp32-fp64.d,
1151 * testsuite/gas/mips/mips-gp64-fp32-pic.d,
1152 * testsuite/gas/mips/mips-gp64-fp32.d,
1153 * testsuite/gas/mips/mips-gp64-fp64.d,
1154 * testsuite/gas/mips/mips16-32@mips16-insn-e.d,
1155 * testsuite/gas/mips/mips16-32@mips16-insn-t.d,
1156 * testsuite/gas/mips/mips16-32@mips16-macro-e.d,
1157 * testsuite/gas/mips/mips16-32@mips16-macro-t.d,
1158 * testsuite/gas/mips/mips16-32@mips16-macro.d,
1159 * testsuite/gas/mips/mips16-64@mips16-insn-e.d,
1160 * testsuite/gas/mips/mips16-64@mips16-insn-t.d,
1161 * testsuite/gas/mips/mips16-absolute-reloc-2.d,
1162 * testsuite/gas/mips/mips16-absolute-reloc-3.d,
1163 * testsuite/gas/mips/mips16-branch-addend-5.d,
1164 * testsuite/gas/mips/mips16-branch-unextended-1.d,
1165 * testsuite/gas/mips/mips16-branch-unextended-2.d,
1166 * testsuite/gas/mips/mips16-insn-e.d,
1167 * testsuite/gas/mips/mips16-insn-t.d,
1168 * testsuite/gas/mips/mips16-jal-t.d,
1169 * testsuite/gas/mips/mips16-macro-e.d,
1170 * testsuite/gas/mips/mips16-macro-t.d,
1171 * testsuite/gas/mips/mips16-pcrel-2.d,
1172 * testsuite/gas/mips/mips16-pcrel-3.d,
1173 * testsuite/gas/mips/mips16-pcrel-4.d,
1174 * testsuite/gas/mips/mips16-pcrel-5.d,
1175 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d,
1176 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d,
1177 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d,
1178 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d,
1179 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d,
1180 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d,
1181 * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d,
1182 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d,
1183 * testsuite/gas/mips/mips16-pcrel-delay-0.d,
1184 * testsuite/gas/mips/mips16-pcrel-delay-1.d,
1185 * testsuite/gas/mips/mips16-pcrel-n64-0.d,
1186 * testsuite/gas/mips/mips16-pcrel-n64-1.d,
1187 * testsuite/gas/mips/mips16-pcrel-pic-0.d,
1188 * testsuite/gas/mips/mips16-pcrel-pic-1.d,
1189 * testsuite/gas/mips/mips16-reg-error.d,
1190 * testsuite/gas/mips/mips16-relax-unextended-1.d,
1191 * testsuite/gas/mips/mips16-relax-unextended-2.d,
1192 * testsuite/gas/mips/mips16-reloc-error.d,
1193 * testsuite/gas/mips/mips16-sdrasp.d,
1194 * testsuite/gas/mips/mips16@addiu-error.d,
1195 * testsuite/gas/mips/mips16e-32@mips16-insn-e.d,
1196 * testsuite/gas/mips/mips16e-32@mips16-insn-t.d,
1197 * testsuite/gas/mips/mips16e-32@mips16-macro-e.d,
1198 * testsuite/gas/mips/mips16e-32@mips16-macro-t.d,
1199 * testsuite/gas/mips/mips16e-32@mips16-macro.d,
1200 * testsuite/gas/mips/mips16e-32@mips16e-64.d,
1201 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d,
1202 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d,
1203 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d,
1204 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d,
1205 * testsuite/gas/mips/mips16e2-32@mips16-macro.d,
1206 * testsuite/gas/mips/mips16e2-32@mips16e-64.d,
1207 * testsuite/gas/mips/mips16e2-copy-err.d,
1208 * testsuite/gas/mips/mips16e2-imm-error.d,
1209 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.d,
1210 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.d,
1211 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.d,
1212 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.d,
1213 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.d,
1214 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.d,
1215 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.d,
1216 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64.d,
1217 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.d,
1218 * testsuite/gas/mips/mips16e2-mt-err.d,
1219 * testsuite/gas/mips/mips16e2-reloc-error.d,
1220 * testsuite/gas/mips/mips16e2@lui-2.d,
1221 * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d,
1222 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d,
1223 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d,
1224 * testsuite/gas/mips/mips1@isa-override-2.d,
1225 * testsuite/gas/mips/mips1@relax-offset.d,
1226 * testsuite/gas/mips/mips2@isa-override-2.d,
1227 * testsuite/gas/mips/mips32-mt.d,
1228 * testsuite/gas/mips/mips32@isa-override-2.d,
1229 * testsuite/gas/mips/mips32r2@isa-override-2.d,
1230 * testsuite/gas/mips/mips32r3@isa-override-2.d,
1231 * testsuite/gas/mips/mips32r5@isa-override-2.d,
1232 * testsuite/gas/mips/mips32r6@isa-override-2.d,
1233 * testsuite/gas/mips/mips5-fp.d,
1234 * testsuite/gas/mips/mips64-mips3d-incl.d,
1235 * testsuite/gas/mips/mips64-mips3d.d,
1236 * testsuite/gas/mips/mipsr6@mips5-fp.d,
1237 * testsuite/gas/mips/msa-relax.d,
1238 * testsuite/gas/mips/octeon3@isa-override-1.d,
1239 * testsuite/gas/mips/octeon3@isa-override-2.d,
1240 * testsuite/gas/mips/option-pic-relax-2.d,
1241 * testsuite/gas/mips/option-pic-relax-3.d,
1242 * testsuite/gas/mips/option-pic-relax-4.d,
1243 * testsuite/gas/mips/option-pic-relax-5.d,
1244 * testsuite/gas/mips/org-1.d,
1245 * testsuite/gas/mips/org-10.d,
1246 * testsuite/gas/mips/org-4.d,
1247 * testsuite/gas/mips/org-5.d,
1248 * testsuite/gas/mips/org-6.d,
1249 * testsuite/gas/mips/r3000@isa-override-2.d,
1250 * testsuite/gas/mips/r3000@relax-offset.d,
1251 * testsuite/gas/mips/r3900@isa-override-2.d,
1252 * testsuite/gas/mips/r3900@relax-offset.d,
1253 * testsuite/gas/mips/reginfo-2-n32.d,
1254 * testsuite/gas/mips/reginfo-2.d,
1255 * testsuite/gas/mips/relax-at.d,
1256 * testsuite/gas/mips/relax-offset.d,
1257 * testsuite/gas/mips/relax-swap1-mips1.d,
1258 * testsuite/gas/mips/relax-swap1-mips2.d,
1259 * testsuite/gas/mips/relax-swap2.d,
1260 * testsuite/gas/mips/relax.d,
1261 * testsuite/gas/mips/save-err.d,
1262 * testsuite/gas/mips/set-arch.d,
1263 * testsuite/gas/mips/xpa-err.d,
1264 * testsuite/gas/mips/xpa-virt-err.d,
1265 * testsuite/gas/msp430/bad.d,
1266 * testsuite/gas/msp430/errata_warns.d,
1267 * testsuite/gas/msp430/pr22133.d,
1268 * testsuite/gas/ppc/lsp-checks.d,
1269 * testsuite/gas/ppc/misalign.d,
1270 * testsuite/gas/ppc/spe2-checks.d,
1271 * testsuite/gas/riscv/bad-csr.d,
1272 * testsuite/gas/riscv/c-addi16sp-fail.d,
1273 * testsuite/gas/riscv/c-addi4spn-fail.d,
1274 * testsuite/gas/riscv/c-fld-fsd-fail.d,
1275 * testsuite/gas/riscv/c-lui-fail.d,
1276 * testsuite/gas/riscv/c-nonzero-imm.d,
1277 * testsuite/gas/riscv/c-nonzero-reg.d,
1278 * testsuite/gas/riscv/fence-fail.d,
1279 * testsuite/gas/riscv/lla64-fail.d,
1280 * testsuite/gas/riscv/rouding-fail.d,
1281 * testsuite/gas/sh/pcrel-hms.d,
1282 * testsuite/gas/sh/pcrel.d,
1283 * testsuite/gas/sparc/dcti-couples-v8.d,
1284 * testsuite/gas/sparc/dcti-couples-v9c.d,
1285 * testsuite/gas/tic6x/arch-invalid-1.d,
1286 * testsuite/gas/tic6x/arch-invalid-2.d,
1287 * testsuite/gas/tic6x/dir-junk.d,
1288 * testsuite/gas/tic6x/insns-bad-1.d,
1289 * testsuite/gas/tic6x/insns-bad-2.d,
1290 * testsuite/gas/tic6x/parallel-bad-1.d,
1291 * testsuite/gas/tic6x/parallel-bad-2.d,
1292 * testsuite/gas/tic6x/parallel-bad-3.d,
1293 * testsuite/gas/tic6x/parallel-bad-4.d,
1294 * testsuite/gas/tic6x/predicate-bad-1.d,
1295 * testsuite/gas/tic6x/predicate-bad-2.d,
1296 * testsuite/gas/tic6x/predicate-bad-3.d,
1297 * testsuite/gas/tic6x/reloc-bad-1.d,
1298 * testsuite/gas/tic6x/reloc-bad-2.d,
1299 * testsuite/gas/tic6x/reloc-bad-3.d,
1300 * testsuite/gas/tic6x/reloc-bad-4.d,
1301 * testsuite/gas/tic6x/reloc-bad-5.d,
1302 * testsuite/gas/tic6x/reloc-bad-6.d,
1303 * testsuite/gas/tic6x/resource-func-unit-1.d,
1304 * testsuite/gas/tic6x/resource-func-unit-2.d,
1305 * testsuite/gas/tic6x/sploop-bad-1.d,
1306 * testsuite/gas/tic6x/sploop-bad-2.d,
1307 * testsuite/gas/tic6x/sploop-bad-3.d,
1308 * testsuite/gas/tic6x/sploop-bad-4.d,
1309 * testsuite/gas/tic6x/sploop-bad-5.d,
1310 * testsuite/gas/tic6x/sploop-bad-6.d,
1311 * testsuite/gas/tic6x/sploop-bad-7.d,
1312 * testsuite/gas/tic6x/unwind-bad-1.d,
1313 * testsuite/gas/tic6x/unwind-bad-2.d,
1314 * testsuite/lib/gas-defs.exp (run_dump_tests): Replace stderr
1315 and error-output with warning_output and error_output.
1316 (slurp_options): Accept underscore rather than dash.
1317
b47b60aa
AM
13182018-09-15 Alan Modra <amodra@gmail.com>
1319
1320 * testsuite/gas/aarch64/codealign.d,
1321 * testsuite/gas/aarch64/litpool.d,
1322 * testsuite/gas/aarch64/mapmisc.d,
1323 * testsuite/gas/aarch64/mapping.d,
1324 * testsuite/gas/aarch64/mapping2.d,
1325 * testsuite/gas/aarch64/mapping3.d,
1326 * testsuite/gas/aarch64/mapping4.d,
1327 * testsuite/gas/all/align.d,
1328 * testsuite/gas/all/fill-1.d,
1329 * testsuite/gas/all/incbin.d,
1330 * testsuite/gas/all/redef2.d,
1331 * testsuite/gas/all/redef3.d,
1332 * testsuite/gas/all/relax.d,
1333 * testsuite/gas/all/sleb128-2.d,
1334 * testsuite/gas/all/sleb128-4.d,
1335 * testsuite/gas/all/sleb128-5.d,
1336 * testsuite/gas/all/sleb128-7.d,
1337 * testsuite/gas/all/sleb128-9.d,
1338 * testsuite/gas/all/weakref1.d,
1339 * testsuite/gas/all/weakref1g.d,
1340 * testsuite/gas/all/weakref1l.d,
1341 * testsuite/gas/all/weakref1u.d,
1342 * testsuite/gas/all/weakref1w.d,
1343 * testsuite/gas/arm/abs12.d,
1344 * testsuite/gas/arm/arch4t.d,
1345 * testsuite/gas/arm/arch7.d,
1346 * testsuite/gas/arm/arch7a-mp.d,
1347 * testsuite/gas/arm/arch7em.d,
1348 * testsuite/gas/arm/archv8m-main-dsp-5.d,
1349 * testsuite/gas/arm/armv8a-automatic-hlt.d,
1350 * testsuite/gas/arm/armv8a-automatic-lda.d,
1351 * testsuite/gas/arm/attr-syntax.d,
1352 * testsuite/gas/arm/automatic-bw.d,
1353 * testsuite/gas/arm/automatic-cbz.d,
1354 * testsuite/gas/arm/automatic-clrex.d,
1355 * testsuite/gas/arm/automatic-lda.d,
1356 * testsuite/gas/arm/automatic-ldaex.d,
1357 * testsuite/gas/arm/automatic-ldaexb.d,
1358 * testsuite/gas/arm/automatic-ldrex.d,
1359 * testsuite/gas/arm/automatic-ldrexd.d,
1360 * testsuite/gas/arm/automatic-movw.d,
1361 * testsuite/gas/arm/automatic-sdiv.d,
1362 * testsuite/gas/arm/automatic-strexb.d,
1363 * testsuite/gas/arm/barrier-thumb.d,
1364 * testsuite/gas/arm/barrier.d,
1365 * testsuite/gas/arm/bignum1.d,
1366 * testsuite/gas/arm/blx-bad.d,
1367 * testsuite/gas/arm/blx-local.s,
1368 * testsuite/gas/arm/crc32-armv8-a-bad.d,
1369 * testsuite/gas/arm/crc32-armv8-a.d,
1370 * testsuite/gas/arm/crc32-armv8-r-bad.d,
1371 * testsuite/gas/arm/crc32-armv8-r.d,
1372 * testsuite/gas/arm/eabi_attr_1.d,
1373 * testsuite/gas/arm/fp-save.d,
1374 * testsuite/gas/arm/local_function.d,
1375 * testsuite/gas/arm/local_label_coff.d,
1376 * testsuite/gas/arm/local_label_wince.d,
1377 * testsuite/gas/arm/mapping.d,
1378 * testsuite/gas/arm/mapping2.d,
1379 * testsuite/gas/arm/mapping3.d,
1380 * testsuite/gas/arm/mapping4.d,
1381 * testsuite/gas/arm/mapshort-elf.d,
1382 * testsuite/gas/arm/mask_1-armv8-a.d,
1383 * testsuite/gas/arm/mask_1-armv8-r.d,
1384 * testsuite/gas/arm/mrs-msr-thumb-v6t2.d,
1385 * testsuite/gas/arm/mrs-msr-thumb-v7-m.d,
1386 * testsuite/gas/arm/mrs-msr-thumb-v7e-m.d,
1387 * testsuite/gas/arm/nomapping.d,
1388 * testsuite/gas/arm/pic.d,
1389 * testsuite/gas/arm/pic_vxworks.d,
1390 * testsuite/gas/arm/plt-1.d,
1391 * testsuite/gas/arm/reloc-bad.d,
1392 * testsuite/gas/arm/reloc-fdpic.d,
1393 * testsuite/gas/arm/t2-branch-global.d,
1394 * testsuite/gas/arm/thumb.d,
1395 * testsuite/gas/arm/thumb2_ldr_immediate_armv6.d,
1396 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d,
1397 * testsuite/gas/arm/thumb2_pool.d,
1398 * testsuite/gas/arm/thumb2_vpool.d,
1399 * testsuite/gas/arm/thumb2_vpool_be.d,
1400 * testsuite/gas/arm/thumb32.d,
1401 * testsuite/gas/arm/thumbver.d,
1402 * testsuite/gas/arm/tls.d,
1403 * testsuite/gas/arm/tls_vxworks.d,
1404 * testsuite/gas/arm/undefined_coff.d,
1405 * testsuite/gas/arm/unwind.d,
1406 * testsuite/gas/arm/unwind_vxworks.d,
1407 * testsuite/gas/arm/v4bx.d,
1408 * testsuite/gas/arm/vfma1.d,
1409 * testsuite/gas/arm/vldm-arm.d,
1410 * testsuite/gas/arm/weakdef-1.d,
1411 * testsuite/gas/arm/weakdef-2.d,
1412 * testsuite/gas/arm/wince.d,
1413 * testsuite/gas/arm/wince_inst.d,
1414 * testsuite/gas/elf/bignums.d,
1415 * testsuite/gas/elf/common5a.d,
1416 * testsuite/gas/elf/common5b.d,
1417 * testsuite/gas/elf/common5c.d,
1418 * testsuite/gas/elf/common5d.d,
1419 * testsuite/gas/elf/dwarf2-1.d,
1420 * testsuite/gas/elf/dwarf2-10.d,
1421 * testsuite/gas/elf/dwarf2-11.d,
1422 * testsuite/gas/elf/dwarf2-12.d,
1423 * testsuite/gas/elf/dwarf2-13.d,
1424 * testsuite/gas/elf/dwarf2-14.d,
1425 * testsuite/gas/elf/dwarf2-15.d,
1426 * testsuite/gas/elf/dwarf2-16.d,
1427 * testsuite/gas/elf/dwarf2-17.d,
1428 * testsuite/gas/elf/dwarf2-18.d,
1429 * testsuite/gas/elf/dwarf2-2.d,
1430 * testsuite/gas/elf/dwarf2-3.d,
1431 * testsuite/gas/elf/dwarf2-4.d,
1432 * testsuite/gas/elf/dwarf2-5.d,
1433 * testsuite/gas/elf/dwarf2-6.d,
1434 * testsuite/gas/elf/dwarf2-7.d,
1435 * testsuite/gas/elf/dwarf2-8.d,
1436 * testsuite/gas/elf/dwarf2-9.d,
1437 * testsuite/gas/elf/group0c.d,
1438 * testsuite/gas/elf/group1a.d,
1439 * testsuite/gas/elf/group2.d,
1440 * testsuite/gas/elf/groupautoa.d,
1441 * testsuite/gas/elf/ifunc-1.d,
1442 * testsuite/gas/elf/section11.d,
1443 * testsuite/gas/elf/section4.d,
1444 * testsuite/gas/elf/section7.d,
1445 * testsuite/gas/elf/syms.d,
1446 * testsuite/gas/elf/symver.d,
1447 * testsuite/gas/i386/iamcu-1.d,
1448 * testsuite/gas/i386/iamcu-2.d,
1449 * testsuite/gas/i386/iamcu-3.d,
1450 * testsuite/gas/i386/iamcu-4.d,
1451 * testsuite/gas/i386/iamcu-5.d,
1452 * testsuite/gas/i386/ilp32/rex.d,
1453 * testsuite/gas/i386/k1om.d,
1454 * testsuite/gas/i386/l1om.d,
1455 * testsuite/gas/i386/rex.d,
1456 * testsuite/gas/mach-o/sections-3.d,
1457 * testsuite/gas/macros/irp.d,
1458 * testsuite/gas/macros/repeat.d,
1459 * testsuite/gas/macros/rept.d,
1460 * testsuite/gas/macros/semi.d,
1461 * testsuite/gas/macros/test2.d,
1462 * testsuite/gas/macros/test3.d,
1463 * testsuite/gas/macros/vararg.d,
1464 * testsuite/gas/mips/jal-svr4pic-local.d,
1465 * testsuite/gas/mips/micromips@jal-svr4pic-local.d,
1466 * testsuite/gas/mips/mips1@jal-svr4pic-local.d,
1467 * testsuite/gas/mips/r3000@jal-svr4pic-local.d,
1468 * testsuite/gas/ppc/machine.d,
1469 * testsuite/lib/gas-defs.exp (run_dump_test): Replace not-target
1470 and not-skip with notarget and noskip.
1471
04ade4bc
AM
14722018-09-15 Alan Modra <amodra@gmail.com>
1473
1474 * testsuite/gas/mri/char.d: Don't objcopy to srec, objdump instead.
1475 * testsuite/gas/mri/float.d: Likewise.
1476 * testsuite/lib/gas-defs.exp (run_dump_test): Remove support
1477 for objcopy as a dump tool.
1478
606cc040
L
14792018-09-14 H.J. Lu <hongjiu.lu@intel.com>
1480
1481 PR gas/23642
1482 * testsuite/gas/i386/evex-wig2.d: New file.
1483 * testsuite/gas/i386/evex-wig2.s: Likewise.
1484 * testsuite/gas/i386/x86-64-evex-wig2.d: Likewise.
1485 * testsuite/gas/i386/x86-64-evex-wig2.s: Likewise.
1486 * testsuite/gas/i386/i386.exp: Run evex-wig2 and
1487 x86-64-evex-wig2.
1488
6865c043
L
14892018-09-14 H.J. Lu <hongjiu.lu@intel.com>
1490
1491 PR gas/23642
1492 * config/tc-i386.c (build_vex_prefix): Check VEXWIG when setting
1493 the VEX.W bit.
1494 (build_evex_prefix): Check VEXWIG when setting the EVEX.W bit.
1495
70df6fc9
L
14962018-09-14 H.J. Lu <hongjiu.lu@intel.com>
1497
1498 PR binutils/23655
1499 * testsuite/gas/i386/evex.d: Updated.
1500
d20dee9e
L
15012018-09-14 H.J. Lu <hongjiu.lu@intel.com>
1502
1503 PR binutils/23655
1504 * testsuite/gas/i386/evex.d: New file.
1505 * testsuite/gas/i386/evex.s: Likewise.
1506 * testsuite/gas/i386/i386.exp: Run evex.
1507
fe75f42e
LX
15082018-09-10 Lifang Xia <lifang_xia@c-sky.com>
1509
1510 * config/tc-csky.c (md_apply_fix): Transmit BFD_RELOC_32_PCREL to
1511 BFD_RELOC_CKCORE_PCREL32.
1512 (tc_gen_reloc): Trasmit BFD_RELOC_CKCORE_ADDR32 to
1513 BFD_RELOC_CKCORE_PCREL32 while pc-relative.
1514 * config/tc-csky.h (DIFF_EXPR_OK): Define to enable PC relative diff
1515 relocs.
1516
556059dd
JB
15172018-09-14 Jan Beulich <jbeulich@suse.com>
1518
1519 * config/tc-i386.c (process_suffix): Simplify CRC32 special
1520 casing code.
1521
79f0fa25
L
15222018-09-13 H.J. Lu <hongjiu.lu@intel.com>
1523
1524 * config/tc-i386.c (build_vex_prefix): Swap destination and
1525 source only if there are more than 1 register operand.
1526
f5eb1d70
JB
15272018-09-13 Jan Beulich <jbeulich@suse.com>
1528
1529 * config/tc-i386.c (operand_size_match): Also deal with three
1530 operand case.
1531 (match_template): Also allow operand reversal for three operand
1532 templates.
1533
dbbc8b7e
JB
15342018-09-13 Jan Beulich <jbeulich@suse.com>
1535
1536 * config/tc-i386.c (operand_size_match): Mirror
1537 .reg/.regsimd/.acc handling from forward to reverse case.
1538 (build_vex_prefix): Check first and last operand types are equal
1539 and also consider .d for swapping operands for VEX2 encoding.
1540 (match_template): Clear found_reverse_match on every iteration.
1541 Use Opcode_SIMD_FloatD and Opcode_SIMD_IntD.
1542 * testsuite/gas/i386/pseudos.s,
1543 testsuite/gas/i386/x86-64-pseudos.s: Add kmov* tests.
1544 * testsuite/gas/i386/pseudos.d,
1545 testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations.
1546
efb19203
JB
15472018-09-13 Jan Beulich <jbeulich@suse.com>
1548
1549 testsuite/gas/i386/ilp32/x86-64-opts.d,
1550 testsuite/gas/i386/ilp32/x86-64-opts-intel.d,
1551 testsuite/gas/i386/ilp32/x86-64-sse2avx-opts.d,
1552 testsuite/gas/i386/ilp32/x86-64-sse2avx-opts-intel.d: Refer to
1553 non-ILP32 output.
1554
64c49ab3
JB
15552018-09-13 Jan Beulich <jbeulich@suse.com>
1556
1557 * config/tc-i386.c (dir_encoding_swap): New enumerator.
1558 (parse_insn): Use it.
1559 (match_template): Re-write reversal check.
1560 * testsuite/gas/i386/pseudos.s: Add various move, ALU, and FPU
1561 tests.
1562 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
1563 * testsuite/gas/i386/pseudos.d,
1564 testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations.
1565
07d5e953
JB
15662018-09-13 Jan Beulich <jbeulich@suse.com>
1567
1568 * config/tc-i386.c (parse_insn): Extend comment ahead of pseudo-
1569 suffix handling.
1570
d276ec69
JB
15712018-09-13 Jan Beulich <jbeulich@suse.com>
1572
1573 * testsuite/gas/i386/x86-64-mpx.s: And BNDMK case with RIP-
1574 relative memory operand.
1575 * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
1576
031e3350
NC
15772018-09-13 Nick Clifton <nickc@redhat.com>
1578
1579 * dwarf2dbg.c (generic_dwarf2_emit_offset): Use memset to
1580 initialise expression structure.
1581 (set_or_check_view): Likewise.
1582 (out_set_addr): Likewise.
1583 (emit_fixed_inc_line_addr): Likewise.
1584 (relax_inc_line_addr): Likewise.
1585 (out_debug_line): Likewise.
1586 (out_debug_ranges): Likewise.
1587 (out_debug_aranges): Likewise.
1588 (out_debug_info): Likewise.
1589
deee88e9
AM
15902018-09-06 Alan Modra <amodra@gmail.com>
1591
1592 PR 23570
1593 * config/tc-avr.c: Revert 2018-09-03 change.
1594
618a8fdb
DC
15952018-09-04 Daniel Cederman <cederman@gaisler.com>
1596
1597 * config/tc-sparc.c (md_assemble): Allow non-fpop2 instructions
1598 before floating point branches for Sparc V8 and earlier.
1599 * testsuite/gas/sparc/sparc.exp: Execute the new test.
1600 * testsuite/gas/sparc/v8branch.d: New test.
1601 * testsuite/gas/sparc/v8branch.s: New test.
1602
8744470d
NC
16032018-09-03 Nick Clifton <nickc@redhat.com>
1604
1605 PR gas/23570
1606 * config/tc-avr.c (md_pseudo_table): Add entry for "secction".
1607 (avr_set_section): New function. Ensures that the .noinit section
1608 gets the NOBITS ELF section type.
1609
be192bc2
JW
16102018-08-31 Kito Cheng <kito@andestech.com>
1611
1612 * testsuite/gas/riscv/c-fld-fsd-fail.d: New.
1613 * testsuite/gas/riscv/c-fld-fsd-fail.l: Likewise.
1614 * testsuite/gas/riscv/c-fld-fsd-fail.s: Likewise.
1615
6e1453f6
L
16162018-08-31 H.J. Lu <hongjiu.lu@intel.com>
1617
1618 * testsuite/gas/elf/section14.d: Change skip to xfail.
1619 * testsuite/lib/gas-defs.exp (run_dump_test): Add xfail support.
1620
4a969973
AM
16212018-08-31 Alan Modra <amodra@gmail.com>
1622
1623 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): Allow ADDR16
1624 HIGH, HIGHA, HIGHER, HIGHERA, HIGHEST, and HIGHESTA relocs.
1625 Group 16-bit relocs.
1626 * config/tc-ppc.c (md_apply_fix): Translate those ADDR16 relocs
1627 to REL16 when pcrel. Sort relocs.
1628
5e8a54c6
L
16292018-08-31 H.J. Lu <hongjiu.lu@intel.com>
1630
1631 * testsuite/gas/elf/elf.exp: Pass -mx86-used-note=no to
1632 assembler for section2 test on ELF/x86 targets.
1633
2550e952
L
16342018-08-31 H.J. Lu <hongjiu.lu@intel.com>
1635
1636 * testsuite/gas/cfi/cfi-label.d: Pass -mx86-used-note=no to
1637 assembler.
1638
6c0d3bde
L
16392018-08-31 H.J. Lu <hongjiu.lu@intel.com>
1640
1641 * testsuite/gas/i386/bss.d: Pass -mx86-used-note=no to assembler.
1642 * testsuite/gas/i386/ilp32/quad.d: Likewise.
1643 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
1644 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
1645 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
1646 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
1647 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
1648 * testsuite/gas/i386/property-1.d: Likewise.
1649 * testsuite/gas/i386/relax.d: Likewise.
1650 * testsuite/gas/i386/reloc64.d: Likewise.
1651 * testsuite/gas/i386/size-1.d: Likewise.
1652 * testsuite/gas/i386/size-3.d: Likewise.
1653 * testsuite/gas/i386/x86-64-property-1.d: Likewise.
1654 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
1655 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
1656 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
1657 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1658 * testsuite/gas/i386/divide.d: Append "#pass".
1659
b4a3a7b4
L
16602018-08-31 H.J. Lu <hongjiu.lu@intel.com>
1661
1662 * NEWS: Mention -mx86-used-note=[no|yes].
1663 * configure.ac: Add --enable-x86-used-note. Define
1664 DEFAULT_X86_USED_NOTE.
1665 * config.in: Regenerated.
1666 * configure: Likewise.
1667 * config/tc-i386.c (x86_isa_1_used): New.
1668 (x86_feature_2_used): Likewise.
1669 (x86_used_note): Likewise.
1670 (_i386_insn): Add has_regmmx, has_regxmm, has_regymm and
1671 has_regzmm.
1672 (build_modrm_byte): Set i.has_regmmx, i.has_regzmm.
1673 i.has_regymm and i.has_regxmm.
1674 (x86_cleanup): New function.
1675 (output_insn): Update x86_isa_1_used and x86_feature_2_used.
1676 (OPTION_X86_USED_NOTE): New.
1677 (md_longopts): Add -mx86-used-note=.
1678 (md_parse_option): Handle OPTION_X86_USED_NOTE.
1679 (md_show_usage): Display -mx86-used-note=.
1680 * config/tc-i386.h (x86_cleanup): New prototype.
1681 (md_cleanup): New.
1682 * doc/c-i386.texi: Document -mx86-used-note=.
1683
40bac49b
JM
16842018-08-30 Jose E. Marchesi <jose.marchesi@oracle.com>
1685
1686 * testsuite/gas/sparc/leon.d: Disassemble v8 code also in sparc64
1687 targets.
1688
43135d3b
JW
16892018-08-30 Kito Cheng <kito@andestech.com>
1690
1691 * config/tc-riscv.c (riscv_subset_supports): New argument:
1692 xlen_required.
1693 (riscv_multi_subset_supports): New function, able to check more
1694 than one extension.
1695 (riscv_ip): Use riscv_multi_subset_supports instead of
1696 riscv_subset_supports.
1697 (riscv_set_arch): Update call-site for riscv_subset_supports.
1698 (riscv_after_parse_args): Likewise.
1699
a8699911
L
17002018-08-30 H.J. Lu <hongjiu.lu@intel.com>
1701
1702 * testsuite/gas/elf/section14.d: Skip h8300 targets.
1703
385e5b90
L
17042018-08-30 H.J. Lu <hongjiu.lu@intel.com>
1705
1706 * testsuite/gas/elf/elf.exp: Run section14.
1707 * testsuite/gas/elf/section14.d: New file.
1708 * testsuite/gas/elf/section14.s: Likewise.
1709
df28970f
MA
17102018-08-29 Daniel Cederman <cederman@gaisler.com>
1711
1712 * testsuite/gas/sparc/leon.d: New test.
1713 * testsuite/gas/sparc/leon.s: New test.
1714 * testsuite/gas/sparc/sparc.exp: Execute the pwrpsr test.
1715
9108bc33
CX
17162018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
1717
1718 * config/tc-mips.c (ISA_HAS_ODD_SINGLE_FPR): Exclude CPU_GS264E.
1719 (mips_cpu_info_table): Add gs264e descriptors.
1720 * doc/as.texi (march table): Add gs264e.
1721
bd782c07
CX
17222018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
1723
1724 * config/tc-mips.c (ISA_HAS_ODD_SINGLE_FPR): Exclude CPU_GS464E.
1725 (mips_cpu_info_table): Add gs464e descriptors.
1726 * doc/as.texi (march table): Add gs464e.
1727
ac8cb70f
CX
17282018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
1729
1730 * config/tc-mips.c (ISA_HAS_ODD_SINGLE_FPR): Rename
1731 CPU_LOONGSON_3A to CPU_GS464.
1732 (mips_cpu_info_table): Add gs464 descriptors, Keep
1733 loongson3a as an alias of gs464 for compatibility.
1734 * doc/as.texi (march table): Rename loongson3a to gs464.
1735 * testsuite/gas/mips/loongson-3a-mmi.d: Set "ISA Extension"
1736 flag to None.
1737
a693765e
CX
17382018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
1739
1740 * NEWS: Mention Loongson EXTensions R2 (EXT2) support.
1741 * config/tc-mips.c (options): Add OPTION_LOONGSON_EXT2 and
1742 OPTION_NO_LOONGSON_EXT2.
1743 (md_longopts): Likewise.
1744 (mips_ases): Define availability for EXT.
1745 (mips_convert_ase_flags): Map ASE_LOONGSON_EXT2 to
1746 AFL_ASE_LOONGSON_EXT2.
1747 (md_show_usage): Add help for -mloongson-ext2 and
1748 -mno-loongson-ext2.
1749 * doc/as.texi: Document -mloongson-ext2, -mno-loongson-ext2.
1750 * doc/c-mips.texi: Document -mloongson-ext2, -mno-loongson-ext2,
1751 .set loongson-ext2 and .set noloongson-ext2.
1752 * testsuite/gas/mips/loongson-ext2.d: New test.
1753 * testsuite/gas/mips/loongson-ext2.s: New test.
1754 * testsuite/gas/mips/mips.exp: Run loongson-ext2 test.
1755
bdc6c06e
CX
17562018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
1757
1758 * NEWS: Mention Loongson EXTensions (EXT) support.
1759 * config/tc-mips.c (options): Add OPTION_LOONGSON_EXT and
1760 OPTION_NO_LOONGSON_EXT.
1761 (md_longopts): Likewise.
1762 (mips_ases): Define availability for EXT.
1763 (mips_convert_ase_flags): Map ASE_LOONGSON_EXT to
1764 AFL_ASE_LOONGSON_EXT.
1765 (mips_cpu_info_table): Add ASE_LOONGSON_EXT for loongson3a.
1766 (md_show_usage): Add help for -mloongson-ext and
1767 -mno-loongson-ext.
1768 * doc/as.texi: Document -mloongson-ext, -mno-loongson-ext.
1769 * doc/c-mips.texi: Document -mloongson-ext, -mno-loongson-ext,
1770 .set loongson-ext and .set noloongson-ext.
1771 * testsuite/gas/mips/loongson-mmi.d: Add ASE flag.
1772
716c08de
CX
17732018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
1774
1775 * NEWS: Mention Loongson Content Address Memory (CAM)
1776 support.
1777 * config/tc-mips.c (options): Add OPTION_LOONGSON_CAM and
1778 OPTION_NO_LOONGSON_CAM.
1779 (md_longopts): Likewise.
1780 (mips_ases): Define availability for CAM.
1781 (mips_convert_ase_flags): Map ASE_LOONGSON_CAM to
1782 AFL_ASE_LOONGSON_CAM.
1783 (mips_cpu_info_table): Add ASE_LOONGSON_CAM for loongson3a.
1784 (md_show_usage): Add help for -mloongson-cam and
1785 -mno-loongson-cam.
1786 * doc/as.texi: Document -mloongson-cam, -mno-loongson-cam.
1787 * doc/c-mips.texi: Document -mloongson-cam, -mno-loongson-cam,
1788 .set loongson-cam and .set noloongson-cam.
1789 * testsuite/gas/mips/loongson-3a-2.d: Move cam test to ...
1790 * testsuite/gas/mips/loongson-cam.d: Here. Add ISA/ASE
1791 flag verification.
1792 * testsuite/gas/mips/loongson-3a-2.s: Move cam test to ...
1793 * testsuite/gas/mips/loongson-cam.s: Here.
1794 * testsuite/gas/mips/loongson-3a-mmi.d: Add ASE flag.
1795 * testsuite/gas/mips/mips.exp: Run loongson-cam test.
1796
90c745dc
L
17972018-08-27 H.J. Lu <hongjiu.lu@intel.com>
1798
1799 * testsuite/gas/i386/i386.exp: Run property-1 and
1800 x86-64-property-1.
1801 * testsuite/gas/i386/property-1.d: New file.
1802 * testsuite/gas/i386/property-1.s: Likewise.
1803 * testsuite/gas/i386/x86-64-property-1.d: Likewise.
1804
bfb218e3
JW
18052018-08-23 Kito Cheng <kito@andestech.com>
1806
1807 * config/tc-riscv.c (arg_lookup): Checking
1808 length before look up.
1809 * testsuite/gas/riscv/fence-fail.d: New file.
1810 * testsuite/gas/riscv/fence-fail.l: Likewise.
1811 * testsuite/gas/riscv/fence-fail.s: Likewise.
1812 * testsuite/gas/riscv/rouding-fail.d: Likewise.
1813 * testsuite/gas/riscv/rouding-fail.l: Likewise.
1814 * testsuite/gas/riscv/rouding-fail.s: Likewise.
1815
7dd36a6f
L
18162018-08-23 H.J. Lu <hongjiu.lu@intel.com>
1817
1818 PR ld/23536
1819 * Makefile.am (development.exp): New target.
1820 (EXTRA_DEJAGNU_SITE_CONFIG): New.
1821 (DISTCLEANFILES): Add development.exp.
1822 * Makefile.in: Regenerated.
1823
86b9fea1
AM
18242018-08-22 Alan Modra <amodra@gmail.com>
1825
1826 * dw2gencfi.c (emit_expr_encoded, output_fde): Warning fixes.
1827
6efa941c
AM
18282018-08-21 Arnold Metselaar <arnold.metsel@gmail.com>
1829
1830 * config/tc-z80.c: Correct treatment of undocumented instruction
1831 sli/sll.
1832 (emit_mr): Add argument unportable.
1833 (emit_bit): Adapt call to emit_mr.
1834 (emit_mr_z80): New function.
d000b763 1835 (emit_mr_unport): New function.
6efa941c
AM
1836 (instab[]): Replace emit_mr with emit_mr_z80 or emit_mr_unportable
1837 as appropriate.
1838
9dcbfff1
AS
18392018-08-21 Andreas Schwab <schwab@suse.de>
1840
1841 * read.c (do_repeat_with_expander): Use memmove instead of strcpy
1842 on unterminated string buffer.
1843
9cf7e568
AM
18442018-08-21 Alan Modra <amodra@gmail.com>
1845
1846 * config/tc-ppc.c (md_assemble): Delay counting of optional
1847 operands until one is encountered. Allow for the possibility
1848 of optional base regs, ie. PPC_OPERAND_PARENS. Call
1849 ppc_optional_operand_value with extra args.
1850
08a8fe2f
AM
18512018-08-21 Alan Modra <amodra@gmail.com>
1852
1853 * testsuite/gas/s12z/bit-manip-invalid.d: Correct regexps.
1854
18552018-08-18 John Darrington <john@darrington.wattle.id.au>
f4107842
JD
1856
1857 * testsuite/gas/s12z/bit-manip-invalid.d: New file.
1858 * testsuite/gas/s12z/bit-manip-invalid.s: New file.
1859 * testsuite/gas/s12z/s12z.exp: Add them.
1860
1bc60e56
L
18612018-08-14 H.J. Lu <hongjiu.lu@intel.com>
1862
1863 * testsuite/gas/i386/evex-no-scale-64.d: Updated.
1864 * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise.
1865 * testsuite/gas/i386/x86-64-addr32.d: Likewise.
1866 * testsuite/gas/i386/ilp32/x86-64-addr32-intel.d: Likewise.
1867 * testsuite/gas/i386/ilp32/x86-64-addr32.d: Likewise.
1868 * testsuite/gas/i386/x86-64-addr32.s: Add %eiz tests.
1869
2a50366d
RY
18702018-08-14 Robert Yang <liezhi.yang@windriver.com>
1871
1872 * as.c (main): Improve check for input file matching output file.
1873
d871f3f4
L
18742018-08-11 H.J. Lu <hongjiu.lu@intel.com>
1875
1876 * config/tc-i386.c (cpu_arch): Add .cmov and .fxsr.
1877 (cpu_noarch): Add nocmov and nofxsr.
1878 * doc/c-i386.texi: Document cmov and fxsr.
1879
d7f449c0
L
18802018-08-10 H.J. Lu <hongjiu.lu@intel.com>
1881
1882 * config/tc-i386.c (md_show_usage): Don't display --32/--64/--x32
1883 if BFD64 is undefined.
1884 * testsuite/gas/i386/i386.exp (gas_bfd64_check): New.
1885 Run code64-inval if gas_bfd64_check fails.
1886
19449d7c
L
18872018-08-10 H.J. Lu <hongjiu.lu@intel.com>
1888
1889 * testsuite/gas/i386/evex-no-scale.s: Removed.
1890 * testsuite/gas/i386/evex-no-scale-32.d: Don't use
1891 evex-no-scale.s.
1892 * testsuite/gas/i386/evex-no-scale-64.d: Likewise.
1893 * testsuite/gas/i386/evex-no-scale-32.s: New file.
1894 * testsuite/gas/i386/evex-no-scale-64.s: Likewise.
1895
3a53fb12
L
18962018-08-09 H.J. Lu <hongjiu.lu@intel.com>
1897
1898 * as.c (show_usage): Display default option for --elf-stt-common=.
1899
7c5c05ef
L
19002018-08-09 H.J. Lu <hongjiu.lu@intel.com>
1901
1902 * config/tc-i386.c (md_show_usage): Display default options.
1903
8f9ea98b
JPC
19042018-08-07 James Patrick Conlon <cptjustice@gmail.com>
1905 Nick Clifton <nickc@redhat.com>
1906
1907 PR 23481
1908 * config/tc-pdp11.c (parse_op_noreg): Check for deferred register
1909 addressing before assuming non-deferred addressing.
1910 * testsuite/gas/pdp11/pr23481.s: New test source file.
1911 * testsuite/gas/pdp11/pr23481.d: New test driver file.
1912 * testsuite/gas/pdp11/pdp11.exp: Run the new test.
1913
63741043 19142018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
1915
1916 * config/tc-arc.c (rf16_only): New static variable.
1917 (autodetect_attributes): Check if we are rf16 compliant.
1918 (arc_set_public_attributes): Fix and emit the warning is required.
1919 * testsuite/gas/arc/attr-rf16.d: New file.
1920 * testsuite/gas/arc/attr-rf16.err: Likewise.
1921 * testsuite/gas/arc/attr-rf16.s: Likewise.
1922
db1e1b45 19232018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
1924
1925 * config/tc-arc.c (arc_set_public_attributes): Add
1926 Tag_ARC_ATR_version.
1927 (arc_convert_symbolic_attribute): Likewise.
1928 * testsuite/gas/arc/attr-arc600.d: Update test.
1929 * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
1930 * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
1931 * testsuite/gas/arc/attr-arc601.d: Likewise.
1932 * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
1933 * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
1934 * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
1935 * testsuite/gas/arc/attr-arc700.d: Likewise.
1936 * testsuite/gas/arc/attr-arcem.d: Likewise.
1937 * testsuite/gas/arc/attr-archs.d: Likewise.
1938 * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
1939 * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
1940 * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
1941 * testsuite/gas/arc/attr-cpu-em.d: Likewise.
1942 * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
1943 * testsuite/gas/arc/attr-em.d: Likewise.
1944 * testsuite/gas/arc/attr-em4.d: Likewise.
1945 * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
1946 * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
1947 * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
1948 * testsuite/gas/arc/attr-hs.d: Likewise.
1949 * testsuite/gas/arc/attr-hs34.d: Likewise.
1950 * testsuite/gas/arc/attr-hs38.d: Likewise.
1951 * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
1952 * testsuite/gas/arc/attr-mul64.d: Likewise.
1953 * testsuite/gas/arc/attr-name.d: Likewise.
1954 * testsuite/gas/arc/attr-nps400.d: Likewise.
1955 * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
1956 * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
1957
b6523c37 19582018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
1959
1960 * config/tc-arc.c (find_opcode_match): Accept uppercase aux-regs
1961 names.
1962 * testsuite/gas/arc/ld2.d: Update test.
1963 * testsuite/gas/arc/taux.d: Likewise.
1964 * testsuite/gas/arc/taux.s: Likewise.
1965
e968fc9b
JB
19662018-08-06 Jan Beulich <jbeulich@suse.com>
1967
1968 * config/tc-i386.c (build_modrm_byte): Use RegIP and RegIZ.
1969 (output_disp): Use RegIP.
1970 (i386_addressing_mode): Drop uses of RegEip and RegEiz.
1971 (i386_index_check): Replace uses of RegEip/RegEiz.
1972 (parse_real_register): Use RegIZ.
1973 * config/tc-i386-intel.c (i386_intel_simplify_register): Use
1974 RegIZ.
1975 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust expectations.
1976
99c2d522
L
19772018-08-05 H.J. Lu <hongjiu.lu@intel.com>
1978
1979 * testsuite/gas/i386/i386.exp: Run evex-no-scale-32 and
1980 evex-no-scale-64 only for ELF targets.
1981 * testsuite/gas/i386/prefix32.s: Append ".p2align 4,0".
1982 * testsuite/gas/i386/prefix64.s: Likewise.
1983 * testsuite/gas/i386/prefix32.l: Updated.
1984 * testsuite/gas/i386/prefix64.l: Likewise.
1985
05d0e962
AM
19862018-08-05 Alan Modra <amodra@gmail.com>
1987
1988 * config/tc-ppc.c (ppc_elf_suffix): Support @notoc.
1989 (ppc_force_relocation, ppc_fix_adjustable): Handle REL24_NOTOC.
1990
2688aab2
DD
19912018-08-03 Dimitar Dimitrov <dimitar@dinux.eu>
1992
1993 * config/tc-pru.c (pru_regname_to_dw2regnum): Return the starting HW
1994 byte-register number.
1995 (pru_frame_initial_instructions): Use byte-numbering for FP index.
1996 * config/tc-pru.h (DWARF2_DEFAULT_RETURN_COLUMN): Use number from
1997 latest GCC.
1998 (DWARF2_CIE_DATA_ALIGNMENT): Set to -1.
1999
c48dadc9
JB
20002018-08-03 Jan Beulich <jbeulich@suse.com>
2001
2002 * config/tc-i386.c (Operand_Mem): Define.
2003 (operand_size_match): Use it.
2004 (check_VecOperands): Likewise.
2005 (i386_att_operand): Likewise.
2006 (swap_2_operands): Also swap flags fields.
2007 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
2008
8f9ea98b 20092018-08-01 James Patrick Conlon <cptjustice@gmail.com>
3cf2b669
JPC
2010 Nick Clifton <nickc@redhat.com>
2011
2012 PR 14480
2013 * config/tc-pdp11.c (parse_op_noreg): Check for and handle auto
2014 increment deferred.
2015 * testsuite/gas/pdp11/pr14480.d: New test driver file.
2016 * testsuite/gas/pdp11/pr14480.s: New test source file file.
2017 * testsuite/gas/pdp11/pdp11.exp: Run the new test.
2018
f03fb292
NC
20192018-08-01 Nick Clifton <nickc@redhat.com>
2020
2021 * config/tc-ns32k.c (addr_mode): Replace "Drop through" comment
2022 with "Fall through" so that it will be recognised by gcc's switch
2023 statment error checker.
2024
cb86a42a
AM
20252018-08-01 Alan Modra <amodra@gmail.com>
2026
2027 * po/POTFILES.in: Regenerate.
2028
1424ad86
JB
20292018-07-31 Jan Beulich <jbeulich@suse.com>
2030
2031 * config/tc-i386.c (optimize_encoding): Also handle kandnd,
2032 kandnq, kxord, and kxorq.
2033 * testsuite/gas/i386/optimize-1.s: Add kandn and kxor tests.
2034 * testsuite/gas/i386/optimize-1.d,
2035 testsuite/gas/i386/optimize-4.d,
2036 testsuite/gas/i386/optimize-5.d: Adjust expectations.
2037
ae2387fe
JB
20382018-07-31 Jan Beulich <jbeulich@suse.com>
2039
2040 * config/tc-i386.c (check_VecOperands): Convert masking handling
2041 to switch(), to deal with DYNAMIC_MASKING.
2042
fa77b93a
JB
20432018-07-31 Jan Beulich <jbeulich@suse.com>
2044
2045 * testsuite/gas/i386/inval-avx512f.s: Add invalid zeroing-
2046 masking tests.
2047 * testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
2048
6ff00b5e
JB
20492018-07-31 Jan Beulich <jbeulich@suse.com>
2050
2051 * testsuite/gas/i386/sg.s, testsuite/gas/i386/sg.l: New.
2052 * testsuite/gas/i386/i386.exp: Run new test.
2053 * testsuite/gas/i386/avx512f.s, testsuite/gas/i386/avx512f_vl.s,
2054 testsuite/gas/i386/avx512pf.s,
2055 testsuite/gas/i386/x86-64-avx512f.s,
2056 testsuite/gas/i386/x86-64-avx512f_vl.s,
2057 testsuite/gas/i386/x86-64-avx512pf.s: Drop unnessecary operand
2058 size specifiers from scatter/gather insns in Intel mode.
2059
7a8655d2
JB
20602018-07-31 Jan Beulich <jbeulich@suse.com>
2061
2062 * config/tc-i386.c (is_any_vex_encoding): New.
2063 (process_immext, process_suffix): Use it.
2064 (md_assemble): Likewise. Reject DATA_PREFIX with VEX/XOP/EVEX
2065 insn.
2066 * testsuite/gas/i386/prefix32.s, testsuite/gas/i386/prefix32.l,
2067 testsuite/gas/i386/prefix64.s, testsuite/gas/i386/prefix64.l
2068 New.
2069 * testsuite/gas/i386/i386.exp: Run new tests.
2070
e951d5ca
JB
20712018-07-31 Jan Beulich <jbeulich@suse.com>
2072
2073 * config/tc-i386.c (parse_real_register): Use cpuavx512f instead
2074 of cpuvrex.
2075
629cfaf1
JB
20762018-07-30 Jan Beulich <jbeulich@suse.com>
2077
2078 PR gas/23465
2079 * config/tc-i386.c (output_disp): Restrict scaling.
2080 * testsuite/gas/i386/evex-no-scale.s,
2081 testsuite/gas/i386/evex-no-scale-32.d
2082 testsuite/gas/i386/evex-no-scale-64.d: New.
2083 * testsuite/gas/i386/i386.exp: Run new tests.
2084
b8891f8d
AJ
20852018-07-30 Andrew Jenner <andrew@codesourcery.com>
2086
2087 * Makefile.am (TARGET_CPU_CFILES): Add entry for C-SKY.
2088 (TARGET_CPU_HFILES, TARGET_ENV_HFILES): Likewise.
2089 * Makefile.in: Regenerated.
2090 * config/tc-csky.c: New file.
2091 * config/tc-csky.h: New file.
2092 * config/te-csky_abiv1.h: New file.
2093 * config/te-csky_abiv1_linux.h: New file.
2094 * config/te-csky_abiv2.h: New file.
2095 * config/te-csky_abiv2_linux.h: New file.
2096 * configure.tgt: Add C-SKY.
2097 * doc/Makefile.am (CPU_DOCS): Add entry for C-SKY.
2098 * doc/Makefile.in: Regenerated.
2099 * doc/all.texi: Set CSKY feature.
2100 * doc/as.texi (Overview): Add C-SKY options.
2101 (Machine Dependencies): Likewise.
2102 * doc/c-csky.texi: New file.
2103 * testsuite/gas/csky/*: New test cases.
2104 * NEWS: Mention the support.
2105
29e6f474
JDA
21062018-07-29 John David Anglin <danglin@gcc.gnu.org>
2107
2108 * config/tc-hppa.c: Include "struc-symbol.h".
2109 (pa_build_unwind_subspace): Use call_info->start_symbol->sy_frag
2110 instead of frag_now for local symbol replacement.
2111
d19969ff
JW
21122018-07-27 Jim Wilson <jimw@sifive.com>
2113
2114 * configure.tgt (riscv*): Accept as alias for riscv32*.
2115
1286ab78
L
21162018-07-26 H.J. Lu <hongjiu.lu@intel.com>
2117
2118 PR gas/23453
2119 * config/tc-i386.c (parse_operands): Check for more than 2
2120 memory references.
2121 * testsuite/gas/i386/inval.s: Add a movsd test with 3 memory
2122 references.
2123 * testsuite/gas/i386/x86-64-inval.s: Likewise.
2124 * testsuite/gas/i386/inval.l: Updated.
2125 * testsuite/gas/i386/x86-64-inval.l: Likewise.
2126
1f75763a
L
21272018-07-26 H.J. Lu <hongjiu.lu@intel.com>
2128
2129 * config/tc-i386.c (check_VecOperations): Initialize
2130 broadcast_op.bytes to 0.
2131
fa758a70
AC
21322018-07-26 Alex Chadwick <Alex.Chadwick@cl.cam.ac.uk>
2133
2134 * config/tc-ppc.c (md_show_usage): Add -mgekko and -mbroadway.
2135 * doc/as.texi (Target PowerPC options): Add -mgekko and -mbroadway.
2136 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
2137 * testsuite/gas/ppc/broadway.d,
2138 * testsuite/gas/ppc/broadway.s: New test for broadway.
2139 * testsuite/gas/ppc/ppc.exp: Run new test.
2140
33cb30a1
AM
21412018-07-26 Alan Modra <amodra@gmail.com>
2142
2143 * config/tc-ppc.c (ppc_elf_localentry): Allow .localentry values
2144 of 1 and 7 to directly set value into STO_PPC64_LOCAL_MASK bits.
2145
4a1b91ea
L
21462018-07-25 H.J. Lu <hongjiu.lu@intel.com>
2147
2148 * config/tc-i386.c (Broadcast_Operation): Add bytes.
2149 (build_evex_prefix): Use i.broadcast->bytes.
2150 (match_broadcast_size): New function.
2151 (check_VecOperands): Use the broadcast field to compute the
2152 number of bytes to broadcast directly. Set i.broadcast->bytes.
2153 Use match_broadcast_size.
2154
54691107
TP
21552018-07-25 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2156
2157 * doc/c-arm.texi (.arch directive): Clarify that name must not include
2158 an extension.
2159 (.cpu directive): Likewise.
2160
56522fc5
L
21612018-07-24 H.J. Lu <hongjiu.lu@intel.com>
2162
2163 * config/tc-i386.c (build_vex_prefix): Use unsigned int to
2164 iterate through multi-length vector operands.
2165 (build_evex_prefix): Likewise.
2166
4174bfff
JB
21672018-07-24 Jan Beulich <jbeulich@suse.com>
2168
2169 * config/tc-i386.c (check_VecOperands): Handle EVEXLIG when
2170 deriving i.memshift.
2171 * testsuite/gas/i386/cvtsi2sX.s, testsuite/gas/i386/cvtsi2sX.l:
2172 New.
2173 * testsuite/gas/i386/i386.exp: Run new test.
2174 * testsuite/gas/i386/avx512f.d,
2175 testsuite/gas/i386/evex-lig256.d,
2176 testsuite/gas/i386/evex-lig512.d,,
2177 testsuite/gas/i386/x86-64-avx512f.d,
2178 testsuite/gas/i386/x86-64-evex-lig256.d,
2179 testsuite/gas/i386/x86-64-evex-lig512.d: Adjust expectations.
2180
e2b7fbc4
L
21812018-07-23 H.J. Lu <hongjiu.lu@intel.com>
2182
2183 * testsuite/gas/i386/inval-avx512f.s: Add a test for missing
2184 broadcast.
2185 * testsuite/gas/i386/x86-64-inval-avx512f.s: Likewise.
2186 * testsuite/gas/i386/inval-avx512f.l: Updated.
2187 * testsuite/gas/i386/x86-64-inval-avx512f.l: Likewise.
2188
c2658698
L
21892018-07-23 H.J. Lu <hongjiu.lu@intel.com>
2190
2191 * config/tc-i386.c (i386_error): Remove
2192 broadcast_not_on_src_operand.
2193 (match_template): Likewse.
2194
04e65276
CZ
21952018-07-23 Claudiu Zissulescu <claziss@synopsys.com>
2196
2197 * testsuite/gas/arc/st.d: Fix test.
2198
f02806be 21992018-07-23 Claudiu Zissulescu <claziss@synopsys.com>
2200
2201 * config/tc-arc.c (tokenize_extinsn): Convert to lower case the
2202 name of extension instructions.
2203 * testsuite/gas/arc/textinsn_case.d: New file.
2204 * testsuite/gas/arc/textinsn_case.s: Likewise.
2205
c7213af9
L
22062018-07-22 H.J. Lu <hongjiu.lu@intel.com>
2207
2208 * config/tc-i386.c (build_vex_prefix): Determine vector
2209 length from the last multi-length vector operand.
2210 (build_evex_prefix): Likewise.
2211
dd40ce22
L
22122018-07-20 H.J. Lu <hongjiu.lu@intel.com>
2213
2214 * config/tc-i386.c (match_simd_size): Break long line.
2215 (match_mem_size): Likewise.
2216
7a54636a
L
22172018-07-20 H.J. Lu <hongjiu.lu@intel.com>
2218
2219 * config/tc-i386.c (match_reg_size): Renamed to ...
2220 (match_operand_size): This. Update comments.
2221 (match_simd_size): Update comments. Replace match_reg_size
2222 with match_operand_size.
2223 (match_mem_size): Likewise.
2224 (operand_size_match): Replace match_reg_size with
2225 match_operand_size.
2226
8095d2f7
CX
22272018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
2228 Maciej W. Rozycki <macro@mips.com>
2229
2230 * NEWS: Mention MultiMedia extensions Instructions (MMI)
2231 support.
2232 * config/tc-mips.c (options): Add OPTION_LOONGSON_MMI and
2233 OPTION_NO_LOONGSON_MMI.
2234 (md_longopts): Likewise.
2235 (mips_ases): Define availability for MMI.
2236 (mips_convert_ase_flags): Map ASE_LOONGSON_MMI to
2237 AFL_ASE_LOONGSON_MMI.
2238 (mips_cpu_info_table): Add ASE_LOONGSON_MMI for loongson2f/3a.
2239 (md_show_usage): Add help for -mloongson-mmi and
2240 -mno-loongson-mmi.
2241 * doc/as.texi: Document -mloongson-mmi, -mno-loongson-mmi.
2242 * doc/c-mips.texi: Document -mloongson-mmi, -mno-loongson-mmi,
2243 .set loongson-mmi and .set noloongson-mmi.
2244 * testsuite/gas/mips/loongson-2f.d: Move mmi test to ...
2245 * testsuite/gas/mips/loongson-2f-mmi.d: Here. Add ISA/ASE
2246 flag verification.
2247 * testsuite/gas/mips/loongson-2f.s: Move mmi test to ...
2248 * testsuite/gas/mips/loongson-2f-mmi.s: Here.
2249 * testsuite/gas/mips/loongson-3a.d: Move mmi test to ...
2250 * testsuite/gas/mips/loongson-3a-mmi.d: Here. Add ISA/ASE
2251 flag verification.
2252 * testsuite/gas/mips/loongson-3a.s: Move mmi test to ...
2253 * testsuite/gas/mips/loongson-3a-mmi.s: Here.
2254 * testsuite/gas/mips/mips.exp: Run loongson-2f-mmi and
2255 loongson-3a-mmi tests.
2256
0458ca44
RO
22572018-07-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2258 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2259
2260 * testsuite/gas/sparc/sparc.exp (set_tests_arch): New proc.
2261 Prefix v9c, v9d, v9v, v9m, v9m8 tests with corresponding
2262 set_tests_arch.
2263
625cbd7a
JB
22642018-07-19 Jan Beulich <jbeulich@suse.com>
2265
2266 * config/tc-i386.c (build_evex_prefix): Derive vector length
2267 from broadcast specification if necessary.
2268 (match_template): Also exclude broadcast when checking whether
2269 to reject 32-bit operands on pre-386.
2270
8282b7ad
JB
22712018-07-19 Jan Beulich <jbeulich@suse.com>
2272
2273 * testsuite/gas/i386/noavx512-2.l: Adjust expectations.
2274
7091c612
JB
22752018-07-19 Jan Beulich <jbeulich@suse.com>
2276
2277 * config/tc-i386.c (is_evex_encoding): Also check disp8memshift.
2278 (optimize_encoding): Also cover templates without cpuavx512vl
2279 allowing for zmmword and having a ymmword actual.
2280 (check_VecOperands): Handle DISP8_SHIFT_VL.
2281 * testsuite/gas/i386/noavx512-2.l: Adjust expectations.
2282
972450a7
MR
22832018-07-18 Maciej W. Rozycki <macro@mips.com>
2284
2285 * testsuite/gas/mips/loongson-2e.d: Correct whitespace issues.
2286 * testsuite/gas/mips/loongson-2f.d: Likewise.
2287 * testsuite/gas/mips/loongson-2f-2.d: Likewise.
2288 * testsuite/gas/mips/loongson-2f-3.d: Likewise.
2289 * testsuite/gas/mips/loongson-3a.d: Likewise.
2290 * testsuite/gas/mips/loongson-3a-2.d: Likewise.
2291 * testsuite/gas/mips/loongson-2e.s: Likewise.
2292 * testsuite/gas/mips/loongson-2f.s: Likewise.
2293 * testsuite/gas/mips/loongson-2f-3.s: Likewise.
2294 * testsuite/gas/mips/loongson-3a.s: Likewise.
2295 * testsuite/gas/mips/loongson-3a-2.s: Likewise.
2296
11a322db
L
22972018-07-18 H.J. Lu <hongjiu.lu@intel.com>
2298
2299 PR gas/23418
2300 * testsuite/gas/i386/xmmword.s: Add tests for vcvtps2qq,
2301 vcvtps2uqq, vcvttps2qq and vcvttps2uqq.
2302 * testsuite/gas/i386/xmmword.l: Updated.
2303
3ac21baa
JB
23042018-07-16 Jan Beulich <jbeulich@suse.com>
2305
2306 * config/tc-i386.c (match_reg_size): Split second parameter
2307 into two.
2308 (match_simd_size): Likewise.
2309 (match_mem_size): Likewise.
2310 (MATCH_STRAIGHT, MATCH_REVERSE): Define.
2311 (operand_size_match): Change return type. New local variable
2312 "match". Always check for reverse match when opcode_modifier.d
2313 is set.
2314 (match_template) New local variable "size_match". Skip further
2315 matching if operand_size_match() did not report a respective
2316 match.
2317 * testsuite/gas/i386/inval.s: Add control register reads/writes.
2318 * testsuite/gas/i386/inval.l: Adjust expectations.
2319
b84f59ef
NC
23202018-07-13 Nick Clifton <nickc@redhat.com>
2321
2322 * testsuite/gas/elf/missing-build-notes.s: New test. Checks that
2323 relocs are correctly generated for missing build notes.
2324 * testsuite/gas/elf/missing-build-notes.d: New file. Expected
2325 output from objdump.
2326 * testsuite/gas/elf/elf.exp: Run the new test.
2327
4ef4710f
NC
23282018-07-13 Nick Clifton <nickc@redhat.com>
2329
2330 * config/tc-arm.c (do_neon_mov): When converting an integer
2331 immediate into a floating point value, check that the conversion
2332 is valid. Also warn if the immediate is valid as both a floating
2333 point value and a bit pattern.
2334 * testsuite/gas/arm/vfp-mov-enc.s: Add instructions that use
2335 floating point bit patterns.
2336 * testsuite/gas/arm/vfp-mov-enc.d: Add regexps for the disassembly
2337 of the new insns.
2338
cde3679e
NC
23392018-07-12 Sudakshina Das <sudi.das@arm.com>
2340
2341 * testsuite/gas/aarch64/system.s: Add test for ssbb
2342 and pssbb.
2343 * testsuite/gas/aarch64/system.d: Update accordingly
2344 and remove explicit addresses.
2345
45a28947
TC
23462018-07-11 Tamar Christina <tamar.christina@arm.com>
2347
2348 PR binutils/23192
2349 * testsuite/gas/aarch64/illegal-by-element.s: New.
2350 * testsuite/gas/aarch64/illegal-by-element.d: New.
2351 * testsuite/gas/aarch64/illegal-by-element.l: New.
2352
c597cc3d
SD
23532018-07-11 Sudakshina Das <sudi.das@arm.com>
2354
2355 * config/tc-arm.c (insns): Add new ssbb and pssbb instructions.
2356 * testsuite/gas/arm/csdb.s: Add new tests for ssbb and pssbb.
2357 * testsuite/gas/arm/csdb.d: Likewise
2358 * testsuite/gas/arm/thumb2_it_bad.s: Likewise.
2359 * testsuite/gas/arm/thumb2_it_bad.l: Likewise.
2360 * testsuite/gas/arm/barrier.d: Update with ssbb.
2361 * testsuite/gas/arm/barrier-thumb.d: Likewise.
2362
2fb5be8d
JB
23632018-07-11 Jan Beulich <jbeulich@suse.com>
2364
2365 * config/tc-i386.c (inoutportreg, reg16_inoutportreg): Delete.
2366 (i386_att_operand): Replace uses of reg16_inoutportreg and
2367 inoutportreg.
2368
bd59a631
JB
23692018-07-11 Jan Beulich <jbeulich@suse.com>
2370
2371 * config/tc-i386.c (output_insn): Remove check_prefix label and
2372 fold remaining expression.
2373
7f5cad30
JB
23742018-07-11 Jan Beulich <jbeulich@suse.com>
2375
2376 * testsuite/gas/i386/cet.s, testsuite/gas/i386/x86-64-cet.s:
2377 Add Intel cases with operand size specifiers.
2378 * testsuite/gas/i386/cet-intel.d, testsuite/gas/i386/cet.d,
2379 testsuite/gas/i386/x86-64-cet-intel.d,
2380 testsuite/gas/i386/x86-64-cet.d: Adjust expectations.
2381
76d3a78a
JB
23822018-07-11 Jan Beulich <jbeulich@suse.com>
2383
2384 * config/tc-i386.c (md_assemble): Also replace an already
2385 present REP prefix.
2386 * testsuite/gas/i386/mpx-add-bnd-prefix.s,
2387 testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.s: Test RET with
2388 all REP flavors.
2389 * testsuite/gas/i386/mpx-add-bnd-prefix.d,
2390 testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d: Adjust
2391 expectations.
2392 * testsuite/gas/i386/mpx-add-bnd-prefix.e,
2393 testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.e: New.
2394
2af4d0d9
JL
23952018-07-09 Jeff Law <law@redhat.com>
2396
2397 * testsuite/nds32/ji-jr.d: Fix name tag.
2398
cba05feb
TC
23992018-07-06 Tamar Christina <tamar.christina@arm.com>
2400
2401 PR binutils/23369
2402 * testsuite/gas/aarch64/msr.d (csselr_el1,
2403 vsesr_el2, osdtrrx_el1, osdtrtx_el1, pmsidr_el1): New.
2404 * testsuite/gas/aarch64/msr.s: Likewise.
2405
2e48456f
NC
24062018-07-06 Nick Clifton <nickc@redhat.com>
2407
2408 * write.c (maybe_generate_build_notes): Bias reloc offsets by the
2409 number of notes already generated.
2410
d8dab054
NC
24112018-07-05 Nick Clifton <nickc@redhat.com>
2412
2413 * po/ru.po: Updated Russian translation.
2414
14c80123
MR
24152018-07-02 Maciej W. Rozycki <macro@mips.com>
2416
2417 * config/tc-mips.c (macro_build) <'i', 'j'>: Also accept
2418 BFD_RELOC_16, BFD_RELOC_MIPS_GOT16, BFD_RELOC_MIPS_CALL16,
2419 BFD_RELOC_MIPS_GOT_HI16, BFD_RELOC_MIPS_GOT_LO16,
2420 BFD_RELOC_MIPS_CALL_HI16, BFD_RELOC_MIPS_CALL_LO16,
2421 BFD_RELOC_MIPS_SUB, BFD_RELOC_MIPS_GOT_PAGE,
2422 BFD_RELOC_MIPS_HIGHEST, BFD_RELOC_MIPS_GOT_DISP,
2423 BFD_RELOC_MIPS_TLS_GD, BFD_RELOC_MIPS_TLS_LDM,
2424 BFD_RELOC_MIPS_TLS_DTPREL_HI16, BFD_RELOC_MIPS_TLS_DTPREL_LO16,
2425 BFD_RELOC_MIPS_TLS_GOTTPREL, BFD_RELOC_MIPS_TLS_TPREL_HI16 and
2426 BFD_RELOC_MIPS_TLS_TPREL_LO16 relocations if in the microMIPS
2427 mode.
2428 * testsuite/gas/mips/elf-rel28-lldscd-n32.d: New test.
2429 * testsuite/gas/mips/elf-rel28-lldscd-micromips-n32.d: New test.
2430 * testsuite/gas/mips/elf-rel28-lldscd-n64.d: New test.
2431 * testsuite/gas/mips/elf-rel28-lldscd-micromips-n64.d: New test.
2432 * testsuite/gas/mips/elf-rel28.s: Add instruction selection.
2433 * testsuite/gas/mips/mips.exp: Run the new tests.
2434
156f2c00
MR
24352018-07-02 Maciej W. Rozycki <macro@mips.com>
2436
2437 * testsuite/gas/mips/elf-rel28-micromips-n32.d: New test.
2438 * testsuite/gas/mips/elf-rel28-micromips-n64.d: New test.
2439 * testsuite/gas/mips/mips.exp: Run the new tests.
2440
c0c468d5
TP
24412018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
2442
2443 * config/tc-arm.c (cpu_arch_ver): Use symbolic TAG_CPU_ARCH macros
2444 rather than hardcode their values.
2445
a05a5b64
TP
24462018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
2447
2448 * NEWS: Use command-line consistently when used in a compount word.
2449 * doc/as.texi: Likewise.
2450 * doc/c-aarch64.texi: Likewise.
2451 * doc/c-alpha.texi: Likewise.
2452 * doc/c-arc.texi: Likewise.
2453 * doc/c-arm.texi: Likewise.
2454 * doc/c-avr.texi: Likewise.
2455 * doc/c-bfin.texi: Likewise.
2456 * doc/c-cris.texi: Likewise.
2457 * doc/c-epiphany.texi: Likewise.
2458 * doc/c-i386.texi: Likewise.
2459 * doc/c-ia64.texi: Likewise.
2460 * doc/c-lm32.texi: Likewise.
2461 * doc/c-m32r.texi: Likewise.
2462 * doc/c-m68k.texi: Likewise.
2463 * doc/c-mips.texi: Likewise.
2464 * doc/c-mmix.texi: Likewise.
2465 * doc/c-msp430.texi: Likewise.
2466 * doc/c-mt.texi: Likewise.
2467 * doc/c-nios2.texi: Likewise.
2468 * doc/c-ppc.texi: Likewise.
2469 * doc/c-pru.texi: Likewise.
2470 * doc/c-rl78.texi: Likewise.
2471 * doc/c-rx.texi: Likewise.
2472 * doc/c-tic6x.texi: Likewise.
2473 * doc/c-v850.texi: Likewise.
2474 * doc/c-vax.texi: Likewise.
2475 * doc/c-visium.texi: Likewise.
2476 * doc/c-xstormy16.texi: Likewise.
2477 * doc/c-xtensa.texi: Likewise.
2478 * doc/c-z80.texi: Likewise.
2479 * doc/c-z8k.texi: Likewise.
2480 * doc/internals.texi: Likewise.
2481
b9c04e5a
JW
24822018-06-29 Jim Wilson <jimw@sifive.com>
2483
2484 * config/tc-riscv.c (md_begin): Call hash_reg_name for "fp".
2485
ee943970
RR
24862018-06-29 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2487
2488 * config/tc-aarch64.c (warn_unpredictable_ldst): Add unpredictable
d203b41a
AM
2489 cases for ldxp, stlxrb, stlxrh, stlxr.
2490 * testsuite/gas/aarch64/diagnostic.s: New tests.
2491 * testsuite/gas/aarch64/diagnostic.l: Adjust.
ee943970 2492
369c9167
TC
24932018-06-29 Tamar Christina <tamar.christina@arm.com>
2494
2495 PR binutils/23192
2496 * config/tc-aarch64.c (process_omitted_operand, parse_operands): Add
2497 AARCH64_OPND_Em16
2498 * testsuite/gas/aarch64/advsimd-armv8_3.s: Expand tests to cover upper
2499 16 registers.
2500 * testsuite/gas/aarch64/advsimd-armv8_3.d: Likewise.
2501 * testsuite/gas/aarch64/advsimd-compnum.s: Likewise.
2502 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
2503 * testsuite/gas/aarch64/sve.d: Likewise.
2504
e11078da
AM
25052018-06-27 Alan Modra <amodra@gmail.com>
2506
2507 * configure.ac: Specify extra_objects with leading "config/"
2508 for xtensa-relax.o and te-vms.o. Use case statements to unique
2509 extra_objects. Formatting.
2510 * configure: Regenerate.
2511
30aa1306
NC
25122018-06-26 Nick Clifton <nickc@redhat.com>
2513
2514 * po/uk.po: Updated Ukranian translation.
2515
791755f5
NC
25162018-06-26 Nick Clifton <nickc@redhat.com>
2517
2518 PR 23335
2519 * config/tc-msp430.c (check_reg): Only accept register name
2520 strings that do not end in an alphanumeric character.
2521 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2522
71300e2c
NC
25232018-06-24 Nick Clifton <nickc@redhat.com>
2524
2525 * configure: Regenerate.
2526 * po/gas.pot: Regenerate.
2527
719d8288
NC
25282018-06-24 Nick Clifton <nickc@redhat.com>
2529
2530 2.31 branch created.
2531 * NEWS: Add marker for 2.31.
2532
514cd3a0
TC
25332018-06-22 Tamar Christina <tamar.christina@arm.com>
2534
2535 * testsuite/gas/aarch64/addsub.s: Add negs to zero reg test.
2536 * testsuite/gas/aarch64/addsub.d: Likewise.
2537
d388f643
AM
25382018-06-21 Alan Modra <amodra@gmail.com>
2539
2540 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
2541 * doc/Makefile.in: Regenerate.
2542
fc6141f0
NC
25432018-06-20 Nick Clifton <nickc@redhat.com>
2544
2545 PR 21458
2546 * tc-arm.c (do_adr): Only set the bottom bit of an imported thumb
2547 function symbol address if -mthumb-interwork is active.
2548 (do_adrl): Likewise.
2549 * doc/c-arm.texi: Update descriptions of the -mthumb-interwork
2550 option and the ADR and ADRL pseudo-ops.
2551 * NEWS: Mention the new behaviour of the ADR and ADRL pseudo-ops.
2552 * testsuite/gas/arm/pr21458.d: Add -mthumb-interwork option to
2553 assembler command line.
2554 * testsuite/gas/arm/adr.d: Likewise.
2555 * testsuite/gas/arm/adrl.d: Likewise.
2556
160d1b3d
SH
25572018-06-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
2558
2559 PR gas/23305
2560 * config/tc-riscv.c (riscv_ip): Add format specifier 'B' for
2561 constants and symbols.
2562 * testsuite/gas/riscv/lla32.d: New file.
2563 * testsuite/gas/riscv/lla32.s: Likewise.
2564 * testsuite/gas/riscv/lla64-fail.d: Likewise.
2565 * testsuite/gas/riscv/lla64-fail.l: Likewise.
2566 * testsuite/gas/riscv/lla64-fail.s: Likewise.
2567 * testsuite/gas/riscv/lla64.d: Likewise.
2568 * testsuite/gas/riscv/lla64.s: Likewise.
2569
d0ac1c44
SM
25702018-06-19 Simon Marchi <simon.marchi@ericsson.com>
2571
2572 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11, add subdir-objects.
2573 (TARG_CPU_O, OBJ_FORMAT_O, ATOF_TARG_O): Add config/ prefix.
2574 * configure.ac (TARG_CPU_O, OBJ_FORMAT_O, ATOF_TARG_O, emfiles,
2575 extra_objects): Add config/ prefix.
2576 * doc/as.texinfo: Rename to...
2577 * doc/as.texi: ... this.
2578 * doc/Makefile.am: Rename as.texinfo to as.texi throughout.
2579 Remove DISTCLEANFILES hack.
2580 (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add no-texinfo.tex and
2581 info-in-builddir.
2582 * Makefile.in: Re-generate.
2583 * aclocal.m4: Re-generate.
2584 * config.in: Re-generate.
2585 * configure: Re-generate.
2586 * doc/Makefile.in: Re-generate.
2587
6f20c942
FS
25882018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
2589
2590 * NEWS: Mention MIPS Global INValidate ASE support.
2591 * config/tc-mips.c (options): Add OPTION_GINV and OPTION_NO_GINV.
2592 (md_longopts): Likewise.
2593 (mips_ases): Define availability for GINV.
2594 (mips_convert_ase_flags): Map ASE_GINV to AFL_ASE_GINV.
2595 (md_show_usage): Add help for -mginv and -mno-ginv.
2596 * doc/as.texinfo: Document -mginv, -mno-ginv.
2597 * doc/c-mips.texi: Document -mginv, -mno-ginv, .set ginv and
2598 .set noginv.
2599 * testsuite/gas/mips/ase-errors-1.s: Add error checks for GINV
2600 ASE.
2601 * testsuite/gas/mips/ase-errors-2.s: Likewise.
2602 * testsuite/gas/mips/ase-errors-1.l: Likewise.
2603 * testsuite/gas/mips/ase-errors-2.l: Likewise.
2604 * testsuite/gas/mips/ginv.d: New test.
2605 * testsuite/gas/mips/ginv-err.d: New test.
2606 * testsuite/gas/mips/ginv-err.l: New test stderr output.
2607 * testsuite/gas/mips/ginv.s: New test source.
2608 * testsuite/gas/mips/ginv-err.s: New test source.
2609 * testsuite/gas/mips/mips.exp: Run the new tests.
2610
730c3174
SE
26112018-06-13 Scott Egerton <scott.egerton@imgtec.com>
2612 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
2613 Maciej W. Rozycki <macro@mips.com>
2614
89930729 2615 * NEWS: Mention CRC ASE support.
730c3174
SE
2616 * config/tc-mips.c (options): Add OPTION_CRC and OPTION_NO_CRC.
2617 (md_longopts): Likewise.
2618 (md_show_usage): Add help for -mcrc and -mno-crc.
2619 (mips_ases): Define availability for CRC and CRC64.
2620 (mips_convert_ase_flags): Map ASE_CRC to AFL_ASE_CRC.
2621 * doc/as.texinfo: Document -mcrc, -mno-crc.
2622 * doc/c-mips.texi: Document -mcrc, -mno-crc, .set crc and
2623 .set no-crc.
2624 * testsuite/gas/mips/ase-errors-1.l: Add error checks for CRC
2625 ASE.
2626 * testsuite/gas/mips/ase-errors-2.l: Likewise.
2627 * testsuite/gas/mips/ase-errors-1.s: Likewise.
2628 * testsuite/gas/mips/ase-errors-2.s: Likewise.
2629 * testsuite/gas/mips/crc.d: New test.
2630 * testsuite/gas/mips/crc64.d: New test.
2631 * testsuite/gas/mips/crc-err.d: New test.
2632 * testsuite/gas/mips/crc64-err.d: New test.
2633 * testsuite/gas/mips/crc-err.l: New test stderr output.
2634 * testsuite/gas/mips/crc64-err.l: New test stderr output.
2635 * testsuite/gas/mips/crc.s: New test source.
2636 * testsuite/gas/mips/crc64.s: New test source.
2637 * testsuite/gas/mips/crc-err.s: New test source.
2638 * testsuite/gas/mips/crc64-err.s: New test source.
2639 * testsuite/gas/mips/mips.exp: Run the new tests.
2640
092a534f
MR
26412018-06-11 Maciej W. Rozycki <macro@mips.com>
2642
2643 * config/tc-mips.c (md_show_usage): Correct help text for `-O0'
2644 and `-O'. Mention `-O1'. Add `-O2' and its description.
2645
7ebd1359 26462018-06-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2647
2648 * config/tc-arm.c (arm_cpus): Add Cortex-A76 entry.
2649 * doc/c-arm.texi (-mcpu): Document cortex-a76.
2650
c2a0f929 26512018-06-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2652
2653 * config/tc-aarch64.c (aarch64_cpus): Add Cortex-A76 entry.
2654 * doc/c-aarch64.texi (-mcpu): Document cortex-a76.
2655
cb366992
EB
26562018-06-08 Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com>
2657
2658 PR 20319
2659 * testsuite/gas/aarch64/illegal-3.s: Test if unallocated FMOV encodings
2660 are detected as undefined.
2661 * testsuite/gas/aarch64/illegal-3.d: Likewise.
2662 * testsuite/gas/aarch64/illegal.s: Test if FMOV instructions that are
2663 changing the size from 32 bits to 64 bits and vice versa trigger an
2664 error.
2665 * testsuite/gas/aarch64/illegal.l: Likewise.
2666
2a9b2c1a
TC
26672018-06-08 Tamar Christina <tamar.christina@arm.com>
2668
2669 PR binutils/21446
2670 * tc-aarch64.c (record_operand_error, record_operand_error_with_data):
2671 Initialize non_fatal.
2672
eb5c42e5
SD
26732018-06-06 Sameera Deshpande <sameera.deshpande@linaro.org>
2674
2675 * config/tc-aarch64.c (aarch64_cpus): Add support of ARMv8.4 in
2676 saphira.
2677
83477455
AM
26782018-06-05 Alan Modra <amodra@gmail.com>
2679
2680 * Makefile.in: Regenerate.
2681
8255c61b
MF
26822018-06-04 Volodymyr Arbatov <arbatov@cadence.com>
2683
2684 * config/tc-xtensa.c (elf32xtensa_separate_props): New
2685 declaration.
2686 (option_separate_props, option_no_separate_props): New
2687 enumeration constants.
2688 (md_longopts): Add separate-prop-tables option.
2689 (md_parse_option): Add cases for option_separate_props and
2690 option_no_separate_props.
2691 (md_show_usage): Add help for [no-]separate-prop-tables options.
2692
55e99962
L
26932018-06-01 H.J. Lu <hongjiu.lu@intel.com>
2694
2695 * configure: Regenerated.
2696
3a00b02d
AO
26972018-06-01 Alexandre Oliva <aoliva@redhat.com>
2698
2699 * dwarf2dbg.c (dwarf2_consume_line_info): Drop view.
2700
dfd27d41
JB
27012018-06-01 Jan Beulich <jbeulich@suse.com>
2702
2703 * testsuite/gas/i386/ilp32/x86-64-opcode.d,
2704 testsuite/gas/i386/x86-64-opcode.d: Adjust expectations.
2705
44846f29
JB
27062018-06-01 Jan Beulich <jbeulich@suse.com>
2707
2708 * config/tc-i386.c (add_prefix): Check REX bits individually.
2709 * testsuite/gas/i386/rex.s: Add tests for overriding individual
2710 REX bits, including when others are already set.
2711 * testsuite/gas/i386/ilp32/rex.d, testsuite/gas/i386/rex.d:
2712 Adjust expectations.
2713
4787f4a5
JB
27142018-06-01 Jan Beulich <jbeulich@suse.com>
2715
2716 * config/tc-i386.c (control): Delete.
2717 (parse_real_register): Simply check "control" bit. Re-wrap.
2718
e0c7f900
JB
27192018-06-01 Jan Beulich <jbeulich@suse.com>
2720
2721 * config/tc-i386.c (build_modrm_byte): Drop REX_B from condition
2722 checking for the need of emitting LOCK. Check "control" bit just
2723 once.
2724
64795710
JB
27252018-06-01 Jan Beulich <jbeulich@suse.com>
2726
2727 * testsuite/gas/i386/invpcid.s,
2728 testsuite/gas/i386/x86-64-invpcid.s: Add test with explicit
2729 "oword ptr".
2730 * testsuite/gas/i386/invpcid.d,
2731 testsuite/gas/i386/invpcid-intel.d,
2732 testsuite/gas/i386/x86-64-invpcid.d,
2733 testsuite/gas/i386/x86-64-invpcid-intel.d: Adjust expectations.
2734
a9660a6f
AP
27352018-05-30 Amit Pawar <amit.pawar@amd.com>
2736
2737 * config/tc-i386.c (cpu_flag_init): Add CPU_ZNVER2_FLAGS.
2738 * doc/c-i386.texi : Document znver2.
2739 * gas/testsuite/gas/i386/arch-13.s: Updated for znver2.
2740 * gas/testsuite/gas/i386/arch-13.d: Updated.
2741 * gas/testsuite/gas/i386/arch-13-znver1.d: Updated.
2742 * gas/testsuite/gas/i386/arch-13-znver2.d: New file.
2743 * gas/testsuite/gas/i386/x86-64-arch-3.s: Updated for znver2.
2744 * gas/testsuite/gas/i386/x86-64-arch-3.d: Updated.
2745 * gas/testsuite/gas/i386/x86-64-arch-3-znver1.d: Updated.
2746 * gas/testsuite/gas/i386/x86-64-arch-3-znver2.d: New file.
2747 * gas/testsuite/gas/i386/i386.exp: Updated for new test.
2748
277eb7f6
AM
27492018-05-25 Alan Modra <amodra@gmail.com>
2750
2751 * po/POTFILES.in: Regenerate.
2752
e80ae190
JW
27532018-05-24 Jim Wilson <jimw@sifive.com>
2754
2755 PR gas/23219
2756 * config/tc-riscv.c (riscv_frag_align_code): Move frag_more call after
2757 !riscv_opts.relax check.
2758 (riscv_handle_align): Rewrite !riscv_opts.relax support.
2759 * config/tc-riscv (MAX_MEM_FOR_RS_ALIGN_CODE): Update.
2760 * testsuite/gas/riscv/no-relax-align.d: New
2761 * testsuite/gas/riscv/no-relax-align.s: New
2762 * testsuite/gas/riscv/no-relax-align-2.d: New
2763 * testsuite/gas/riscv/no-relax-align-2.s: New
2764
98553ad3
PB
27652018-05-21 Peter Bergner <bergner@vnet.ibm.com.com>
2766
2767 * config/tc-ppc.c (md_assemble): Delete handling of fake operands.
2768 * testsuite/gas/ppc/common.s (crmove, cror, or., or, nor., nor): Add
2769 test of extended mnemonics.
2770 * testsuite/gas/ppc/common.d: Likewise. Don't match instruction offset.
2771 * testsuite/gas/ppc/spe.s (evor, evnor): Add test of extended mnemonics.
2772 * testsuite/gas/ppc/spe.d: Likewise. Don't match instruction offset.
2773
7f999549
JW
27742018-05-18 Kito Cheng <kito.cheng@gmail.com>
2775 Monk Chiang <sh.chiang04@gmail.com>
2776 Jim Wilson <jimw@sifive.com>
2777
2778 * config/tc-riscv.c (rve_abi): New.
2779 (riscv_set_options): Add rve field. Initialize it.
2780 (riscv_set_rve) New function.
2781 (riscv_set_arch): Support 'e' ISA subset.
2782 (reg_lookup_internal): If rve, check register is available.
2783 (riscv_set_abi): New parameter rve.
2784 (md_parse_option): Pass new argument to riscv_set_abi.
2785 (riscv_after_parse_args): Call riscv_set_rve. If rve_abi, set
2786 EF_RISCV_RVE.
2787 * doc/c-riscv.texi (-mabi): Document new ilp32e argument.
2788
7b4ae824
JD
27892018-05-18 John Darrington <john@darrington.wattle.id.au>
2790
2791 * Makefile.am: Add support for s12z target.
2792 * Makefile.in: Regenerate.
2793 * NEWS: Mention the new support.
2794 * config/tc-s12z.c: New file.
2795 * config/tc-s12z.h: New file.
2796 * configure.tgt: Add s12z support.
2797 * doc/Makefile.am: Likewise.
2798 * doc/Makefile.in: Regenerate.
2799 * doc/all.texi: Add s12z documentation.
2800 * doc/as.textinfo: Likewise.
2801 * doc/c-s12z.texi: New file.
2802 * testsuite/gas/s12z: New directory.
2803 * testsuite/gas/s12z/abs.d: New file.
2804 * testsuite/gas/s12z/abs.s: New file.
2805 * testsuite/gas/s12z/adc-imm.d: New file.
2806 * testsuite/gas/s12z/adc-imm.s: New file.
2807 * testsuite/gas/s12z/adc-opr.d: New file.
2808 * testsuite/gas/s12z/adc-opr.s: New file.
2809 * testsuite/gas/s12z/add-imm.d: New file.
2810 * testsuite/gas/s12z/add-imm.s: New file.
2811 * testsuite/gas/s12z/add-opr.d: New file.
2812 * testsuite/gas/s12z/add-opr.s: New file.
2813 * testsuite/gas/s12z/and-imm.d: New file.
2814 * testsuite/gas/s12z/and-imm.s: New file.
2815 * testsuite/gas/s12z/and-opr.d: New file.
2816 * testsuite/gas/s12z/and-opr.s: New file.
2817 * testsuite/gas/s12z/and-or-cc.d: New file.
2818 * testsuite/gas/s12z/and-or-cc.s: New file.
2819 * testsuite/gas/s12z/bfext-special.d: New file.
2820 * testsuite/gas/s12z/bfext-special.s: New file.
2821 * testsuite/gas/s12z/bfext.d: New file.
2822 * testsuite/gas/s12z/bfext.s: New file.
2823 * testsuite/gas/s12z/bit-manip.d: New file.
2824 * testsuite/gas/s12z/bit-manip.s: New file.
2825 * testsuite/gas/s12z/bit.d: New file.
2826 * testsuite/gas/s12z/bit.s: New file.
2827 * testsuite/gas/s12z/bra-expression-defined.d: New file.
2828 * testsuite/gas/s12z/bra-expression-defined.s: New file.
2829 * testsuite/gas/s12z/bra-expression-undef.d: New file.
2830 * testsuite/gas/s12z/bra-expression-undef.s: New file.
2831 * testsuite/gas/s12z/bra.d: New file.
2832 * testsuite/gas/s12z/bra.s: New file.
2833 * testsuite/gas/s12z/brclr-symbols.d: New file.
2834 * testsuite/gas/s12z/brclr-symbols.s: New file.
2835 * testsuite/gas/s12z/brset-clr-opr-imm-rel.d: New file.
2836 * testsuite/gas/s12z/brset-clr-opr-imm-rel.s: New file.
2837 * testsuite/gas/s12z/brset-clr-opr-reg-rel.d: New file.
2838 * testsuite/gas/s12z/brset-clr-opr-reg-rel.s: New file.
2839 * testsuite/gas/s12z/brset-clr-reg-imm-rel.d: New file.
2840 * testsuite/gas/s12z/brset-clr-reg-imm-rel.s: New file.
2841 * testsuite/gas/s12z/brset-clr-reg-reg-rel.d: New file.
2842 * testsuite/gas/s12z/brset-clr-reg-reg-rel.s: New file.
2843 * testsuite/gas/s12z/clb.d: New file.
2844 * testsuite/gas/s12z/clb.s: New file.
2845 * testsuite/gas/s12z/clr-opr.d: New file.
2846 * testsuite/gas/s12z/clr-opr.s: New file.
2847 * testsuite/gas/s12z/clr.d: New file.
2848 * testsuite/gas/s12z/clr.s: New file.
2849 * testsuite/gas/s12z/cmp-imm.d: New file.
2850 * testsuite/gas/s12z/cmp-imm.s: New file.
2851 * testsuite/gas/s12z/cmp-opr-inc.d: New file.
2852 * testsuite/gas/s12z/cmp-opr-inc.s: New file.
2853 * testsuite/gas/s12z/cmp-opr-rdirect.d: New file.
2854 * testsuite/gas/s12z/cmp-opr-rdirect.s: New file.
2855 * testsuite/gas/s12z/cmp-opr-reg.d: New file.
2856 * testsuite/gas/s12z/cmp-opr-reg.s: New file.
2857 * testsuite/gas/s12z/cmp-opr-rindirect.d: New file.
2858 * testsuite/gas/s12z/cmp-opr-rindirect.s: New file.
2859 * testsuite/gas/s12z/cmp-opr-sxe4.d: New file.
2860 * testsuite/gas/s12z/cmp-opr-sxe4.s: New file.
2861 * testsuite/gas/s12z/cmp-opr-xys.d: New file.
2862 * testsuite/gas/s12z/cmp-opr-xys.s: New file.
2863 * testsuite/gas/s12z/cmp-s-imm.d: New file.
2864 * testsuite/gas/s12z/cmp-s-imm.s: New file.
2865 * testsuite/gas/s12z/cmp-s-opr.d: New file.
2866 * testsuite/gas/s12z/cmp-s-opr.s: New file.
2867 * testsuite/gas/s12z/cmp-xy.d: New file.
2868 * testsuite/gas/s12z/cmp-xy.s: New file.
2869 * testsuite/gas/s12z/com-opr.d: New file.
2870 * testsuite/gas/s12z/com-opr.s: New file.
2871 * testsuite/gas/s12z/complex-shifts.d: New file.
2872 * testsuite/gas/s12z/complex-shifts.s: New file.
2873 * testsuite/gas/s12z/db-tb-cc-opr.d: New file.
2874 * testsuite/gas/s12z/db-tb-cc-opr.s: New file.
2875 * testsuite/gas/s12z/db-tb-cc-reg.d: New file.
2876 * testsuite/gas/s12z/db-tb-cc-reg.s: New file.
2877 * testsuite/gas/s12z/dbCC.d: New file.
2878 * testsuite/gas/s12z/dbCC.s: New file.
2879 * testsuite/gas/s12z/dec-opr.d: New file.
2880 * testsuite/gas/s12z/dec-opr.s: New file.
2881 * testsuite/gas/s12z/dec.d: New file.
2882 * testsuite/gas/s12z/dec.s: New file.
2883 * testsuite/gas/s12z/div.d: New file.
2884 * testsuite/gas/s12z/div.s: New file.
2885 * testsuite/gas/s12z/eor.d: New file.
2886 * testsuite/gas/s12z/eor.s: New file.
2887 * testsuite/gas/s12z/exg.d: New file.
2888 * testsuite/gas/s12z/exg.s: New file.
2889 * testsuite/gas/s12z/ext24-ld-xy.d: New file.
2890 * testsuite/gas/s12z/ext24-ld-xy.s: New file.
2891 * testsuite/gas/s12z/inc-opr.d: New file.
2892 * testsuite/gas/s12z/inc-opr.s: New file.
2893 * testsuite/gas/s12z/inc.d: New file.
2894 * testsuite/gas/s12z/inc.s: New file.
2895 * testsuite/gas/s12z/inh.d: New file.
2896 * testsuite/gas/s12z/inh.s: New file.
2897 * testsuite/gas/s12z/jmp.d: New file.
2898 * testsuite/gas/s12z/jmp.s: New file.
2899 * testsuite/gas/s12z/jsr.d: New file.
2900 * testsuite/gas/s12z/jsr.s: New file.
2901 * testsuite/gas/s12z/ld-imm-page2.d: New file.
2902 * testsuite/gas/s12z/ld-imm-page2.s: New file.
2903 * testsuite/gas/s12z/ld-imm.d: New file.
2904 * testsuite/gas/s12z/ld-imm.s: New file.
2905 * testsuite/gas/s12z/ld-immu18.d: New file.
2906 * testsuite/gas/s12z/ld-immu18.s: New file.
2907 * testsuite/gas/s12z/ld-large-direct.d: New file.
2908 * testsuite/gas/s12z/ld-large-direct.s: New file.
2909 * testsuite/gas/s12z/ld-opr.d: New file.
2910 * testsuite/gas/s12z/ld-opr.s: New file.
2911 * testsuite/gas/s12z/ld-s-opr.d: New file.
2912 * testsuite/gas/s12z/ld-s-opr.s: New file.
2913 * testsuite/gas/s12z/ld-small-direct.d: New file.
2914 * testsuite/gas/s12z/ld-small-direct.s: New file.
2915 * testsuite/gas/s12z/lea-immu18.d: New file.
2916 * testsuite/gas/s12z/lea-immu18.s: New file.
2917 * testsuite/gas/s12z/lea.d: New file.
2918 * testsuite/gas/s12z/lea.s: New file.
2919 * testsuite/gas/s12z/mac.d: New file.
2920 * testsuite/gas/s12z/mac.s: New file.
2921 * testsuite/gas/s12z/min-max.d: New file.
2922 * testsuite/gas/s12z/min-max.s: New file.
2923 * testsuite/gas/s12z/mod.d: New file.
2924 * testsuite/gas/s12z/mod.s: New file.
2925 * testsuite/gas/s12z/mov.d: New file.
2926 * testsuite/gas/s12z/mov.s: New file.
2927 * testsuite/gas/s12z/mul-imm.d: New file.
2928 * testsuite/gas/s12z/mul-imm.s: New file.
2929 * testsuite/gas/s12z/mul-opr-opr.d: New file.
2930 * testsuite/gas/s12z/mul-opr-opr.s: New file.
2931 * testsuite/gas/s12z/mul-opr.d: New file.
2932 * testsuite/gas/s12z/mul-opr.s: New file.
2933 * testsuite/gas/s12z/mul-reg.d: New file.
2934 * testsuite/gas/s12z/mul-reg.s: New file.
2935 * testsuite/gas/s12z/mul.d: New file.
2936 * testsuite/gas/s12z/mul.s: New file.
2937 * testsuite/gas/s12z/neg-opr.d: New file.
2938 * testsuite/gas/s12z/neg-opr.s: New file.
2939 * testsuite/gas/s12z/not-so-simple-shifts.d: New file.
2940 * testsuite/gas/s12z/not-so-simple-shifts.s: New file.
2941 * testsuite/gas/s12z/opr-18u.d: New file.
2942 * testsuite/gas/s12z/opr-18u.s: New file.
2943 * testsuite/gas/s12z/opr-expr.d: New file.
2944 * testsuite/gas/s12z/opr-expr.s: New file.
2945 * testsuite/gas/s12z/opr-ext-18.d: New file.
2946 * testsuite/gas/s12z/opr-ext-18.s: New file.
2947 * testsuite/gas/s12z/opr-idx-24-reg.d: New file.
2948 * testsuite/gas/s12z/opr-idx-24-reg.s: New file.
2949 * testsuite/gas/s12z/opr-idx3-reg.d: New file.
2950 * testsuite/gas/s12z/opr-idx3-reg.s: New file.
2951 * testsuite/gas/s12z/opr-idx3-xysp-24.d: New file.
2952 * testsuite/gas/s12z/opr-idx3-xysp-24.s: New file.
2953 * testsuite/gas/s12z/opr-indirect-expr.d: New file.
2954 * testsuite/gas/s12z/opr-indirect-expr.s: New file.
2955 * testsuite/gas/s12z/opr-symbol.d: New file.
2956 * testsuite/gas/s12z/opr-symbol.s: New file.
2957 * testsuite/gas/s12z/or-imm.d: New file.
2958 * testsuite/gas/s12z/or-imm.s: New file.
2959 * testsuite/gas/s12z/or-opr.d: New file.
2960 * testsuite/gas/s12z/or-opr.s: New file.
2961 * testsuite/gas/s12z/p2-mul.d: New file.
2962 * testsuite/gas/s12z/p2-mul.s: New file.
2963 * testsuite/gas/s12z/page2-inh.d: New file.
2964 * testsuite/gas/s12z/page2-inh.s: New file.
2965 * testsuite/gas/s12z/psh-pul.d: New file.
2966 * testsuite/gas/s12z/psh-pul.s: New file.
2967 * testsuite/gas/s12z/qmul.d: New file.
2968 * testsuite/gas/s12z/qmul.s: New file.
2969 * testsuite/gas/s12z/rotate.d: New file.
2970 * testsuite/gas/s12z/rotate.s: New file.
2971 * testsuite/gas/s12z/s12z.exp: New file.
2972 * testsuite/gas/s12z/sat.d: New file.
2973 * testsuite/gas/s12z/sat.s: New file.
2974 * testsuite/gas/s12z/sbc-imm.d: New file.
2975 * testsuite/gas/s12z/sbc-imm.s: New file.
2976 * testsuite/gas/s12z/sbc-opr.d: New file.
2977 * testsuite/gas/s12z/sbc-opr.s: New file.
2978 * testsuite/gas/s12z/shift.d: New file.
2979 * testsuite/gas/s12z/shift.s: New file.
2980 * testsuite/gas/s12z/simple-shift.d: New file.
2981 * testsuite/gas/s12z/simple-shift.s: New file.
2982 * testsuite/gas/s12z/single-ops.d: New file.
2983 * testsuite/gas/s12z/single-ops.s: New file.
2984 * testsuite/gas/s12z/specd6.d: New file.
2985 * testsuite/gas/s12z/specd6.s: New file.
2986 * testsuite/gas/s12z/st-large-direct.d: New file.
2987 * testsuite/gas/s12z/st-large-direct.s: New file.
2988 * testsuite/gas/s12z/st-opr.d: New file.
2989 * testsuite/gas/s12z/st-opr.s: New file.
2990 * testsuite/gas/s12z/st-s-opr.d: New file.
2991 * testsuite/gas/s12z/st-s-opr.s: New file.
2992 * testsuite/gas/s12z/st-small-direct.d: New file.
2993 * testsuite/gas/s12z/st-small-direct.s: New file.
2994 * testsuite/gas/s12z/st-xy.d: New file.
2995 * testsuite/gas/s12z/st-xy.s: New file.
2996 * testsuite/gas/s12z/sub-imm.d: New file.
2997 * testsuite/gas/s12z/sub-imm.s: New file.
2998 * testsuite/gas/s12z/sub-opr.d: New file.
2999 * testsuite/gas/s12z/sub-opr.s: New file.
3000 * testsuite/gas/s12z/tfr.d: New file.
3001 * testsuite/gas/s12z/tfr.s: New file.
3002 * testsuite/gas/s12z/trap.d: New file.
3003 * testsuite/gas/s12z/trap.s: New file.
3004
49d519ec
MR
30052018-05-16 Maciej W. Rozycki <macro@mips.com>
3006
3007 * tc-nds32.c (md_assemble): Rename `expr' local variable to
3008 `insn_expr'.
3009
f9830ec1
TC
30102018-05-15 Tamar Christina <tamar.christina@arm.com>
3011
3012 PR binutils/21446
3013 * testsuite/gas/aarch64/illegal-sysreg-2.s: Fix pmbidr_el1 test.
3014 * testsuite/gas/aarch64/illegal-sysreg-2.l: Likewise.
3015 * testsuite/gas/aarch64/illegal-sysreg-2.d: Likewise.
3016 * testsuite/gas/aarch64/sysreg-diagnostic.s: New.
3017 * testsuite/gas/aarch64/sysreg-diagnostic.l: New.
3018 * testsuite/gas/aarch64/sysreg-diagnostic.d: New.
3019
7d02540a
TC
30202018-05-15 Tamar Christina <tamar.christina@arm.com>
3021
3022 PR binutils/21446
3023 * config/tc-aarch64.c (print_operands): Indicate no notes.
3024 (output_operand_error_record): Support non-fatal errors.
3025 (output_operand_error_report, warn_unpredictable_ldst, md_assemble):
3026 Likewise.
3027
561a72d4
TC
30282018-05-15 Tamar Christina <tamar.christina@arm.com>
3029
3030 PR binutils/21446
3031 * config/tc-aarch64.c (parse_sys_reg): Return register flags.
3032 (parse_operands): Fill in register flags.
3033
864bb26c
NC
30342018-05-14 Nick Clifton <nickc@redhat.com>
3035
3036 * write.c (maybe_generate_build_notes): Generate notes on a
3037 per-code-section basis. Skip linkonce sections.
3038
c3533c4c
NC
30392018-05-14 Nick Clifton <nickc@redhat.com>
3040
3041 PR 23153
3042 * as.c (main): When checking for an output file that is also an
3043 input file, also check that the inode is not zero.
3044
861d8651
AM
30452018-05-12 Alan Modra <amodra@gmail.com>
3046
3047 * config/tc-score.c (s3_do_macro_bcmp): Don't use fixed size
3048 buffers.
3049 (s3_do_macro_bcmpz): Likewise.
3050
66881839
TC
30512018-05-10 Tamar Christina <tamar.christina@arm.com>
3052
3053 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove restrictions.
3054 * testsuite/gas/aarch64/diagnostic.s: Move fmov int test to..
3055 * testsuite/gas/aarch64/fpmov.s: Here.
3056 * testsuite/gas/aarch64/fpmov.d: Update results with fmov.
3057 * testsuite/gas/aarch64/diagnostic.l: Remove fmov values.
3058 * testsuite/gas/aarch64/sve-invalid.s: Update test files.
3059 * testsuite/gas/aarch64/sve-invalid.l: Likewise
3060
58ed5c38
TC
30612018-05-10 Tamar Christina <tamar.christina@arm.com>
3062
3063 * gas/config/tc-arm.c (do_neon_mov): Allow integer literal for float
3064 immediate.
3065 * testsuite/gas/arm/vfp-mov-enc.s: New.
3066 * testsuite/gas/arm/vfp-mov-enc.d: New.
3067
d0ad159d
MF
30682018-05-09 Max Filippov <jcmvbkbc@gmail.com>
3069
3070 * config/tc-xtensa.c (xtensa_is_init_fini): New function.
3071 (xtensa_move_literals): Only attempt to assign literal pool to
3072 literals with tc_frag_data.is_literal mark and not in .init or
3073 .fini sections.
3074 Join nested 'if' conditions to simplify function structure.
3075 (xtensa_switch_to_non_abs_literal_fragment): Use
3076 xtensa_is_init_fini to test for .init/.fini sections.
3077 * testsuite/gas/xtensa/all.exp (auto-litpools-3)
3078 (auto-litpools-4, text-section-literals-1): New tests.
3079 * testsuite/gas/xtensa/auto-litpools-3.d: New test results.
3080 * testsuite/gas/xtensa/auto-litpools-3.s: New test source.
3081 * testsuite/gas/xtensa/auto-litpools-4.d: New test results.
3082 * testsuite/gas/xtensa/auto-litpools-4.s: New test source.
3083 * testsuite/gas/xtensa/text-section-literals-1.d: New test results.
3084 * testsuite/gas/xtensa/text-section-literals-1.s: New test source.
3085
493ffac5
DD
30862018-05-09 Dimitar Dimitrov <dimitar@dinux.eu>
3087
3088 * config/tc-pru.c (md_apply_fix): Make LDI32 relocation conformant
3089 to TI ABI.
3090 (pru_assemble_arg_i): Likewise.
3091 (output_insn_ldi32): Likewise.
3092 * testsuite/gas/pru/ldi.d: Update test for the now fixed LDI32.
3093 * gas/config/tc-pru.c (pru_assemble_arg_b): Check imm8 operand range.
3094 * gas/testsuite/gas/pru/illegal2.l: New test.
3095 * gas/testsuite/gas/pru/illegal2.s: New test.
3096 * gas/testsuite/gas/pru/pru.exp: Register new illegal2 test.
3097
e6f372ba
JW
30982018-05-08 Jim Wilson <jimw@sifive.com>
3099
3100 * testsuite/gas/riscv/c-zero-imm.d: Add more tests.
3101 * testsuite/gas/riscv/c-zero-imm.s: Likewise.
3102 * testsuite/gas/riscv/c-zero-reg.d: Fix typo in test. Add disabled
3103 future test for RV128 support.
3104 * testsuite/gas/riscv/c-zero-reg.s: Likewise.
3105
c0a30a9f
L
31062018-05-07 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3107 H.J. Lu <hongjiu.lu@intel.com>
3108
3109 * config/tc-i386.c (cpu_arch): Add .movdir, .movdir64b.
3110 (cpu_noarch): Likewise.
3111 (process_suffix): Add check for register size.
3112 * doc/c-i386.texi: Document movdiri, movdir64b.
3113 * testsuite/gas/i386/i386.exp: Run MOVDIR{I,64B} tests.
3114 * testsuite/gas/i386/movdir-intel.d: New file.
3115 * testsuite/gas/i386/movdir.d: Likewise.
3116 * testsuite/gas/i386/movdir.s: Likewise.
3117 * testsuite/gas/i386/movdir64b-reg.s: Likewise.
3118 * testsuite/gas/i386/movdir64b-reg.l: Likewise.
3119 * testsuite/gas/i386/x86-64-movdir-intel.d: Likewise.
3120 * testsuite/gas/i386/x86-64-movdir.d: Likewise.
3121 * testsuite/gas/i386/x86-64-movdir.s: Likewise.
3122 * testsuite/gas/i386/x86-64-movdir64b-reg.s: Likewise.
3123 * testsuite/gas/i386/x86-64-movdir64b-reg.l: Likewise.
3124
75c0a438
L
31252018-05-07 H.J. Lu <hongjiu.lu@intel.com>
3126
3127 * config/tc-i386.c (process_suffix): Check addrprefixopreg
3128 instead of addrprefixop0.
3129
2ceb7719
PB
31302018-05-07 Peter Bergner <bergner@vnet.ibm.com.com>
3131
3132 * config/tc-ppc.c (ppc_setup_opcodes) <powerpc_opcodes>: Rewrite code
3133 to dump the entire opcode table.
3134 (ppc_setup_opcodes) <spe2_opcodes>: Likewise.
3135 (ppc_setup_opcodes) <vle_opcodes>: Likewise. Fix calculation of
3136 opcode index.
3137
fe5bc53b
L
31382018-05-06 H.J. Lu <hongjiu.lu@intel.com>
3139
3140 * testsuite/gas/i386/xmmhi32.d: Also allow dir32 relocation.
3141
57930ca9
L
31422018-05-06 H.J. Lu <hongjiu.lu@intel.com>
3143
3144 * testsuite/gas/i386/avx512f-plain.s: Append ".p2align 4,0".
3145 * testsuite/gas/i386/avx512vl-plain.s: Likewise.
3146 * testsuite/gas/i386/bnd.s: Likewise.
3147 * testsuite/gas/i386/stN.s: Likewise.
3148 * testsuite/gas/i386/avx512f-plain.l: Updated.
3149 * testsuite/gas/i386/avx512vl-plain.l: Likewise.
3150 * testsuite/gas/i386/bnd.l: Likewise.
3151 * testsuite/gas/i386/stN.l: Likewise.
3152
602f1657
AM
31532018-05-04 Alan Modra <amodra@gmail.com>
3154
3155 * config/obj-evax.c (shorten_identifier): Use memcpy in place
3156 of strncpy.
3157 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Ensure
3158 segname and sectname fields are NUL terminated.
3159
8e4bd992
NC
31602018-05-01 Nick Clifton <nickc@redhat.com>
3161
3162 * po/es.po: Updated Spanish translation.
3163
6d9dabbb
MR
31642018-04-27 Maciej W. Rozycki <macro@mips.com>
3165
3166 * testsuite/lib/gas-defs.exp (run_dump_test): Use `match_target'
3167 in place of `istarget' for matching with `target', `not-target',
3168 `skip' and `not-skip' options.
3169
0df8ad28
NC
31702018-04-26 Nick Clifton <nickc@redhat.com>
3171
3172 * as.c (flag_generate_build_notes): New variable.
3173 (show_usage): Add entry for --generate-missing-build-notes.
3174 (parse_args): Parse --generate-missing-build-notes.
3175 * as.h: Export flag_generate_build_notes.
3176 * symbols.c (save_symbol_name): Ensure that the name parameter is
3177 not NULL.
3178 * write.c (create_obj_attrs_section): Reformat.
3179 (create_note_reloc): New function - creates a relocation for a
3180 field in a GNU Build attribute note.
3181 (maybe_generate_build_notes): New function - created GNU Build
3182 attribute notes if none are present in the output file.
3183 (write_object_file): Call maybe_generate_build_notes.
3184 * configure.ac (--enable-generate-build-notes): New option.
3185 * NEWS: Announce the new feature.
3186 * doc/as.textinfo: Document the new option.
3187 * config.in: Regenerate.
3188 * configure: Regenerate.
3189
e2195274
JB
31902018-04-26 Jan Beulich <jbeulich@suse.com>
3191
3192 * config/tc-i386.c (check_VecOperands): Add AVX512VL check. Set
3193 .baseindex.
3194 (match_template): Don't set suffix_check when Intel syntax and
3195 broadcast. Make check_register a per-operand bitmap.
3196
7a69eac3
JB
31972018-04-26 Jan Beulich <jbeulich@suse.com>
3198
3199 * config/tc-i386.c (optimize_encoding): Check for zeroing
3200 masking.
3201 * testsuite/gas/i386/optimize-1.d,
3202 testsuite/gas/i386/optimize-4.d,
3203 testsuite/gas/i386/optimize-5.d,
3204 testsuite/gas/i386/x86-64-optimize-2.d,
3205 testsuite/gas/i386/x86-64-optimize-5.d,
3206 testsuite/gas/i386/x86-64-optimize-6.d: Adjust expectations.
3207
1d3f8286
JB
32082018-04-26 Jan Beulich <jbeulich@suse.com>
3209
3210 * config/tc-i386.c (parse_real_register): Check .cpuvrex before
3211 recording EVEX encoding. Don't check previously specified
3212 encoding.
3213 * testsuite/gas/i386/xmmhi32.s: Add {x,y,z}mm{16,24} cases.
0df8ad28 3214 * testsuite/gas/i386/xmmhi32.d: Adjust expectations.
1d3f8286
JB
3215 * testsuite/gas/i386/xmmhi64.s, testsuite/gas/i386/xmmhi64.d:
3216 New.
3217 * testsuite/gas/i386/i386.exp: Run new test.
3218
59ef5df4
JB
32192018-04-26 Jan Beulich <jbeulich@suse.com>
3220
3221 * testsuite/gas/i386/xsave.s: Add AVX, LWP, MPX, and PKU
3222 dependency tests.
3223 * testsuite/gas/i386/xsave.d,
3224 testsuite/gas/i386/xsave-intel.d: Adjust expecations.
3225
6e041cf4
JB
32262018-04-26 Jan Beulich <jbeulich@suse.com>
3227
3228 * config/tc-i386.c (parse_real_register): Re-write {,x,y,z}mm
3229 and mask register handling.
3230 * testsuite/gas/i386/avx512f-ymm.s, testsuite/gas/i386/avx512f-ymm.d,
3231 testsuite/gas/i386/xmmhi32.s, testsuite/gas/i386/xmmhi32.d: New.
3232 * testsuite/gas/i386/i386.exp: Run new tests.
3233
1adf7f56
JB
32342018-04-26 Jan Beulich <jbeulich@suse.com>
3235
3236 * config/tc-i386.c (parse_real_register): Check bnd<N>
3237 registers.
3238 * testsuite/gas/i386/bnd.s, testsuite/gas/i386/bnd.l: New.
3239 * testsuite/gas/i386/i386.exp: Run new test.
3240
0e0eea78
JB
32412018-04-26 Jan Beulich <jbeulich@suse.com>
3242
3243 * config/tc-i386.c (parse_real_register): Check FPU register
3244 earlier.
3245 * testsuite/gas/i386/fpu.s, testsuite/gas/i386/fpu.l,
3246 testsuite/gas/i386/stN.s, testsuite/gas/i386/stN.l: New.
3247 * testsuite/gas/i386/i386.exp: Run new tests.
3248
bed3d976
JB
32492018-04-26 Jan Beulich <jbeulich@suse.com>
3250
3251 * config/tc-i386.c (build_modrm_byte): Use tabs for indentation.
3252
48db9223
JB
32532018-04-26 Jan Beulich <jbeulich@suse.com>
3254
3255 * config/tc-i386.c (build_modrm_byte): Move and fold
3256 source/reg_slot calculations.
3257
2f1bada2
JB
32582018-04-26 Jan Beulich <jbeulich@suse.com>
3259
3260 * config/tc-i386.c (build_modrm_byte): Drop .veximmext uses.
3261 Move part of the remaining assertion.
3262
dcd7e323
JB
32632018-04-26 Jan Beulich <jbeulich@suse.com>
3264
3265 * config/tc-i386.c (build_modrm_byte): Extend assertion in
3266 vex_3_sources handling to cover more cases.
3267
6b8d3588
JB
32682018-04-26 Jan Beulich <jbeulich@suse.com>
3269
3270 * config/tc-i386.c (build_modrm_byte): Drop code dealing with
3271 .veximmext and .immext set at the same time. Drop code dealing
3272 with .cpufma when .vexsources == VEX3SOURCES.
3273
5c5a4843
CL
32742018-04-25 Christophe Lyon <christophe.lyon@st.com>
3275 Mickaël Guêné <mickael.guene@st.com>
3276
3277 * config/tc-arm.c (reloc_names): Add TLSGD_FDPIC, TLSLDM_FDPIC,
3278 GOTTPOFF_FDIC relocations.
3279 (md_apply_fix): Handle the new TLS FDPIC relocations.
3280 (tc_gen_reloc): Likewise.
3281 (arm_fix_adjustable): Likewise.
3282
188fd7ae
CL
32832018-04-25 Christophe Lyon <christophe.lyon@st.com>
3284 Mickaël Guêné <mickael.guene@st.com>
3285
3286 * config/tc-arm.c (reloc_names): Add gotfuncdesc, gotofffuncdesc,
3287 funcdesc.
3288 (md_apply_fix): Support the new relocations.
3289 (tc_gen_reloc): Likewise.
3290 * testsuite/gas/arm/reloc-fdpic.d: New.
3291 * testsuite/gas/arm/reloc-fdpic.s: New.
3292
18a20338
CL
32932018-04-25 Christophe Lyon <christophe.lyon@st.com>
3294 Mickaël Guêné <mickael.guene@st.com>
3295
3296 * config/tc-arm.c (arm_fdpic): New.
3297 (elf32_arm_target_format): Support FDPIC.
3298 (OPTION_FDPIC): New.
3299 (md_longopts): Support FDPIC.
3300 (md_parse_option): Likewise.
3301 (md_show_usage): Likewise.
3302
10bba94b
TC
33032018-04-25 Tamar Christina <tamar.christina@arm.com>
3304
3305 * testsuite/gas/aarch64/rdma.s: Test for larger register numbers.
3306 * testsuite/gas/aarch64/rdma.d: Update results.
3307 * testsuite/gas/aarch64/rdma-directive.d: Likewise.
3308
1e84581f
NC
33092018-04-25 Nick Clifton <nickc@redhat.com>
3310
3311 * po/es.po: Updated Spanish translation.
3312
2ac93be7
AM
33132018-04-25 Alan Modra <amodra@gmail.com>
3314
3315 * Makefile.am: Remove arm-aout and arm-coff support.
3316 * config/tc-arm.c: Likewise.
3317 * config/tc-arm.h: Likewise.
3318 * configure.tgt: Likewise.
3319 * testsuite/gas/aarch64/codealign.d: Likewise.
3320 * testsuite/gas/aarch64/mapping.d: Likewise.
3321 * testsuite/gas/aarch64/mapping2.d: Likewise.
3322 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: Likewise.
3323 * testsuite/gas/arm/adds-thumb1-reloc-local.d: Likewise.
3324 * testsuite/gas/arm/addsw-bad.d: Likewise.
3325 * testsuite/gas/arm/align.d: Likewise.
3326 * testsuite/gas/arm/align64.d: Likewise.
3327 * testsuite/gas/arm/arch7.d: Likewise.
3328 * testsuite/gas/arm/arch7a-mp.d: Likewise.
3329 * testsuite/gas/arm/arch7em.d: Likewise.
3330 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
3331 * testsuite/gas/arm/arm-it-auto-2.d: Likewise.
3332 * testsuite/gas/arm/arm-it-auto-3.d: Likewise.
3333 * testsuite/gas/arm/arm-it-auto.d: Likewise.
3334 * testsuite/gas/arm/arm-it-bad-2.d: Likewise.
3335 * testsuite/gas/arm/arm-it.d: Likewise.
3336 * testsuite/gas/arm/armv7e-m+fpv5-d16.d: Likewise.
3337 * testsuite/gas/arm/armv7e-m+fpv5-sp-d16.d: Likewise.
3338 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: Likewise.
3339 * testsuite/gas/arm/armv8-2-fp16-scalar.d: Likewise.
3340 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise.
3341 * testsuite/gas/arm/armv8-2-fp16-simd.d: Likewise.
3342 * testsuite/gas/arm/armv8-a+crypto.d: Likewise.
3343 * testsuite/gas/arm/armv8-a+fp.d: Likewise.
3344 * testsuite/gas/arm/armv8-a+ras.d: Likewise.
3345 * testsuite/gas/arm/armv8-a+rdma-warning.d: Likewise.
3346 * testsuite/gas/arm/armv8-a+rdma.d: Likewise.
3347 * testsuite/gas/arm/armv8-a+simd.d: Likewise.
3348 * testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise.
3349 * testsuite/gas/arm/armv8-r+fp.d: Likewise.
3350 * testsuite/gas/arm/armv8-r+simd.d: Likewise.
3351 * testsuite/gas/arm/armv8-r-barrier-thumb.d: Likewise.
3352 * testsuite/gas/arm/armv8_1-a+simd.d: Likewise.
3353 * testsuite/gas/arm/armv8_2+rdma.d: Likewise.
3354 * testsuite/gas/arm/armv8_2-a.d: Likewise.
3355 * testsuite/gas/arm/armv8_3-a-fp.d: Likewise.
3356 * testsuite/gas/arm/armv8_3-a-simd.d: Likewise.
3357 * testsuite/gas/arm/armv8a-automatic-hlt.d: Likewise.
3358 * testsuite/gas/arm/armv8a-automatic-lda.d: Likewise.
3359 * testsuite/gas/arm/attr-syntax.d: Likewise.
3360 * testsuite/gas/arm/automatic-bw.d: Likewise.
3361 * testsuite/gas/arm/automatic-cbz.d: Likewise.
3362 * testsuite/gas/arm/automatic-clrex.d: Likewise.
3363 * testsuite/gas/arm/automatic-lda.d: Likewise.
3364 * testsuite/gas/arm/automatic-ldaex.d: Likewise.
3365 * testsuite/gas/arm/automatic-ldaexb.d: Likewise.
3366 * testsuite/gas/arm/automatic-ldrex.d: Likewise.
3367 * testsuite/gas/arm/automatic-ldrexd.d: Likewise.
3368 * testsuite/gas/arm/automatic-movw.d: Likewise.
3369 * testsuite/gas/arm/automatic-sdiv.d: Likewise.
3370 * testsuite/gas/arm/automatic-strexb.d: Likewise.
3371 * testsuite/gas/arm/barrier-bad-thumb.d: Likewise.
3372 * testsuite/gas/arm/barrier-bad.d: Likewise.
3373 * testsuite/gas/arm/barrier-thumb.d: Likewise.
3374 * testsuite/gas/arm/barrier.d: Likewise.
3375 * testsuite/gas/arm/bignum1.d: Likewise.
3376 * testsuite/gas/arm/blx-bad.d: Likewise.
3377 * testsuite/gas/arm/blx-bl-convert.d: Likewise.
3378 * testsuite/gas/arm/blx-local.s: Likewise.
3379 * testsuite/gas/arm/crc32-armv8-a-bad.d: Likewise.
3380 * testsuite/gas/arm/crc32-armv8-a.d: Likewise.
3381 * testsuite/gas/arm/crc32-armv8-r-bad.d: Likewise.
3382 * testsuite/gas/arm/crc32-armv8-r.d: Likewise.
3383 * testsuite/gas/arm/dis-data.d: Likewise.
3384 * testsuite/gas/arm/dis-data2.d: Likewise.
3385 * testsuite/gas/arm/dis-data3.d: Likewise.
3386 * testsuite/gas/arm/eabi_attr_1.d: Likewise.
3387 * testsuite/gas/arm/fp-save.d: Likewise.
3388 * testsuite/gas/arm/group-reloc-alu-encoding-bad.d: Likewise.
3389 * testsuite/gas/arm/group-reloc-alu-parsing-bad.d: Likewise.
3390 * testsuite/gas/arm/group-reloc-alu.d: Likewise.
3391 * testsuite/gas/arm/group-reloc-ldc-encoding-bad.d: Likewise.
3392 * testsuite/gas/arm/group-reloc-ldc-parsing-bad.d: Likewise.
3393 * testsuite/gas/arm/group-reloc-ldc.d: Likewise.
3394 * testsuite/gas/arm/group-reloc-ldr-encoding-bad.d: Likewise.
3395 * testsuite/gas/arm/group-reloc-ldr-parsing-bad.d: Likewise.
3396 * testsuite/gas/arm/group-reloc-ldr.d: Likewise.
3397 * testsuite/gas/arm/group-reloc-ldrs-encoding-bad.d: Likewise.
3398 * testsuite/gas/arm/group-reloc-ldrs-parsing-bad.d: Likewise.
3399 * testsuite/gas/arm/group-reloc-ldrs.d: Likewise.
3400 * testsuite/gas/arm/insn-error-a.d: Likewise.
3401 * testsuite/gas/arm/insn-error-t.d: Likewise.
3402 * testsuite/gas/arm/inst-po-2.d: Likewise.
3403 * testsuite/gas/arm/inst-po-3.d: Likewise.
3404 * testsuite/gas/arm/inst-po-be.d: Likewise.
3405 * testsuite/gas/arm/inst-po.d: Likewise.
3406 * testsuite/gas/arm/ldconst.d: Likewise.
3407 * testsuite/gas/arm/ldgesb-bad.d: Likewise.
3408 * testsuite/gas/arm/ldgesh-bad.d: Likewise.
3409 * testsuite/gas/arm/ldst-offset0.d: Likewise.
3410 * testsuite/gas/arm/local_function.d: Likewise.
3411 * testsuite/gas/arm/local_label_coff.d: Likewise.
3412 * testsuite/gas/arm/local_label_elf.d: Likewise.
3413 * testsuite/gas/arm/mapping.d: Likewise.
3414 * testsuite/gas/arm/mapping2.d: Likewise.
3415 * testsuite/gas/arm/mapping3.d: Likewise.
3416 * testsuite/gas/arm/mapping4.d: Likewise.
3417 * testsuite/gas/arm/mapshort-elf.d: Likewise.
3418 * testsuite/gas/arm/mask_1-armv8-a.d: Likewise.
3419 * testsuite/gas/arm/mask_1-armv8-r.d: Likewise.
3420 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: Likewise.
3421 * testsuite/gas/arm/movs-thumb1-reloc-local.d: Likewise.
3422 * testsuite/gas/arm/movw-local.d: Likewise.
3423 * testsuite/gas/arm/mrs-msr-thumb-v6t2.d: Likewise.
3424 * testsuite/gas/arm/mrs-msr-thumb-v7-m.d: Likewise.
3425 * testsuite/gas/arm/mrs-msr-thumb-v7e-m.d: Likewise.
3426 * testsuite/gas/arm/msr-imm-bad.d: Likewise.
3427 * testsuite/gas/arm/msr-reg-bad.d: Likewise.
3428 * testsuite/gas/arm/msr-reg-thumb.d: Likewise.
3429 * testsuite/gas/arm/nomapping.d: Likewise.
3430 * testsuite/gas/arm/nops.d: Likewise.
3431 * testsuite/gas/arm/pic.d: Likewise.
3432 * testsuite/gas/arm/pinsn.d: Likewise.
3433 * testsuite/gas/arm/plt-1.d: Likewise.
3434 * testsuite/gas/arm/pr21458.d: Likewise.
3435 * testsuite/gas/arm/pr9722.d: Likewise.
3436 * testsuite/gas/arm/strex-t.d: Likewise.
3437 * testsuite/gas/arm/t2-branch-global.d: Likewise.
3438 * testsuite/gas/arm/target-reloc-1.d: Likewise.
3439 * testsuite/gas/arm/thumb-b-bad.d: Likewise.
3440 * testsuite/gas/arm/thumb-w-bad.d: Likewise.
3441 * testsuite/gas/arm/thumb-w-good.d: Likewise.
3442 * testsuite/gas/arm/thumb.d: Likewise.
3443 * testsuite/gas/arm/thumb2_it.d: Likewise.
3444 * testsuite/gas/arm/thumb2_it_auto.d: Likewise.
3445 * testsuite/gas/arm/thumb2_it_search.d: Likewise.
3446 * testsuite/gas/arm/thumb2_ldmstm.d: Likewise.
3447 * testsuite/gas/arm/thumb2_ldr_immediate_armv6.d: Likewise.
3448 * testsuite/gas/arm/thumb2_ldr_immediate_armv6t2.d: Likewise.
3449 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Likewise.
3450 * testsuite/gas/arm/thumb2_pool.d: Likewise.
3451 * testsuite/gas/arm/thumb2_vpool.d: Likewise.
3452 * testsuite/gas/arm/thumb2_vpool_be.d: Likewise.
3453 * testsuite/gas/arm/thumb32.d: Likewise.
3454 * testsuite/gas/arm/thumbver.d: Likewise.
3455 * testsuite/gas/arm/tls.d: Likewise.
3456 * testsuite/gas/arm/tls_vxworks.d: Likewise.
3457 * testsuite/gas/arm/undefined.d: Likewise.
3458 * testsuite/gas/arm/undefined_coff.d: Likewise.
3459 * testsuite/gas/arm/unwind.d: Likewise.
3460 * testsuite/gas/arm/v4bx.d: Likewise.
3461 * testsuite/gas/arm/vcmp-noprefix-imm.d: Likewise.
3462 * testsuite/gas/arm/vcvt-bad.d: Likewise.
3463 * testsuite/gas/arm/vfma1.d: Likewise.
3464 * testsuite/gas/arm/vldconst.d: Likewise.
3465 * testsuite/gas/arm/vldconst_be.d: Likewise.
3466 * testsuite/gas/arm/vldm-arm.d: Likewise.
3467 * testsuite/gas/arm/vldr.d: Likewise.
3468 * testsuite/gas/arm/weakdef-1.d: Likewise.
3469 * testsuite/gas/arm/weakdef-2.d: Likewise.
3470 * config/te-riscix.h: Delete.
3471 * Makefile.in: Regenerate.
3472 * po/POTFILES.in: Regenerate.
3473
5a6312e8
AM
34742018-04-23 Alan Modra <amodra@gmail.com>
3475
3476 * stabs.c (generate_asm_file): Use memcpy rather than strncpy.
3477 Remove call to strlen inside loop.
3478 * config/tc-cr16.c (getreg_image): Warning fix.
3479 * config/tc-crx.c (getreg_image): Warning fix.
3480
71060565
JW
34812018-04-20 Kito Cheng <kito.cheng@gmail.com>
3482
3483 * config/tc-riscv.c (options): Add OPTION_RELAX and
3484 OPTION_NO_RELAX.
3485 (md_longopts): New option -mrelax and -mno-relax.
3486 (md_parse_option): Handle -mrelax and -mno-relax.
3487 * doc/c-riscv.texi: Document for -mrelax and -mno-relax.
3488 * testsuite/gas/riscv/no-relax-reloc.d: New.
3489 * testsuite/gas/riscv/no-relax-reloc.s: New.
3490 * testsuite/gas/riscv/relax-reloc.d: New.
3491 * testsuite/gas/riscv/relax-reloc.s: New.
3492
1a1de166
NC
34932018-04-20 Nick Clifton <nickc@redhat.com>
3494
3495 * po/es.po: Updated Spanish translation.
3496
c65c21e1
AM
34972018-04-18 Alan Modra <amodra@gmail.com>
3498
3499 * Makefile.am: Remove support for assorted i386 aout and coff targets.
3500 * config/obj-elf.c: Likewise.
3501 * config/tc-i386.h: Likewise.
3502 * configure.ac: Likewise.
3503 * configure.tgt: Likewise.
3504 * config/te-dynix.h: Delete.
3505 * config/te-i386aix.h: Delete.
3506 * config/te-mach.h: Delete.
3507 * Makefile.in: Regenerate.
3508 * config.in: Regenerate.
3509 * configure: Regenerate.
3510 * po/POTFILES.in: Regenerate.
3511
e2e4f0fd
AM
35122018-04-18 Alan Modra <amodra@gmail.com>
3513
3514 * configure.tgt: Remove *-*-bsd* entry.
3515
884d4d8a 35162018-04-17 Andrew Sadek <andrew.sadek.se@gmail.com>
3f0a5f17
ME
3517
3518 Microblaze Target: PIC data text relative
3519
3520 * gas/config/tc-microblaze.c (Handle new relocs directives in
3521 assembler): Handle new relocs from compiler output.
3522 (imm_types): add new imm types for data text relative addressing
3523 TEXT_OFFSET, TEXT_PC_OFFSET
3524 (md_convert_frag): conversion for BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
3525 BFD_RELOC_MICROBLAZE_64_TEXTPCREL
3526 (md_apply_fix): apply fix for BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
3527 BFD_RELOC_MICROBLAZE_64_TEXTPCREL
3528 (md_estimate_size_before_relax): estimate size for
3529 BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
3530 BFD_RELOC_MICROBLAZE_64_TEXTPCREL
3531 (tc_gen_reloc): generate relocations for
3532 BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
3533 BFD_RELOC_MICROBLAZE_64_TEXTPCREL
3534
bdd7c8fc
IT
35352018-04-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3536
3537 * testsuite/gas/i386/nops.s: Revert back deleted lines and
3538 change encoding to 0x0f1c /1 to map to NOP.
3539 * testsuite/gas/i386/x86-64-nops.s: Likewise.
3540 * testsuite/gas/i386/nops.d: Likewise.
3541 * testsuite/gas/i386/x86-64-nops.d: Likewise.
3542 * testsuite/gas/i386/ilp32/x86-64-nops.d: Likewis.
3543
c48935d7
IT
35442018-04-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3545
3546 * config/tc-i386.c (cpu_arch): Add .cldemote.
3547 * doc/c-i386.texi: Document cldemote/.cldemote.
3548 * testsuite/gas/i386/cldemote-intel.d: New.
3549 * testsuite/gas/i386/cldemote.d: Likewise.
3550 * testsuite/gas/i386/cldemote.s: Likewise.
3551 * testsuite/gas/i386/i386.exp: Run new tests.
3552 * testsuite/gas/i386/x86-64-cldemote-intel.d: New.
3553 * testsuite/gas/i386/x86-64-cldemote.d: Likewise.
3554 * testsuite/gas/i386/x86-64-cldemote.s: Likewise.
3555 * testsuite/gas/i386/ilp32/x86-64-nops.d: Remove 0x0f1c
3556 NOP encoding that maps to cldemote.
3557 * testsuite/gas/i386/nops.d: Likewise.
3558 * testsuite/gas/i386/nops.s: Likewise.
3559 * testsuite/gas/i386/x86-64-nops.d: Likewise.
3560 * testsuite/gas/i386/x86-64-nops.s: Likewise.
3561
c77852c8
NC
35622018-04-16 Nick Clifton <nickc@redhat.com>
3563
3564 PR 23054
3565 * cond.c (s_ifsef): Replace use of obstack_copy with obstack_alloc
3566 followed by memcpy.
3567 (s_if, s_ifb, s_ifc, s_ifeqs): Likewise.
3568 * obj-elf.c (elf_adjust_symtab): Check for local symbols before
3569 attempting to dereference the sy_next field of a symbol.
3570 * stabs.c (get_stab_string_offset): Fail if there is no string
3571 following the stab directive.
3572
ddb00039
AM
35732018-04-16 Alan Modra <amodra@gmail.com>
3574
3575 * Makefile.am: Remove arm-epoc-pe support.
3576 * config/tc-arm.h: Likewise.
3577 * configure.tgt: Likewise.
3578 * testsuite/gas/all/gas.exp: Likewise.
3579 * testsuite/gas/arm/local_label_coff.d: Likewise.
3580 * testsuite/gas/arm/undefined.d: Likewise.
3581 * testsuite/gas/arm/undefined_coff.d: Likewise.
3582 * config/te-epoc-pe.h: Delete.
3583 * Makefile.in: Regenerate.
3584 * po/POTFILES.in: Regenerate.
3585
c9098af4
AM
35862018-04-16 Alan Modra <amodra@gmail.com>
3587
3588 * Makefile.am: Remove sparc-aout and sparc-coff support.
3589 * config/obj-coff.h: Likewise.
3590 * config/tc-sparc.c: Likewise.
3591 * config/tc-sparc.h: Likewise.
3592 * configure.tgt: Likewise.
3593 * config/te-sparcaout.h: Delete.
3594 * testsuite/gas/sun4/addend.d: Delete.
3595 * testsuite/gas/sun4/addend.exp: Delete.
3596 * testsuite/gas/sun4/addend.s: Delete.
3597 * Makefile.in: Regenerate.
3598 * po/POTFILES.in: Regenerate.
3599
dc12032b
AM
36002018-04-16 Alan Modra <amodra@gmail.com>
3601
3602 * Makefile.am: Remove m68k-aout and m68k-coff support.
3603 * config/tc-m68k.c: Likewise.
3604 * config/tc-m68k.h: Likewise.
3605 * configure.ac: Likewise.
3606 * configure.tgt: Likewise.
3607 * testsuite/gas/all/weakref1u.d: Likewise.
3608 * testsuite/gas/m68k/all.exp: Likewise.
3609 * testsuite/gas/m68k/br-isaa.d: Likewise.
3610 * testsuite/gas/m68k/br-isab.d: Likewise.
3611 * testsuite/gas/m68k/br-isac.d: Likewise.
3612 * config/te-psos.h: Delete.
3613 * config/te-sun3.h: Delete.
3614 * testsuite/gas/m68k-coff/gas.exp: Delete.
3615 * testsuite/gas/m68k-coff/p2389.s: Delete.
3616 * testsuite/gas/m68k-coff/p2389a.s: Delete.
3617 * testsuite/gas/m68k-coff/p2430.s: Delete.
3618 * testsuite/gas/m68k-coff/p2430a.s: Delete.
3619 * testsuite/gas/m68k-coff/t1.s: Delete.
3620 * testsuite/gas/m68k/p3041.d: Delete.
3621 * testsuite/gas/m68k/p3041.s: Delete.
3622 * testsuite/gas/m68k/p3041data.d: Delete.
3623 * testsuite/gas/m68k/p3041data.s: Delete.
3624 * testsuite/gas/m68k/p3041pcrel.d: Delete.
3625 * testsuite/gas/m68k/p3041pcrel.s: Delete.
3626 * testsuite/gas/m68k/t2.d: Delete.
3627 * Makefile.in: Regenerate.
3628 * config.in: Regenerate.
3629 * configure: Regenerate.
3630 * po/POTFILES.in: Regenerate.
3631
211dc24b
AM
36322018-04-16 Alan Modra <amodra@gmail.com>
3633
3634 * Makefile.am: Remove sh5 and sh64 support.
3635 * config/tc-sh.c: Likewise.
3636 * configure.tgt: Likewise.
3637 * doc/Makefile.am: Likewise.
3638 * doc/as.texinfo: Likewise.
3639 * testsuite/gas/cfi/cfi.exp: Likewise.
3640 * testsuite/gas/sh/basic.exp: Likewise.
3641 * config/tc-sh64.c: Delete.
3642 * config/tc-sh64.h: Delete.
3643 * doc/c-sh64.texi: Delete.
3644 * testsuite/gas/sh/sh64/abi-32.d: Delete.
3645 * testsuite/gas/sh/sh64/abi-32.s: Delete.
3646 * testsuite/gas/sh/sh64/abi-64.d: Delete.
3647 * testsuite/gas/sh/sh64/abi-64.s: Delete.
3648 * testsuite/gas/sh/sh64/basic-1.d: Delete.
3649 * testsuite/gas/sh/sh64/basic-1.s: Delete.
3650 * testsuite/gas/sh/sh64/case-1.d: Delete.
3651 * testsuite/gas/sh/sh64/case-1.s: Delete.
3652 * testsuite/gas/sh/sh64/case-noexp-1.d: Delete.
3653 * testsuite/gas/sh/sh64/crange1-1.d: Delete.
3654 * testsuite/gas/sh/sh64/crange1-2.d: Delete.
3655 * testsuite/gas/sh/sh64/crange1.s: Delete.
3656 * testsuite/gas/sh/sh64/crange2-1.d: Delete.
3657 * testsuite/gas/sh/sh64/crange2-2.d: Delete.
3658 * testsuite/gas/sh/sh64/crange2-noexp-1.d: Delete.
3659 * testsuite/gas/sh/sh64/crange2.s: Delete.
3660 * testsuite/gas/sh/sh64/crange3-1.d: Delete.
3661 * testsuite/gas/sh/sh64/crange3.s: Delete.
3662 * testsuite/gas/sh/sh64/crange4-1.d: Delete.
3663 * testsuite/gas/sh/sh64/crange4.s: Delete.
3664 * testsuite/gas/sh/sh64/crange5-1.d: Delete.
3665 * testsuite/gas/sh/sh64/crange5.s: Delete.
3666 * testsuite/gas/sh/sh64/creg-1.d: Delete.
3667 * testsuite/gas/sh/sh64/creg-1.s: Delete.
3668 * testsuite/gas/sh/sh64/creg-2.d: Delete.
3669 * testsuite/gas/sh/sh64/creg-2.s: Delete.
3670 * testsuite/gas/sh/sh64/datal-1.s: Delete.
3671 * testsuite/gas/sh/sh64/datal-2.d: Delete.
3672 * testsuite/gas/sh/sh64/datal-2.s: Delete.
3673 * testsuite/gas/sh/sh64/datal-3.s: Delete.
3674 * testsuite/gas/sh/sh64/datal32-1.d: Delete.
3675 * testsuite/gas/sh/sh64/datal32-3.d: Delete.
3676 * testsuite/gas/sh/sh64/datal64-1.d: Delete.
3677 * testsuite/gas/sh/sh64/datal64-3.d: Delete.
3678 * testsuite/gas/sh/sh64/eh-1.d: Delete.
3679 * testsuite/gas/sh/sh64/eh-1.s: Delete.
3680 * testsuite/gas/sh/sh64/endian-1.d: Delete.
3681 * testsuite/gas/sh/sh64/endian-1.s: Delete.
3682 * testsuite/gas/sh/sh64/endian-2.d: Delete.
3683 * testsuite/gas/sh/sh64/endian-2.s: Delete.
3684 * testsuite/gas/sh/sh64/err-1.s: Delete.
3685 * testsuite/gas/sh/sh64/err-2.s: Delete.
3686 * testsuite/gas/sh/sh64/err-3.s: Delete.
3687 * testsuite/gas/sh/sh64/err-4.s: Delete.
3688 * testsuite/gas/sh/sh64/err-abi-32.s: Delete.
3689 * testsuite/gas/sh/sh64/err-abi-64.s: Delete.
3690 * testsuite/gas/sh/sh64/err-dsp.s: Delete.
3691 * testsuite/gas/sh/sh64/err-movi-noexp-1.s: Delete.
3692 * testsuite/gas/sh/sh64/err-noexp-cmd1.s: Delete.
3693 * testsuite/gas/sh/sh64/err-pt-1.s: Delete.
3694 * testsuite/gas/sh/sh64/err-pt32-cmd1.s: Delete.
3695 * testsuite/gas/sh/sh64/err-pt32-cmd2.s: Delete.
3696 * testsuite/gas/sh/sh64/err-pt32-cmd3.s: Delete.
3697 * testsuite/gas/sh/sh64/err-ptb-1.s: Delete.
3698 * testsuite/gas/sh/sh64/err-ptb-2.s: Delete.
3699 * testsuite/gas/sh/sh64/err.exp: Delete.
3700 * testsuite/gas/sh/sh64/immexpr1.s: Delete.
3701 * testsuite/gas/sh/sh64/immexpr2.s: Delete.
3702 * testsuite/gas/sh/sh64/immexpr32-1.d: Delete.
3703 * testsuite/gas/sh/sh64/immexpr32-2.d: Delete.
3704 * testsuite/gas/sh/sh64/immexpr64-1.d: Delete.
3705 * testsuite/gas/sh/sh64/immexpr64-2.d: Delete.
3706 * testsuite/gas/sh/sh64/lineno.d: Delete.
3707 * testsuite/gas/sh/sh64/lineno.s: Delete.
3708 * testsuite/gas/sh/sh64/localcom-1.d: Delete.
3709 * testsuite/gas/sh/sh64/localcom-1.s: Delete.
3710 * testsuite/gas/sh/sh64/mix-1.d: Delete.
3711 * testsuite/gas/sh/sh64/mix-1.s: Delete.
3712 * testsuite/gas/sh/sh64/mix-noexp-1.d: Delete.
3713 * testsuite/gas/sh/sh64/movi-1.s: Delete.
3714 * testsuite/gas/sh/sh64/movi-2.s: Delete.
3715 * testsuite/gas/sh/sh64/movi-3.d: Delete.
3716 * testsuite/gas/sh/sh64/movi-3.s: Delete.
3717 * testsuite/gas/sh/sh64/movi32-1.d: Delete.
3718 * testsuite/gas/sh/sh64/movi32-2.d: Delete.
3719 * testsuite/gas/sh/sh64/movi32-noexp-2.d: Delete.
3720 * testsuite/gas/sh/sh64/movi64-1.d: Delete.
3721 * testsuite/gas/sh/sh64/movi64-2.d: Delete.
3722 * testsuite/gas/sh/sh64/movi64-2.s: Delete.
3723 * testsuite/gas/sh/sh64/movi64-3.d: Delete.
3724 * testsuite/gas/sh/sh64/movi64-noexp-2.d: Delete.
3725 * testsuite/gas/sh/sh64/pt-1.d: Delete.
3726 * testsuite/gas/sh/sh64/pt-1.s: Delete.
3727 * testsuite/gas/sh/sh64/pt-2.s: Delete.
3728 * testsuite/gas/sh/sh64/pt-noexp-1.d: Delete.
3729 * testsuite/gas/sh/sh64/pt32-1.d: Delete.
3730 * testsuite/gas/sh/sh64/pt32-noexp-2.d: Delete.
3731 * testsuite/gas/sh/sh64/pt64-1.d: Delete.
3732 * testsuite/gas/sh/sh64/pt64-32-1.d: Delete.
3733 * testsuite/gas/sh/sh64/pt64-32-2.d: Delete.
3734 * testsuite/gas/sh/sh64/pt64-noexp-2.d: Delete.
3735 * testsuite/gas/sh/sh64/ptc-1.s: Delete.
3736 * testsuite/gas/sh/sh64/ptc32-1.d: Delete.
3737 * testsuite/gas/sh/sh64/ptc32-noexp-1.d: Delete.
3738 * testsuite/gas/sh/sh64/ptc64-1.d: Delete.
3739 * testsuite/gas/sh/sh64/ptc64-32-1.d: Delete.
3740 * testsuite/gas/sh/sh64/ptc64-noexp-1.d: Delete.
3741 * testsuite/gas/sh/sh64/ptext-1.s: Delete.
3742 * testsuite/gas/sh/sh64/ptext32-1.d: Delete.
3743 * testsuite/gas/sh/sh64/ptext32-noexp-1.d: Delete.
3744 * testsuite/gas/sh/sh64/ptext64-1.d: Delete.
3745 * testsuite/gas/sh/sh64/ptext64-32-1.d: Delete.
3746 * testsuite/gas/sh/sh64/ptext64-noexp-1.d: Delete.
3747 * testsuite/gas/sh/sh64/rel-1.s: Delete.
3748 * testsuite/gas/sh/sh64/rel-2.s: Delete.
3749 * testsuite/gas/sh/sh64/rel-3.s: Delete.
3750 * testsuite/gas/sh/sh64/rel-4.s: Delete.
3751 * testsuite/gas/sh/sh64/rel-5.s: Delete.
3752 * testsuite/gas/sh/sh64/rel32-1.d: Delete.
3753 * testsuite/gas/sh/sh64/rel32-2.d: Delete.
3754 * testsuite/gas/sh/sh64/rel32-3.d: Delete.
3755 * testsuite/gas/sh/sh64/rel32-4.d: Delete.
3756 * testsuite/gas/sh/sh64/rel32-5.d: Delete.
3757 * testsuite/gas/sh/sh64/rel64-1.d: Delete.
3758 * testsuite/gas/sh/sh64/rel64-2.d: Delete.
3759 * testsuite/gas/sh/sh64/rel64-3.d: Delete.
3760 * testsuite/gas/sh/sh64/rel64-4.d: Delete.
3761 * testsuite/gas/sh/sh64/rel64-5.d: Delete.
3762 * testsuite/gas/sh/sh64/relax-1.d: Delete.
3763 * testsuite/gas/sh/sh64/relax-1.s: Delete.
3764 * testsuite/gas/sh/sh64/relax-2.d: Delete.
3765 * testsuite/gas/sh/sh64/relax-2.s: Delete.
3766 * testsuite/gas/sh/sh64/relax-3.d: Delete.
3767 * testsuite/gas/sh/sh64/relax-3.s: Delete.
3768 * testsuite/gas/sh/sh64/sh64.exp: Delete.
3769 * testsuite/gas/sh/sh64/shift-1.s: Delete.
3770 * testsuite/gas/sh/sh64/shift-2.s: Delete.
3771 * testsuite/gas/sh/sh64/shift-3.s: Delete.
3772 * testsuite/gas/sh/sh64/shift32-1.d: Delete.
3773 * testsuite/gas/sh/sh64/shift32-3.d: Delete.
3774 * testsuite/gas/sh/sh64/shift32-noexp-3.d: Delete.
3775 * testsuite/gas/sh/sh64/shift64-1.d: Delete.
3776 * testsuite/gas/sh/sh64/shift64-2.d: Delete.
3777 * testsuite/gas/sh/sh64/shift64-3.d: Delete.
3778 * testsuite/gas/sh/sh64/shift64-noexp-3.d: Delete.
3779 * testsuite/gas/sh/sh64/syntax-1.d: Delete.
3780 * testsuite/gas/sh/sh64/syntax-1.s: Delete.
3781 * testsuite/gas/sh/sh64/syntax-2.d: Delete.
3782 * testsuite/gas/sh/sh64/syntax-2.s: Delete.
3783 * testsuite/gas/sh/sh64/ua-1.s: Delete.
3784 * testsuite/gas/sh/sh64/ua32-1.d: Delete.
3785 * testsuite/gas/sh/sh64/ua64-1.d: Delete.
3786 * Makefile.in: Regenerate.
3787 * doc/Makefile.in: Regenerate.
3788 * po/POTFILES.in: Regenerate.
3789
4db9937a
AM
37902018-04-16 Alan Modra <amodra@gmail.com>
3791
3792 * config/tc-sh.c: Remove sh-symbianelf support.
3793 * config/tc-sh.h: Likewise.
3794 * configure.ac: Likewise.
3795 * configure.tgt: Likewise.
3796 * testsuite/gas/sh/reg-prefix.d: Likewise.
3797 * testsuite/gas/sh/sh2a-pic.d: Likewise.
3798 * config.in: Regenerate.
3799 * configure: Regenerate.
3800
c2bf1eec
AM
38012018-04-16 Alan Modra <amodra@gmail.com>
3802
3803 * configure.ac: Remove m88k support.
3804 * config.in: Regenerate.
3805 * configure: Regenerate.
3806
6793974d
AM
38072018-04-16 Alan Modra <amodra@gmail.com>
3808
3809 * Makefile.am: Remove i370 support.
3810 * app.c: Likewise.
3811 * config/obj-elf.c: Likewise.
3812 * configure.tgt: Likewise.
3813 * doc/Makefile.am: Likewise.
3814 * doc/as.texinfo: Likewise.
3815 * testsuite/gas/all/gas.exp: Likewise.
3816 * testsuite/gas/elf/warn-2.s: Likewise.
3817 * testsuite/gas/lns/lns.exp: Likewise.
3818 * config/tc-i370.c: Delete.
3819 * config/tc-i370.h: Delete.
3820 * doc/c-i370.texi: Delete.
3821 * Makefile.in: Regenerate.
3822 * doc/Makefile.in: Regenerate.
3823 * po/POTFILES.in: Regenerate.
3824
e82aa794
AM
38252018-04-16 Alan Modra <amodra@gmail.com>
3826
3827 * config/obj-coff.h: Remove h8500 support.
3828
fe0bf0fd
AM
38292018-04-16 Alan Modra <amodra@gmail.com>
3830
3831 * config/obj-coff.h: Remove h8300-coff support.
3832 * config/tc-h8300.c: Likewise.
3833 * config/tc-h8300.h: Likewise.
3834 * testsuite/gas/h8300/h8300.exp: Likewise.
3835 * testsuite/gas/h8300/branch-coff.s: Delete.
3836 * testsuite/gas/h8300/branchh-coff.s: Delete.
3837 * testsuite/gas/h8300/branchs-coff.s: Delete.
3838 * testsuite/gas/h8300/ffxx1-coff.d: Delete.
3839 * testsuite/gas/h8300/ffxx1-coff.s: Delete.
3840 * testsuite/gas/h8300/h8300-coff.exp: Delete.
3841
fdef3943
AM
38422018-04-16 Alan Modra <amodra@gmail.com>
3843
3844 * app.c: Remove IEEE 695 support.
3845 * symbols.c: Likewise.
3846
b4b594e3
AM
38472018-04-16 Alan Modra <amodra@gmail.com>
3848
3849 * Makefile.am: Remove netware support.
3850 * config/tc-i386.c: Likewise.
3851 * configure.tgt: Likewise.
3852 * config/te-netware.h: Delete.
3853 * Makefile.in: Regenerate.
3854 * po/POTFILES.in: Regenerate.
3855
ae1d3843
L
38562018-04-15 H.J. Lu <hongjiu.lu@intel.com>
3857
3858 * testsuite/gas/i386/x86-64-waitpkg.s: Add 32-bit registers
3859 tests for tpause and umwait.
3860 * testsuite/gas/i386/x86-64-waitpkg-intel.d: Updated.
3861 * testsuite/gas/i386/x86-64-waitpkg.d: Likewise.
3862
67f846b5
JD
38632018-04-12 John Darrington <john@darrington.wattle.id.au>
3864
3865 * as.c (main): Fail if the output is the same as one of the input
3866 files.
3867 * testsuite/gas/all/gas.exp: Test the new feature.
3868
73a05be2
NC
38692018-04-12 Nick Clifton <nickc@redhat.com>
3870
3871 * po/es.po: Updated Spanish translation.
3872 * po/ru.po: Updated Russian translation.
3873
de89d0a3
IT
38742018-04-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3875
3876 * config/tc-i386.c (cpu_arch): Add WAITPKG.
3877 (cpu_noarch): Likewise.
3878 * doc/c-i386.texi: Document WAITPKG.
3879 * i386/i386.exp: Run WAITPKG tests.
3880 * testsuite/gas/i386/waitpkg-intel.d: New test.
3881 * testsuite/gas/i386/waitpkg.d: Likewise.
3882 * testsuite/gas/i386/waitpkg.s: Likewise.
3883 * testsuite/gas/i386/x86-64-waitpkg-intel.d: Likewise.
3884 * testsuite/gas/i386/x86-64-waitpkg.d: Likewise.
3885 * testsuite/gas/i386/x86-64-waitpkg.s: Likewise.
3886
a8eb42a8
AM
38872018-04-11 Alan Modra <amodra@gmail.com>
3888
3889 * config/aout_gnu.h: Delete.
3890 * config/tc-i860.c: Delete.
3891 * config/tc-i860.h: Delete.
3892 * config/tc-i960.c: Delete.
3893 * config/tc-i960.h: Delete.
3894 * doc/c-i860.texi: Delete.
3895 * doc/c-i960.texi: Delete.
3896 * testsuite/gas/i860/README.i860: Delete.
3897 * testsuite/gas/i860/bitwise.d: Delete.
3898 * testsuite/gas/i860/bitwise.s: Delete.
3899 * testsuite/gas/i860/branch.d: Delete.
3900 * testsuite/gas/i860/branch.s: Delete.
3901 * testsuite/gas/i860/bte.d: Delete.
3902 * testsuite/gas/i860/bte.s: Delete.
3903 * testsuite/gas/i860/dir-align01.d: Delete.
3904 * testsuite/gas/i860/dir-align01.s: Delete.
3905 * testsuite/gas/i860/dir-intel01.d: Delete.
3906 * testsuite/gas/i860/dir-intel01.s: Delete.
3907 * testsuite/gas/i860/dir-intel02.d: Delete.
3908 * testsuite/gas/i860/dir-intel02.s: Delete.
3909 * testsuite/gas/i860/dir-intel03-err.l: Delete.
3910 * testsuite/gas/i860/dir-intel03-err.s: Delete.
3911 * testsuite/gas/i860/dual01.d: Delete.
3912 * testsuite/gas/i860/dual01.s: Delete.
3913 * testsuite/gas/i860/dual02-err.l: Delete.
3914 * testsuite/gas/i860/dual02-err.s: Delete.
3915 * testsuite/gas/i860/dual03.d: Delete.
3916 * testsuite/gas/i860/dual03.s: Delete.
3917 * testsuite/gas/i860/fldst01.d: Delete.
3918 * testsuite/gas/i860/fldst01.s: Delete.
3919 * testsuite/gas/i860/fldst02.d: Delete.
3920 * testsuite/gas/i860/fldst02.s: Delete.
3921 * testsuite/gas/i860/fldst03.d: Delete.
3922 * testsuite/gas/i860/fldst03.s: Delete.
3923 * testsuite/gas/i860/fldst04.d: Delete.
3924 * testsuite/gas/i860/fldst04.s: Delete.
3925 * testsuite/gas/i860/fldst05.d: Delete.
3926 * testsuite/gas/i860/fldst05.s: Delete.
3927 * testsuite/gas/i860/fldst06.d: Delete.
3928 * testsuite/gas/i860/fldst06.s: Delete.
3929 * testsuite/gas/i860/fldst07.d: Delete.
3930 * testsuite/gas/i860/fldst07.s: Delete.
3931 * testsuite/gas/i860/fldst08.d: Delete.
3932 * testsuite/gas/i860/fldst08.s: Delete.
3933 * testsuite/gas/i860/float01.d: Delete.
3934 * testsuite/gas/i860/float01.s: Delete.
3935 * testsuite/gas/i860/float02.d: Delete.
3936 * testsuite/gas/i860/float02.s: Delete.
3937 * testsuite/gas/i860/float03.d: Delete.
3938 * testsuite/gas/i860/float03.s: Delete.
3939 * testsuite/gas/i860/float04.d: Delete.
3940 * testsuite/gas/i860/float04.s: Delete.
3941 * testsuite/gas/i860/form.d: Delete.
3942 * testsuite/gas/i860/form.s: Delete.
3943 * testsuite/gas/i860/i860.exp: Delete.
3944 * testsuite/gas/i860/iarith.d: Delete.
3945 * testsuite/gas/i860/iarith.s: Delete.
3946 * testsuite/gas/i860/ldst01.d: Delete.
3947 * testsuite/gas/i860/ldst01.s: Delete.
3948 * testsuite/gas/i860/ldst02.d: Delete.
3949 * testsuite/gas/i860/ldst02.s: Delete.
3950 * testsuite/gas/i860/ldst03.d: Delete.
3951 * testsuite/gas/i860/ldst03.s: Delete.
3952 * testsuite/gas/i860/ldst04.d: Delete.
3953 * testsuite/gas/i860/ldst04.s: Delete.
3954 * testsuite/gas/i860/ldst05.d: Delete.
3955 * testsuite/gas/i860/ldst05.s: Delete.
3956 * testsuite/gas/i860/ldst06.d: Delete.
3957 * testsuite/gas/i860/ldst06.s: Delete.
3958 * testsuite/gas/i860/pfam.d: Delete.
3959 * testsuite/gas/i860/pfam.s: Delete.
3960 * testsuite/gas/i860/pfmam.d: Delete.
3961 * testsuite/gas/i860/pfmam.s: Delete.
3962 * testsuite/gas/i860/pfmsm.d: Delete.
3963 * testsuite/gas/i860/pfmsm.s: Delete.
3964 * testsuite/gas/i860/pfsm.d: Delete.
3965 * testsuite/gas/i860/pfsm.s: Delete.
3966 * testsuite/gas/i860/pseudo-ops01.d: Delete.
3967 * testsuite/gas/i860/pseudo-ops01.s: Delete.
3968 * testsuite/gas/i860/regress01.d: Delete.
3969 * testsuite/gas/i860/regress01.s: Delete.
3970 * testsuite/gas/i860/shift.d: Delete.
3971 * testsuite/gas/i860/shift.s: Delete.
3972 * testsuite/gas/i860/simd.d: Delete.
3973 * testsuite/gas/i860/simd.s: Delete.
3974 * testsuite/gas/i860/system.d: Delete.
3975 * testsuite/gas/i860/system.s: Delete.
3976 * testsuite/gas/i860/xp.d: Delete.
3977 * testsuite/gas/i860/xp.s: Delete.
3978 * Makefile.am: Remove i860 and i960 support.
3979 * configure.tgt: Likewise.
3980 * doc/Makefile.am: Likewise.
3981 * doc/all.texi: Likewise.
3982 * testsuite/gas/all/gas.exp
3983 * config/obj-coff.h: Remove i960 support.
3984 * doc/internals.texi: Likewise.
3985 * expr.c: Likewise.
3986 * read.c: Likewise.
3987 * write.c: Likewise.
3988 * write.h: Likewise.
3989 * testsuite/gas/lns/lns.exp: Likewise.
3990 * testsuite/gas/symver/symver.exp: Likewise.
3991 * config/tc-m68k.c: Remove BOUT support.
3992 * config/tc-score.c: Likewise.
3993 * config/tc-score7.c: Likewise.
3994 * config/tc-sparc.c: Likewise.
3995 * symbols.c: Likewise.
3996 * doc/h8.texi: Likewise.
3997 * configure.ac: Remove BOUT and i860 support.
3998 * doc/as.texinfo: Remove BOUT, i860 and i960 support
3999 * Makefile.in: Regenerate.
4000 * config.in: Regenerate.
4001 * configure: Regenerate.
4002 * doc/Makefile.in: Regenerate.
4003 * po/POTFILES.in: Regenerate.
4004
3cba8b6c
L
40052018-04-05 H.J. Lu <hongjiu.lu@intel.com>
4006
4007 PR gas/22318
4008 * configure: Regenerated.
4009
caf0678c
L
40102018-04-04 H.J. Lu <hongjiu.lu@intel.com>
4011
4012 PR binutils/23025
4013 * testsuite/gas/i386/prefix.s: Add tests for vcvtpd2dq with
4014 VEX and EVEX prefixes.
4015 * testsuite/gas/i386/prefix.d: Updated.
4016
f2ab4b42
PB
40172018-03-30 Peter Bergner <bergner@vnet.ibm.com>
4018
4019 PR binutils/23013
4020 * config/tc-ppc.c (ppc_set_cpu): Select appropriate cpu when ppc_obj64
4021 and little endian.
4022
84f1b9fb
RL
40232018-03-28 Renlin Li <renlin.li@arm.com>
4024
4025 PR ld/22970
4026 * config/tc-aarch64.c (reloc_table): Update entry for tprel_lo12 and
4027 tprel_lo12_nc with pseudo relocations.
4028 (ldst_lo12_determine_real_reloc_type): Add new relocations support.
4029 (parse_operands): Handle BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12 and
4030 BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC pseudo relocations.
4031 (md_apply_fix): Add handling for new relocation.
4032 (aarch64_force_relocation): Likewise.
4033 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.d: New.
4034 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.s: New.
4035 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.d: New.
4036 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.s: New.
4037 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.d: New.
4038 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.s: New.
4039 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.d: New.
4040 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.s: New.
4041 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.d: New.
4042 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.s: New.
4043 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.d: New.
4044 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.s: New.
4045 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.d: New.
4046 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.s: New.
4047 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.d: New.
4048 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.s: New.
4049 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16-ilp32.d: New.
4050 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32-ilp32.d: New.
4051 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64-ilp32.d: New.
4052 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8-ilp32.d: New.
4053 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16-ilp32.d: New.
4054 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32-ilp32.d: New.
4055 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64-ilp32.d: New.
4056 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8-ilp32.d: New.
4057
c39e5b26
JB
40582018-03-28 Jan Beulich <jbeulich@suse.com>
4059
4060 * config/tc-i386.c (check_VecOperands): Replace uses of
4061 .vecesize. Always initialize op.
4062 * testsuite/gas/i386/avx512_vpopcntdq.s,
4063 testsuite/gas/i386/avx512bitalg_vl.s: Add Intel syntax vpopcnt
4064 broadcast cases with explicit operand size.
4065 * testsuite/gas/i386/avx512_vpopcntdq.d,
4066 testsuite/gas/i386/avx512_vpopcntdq-intel.d,
4067 testsuite/gas/i386/avx512bitalg_vl.d
4068 testsuite/gas/i386/avx512bitalg_vl-intel.d: Adjust expectations.
4069
8e6e0792
JB
40702018-03-28 Jan Beulich <jbeulich@suse.com>
4071
4072 * config/tc-i386.c (struct Broadcast_Operation): Adjust comment.
4073 (check_VecOperands): Re-write broadcast validation code.
4074 (check_VecOperations): Replace BROADCAST_1TO* uses.
4075 * testsuite/gas/i386/inval-avx512f.s: Add various broadcast
4076 cases.
4077 * testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
4078
9f123b91
JB
40792018-03-28 Jan Beulich <jbeulich@suse.com>
4080
4081 * config/tc-i386.c (process_suffix): Check .todword/.toqword
4082 before zapping suffix.
4083
9646c87b
JB
40842018-03-28 Jan Beulich <jbeulich@suse.com>
4085
4086 * testsuite/gas/i386/ilp32/x86-64-simd-suffix.d,
4087 testsuite/gas/i386/x86-64-simd-suffix.d: Drop q suffix from
4088 cvt*2si.
4089
c8d59609
NC
40902018-03-28 Nick Clifton <nickc@redhat.com>
4091
4092 PR 22988
4093 * config/tc-aarch64.c (parse_operands): Add code to handle
4094 AARCH64_OPN_SVE_ADDR_R.
4095 * testsuite/gas/aarch64/sve.s: Add tests for LDFF1xx instructions
4096 with an assumed XZR offset address register.
4097 * testsuite/gas/aarch64/sve.d: Update expected disassembly.
4098
32546502
JB
40992018-03-22 Jan Beulich <jbeulich@suse.com>
4100
4101 * config/tc-i386.c (check_VecOperands): Latch
4102 i.broadcast->operand into op.
4103
1212781b
JB
41042018-03-22 Jan Beulich <jbeulich@suse.com>
4105
4106 * config/tc-i386.c (match_template): Special case base opcode
4107 0xa0 with HLE prefix.
4108 * testsuite/gas/i386/hle.s: Add mov-accumulator-to-disp cases.
4109 * testsuite/gas/i386/hle.d, testsuite/gas/i386/hle-intel.d:
4110 Adjust expectations.
4111
9f79e886
JB
41122018-03-22 Jan Beulich <jbeulich@suse.com>
4113
4114 * testsuite/gas/i386/opts.s: Add bndmov cases.
4115 * testsuite/gas/i386/opts.d, testsuite/gas/i386/opts-intel.d,
4116 testsuite/gas/i386/sse2avx-opts.d,
4117 testsuite/gas/i386/sse2avx-opts-intel.d: Adjust expectations.
4118
d6793fa1
JB
41192018-03-22 Jan Beulich <jbeulich@suse.com>
4120
4121 * config/tc-i386.c (match_mem_size): Extend sub-xmmword
4122 exceptions.
4123 * testsuite/gas/i386/xmmword.l, testsuite/gas/i386/xmmword.s:
4124 New.
4125 * testsuite/gas/i386/i386.exp: Run new test.
4126
f7768225
JB
41272018-03-22 Jan Beulich <jbeulich@suse.com>
4128
4129 * config/tc-i386.c (match_template): Also match 2nd and 4th
4130 operand's register sizes.
4131 * testsuite/gas/i386/unspec.l, testsuite/gas/i386/unspec.s: New.
4132 * testsuite/gas/i386/i386.exp: Run new test.
4133
315aa1cf
NC
41342018-03-19 Nick Clifton <nickc@redhat.com>
4135
4136 * po/uk.po: Updated Ukranian translation.
4137
ca2fd32c
JW
41382018-03-16 Jim Wilson <jimw@sifive.com>
4139
4140 * config/tc-riscv.c (check_absolute_expr): Expand comment. New
4141 parameter maybe_csr. If maybe_csr and O_symbol, print CSR name.
4142 (riscv_ip): Add new argument to check_absolute_expr calls.
4143 * testsuite/gas/riscv/bad-csr.d: New.
4144 * testsuite/gas/riscv/bad-csr.l: New.
4145 * testsuite/gas/riscv/bad-csr.s: New.
4146
0e35537d
JW
41472018-03-14 Kito Cheng <kito.cheng@gmail.com>
4148
4149 * config/tc-riscv.c (opcode_name_list): New.
4150 (opcode_names_hash): Likewise.
4151 (init_opcode_names_hash): Likewise.
4152 (opcode_name_lookup): Likewise.
4153 (validate_riscv_insn): New argument length, and add new format
4154 which used in .insn directive.
4155 (md_begin): Refine hash table initialization logic into
4156 init_opcode_hash.
4157 (init_opcode_hash): New.
4158 (my_getOpcodeExpression): Parse opcode name for .insn.
4159 (riscv_ip): New argument hash, able to handle .insn directive.
4160 (s_riscv_insn): Handler for .insn directive.
4161 (riscv_pseudo_table): New entry for .insn.
4162 * doc/c-riscv.texi: Add documentation for .insn directive.
4163 * testsuite/gas/riscv/insn.d: Add testcase for .insn directive.
4164 * testsuite/gas/riscv/insn.s: Likewise.
4165
b4a3689a
NC
41662018-03-13 Nick Clifton <nickc@redhat.com>
4167
4168 * po/ru.po: Updated Russian translation.
4169
80c34c38
L
41702018-03-09 H.J. Lu <hongjiu.lu@intel.com>
4171
4172 * config/tc-i386.c (optimize_encoding): Encode EVEX instructions
4173 with VEX128 if EVEX encoding isn't required.
4174 * testsuite/gas/i386/optimize-1.d: Updated.
4175 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
4176
0ba3a731
L
41772018-03-09 H.J. Lu <hongjiu.lu@intel.com>
4178
4179 * config/tc-i386.c (check_VecOperations): Strip whitespace.
4180 * testsuite/gas/i386/optimize-1.s: Add whitespaces before
4181 {%k7} and {z},
4182 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
4183
0089dace
L
41842018-03-08 H.J. Lu <hongjiu.lu@intel.com>
4185
4186 * config/tc-i386.c (set_cpu_arch): Set cpu_arch_isa_flags.
4187 (md_parse_option): Likewise.
4188 (optimize_encoding): Check i.tm.cpu_flags and cpu_arch_isa_flags
4189 for cpuavx512vl instead of cpu_arch_flags. Optimize EVEX with
4190 EVEX128 when EVEX encoding is required.
4191 * testsuite/gas/i386/i386.exp: Run optimize-4, optimize-5,
4192 x86-64-optimize-5 and x86-64-optimize-6.
4193 * testsuite/gas/i386/optimize-1.d: Updated.
4194 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
4195 * testsuite/gas/i386/optimize-4.d: New file.
4196 * testsuite/gas/i386/optimize-4.s: Likewise.
4197 * testsuite/gas/i386/optimize-5.d: Likewise.
4198 * testsuite/gas/i386/optimize-5.s: Likewise.
4199 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
4200 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
4201 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
4202 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
4203
d3d50934
L
42042018-03-08 H.J. Lu <hongjiu.lu@intel.com>
4205
4206 * config/tc-i386.c (optimize_encoding): Also encode "clr reg64"
4207 as "xor reg32, reg32".
4208 * testsuite/gas/i386/x86-64-optimize-1.s: Add "clr reg64" tests.
4209 * testsuite/gas/i386/x86-64-optimize-1.d: Updated.
4210
bd5dea88
L
42112018-03-08 H.J. Lu <hongjiu.lu@intel.com>
4212
4213 * NEWS: Mention -mold-gcc removal.
4214 * config/tc-i386.c (i386_error): Remove old_gcc_only.
4215 (old_gcc): Removed.
4216 (match_template): Remove old gcc support.
4217 (OPTION_MOLD_GCC): Removed.
4218 (OPTION_MRELAX_RELOCATIONS): Updated.
4219 (md_longopts): Remove OPTION_MOLD_GCC.
4220 (md_parse_option): Likewise.
4221 (md_show_usage): Remove -mold-gcc.
4222 * testsuite/gas/i386/general.s: Convert fsub/fdiv tests for old
4223 (<= 2.8.1) versions of gcc.
4224 * testsuite/gas/i386/intel.s: Likewise.
4225 * testsuite/gas/i386/general.l: Updated.
4226 * testsuite/gas/i386/intel-intel.d: Likewise.
4227 * testsuite/gas/i386/intel.d: Likewise.
4228 * testsuite/gas/i386/intel.e: Likewise.
4229 * testsuite/gas/i386/i386.exp: Don't pass -mold-gcc to general.
4230
e771e7c9
JB
42312018-03-08 Jan Beulich <jbeulich@suse.com>
4232
4233 * config/tc-i386.c (is_evex_encoding): New.
4234 (optimize_encoding, md_assemble, md_assemble,
4235 VEX_check_operands, build_modrm_byte): Use is_evex_encoding.
4236 (build_evex_prefix): Derive EVEX length field from actual
4237 operands if the template allows multiple ones.
4238
ed438a93
JB
42392018-03-08 Jan Beulich <jbeulich@suse.com>
4240
4241 * config/tc-i386.c (build_modrm_byte): Make VexNDD handling cope
4242 with 3rd (immediate) operand.
4243
d2224064
JB
42442018-03-08 Jan Beulich <jbeulich@suse.com>
4245
4246 * config/tc-i386.c (XMMWORD_MNEM_SUFFIX, YMMWORD_MNEM_SUFFIX,
4247 ZMMWORD_MNEM_SUFFIX): Delete.
4248 (process_suffix): Drop their uses. Re-arrange final part of
4249 logic into a switch() statement. Drop special casing of
4250 cmpxchg8b.
4251
23e42951
JB
42522018-03-08 Jan Beulich <jbeulich@suse.com>
4253
4254 * config/tc-i386.c (match_template): Also match register
4255 operands 0 and 2 for 3-operand forms.
4256 * testsuite/gas/i386/unspec64.l, testsuite/gas/i386/unspec64.s:
4257 New.
4258 * testsuite/gas/i386/i386.exp: Run new test.
4259
8819ada6
JB
42602018-03-08 Jan Beulich <jbeulich@suse.com>
4261
4262 * config/tc-i386.c (process_suffix): Do common part of register
4263 checks first.
4264
548d0ee6
JB
42652018-03-08 Jan Beulich <jbeulich@suse.com>
4266
4267 * config/tc-i386.c (parse_insn): Move success return up. Combine
4268 failure returns.
4269
929f69fa
JB
42702018-03-08 Jan Beulich <jbeulich@suse.com>
4271
4272 * config/tc-i386.c (cpu_flags_match): Add GFNI check to AVX
4273 logic. Add respective logic for AVX512F.
4274 * testsuite/gas/i386/arch-avx-1.s: Add GFNI test.
4275 testsuite/gas/i386/arch-avx-1.d,
4276 testsuite/gas/i386/arch-avx-1-1.l,
4277 testsuite/gas/i386/arch-avx-1-2.l,
4278 testsuite/gas/i386/arch-avx-1-3.l,
4279 testsuite/gas/i386/arch-avx-1-4.l,
4280 testsuite/gas/i386/arch-avx-1-5.l,
4281 testsuite/gas/i386/arch-avx-1-6.l: Adjust expectations.
4282 * testsuite/gas/i386/arch-avx-1-7.l,
4283 testsuite/gas/i386/arch-avx-1-7.s,
4284 testsuite/gas/i386/arch-avx-1-8.l,
4285 testsuite/gas/i386/arch-avx-1-8.s,
4286 testsuite/gas/i386/avx512f-plain.l,
4287 testsuite/gas/i386/avx512f-plain.s,
4288 testsuite/gas/i386/avx512vl-plain.l,
4289 testsuite/gas/i386/avx512vl-plain.s: New.
4290 * testsuite/gas/i386/i386.exp: Run new tests.
4291
ab592e75
JB
42922018-03-08 Jan Beulich <jbeulich@suse.com>
4293
4294 * config/tc-i386.c (cpu_flags_match): Move AVX512VL check ahead.
4295
db12e14e
JB
42962018-03-08 Jan Beulich <jbeulich@suse.com>
4297
4298 * config/tc-i386.c (CPU_FLAGS_32BIT_MATCH): Delete.
4299 (cpu_flags_match): Use CPU_FLAGS_ARCH_MATCH instead of
4300 CPU_FLAGS_32BIT_MATCH.
4301
b9d49817
JB
43022018-03-08 Jan Beulich <jbeulich@suse.com>
4303
4304 * config/tc-i386.c (CPU_FLAGS_AES_MATCH, CPU_FLAGS_AVX_MATCH,
4305 CPU_FLAGS_PCLMUL_MATCH): Delete.
4306 (CPU_FLAGS_32BIT_MATCH): Drop uses of deleted CPU_FLAGS_*_MATCH.
4307 (cpu_flags_match): Combine AVX checks into
4308 single if().
4309
bcb1753e
JB
43102018-03-08 Jan Beulich <jbeulich@suse.com>
4311
4312 * config/tc-i386.c (cpu_flags_match): Drop "else" branches
4313 setting CPU_FLAGS_ARCH_MATCH.
4314
6e3e5c9e
JB
43152018-03-08 Jan Beulich <jbeulich@suse.com>
4316
4317 * config/tc-i386.c (md_assemble): Extend SSE check conditional.
4318 * testsuite/gas/i386/ilp32/x86-64-sse-check-none.d,
4319 testsuite/gas/i386/ilp32/x86-64-sse-check-warn.d,
4320 testsuite/gas/i386/ilp32/x86-64-sse-check.d,
4321 testsuite/gas/i386/sse-check-none.d,
4322 testsuite/gas/i386/sse-check-warn.d,
4323 testsuite/gas/i386/x86-64-sse-check.d,
4324 testsuite/gas/i386/x86-64-sse-check-none.d,
4325 testsuite/gas/i386/x86-64-sse-check-warn.d: Refer to sse-check.d.
4326 * testsuite/gas/i386/sse-check.s: Add AES, GFNI, and PCLMUL
4327 tests.
4328 * testsuite/gas/i386/sse-check-none.s: Replace code by inclusion
4329 of sse-check.s.
4330 * testsuite/gas/i386/sse-check.d: Adjust expectations.
4331 * testsuite/gas/i386/sse-check-error.l,
4332 testsuite/gas/i386/x86-64-sse-check-error.l: Likewise.
4333 * testsuite/gas/i386/sse-check-warn.e: Likewise.
4334
38e314eb
JB
43352018-03-08 Jan Beulich <jbeulich@suse.com>
4336
4337 * config/tc-i386.c (operand_size_match): Drop / replace uses of
4338 .floatd.
4339
d53e6b98
JB
43402018-03-08 Jan Beulich <jbeulich@suse.com>
4341
4342 * testsuite/gas/i386/intel-intel.d: New.
4343 * testsuite/gas/i386/i386.exp: Run new test.
4344
a477a8c4
JB
43452018-03-08 Jan Beulich <jbeulich@suse.com>
4346
4347 * config/tc-i386.c (process_operands): Access operands only
4348 after operand count assertion. Sanitize warning text. Fix
4349 indentation.
4350 * testsuite/gas/i386/avx512_4fmaps-warn.l,
4351 gas/i386/x86-64-avx512_4fmaps-warn.l: Adjust expectations.
4352
2907c2f5
JB
43532018-03-08 Jan Beulich <jbeulich@suse.com>
4354
4355 * testsuite/gas/i386/x86-64-movd.s: Drop bogus vmovd memory forms.
4356 * testsuite/gas/i386/x86-64-movd.d,
4357 testsuite/gas/i386/x86-64-movd-intel.d: Adjust expectations.
4358
73053c1f
JB
43592018-03-08 Jan Beulich <jbeulich@suse.com>
4360
4361 * config/tc-i386.c (operand_type_and_not): New.
4362 (build_modrm_byte): Use it to prevent clearing unrelated bits.
4363
6a7524c6
AM
43642018-03-08 Alan Modra <amodra@gmail.com>
4365
4366 * config/tc-ppc.c (ppc_handle_align): Correct last patch. Really
4367 don't emit a group terminating nop for power9. Simplify cpu
4368 tests.
4369
3fea0c3b
AM
43702018-03-08 Alan Modra <amodra@gmail.com>
4371
4372 * config/tc-ppc.c (ppc_handle_align): Don't emit a group
4373 terminating nop for power9.
4374
3ae729d5
L
43752018-03-07 H.J. Lu <hongjiu.lu@intel.com>
4376
4377 PR gas/22874
4378 * config/tc-i386.c (f32_5): Removed.
4379 (f32_8): Likewise.
4380 (f32_9): Likewise.
4381 (f32_10): Likewise.
4382 (f32_11): Likewise.
4383 (f32_12): Likewise.
4384 (f32_13): Likewise.
4385 (f32_14): Likewise.
4386 (f16_5): Likewise.
4387 (f16_6): Likewise.
4388 (f16_7): Likewise.
4389 (f16_8): Likewise.
4390 (jump_31): Likewise.
4391 (alt64_11): Likewise.
4392 (alt64_patt): Likewise.
4393 (jump_disp8): New.
4394 (jump32_disp32): Likewise.
4395 (jump16_disp32): Likewise.
4396 (alt_11): Likewise.
4397 (f32_patt): Updated.
4398 (f16_patt): Likewise.
4399 (alt_patt): Add alt_11.
4400 (i386_align_code): Merged with ...
4401 (i386_generate_nops): This. Rewritten.
4402 (fits_in_imm7): Moved before i386_generate_nops.
4403 (fits_in_imm31): Likewise.
4404 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Updated to
4405 4095.
4406 (i386_align_code): Removed.
4407 (HANDLE_ALIGN): Rewritten with i386_generate_nops.
4408 * doc/as.texinfo: Update limits of control byte for x86 .nops
4409 directive.
4410 * testsuite/gas/i386/i386.exp: Run nops-7 and x86-64-nops-7.
4411 * gas/testsuite/gas/i386/noavx-3.l: Updated.
4412 * gas/testsuite/gas/i386/nop-1.d: Likewise.
4413 * gas/testsuite/gas/i386/nop-1.s: Likewise.
4414 * gas/testsuite/gas/i386/nop-2.d: Likewise.
4415 * gas/testsuite/gas/i386/nop-2.s: Likewise.
4416 * gas/testsuite/gas/i386/nop-3.d: Likewise.
4417 * gas/testsuite/gas/i386/nop-4.d: Likewise.
4418 * gas/testsuite/gas/i386/nop-5.d: Likewise.
4419 * gas/testsuite/gas/i386/nop-5.s: Likewise.
4420 * gas/testsuite/gas/i386/nop-6.d: Likewise.
4421 * gas/testsuite/gas/i386/nop-bad-1.l: Likewise.
4422 * gas/testsuite/gas/i386/nops-1-core2.d: Likewise.
4423 * gas/testsuite/gas/i386/nops-1-i386-i686.d: Likewise.
4424 * gas/testsuite/gas/i386/nops-1-i386.d: Likewise.
4425 * gas/testsuite/gas/i386/nops-1-i686.d: Likewise.
4426 * gas/testsuite/gas/i386/nops-1-k8.d: Likewise.
4427 * gas/testsuite/gas/i386/nops-1.d: Likewise.
4428 * gas/testsuite/gas/i386/nops-2-core2.d: Likewise.
4429 * gas/testsuite/gas/i386/nops-2-i386.d: Likewise.
4430 * gas/testsuite/gas/i386/nops-2.d: Likewise.
4431 * gas/testsuite/gas/i386/nops-3-i386.d: Likewise.
4432 * gas/testsuite/gas/i386/nops-3-i686.d: Likewise.
4433 * gas/testsuite/gas/i386/nops-3.d: Likewise.
4434 * gas/testsuite/gas/i386/nops-4-i386.d: Likewise.
4435 * gas/testsuite/gas/i386/nops-4-i686.d: Likewise.
4436 * gas/testsuite/gas/i386/nops-4.d: Likewise.
4437 * gas/testsuite/gas/i386/nops-4a-i686.d: Likewise.
4438 * gas/testsuite/gas/i386/nops-5-i686.d: Likewise.
4439 * gas/testsuite/gas/i386/nops-5.d: Likewise.
4440 * gas/testsuite/gas/i386/nops-6.d: Likewise.
4441 * gas/testsuite/gas/i386/nops16-1.d: Likewise.
4442 * gas/testsuite/gas/i386/x86-64-nop-1.d: Likewise.
4443 * gas/testsuite/gas/i386/x86-64-nop-2.d: Likewise.
4444 * gas/testsuite/gas/i386/x86-64-nop-5.d: Likewise.
4445 * gas/testsuite/gas/i386/x86-64-nops-1-core2.d: Likewise.
4446 * gas/testsuite/gas/i386/x86-64-nops-1-g64.d: Likewise.
4447 * gas/testsuite/gas/i386/x86-64-nops-1-k8.d: Likewise.
4448 * gas/testsuite/gas/i386/x86-64-nops-1-pentium.d: Likewise.
4449 * gas/testsuite/gas/i386/x86-64-nops-1.d: Likewise.
4450 * gas/testsuite/gas/i386/x86-64-nops-2.d: Likewise.
4451 * gas/testsuite/gas/i386/x86-64-nops-3.d: Likewise.
4452 * gas/testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise.
4453 * gas/testsuite/gas/i386/x86-64-nops-4-k8.d: Likewise.
4454 * gas/testsuite/gas/i386/x86-64-nops-4.d: Likewise.
4455 * gas/testsuite/gas/i386/x86-64-nops-5-k8.d: Likewise.
4456 * gas/testsuite/gas/i386/x86-64-nops-5.d: Likewise.
4457 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise.
4458 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise.
4459 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-pentium.d: Likewise.
4460 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1.d: Likewise.
4461 * gas/testsuite/gas/i386/ilp32/x86-64-nops-2.d: Likewise.
4462 * gas/testsuite/gas/i386/ilp32/x86-64-nops-3.d: Likewise.
4463 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
4464 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise.
4465 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4.d: Likewise.
4466 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
4467 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5.d: Likewise.
4468 * gas/testsuite/gas/i386/nops-7.d: New file.
4469 * gas/testsuite/gas/i386/nops-7.s: Likewise.
4470 * gas/testsuite/gas/i386/x86-64-nops-7.d: Likewise.
4471
52fe4420
AM
44722018-03-07 Alan Modra <amodra@gmail.com>
4473
4474 * testsuite/gas/ppc/aix.exp: Run for rs6000 too.
4475 * testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets.
4476 * testsuite/gas/ppc/machine.d: Don't run for PE targets.
4477
e7da50fa
TP
44782018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4479
4480 * config/tc-arm.c (md_begin): Add NULL pointer check before
4481 dereferencing march_ext_opt.
4482
4d354d8b
TP
44832018-03-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
4484
4485 * config/tc-arm.c (cpu_variant, arm_arch_used, thumb_arch_used,
4486 legacy_cpu, legacy_fpu, mcpu_cpu_opt, dyn_mcpu_ext_opt,
4487 mcpu_fpu_opt, march_cpu_opt, dyn_march_ext_opt, march_fpu_opt,
4488 mfpu_opt, object_arch, selected_cpu): Comment meaning of variables.
4489 (dyn_mcpu_ext_opt): Also rename into ...
4490 (mcpu_ext_opt): This.
4491 (dyn_march_ext_opt): Also rename into ...
4492 (march_ext_opt): This.
4493 (object_arch): Also rename into ...
4494 (selected_object_arch): This and make it a plain arm_feature_set
4495 structure.
4496 (selected_arch, selected_ext, selected_fpu): New static variables.
4497 (mark_feature_used): Fix comments, feature is marked as used iff it is
4498 currently allowed.
4499 (do_bx): Adapt to change in name and type of object_arch.
4500 (md_begin): Set selected_arch rather than mcpu_cpu_opt, selected_ext
4501 rather than dyn_mcpu_ext_opt and selected_fpu rather than mfpu_opt.
4502 Remove dead code to set default FPU if architecture version is greater
4503 than 5. Set all CPU bits of cpu_variant directly in autodection
4504 leaving mcpu_cpu_opt, selected_arch and selected_cpu unset.
4505 (arm_parse_extension): Take extension feature set pointer parameter by
4506 value rather than by pointer. Remove allocation code. Adapt code
4507 accordingly.
4508 (arm_parse_cpu): Adapt to variable renaming and changes in
4509 arm_parse_extension () signature.
4510 (arm_parse_arch): Likewise.
4511 (aeabi_set_public_attributes): Also set selected_arch and selected_ext
4512 in addition to selected_cpu. Set flags_arch and flags_ext from them
4513 instead of selected_cpu. Adapt to variables renaming and type change.
4514 (arm_md_post_relax): Adapt to variable renaming.
4515 (s_arm_cpu): Set selcted_cpu_cpu and selected_ext instead of
4516 mcpu_cpu_opt and dyn_mcpu_ext_opt. Set selected_cpu from them and
4517 cpu_variant from selected_cpu and selected_fpu.
4518 (s_arm_arch): Likewise.
4519 (s_arm_object_arch): Adapt to variable renaming.
4520 (s_arm_arch_extension): Use ARM_CPU_IS_ANY instead of checking feature
4521 set against arm_any. Check selected_arch rather than *mcpu_cpu_opt.
4522 Set selected_ext rather than *dyn_mcpu_ext_opt and remove allocation
4523 code.
4524 (s_arm_fpu): Set selected_fpu instead of mfpu_opt. Set all CPU feature
4525 bits if in autodetection mode.
4526
8305403a
L
45272018-03-01 H.J. Lu <hongjiu.lu@intel.com>
4528
4529 * config/tc-i386.c (optimize_encoding): Optimize AVX256 and
4530 AVX512 vpsub[bwdq] instructions.
4531 * testsuite/gas/i386/optimize-1.s: Add tests for AVX256 and
4532 AVX512 vpsub[bwdq] instructions.
4533 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
4534 * testsuite/gas/i386/optimize-1.d: Updated.
4535 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
4536
e184813f
AM
45372018-03-01 Alan Modra <amodra@gmail.com>
4538
4539 * configure.ac (ALL_LINGUAS): Add uk. Sort.
4540 * configure: Regenerate.
4541
8f065d3b
L
45422018-02-27 H.J. Lu <hongjiu.lu@intel.com>
4543
4544 * NEWS: Rename .nop to .nops.
4545 * doc/as.texinfo: Likewise.
4546 * read.c (potable): Add "nops". Remove "nop".
4547 (s_nop): Renamed to ...
4548 (s_nops): This.
4549 * read.h (s_nop): Renamed to ...
4550 (s_nops): This.
4551 * write.c (cvt_frag_to_fill): Rename .nop to .nops.
4552 (md_generate_nops): Likewise.
4553 (relax_segment): Likewise.
4554 * testsuite/gas/i386/nop-1.d: Updated.
4555 * testsuite/gas/i386/nop-1.s: Likewise.
4556 * testsuite/gas/i386/nop-2.d: Likewise.
4557 * testsuite/gas/i386/nop-2.s: Likewise.
4558 * testsuite/gas/i386/nop-3.d: Likewise.
4559 * testsuite/gas/i386/nop-3.s: Likewise.
4560 * testsuite/gas/i386/nop-4.d: Likewise.
4561 * testsuite/gas/i386/nop-4.s: Likewise.
4562 * testsuite/gas/i386/nop-5.d: Likewise.
4563 * testsuite/gas/i386/nop-5.s: Likewise.
4564 * testsuite/gas/i386/nop-6.d: Likewise.
4565 * testsuite/gas/i386/nop-6.s: Likewise.
4566 * testsuite/gas/i386/nop-bad-1.l: Likewise.
4567 * testsuite/gas/i386/nop-bad-1.s: Likewise.
4568 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
4569 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
4570 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
4571 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
4572 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
4573 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
4574
b6f8c7c4
L
45752018-02-27 H.J. Lu <hongjiu.lu@intel.com>
4576
4577 PR gas/22871
4578 * NEWS: Mention -O[2|s].
4579 * config/tc-i386.c (_i386_insn): Add no_optimize.
4580 (optimize): New.
4581 (optimize_for_space): Likewise.
4582 (fits_in_imm7): New function.
4583 (fits_in_imm31): Likewise.
4584 (optimize_encoding): Likewise.
4585 (md_assemble): Call optimize_encoding to optimize encoding.
4586 (parse_insn): Handle {nooptimize}.
4587 (md_shortopts): Append "O::".
4588 (md_parse_option): Handle -On.
4589 * doc/c-i386.texi: Document -O0, -O, -O1, -O2 and -Os as well
4590 as {nooptimize}.
4591 * testsuite/gas/cfi/cfi-x86_64.d: Pass -O0 to assembler.
4592 * testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d: Likewise.
4593 * testsuite/gas/i386/i386.exp: Run optimize-1, optimize-2,
4594 optimize-3, x86-64-optimize-1, x86-64-optimize-2,
4595 x86-64-optimize-3 and x86-64-optimize-4.
4596 * testsuite/gas/i386/optimize-1.d: New file.
4597 * testsuite/gas/i386/optimize-1.s: Likewise.
4598 * testsuite/gas/i386/optimize-2.d: Likewise.
4599 * testsuite/gas/i386/optimize-2.s: Likewise.
4600 * testsuite/gas/i386/optimize-3.d: Likewise.
4601 * testsuite/gas/i386/optimize-3.s: Likewise.
4602 * testsuite/gas/i386/x86-64-optimize-1.s: Likewise.
4603 * testsuite/gas/i386/x86-64-optimize-1.d: Likewise.
4604 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
4605 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
4606 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
4607 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
4608 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
4609 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
4610
bc7c0509
NC
46112018-02-27 Nick Clifton <nickc@redhat.com>
4612
4613 * po/ru.po: Updated Russian translation.
4614
d7c79856
MR
46152018-02-26 Maciej W. Rozycki <macro@mips.com>
4616
4617 * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds'
4618 descriptions.
4619
46c685ac
NC
46202018-02-26 Nick Clifton <nickc@redhat.com>
4621
4622 * doc/as.texinfo (Dc): Fix typo.
4623
2c1c9679 46242018-02-26 Alan Modra <amodra@gmail.com>
6e05870c
AM
4625
4626 * testsuite/gas/mips/reginfo-2.l: Update.
4627
46282018-02-23 Alan Modra <amodra@gmail.com>
2c1c9679
AM
4629
4630 * testsuite/gas/mips/reginfo-2.l: Update.
4631
340d33e5
NC
46322018-02-23 Nick Clifton <nickc@redhat.com>
4633
4634 * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds.
4635
e859f655
KLC
46362018-02-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
4637
4638 * config/tc-nds32.c (ict_model): New function. Hook new
4639 directive .ict_model.
4640 (nds32_insert_relax_entry): Tag the bits of entry relocation
4641 for .ict_model.
4642
6b6b6807
L
46432018-02-22 H.J. Lu <hongjiu.lu@intel.com>
4644
4645 * config/tc-i386.c (_i386_insn): Add rex_encoding.
4646 (md_assemble): When i.rex_encoding is true, generate a REX byte
4647 if possible.
4648 (parse_insn): Set i.rex_encoding for {rex}.
4649 * doc/c-i386.texi: Document {rex}.
4650 * testsuite/gas/i386/x86-64-pseudos.s: Add {rex} tests.
4651 * testsuite/gas/i386/x86-64-pseudos.d: Updated.
4652
39334a61
W
46532018-02-22 A. Wilcox <awilfox@adelielinux.org>
4654
4655 PR 22014
4656 * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the
4657 instruction size suffix.
4658
1f1e0a5d
MR
46592018-02-20 Maciej W. Rozycki <macro@mips.com>
4660
4661 * testsuite/gas/mips/mips16-branch-reloc-4.d: New test.
4662 * testsuite/gas/mips/mips16-branch-reloc-5.d: New test.
4663 * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source.
4664 * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source.
4665 * testsuite/gas/mips/mips.exp: Run the new tests.
4666
cd665a94
MF
46672018-02-20 Max Filippov <jcmvbkbc@gmail.com>
4668
4669 * config/tc-xtensa.c (struct litpool_frag): Add new field
4670 literal_count.
4671 (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS)
4672 (MAX_POOL_LITERALS): New macro definitions.
4673 (auto_litpool_limit): Initialize to 0.
4674 (md_parse_option): Set auto_litpool_limit in the presence of
4675 --auto-litpools option.
4676 (xtensa_maybe_create_literal_pool_frag): Zero-initialize
4677 literal_count field.
4678 (xg_find_litpool): New function. Make sure that found literal
4679 pool size is within the limit.
4680 (xtensa_move_literals): Extract literal pool search code into
4681 the new function.
4682 * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test.
4683 * testsuite/gas/xtensa/auto-litpools-2.d: New file.
4684 * testsuite/gas/xtensa/auto-litpools-2.s: New file.
4685 * testsuite/gas/xtensa/auto-litpools.d: Fix up changed
4686 addresses.
4687 * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
4688 that objdump doesn't get out of sync.
4689
8811c8f4
TP
46902018-02-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
4691
4692 * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
4693 also the same as -march.
4694
62a02d25
L
46952018-02-17 H.J. Lu <hongjiu.lu@intel.com>
4696
4697 * NEWS: Mention .nop directive.
4698 * as.h (_relax_state): Add rs_space_nop and rs_fill_nop.
4699 * read.c (potable): Add .nop.
4700 (s_nop): New function.
4701 * read.h (s_nop): New prototype.
4702 * write.c (cvt_frag_to_fill): Handle rs_space_nop and
4703 rs_fill_nop.
4704 (md_generate_nops): New function.
4705 (relax_segment): Likewise.
4706 (write_contents): Use md_generate_nops for rs_fill_nop.
4707 * config/tc-i386.c (alt64_11): New.
4708 (alt64_patt): Likewise.
4709 (md_convert_frag): Handle rs_space_nop.
4710 (i386_output_nops): New function.
4711 (i386_generate_nops): Likewise.
4712 (i386_align_code): Call i386_output_nops.
4713 * config/tc-i386.h (i386_generate_nops): New.
4714 (md_generate_nops): Likewise.
4715 * doc/as.texinfo: Document .nop directive.
4716 * testsuite/gas/i386/i386.exp: Run .nop directive tests.
4717 * testsuite/gas/i386/nop-1.d: New file.
4718 * testsuite/gas/i386/nop-1.s: Likewise.
4719 * testsuite/gas/i386/nop-2.d: Likewise.
4720 * testsuite/gas/i386/nop-2.s: Likewise.
4721 * testsuite/gas/i386/nop-3.d: Likewise.
4722 * testsuite/gas/i386/nop-3.s: Likewise.
4723 * testsuite/gas/i386/nop-4.d: Likewise.
4724 * testsuite/gas/i386/nop-4.s: Likewise.
4725 * testsuite/gas/i386/nop-5.d: Likewise.
4726 * testsuite/gas/i386/nop-5.s: Likewise.
4727 * testsuite/gas/i386/nop-6.d: Likewise.
4728 * testsuite/gas/i386/nop-6.s: Likewise.
4729 * testsuite/gas/i386/nop-bad-1.l: Likewise.
4730 * testsuite/gas/i386/nop-bad-1.s: Likewise.
4731 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
4732 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
4733 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
4734 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
4735 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
4736 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
4737
49ded53d
TC
47382018-02-15 Tamar Christina <tamar.christina@arm.com>
4739
4740 * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
4741 * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
4742
db5d5ad1
MF
47432018-02-13 Max Filippov <jcmvbkbc@gmail.com>
4744
4745 * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
4746 frag that contains source address.
4747
db7bf105
NC
47482018-02-13 Nick Clifton <nickc@redhat.com>
4749
4750 PR 22773
4751 * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
4752 instruction before assuming that it is a MOV instruction.
4753 * testsuite/gas/arm/pr22773.s: New test.
4754 * testsuite/gas/arm/pr22773.d: New test driver.
4755 * testsuite/gas/arm/pr22773.l: New expected output.
4756
bd7ab16b
L
47572018-02-13 H.J. Lu <hongjiu.lu@intel.com>
4758
4759 PR gas/22791
4760 * config/tc-i386.c (need_plt32_p): New function.
4761 (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
4762 (md_estimate_size_before_relax): Likewise.
4763 * testsuite/gas/i386/reloc64.d: Updated.
4764 * testsuite/gas/i386/x86-64-jump.d: Likewise.
4765 * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
4766 * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
4767 * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
4768 * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
4769 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
4770 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
4771
30147392
MR
47722018-02-13 Maciej W. Rozycki <macro@mips.com>
4773
4774 * testsuite/gas/mips/loongson-3a-2.d: Rename test.
4775
68d20676
NC
47762018-02-13 Nick Clifton <nickc@redhat.com>
4777
4778 PR 22823
4779 * config/obj-elf.c (elf_pseudo_table): Remove now redundant
4780 casts.
4781 (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit.
4782 (obj_elf_vtable_inherit): New stub function that calls
4783 obj_elf_get_vtable_inherit.
4784 (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry.
4785 (obj_elf_vtable_entry): New stub function that calls
4786 obj_elf_get_vtable_entry.
4787 * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype.
4788 (obj_elf_vtable_entry) Likewise.
4789 (obj_elf_get_vtable_inherit) Likewise.
4790 (obj_elf_get_vtable_entry) Likewise.
4791 * config/tc-arm.c (md_pseudo_table): Remove now redundant cast.
4792 * config/tc-i386c (md_pseudo_table): Likewise.
4793 * config/tc-hppa.c (pa_vtable_entry): Call
4794 obj_elf_get_vtable_entry.
4795 (pa_vtable_inherit): Call obj_elf_get_vtable_inherit.
4796 * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file
4797 with call to dwarf2_get_filename.
4798 * dwarf2dbg.c (dwarf2_directive_file): Rename to
4799 dwarf2_directive_filename.
4800 (dwarf2_directive_file): New stub function that calls
4801 dwarf2_directive_filename.
4802 * dwarf2dbg.h: Prototype dwarf2_directive_filename.
4803
12a43565
MR
48042018-02-12 Maciej W. Rozycki <macro@mips.com>
4805
4806 * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
4807 `as' flags.
4808
d2159fdc
HW
48092018-02-12 Henry Wong <henry@stuffedcow.net>
4810
4811 * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix.
4812 * testsuite/gas/mips/r6-n32.d: Likewise.
4813 * testsuite/gas/mips/r6-n64.d: Likewise.
4814
7e784da5
NC
48152018-02-12 Nick Clifton <nickc@redhat.com>
4816
4817 * po/ru.po: Updated Russian translation.
4818
a9479dc0
AM
48192018-02-08 Alan Modra <amodra@gmail.com>
4820
4821 PR 22819
4822 * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
4823 (ppc_frag_check): Likewise.
4824 * testsuite/gas/ppc/misalign.d,
4825 * testsuite/gas/ppc/misalign.l,
4826 * testsuite/gas/ppc/misalign.s: New test.
4827 * testsuite/gas/ppc/misalign2.d,
4828 * testsuite/gas/ppc/misalign2.s: New test.
4829 * testsuite/gas/ppc/ppc.exp: Run them.
4830
89424b1d
MR
48312018-02-05 Maciej W. Rozycki <macro@mips.com>
4832
4833 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
4834 `expr' parameter to `ep'.
4835
2d6dda71
MR
48362018-02-05 Maciej W. Rozycki <macro@mips.com>
4837
4838 * testsuite/gas/mips/reginfo-2.d: New test.
4839 * testsuite/gas/mips/reginfo-2-n32.d: New test.
4840 * testsuite/gas/mips/reginfo-2.l: New test stderr output.
4841 * testsuite/gas/mips/reginfo-2.s: New test source.
4842 * testsuite/gas/mips/mips.exp: Run the new tests.
4843
f174ef9f
NC
48442018-02-05 Nick Clifton <nickc@redhat.com>
4845
4846 * po/ru.po: Updated Russian translation.
4847
ab1fadc6
AM
48482018-01-31 Alan Modra <amodra@gmail.com>
4849
4850 PR 22714
4851 * app.c (last_char): New static var.
4852 (struct app_save): Add last_char field.
4853 (app_push, app_pop): Handle it.
4854 (do_scrub_chars): Use last_char in test for "\@". Set last_char.
4855
d85815e2
EB
48562018-01-29 Eric Botcazou <ebotcazou@adacore.com>
4857
4858 PR gas/22738
4859 * config/tc-sparc.h (sparc_mach): Declare.
4860 (TARGET_MACH): Define to above.
4861 * config/tc-sparc.c (sparc_mach): New function.
4862 (sparc_md_end): Minor tweak.
4863
c32b891a
NC
48642018-01-29 Nick Clifton <nickc@redhat.com>
4865
4866 * po/ru.po: Updated Russian translation.
4867
1e3f5548
MR
48682018-01-26 Maciej W. Rozycki <macro@mips.com>
4869
4870 * configure.tgt: Use generic emulation for `mips-*-windiss',
4871 overriding the blanket choice made for `*-*-windiss'.
4872
c00f0d7a
MR
48732018-01-26 Maciej W. Rozycki <macro@mips.com>
4874
4875 * configure.tgt: Use `mips-*-sysv4*' rather than
4876 `mips-*-sysv4*MP*'.
4877
32247401
RL
48782018-01-24 Renlin Li <renlin.li@arm.com>
4879
4880 * config/tc-aarch64.c (reloc_table): add entries for
4881 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
4882 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
4883 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
4884 BFD_RELOC_AARCH64_MOVW_PREL_G3.
4885 (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
4886 (md_apply_fix): Likewise
4887 * testsuite/gas/aarch64/prel_g0.s: New.
4888 * testsuite/gas/aarch64/prel_g0.d: New.
4889 * testsuite/gas/aarch64/prel_g0_nc.s: New.
4890 * testsuite/gas/aarch64/prel_g0_nc.d: New.
4891 * testsuite/gas/aarch64/prel_g1.s: New.
4892 * testsuite/gas/aarch64/prel_g1.d: New.
4893 * testsuite/gas/aarch64/prel_g1_nc.s: New.
4894 * testsuite/gas/aarch64/prel_g1_nc.d: New.
4895 * testsuite/gas/aarch64/prel_g2.s: New.
4896 * testsuite/gas/aarch64/prel_g2.d: New.
4897 * testsuite/gas/aarch64/prel_g2_nc.s: New.
4898 * testsuite/gas/aarch64/prel_g2_nc.d: New.
4899 * testsuite/gas/aarch64/prel_g3.s: New.
4900 * testsuite/gas/aarch64/prel_g3.d: New.
4901
0984958b
MR
49022018-01-23 Maciej W. Rozycki <macro@mips.com>
4903
4904 * configure.ac: Also set `mips_default_abi' to N32_ABI for
4905 `mips64*-ps2-elf*'.
4906 * configure: Regenerate.
4907
62fd0a98
MR
49082018-01-23 Maciej W. Rozycki <macro@mips.com>
4909
4910 * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
4911 enum value.
4912
be3a8dca
IT
49132018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4914
4915 * config/tc-i386.c (cpu_arch): Add .pconfig.
4916 * doc/c-i386.texi: Document .pconfig.
4917 * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
4918 * testsuite/gas/i386/pconfig-intel.d: New test.
4919 * testsuite/gas/i386/pconfig.d: Likewise.
4920 * testsuite/gas/i386/pconfig.s: Likewise.
4921 * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
4922 * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
4923 * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
4924
3233d7d0
IT
49252018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4926
4927 * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
4928 * doc/c-i386.texi: Document .wbnoinvd.
4929 * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
4930 * testsuite/gas/i386/wbnoinvd-intel.d: New test.
4931 * testsuite/gas/i386/wbnoinvd.d: Likewise.
4932 * testsuite/gas/i386/wbnoinvd.s: Likewise.
4933 * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
4934 * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
4935 * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
4936
b4f6242e
MR
49372018-01-23 Maciej W. Rozycki <macro@mips.com>
4938
4939 * config/tc-mips.c (md_show_usage): Correctly indicate the
4940 configuration-specific default ABI.
4941
f866b262
MR
49422018-01-23 Maciej W. Rozycki <macro@mips.com>
4943
4944 * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
4945 `-mno-mips16e2' options.
4946
75c80ee1
MR
49472018-01-22 Maciej W. Rozycki <macro@mips.com>
4948
4949 * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
4950 Correct syntax of the `.set nomips16e2' directive description.
4951
49da480f
OE
49522018-01-22 Oleg Endo <olegendo@gcc.gnu.org>
4953
4954 PR 22737
4955 * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
4956 * testsuite/gas/rx/pr22737.s: New test.
4957 * testsuite/gas/rx/pr22737.d: Likewise.
4958 * testsuite/gas/rx/rx.exp: Run the new test.
4959
a3ab6cb0
TP
49602018-01-19 Thomas Preud'homme <thomas.preudhomme@arm.com>
4961
4962 * config/tc-arm.c (ToC macro): Remove spurious comment.
4963 (ToU macro): Likewise.
4964
e925c834
JW
49652018-01-17 Jim Wilson <jimw@sifive.com>
4966
4967 * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
4968 (riscv_ip) <'z'>: New.
4969
d777820b
IT
49702018-01-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4971
4972 * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
4973 (cpu_noarch): Add noibt, noshstk.
4974 (parse_insn): Change cpucet to cpuibt.
4975 * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
4976 * testsuite/gas/i386/cet-ibt-inval.l: New test.
4977 * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
4978 * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
4979 * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
4980 * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
4981 * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
4982 * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
4983 * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
4984
f6efed01
NC
49852018-01-16 Nick Clifton <nickc@redhat.com>
4986
4987 * po/fr.po: Updated French translation.
4988
2721d702
JW
49892018-01-15 Jim Wilson <jimw@sifive.com>
4990
4991 * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
4992 * testsuite/gas/riscv/c-zero-imm.d: Likewise.
4993
cf3cf39d
TP
49942018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
4995
4996 * config/tc-arm.c (ToC): Define macro.
4997 (ToU): Likewise.
4998 (insns): Make use of above macros for new instructions introduced in
4999 Armv8-M.
5000
2875ce2b
TP
50012018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
5002
5003 * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
5004 and vlstm conditionally executable and reindent parameters.
5005 * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
5006 aforementionned instructions.
5007
df9909b8
TP
50082018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
5009
5010 * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
5011 profile architecture or if in autodetection mode. Clarify that
5012 deprecation is for performance reason and concerns Armv8-A and Armv8-R.
5013 * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
5014 message.
5015 * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
5016 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
5017 * testsuite/gas/arm/udf.l: Likewise.
5018 * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
5019
616dcb87
NC
50202018-01-15 Nick Clifton <nickc@redhat.com>
5021
5022 * po/uk.po: Updated Ukranian translation.
5023
3957a496
NC
50242018-01-13 Nick Clifton <nickc@redhat.com>
5025
5026 * po/gas.pot: Regenerated.
5027
769c7ea5
NC
50282018-01-13 Nick Clifton <nickc@redhat.com>
5029
5030 * configure: Regenerate.
5031
9176ac5b
NC
50322018-01-13 Nick Clifton <nickc@redhat.com>
5033
faf766e3 5034 2.30 branch created.
9176ac5b
NC
5035 * NEWS: Add marker for 2.30.
5036
b5b62006
GN
50372018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
5038
5039 * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
5040 define to 0 and 1. Remove a dangling reference to "AMD 29000"
5041 in a comment.
5042
888a89da
IT
50432018-01-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
5044
5045 * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
5046 * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
5047 * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
5048 * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
5049 * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
5050 * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
5051 * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
5052 * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
5053 tests.
5054 * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
5055 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
5056 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
5057 * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
5058 * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
5059 * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
5060 * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
5061 * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
5062
b90d5ba0
AM
50632018-01-11 Alan Modra <amodra@gmail.com>
5064
5065 * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
5066 positive "‘profile’ may be used uninitialized".
5067
cbda583a
JB
50682018-01-10 Jan Beulich <jbeulich@suse.com>
5069
5070 * testsuite/gas/i386/avx512_4fmaps.s,
5071 testsuite/gas/i386/avx512_4fmaps_vl.s,
5072 testsuite/gas/i386/x86-64-avx512_4fmaps.s,
5073 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
5074 Disp8 forms (and the transition happening at the right
5075 boundary).
5076 * testsuite/gas/i386/avx512_4fmaps.d,
5077 testsuite/gas/i386/avx512_4fmaps-intel.d,
5078 testsuite/gas/i386/avx512_4fmaps_vl.d,
5079 testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
5080 testsuite/gas/i386/x86-64-avx512_4fmaps.d,
5081 testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
5082 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
5083 testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
5084 expectations.
5085
c9e92278
JB
50862018-01-10 Jan Beulich <jbeulich@suse.com>
5087
5088 * testsuite/gas/i386/avx512bw.s,
5089 testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
5090 operands.
5091 * testsuite/gas/i386/avx512bw-intel.d,
5092 testsuite/gas/i386/avx512bw.d,
5093 testsuite/gas/i386/avx512bw_vl-intel.d.
5094 testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
5095
35fd2b2b
JW
50962018-01-09 Jim Wilson <jimw@sifive.com>
5097
5098 * testsuite/gas/riscv/auipc-x0.d: New.
5099 * testsuite/gas/riscv/auipc-x0.s: New.
5100
91d8b670
JG
51012018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
5102
5103 * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
5104 in Arm execution state, and Armv6T2 and above in Thumb execution
5105 state.
5106 * testsuite/gas/arm/csdb.s: New.
5107 * testsuite/gas/arm/csdb.d: New.
5108 * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
5109 * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
5110
be2e7d95
JG
51112018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
5112
5113 * testsuite/gas/aarch64/system.d: Update expected results to expect
5114 CSDB for hint 0x14.
5115
704a705d
L
51162018-01-08 H.J. Lu <hongjiu.lu@intel.com>
5117
5118 PR gas/22681
5119 * testsuite/gas/i386/i386.exp: Run x86-64-movd and
5120 x86-64-movd-intel.
5121 * testsuite/gas/i386/x86-64-movd-intel.d: New file.
5122 * testsuite/gas/i386/x86-64-movd.d: Likewise.
5123 * testsuite/gas/i386/x86-64-movd.s: Likewise.
5124
102e9361
NC
51252018-01-08 Nick Clifton <nickc@redhat.com>
5126
5127 PR 22553
5128 * doc/c-i386.texi (i386-Directives): Document the .largecomm
5129 directive.
5130
645a2c5b
JW
51312018-01-04 Jim Wilson <jimw@sifive.com>
5132
5133 * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
5134 * testsuite/gas/riscv/priv-reg.d: Likewise.
5135
219d1afa
AM
51362018-01-03 Alan Modra <amodra@gmail.com>
5137
5138 Update year range in copyright notice of all files.
5139
806ab1c0
NC
51402018-01-02 Nick Clifton <nickc@redhat.com>
5141
5142 PR 18119
5143 * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
5144 version of ARM MRS instruction.
5145
1e563868 5146For older changes see ChangeLog-2017
3499769a 5147\f
1e563868 5148Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
5149
5150Copying and distribution of this file, with or without modification,
5151are permitted in any medium without royalty provided the copyright
5152notice and this notice are preserved.
5153
5154Local Variables:
5155mode: change-log
5156left-margin: 8
5157fill-column: 74
5158version-control: never
5159End: