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