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