]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
Add -Wduplicated-cond
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
2ceb7719
PB
12018-05-07 Peter Bergner <bergner@vnet.ibm.com.com>
2
3 * config/tc-ppc.c (ppc_setup_opcodes) <powerpc_opcodes>: Rewrite code
4 to dump the entire opcode table.
5 (ppc_setup_opcodes) <spe2_opcodes>: Likewise.
6 (ppc_setup_opcodes) <vle_opcodes>: Likewise. Fix calculation of
7 opcode index.
8
fe5bc53b
L
92018-05-06 H.J. Lu <hongjiu.lu@intel.com>
10
11 * testsuite/gas/i386/xmmhi32.d: Also allow dir32 relocation.
12
57930ca9
L
132018-05-06 H.J. Lu <hongjiu.lu@intel.com>
14
15 * testsuite/gas/i386/avx512f-plain.s: Append ".p2align 4,0".
16 * testsuite/gas/i386/avx512vl-plain.s: Likewise.
17 * testsuite/gas/i386/bnd.s: Likewise.
18 * testsuite/gas/i386/stN.s: Likewise.
19 * testsuite/gas/i386/avx512f-plain.l: Updated.
20 * testsuite/gas/i386/avx512vl-plain.l: Likewise.
21 * testsuite/gas/i386/bnd.l: Likewise.
22 * testsuite/gas/i386/stN.l: Likewise.
23
602f1657
AM
242018-05-04 Alan Modra <amodra@gmail.com>
25
26 * config/obj-evax.c (shorten_identifier): Use memcpy in place
27 of strncpy.
28 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Ensure
29 segname and sectname fields are NUL terminated.
30
8e4bd992
NC
312018-05-01 Nick Clifton <nickc@redhat.com>
32
33 * po/es.po: Updated Spanish translation.
34
6d9dabbb
MR
352018-04-27 Maciej W. Rozycki <macro@mips.com>
36
37 * testsuite/lib/gas-defs.exp (run_dump_test): Use `match_target'
38 in place of `istarget' for matching with `target', `not-target',
39 `skip' and `not-skip' options.
40
0df8ad28
NC
412018-04-26 Nick Clifton <nickc@redhat.com>
42
43 * as.c (flag_generate_build_notes): New variable.
44 (show_usage): Add entry for --generate-missing-build-notes.
45 (parse_args): Parse --generate-missing-build-notes.
46 * as.h: Export flag_generate_build_notes.
47 * symbols.c (save_symbol_name): Ensure that the name parameter is
48 not NULL.
49 * write.c (create_obj_attrs_section): Reformat.
50 (create_note_reloc): New function - creates a relocation for a
51 field in a GNU Build attribute note.
52 (maybe_generate_build_notes): New function - created GNU Build
53 attribute notes if none are present in the output file.
54 (write_object_file): Call maybe_generate_build_notes.
55 * configure.ac (--enable-generate-build-notes): New option.
56 * NEWS: Announce the new feature.
57 * doc/as.textinfo: Document the new option.
58 * config.in: Regenerate.
59 * configure: Regenerate.
60
e2195274
JB
612018-04-26 Jan Beulich <jbeulich@suse.com>
62
63 * config/tc-i386.c (check_VecOperands): Add AVX512VL check. Set
64 .baseindex.
65 (match_template): Don't set suffix_check when Intel syntax and
66 broadcast. Make check_register a per-operand bitmap.
67
7a69eac3
JB
682018-04-26 Jan Beulich <jbeulich@suse.com>
69
70 * config/tc-i386.c (optimize_encoding): Check for zeroing
71 masking.
72 * testsuite/gas/i386/optimize-1.d,
73 testsuite/gas/i386/optimize-4.d,
74 testsuite/gas/i386/optimize-5.d,
75 testsuite/gas/i386/x86-64-optimize-2.d,
76 testsuite/gas/i386/x86-64-optimize-5.d,
77 testsuite/gas/i386/x86-64-optimize-6.d: Adjust expectations.
78
1d3f8286
JB
792018-04-26 Jan Beulich <jbeulich@suse.com>
80
81 * config/tc-i386.c (parse_real_register): Check .cpuvrex before
82 recording EVEX encoding. Don't check previously specified
83 encoding.
84 * testsuite/gas/i386/xmmhi32.s: Add {x,y,z}mm{16,24} cases.
0df8ad28 85 * testsuite/gas/i386/xmmhi32.d: Adjust expectations.
1d3f8286
JB
86 * testsuite/gas/i386/xmmhi64.s, testsuite/gas/i386/xmmhi64.d:
87 New.
88 * testsuite/gas/i386/i386.exp: Run new test.
89
59ef5df4
JB
902018-04-26 Jan Beulich <jbeulich@suse.com>
91
92 * testsuite/gas/i386/xsave.s: Add AVX, LWP, MPX, and PKU
93 dependency tests.
94 * testsuite/gas/i386/xsave.d,
95 testsuite/gas/i386/xsave-intel.d: Adjust expecations.
96
6e041cf4
JB
972018-04-26 Jan Beulich <jbeulich@suse.com>
98
99 * config/tc-i386.c (parse_real_register): Re-write {,x,y,z}mm
100 and mask register handling.
101 * testsuite/gas/i386/avx512f-ymm.s, testsuite/gas/i386/avx512f-ymm.d,
102 testsuite/gas/i386/xmmhi32.s, testsuite/gas/i386/xmmhi32.d: New.
103 * testsuite/gas/i386/i386.exp: Run new tests.
104
1adf7f56
JB
1052018-04-26 Jan Beulich <jbeulich@suse.com>
106
107 * config/tc-i386.c (parse_real_register): Check bnd<N>
108 registers.
109 * testsuite/gas/i386/bnd.s, testsuite/gas/i386/bnd.l: New.
110 * testsuite/gas/i386/i386.exp: Run new test.
111
0e0eea78
JB
1122018-04-26 Jan Beulich <jbeulich@suse.com>
113
114 * config/tc-i386.c (parse_real_register): Check FPU register
115 earlier.
116 * testsuite/gas/i386/fpu.s, testsuite/gas/i386/fpu.l,
117 testsuite/gas/i386/stN.s, testsuite/gas/i386/stN.l: New.
118 * testsuite/gas/i386/i386.exp: Run new tests.
119
bed3d976
JB
1202018-04-26 Jan Beulich <jbeulich@suse.com>
121
122 * config/tc-i386.c (build_modrm_byte): Use tabs for indentation.
123
48db9223
JB
1242018-04-26 Jan Beulich <jbeulich@suse.com>
125
126 * config/tc-i386.c (build_modrm_byte): Move and fold
127 source/reg_slot calculations.
128
2f1bada2
JB
1292018-04-26 Jan Beulich <jbeulich@suse.com>
130
131 * config/tc-i386.c (build_modrm_byte): Drop .veximmext uses.
132 Move part of the remaining assertion.
133
dcd7e323
JB
1342018-04-26 Jan Beulich <jbeulich@suse.com>
135
136 * config/tc-i386.c (build_modrm_byte): Extend assertion in
137 vex_3_sources handling to cover more cases.
138
6b8d3588
JB
1392018-04-26 Jan Beulich <jbeulich@suse.com>
140
141 * config/tc-i386.c (build_modrm_byte): Drop code dealing with
142 .veximmext and .immext set at the same time. Drop code dealing
143 with .cpufma when .vexsources == VEX3SOURCES.
144
5c5a4843
CL
1452018-04-25 Christophe Lyon <christophe.lyon@st.com>
146 Mickaël Guêné <mickael.guene@st.com>
147
148 * config/tc-arm.c (reloc_names): Add TLSGD_FDPIC, TLSLDM_FDPIC,
149 GOTTPOFF_FDIC relocations.
150 (md_apply_fix): Handle the new TLS FDPIC relocations.
151 (tc_gen_reloc): Likewise.
152 (arm_fix_adjustable): Likewise.
153
188fd7ae
CL
1542018-04-25 Christophe Lyon <christophe.lyon@st.com>
155 Mickaël Guêné <mickael.guene@st.com>
156
157 * config/tc-arm.c (reloc_names): Add gotfuncdesc, gotofffuncdesc,
158 funcdesc.
159 (md_apply_fix): Support the new relocations.
160 (tc_gen_reloc): Likewise.
161 * testsuite/gas/arm/reloc-fdpic.d: New.
162 * testsuite/gas/arm/reloc-fdpic.s: New.
163
18a20338
CL
1642018-04-25 Christophe Lyon <christophe.lyon@st.com>
165 Mickaël Guêné <mickael.guene@st.com>
166
167 * config/tc-arm.c (arm_fdpic): New.
168 (elf32_arm_target_format): Support FDPIC.
169 (OPTION_FDPIC): New.
170 (md_longopts): Support FDPIC.
171 (md_parse_option): Likewise.
172 (md_show_usage): Likewise.
173
10bba94b
TC
1742018-04-25 Tamar Christina <tamar.christina@arm.com>
175
176 * testsuite/gas/aarch64/rdma.s: Test for larger register numbers.
177 * testsuite/gas/aarch64/rdma.d: Update results.
178 * testsuite/gas/aarch64/rdma-directive.d: Likewise.
179
1e84581f
NC
1802018-04-25 Nick Clifton <nickc@redhat.com>
181
182 * po/es.po: Updated Spanish translation.
183
2ac93be7
AM
1842018-04-25 Alan Modra <amodra@gmail.com>
185
186 * Makefile.am: Remove arm-aout and arm-coff support.
187 * config/tc-arm.c: Likewise.
188 * config/tc-arm.h: Likewise.
189 * configure.tgt: Likewise.
190 * testsuite/gas/aarch64/codealign.d: Likewise.
191 * testsuite/gas/aarch64/mapping.d: Likewise.
192 * testsuite/gas/aarch64/mapping2.d: Likewise.
193 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: Likewise.
194 * testsuite/gas/arm/adds-thumb1-reloc-local.d: Likewise.
195 * testsuite/gas/arm/addsw-bad.d: Likewise.
196 * testsuite/gas/arm/align.d: Likewise.
197 * testsuite/gas/arm/align64.d: Likewise.
198 * testsuite/gas/arm/arch7.d: Likewise.
199 * testsuite/gas/arm/arch7a-mp.d: Likewise.
200 * testsuite/gas/arm/arch7em.d: Likewise.
201 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
202 * testsuite/gas/arm/arm-it-auto-2.d: Likewise.
203 * testsuite/gas/arm/arm-it-auto-3.d: Likewise.
204 * testsuite/gas/arm/arm-it-auto.d: Likewise.
205 * testsuite/gas/arm/arm-it-bad-2.d: Likewise.
206 * testsuite/gas/arm/arm-it.d: Likewise.
207 * testsuite/gas/arm/armv7e-m+fpv5-d16.d: Likewise.
208 * testsuite/gas/arm/armv7e-m+fpv5-sp-d16.d: Likewise.
209 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: Likewise.
210 * testsuite/gas/arm/armv8-2-fp16-scalar.d: Likewise.
211 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise.
212 * testsuite/gas/arm/armv8-2-fp16-simd.d: Likewise.
213 * testsuite/gas/arm/armv8-a+crypto.d: Likewise.
214 * testsuite/gas/arm/armv8-a+fp.d: Likewise.
215 * testsuite/gas/arm/armv8-a+ras.d: Likewise.
216 * testsuite/gas/arm/armv8-a+rdma-warning.d: Likewise.
217 * testsuite/gas/arm/armv8-a+rdma.d: Likewise.
218 * testsuite/gas/arm/armv8-a+simd.d: Likewise.
219 * testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise.
220 * testsuite/gas/arm/armv8-r+fp.d: Likewise.
221 * testsuite/gas/arm/armv8-r+simd.d: Likewise.
222 * testsuite/gas/arm/armv8-r-barrier-thumb.d: Likewise.
223 * testsuite/gas/arm/armv8_1-a+simd.d: Likewise.
224 * testsuite/gas/arm/armv8_2+rdma.d: Likewise.
225 * testsuite/gas/arm/armv8_2-a.d: Likewise.
226 * testsuite/gas/arm/armv8_3-a-fp.d: Likewise.
227 * testsuite/gas/arm/armv8_3-a-simd.d: Likewise.
228 * testsuite/gas/arm/armv8a-automatic-hlt.d: Likewise.
229 * testsuite/gas/arm/armv8a-automatic-lda.d: Likewise.
230 * testsuite/gas/arm/attr-syntax.d: Likewise.
231 * testsuite/gas/arm/automatic-bw.d: Likewise.
232 * testsuite/gas/arm/automatic-cbz.d: Likewise.
233 * testsuite/gas/arm/automatic-clrex.d: Likewise.
234 * testsuite/gas/arm/automatic-lda.d: Likewise.
235 * testsuite/gas/arm/automatic-ldaex.d: Likewise.
236 * testsuite/gas/arm/automatic-ldaexb.d: Likewise.
237 * testsuite/gas/arm/automatic-ldrex.d: Likewise.
238 * testsuite/gas/arm/automatic-ldrexd.d: Likewise.
239 * testsuite/gas/arm/automatic-movw.d: Likewise.
240 * testsuite/gas/arm/automatic-sdiv.d: Likewise.
241 * testsuite/gas/arm/automatic-strexb.d: Likewise.
242 * testsuite/gas/arm/barrier-bad-thumb.d: Likewise.
243 * testsuite/gas/arm/barrier-bad.d: Likewise.
244 * testsuite/gas/arm/barrier-thumb.d: Likewise.
245 * testsuite/gas/arm/barrier.d: Likewise.
246 * testsuite/gas/arm/bignum1.d: Likewise.
247 * testsuite/gas/arm/blx-bad.d: Likewise.
248 * testsuite/gas/arm/blx-bl-convert.d: Likewise.
249 * testsuite/gas/arm/blx-local.s: Likewise.
250 * testsuite/gas/arm/crc32-armv8-a-bad.d: Likewise.
251 * testsuite/gas/arm/crc32-armv8-a.d: Likewise.
252 * testsuite/gas/arm/crc32-armv8-r-bad.d: Likewise.
253 * testsuite/gas/arm/crc32-armv8-r.d: Likewise.
254 * testsuite/gas/arm/dis-data.d: Likewise.
255 * testsuite/gas/arm/dis-data2.d: Likewise.
256 * testsuite/gas/arm/dis-data3.d: Likewise.
257 * testsuite/gas/arm/eabi_attr_1.d: Likewise.
258 * testsuite/gas/arm/fp-save.d: Likewise.
259 * testsuite/gas/arm/group-reloc-alu-encoding-bad.d: Likewise.
260 * testsuite/gas/arm/group-reloc-alu-parsing-bad.d: Likewise.
261 * testsuite/gas/arm/group-reloc-alu.d: Likewise.
262 * testsuite/gas/arm/group-reloc-ldc-encoding-bad.d: Likewise.
263 * testsuite/gas/arm/group-reloc-ldc-parsing-bad.d: Likewise.
264 * testsuite/gas/arm/group-reloc-ldc.d: Likewise.
265 * testsuite/gas/arm/group-reloc-ldr-encoding-bad.d: Likewise.
266 * testsuite/gas/arm/group-reloc-ldr-parsing-bad.d: Likewise.
267 * testsuite/gas/arm/group-reloc-ldr.d: Likewise.
268 * testsuite/gas/arm/group-reloc-ldrs-encoding-bad.d: Likewise.
269 * testsuite/gas/arm/group-reloc-ldrs-parsing-bad.d: Likewise.
270 * testsuite/gas/arm/group-reloc-ldrs.d: Likewise.
271 * testsuite/gas/arm/insn-error-a.d: Likewise.
272 * testsuite/gas/arm/insn-error-t.d: Likewise.
273 * testsuite/gas/arm/inst-po-2.d: Likewise.
274 * testsuite/gas/arm/inst-po-3.d: Likewise.
275 * testsuite/gas/arm/inst-po-be.d: Likewise.
276 * testsuite/gas/arm/inst-po.d: Likewise.
277 * testsuite/gas/arm/ldconst.d: Likewise.
278 * testsuite/gas/arm/ldgesb-bad.d: Likewise.
279 * testsuite/gas/arm/ldgesh-bad.d: Likewise.
280 * testsuite/gas/arm/ldst-offset0.d: Likewise.
281 * testsuite/gas/arm/local_function.d: Likewise.
282 * testsuite/gas/arm/local_label_coff.d: Likewise.
283 * testsuite/gas/arm/local_label_elf.d: Likewise.
284 * testsuite/gas/arm/mapping.d: Likewise.
285 * testsuite/gas/arm/mapping2.d: Likewise.
286 * testsuite/gas/arm/mapping3.d: Likewise.
287 * testsuite/gas/arm/mapping4.d: Likewise.
288 * testsuite/gas/arm/mapshort-elf.d: Likewise.
289 * testsuite/gas/arm/mask_1-armv8-a.d: Likewise.
290 * testsuite/gas/arm/mask_1-armv8-r.d: Likewise.
291 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: Likewise.
292 * testsuite/gas/arm/movs-thumb1-reloc-local.d: Likewise.
293 * testsuite/gas/arm/movw-local.d: Likewise.
294 * testsuite/gas/arm/mrs-msr-thumb-v6t2.d: Likewise.
295 * testsuite/gas/arm/mrs-msr-thumb-v7-m.d: Likewise.
296 * testsuite/gas/arm/mrs-msr-thumb-v7e-m.d: Likewise.
297 * testsuite/gas/arm/msr-imm-bad.d: Likewise.
298 * testsuite/gas/arm/msr-reg-bad.d: Likewise.
299 * testsuite/gas/arm/msr-reg-thumb.d: Likewise.
300 * testsuite/gas/arm/nomapping.d: Likewise.
301 * testsuite/gas/arm/nops.d: Likewise.
302 * testsuite/gas/arm/pic.d: Likewise.
303 * testsuite/gas/arm/pinsn.d: Likewise.
304 * testsuite/gas/arm/plt-1.d: Likewise.
305 * testsuite/gas/arm/pr21458.d: Likewise.
306 * testsuite/gas/arm/pr9722.d: Likewise.
307 * testsuite/gas/arm/strex-t.d: Likewise.
308 * testsuite/gas/arm/t2-branch-global.d: Likewise.
309 * testsuite/gas/arm/target-reloc-1.d: Likewise.
310 * testsuite/gas/arm/thumb-b-bad.d: Likewise.
311 * testsuite/gas/arm/thumb-w-bad.d: Likewise.
312 * testsuite/gas/arm/thumb-w-good.d: Likewise.
313 * testsuite/gas/arm/thumb.d: Likewise.
314 * testsuite/gas/arm/thumb2_it.d: Likewise.
315 * testsuite/gas/arm/thumb2_it_auto.d: Likewise.
316 * testsuite/gas/arm/thumb2_it_search.d: Likewise.
317 * testsuite/gas/arm/thumb2_ldmstm.d: Likewise.
318 * testsuite/gas/arm/thumb2_ldr_immediate_armv6.d: Likewise.
319 * testsuite/gas/arm/thumb2_ldr_immediate_armv6t2.d: Likewise.
320 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Likewise.
321 * testsuite/gas/arm/thumb2_pool.d: Likewise.
322 * testsuite/gas/arm/thumb2_vpool.d: Likewise.
323 * testsuite/gas/arm/thumb2_vpool_be.d: Likewise.
324 * testsuite/gas/arm/thumb32.d: Likewise.
325 * testsuite/gas/arm/thumbver.d: Likewise.
326 * testsuite/gas/arm/tls.d: Likewise.
327 * testsuite/gas/arm/tls_vxworks.d: Likewise.
328 * testsuite/gas/arm/undefined.d: Likewise.
329 * testsuite/gas/arm/undefined_coff.d: Likewise.
330 * testsuite/gas/arm/unwind.d: Likewise.
331 * testsuite/gas/arm/v4bx.d: Likewise.
332 * testsuite/gas/arm/vcmp-noprefix-imm.d: Likewise.
333 * testsuite/gas/arm/vcvt-bad.d: Likewise.
334 * testsuite/gas/arm/vfma1.d: Likewise.
335 * testsuite/gas/arm/vldconst.d: Likewise.
336 * testsuite/gas/arm/vldconst_be.d: Likewise.
337 * testsuite/gas/arm/vldm-arm.d: Likewise.
338 * testsuite/gas/arm/vldr.d: Likewise.
339 * testsuite/gas/arm/weakdef-1.d: Likewise.
340 * testsuite/gas/arm/weakdef-2.d: Likewise.
341 * config/te-riscix.h: Delete.
342 * Makefile.in: Regenerate.
343 * po/POTFILES.in: Regenerate.
344
5a6312e8
AM
3452018-04-23 Alan Modra <amodra@gmail.com>
346
347 * stabs.c (generate_asm_file): Use memcpy rather than strncpy.
348 Remove call to strlen inside loop.
349 * config/tc-cr16.c (getreg_image): Warning fix.
350 * config/tc-crx.c (getreg_image): Warning fix.
351
71060565
JW
3522018-04-20 Kito Cheng <kito.cheng@gmail.com>
353
354 * config/tc-riscv.c (options): Add OPTION_RELAX and
355 OPTION_NO_RELAX.
356 (md_longopts): New option -mrelax and -mno-relax.
357 (md_parse_option): Handle -mrelax and -mno-relax.
358 * doc/c-riscv.texi: Document for -mrelax and -mno-relax.
359 * testsuite/gas/riscv/no-relax-reloc.d: New.
360 * testsuite/gas/riscv/no-relax-reloc.s: New.
361 * testsuite/gas/riscv/relax-reloc.d: New.
362 * testsuite/gas/riscv/relax-reloc.s: New.
363
1a1de166
NC
3642018-04-20 Nick Clifton <nickc@redhat.com>
365
366 * po/es.po: Updated Spanish translation.
367
c65c21e1
AM
3682018-04-18 Alan Modra <amodra@gmail.com>
369
370 * Makefile.am: Remove support for assorted i386 aout and coff targets.
371 * config/obj-elf.c: Likewise.
372 * config/tc-i386.h: Likewise.
373 * configure.ac: Likewise.
374 * configure.tgt: Likewise.
375 * config/te-dynix.h: Delete.
376 * config/te-i386aix.h: Delete.
377 * config/te-mach.h: Delete.
378 * Makefile.in: Regenerate.
379 * config.in: Regenerate.
380 * configure: Regenerate.
381 * po/POTFILES.in: Regenerate.
382
e2e4f0fd
AM
3832018-04-18 Alan Modra <amodra@gmail.com>
384
385 * configure.tgt: Remove *-*-bsd* entry.
386
884d4d8a 3872018-04-17 Andrew Sadek <andrew.sadek.se@gmail.com>
3f0a5f17
ME
388
389 Microblaze Target: PIC data text relative
390
391 * gas/config/tc-microblaze.c (Handle new relocs directives in
392 assembler): Handle new relocs from compiler output.
393 (imm_types): add new imm types for data text relative addressing
394 TEXT_OFFSET, TEXT_PC_OFFSET
395 (md_convert_frag): conversion for BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
396 BFD_RELOC_MICROBLAZE_64_TEXTPCREL
397 (md_apply_fix): apply fix for BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
398 BFD_RELOC_MICROBLAZE_64_TEXTPCREL
399 (md_estimate_size_before_relax): estimate size for
400 BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
401 BFD_RELOC_MICROBLAZE_64_TEXTPCREL
402 (tc_gen_reloc): generate relocations for
403 BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
404 BFD_RELOC_MICROBLAZE_64_TEXTPCREL
405
bdd7c8fc
IT
4062018-04-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
407
408 * testsuite/gas/i386/nops.s: Revert back deleted lines and
409 change encoding to 0x0f1c /1 to map to NOP.
410 * testsuite/gas/i386/x86-64-nops.s: Likewise.
411 * testsuite/gas/i386/nops.d: Likewise.
412 * testsuite/gas/i386/x86-64-nops.d: Likewise.
413 * testsuite/gas/i386/ilp32/x86-64-nops.d: Likewis.
414
c48935d7
IT
4152018-04-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
416
417 * config/tc-i386.c (cpu_arch): Add .cldemote.
418 * doc/c-i386.texi: Document cldemote/.cldemote.
419 * testsuite/gas/i386/cldemote-intel.d: New.
420 * testsuite/gas/i386/cldemote.d: Likewise.
421 * testsuite/gas/i386/cldemote.s: Likewise.
422 * testsuite/gas/i386/i386.exp: Run new tests.
423 * testsuite/gas/i386/x86-64-cldemote-intel.d: New.
424 * testsuite/gas/i386/x86-64-cldemote.d: Likewise.
425 * testsuite/gas/i386/x86-64-cldemote.s: Likewise.
426 * testsuite/gas/i386/ilp32/x86-64-nops.d: Remove 0x0f1c
427 NOP encoding that maps to cldemote.
428 * testsuite/gas/i386/nops.d: Likewise.
429 * testsuite/gas/i386/nops.s: Likewise.
430 * testsuite/gas/i386/x86-64-nops.d: Likewise.
431 * testsuite/gas/i386/x86-64-nops.s: Likewise.
432
c77852c8
NC
4332018-04-16 Nick Clifton <nickc@redhat.com>
434
435 PR 23054
436 * cond.c (s_ifsef): Replace use of obstack_copy with obstack_alloc
437 followed by memcpy.
438 (s_if, s_ifb, s_ifc, s_ifeqs): Likewise.
439 * obj-elf.c (elf_adjust_symtab): Check for local symbols before
440 attempting to dereference the sy_next field of a symbol.
441 * stabs.c (get_stab_string_offset): Fail if there is no string
442 following the stab directive.
443
ddb00039
AM
4442018-04-16 Alan Modra <amodra@gmail.com>
445
446 * Makefile.am: Remove arm-epoc-pe support.
447 * config/tc-arm.h: Likewise.
448 * configure.tgt: Likewise.
449 * testsuite/gas/all/gas.exp: Likewise.
450 * testsuite/gas/arm/local_label_coff.d: Likewise.
451 * testsuite/gas/arm/undefined.d: Likewise.
452 * testsuite/gas/arm/undefined_coff.d: Likewise.
453 * config/te-epoc-pe.h: Delete.
454 * Makefile.in: Regenerate.
455 * po/POTFILES.in: Regenerate.
456
c9098af4
AM
4572018-04-16 Alan Modra <amodra@gmail.com>
458
459 * Makefile.am: Remove sparc-aout and sparc-coff support.
460 * config/obj-coff.h: Likewise.
461 * config/tc-sparc.c: Likewise.
462 * config/tc-sparc.h: Likewise.
463 * configure.tgt: Likewise.
464 * config/te-sparcaout.h: Delete.
465 * testsuite/gas/sun4/addend.d: Delete.
466 * testsuite/gas/sun4/addend.exp: Delete.
467 * testsuite/gas/sun4/addend.s: Delete.
468 * Makefile.in: Regenerate.
469 * po/POTFILES.in: Regenerate.
470
dc12032b
AM
4712018-04-16 Alan Modra <amodra@gmail.com>
472
473 * Makefile.am: Remove m68k-aout and m68k-coff support.
474 * config/tc-m68k.c: Likewise.
475 * config/tc-m68k.h: Likewise.
476 * configure.ac: Likewise.
477 * configure.tgt: Likewise.
478 * testsuite/gas/all/weakref1u.d: Likewise.
479 * testsuite/gas/m68k/all.exp: Likewise.
480 * testsuite/gas/m68k/br-isaa.d: Likewise.
481 * testsuite/gas/m68k/br-isab.d: Likewise.
482 * testsuite/gas/m68k/br-isac.d: Likewise.
483 * config/te-psos.h: Delete.
484 * config/te-sun3.h: Delete.
485 * testsuite/gas/m68k-coff/gas.exp: Delete.
486 * testsuite/gas/m68k-coff/p2389.s: Delete.
487 * testsuite/gas/m68k-coff/p2389a.s: Delete.
488 * testsuite/gas/m68k-coff/p2430.s: Delete.
489 * testsuite/gas/m68k-coff/p2430a.s: Delete.
490 * testsuite/gas/m68k-coff/t1.s: Delete.
491 * testsuite/gas/m68k/p3041.d: Delete.
492 * testsuite/gas/m68k/p3041.s: Delete.
493 * testsuite/gas/m68k/p3041data.d: Delete.
494 * testsuite/gas/m68k/p3041data.s: Delete.
495 * testsuite/gas/m68k/p3041pcrel.d: Delete.
496 * testsuite/gas/m68k/p3041pcrel.s: Delete.
497 * testsuite/gas/m68k/t2.d: Delete.
498 * Makefile.in: Regenerate.
499 * config.in: Regenerate.
500 * configure: Regenerate.
501 * po/POTFILES.in: Regenerate.
502
211dc24b
AM
5032018-04-16 Alan Modra <amodra@gmail.com>
504
505 * Makefile.am: Remove sh5 and sh64 support.
506 * config/tc-sh.c: Likewise.
507 * configure.tgt: Likewise.
508 * doc/Makefile.am: Likewise.
509 * doc/as.texinfo: Likewise.
510 * testsuite/gas/cfi/cfi.exp: Likewise.
511 * testsuite/gas/sh/basic.exp: Likewise.
512 * config/tc-sh64.c: Delete.
513 * config/tc-sh64.h: Delete.
514 * doc/c-sh64.texi: Delete.
515 * testsuite/gas/sh/sh64/abi-32.d: Delete.
516 * testsuite/gas/sh/sh64/abi-32.s: Delete.
517 * testsuite/gas/sh/sh64/abi-64.d: Delete.
518 * testsuite/gas/sh/sh64/abi-64.s: Delete.
519 * testsuite/gas/sh/sh64/basic-1.d: Delete.
520 * testsuite/gas/sh/sh64/basic-1.s: Delete.
521 * testsuite/gas/sh/sh64/case-1.d: Delete.
522 * testsuite/gas/sh/sh64/case-1.s: Delete.
523 * testsuite/gas/sh/sh64/case-noexp-1.d: Delete.
524 * testsuite/gas/sh/sh64/crange1-1.d: Delete.
525 * testsuite/gas/sh/sh64/crange1-2.d: Delete.
526 * testsuite/gas/sh/sh64/crange1.s: Delete.
527 * testsuite/gas/sh/sh64/crange2-1.d: Delete.
528 * testsuite/gas/sh/sh64/crange2-2.d: Delete.
529 * testsuite/gas/sh/sh64/crange2-noexp-1.d: Delete.
530 * testsuite/gas/sh/sh64/crange2.s: Delete.
531 * testsuite/gas/sh/sh64/crange3-1.d: Delete.
532 * testsuite/gas/sh/sh64/crange3.s: Delete.
533 * testsuite/gas/sh/sh64/crange4-1.d: Delete.
534 * testsuite/gas/sh/sh64/crange4.s: Delete.
535 * testsuite/gas/sh/sh64/crange5-1.d: Delete.
536 * testsuite/gas/sh/sh64/crange5.s: Delete.
537 * testsuite/gas/sh/sh64/creg-1.d: Delete.
538 * testsuite/gas/sh/sh64/creg-1.s: Delete.
539 * testsuite/gas/sh/sh64/creg-2.d: Delete.
540 * testsuite/gas/sh/sh64/creg-2.s: Delete.
541 * testsuite/gas/sh/sh64/datal-1.s: Delete.
542 * testsuite/gas/sh/sh64/datal-2.d: Delete.
543 * testsuite/gas/sh/sh64/datal-2.s: Delete.
544 * testsuite/gas/sh/sh64/datal-3.s: Delete.
545 * testsuite/gas/sh/sh64/datal32-1.d: Delete.
546 * testsuite/gas/sh/sh64/datal32-3.d: Delete.
547 * testsuite/gas/sh/sh64/datal64-1.d: Delete.
548 * testsuite/gas/sh/sh64/datal64-3.d: Delete.
549 * testsuite/gas/sh/sh64/eh-1.d: Delete.
550 * testsuite/gas/sh/sh64/eh-1.s: Delete.
551 * testsuite/gas/sh/sh64/endian-1.d: Delete.
552 * testsuite/gas/sh/sh64/endian-1.s: Delete.
553 * testsuite/gas/sh/sh64/endian-2.d: Delete.
554 * testsuite/gas/sh/sh64/endian-2.s: Delete.
555 * testsuite/gas/sh/sh64/err-1.s: Delete.
556 * testsuite/gas/sh/sh64/err-2.s: Delete.
557 * testsuite/gas/sh/sh64/err-3.s: Delete.
558 * testsuite/gas/sh/sh64/err-4.s: Delete.
559 * testsuite/gas/sh/sh64/err-abi-32.s: Delete.
560 * testsuite/gas/sh/sh64/err-abi-64.s: Delete.
561 * testsuite/gas/sh/sh64/err-dsp.s: Delete.
562 * testsuite/gas/sh/sh64/err-movi-noexp-1.s: Delete.
563 * testsuite/gas/sh/sh64/err-noexp-cmd1.s: Delete.
564 * testsuite/gas/sh/sh64/err-pt-1.s: Delete.
565 * testsuite/gas/sh/sh64/err-pt32-cmd1.s: Delete.
566 * testsuite/gas/sh/sh64/err-pt32-cmd2.s: Delete.
567 * testsuite/gas/sh/sh64/err-pt32-cmd3.s: Delete.
568 * testsuite/gas/sh/sh64/err-ptb-1.s: Delete.
569 * testsuite/gas/sh/sh64/err-ptb-2.s: Delete.
570 * testsuite/gas/sh/sh64/err.exp: Delete.
571 * testsuite/gas/sh/sh64/immexpr1.s: Delete.
572 * testsuite/gas/sh/sh64/immexpr2.s: Delete.
573 * testsuite/gas/sh/sh64/immexpr32-1.d: Delete.
574 * testsuite/gas/sh/sh64/immexpr32-2.d: Delete.
575 * testsuite/gas/sh/sh64/immexpr64-1.d: Delete.
576 * testsuite/gas/sh/sh64/immexpr64-2.d: Delete.
577 * testsuite/gas/sh/sh64/lineno.d: Delete.
578 * testsuite/gas/sh/sh64/lineno.s: Delete.
579 * testsuite/gas/sh/sh64/localcom-1.d: Delete.
580 * testsuite/gas/sh/sh64/localcom-1.s: Delete.
581 * testsuite/gas/sh/sh64/mix-1.d: Delete.
582 * testsuite/gas/sh/sh64/mix-1.s: Delete.
583 * testsuite/gas/sh/sh64/mix-noexp-1.d: Delete.
584 * testsuite/gas/sh/sh64/movi-1.s: Delete.
585 * testsuite/gas/sh/sh64/movi-2.s: Delete.
586 * testsuite/gas/sh/sh64/movi-3.d: Delete.
587 * testsuite/gas/sh/sh64/movi-3.s: Delete.
588 * testsuite/gas/sh/sh64/movi32-1.d: Delete.
589 * testsuite/gas/sh/sh64/movi32-2.d: Delete.
590 * testsuite/gas/sh/sh64/movi32-noexp-2.d: Delete.
591 * testsuite/gas/sh/sh64/movi64-1.d: Delete.
592 * testsuite/gas/sh/sh64/movi64-2.d: Delete.
593 * testsuite/gas/sh/sh64/movi64-2.s: Delete.
594 * testsuite/gas/sh/sh64/movi64-3.d: Delete.
595 * testsuite/gas/sh/sh64/movi64-noexp-2.d: Delete.
596 * testsuite/gas/sh/sh64/pt-1.d: Delete.
597 * testsuite/gas/sh/sh64/pt-1.s: Delete.
598 * testsuite/gas/sh/sh64/pt-2.s: Delete.
599 * testsuite/gas/sh/sh64/pt-noexp-1.d: Delete.
600 * testsuite/gas/sh/sh64/pt32-1.d: Delete.
601 * testsuite/gas/sh/sh64/pt32-noexp-2.d: Delete.
602 * testsuite/gas/sh/sh64/pt64-1.d: Delete.
603 * testsuite/gas/sh/sh64/pt64-32-1.d: Delete.
604 * testsuite/gas/sh/sh64/pt64-32-2.d: Delete.
605 * testsuite/gas/sh/sh64/pt64-noexp-2.d: Delete.
606 * testsuite/gas/sh/sh64/ptc-1.s: Delete.
607 * testsuite/gas/sh/sh64/ptc32-1.d: Delete.
608 * testsuite/gas/sh/sh64/ptc32-noexp-1.d: Delete.
609 * testsuite/gas/sh/sh64/ptc64-1.d: Delete.
610 * testsuite/gas/sh/sh64/ptc64-32-1.d: Delete.
611 * testsuite/gas/sh/sh64/ptc64-noexp-1.d: Delete.
612 * testsuite/gas/sh/sh64/ptext-1.s: Delete.
613 * testsuite/gas/sh/sh64/ptext32-1.d: Delete.
614 * testsuite/gas/sh/sh64/ptext32-noexp-1.d: Delete.
615 * testsuite/gas/sh/sh64/ptext64-1.d: Delete.
616 * testsuite/gas/sh/sh64/ptext64-32-1.d: Delete.
617 * testsuite/gas/sh/sh64/ptext64-noexp-1.d: Delete.
618 * testsuite/gas/sh/sh64/rel-1.s: Delete.
619 * testsuite/gas/sh/sh64/rel-2.s: Delete.
620 * testsuite/gas/sh/sh64/rel-3.s: Delete.
621 * testsuite/gas/sh/sh64/rel-4.s: Delete.
622 * testsuite/gas/sh/sh64/rel-5.s: Delete.
623 * testsuite/gas/sh/sh64/rel32-1.d: Delete.
624 * testsuite/gas/sh/sh64/rel32-2.d: Delete.
625 * testsuite/gas/sh/sh64/rel32-3.d: Delete.
626 * testsuite/gas/sh/sh64/rel32-4.d: Delete.
627 * testsuite/gas/sh/sh64/rel32-5.d: Delete.
628 * testsuite/gas/sh/sh64/rel64-1.d: Delete.
629 * testsuite/gas/sh/sh64/rel64-2.d: Delete.
630 * testsuite/gas/sh/sh64/rel64-3.d: Delete.
631 * testsuite/gas/sh/sh64/rel64-4.d: Delete.
632 * testsuite/gas/sh/sh64/rel64-5.d: Delete.
633 * testsuite/gas/sh/sh64/relax-1.d: Delete.
634 * testsuite/gas/sh/sh64/relax-1.s: Delete.
635 * testsuite/gas/sh/sh64/relax-2.d: Delete.
636 * testsuite/gas/sh/sh64/relax-2.s: Delete.
637 * testsuite/gas/sh/sh64/relax-3.d: Delete.
638 * testsuite/gas/sh/sh64/relax-3.s: Delete.
639 * testsuite/gas/sh/sh64/sh64.exp: Delete.
640 * testsuite/gas/sh/sh64/shift-1.s: Delete.
641 * testsuite/gas/sh/sh64/shift-2.s: Delete.
642 * testsuite/gas/sh/sh64/shift-3.s: Delete.
643 * testsuite/gas/sh/sh64/shift32-1.d: Delete.
644 * testsuite/gas/sh/sh64/shift32-3.d: Delete.
645 * testsuite/gas/sh/sh64/shift32-noexp-3.d: Delete.
646 * testsuite/gas/sh/sh64/shift64-1.d: Delete.
647 * testsuite/gas/sh/sh64/shift64-2.d: Delete.
648 * testsuite/gas/sh/sh64/shift64-3.d: Delete.
649 * testsuite/gas/sh/sh64/shift64-noexp-3.d: Delete.
650 * testsuite/gas/sh/sh64/syntax-1.d: Delete.
651 * testsuite/gas/sh/sh64/syntax-1.s: Delete.
652 * testsuite/gas/sh/sh64/syntax-2.d: Delete.
653 * testsuite/gas/sh/sh64/syntax-2.s: Delete.
654 * testsuite/gas/sh/sh64/ua-1.s: Delete.
655 * testsuite/gas/sh/sh64/ua32-1.d: Delete.
656 * testsuite/gas/sh/sh64/ua64-1.d: Delete.
657 * Makefile.in: Regenerate.
658 * doc/Makefile.in: Regenerate.
659 * po/POTFILES.in: Regenerate.
660
4db9937a
AM
6612018-04-16 Alan Modra <amodra@gmail.com>
662
663 * config/tc-sh.c: Remove sh-symbianelf support.
664 * config/tc-sh.h: Likewise.
665 * configure.ac: Likewise.
666 * configure.tgt: Likewise.
667 * testsuite/gas/sh/reg-prefix.d: Likewise.
668 * testsuite/gas/sh/sh2a-pic.d: Likewise.
669 * config.in: Regenerate.
670 * configure: Regenerate.
671
c2bf1eec
AM
6722018-04-16 Alan Modra <amodra@gmail.com>
673
674 * configure.ac: Remove m88k support.
675 * config.in: Regenerate.
676 * configure: Regenerate.
677
6793974d
AM
6782018-04-16 Alan Modra <amodra@gmail.com>
679
680 * Makefile.am: Remove i370 support.
681 * app.c: Likewise.
682 * config/obj-elf.c: Likewise.
683 * configure.tgt: Likewise.
684 * doc/Makefile.am: Likewise.
685 * doc/as.texinfo: Likewise.
686 * testsuite/gas/all/gas.exp: Likewise.
687 * testsuite/gas/elf/warn-2.s: Likewise.
688 * testsuite/gas/lns/lns.exp: Likewise.
689 * config/tc-i370.c: Delete.
690 * config/tc-i370.h: Delete.
691 * doc/c-i370.texi: Delete.
692 * Makefile.in: Regenerate.
693 * doc/Makefile.in: Regenerate.
694 * po/POTFILES.in: Regenerate.
695
e82aa794
AM
6962018-04-16 Alan Modra <amodra@gmail.com>
697
698 * config/obj-coff.h: Remove h8500 support.
699
fe0bf0fd
AM
7002018-04-16 Alan Modra <amodra@gmail.com>
701
702 * config/obj-coff.h: Remove h8300-coff support.
703 * config/tc-h8300.c: Likewise.
704 * config/tc-h8300.h: Likewise.
705 * testsuite/gas/h8300/h8300.exp: Likewise.
706 * testsuite/gas/h8300/branch-coff.s: Delete.
707 * testsuite/gas/h8300/branchh-coff.s: Delete.
708 * testsuite/gas/h8300/branchs-coff.s: Delete.
709 * testsuite/gas/h8300/ffxx1-coff.d: Delete.
710 * testsuite/gas/h8300/ffxx1-coff.s: Delete.
711 * testsuite/gas/h8300/h8300-coff.exp: Delete.
712
fdef3943
AM
7132018-04-16 Alan Modra <amodra@gmail.com>
714
715 * app.c: Remove IEEE 695 support.
716 * symbols.c: Likewise.
717
b4b594e3
AM
7182018-04-16 Alan Modra <amodra@gmail.com>
719
720 * Makefile.am: Remove netware support.
721 * config/tc-i386.c: Likewise.
722 * configure.tgt: Likewise.
723 * config/te-netware.h: Delete.
724 * Makefile.in: Regenerate.
725 * po/POTFILES.in: Regenerate.
726
ae1d3843
L
7272018-04-15 H.J. Lu <hongjiu.lu@intel.com>
728
729 * testsuite/gas/i386/x86-64-waitpkg.s: Add 32-bit registers
730 tests for tpause and umwait.
731 * testsuite/gas/i386/x86-64-waitpkg-intel.d: Updated.
732 * testsuite/gas/i386/x86-64-waitpkg.d: Likewise.
733
67f846b5
JD
7342018-04-12 John Darrington <john@darrington.wattle.id.au>
735
736 * as.c (main): Fail if the output is the same as one of the input
737 files.
738 * testsuite/gas/all/gas.exp: Test the new feature.
739
73a05be2
NC
7402018-04-12 Nick Clifton <nickc@redhat.com>
741
742 * po/es.po: Updated Spanish translation.
743 * po/ru.po: Updated Russian translation.
744
de89d0a3
IT
7452018-04-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
746
747 * config/tc-i386.c (cpu_arch): Add WAITPKG.
748 (cpu_noarch): Likewise.
749 * doc/c-i386.texi: Document WAITPKG.
750 * i386/i386.exp: Run WAITPKG tests.
751 * testsuite/gas/i386/waitpkg-intel.d: New test.
752 * testsuite/gas/i386/waitpkg.d: Likewise.
753 * testsuite/gas/i386/waitpkg.s: Likewise.
754 * testsuite/gas/i386/x86-64-waitpkg-intel.d: Likewise.
755 * testsuite/gas/i386/x86-64-waitpkg.d: Likewise.
756 * testsuite/gas/i386/x86-64-waitpkg.s: Likewise.
757
a8eb42a8
AM
7582018-04-11 Alan Modra <amodra@gmail.com>
759
760 * config/aout_gnu.h: Delete.
761 * config/tc-i860.c: Delete.
762 * config/tc-i860.h: Delete.
763 * config/tc-i960.c: Delete.
764 * config/tc-i960.h: Delete.
765 * doc/c-i860.texi: Delete.
766 * doc/c-i960.texi: Delete.
767 * testsuite/gas/i860/README.i860: Delete.
768 * testsuite/gas/i860/bitwise.d: Delete.
769 * testsuite/gas/i860/bitwise.s: Delete.
770 * testsuite/gas/i860/branch.d: Delete.
771 * testsuite/gas/i860/branch.s: Delete.
772 * testsuite/gas/i860/bte.d: Delete.
773 * testsuite/gas/i860/bte.s: Delete.
774 * testsuite/gas/i860/dir-align01.d: Delete.
775 * testsuite/gas/i860/dir-align01.s: Delete.
776 * testsuite/gas/i860/dir-intel01.d: Delete.
777 * testsuite/gas/i860/dir-intel01.s: Delete.
778 * testsuite/gas/i860/dir-intel02.d: Delete.
779 * testsuite/gas/i860/dir-intel02.s: Delete.
780 * testsuite/gas/i860/dir-intel03-err.l: Delete.
781 * testsuite/gas/i860/dir-intel03-err.s: Delete.
782 * testsuite/gas/i860/dual01.d: Delete.
783 * testsuite/gas/i860/dual01.s: Delete.
784 * testsuite/gas/i860/dual02-err.l: Delete.
785 * testsuite/gas/i860/dual02-err.s: Delete.
786 * testsuite/gas/i860/dual03.d: Delete.
787 * testsuite/gas/i860/dual03.s: Delete.
788 * testsuite/gas/i860/fldst01.d: Delete.
789 * testsuite/gas/i860/fldst01.s: Delete.
790 * testsuite/gas/i860/fldst02.d: Delete.
791 * testsuite/gas/i860/fldst02.s: Delete.
792 * testsuite/gas/i860/fldst03.d: Delete.
793 * testsuite/gas/i860/fldst03.s: Delete.
794 * testsuite/gas/i860/fldst04.d: Delete.
795 * testsuite/gas/i860/fldst04.s: Delete.
796 * testsuite/gas/i860/fldst05.d: Delete.
797 * testsuite/gas/i860/fldst05.s: Delete.
798 * testsuite/gas/i860/fldst06.d: Delete.
799 * testsuite/gas/i860/fldst06.s: Delete.
800 * testsuite/gas/i860/fldst07.d: Delete.
801 * testsuite/gas/i860/fldst07.s: Delete.
802 * testsuite/gas/i860/fldst08.d: Delete.
803 * testsuite/gas/i860/fldst08.s: Delete.
804 * testsuite/gas/i860/float01.d: Delete.
805 * testsuite/gas/i860/float01.s: Delete.
806 * testsuite/gas/i860/float02.d: Delete.
807 * testsuite/gas/i860/float02.s: Delete.
808 * testsuite/gas/i860/float03.d: Delete.
809 * testsuite/gas/i860/float03.s: Delete.
810 * testsuite/gas/i860/float04.d: Delete.
811 * testsuite/gas/i860/float04.s: Delete.
812 * testsuite/gas/i860/form.d: Delete.
813 * testsuite/gas/i860/form.s: Delete.
814 * testsuite/gas/i860/i860.exp: Delete.
815 * testsuite/gas/i860/iarith.d: Delete.
816 * testsuite/gas/i860/iarith.s: Delete.
817 * testsuite/gas/i860/ldst01.d: Delete.
818 * testsuite/gas/i860/ldst01.s: Delete.
819 * testsuite/gas/i860/ldst02.d: Delete.
820 * testsuite/gas/i860/ldst02.s: Delete.
821 * testsuite/gas/i860/ldst03.d: Delete.
822 * testsuite/gas/i860/ldst03.s: Delete.
823 * testsuite/gas/i860/ldst04.d: Delete.
824 * testsuite/gas/i860/ldst04.s: Delete.
825 * testsuite/gas/i860/ldst05.d: Delete.
826 * testsuite/gas/i860/ldst05.s: Delete.
827 * testsuite/gas/i860/ldst06.d: Delete.
828 * testsuite/gas/i860/ldst06.s: Delete.
829 * testsuite/gas/i860/pfam.d: Delete.
830 * testsuite/gas/i860/pfam.s: Delete.
831 * testsuite/gas/i860/pfmam.d: Delete.
832 * testsuite/gas/i860/pfmam.s: Delete.
833 * testsuite/gas/i860/pfmsm.d: Delete.
834 * testsuite/gas/i860/pfmsm.s: Delete.
835 * testsuite/gas/i860/pfsm.d: Delete.
836 * testsuite/gas/i860/pfsm.s: Delete.
837 * testsuite/gas/i860/pseudo-ops01.d: Delete.
838 * testsuite/gas/i860/pseudo-ops01.s: Delete.
839 * testsuite/gas/i860/regress01.d: Delete.
840 * testsuite/gas/i860/regress01.s: Delete.
841 * testsuite/gas/i860/shift.d: Delete.
842 * testsuite/gas/i860/shift.s: Delete.
843 * testsuite/gas/i860/simd.d: Delete.
844 * testsuite/gas/i860/simd.s: Delete.
845 * testsuite/gas/i860/system.d: Delete.
846 * testsuite/gas/i860/system.s: Delete.
847 * testsuite/gas/i860/xp.d: Delete.
848 * testsuite/gas/i860/xp.s: Delete.
849 * Makefile.am: Remove i860 and i960 support.
850 * configure.tgt: Likewise.
851 * doc/Makefile.am: Likewise.
852 * doc/all.texi: Likewise.
853 * testsuite/gas/all/gas.exp
854 * config/obj-coff.h: Remove i960 support.
855 * doc/internals.texi: Likewise.
856 * expr.c: Likewise.
857 * read.c: Likewise.
858 * write.c: Likewise.
859 * write.h: Likewise.
860 * testsuite/gas/lns/lns.exp: Likewise.
861 * testsuite/gas/symver/symver.exp: Likewise.
862 * config/tc-m68k.c: Remove BOUT support.
863 * config/tc-score.c: Likewise.
864 * config/tc-score7.c: Likewise.
865 * config/tc-sparc.c: Likewise.
866 * symbols.c: Likewise.
867 * doc/h8.texi: Likewise.
868 * configure.ac: Remove BOUT and i860 support.
869 * doc/as.texinfo: Remove BOUT, i860 and i960 support
870 * Makefile.in: Regenerate.
871 * config.in: Regenerate.
872 * configure: Regenerate.
873 * doc/Makefile.in: Regenerate.
874 * po/POTFILES.in: Regenerate.
875
3cba8b6c
L
8762018-04-05 H.J. Lu <hongjiu.lu@intel.com>
877
878 PR gas/22318
879 * configure: Regenerated.
880
caf0678c
L
8812018-04-04 H.J. Lu <hongjiu.lu@intel.com>
882
883 PR binutils/23025
884 * testsuite/gas/i386/prefix.s: Add tests for vcvtpd2dq with
885 VEX and EVEX prefixes.
886 * testsuite/gas/i386/prefix.d: Updated.
887
f2ab4b42
PB
8882018-03-30 Peter Bergner <bergner@vnet.ibm.com>
889
890 PR binutils/23013
891 * config/tc-ppc.c (ppc_set_cpu): Select appropriate cpu when ppc_obj64
892 and little endian.
893
84f1b9fb
RL
8942018-03-28 Renlin Li <renlin.li@arm.com>
895
896 PR ld/22970
897 * config/tc-aarch64.c (reloc_table): Update entry for tprel_lo12 and
898 tprel_lo12_nc with pseudo relocations.
899 (ldst_lo12_determine_real_reloc_type): Add new relocations support.
900 (parse_operands): Handle BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12 and
901 BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC pseudo relocations.
902 (md_apply_fix): Add handling for new relocation.
903 (aarch64_force_relocation): Likewise.
904 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.d: New.
905 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.s: New.
906 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.d: New.
907 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.s: New.
908 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.d: New.
909 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.s: New.
910 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.d: New.
911 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.s: New.
912 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.d: New.
913 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.s: New.
914 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.d: New.
915 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.s: New.
916 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.d: New.
917 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.s: New.
918 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.d: New.
919 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.s: New.
920 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16-ilp32.d: New.
921 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32-ilp32.d: New.
922 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64-ilp32.d: New.
923 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8-ilp32.d: New.
924 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16-ilp32.d: New.
925 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32-ilp32.d: New.
926 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64-ilp32.d: New.
927 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8-ilp32.d: New.
928
c39e5b26
JB
9292018-03-28 Jan Beulich <jbeulich@suse.com>
930
931 * config/tc-i386.c (check_VecOperands): Replace uses of
932 .vecesize. Always initialize op.
933 * testsuite/gas/i386/avx512_vpopcntdq.s,
934 testsuite/gas/i386/avx512bitalg_vl.s: Add Intel syntax vpopcnt
935 broadcast cases with explicit operand size.
936 * testsuite/gas/i386/avx512_vpopcntdq.d,
937 testsuite/gas/i386/avx512_vpopcntdq-intel.d,
938 testsuite/gas/i386/avx512bitalg_vl.d
939 testsuite/gas/i386/avx512bitalg_vl-intel.d: Adjust expectations.
940
8e6e0792
JB
9412018-03-28 Jan Beulich <jbeulich@suse.com>
942
943 * config/tc-i386.c (struct Broadcast_Operation): Adjust comment.
944 (check_VecOperands): Re-write broadcast validation code.
945 (check_VecOperations): Replace BROADCAST_1TO* uses.
946 * testsuite/gas/i386/inval-avx512f.s: Add various broadcast
947 cases.
948 * testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
949
9f123b91
JB
9502018-03-28 Jan Beulich <jbeulich@suse.com>
951
952 * config/tc-i386.c (process_suffix): Check .todword/.toqword
953 before zapping suffix.
954
9646c87b
JB
9552018-03-28 Jan Beulich <jbeulich@suse.com>
956
957 * testsuite/gas/i386/ilp32/x86-64-simd-suffix.d,
958 testsuite/gas/i386/x86-64-simd-suffix.d: Drop q suffix from
959 cvt*2si.
960
c8d59609
NC
9612018-03-28 Nick Clifton <nickc@redhat.com>
962
963 PR 22988
964 * config/tc-aarch64.c (parse_operands): Add code to handle
965 AARCH64_OPN_SVE_ADDR_R.
966 * testsuite/gas/aarch64/sve.s: Add tests for LDFF1xx instructions
967 with an assumed XZR offset address register.
968 * testsuite/gas/aarch64/sve.d: Update expected disassembly.
969
32546502
JB
9702018-03-22 Jan Beulich <jbeulich@suse.com>
971
972 * config/tc-i386.c (check_VecOperands): Latch
973 i.broadcast->operand into op.
974
1212781b
JB
9752018-03-22 Jan Beulich <jbeulich@suse.com>
976
977 * config/tc-i386.c (match_template): Special case base opcode
978 0xa0 with HLE prefix.
979 * testsuite/gas/i386/hle.s: Add mov-accumulator-to-disp cases.
980 * testsuite/gas/i386/hle.d, testsuite/gas/i386/hle-intel.d:
981 Adjust expectations.
982
9f79e886
JB
9832018-03-22 Jan Beulich <jbeulich@suse.com>
984
985 * testsuite/gas/i386/opts.s: Add bndmov cases.
986 * testsuite/gas/i386/opts.d, testsuite/gas/i386/opts-intel.d,
987 testsuite/gas/i386/sse2avx-opts.d,
988 testsuite/gas/i386/sse2avx-opts-intel.d: Adjust expectations.
989
d6793fa1
JB
9902018-03-22 Jan Beulich <jbeulich@suse.com>
991
992 * config/tc-i386.c (match_mem_size): Extend sub-xmmword
993 exceptions.
994 * testsuite/gas/i386/xmmword.l, testsuite/gas/i386/xmmword.s:
995 New.
996 * testsuite/gas/i386/i386.exp: Run new test.
997
f7768225
JB
9982018-03-22 Jan Beulich <jbeulich@suse.com>
999
1000 * config/tc-i386.c (match_template): Also match 2nd and 4th
1001 operand's register sizes.
1002 * testsuite/gas/i386/unspec.l, testsuite/gas/i386/unspec.s: New.
1003 * testsuite/gas/i386/i386.exp: Run new test.
1004
315aa1cf
NC
10052018-03-19 Nick Clifton <nickc@redhat.com>
1006
1007 * po/uk.po: Updated Ukranian translation.
1008
ca2fd32c
JW
10092018-03-16 Jim Wilson <jimw@sifive.com>
1010
1011 * config/tc-riscv.c (check_absolute_expr): Expand comment. New
1012 parameter maybe_csr. If maybe_csr and O_symbol, print CSR name.
1013 (riscv_ip): Add new argument to check_absolute_expr calls.
1014 * testsuite/gas/riscv/bad-csr.d: New.
1015 * testsuite/gas/riscv/bad-csr.l: New.
1016 * testsuite/gas/riscv/bad-csr.s: New.
1017
0e35537d
JW
10182018-03-14 Kito Cheng <kito.cheng@gmail.com>
1019
1020 * config/tc-riscv.c (opcode_name_list): New.
1021 (opcode_names_hash): Likewise.
1022 (init_opcode_names_hash): Likewise.
1023 (opcode_name_lookup): Likewise.
1024 (validate_riscv_insn): New argument length, and add new format
1025 which used in .insn directive.
1026 (md_begin): Refine hash table initialization logic into
1027 init_opcode_hash.
1028 (init_opcode_hash): New.
1029 (my_getOpcodeExpression): Parse opcode name for .insn.
1030 (riscv_ip): New argument hash, able to handle .insn directive.
1031 (s_riscv_insn): Handler for .insn directive.
1032 (riscv_pseudo_table): New entry for .insn.
1033 * doc/c-riscv.texi: Add documentation for .insn directive.
1034 * testsuite/gas/riscv/insn.d: Add testcase for .insn directive.
1035 * testsuite/gas/riscv/insn.s: Likewise.
1036
b4a3689a
NC
10372018-03-13 Nick Clifton <nickc@redhat.com>
1038
1039 * po/ru.po: Updated Russian translation.
1040
80c34c38
L
10412018-03-09 H.J. Lu <hongjiu.lu@intel.com>
1042
1043 * config/tc-i386.c (optimize_encoding): Encode EVEX instructions
1044 with VEX128 if EVEX encoding isn't required.
1045 * testsuite/gas/i386/optimize-1.d: Updated.
1046 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1047
0ba3a731
L
10482018-03-09 H.J. Lu <hongjiu.lu@intel.com>
1049
1050 * config/tc-i386.c (check_VecOperations): Strip whitespace.
1051 * testsuite/gas/i386/optimize-1.s: Add whitespaces before
1052 {%k7} and {z},
1053 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
1054
0089dace
L
10552018-03-08 H.J. Lu <hongjiu.lu@intel.com>
1056
1057 * config/tc-i386.c (set_cpu_arch): Set cpu_arch_isa_flags.
1058 (md_parse_option): Likewise.
1059 (optimize_encoding): Check i.tm.cpu_flags and cpu_arch_isa_flags
1060 for cpuavx512vl instead of cpu_arch_flags. Optimize EVEX with
1061 EVEX128 when EVEX encoding is required.
1062 * testsuite/gas/i386/i386.exp: Run optimize-4, optimize-5,
1063 x86-64-optimize-5 and x86-64-optimize-6.
1064 * testsuite/gas/i386/optimize-1.d: Updated.
1065 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1066 * testsuite/gas/i386/optimize-4.d: New file.
1067 * testsuite/gas/i386/optimize-4.s: Likewise.
1068 * testsuite/gas/i386/optimize-5.d: Likewise.
1069 * testsuite/gas/i386/optimize-5.s: Likewise.
1070 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
1071 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
1072 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
1073 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
1074
d3d50934
L
10752018-03-08 H.J. Lu <hongjiu.lu@intel.com>
1076
1077 * config/tc-i386.c (optimize_encoding): Also encode "clr reg64"
1078 as "xor reg32, reg32".
1079 * testsuite/gas/i386/x86-64-optimize-1.s: Add "clr reg64" tests.
1080 * testsuite/gas/i386/x86-64-optimize-1.d: Updated.
1081
bd5dea88
L
10822018-03-08 H.J. Lu <hongjiu.lu@intel.com>
1083
1084 * NEWS: Mention -mold-gcc removal.
1085 * config/tc-i386.c (i386_error): Remove old_gcc_only.
1086 (old_gcc): Removed.
1087 (match_template): Remove old gcc support.
1088 (OPTION_MOLD_GCC): Removed.
1089 (OPTION_MRELAX_RELOCATIONS): Updated.
1090 (md_longopts): Remove OPTION_MOLD_GCC.
1091 (md_parse_option): Likewise.
1092 (md_show_usage): Remove -mold-gcc.
1093 * testsuite/gas/i386/general.s: Convert fsub/fdiv tests for old
1094 (<= 2.8.1) versions of gcc.
1095 * testsuite/gas/i386/intel.s: Likewise.
1096 * testsuite/gas/i386/general.l: Updated.
1097 * testsuite/gas/i386/intel-intel.d: Likewise.
1098 * testsuite/gas/i386/intel.d: Likewise.
1099 * testsuite/gas/i386/intel.e: Likewise.
1100 * testsuite/gas/i386/i386.exp: Don't pass -mold-gcc to general.
1101
e771e7c9
JB
11022018-03-08 Jan Beulich <jbeulich@suse.com>
1103
1104 * config/tc-i386.c (is_evex_encoding): New.
1105 (optimize_encoding, md_assemble, md_assemble,
1106 VEX_check_operands, build_modrm_byte): Use is_evex_encoding.
1107 (build_evex_prefix): Derive EVEX length field from actual
1108 operands if the template allows multiple ones.
1109
ed438a93
JB
11102018-03-08 Jan Beulich <jbeulich@suse.com>
1111
1112 * config/tc-i386.c (build_modrm_byte): Make VexNDD handling cope
1113 with 3rd (immediate) operand.
1114
d2224064
JB
11152018-03-08 Jan Beulich <jbeulich@suse.com>
1116
1117 * config/tc-i386.c (XMMWORD_MNEM_SUFFIX, YMMWORD_MNEM_SUFFIX,
1118 ZMMWORD_MNEM_SUFFIX): Delete.
1119 (process_suffix): Drop their uses. Re-arrange final part of
1120 logic into a switch() statement. Drop special casing of
1121 cmpxchg8b.
1122
23e42951
JB
11232018-03-08 Jan Beulich <jbeulich@suse.com>
1124
1125 * config/tc-i386.c (match_template): Also match register
1126 operands 0 and 2 for 3-operand forms.
1127 * testsuite/gas/i386/unspec64.l, testsuite/gas/i386/unspec64.s:
1128 New.
1129 * testsuite/gas/i386/i386.exp: Run new test.
1130
8819ada6
JB
11312018-03-08 Jan Beulich <jbeulich@suse.com>
1132
1133 * config/tc-i386.c (process_suffix): Do common part of register
1134 checks first.
1135
548d0ee6
JB
11362018-03-08 Jan Beulich <jbeulich@suse.com>
1137
1138 * config/tc-i386.c (parse_insn): Move success return up. Combine
1139 failure returns.
1140
929f69fa
JB
11412018-03-08 Jan Beulich <jbeulich@suse.com>
1142
1143 * config/tc-i386.c (cpu_flags_match): Add GFNI check to AVX
1144 logic. Add respective logic for AVX512F.
1145 * testsuite/gas/i386/arch-avx-1.s: Add GFNI test.
1146 testsuite/gas/i386/arch-avx-1.d,
1147 testsuite/gas/i386/arch-avx-1-1.l,
1148 testsuite/gas/i386/arch-avx-1-2.l,
1149 testsuite/gas/i386/arch-avx-1-3.l,
1150 testsuite/gas/i386/arch-avx-1-4.l,
1151 testsuite/gas/i386/arch-avx-1-5.l,
1152 testsuite/gas/i386/arch-avx-1-6.l: Adjust expectations.
1153 * testsuite/gas/i386/arch-avx-1-7.l,
1154 testsuite/gas/i386/arch-avx-1-7.s,
1155 testsuite/gas/i386/arch-avx-1-8.l,
1156 testsuite/gas/i386/arch-avx-1-8.s,
1157 testsuite/gas/i386/avx512f-plain.l,
1158 testsuite/gas/i386/avx512f-plain.s,
1159 testsuite/gas/i386/avx512vl-plain.l,
1160 testsuite/gas/i386/avx512vl-plain.s: New.
1161 * testsuite/gas/i386/i386.exp: Run new tests.
1162
ab592e75
JB
11632018-03-08 Jan Beulich <jbeulich@suse.com>
1164
1165 * config/tc-i386.c (cpu_flags_match): Move AVX512VL check ahead.
1166
db12e14e
JB
11672018-03-08 Jan Beulich <jbeulich@suse.com>
1168
1169 * config/tc-i386.c (CPU_FLAGS_32BIT_MATCH): Delete.
1170 (cpu_flags_match): Use CPU_FLAGS_ARCH_MATCH instead of
1171 CPU_FLAGS_32BIT_MATCH.
1172
b9d49817
JB
11732018-03-08 Jan Beulich <jbeulich@suse.com>
1174
1175 * config/tc-i386.c (CPU_FLAGS_AES_MATCH, CPU_FLAGS_AVX_MATCH,
1176 CPU_FLAGS_PCLMUL_MATCH): Delete.
1177 (CPU_FLAGS_32BIT_MATCH): Drop uses of deleted CPU_FLAGS_*_MATCH.
1178 (cpu_flags_match): Combine AVX checks into
1179 single if().
1180
bcb1753e
JB
11812018-03-08 Jan Beulich <jbeulich@suse.com>
1182
1183 * config/tc-i386.c (cpu_flags_match): Drop "else" branches
1184 setting CPU_FLAGS_ARCH_MATCH.
1185
6e3e5c9e
JB
11862018-03-08 Jan Beulich <jbeulich@suse.com>
1187
1188 * config/tc-i386.c (md_assemble): Extend SSE check conditional.
1189 * testsuite/gas/i386/ilp32/x86-64-sse-check-none.d,
1190 testsuite/gas/i386/ilp32/x86-64-sse-check-warn.d,
1191 testsuite/gas/i386/ilp32/x86-64-sse-check.d,
1192 testsuite/gas/i386/sse-check-none.d,
1193 testsuite/gas/i386/sse-check-warn.d,
1194 testsuite/gas/i386/x86-64-sse-check.d,
1195 testsuite/gas/i386/x86-64-sse-check-none.d,
1196 testsuite/gas/i386/x86-64-sse-check-warn.d: Refer to sse-check.d.
1197 * testsuite/gas/i386/sse-check.s: Add AES, GFNI, and PCLMUL
1198 tests.
1199 * testsuite/gas/i386/sse-check-none.s: Replace code by inclusion
1200 of sse-check.s.
1201 * testsuite/gas/i386/sse-check.d: Adjust expectations.
1202 * testsuite/gas/i386/sse-check-error.l,
1203 testsuite/gas/i386/x86-64-sse-check-error.l: Likewise.
1204 * testsuite/gas/i386/sse-check-warn.e: Likewise.
1205
38e314eb
JB
12062018-03-08 Jan Beulich <jbeulich@suse.com>
1207
1208 * config/tc-i386.c (operand_size_match): Drop / replace uses of
1209 .floatd.
1210
d53e6b98
JB
12112018-03-08 Jan Beulich <jbeulich@suse.com>
1212
1213 * testsuite/gas/i386/intel-intel.d: New.
1214 * testsuite/gas/i386/i386.exp: Run new test.
1215
a477a8c4
JB
12162018-03-08 Jan Beulich <jbeulich@suse.com>
1217
1218 * config/tc-i386.c (process_operands): Access operands only
1219 after operand count assertion. Sanitize warning text. Fix
1220 indentation.
1221 * testsuite/gas/i386/avx512_4fmaps-warn.l,
1222 gas/i386/x86-64-avx512_4fmaps-warn.l: Adjust expectations.
1223
2907c2f5
JB
12242018-03-08 Jan Beulich <jbeulich@suse.com>
1225
1226 * testsuite/gas/i386/x86-64-movd.s: Drop bogus vmovd memory forms.
1227 * testsuite/gas/i386/x86-64-movd.d,
1228 testsuite/gas/i386/x86-64-movd-intel.d: Adjust expectations.
1229
73053c1f
JB
12302018-03-08 Jan Beulich <jbeulich@suse.com>
1231
1232 * config/tc-i386.c (operand_type_and_not): New.
1233 (build_modrm_byte): Use it to prevent clearing unrelated bits.
1234
6a7524c6
AM
12352018-03-08 Alan Modra <amodra@gmail.com>
1236
1237 * config/tc-ppc.c (ppc_handle_align): Correct last patch. Really
1238 don't emit a group terminating nop for power9. Simplify cpu
1239 tests.
1240
3fea0c3b
AM
12412018-03-08 Alan Modra <amodra@gmail.com>
1242
1243 * config/tc-ppc.c (ppc_handle_align): Don't emit a group
1244 terminating nop for power9.
1245
3ae729d5
L
12462018-03-07 H.J. Lu <hongjiu.lu@intel.com>
1247
1248 PR gas/22874
1249 * config/tc-i386.c (f32_5): Removed.
1250 (f32_8): Likewise.
1251 (f32_9): Likewise.
1252 (f32_10): Likewise.
1253 (f32_11): Likewise.
1254 (f32_12): Likewise.
1255 (f32_13): Likewise.
1256 (f32_14): Likewise.
1257 (f16_5): Likewise.
1258 (f16_6): Likewise.
1259 (f16_7): Likewise.
1260 (f16_8): Likewise.
1261 (jump_31): Likewise.
1262 (alt64_11): Likewise.
1263 (alt64_patt): Likewise.
1264 (jump_disp8): New.
1265 (jump32_disp32): Likewise.
1266 (jump16_disp32): Likewise.
1267 (alt_11): Likewise.
1268 (f32_patt): Updated.
1269 (f16_patt): Likewise.
1270 (alt_patt): Add alt_11.
1271 (i386_align_code): Merged with ...
1272 (i386_generate_nops): This. Rewritten.
1273 (fits_in_imm7): Moved before i386_generate_nops.
1274 (fits_in_imm31): Likewise.
1275 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Updated to
1276 4095.
1277 (i386_align_code): Removed.
1278 (HANDLE_ALIGN): Rewritten with i386_generate_nops.
1279 * doc/as.texinfo: Update limits of control byte for x86 .nops
1280 directive.
1281 * testsuite/gas/i386/i386.exp: Run nops-7 and x86-64-nops-7.
1282 * gas/testsuite/gas/i386/noavx-3.l: Updated.
1283 * gas/testsuite/gas/i386/nop-1.d: Likewise.
1284 * gas/testsuite/gas/i386/nop-1.s: Likewise.
1285 * gas/testsuite/gas/i386/nop-2.d: Likewise.
1286 * gas/testsuite/gas/i386/nop-2.s: Likewise.
1287 * gas/testsuite/gas/i386/nop-3.d: Likewise.
1288 * gas/testsuite/gas/i386/nop-4.d: Likewise.
1289 * gas/testsuite/gas/i386/nop-5.d: Likewise.
1290 * gas/testsuite/gas/i386/nop-5.s: Likewise.
1291 * gas/testsuite/gas/i386/nop-6.d: Likewise.
1292 * gas/testsuite/gas/i386/nop-bad-1.l: Likewise.
1293 * gas/testsuite/gas/i386/nops-1-core2.d: Likewise.
1294 * gas/testsuite/gas/i386/nops-1-i386-i686.d: Likewise.
1295 * gas/testsuite/gas/i386/nops-1-i386.d: Likewise.
1296 * gas/testsuite/gas/i386/nops-1-i686.d: Likewise.
1297 * gas/testsuite/gas/i386/nops-1-k8.d: Likewise.
1298 * gas/testsuite/gas/i386/nops-1.d: Likewise.
1299 * gas/testsuite/gas/i386/nops-2-core2.d: Likewise.
1300 * gas/testsuite/gas/i386/nops-2-i386.d: Likewise.
1301 * gas/testsuite/gas/i386/nops-2.d: Likewise.
1302 * gas/testsuite/gas/i386/nops-3-i386.d: Likewise.
1303 * gas/testsuite/gas/i386/nops-3-i686.d: Likewise.
1304 * gas/testsuite/gas/i386/nops-3.d: Likewise.
1305 * gas/testsuite/gas/i386/nops-4-i386.d: Likewise.
1306 * gas/testsuite/gas/i386/nops-4-i686.d: Likewise.
1307 * gas/testsuite/gas/i386/nops-4.d: Likewise.
1308 * gas/testsuite/gas/i386/nops-4a-i686.d: Likewise.
1309 * gas/testsuite/gas/i386/nops-5-i686.d: Likewise.
1310 * gas/testsuite/gas/i386/nops-5.d: Likewise.
1311 * gas/testsuite/gas/i386/nops-6.d: Likewise.
1312 * gas/testsuite/gas/i386/nops16-1.d: Likewise.
1313 * gas/testsuite/gas/i386/x86-64-nop-1.d: Likewise.
1314 * gas/testsuite/gas/i386/x86-64-nop-2.d: Likewise.
1315 * gas/testsuite/gas/i386/x86-64-nop-5.d: Likewise.
1316 * gas/testsuite/gas/i386/x86-64-nops-1-core2.d: Likewise.
1317 * gas/testsuite/gas/i386/x86-64-nops-1-g64.d: Likewise.
1318 * gas/testsuite/gas/i386/x86-64-nops-1-k8.d: Likewise.
1319 * gas/testsuite/gas/i386/x86-64-nops-1-pentium.d: Likewise.
1320 * gas/testsuite/gas/i386/x86-64-nops-1.d: Likewise.
1321 * gas/testsuite/gas/i386/x86-64-nops-2.d: Likewise.
1322 * gas/testsuite/gas/i386/x86-64-nops-3.d: Likewise.
1323 * gas/testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise.
1324 * gas/testsuite/gas/i386/x86-64-nops-4-k8.d: Likewise.
1325 * gas/testsuite/gas/i386/x86-64-nops-4.d: Likewise.
1326 * gas/testsuite/gas/i386/x86-64-nops-5-k8.d: Likewise.
1327 * gas/testsuite/gas/i386/x86-64-nops-5.d: Likewise.
1328 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise.
1329 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise.
1330 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-pentium.d: Likewise.
1331 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1.d: Likewise.
1332 * gas/testsuite/gas/i386/ilp32/x86-64-nops-2.d: Likewise.
1333 * gas/testsuite/gas/i386/ilp32/x86-64-nops-3.d: Likewise.
1334 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
1335 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise.
1336 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4.d: Likewise.
1337 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
1338 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5.d: Likewise.
1339 * gas/testsuite/gas/i386/nops-7.d: New file.
1340 * gas/testsuite/gas/i386/nops-7.s: Likewise.
1341 * gas/testsuite/gas/i386/x86-64-nops-7.d: Likewise.
1342
52fe4420
AM
13432018-03-07 Alan Modra <amodra@gmail.com>
1344
1345 * testsuite/gas/ppc/aix.exp: Run for rs6000 too.
1346 * testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets.
1347 * testsuite/gas/ppc/machine.d: Don't run for PE targets.
1348
e7da50fa
TP
13492018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1350
1351 * config/tc-arm.c (md_begin): Add NULL pointer check before
1352 dereferencing march_ext_opt.
1353
4d354d8b
TP
13542018-03-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
1355
1356 * config/tc-arm.c (cpu_variant, arm_arch_used, thumb_arch_used,
1357 legacy_cpu, legacy_fpu, mcpu_cpu_opt, dyn_mcpu_ext_opt,
1358 mcpu_fpu_opt, march_cpu_opt, dyn_march_ext_opt, march_fpu_opt,
1359 mfpu_opt, object_arch, selected_cpu): Comment meaning of variables.
1360 (dyn_mcpu_ext_opt): Also rename into ...
1361 (mcpu_ext_opt): This.
1362 (dyn_march_ext_opt): Also rename into ...
1363 (march_ext_opt): This.
1364 (object_arch): Also rename into ...
1365 (selected_object_arch): This and make it a plain arm_feature_set
1366 structure.
1367 (selected_arch, selected_ext, selected_fpu): New static variables.
1368 (mark_feature_used): Fix comments, feature is marked as used iff it is
1369 currently allowed.
1370 (do_bx): Adapt to change in name and type of object_arch.
1371 (md_begin): Set selected_arch rather than mcpu_cpu_opt, selected_ext
1372 rather than dyn_mcpu_ext_opt and selected_fpu rather than mfpu_opt.
1373 Remove dead code to set default FPU if architecture version is greater
1374 than 5. Set all CPU bits of cpu_variant directly in autodection
1375 leaving mcpu_cpu_opt, selected_arch and selected_cpu unset.
1376 (arm_parse_extension): Take extension feature set pointer parameter by
1377 value rather than by pointer. Remove allocation code. Adapt code
1378 accordingly.
1379 (arm_parse_cpu): Adapt to variable renaming and changes in
1380 arm_parse_extension () signature.
1381 (arm_parse_arch): Likewise.
1382 (aeabi_set_public_attributes): Also set selected_arch and selected_ext
1383 in addition to selected_cpu. Set flags_arch and flags_ext from them
1384 instead of selected_cpu. Adapt to variables renaming and type change.
1385 (arm_md_post_relax): Adapt to variable renaming.
1386 (s_arm_cpu): Set selcted_cpu_cpu and selected_ext instead of
1387 mcpu_cpu_opt and dyn_mcpu_ext_opt. Set selected_cpu from them and
1388 cpu_variant from selected_cpu and selected_fpu.
1389 (s_arm_arch): Likewise.
1390 (s_arm_object_arch): Adapt to variable renaming.
1391 (s_arm_arch_extension): Use ARM_CPU_IS_ANY instead of checking feature
1392 set against arm_any. Check selected_arch rather than *mcpu_cpu_opt.
1393 Set selected_ext rather than *dyn_mcpu_ext_opt and remove allocation
1394 code.
1395 (s_arm_fpu): Set selected_fpu instead of mfpu_opt. Set all CPU feature
1396 bits if in autodetection mode.
1397
8305403a
L
13982018-03-01 H.J. Lu <hongjiu.lu@intel.com>
1399
1400 * config/tc-i386.c (optimize_encoding): Optimize AVX256 and
1401 AVX512 vpsub[bwdq] instructions.
1402 * testsuite/gas/i386/optimize-1.s: Add tests for AVX256 and
1403 AVX512 vpsub[bwdq] instructions.
1404 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
1405 * testsuite/gas/i386/optimize-1.d: Updated.
1406 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1407
e184813f
AM
14082018-03-01 Alan Modra <amodra@gmail.com>
1409
1410 * configure.ac (ALL_LINGUAS): Add uk. Sort.
1411 * configure: Regenerate.
1412
8f065d3b
L
14132018-02-27 H.J. Lu <hongjiu.lu@intel.com>
1414
1415 * NEWS: Rename .nop to .nops.
1416 * doc/as.texinfo: Likewise.
1417 * read.c (potable): Add "nops". Remove "nop".
1418 (s_nop): Renamed to ...
1419 (s_nops): This.
1420 * read.h (s_nop): Renamed to ...
1421 (s_nops): This.
1422 * write.c (cvt_frag_to_fill): Rename .nop to .nops.
1423 (md_generate_nops): Likewise.
1424 (relax_segment): Likewise.
1425 * testsuite/gas/i386/nop-1.d: Updated.
1426 * testsuite/gas/i386/nop-1.s: Likewise.
1427 * testsuite/gas/i386/nop-2.d: Likewise.
1428 * testsuite/gas/i386/nop-2.s: Likewise.
1429 * testsuite/gas/i386/nop-3.d: Likewise.
1430 * testsuite/gas/i386/nop-3.s: Likewise.
1431 * testsuite/gas/i386/nop-4.d: Likewise.
1432 * testsuite/gas/i386/nop-4.s: Likewise.
1433 * testsuite/gas/i386/nop-5.d: Likewise.
1434 * testsuite/gas/i386/nop-5.s: Likewise.
1435 * testsuite/gas/i386/nop-6.d: Likewise.
1436 * testsuite/gas/i386/nop-6.s: Likewise.
1437 * testsuite/gas/i386/nop-bad-1.l: Likewise.
1438 * testsuite/gas/i386/nop-bad-1.s: Likewise.
1439 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
1440 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
1441 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
1442 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
1443 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
1444 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
1445
b6f8c7c4
L
14462018-02-27 H.J. Lu <hongjiu.lu@intel.com>
1447
1448 PR gas/22871
1449 * NEWS: Mention -O[2|s].
1450 * config/tc-i386.c (_i386_insn): Add no_optimize.
1451 (optimize): New.
1452 (optimize_for_space): Likewise.
1453 (fits_in_imm7): New function.
1454 (fits_in_imm31): Likewise.
1455 (optimize_encoding): Likewise.
1456 (md_assemble): Call optimize_encoding to optimize encoding.
1457 (parse_insn): Handle {nooptimize}.
1458 (md_shortopts): Append "O::".
1459 (md_parse_option): Handle -On.
1460 * doc/c-i386.texi: Document -O0, -O, -O1, -O2 and -Os as well
1461 as {nooptimize}.
1462 * testsuite/gas/cfi/cfi-x86_64.d: Pass -O0 to assembler.
1463 * testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d: Likewise.
1464 * testsuite/gas/i386/i386.exp: Run optimize-1, optimize-2,
1465 optimize-3, x86-64-optimize-1, x86-64-optimize-2,
1466 x86-64-optimize-3 and x86-64-optimize-4.
1467 * testsuite/gas/i386/optimize-1.d: New file.
1468 * testsuite/gas/i386/optimize-1.s: Likewise.
1469 * testsuite/gas/i386/optimize-2.d: Likewise.
1470 * testsuite/gas/i386/optimize-2.s: Likewise.
1471 * testsuite/gas/i386/optimize-3.d: Likewise.
1472 * testsuite/gas/i386/optimize-3.s: Likewise.
1473 * testsuite/gas/i386/x86-64-optimize-1.s: Likewise.
1474 * testsuite/gas/i386/x86-64-optimize-1.d: Likewise.
1475 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1476 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
1477 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
1478 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
1479 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
1480 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
1481
bc7c0509
NC
14822018-02-27 Nick Clifton <nickc@redhat.com>
1483
1484 * po/ru.po: Updated Russian translation.
1485
d7c79856
MR
14862018-02-26 Maciej W. Rozycki <macro@mips.com>
1487
1488 * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds'
1489 descriptions.
1490
46c685ac
NC
14912018-02-26 Nick Clifton <nickc@redhat.com>
1492
1493 * doc/as.texinfo (Dc): Fix typo.
1494
2c1c9679 14952018-02-26 Alan Modra <amodra@gmail.com>
6e05870c
AM
1496
1497 * testsuite/gas/mips/reginfo-2.l: Update.
1498
14992018-02-23 Alan Modra <amodra@gmail.com>
2c1c9679
AM
1500
1501 * testsuite/gas/mips/reginfo-2.l: Update.
1502
340d33e5
NC
15032018-02-23 Nick Clifton <nickc@redhat.com>
1504
1505 * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds.
1506
e859f655
KLC
15072018-02-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1508
1509 * config/tc-nds32.c (ict_model): New function. Hook new
1510 directive .ict_model.
1511 (nds32_insert_relax_entry): Tag the bits of entry relocation
1512 for .ict_model.
1513
6b6b6807
L
15142018-02-22 H.J. Lu <hongjiu.lu@intel.com>
1515
1516 * config/tc-i386.c (_i386_insn): Add rex_encoding.
1517 (md_assemble): When i.rex_encoding is true, generate a REX byte
1518 if possible.
1519 (parse_insn): Set i.rex_encoding for {rex}.
1520 * doc/c-i386.texi: Document {rex}.
1521 * testsuite/gas/i386/x86-64-pseudos.s: Add {rex} tests.
1522 * testsuite/gas/i386/x86-64-pseudos.d: Updated.
1523
39334a61
W
15242018-02-22 A. Wilcox <awilfox@adelielinux.org>
1525
1526 PR 22014
1527 * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the
1528 instruction size suffix.
1529
1f1e0a5d
MR
15302018-02-20 Maciej W. Rozycki <macro@mips.com>
1531
1532 * testsuite/gas/mips/mips16-branch-reloc-4.d: New test.
1533 * testsuite/gas/mips/mips16-branch-reloc-5.d: New test.
1534 * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source.
1535 * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source.
1536 * testsuite/gas/mips/mips.exp: Run the new tests.
1537
cd665a94
MF
15382018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1539
1540 * config/tc-xtensa.c (struct litpool_frag): Add new field
1541 literal_count.
1542 (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS)
1543 (MAX_POOL_LITERALS): New macro definitions.
1544 (auto_litpool_limit): Initialize to 0.
1545 (md_parse_option): Set auto_litpool_limit in the presence of
1546 --auto-litpools option.
1547 (xtensa_maybe_create_literal_pool_frag): Zero-initialize
1548 literal_count field.
1549 (xg_find_litpool): New function. Make sure that found literal
1550 pool size is within the limit.
1551 (xtensa_move_literals): Extract literal pool search code into
1552 the new function.
1553 * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test.
1554 * testsuite/gas/xtensa/auto-litpools-2.d: New file.
1555 * testsuite/gas/xtensa/auto-litpools-2.s: New file.
1556 * testsuite/gas/xtensa/auto-litpools.d: Fix up changed
1557 addresses.
1558 * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
1559 that objdump doesn't get out of sync.
1560
8811c8f4
TP
15612018-02-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
1562
1563 * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
1564 also the same as -march.
1565
62a02d25
L
15662018-02-17 H.J. Lu <hongjiu.lu@intel.com>
1567
1568 * NEWS: Mention .nop directive.
1569 * as.h (_relax_state): Add rs_space_nop and rs_fill_nop.
1570 * read.c (potable): Add .nop.
1571 (s_nop): New function.
1572 * read.h (s_nop): New prototype.
1573 * write.c (cvt_frag_to_fill): Handle rs_space_nop and
1574 rs_fill_nop.
1575 (md_generate_nops): New function.
1576 (relax_segment): Likewise.
1577 (write_contents): Use md_generate_nops for rs_fill_nop.
1578 * config/tc-i386.c (alt64_11): New.
1579 (alt64_patt): Likewise.
1580 (md_convert_frag): Handle rs_space_nop.
1581 (i386_output_nops): New function.
1582 (i386_generate_nops): Likewise.
1583 (i386_align_code): Call i386_output_nops.
1584 * config/tc-i386.h (i386_generate_nops): New.
1585 (md_generate_nops): Likewise.
1586 * doc/as.texinfo: Document .nop directive.
1587 * testsuite/gas/i386/i386.exp: Run .nop directive tests.
1588 * testsuite/gas/i386/nop-1.d: New file.
1589 * testsuite/gas/i386/nop-1.s: Likewise.
1590 * testsuite/gas/i386/nop-2.d: Likewise.
1591 * testsuite/gas/i386/nop-2.s: Likewise.
1592 * testsuite/gas/i386/nop-3.d: Likewise.
1593 * testsuite/gas/i386/nop-3.s: Likewise.
1594 * testsuite/gas/i386/nop-4.d: Likewise.
1595 * testsuite/gas/i386/nop-4.s: Likewise.
1596 * testsuite/gas/i386/nop-5.d: Likewise.
1597 * testsuite/gas/i386/nop-5.s: Likewise.
1598 * testsuite/gas/i386/nop-6.d: Likewise.
1599 * testsuite/gas/i386/nop-6.s: Likewise.
1600 * testsuite/gas/i386/nop-bad-1.l: Likewise.
1601 * testsuite/gas/i386/nop-bad-1.s: Likewise.
1602 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
1603 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
1604 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
1605 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
1606 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
1607 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
1608
49ded53d
TC
16092018-02-15 Tamar Christina <tamar.christina@arm.com>
1610
1611 * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
1612 * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
1613
db5d5ad1
MF
16142018-02-13 Max Filippov <jcmvbkbc@gmail.com>
1615
1616 * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
1617 frag that contains source address.
1618
db7bf105
NC
16192018-02-13 Nick Clifton <nickc@redhat.com>
1620
1621 PR 22773
1622 * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
1623 instruction before assuming that it is a MOV instruction.
1624 * testsuite/gas/arm/pr22773.s: New test.
1625 * testsuite/gas/arm/pr22773.d: New test driver.
1626 * testsuite/gas/arm/pr22773.l: New expected output.
1627
bd7ab16b
L
16282018-02-13 H.J. Lu <hongjiu.lu@intel.com>
1629
1630 PR gas/22791
1631 * config/tc-i386.c (need_plt32_p): New function.
1632 (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
1633 (md_estimate_size_before_relax): Likewise.
1634 * testsuite/gas/i386/reloc64.d: Updated.
1635 * testsuite/gas/i386/x86-64-jump.d: Likewise.
1636 * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
1637 * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
1638 * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
1639 * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
1640 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
1641 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1642
30147392
MR
16432018-02-13 Maciej W. Rozycki <macro@mips.com>
1644
1645 * testsuite/gas/mips/loongson-3a-2.d: Rename test.
1646
68d20676
NC
16472018-02-13 Nick Clifton <nickc@redhat.com>
1648
1649 PR 22823
1650 * config/obj-elf.c (elf_pseudo_table): Remove now redundant
1651 casts.
1652 (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit.
1653 (obj_elf_vtable_inherit): New stub function that calls
1654 obj_elf_get_vtable_inherit.
1655 (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry.
1656 (obj_elf_vtable_entry): New stub function that calls
1657 obj_elf_get_vtable_entry.
1658 * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype.
1659 (obj_elf_vtable_entry) Likewise.
1660 (obj_elf_get_vtable_inherit) Likewise.
1661 (obj_elf_get_vtable_entry) Likewise.
1662 * config/tc-arm.c (md_pseudo_table): Remove now redundant cast.
1663 * config/tc-i386c (md_pseudo_table): Likewise.
1664 * config/tc-hppa.c (pa_vtable_entry): Call
1665 obj_elf_get_vtable_entry.
1666 (pa_vtable_inherit): Call obj_elf_get_vtable_inherit.
1667 * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file
1668 with call to dwarf2_get_filename.
1669 * dwarf2dbg.c (dwarf2_directive_file): Rename to
1670 dwarf2_directive_filename.
1671 (dwarf2_directive_file): New stub function that calls
1672 dwarf2_directive_filename.
1673 * dwarf2dbg.h: Prototype dwarf2_directive_filename.
1674
12a43565
MR
16752018-02-12 Maciej W. Rozycki <macro@mips.com>
1676
1677 * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
1678 `as' flags.
1679
d2159fdc
HW
16802018-02-12 Henry Wong <henry@stuffedcow.net>
1681
1682 * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix.
1683 * testsuite/gas/mips/r6-n32.d: Likewise.
1684 * testsuite/gas/mips/r6-n64.d: Likewise.
1685
7e784da5
NC
16862018-02-12 Nick Clifton <nickc@redhat.com>
1687
1688 * po/ru.po: Updated Russian translation.
1689
a9479dc0
AM
16902018-02-08 Alan Modra <amodra@gmail.com>
1691
1692 PR 22819
1693 * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
1694 (ppc_frag_check): Likewise.
1695 * testsuite/gas/ppc/misalign.d,
1696 * testsuite/gas/ppc/misalign.l,
1697 * testsuite/gas/ppc/misalign.s: New test.
1698 * testsuite/gas/ppc/misalign2.d,
1699 * testsuite/gas/ppc/misalign2.s: New test.
1700 * testsuite/gas/ppc/ppc.exp: Run them.
1701
89424b1d
MR
17022018-02-05 Maciej W. Rozycki <macro@mips.com>
1703
1704 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
1705 `expr' parameter to `ep'.
1706
2d6dda71
MR
17072018-02-05 Maciej W. Rozycki <macro@mips.com>
1708
1709 * testsuite/gas/mips/reginfo-2.d: New test.
1710 * testsuite/gas/mips/reginfo-2-n32.d: New test.
1711 * testsuite/gas/mips/reginfo-2.l: New test stderr output.
1712 * testsuite/gas/mips/reginfo-2.s: New test source.
1713 * testsuite/gas/mips/mips.exp: Run the new tests.
1714
f174ef9f
NC
17152018-02-05 Nick Clifton <nickc@redhat.com>
1716
1717 * po/ru.po: Updated Russian translation.
1718
ab1fadc6
AM
17192018-01-31 Alan Modra <amodra@gmail.com>
1720
1721 PR 22714
1722 * app.c (last_char): New static var.
1723 (struct app_save): Add last_char field.
1724 (app_push, app_pop): Handle it.
1725 (do_scrub_chars): Use last_char in test for "\@". Set last_char.
1726
d85815e2
EB
17272018-01-29 Eric Botcazou <ebotcazou@adacore.com>
1728
1729 PR gas/22738
1730 * config/tc-sparc.h (sparc_mach): Declare.
1731 (TARGET_MACH): Define to above.
1732 * config/tc-sparc.c (sparc_mach): New function.
1733 (sparc_md_end): Minor tweak.
1734
c32b891a
NC
17352018-01-29 Nick Clifton <nickc@redhat.com>
1736
1737 * po/ru.po: Updated Russian translation.
1738
1e3f5548
MR
17392018-01-26 Maciej W. Rozycki <macro@mips.com>
1740
1741 * configure.tgt: Use generic emulation for `mips-*-windiss',
1742 overriding the blanket choice made for `*-*-windiss'.
1743
c00f0d7a
MR
17442018-01-26 Maciej W. Rozycki <macro@mips.com>
1745
1746 * configure.tgt: Use `mips-*-sysv4*' rather than
1747 `mips-*-sysv4*MP*'.
1748
32247401
RL
17492018-01-24 Renlin Li <renlin.li@arm.com>
1750
1751 * config/tc-aarch64.c (reloc_table): add entries for
1752 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
1753 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
1754 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
1755 BFD_RELOC_AARCH64_MOVW_PREL_G3.
1756 (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
1757 (md_apply_fix): Likewise
1758 * testsuite/gas/aarch64/prel_g0.s: New.
1759 * testsuite/gas/aarch64/prel_g0.d: New.
1760 * testsuite/gas/aarch64/prel_g0_nc.s: New.
1761 * testsuite/gas/aarch64/prel_g0_nc.d: New.
1762 * testsuite/gas/aarch64/prel_g1.s: New.
1763 * testsuite/gas/aarch64/prel_g1.d: New.
1764 * testsuite/gas/aarch64/prel_g1_nc.s: New.
1765 * testsuite/gas/aarch64/prel_g1_nc.d: New.
1766 * testsuite/gas/aarch64/prel_g2.s: New.
1767 * testsuite/gas/aarch64/prel_g2.d: New.
1768 * testsuite/gas/aarch64/prel_g2_nc.s: New.
1769 * testsuite/gas/aarch64/prel_g2_nc.d: New.
1770 * testsuite/gas/aarch64/prel_g3.s: New.
1771 * testsuite/gas/aarch64/prel_g3.d: New.
1772
0984958b
MR
17732018-01-23 Maciej W. Rozycki <macro@mips.com>
1774
1775 * configure.ac: Also set `mips_default_abi' to N32_ABI for
1776 `mips64*-ps2-elf*'.
1777 * configure: Regenerate.
1778
62fd0a98
MR
17792018-01-23 Maciej W. Rozycki <macro@mips.com>
1780
1781 * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
1782 enum value.
1783
be3a8dca
IT
17842018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1785
1786 * config/tc-i386.c (cpu_arch): Add .pconfig.
1787 * doc/c-i386.texi: Document .pconfig.
1788 * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
1789 * testsuite/gas/i386/pconfig-intel.d: New test.
1790 * testsuite/gas/i386/pconfig.d: Likewise.
1791 * testsuite/gas/i386/pconfig.s: Likewise.
1792 * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
1793 * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
1794 * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
1795
3233d7d0
IT
17962018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1797
1798 * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
1799 * doc/c-i386.texi: Document .wbnoinvd.
1800 * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
1801 * testsuite/gas/i386/wbnoinvd-intel.d: New test.
1802 * testsuite/gas/i386/wbnoinvd.d: Likewise.
1803 * testsuite/gas/i386/wbnoinvd.s: Likewise.
1804 * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
1805 * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
1806 * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
1807
b4f6242e
MR
18082018-01-23 Maciej W. Rozycki <macro@mips.com>
1809
1810 * config/tc-mips.c (md_show_usage): Correctly indicate the
1811 configuration-specific default ABI.
1812
f866b262
MR
18132018-01-23 Maciej W. Rozycki <macro@mips.com>
1814
1815 * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
1816 `-mno-mips16e2' options.
1817
75c80ee1
MR
18182018-01-22 Maciej W. Rozycki <macro@mips.com>
1819
1820 * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
1821 Correct syntax of the `.set nomips16e2' directive description.
1822
49da480f
OE
18232018-01-22 Oleg Endo <olegendo@gcc.gnu.org>
1824
1825 PR 22737
1826 * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
1827 * testsuite/gas/rx/pr22737.s: New test.
1828 * testsuite/gas/rx/pr22737.d: Likewise.
1829 * testsuite/gas/rx/rx.exp: Run the new test.
1830
a3ab6cb0
TP
18312018-01-19 Thomas Preud'homme <thomas.preudhomme@arm.com>
1832
1833 * config/tc-arm.c (ToC macro): Remove spurious comment.
1834 (ToU macro): Likewise.
1835
e925c834
JW
18362018-01-17 Jim Wilson <jimw@sifive.com>
1837
1838 * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
1839 (riscv_ip) <'z'>: New.
1840
d777820b
IT
18412018-01-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1842
1843 * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
1844 (cpu_noarch): Add noibt, noshstk.
1845 (parse_insn): Change cpucet to cpuibt.
1846 * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
1847 * testsuite/gas/i386/cet-ibt-inval.l: New test.
1848 * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
1849 * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
1850 * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
1851 * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
1852 * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
1853 * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
1854 * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
1855
f6efed01
NC
18562018-01-16 Nick Clifton <nickc@redhat.com>
1857
1858 * po/fr.po: Updated French translation.
1859
2721d702
JW
18602018-01-15 Jim Wilson <jimw@sifive.com>
1861
1862 * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
1863 * testsuite/gas/riscv/c-zero-imm.d: Likewise.
1864
cf3cf39d
TP
18652018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1866
1867 * config/tc-arm.c (ToC): Define macro.
1868 (ToU): Likewise.
1869 (insns): Make use of above macros for new instructions introduced in
1870 Armv8-M.
1871
2875ce2b
TP
18722018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1873
1874 * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
1875 and vlstm conditionally executable and reindent parameters.
1876 * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
1877 aforementionned instructions.
1878
df9909b8
TP
18792018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1880
1881 * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
1882 profile architecture or if in autodetection mode. Clarify that
1883 deprecation is for performance reason and concerns Armv8-A and Armv8-R.
1884 * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
1885 message.
1886 * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
1887 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
1888 * testsuite/gas/arm/udf.l: Likewise.
1889 * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
1890
616dcb87
NC
18912018-01-15 Nick Clifton <nickc@redhat.com>
1892
1893 * po/uk.po: Updated Ukranian translation.
1894
3957a496
NC
18952018-01-13 Nick Clifton <nickc@redhat.com>
1896
1897 * po/gas.pot: Regenerated.
1898
769c7ea5
NC
18992018-01-13 Nick Clifton <nickc@redhat.com>
1900
1901 * configure: Regenerate.
1902
9176ac5b
NC
19032018-01-13 Nick Clifton <nickc@redhat.com>
1904
faf766e3 1905 2.30 branch created.
9176ac5b
NC
1906 * NEWS: Add marker for 2.30.
1907
b5b62006
GN
19082018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
1909
1910 * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
1911 define to 0 and 1. Remove a dangling reference to "AMD 29000"
1912 in a comment.
1913
888a89da
IT
19142018-01-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1915
1916 * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
1917 * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
1918 * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
1919 * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
1920 * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
1921 * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
1922 * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
1923 * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
1924 tests.
1925 * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
1926 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
1927 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
1928 * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
1929 * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
1930 * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
1931 * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
1932 * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
1933
b90d5ba0
AM
19342018-01-11 Alan Modra <amodra@gmail.com>
1935
1936 * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
1937 positive "‘profile’ may be used uninitialized".
1938
cbda583a
JB
19392018-01-10 Jan Beulich <jbeulich@suse.com>
1940
1941 * testsuite/gas/i386/avx512_4fmaps.s,
1942 testsuite/gas/i386/avx512_4fmaps_vl.s,
1943 testsuite/gas/i386/x86-64-avx512_4fmaps.s,
1944 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
1945 Disp8 forms (and the transition happening at the right
1946 boundary).
1947 * testsuite/gas/i386/avx512_4fmaps.d,
1948 testsuite/gas/i386/avx512_4fmaps-intel.d,
1949 testsuite/gas/i386/avx512_4fmaps_vl.d,
1950 testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
1951 testsuite/gas/i386/x86-64-avx512_4fmaps.d,
1952 testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
1953 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
1954 testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
1955 expectations.
1956
c9e92278
JB
19572018-01-10 Jan Beulich <jbeulich@suse.com>
1958
1959 * testsuite/gas/i386/avx512bw.s,
1960 testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
1961 operands.
1962 * testsuite/gas/i386/avx512bw-intel.d,
1963 testsuite/gas/i386/avx512bw.d,
1964 testsuite/gas/i386/avx512bw_vl-intel.d.
1965 testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
1966
35fd2b2b
JW
19672018-01-09 Jim Wilson <jimw@sifive.com>
1968
1969 * testsuite/gas/riscv/auipc-x0.d: New.
1970 * testsuite/gas/riscv/auipc-x0.s: New.
1971
91d8b670
JG
19722018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
1973
1974 * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
1975 in Arm execution state, and Armv6T2 and above in Thumb execution
1976 state.
1977 * testsuite/gas/arm/csdb.s: New.
1978 * testsuite/gas/arm/csdb.d: New.
1979 * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
1980 * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
1981
be2e7d95
JG
19822018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
1983
1984 * testsuite/gas/aarch64/system.d: Update expected results to expect
1985 CSDB for hint 0x14.
1986
704a705d
L
19872018-01-08 H.J. Lu <hongjiu.lu@intel.com>
1988
1989 PR gas/22681
1990 * testsuite/gas/i386/i386.exp: Run x86-64-movd and
1991 x86-64-movd-intel.
1992 * testsuite/gas/i386/x86-64-movd-intel.d: New file.
1993 * testsuite/gas/i386/x86-64-movd.d: Likewise.
1994 * testsuite/gas/i386/x86-64-movd.s: Likewise.
1995
102e9361
NC
19962018-01-08 Nick Clifton <nickc@redhat.com>
1997
1998 PR 22553
1999 * doc/c-i386.texi (i386-Directives): Document the .largecomm
2000 directive.
2001
645a2c5b
JW
20022018-01-04 Jim Wilson <jimw@sifive.com>
2003
2004 * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
2005 * testsuite/gas/riscv/priv-reg.d: Likewise.
2006
219d1afa
AM
20072018-01-03 Alan Modra <amodra@gmail.com>
2008
2009 Update year range in copyright notice of all files.
2010
806ab1c0
NC
20112018-01-02 Nick Clifton <nickc@redhat.com>
2012
2013 PR 18119
2014 * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
2015 version of ARM MRS instruction.
2016
1e563868 2017For older changes see ChangeLog-2017
3499769a 2018\f
1e563868 2019Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
2020
2021Copying and distribution of this file, with or without modification,
2022are permitted in any medium without royalty provided the copyright
2023notice and this notice are preserved.
2024
2025Local Variables:
2026mode: change-log
2027left-margin: 8
2028fill-column: 74
2029version-control: never
2030End: