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