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