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