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