x86: bogus VMOVD with 64-bit operands should only allow for registers
[binutils-gdb.git] / gas / ChangeLog
1 2018-03-08 Jan Beulich <jbeulich@suse.com>
2
3 * testsuite/gas/i386/x86-64-movd.s: Drop bogus vmovd memory forms.
4 * testsuite/gas/i386/x86-64-movd.d,
5 testsuite/gas/i386/x86-64-movd-intel.d: Adjust expectations.
6
7 2018-03-08 Jan Beulich <jbeulich@suse.com>
8
9 * config/tc-i386.c (operand_type_and_not): New.
10 (build_modrm_byte): Use it to prevent clearing unrelated bits.
11
12 2018-03-08 Alan Modra <amodra@gmail.com>
13
14 * config/tc-ppc.c (ppc_handle_align): Correct last patch. Really
15 don't emit a group terminating nop for power9. Simplify cpu
16 tests.
17
18 2018-03-08 Alan Modra <amodra@gmail.com>
19
20 * config/tc-ppc.c (ppc_handle_align): Don't emit a group
21 terminating nop for power9.
22
23 2018-03-07 H.J. Lu <hongjiu.lu@intel.com>
24
25 PR gas/22874
26 * config/tc-i386.c (f32_5): Removed.
27 (f32_8): Likewise.
28 (f32_9): Likewise.
29 (f32_10): Likewise.
30 (f32_11): Likewise.
31 (f32_12): Likewise.
32 (f32_13): Likewise.
33 (f32_14): Likewise.
34 (f16_5): Likewise.
35 (f16_6): Likewise.
36 (f16_7): Likewise.
37 (f16_8): Likewise.
38 (jump_31): Likewise.
39 (alt64_11): Likewise.
40 (alt64_patt): Likewise.
41 (jump_disp8): New.
42 (jump32_disp32): Likewise.
43 (jump16_disp32): Likewise.
44 (alt_11): Likewise.
45 (f32_patt): Updated.
46 (f16_patt): Likewise.
47 (alt_patt): Add alt_11.
48 (i386_align_code): Merged with ...
49 (i386_generate_nops): This. Rewritten.
50 (fits_in_imm7): Moved before i386_generate_nops.
51 (fits_in_imm31): Likewise.
52 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Updated to
53 4095.
54 (i386_align_code): Removed.
55 (HANDLE_ALIGN): Rewritten with i386_generate_nops.
56 * doc/as.texinfo: Update limits of control byte for x86 .nops
57 directive.
58 * testsuite/gas/i386/i386.exp: Run nops-7 and x86-64-nops-7.
59 * gas/testsuite/gas/i386/noavx-3.l: Updated.
60 * gas/testsuite/gas/i386/nop-1.d: Likewise.
61 * gas/testsuite/gas/i386/nop-1.s: Likewise.
62 * gas/testsuite/gas/i386/nop-2.d: Likewise.
63 * gas/testsuite/gas/i386/nop-2.s: Likewise.
64 * gas/testsuite/gas/i386/nop-3.d: Likewise.
65 * gas/testsuite/gas/i386/nop-4.d: Likewise.
66 * gas/testsuite/gas/i386/nop-5.d: Likewise.
67 * gas/testsuite/gas/i386/nop-5.s: Likewise.
68 * gas/testsuite/gas/i386/nop-6.d: Likewise.
69 * gas/testsuite/gas/i386/nop-bad-1.l: Likewise.
70 * gas/testsuite/gas/i386/nops-1-core2.d: Likewise.
71 * gas/testsuite/gas/i386/nops-1-i386-i686.d: Likewise.
72 * gas/testsuite/gas/i386/nops-1-i386.d: Likewise.
73 * gas/testsuite/gas/i386/nops-1-i686.d: Likewise.
74 * gas/testsuite/gas/i386/nops-1-k8.d: Likewise.
75 * gas/testsuite/gas/i386/nops-1.d: Likewise.
76 * gas/testsuite/gas/i386/nops-2-core2.d: Likewise.
77 * gas/testsuite/gas/i386/nops-2-i386.d: Likewise.
78 * gas/testsuite/gas/i386/nops-2.d: Likewise.
79 * gas/testsuite/gas/i386/nops-3-i386.d: Likewise.
80 * gas/testsuite/gas/i386/nops-3-i686.d: Likewise.
81 * gas/testsuite/gas/i386/nops-3.d: Likewise.
82 * gas/testsuite/gas/i386/nops-4-i386.d: Likewise.
83 * gas/testsuite/gas/i386/nops-4-i686.d: Likewise.
84 * gas/testsuite/gas/i386/nops-4.d: Likewise.
85 * gas/testsuite/gas/i386/nops-4a-i686.d: Likewise.
86 * gas/testsuite/gas/i386/nops-5-i686.d: Likewise.
87 * gas/testsuite/gas/i386/nops-5.d: Likewise.
88 * gas/testsuite/gas/i386/nops-6.d: Likewise.
89 * gas/testsuite/gas/i386/nops16-1.d: Likewise.
90 * gas/testsuite/gas/i386/x86-64-nop-1.d: Likewise.
91 * gas/testsuite/gas/i386/x86-64-nop-2.d: Likewise.
92 * gas/testsuite/gas/i386/x86-64-nop-5.d: Likewise.
93 * gas/testsuite/gas/i386/x86-64-nops-1-core2.d: Likewise.
94 * gas/testsuite/gas/i386/x86-64-nops-1-g64.d: Likewise.
95 * gas/testsuite/gas/i386/x86-64-nops-1-k8.d: Likewise.
96 * gas/testsuite/gas/i386/x86-64-nops-1-pentium.d: Likewise.
97 * gas/testsuite/gas/i386/x86-64-nops-1.d: Likewise.
98 * gas/testsuite/gas/i386/x86-64-nops-2.d: Likewise.
99 * gas/testsuite/gas/i386/x86-64-nops-3.d: Likewise.
100 * gas/testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise.
101 * gas/testsuite/gas/i386/x86-64-nops-4-k8.d: Likewise.
102 * gas/testsuite/gas/i386/x86-64-nops-4.d: Likewise.
103 * gas/testsuite/gas/i386/x86-64-nops-5-k8.d: Likewise.
104 * gas/testsuite/gas/i386/x86-64-nops-5.d: Likewise.
105 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise.
106 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise.
107 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-pentium.d: Likewise.
108 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1.d: Likewise.
109 * gas/testsuite/gas/i386/ilp32/x86-64-nops-2.d: Likewise.
110 * gas/testsuite/gas/i386/ilp32/x86-64-nops-3.d: Likewise.
111 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
112 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise.
113 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4.d: Likewise.
114 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
115 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5.d: Likewise.
116 * gas/testsuite/gas/i386/nops-7.d: New file.
117 * gas/testsuite/gas/i386/nops-7.s: Likewise.
118 * gas/testsuite/gas/i386/x86-64-nops-7.d: Likewise.
119
120 2018-03-07 Alan Modra <amodra@gmail.com>
121
122 * testsuite/gas/ppc/aix.exp: Run for rs6000 too.
123 * testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets.
124 * testsuite/gas/ppc/machine.d: Don't run for PE targets.
125
126 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
127
128 * config/tc-arm.c (md_begin): Add NULL pointer check before
129 dereferencing march_ext_opt.
130
131 2018-03-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
132
133 * config/tc-arm.c (cpu_variant, arm_arch_used, thumb_arch_used,
134 legacy_cpu, legacy_fpu, mcpu_cpu_opt, dyn_mcpu_ext_opt,
135 mcpu_fpu_opt, march_cpu_opt, dyn_march_ext_opt, march_fpu_opt,
136 mfpu_opt, object_arch, selected_cpu): Comment meaning of variables.
137 (dyn_mcpu_ext_opt): Also rename into ...
138 (mcpu_ext_opt): This.
139 (dyn_march_ext_opt): Also rename into ...
140 (march_ext_opt): This.
141 (object_arch): Also rename into ...
142 (selected_object_arch): This and make it a plain arm_feature_set
143 structure.
144 (selected_arch, selected_ext, selected_fpu): New static variables.
145 (mark_feature_used): Fix comments, feature is marked as used iff it is
146 currently allowed.
147 (do_bx): Adapt to change in name and type of object_arch.
148 (md_begin): Set selected_arch rather than mcpu_cpu_opt, selected_ext
149 rather than dyn_mcpu_ext_opt and selected_fpu rather than mfpu_opt.
150 Remove dead code to set default FPU if architecture version is greater
151 than 5. Set all CPU bits of cpu_variant directly in autodection
152 leaving mcpu_cpu_opt, selected_arch and selected_cpu unset.
153 (arm_parse_extension): Take extension feature set pointer parameter by
154 value rather than by pointer. Remove allocation code. Adapt code
155 accordingly.
156 (arm_parse_cpu): Adapt to variable renaming and changes in
157 arm_parse_extension () signature.
158 (arm_parse_arch): Likewise.
159 (aeabi_set_public_attributes): Also set selected_arch and selected_ext
160 in addition to selected_cpu. Set flags_arch and flags_ext from them
161 instead of selected_cpu. Adapt to variables renaming and type change.
162 (arm_md_post_relax): Adapt to variable renaming.
163 (s_arm_cpu): Set selcted_cpu_cpu and selected_ext instead of
164 mcpu_cpu_opt and dyn_mcpu_ext_opt. Set selected_cpu from them and
165 cpu_variant from selected_cpu and selected_fpu.
166 (s_arm_arch): Likewise.
167 (s_arm_object_arch): Adapt to variable renaming.
168 (s_arm_arch_extension): Use ARM_CPU_IS_ANY instead of checking feature
169 set against arm_any. Check selected_arch rather than *mcpu_cpu_opt.
170 Set selected_ext rather than *dyn_mcpu_ext_opt and remove allocation
171 code.
172 (s_arm_fpu): Set selected_fpu instead of mfpu_opt. Set all CPU feature
173 bits if in autodetection mode.
174
175 2018-03-01 H.J. Lu <hongjiu.lu@intel.com>
176
177 * config/tc-i386.c (optimize_encoding): Optimize AVX256 and
178 AVX512 vpsub[bwdq] instructions.
179 * testsuite/gas/i386/optimize-1.s: Add tests for AVX256 and
180 AVX512 vpsub[bwdq] instructions.
181 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
182 * testsuite/gas/i386/optimize-1.d: Updated.
183 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
184
185 2018-03-01 Alan Modra <amodra@gmail.com>
186
187 * configure.ac (ALL_LINGUAS): Add uk. Sort.
188 * configure: Regenerate.
189
190 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
191
192 * NEWS: Rename .nop to .nops.
193 * doc/as.texinfo: Likewise.
194 * read.c (potable): Add "nops". Remove "nop".
195 (s_nop): Renamed to ...
196 (s_nops): This.
197 * read.h (s_nop): Renamed to ...
198 (s_nops): This.
199 * write.c (cvt_frag_to_fill): Rename .nop to .nops.
200 (md_generate_nops): Likewise.
201 (relax_segment): Likewise.
202 * testsuite/gas/i386/nop-1.d: Updated.
203 * testsuite/gas/i386/nop-1.s: Likewise.
204 * testsuite/gas/i386/nop-2.d: Likewise.
205 * testsuite/gas/i386/nop-2.s: Likewise.
206 * testsuite/gas/i386/nop-3.d: Likewise.
207 * testsuite/gas/i386/nop-3.s: Likewise.
208 * testsuite/gas/i386/nop-4.d: Likewise.
209 * testsuite/gas/i386/nop-4.s: Likewise.
210 * testsuite/gas/i386/nop-5.d: Likewise.
211 * testsuite/gas/i386/nop-5.s: Likewise.
212 * testsuite/gas/i386/nop-6.d: Likewise.
213 * testsuite/gas/i386/nop-6.s: Likewise.
214 * testsuite/gas/i386/nop-bad-1.l: Likewise.
215 * testsuite/gas/i386/nop-bad-1.s: Likewise.
216 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
217 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
218 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
219 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
220 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
221 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
222
223 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
224
225 PR gas/22871
226 * NEWS: Mention -O[2|s].
227 * config/tc-i386.c (_i386_insn): Add no_optimize.
228 (optimize): New.
229 (optimize_for_space): Likewise.
230 (fits_in_imm7): New function.
231 (fits_in_imm31): Likewise.
232 (optimize_encoding): Likewise.
233 (md_assemble): Call optimize_encoding to optimize encoding.
234 (parse_insn): Handle {nooptimize}.
235 (md_shortopts): Append "O::".
236 (md_parse_option): Handle -On.
237 * doc/c-i386.texi: Document -O0, -O, -O1, -O2 and -Os as well
238 as {nooptimize}.
239 * testsuite/gas/cfi/cfi-x86_64.d: Pass -O0 to assembler.
240 * testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d: Likewise.
241 * testsuite/gas/i386/i386.exp: Run optimize-1, optimize-2,
242 optimize-3, x86-64-optimize-1, x86-64-optimize-2,
243 x86-64-optimize-3 and x86-64-optimize-4.
244 * testsuite/gas/i386/optimize-1.d: New file.
245 * testsuite/gas/i386/optimize-1.s: Likewise.
246 * testsuite/gas/i386/optimize-2.d: Likewise.
247 * testsuite/gas/i386/optimize-2.s: Likewise.
248 * testsuite/gas/i386/optimize-3.d: Likewise.
249 * testsuite/gas/i386/optimize-3.s: Likewise.
250 * testsuite/gas/i386/x86-64-optimize-1.s: Likewise.
251 * testsuite/gas/i386/x86-64-optimize-1.d: Likewise.
252 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
253 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
254 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
255 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
256 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
257 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
258
259 2018-02-27 Nick Clifton <nickc@redhat.com>
260
261 * po/ru.po: Updated Russian translation.
262
263 2018-02-26 Maciej W. Rozycki <macro@mips.com>
264
265 * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds'
266 descriptions.
267
268 2018-02-26 Nick Clifton <nickc@redhat.com>
269
270 * doc/as.texinfo (Dc): Fix typo.
271
272 2018-02-26 Alan Modra <amodra@gmail.com>
273
274 * testsuite/gas/mips/reginfo-2.l: Update.
275
276 2018-02-23 Alan Modra <amodra@gmail.com>
277
278 * testsuite/gas/mips/reginfo-2.l: Update.
279
280 2018-02-23 Nick Clifton <nickc@redhat.com>
281
282 * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds.
283
284 2018-02-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
285
286 * config/tc-nds32.c (ict_model): New function. Hook new
287 directive .ict_model.
288 (nds32_insert_relax_entry): Tag the bits of entry relocation
289 for .ict_model.
290
291 2018-02-22 H.J. Lu <hongjiu.lu@intel.com>
292
293 * config/tc-i386.c (_i386_insn): Add rex_encoding.
294 (md_assemble): When i.rex_encoding is true, generate a REX byte
295 if possible.
296 (parse_insn): Set i.rex_encoding for {rex}.
297 * doc/c-i386.texi: Document {rex}.
298 * testsuite/gas/i386/x86-64-pseudos.s: Add {rex} tests.
299 * testsuite/gas/i386/x86-64-pseudos.d: Updated.
300
301 2018-02-22 A. Wilcox <awilfox@adelielinux.org>
302
303 PR 22014
304 * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the
305 instruction size suffix.
306
307 2018-02-20 Maciej W. Rozycki <macro@mips.com>
308
309 * testsuite/gas/mips/mips16-branch-reloc-4.d: New test.
310 * testsuite/gas/mips/mips16-branch-reloc-5.d: New test.
311 * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source.
312 * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source.
313 * testsuite/gas/mips/mips.exp: Run the new tests.
314
315 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
316
317 * config/tc-xtensa.c (struct litpool_frag): Add new field
318 literal_count.
319 (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS)
320 (MAX_POOL_LITERALS): New macro definitions.
321 (auto_litpool_limit): Initialize to 0.
322 (md_parse_option): Set auto_litpool_limit in the presence of
323 --auto-litpools option.
324 (xtensa_maybe_create_literal_pool_frag): Zero-initialize
325 literal_count field.
326 (xg_find_litpool): New function. Make sure that found literal
327 pool size is within the limit.
328 (xtensa_move_literals): Extract literal pool search code into
329 the new function.
330 * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test.
331 * testsuite/gas/xtensa/auto-litpools-2.d: New file.
332 * testsuite/gas/xtensa/auto-litpools-2.s: New file.
333 * testsuite/gas/xtensa/auto-litpools.d: Fix up changed
334 addresses.
335 * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
336 that objdump doesn't get out of sync.
337
338 2018-02-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
339
340 * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
341 also the same as -march.
342
343 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
344
345 * NEWS: Mention .nop directive.
346 * as.h (_relax_state): Add rs_space_nop and rs_fill_nop.
347 * read.c (potable): Add .nop.
348 (s_nop): New function.
349 * read.h (s_nop): New prototype.
350 * write.c (cvt_frag_to_fill): Handle rs_space_nop and
351 rs_fill_nop.
352 (md_generate_nops): New function.
353 (relax_segment): Likewise.
354 (write_contents): Use md_generate_nops for rs_fill_nop.
355 * config/tc-i386.c (alt64_11): New.
356 (alt64_patt): Likewise.
357 (md_convert_frag): Handle rs_space_nop.
358 (i386_output_nops): New function.
359 (i386_generate_nops): Likewise.
360 (i386_align_code): Call i386_output_nops.
361 * config/tc-i386.h (i386_generate_nops): New.
362 (md_generate_nops): Likewise.
363 * doc/as.texinfo: Document .nop directive.
364 * testsuite/gas/i386/i386.exp: Run .nop directive tests.
365 * testsuite/gas/i386/nop-1.d: New file.
366 * testsuite/gas/i386/nop-1.s: Likewise.
367 * testsuite/gas/i386/nop-2.d: Likewise.
368 * testsuite/gas/i386/nop-2.s: Likewise.
369 * testsuite/gas/i386/nop-3.d: Likewise.
370 * testsuite/gas/i386/nop-3.s: Likewise.
371 * testsuite/gas/i386/nop-4.d: Likewise.
372 * testsuite/gas/i386/nop-4.s: Likewise.
373 * testsuite/gas/i386/nop-5.d: Likewise.
374 * testsuite/gas/i386/nop-5.s: Likewise.
375 * testsuite/gas/i386/nop-6.d: Likewise.
376 * testsuite/gas/i386/nop-6.s: Likewise.
377 * testsuite/gas/i386/nop-bad-1.l: Likewise.
378 * testsuite/gas/i386/nop-bad-1.s: Likewise.
379 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
380 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
381 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
382 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
383 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
384 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
385
386 2018-02-15 Tamar Christina <tamar.christina@arm.com>
387
388 * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
389 * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
390
391 2018-02-13 Max Filippov <jcmvbkbc@gmail.com>
392
393 * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
394 frag that contains source address.
395
396 2018-02-13 Nick Clifton <nickc@redhat.com>
397
398 PR 22773
399 * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
400 instruction before assuming that it is a MOV instruction.
401 * testsuite/gas/arm/pr22773.s: New test.
402 * testsuite/gas/arm/pr22773.d: New test driver.
403 * testsuite/gas/arm/pr22773.l: New expected output.
404
405 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
406
407 PR gas/22791
408 * config/tc-i386.c (need_plt32_p): New function.
409 (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
410 (md_estimate_size_before_relax): Likewise.
411 * testsuite/gas/i386/reloc64.d: Updated.
412 * testsuite/gas/i386/x86-64-jump.d: Likewise.
413 * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
414 * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
415 * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
416 * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
417 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
418 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
419
420 2018-02-13 Maciej W. Rozycki <macro@mips.com>
421
422 * testsuite/gas/mips/loongson-3a-2.d: Rename test.
423
424 2018-02-13 Nick Clifton <nickc@redhat.com>
425
426 PR 22823
427 * config/obj-elf.c (elf_pseudo_table): Remove now redundant
428 casts.
429 (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit.
430 (obj_elf_vtable_inherit): New stub function that calls
431 obj_elf_get_vtable_inherit.
432 (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry.
433 (obj_elf_vtable_entry): New stub function that calls
434 obj_elf_get_vtable_entry.
435 * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype.
436 (obj_elf_vtable_entry) Likewise.
437 (obj_elf_get_vtable_inherit) Likewise.
438 (obj_elf_get_vtable_entry) Likewise.
439 * config/tc-arm.c (md_pseudo_table): Remove now redundant cast.
440 * config/tc-i386c (md_pseudo_table): Likewise.
441 * config/tc-hppa.c (pa_vtable_entry): Call
442 obj_elf_get_vtable_entry.
443 (pa_vtable_inherit): Call obj_elf_get_vtable_inherit.
444 * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file
445 with call to dwarf2_get_filename.
446 * dwarf2dbg.c (dwarf2_directive_file): Rename to
447 dwarf2_directive_filename.
448 (dwarf2_directive_file): New stub function that calls
449 dwarf2_directive_filename.
450 * dwarf2dbg.h: Prototype dwarf2_directive_filename.
451
452 2018-02-12 Maciej W. Rozycki <macro@mips.com>
453
454 * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
455 `as' flags.
456
457 2018-02-12 Henry Wong <henry@stuffedcow.net>
458
459 * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix.
460 * testsuite/gas/mips/r6-n32.d: Likewise.
461 * testsuite/gas/mips/r6-n64.d: Likewise.
462
463 2018-02-12 Nick Clifton <nickc@redhat.com>
464
465 * po/ru.po: Updated Russian translation.
466
467 2018-02-08 Alan Modra <amodra@gmail.com>
468
469 PR 22819
470 * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
471 (ppc_frag_check): Likewise.
472 * testsuite/gas/ppc/misalign.d,
473 * testsuite/gas/ppc/misalign.l,
474 * testsuite/gas/ppc/misalign.s: New test.
475 * testsuite/gas/ppc/misalign2.d,
476 * testsuite/gas/ppc/misalign2.s: New test.
477 * testsuite/gas/ppc/ppc.exp: Run them.
478
479 2018-02-05 Maciej W. Rozycki <macro@mips.com>
480
481 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
482 `expr' parameter to `ep'.
483
484 2018-02-05 Maciej W. Rozycki <macro@mips.com>
485
486 * testsuite/gas/mips/reginfo-2.d: New test.
487 * testsuite/gas/mips/reginfo-2-n32.d: New test.
488 * testsuite/gas/mips/reginfo-2.l: New test stderr output.
489 * testsuite/gas/mips/reginfo-2.s: New test source.
490 * testsuite/gas/mips/mips.exp: Run the new tests.
491
492 2018-02-05 Nick Clifton <nickc@redhat.com>
493
494 * po/ru.po: Updated Russian translation.
495
496 2018-01-31 Alan Modra <amodra@gmail.com>
497
498 PR 22714
499 * app.c (last_char): New static var.
500 (struct app_save): Add last_char field.
501 (app_push, app_pop): Handle it.
502 (do_scrub_chars): Use last_char in test for "\@". Set last_char.
503
504 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
505
506 PR gas/22738
507 * config/tc-sparc.h (sparc_mach): Declare.
508 (TARGET_MACH): Define to above.
509 * config/tc-sparc.c (sparc_mach): New function.
510 (sparc_md_end): Minor tweak.
511
512 2018-01-29 Nick Clifton <nickc@redhat.com>
513
514 * po/ru.po: Updated Russian translation.
515
516 2018-01-26 Maciej W. Rozycki <macro@mips.com>
517
518 * configure.tgt: Use generic emulation for `mips-*-windiss',
519 overriding the blanket choice made for `*-*-windiss'.
520
521 2018-01-26 Maciej W. Rozycki <macro@mips.com>
522
523 * configure.tgt: Use `mips-*-sysv4*' rather than
524 `mips-*-sysv4*MP*'.
525
526 2018-01-24 Renlin Li <renlin.li@arm.com>
527
528 * config/tc-aarch64.c (reloc_table): add entries for
529 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
530 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
531 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
532 BFD_RELOC_AARCH64_MOVW_PREL_G3.
533 (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
534 (md_apply_fix): Likewise
535 * testsuite/gas/aarch64/prel_g0.s: New.
536 * testsuite/gas/aarch64/prel_g0.d: New.
537 * testsuite/gas/aarch64/prel_g0_nc.s: New.
538 * testsuite/gas/aarch64/prel_g0_nc.d: New.
539 * testsuite/gas/aarch64/prel_g1.s: New.
540 * testsuite/gas/aarch64/prel_g1.d: New.
541 * testsuite/gas/aarch64/prel_g1_nc.s: New.
542 * testsuite/gas/aarch64/prel_g1_nc.d: New.
543 * testsuite/gas/aarch64/prel_g2.s: New.
544 * testsuite/gas/aarch64/prel_g2.d: New.
545 * testsuite/gas/aarch64/prel_g2_nc.s: New.
546 * testsuite/gas/aarch64/prel_g2_nc.d: New.
547 * testsuite/gas/aarch64/prel_g3.s: New.
548 * testsuite/gas/aarch64/prel_g3.d: New.
549
550 2018-01-23 Maciej W. Rozycki <macro@mips.com>
551
552 * configure.ac: Also set `mips_default_abi' to N32_ABI for
553 `mips64*-ps2-elf*'.
554 * configure: Regenerate.
555
556 2018-01-23 Maciej W. Rozycki <macro@mips.com>
557
558 * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
559 enum value.
560
561 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
562
563 * config/tc-i386.c (cpu_arch): Add .pconfig.
564 * doc/c-i386.texi: Document .pconfig.
565 * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
566 * testsuite/gas/i386/pconfig-intel.d: New test.
567 * testsuite/gas/i386/pconfig.d: Likewise.
568 * testsuite/gas/i386/pconfig.s: Likewise.
569 * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
570 * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
571 * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
572
573 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
574
575 * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
576 * doc/c-i386.texi: Document .wbnoinvd.
577 * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
578 * testsuite/gas/i386/wbnoinvd-intel.d: New test.
579 * testsuite/gas/i386/wbnoinvd.d: Likewise.
580 * testsuite/gas/i386/wbnoinvd.s: Likewise.
581 * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
582 * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
583 * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
584
585 2018-01-23 Maciej W. Rozycki <macro@mips.com>
586
587 * config/tc-mips.c (md_show_usage): Correctly indicate the
588 configuration-specific default ABI.
589
590 2018-01-23 Maciej W. Rozycki <macro@mips.com>
591
592 * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
593 `-mno-mips16e2' options.
594
595 2018-01-22 Maciej W. Rozycki <macro@mips.com>
596
597 * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
598 Correct syntax of the `.set nomips16e2' directive description.
599
600 2018-01-22 Oleg Endo <olegendo@gcc.gnu.org>
601
602 PR 22737
603 * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
604 * testsuite/gas/rx/pr22737.s: New test.
605 * testsuite/gas/rx/pr22737.d: Likewise.
606 * testsuite/gas/rx/rx.exp: Run the new test.
607
608 2018-01-19 Thomas Preud'homme <thomas.preudhomme@arm.com>
609
610 * config/tc-arm.c (ToC macro): Remove spurious comment.
611 (ToU macro): Likewise.
612
613 2018-01-17 Jim Wilson <jimw@sifive.com>
614
615 * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
616 (riscv_ip) <'z'>: New.
617
618 2018-01-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
619
620 * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
621 (cpu_noarch): Add noibt, noshstk.
622 (parse_insn): Change cpucet to cpuibt.
623 * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
624 * testsuite/gas/i386/cet-ibt-inval.l: New test.
625 * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
626 * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
627 * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
628 * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
629 * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
630 * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
631 * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
632
633 2018-01-16 Nick Clifton <nickc@redhat.com>
634
635 * po/fr.po: Updated French translation.
636
637 2018-01-15 Jim Wilson <jimw@sifive.com>
638
639 * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
640 * testsuite/gas/riscv/c-zero-imm.d: Likewise.
641
642 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
643
644 * config/tc-arm.c (ToC): Define macro.
645 (ToU): Likewise.
646 (insns): Make use of above macros for new instructions introduced in
647 Armv8-M.
648
649 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
650
651 * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
652 and vlstm conditionally executable and reindent parameters.
653 * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
654 aforementionned instructions.
655
656 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
657
658 * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
659 profile architecture or if in autodetection mode. Clarify that
660 deprecation is for performance reason and concerns Armv8-A and Armv8-R.
661 * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
662 message.
663 * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
664 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
665 * testsuite/gas/arm/udf.l: Likewise.
666 * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
667
668 2018-01-15 Nick Clifton <nickc@redhat.com>
669
670 * po/uk.po: Updated Ukranian translation.
671
672 2018-01-13 Nick Clifton <nickc@redhat.com>
673
674 * po/gas.pot: Regenerated.
675
676 2018-01-13 Nick Clifton <nickc@redhat.com>
677
678 * configure: Regenerate.
679
680 2018-01-13 Nick Clifton <nickc@redhat.com>
681
682 2.30 branch created.
683 * NEWS: Add marker for 2.30.
684
685 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
686
687 * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
688 define to 0 and 1. Remove a dangling reference to "AMD 29000"
689 in a comment.
690
691 2018-01-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
692
693 * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
694 * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
695 * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
696 * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
697 * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
698 * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
699 * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
700 * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
701 tests.
702 * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
703 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
704 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
705 * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
706 * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
707 * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
708 * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
709 * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
710
711 2018-01-11 Alan Modra <amodra@gmail.com>
712
713 * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
714 positive "‘profile’ may be used uninitialized".
715
716 2018-01-10 Jan Beulich <jbeulich@suse.com>
717
718 * testsuite/gas/i386/avx512_4fmaps.s,
719 testsuite/gas/i386/avx512_4fmaps_vl.s,
720 testsuite/gas/i386/x86-64-avx512_4fmaps.s,
721 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
722 Disp8 forms (and the transition happening at the right
723 boundary).
724 * testsuite/gas/i386/avx512_4fmaps.d,
725 testsuite/gas/i386/avx512_4fmaps-intel.d,
726 testsuite/gas/i386/avx512_4fmaps_vl.d,
727 testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
728 testsuite/gas/i386/x86-64-avx512_4fmaps.d,
729 testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
730 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
731 testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
732 expectations.
733
734 2018-01-10 Jan Beulich <jbeulich@suse.com>
735
736 * testsuite/gas/i386/avx512bw.s,
737 testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
738 operands.
739 * testsuite/gas/i386/avx512bw-intel.d,
740 testsuite/gas/i386/avx512bw.d,
741 testsuite/gas/i386/avx512bw_vl-intel.d.
742 testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
743
744 2018-01-09 Jim Wilson <jimw@sifive.com>
745
746 * testsuite/gas/riscv/auipc-x0.d: New.
747 * testsuite/gas/riscv/auipc-x0.s: New.
748
749 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
750
751 * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
752 in Arm execution state, and Armv6T2 and above in Thumb execution
753 state.
754 * testsuite/gas/arm/csdb.s: New.
755 * testsuite/gas/arm/csdb.d: New.
756 * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
757 * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
758
759 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
760
761 * testsuite/gas/aarch64/system.d: Update expected results to expect
762 CSDB for hint 0x14.
763
764 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
765
766 PR gas/22681
767 * testsuite/gas/i386/i386.exp: Run x86-64-movd and
768 x86-64-movd-intel.
769 * testsuite/gas/i386/x86-64-movd-intel.d: New file.
770 * testsuite/gas/i386/x86-64-movd.d: Likewise.
771 * testsuite/gas/i386/x86-64-movd.s: Likewise.
772
773 2018-01-08 Nick Clifton <nickc@redhat.com>
774
775 PR 22553
776 * doc/c-i386.texi (i386-Directives): Document the .largecomm
777 directive.
778
779 2018-01-04 Jim Wilson <jimw@sifive.com>
780
781 * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
782 * testsuite/gas/riscv/priv-reg.d: Likewise.
783
784 2018-01-03 Alan Modra <amodra@gmail.com>
785
786 Update year range in copyright notice of all files.
787
788 2018-01-02 Nick Clifton <nickc@redhat.com>
789
790 PR 18119
791 * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
792 version of ARM MRS instruction.
793
794 For older changes see ChangeLog-2017
795 \f
796 Copyright (C) 2018 Free Software Foundation, Inc.
797
798 Copying and distribution of this file, with or without modification,
799 are permitted in any medium without royalty provided the copyright
800 notice and this notice are preserved.
801
802 Local Variables:
803 mode: change-log
804 left-margin: 8
805 fill-column: 74
806 version-control: never
807 End: