]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
Add test for following fork on position-independent executables
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
a8eb42a8
AM
12018-04-11 Alan Modra <amodra@gmail.com>
2
3 * config/aout_gnu.h: Delete.
4 * config/tc-i860.c: Delete.
5 * config/tc-i860.h: Delete.
6 * config/tc-i960.c: Delete.
7 * config/tc-i960.h: Delete.
8 * doc/c-i860.texi: Delete.
9 * doc/c-i960.texi: Delete.
10 * testsuite/gas/i860/README.i860: Delete.
11 * testsuite/gas/i860/bitwise.d: Delete.
12 * testsuite/gas/i860/bitwise.s: Delete.
13 * testsuite/gas/i860/branch.d: Delete.
14 * testsuite/gas/i860/branch.s: Delete.
15 * testsuite/gas/i860/bte.d: Delete.
16 * testsuite/gas/i860/bte.s: Delete.
17 * testsuite/gas/i860/dir-align01.d: Delete.
18 * testsuite/gas/i860/dir-align01.s: Delete.
19 * testsuite/gas/i860/dir-intel01.d: Delete.
20 * testsuite/gas/i860/dir-intel01.s: Delete.
21 * testsuite/gas/i860/dir-intel02.d: Delete.
22 * testsuite/gas/i860/dir-intel02.s: Delete.
23 * testsuite/gas/i860/dir-intel03-err.l: Delete.
24 * testsuite/gas/i860/dir-intel03-err.s: Delete.
25 * testsuite/gas/i860/dual01.d: Delete.
26 * testsuite/gas/i860/dual01.s: Delete.
27 * testsuite/gas/i860/dual02-err.l: Delete.
28 * testsuite/gas/i860/dual02-err.s: Delete.
29 * testsuite/gas/i860/dual03.d: Delete.
30 * testsuite/gas/i860/dual03.s: Delete.
31 * testsuite/gas/i860/fldst01.d: Delete.
32 * testsuite/gas/i860/fldst01.s: Delete.
33 * testsuite/gas/i860/fldst02.d: Delete.
34 * testsuite/gas/i860/fldst02.s: Delete.
35 * testsuite/gas/i860/fldst03.d: Delete.
36 * testsuite/gas/i860/fldst03.s: Delete.
37 * testsuite/gas/i860/fldst04.d: Delete.
38 * testsuite/gas/i860/fldst04.s: Delete.
39 * testsuite/gas/i860/fldst05.d: Delete.
40 * testsuite/gas/i860/fldst05.s: Delete.
41 * testsuite/gas/i860/fldst06.d: Delete.
42 * testsuite/gas/i860/fldst06.s: Delete.
43 * testsuite/gas/i860/fldst07.d: Delete.
44 * testsuite/gas/i860/fldst07.s: Delete.
45 * testsuite/gas/i860/fldst08.d: Delete.
46 * testsuite/gas/i860/fldst08.s: Delete.
47 * testsuite/gas/i860/float01.d: Delete.
48 * testsuite/gas/i860/float01.s: Delete.
49 * testsuite/gas/i860/float02.d: Delete.
50 * testsuite/gas/i860/float02.s: Delete.
51 * testsuite/gas/i860/float03.d: Delete.
52 * testsuite/gas/i860/float03.s: Delete.
53 * testsuite/gas/i860/float04.d: Delete.
54 * testsuite/gas/i860/float04.s: Delete.
55 * testsuite/gas/i860/form.d: Delete.
56 * testsuite/gas/i860/form.s: Delete.
57 * testsuite/gas/i860/i860.exp: Delete.
58 * testsuite/gas/i860/iarith.d: Delete.
59 * testsuite/gas/i860/iarith.s: Delete.
60 * testsuite/gas/i860/ldst01.d: Delete.
61 * testsuite/gas/i860/ldst01.s: Delete.
62 * testsuite/gas/i860/ldst02.d: Delete.
63 * testsuite/gas/i860/ldst02.s: Delete.
64 * testsuite/gas/i860/ldst03.d: Delete.
65 * testsuite/gas/i860/ldst03.s: Delete.
66 * testsuite/gas/i860/ldst04.d: Delete.
67 * testsuite/gas/i860/ldst04.s: Delete.
68 * testsuite/gas/i860/ldst05.d: Delete.
69 * testsuite/gas/i860/ldst05.s: Delete.
70 * testsuite/gas/i860/ldst06.d: Delete.
71 * testsuite/gas/i860/ldst06.s: Delete.
72 * testsuite/gas/i860/pfam.d: Delete.
73 * testsuite/gas/i860/pfam.s: Delete.
74 * testsuite/gas/i860/pfmam.d: Delete.
75 * testsuite/gas/i860/pfmam.s: Delete.
76 * testsuite/gas/i860/pfmsm.d: Delete.
77 * testsuite/gas/i860/pfmsm.s: Delete.
78 * testsuite/gas/i860/pfsm.d: Delete.
79 * testsuite/gas/i860/pfsm.s: Delete.
80 * testsuite/gas/i860/pseudo-ops01.d: Delete.
81 * testsuite/gas/i860/pseudo-ops01.s: Delete.
82 * testsuite/gas/i860/regress01.d: Delete.
83 * testsuite/gas/i860/regress01.s: Delete.
84 * testsuite/gas/i860/shift.d: Delete.
85 * testsuite/gas/i860/shift.s: Delete.
86 * testsuite/gas/i860/simd.d: Delete.
87 * testsuite/gas/i860/simd.s: Delete.
88 * testsuite/gas/i860/system.d: Delete.
89 * testsuite/gas/i860/system.s: Delete.
90 * testsuite/gas/i860/xp.d: Delete.
91 * testsuite/gas/i860/xp.s: Delete.
92 * Makefile.am: Remove i860 and i960 support.
93 * configure.tgt: Likewise.
94 * doc/Makefile.am: Likewise.
95 * doc/all.texi: Likewise.
96 * testsuite/gas/all/gas.exp
97 * config/obj-coff.h: Remove i960 support.
98 * doc/internals.texi: Likewise.
99 * expr.c: Likewise.
100 * read.c: Likewise.
101 * write.c: Likewise.
102 * write.h: Likewise.
103 * testsuite/gas/lns/lns.exp: Likewise.
104 * testsuite/gas/symver/symver.exp: Likewise.
105 * config/tc-m68k.c: Remove BOUT support.
106 * config/tc-score.c: Likewise.
107 * config/tc-score7.c: Likewise.
108 * config/tc-sparc.c: Likewise.
109 * symbols.c: Likewise.
110 * doc/h8.texi: Likewise.
111 * configure.ac: Remove BOUT and i860 support.
112 * doc/as.texinfo: Remove BOUT, i860 and i960 support
113 * Makefile.in: Regenerate.
114 * config.in: Regenerate.
115 * configure: Regenerate.
116 * doc/Makefile.in: Regenerate.
117 * po/POTFILES.in: Regenerate.
118
3cba8b6c
L
1192018-04-05 H.J. Lu <hongjiu.lu@intel.com>
120
121 PR gas/22318
122 * configure: Regenerated.
123
caf0678c
L
1242018-04-04 H.J. Lu <hongjiu.lu@intel.com>
125
126 PR binutils/23025
127 * testsuite/gas/i386/prefix.s: Add tests for vcvtpd2dq with
128 VEX and EVEX prefixes.
129 * testsuite/gas/i386/prefix.d: Updated.
130
f2ab4b42
PB
1312018-03-30 Peter Bergner <bergner@vnet.ibm.com>
132
133 PR binutils/23013
134 * config/tc-ppc.c (ppc_set_cpu): Select appropriate cpu when ppc_obj64
135 and little endian.
136
84f1b9fb
RL
1372018-03-28 Renlin Li <renlin.li@arm.com>
138
139 PR ld/22970
140 * config/tc-aarch64.c (reloc_table): Update entry for tprel_lo12 and
141 tprel_lo12_nc with pseudo relocations.
142 (ldst_lo12_determine_real_reloc_type): Add new relocations support.
143 (parse_operands): Handle BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12 and
144 BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC pseudo relocations.
145 (md_apply_fix): Add handling for new relocation.
146 (aarch64_force_relocation): Likewise.
147 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.d: New.
148 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.s: New.
149 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.d: New.
150 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.s: New.
151 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.d: New.
152 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.s: New.
153 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.d: New.
154 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.s: New.
155 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.d: New.
156 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.s: New.
157 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.d: New.
158 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.s: New.
159 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.d: New.
160 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.s: New.
161 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.d: New.
162 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.s: New.
163 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16-ilp32.d: New.
164 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32-ilp32.d: New.
165 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64-ilp32.d: New.
166 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8-ilp32.d: New.
167 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16-ilp32.d: New.
168 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32-ilp32.d: New.
169 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64-ilp32.d: New.
170 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8-ilp32.d: New.
171
c39e5b26
JB
1722018-03-28 Jan Beulich <jbeulich@suse.com>
173
174 * config/tc-i386.c (check_VecOperands): Replace uses of
175 .vecesize. Always initialize op.
176 * testsuite/gas/i386/avx512_vpopcntdq.s,
177 testsuite/gas/i386/avx512bitalg_vl.s: Add Intel syntax vpopcnt
178 broadcast cases with explicit operand size.
179 * testsuite/gas/i386/avx512_vpopcntdq.d,
180 testsuite/gas/i386/avx512_vpopcntdq-intel.d,
181 testsuite/gas/i386/avx512bitalg_vl.d
182 testsuite/gas/i386/avx512bitalg_vl-intel.d: Adjust expectations.
183
8e6e0792
JB
1842018-03-28 Jan Beulich <jbeulich@suse.com>
185
186 * config/tc-i386.c (struct Broadcast_Operation): Adjust comment.
187 (check_VecOperands): Re-write broadcast validation code.
188 (check_VecOperations): Replace BROADCAST_1TO* uses.
189 * testsuite/gas/i386/inval-avx512f.s: Add various broadcast
190 cases.
191 * testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
192
9f123b91
JB
1932018-03-28 Jan Beulich <jbeulich@suse.com>
194
195 * config/tc-i386.c (process_suffix): Check .todword/.toqword
196 before zapping suffix.
197
9646c87b
JB
1982018-03-28 Jan Beulich <jbeulich@suse.com>
199
200 * testsuite/gas/i386/ilp32/x86-64-simd-suffix.d,
201 testsuite/gas/i386/x86-64-simd-suffix.d: Drop q suffix from
202 cvt*2si.
203
c8d59609
NC
2042018-03-28 Nick Clifton <nickc@redhat.com>
205
206 PR 22988
207 * config/tc-aarch64.c (parse_operands): Add code to handle
208 AARCH64_OPN_SVE_ADDR_R.
209 * testsuite/gas/aarch64/sve.s: Add tests for LDFF1xx instructions
210 with an assumed XZR offset address register.
211 * testsuite/gas/aarch64/sve.d: Update expected disassembly.
212
32546502
JB
2132018-03-22 Jan Beulich <jbeulich@suse.com>
214
215 * config/tc-i386.c (check_VecOperands): Latch
216 i.broadcast->operand into op.
217
1212781b
JB
2182018-03-22 Jan Beulich <jbeulich@suse.com>
219
220 * config/tc-i386.c (match_template): Special case base opcode
221 0xa0 with HLE prefix.
222 * testsuite/gas/i386/hle.s: Add mov-accumulator-to-disp cases.
223 * testsuite/gas/i386/hle.d, testsuite/gas/i386/hle-intel.d:
224 Adjust expectations.
225
9f79e886
JB
2262018-03-22 Jan Beulich <jbeulich@suse.com>
227
228 * testsuite/gas/i386/opts.s: Add bndmov cases.
229 * testsuite/gas/i386/opts.d, testsuite/gas/i386/opts-intel.d,
230 testsuite/gas/i386/sse2avx-opts.d,
231 testsuite/gas/i386/sse2avx-opts-intel.d: Adjust expectations.
232
d6793fa1
JB
2332018-03-22 Jan Beulich <jbeulich@suse.com>
234
235 * config/tc-i386.c (match_mem_size): Extend sub-xmmword
236 exceptions.
237 * testsuite/gas/i386/xmmword.l, testsuite/gas/i386/xmmword.s:
238 New.
239 * testsuite/gas/i386/i386.exp: Run new test.
240
f7768225
JB
2412018-03-22 Jan Beulich <jbeulich@suse.com>
242
243 * config/tc-i386.c (match_template): Also match 2nd and 4th
244 operand's register sizes.
245 * testsuite/gas/i386/unspec.l, testsuite/gas/i386/unspec.s: New.
246 * testsuite/gas/i386/i386.exp: Run new test.
247
315aa1cf
NC
2482018-03-19 Nick Clifton <nickc@redhat.com>
249
250 * po/uk.po: Updated Ukranian translation.
251
ca2fd32c
JW
2522018-03-16 Jim Wilson <jimw@sifive.com>
253
254 * config/tc-riscv.c (check_absolute_expr): Expand comment. New
255 parameter maybe_csr. If maybe_csr and O_symbol, print CSR name.
256 (riscv_ip): Add new argument to check_absolute_expr calls.
257 * testsuite/gas/riscv/bad-csr.d: New.
258 * testsuite/gas/riscv/bad-csr.l: New.
259 * testsuite/gas/riscv/bad-csr.s: New.
260
0e35537d
JW
2612018-03-14 Kito Cheng <kito.cheng@gmail.com>
262
263 * config/tc-riscv.c (opcode_name_list): New.
264 (opcode_names_hash): Likewise.
265 (init_opcode_names_hash): Likewise.
266 (opcode_name_lookup): Likewise.
267 (validate_riscv_insn): New argument length, and add new format
268 which used in .insn directive.
269 (md_begin): Refine hash table initialization logic into
270 init_opcode_hash.
271 (init_opcode_hash): New.
272 (my_getOpcodeExpression): Parse opcode name for .insn.
273 (riscv_ip): New argument hash, able to handle .insn directive.
274 (s_riscv_insn): Handler for .insn directive.
275 (riscv_pseudo_table): New entry for .insn.
276 * doc/c-riscv.texi: Add documentation for .insn directive.
277 * testsuite/gas/riscv/insn.d: Add testcase for .insn directive.
278 * testsuite/gas/riscv/insn.s: Likewise.
279
b4a3689a
NC
2802018-03-13 Nick Clifton <nickc@redhat.com>
281
282 * po/ru.po: Updated Russian translation.
283
80c34c38
L
2842018-03-09 H.J. Lu <hongjiu.lu@intel.com>
285
286 * config/tc-i386.c (optimize_encoding): Encode EVEX instructions
287 with VEX128 if EVEX encoding isn't required.
288 * testsuite/gas/i386/optimize-1.d: Updated.
289 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
290
0ba3a731
L
2912018-03-09 H.J. Lu <hongjiu.lu@intel.com>
292
293 * config/tc-i386.c (check_VecOperations): Strip whitespace.
294 * testsuite/gas/i386/optimize-1.s: Add whitespaces before
295 {%k7} and {z},
296 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
297
0089dace
L
2982018-03-08 H.J. Lu <hongjiu.lu@intel.com>
299
300 * config/tc-i386.c (set_cpu_arch): Set cpu_arch_isa_flags.
301 (md_parse_option): Likewise.
302 (optimize_encoding): Check i.tm.cpu_flags and cpu_arch_isa_flags
303 for cpuavx512vl instead of cpu_arch_flags. Optimize EVEX with
304 EVEX128 when EVEX encoding is required.
305 * testsuite/gas/i386/i386.exp: Run optimize-4, optimize-5,
306 x86-64-optimize-5 and x86-64-optimize-6.
307 * testsuite/gas/i386/optimize-1.d: Updated.
308 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
309 * testsuite/gas/i386/optimize-4.d: New file.
310 * testsuite/gas/i386/optimize-4.s: Likewise.
311 * testsuite/gas/i386/optimize-5.d: Likewise.
312 * testsuite/gas/i386/optimize-5.s: Likewise.
313 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
314 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
315 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
316 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
317
d3d50934
L
3182018-03-08 H.J. Lu <hongjiu.lu@intel.com>
319
320 * config/tc-i386.c (optimize_encoding): Also encode "clr reg64"
321 as "xor reg32, reg32".
322 * testsuite/gas/i386/x86-64-optimize-1.s: Add "clr reg64" tests.
323 * testsuite/gas/i386/x86-64-optimize-1.d: Updated.
324
bd5dea88
L
3252018-03-08 H.J. Lu <hongjiu.lu@intel.com>
326
327 * NEWS: Mention -mold-gcc removal.
328 * config/tc-i386.c (i386_error): Remove old_gcc_only.
329 (old_gcc): Removed.
330 (match_template): Remove old gcc support.
331 (OPTION_MOLD_GCC): Removed.
332 (OPTION_MRELAX_RELOCATIONS): Updated.
333 (md_longopts): Remove OPTION_MOLD_GCC.
334 (md_parse_option): Likewise.
335 (md_show_usage): Remove -mold-gcc.
336 * testsuite/gas/i386/general.s: Convert fsub/fdiv tests for old
337 (<= 2.8.1) versions of gcc.
338 * testsuite/gas/i386/intel.s: Likewise.
339 * testsuite/gas/i386/general.l: Updated.
340 * testsuite/gas/i386/intel-intel.d: Likewise.
341 * testsuite/gas/i386/intel.d: Likewise.
342 * testsuite/gas/i386/intel.e: Likewise.
343 * testsuite/gas/i386/i386.exp: Don't pass -mold-gcc to general.
344
e771e7c9
JB
3452018-03-08 Jan Beulich <jbeulich@suse.com>
346
347 * config/tc-i386.c (is_evex_encoding): New.
348 (optimize_encoding, md_assemble, md_assemble,
349 VEX_check_operands, build_modrm_byte): Use is_evex_encoding.
350 (build_evex_prefix): Derive EVEX length field from actual
351 operands if the template allows multiple ones.
352
ed438a93
JB
3532018-03-08 Jan Beulich <jbeulich@suse.com>
354
355 * config/tc-i386.c (build_modrm_byte): Make VexNDD handling cope
356 with 3rd (immediate) operand.
357
d2224064
JB
3582018-03-08 Jan Beulich <jbeulich@suse.com>
359
360 * config/tc-i386.c (XMMWORD_MNEM_SUFFIX, YMMWORD_MNEM_SUFFIX,
361 ZMMWORD_MNEM_SUFFIX): Delete.
362 (process_suffix): Drop their uses. Re-arrange final part of
363 logic into a switch() statement. Drop special casing of
364 cmpxchg8b.
365
23e42951
JB
3662018-03-08 Jan Beulich <jbeulich@suse.com>
367
368 * config/tc-i386.c (match_template): Also match register
369 operands 0 and 2 for 3-operand forms.
370 * testsuite/gas/i386/unspec64.l, testsuite/gas/i386/unspec64.s:
371 New.
372 * testsuite/gas/i386/i386.exp: Run new test.
373
8819ada6
JB
3742018-03-08 Jan Beulich <jbeulich@suse.com>
375
376 * config/tc-i386.c (process_suffix): Do common part of register
377 checks first.
378
548d0ee6
JB
3792018-03-08 Jan Beulich <jbeulich@suse.com>
380
381 * config/tc-i386.c (parse_insn): Move success return up. Combine
382 failure returns.
383
929f69fa
JB
3842018-03-08 Jan Beulich <jbeulich@suse.com>
385
386 * config/tc-i386.c (cpu_flags_match): Add GFNI check to AVX
387 logic. Add respective logic for AVX512F.
388 * testsuite/gas/i386/arch-avx-1.s: Add GFNI test.
389 testsuite/gas/i386/arch-avx-1.d,
390 testsuite/gas/i386/arch-avx-1-1.l,
391 testsuite/gas/i386/arch-avx-1-2.l,
392 testsuite/gas/i386/arch-avx-1-3.l,
393 testsuite/gas/i386/arch-avx-1-4.l,
394 testsuite/gas/i386/arch-avx-1-5.l,
395 testsuite/gas/i386/arch-avx-1-6.l: Adjust expectations.
396 * testsuite/gas/i386/arch-avx-1-7.l,
397 testsuite/gas/i386/arch-avx-1-7.s,
398 testsuite/gas/i386/arch-avx-1-8.l,
399 testsuite/gas/i386/arch-avx-1-8.s,
400 testsuite/gas/i386/avx512f-plain.l,
401 testsuite/gas/i386/avx512f-plain.s,
402 testsuite/gas/i386/avx512vl-plain.l,
403 testsuite/gas/i386/avx512vl-plain.s: New.
404 * testsuite/gas/i386/i386.exp: Run new tests.
405
ab592e75
JB
4062018-03-08 Jan Beulich <jbeulich@suse.com>
407
408 * config/tc-i386.c (cpu_flags_match): Move AVX512VL check ahead.
409
db12e14e
JB
4102018-03-08 Jan Beulich <jbeulich@suse.com>
411
412 * config/tc-i386.c (CPU_FLAGS_32BIT_MATCH): Delete.
413 (cpu_flags_match): Use CPU_FLAGS_ARCH_MATCH instead of
414 CPU_FLAGS_32BIT_MATCH.
415
b9d49817
JB
4162018-03-08 Jan Beulich <jbeulich@suse.com>
417
418 * config/tc-i386.c (CPU_FLAGS_AES_MATCH, CPU_FLAGS_AVX_MATCH,
419 CPU_FLAGS_PCLMUL_MATCH): Delete.
420 (CPU_FLAGS_32BIT_MATCH): Drop uses of deleted CPU_FLAGS_*_MATCH.
421 (cpu_flags_match): Combine AVX checks into
422 single if().
423
bcb1753e
JB
4242018-03-08 Jan Beulich <jbeulich@suse.com>
425
426 * config/tc-i386.c (cpu_flags_match): Drop "else" branches
427 setting CPU_FLAGS_ARCH_MATCH.
428
6e3e5c9e
JB
4292018-03-08 Jan Beulich <jbeulich@suse.com>
430
431 * config/tc-i386.c (md_assemble): Extend SSE check conditional.
432 * testsuite/gas/i386/ilp32/x86-64-sse-check-none.d,
433 testsuite/gas/i386/ilp32/x86-64-sse-check-warn.d,
434 testsuite/gas/i386/ilp32/x86-64-sse-check.d,
435 testsuite/gas/i386/sse-check-none.d,
436 testsuite/gas/i386/sse-check-warn.d,
437 testsuite/gas/i386/x86-64-sse-check.d,
438 testsuite/gas/i386/x86-64-sse-check-none.d,
439 testsuite/gas/i386/x86-64-sse-check-warn.d: Refer to sse-check.d.
440 * testsuite/gas/i386/sse-check.s: Add AES, GFNI, and PCLMUL
441 tests.
442 * testsuite/gas/i386/sse-check-none.s: Replace code by inclusion
443 of sse-check.s.
444 * testsuite/gas/i386/sse-check.d: Adjust expectations.
445 * testsuite/gas/i386/sse-check-error.l,
446 testsuite/gas/i386/x86-64-sse-check-error.l: Likewise.
447 * testsuite/gas/i386/sse-check-warn.e: Likewise.
448
38e314eb
JB
4492018-03-08 Jan Beulich <jbeulich@suse.com>
450
451 * config/tc-i386.c (operand_size_match): Drop / replace uses of
452 .floatd.
453
d53e6b98
JB
4542018-03-08 Jan Beulich <jbeulich@suse.com>
455
456 * testsuite/gas/i386/intel-intel.d: New.
457 * testsuite/gas/i386/i386.exp: Run new test.
458
a477a8c4
JB
4592018-03-08 Jan Beulich <jbeulich@suse.com>
460
461 * config/tc-i386.c (process_operands): Access operands only
462 after operand count assertion. Sanitize warning text. Fix
463 indentation.
464 * testsuite/gas/i386/avx512_4fmaps-warn.l,
465 gas/i386/x86-64-avx512_4fmaps-warn.l: Adjust expectations.
466
2907c2f5
JB
4672018-03-08 Jan Beulich <jbeulich@suse.com>
468
469 * testsuite/gas/i386/x86-64-movd.s: Drop bogus vmovd memory forms.
470 * testsuite/gas/i386/x86-64-movd.d,
471 testsuite/gas/i386/x86-64-movd-intel.d: Adjust expectations.
472
73053c1f
JB
4732018-03-08 Jan Beulich <jbeulich@suse.com>
474
475 * config/tc-i386.c (operand_type_and_not): New.
476 (build_modrm_byte): Use it to prevent clearing unrelated bits.
477
6a7524c6
AM
4782018-03-08 Alan Modra <amodra@gmail.com>
479
480 * config/tc-ppc.c (ppc_handle_align): Correct last patch. Really
481 don't emit a group terminating nop for power9. Simplify cpu
482 tests.
483
3fea0c3b
AM
4842018-03-08 Alan Modra <amodra@gmail.com>
485
486 * config/tc-ppc.c (ppc_handle_align): Don't emit a group
487 terminating nop for power9.
488
3ae729d5
L
4892018-03-07 H.J. Lu <hongjiu.lu@intel.com>
490
491 PR gas/22874
492 * config/tc-i386.c (f32_5): Removed.
493 (f32_8): Likewise.
494 (f32_9): Likewise.
495 (f32_10): Likewise.
496 (f32_11): Likewise.
497 (f32_12): Likewise.
498 (f32_13): Likewise.
499 (f32_14): Likewise.
500 (f16_5): Likewise.
501 (f16_6): Likewise.
502 (f16_7): Likewise.
503 (f16_8): Likewise.
504 (jump_31): Likewise.
505 (alt64_11): Likewise.
506 (alt64_patt): Likewise.
507 (jump_disp8): New.
508 (jump32_disp32): Likewise.
509 (jump16_disp32): Likewise.
510 (alt_11): Likewise.
511 (f32_patt): Updated.
512 (f16_patt): Likewise.
513 (alt_patt): Add alt_11.
514 (i386_align_code): Merged with ...
515 (i386_generate_nops): This. Rewritten.
516 (fits_in_imm7): Moved before i386_generate_nops.
517 (fits_in_imm31): Likewise.
518 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Updated to
519 4095.
520 (i386_align_code): Removed.
521 (HANDLE_ALIGN): Rewritten with i386_generate_nops.
522 * doc/as.texinfo: Update limits of control byte for x86 .nops
523 directive.
524 * testsuite/gas/i386/i386.exp: Run nops-7 and x86-64-nops-7.
525 * gas/testsuite/gas/i386/noavx-3.l: Updated.
526 * gas/testsuite/gas/i386/nop-1.d: Likewise.
527 * gas/testsuite/gas/i386/nop-1.s: Likewise.
528 * gas/testsuite/gas/i386/nop-2.d: Likewise.
529 * gas/testsuite/gas/i386/nop-2.s: Likewise.
530 * gas/testsuite/gas/i386/nop-3.d: Likewise.
531 * gas/testsuite/gas/i386/nop-4.d: Likewise.
532 * gas/testsuite/gas/i386/nop-5.d: Likewise.
533 * gas/testsuite/gas/i386/nop-5.s: Likewise.
534 * gas/testsuite/gas/i386/nop-6.d: Likewise.
535 * gas/testsuite/gas/i386/nop-bad-1.l: Likewise.
536 * gas/testsuite/gas/i386/nops-1-core2.d: Likewise.
537 * gas/testsuite/gas/i386/nops-1-i386-i686.d: Likewise.
538 * gas/testsuite/gas/i386/nops-1-i386.d: Likewise.
539 * gas/testsuite/gas/i386/nops-1-i686.d: Likewise.
540 * gas/testsuite/gas/i386/nops-1-k8.d: Likewise.
541 * gas/testsuite/gas/i386/nops-1.d: Likewise.
542 * gas/testsuite/gas/i386/nops-2-core2.d: Likewise.
543 * gas/testsuite/gas/i386/nops-2-i386.d: Likewise.
544 * gas/testsuite/gas/i386/nops-2.d: Likewise.
545 * gas/testsuite/gas/i386/nops-3-i386.d: Likewise.
546 * gas/testsuite/gas/i386/nops-3-i686.d: Likewise.
547 * gas/testsuite/gas/i386/nops-3.d: Likewise.
548 * gas/testsuite/gas/i386/nops-4-i386.d: Likewise.
549 * gas/testsuite/gas/i386/nops-4-i686.d: Likewise.
550 * gas/testsuite/gas/i386/nops-4.d: Likewise.
551 * gas/testsuite/gas/i386/nops-4a-i686.d: Likewise.
552 * gas/testsuite/gas/i386/nops-5-i686.d: Likewise.
553 * gas/testsuite/gas/i386/nops-5.d: Likewise.
554 * gas/testsuite/gas/i386/nops-6.d: Likewise.
555 * gas/testsuite/gas/i386/nops16-1.d: Likewise.
556 * gas/testsuite/gas/i386/x86-64-nop-1.d: Likewise.
557 * gas/testsuite/gas/i386/x86-64-nop-2.d: Likewise.
558 * gas/testsuite/gas/i386/x86-64-nop-5.d: Likewise.
559 * gas/testsuite/gas/i386/x86-64-nops-1-core2.d: Likewise.
560 * gas/testsuite/gas/i386/x86-64-nops-1-g64.d: Likewise.
561 * gas/testsuite/gas/i386/x86-64-nops-1-k8.d: Likewise.
562 * gas/testsuite/gas/i386/x86-64-nops-1-pentium.d: Likewise.
563 * gas/testsuite/gas/i386/x86-64-nops-1.d: Likewise.
564 * gas/testsuite/gas/i386/x86-64-nops-2.d: Likewise.
565 * gas/testsuite/gas/i386/x86-64-nops-3.d: Likewise.
566 * gas/testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise.
567 * gas/testsuite/gas/i386/x86-64-nops-4-k8.d: Likewise.
568 * gas/testsuite/gas/i386/x86-64-nops-4.d: Likewise.
569 * gas/testsuite/gas/i386/x86-64-nops-5-k8.d: Likewise.
570 * gas/testsuite/gas/i386/x86-64-nops-5.d: Likewise.
571 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise.
572 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise.
573 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-pentium.d: Likewise.
574 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1.d: Likewise.
575 * gas/testsuite/gas/i386/ilp32/x86-64-nops-2.d: Likewise.
576 * gas/testsuite/gas/i386/ilp32/x86-64-nops-3.d: Likewise.
577 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
578 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise.
579 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4.d: Likewise.
580 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
581 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5.d: Likewise.
582 * gas/testsuite/gas/i386/nops-7.d: New file.
583 * gas/testsuite/gas/i386/nops-7.s: Likewise.
584 * gas/testsuite/gas/i386/x86-64-nops-7.d: Likewise.
585
52fe4420
AM
5862018-03-07 Alan Modra <amodra@gmail.com>
587
588 * testsuite/gas/ppc/aix.exp: Run for rs6000 too.
589 * testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets.
590 * testsuite/gas/ppc/machine.d: Don't run for PE targets.
591
e7da50fa
TP
5922018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
593
594 * config/tc-arm.c (md_begin): Add NULL pointer check before
595 dereferencing march_ext_opt.
596
4d354d8b
TP
5972018-03-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
598
599 * config/tc-arm.c (cpu_variant, arm_arch_used, thumb_arch_used,
600 legacy_cpu, legacy_fpu, mcpu_cpu_opt, dyn_mcpu_ext_opt,
601 mcpu_fpu_opt, march_cpu_opt, dyn_march_ext_opt, march_fpu_opt,
602 mfpu_opt, object_arch, selected_cpu): Comment meaning of variables.
603 (dyn_mcpu_ext_opt): Also rename into ...
604 (mcpu_ext_opt): This.
605 (dyn_march_ext_opt): Also rename into ...
606 (march_ext_opt): This.
607 (object_arch): Also rename into ...
608 (selected_object_arch): This and make it a plain arm_feature_set
609 structure.
610 (selected_arch, selected_ext, selected_fpu): New static variables.
611 (mark_feature_used): Fix comments, feature is marked as used iff it is
612 currently allowed.
613 (do_bx): Adapt to change in name and type of object_arch.
614 (md_begin): Set selected_arch rather than mcpu_cpu_opt, selected_ext
615 rather than dyn_mcpu_ext_opt and selected_fpu rather than mfpu_opt.
616 Remove dead code to set default FPU if architecture version is greater
617 than 5. Set all CPU bits of cpu_variant directly in autodection
618 leaving mcpu_cpu_opt, selected_arch and selected_cpu unset.
619 (arm_parse_extension): Take extension feature set pointer parameter by
620 value rather than by pointer. Remove allocation code. Adapt code
621 accordingly.
622 (arm_parse_cpu): Adapt to variable renaming and changes in
623 arm_parse_extension () signature.
624 (arm_parse_arch): Likewise.
625 (aeabi_set_public_attributes): Also set selected_arch and selected_ext
626 in addition to selected_cpu. Set flags_arch and flags_ext from them
627 instead of selected_cpu. Adapt to variables renaming and type change.
628 (arm_md_post_relax): Adapt to variable renaming.
629 (s_arm_cpu): Set selcted_cpu_cpu and selected_ext instead of
630 mcpu_cpu_opt and dyn_mcpu_ext_opt. Set selected_cpu from them and
631 cpu_variant from selected_cpu and selected_fpu.
632 (s_arm_arch): Likewise.
633 (s_arm_object_arch): Adapt to variable renaming.
634 (s_arm_arch_extension): Use ARM_CPU_IS_ANY instead of checking feature
635 set against arm_any. Check selected_arch rather than *mcpu_cpu_opt.
636 Set selected_ext rather than *dyn_mcpu_ext_opt and remove allocation
637 code.
638 (s_arm_fpu): Set selected_fpu instead of mfpu_opt. Set all CPU feature
639 bits if in autodetection mode.
640
8305403a
L
6412018-03-01 H.J. Lu <hongjiu.lu@intel.com>
642
643 * config/tc-i386.c (optimize_encoding): Optimize AVX256 and
644 AVX512 vpsub[bwdq] instructions.
645 * testsuite/gas/i386/optimize-1.s: Add tests for AVX256 and
646 AVX512 vpsub[bwdq] instructions.
647 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
648 * testsuite/gas/i386/optimize-1.d: Updated.
649 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
650
e184813f
AM
6512018-03-01 Alan Modra <amodra@gmail.com>
652
653 * configure.ac (ALL_LINGUAS): Add uk. Sort.
654 * configure: Regenerate.
655
8f065d3b
L
6562018-02-27 H.J. Lu <hongjiu.lu@intel.com>
657
658 * NEWS: Rename .nop to .nops.
659 * doc/as.texinfo: Likewise.
660 * read.c (potable): Add "nops". Remove "nop".
661 (s_nop): Renamed to ...
662 (s_nops): This.
663 * read.h (s_nop): Renamed to ...
664 (s_nops): This.
665 * write.c (cvt_frag_to_fill): Rename .nop to .nops.
666 (md_generate_nops): Likewise.
667 (relax_segment): Likewise.
668 * testsuite/gas/i386/nop-1.d: Updated.
669 * testsuite/gas/i386/nop-1.s: Likewise.
670 * testsuite/gas/i386/nop-2.d: Likewise.
671 * testsuite/gas/i386/nop-2.s: Likewise.
672 * testsuite/gas/i386/nop-3.d: Likewise.
673 * testsuite/gas/i386/nop-3.s: Likewise.
674 * testsuite/gas/i386/nop-4.d: Likewise.
675 * testsuite/gas/i386/nop-4.s: Likewise.
676 * testsuite/gas/i386/nop-5.d: Likewise.
677 * testsuite/gas/i386/nop-5.s: Likewise.
678 * testsuite/gas/i386/nop-6.d: Likewise.
679 * testsuite/gas/i386/nop-6.s: Likewise.
680 * testsuite/gas/i386/nop-bad-1.l: Likewise.
681 * testsuite/gas/i386/nop-bad-1.s: Likewise.
682 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
683 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
684 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
685 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
686 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
687 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
688
b6f8c7c4
L
6892018-02-27 H.J. Lu <hongjiu.lu@intel.com>
690
691 PR gas/22871
692 * NEWS: Mention -O[2|s].
693 * config/tc-i386.c (_i386_insn): Add no_optimize.
694 (optimize): New.
695 (optimize_for_space): Likewise.
696 (fits_in_imm7): New function.
697 (fits_in_imm31): Likewise.
698 (optimize_encoding): Likewise.
699 (md_assemble): Call optimize_encoding to optimize encoding.
700 (parse_insn): Handle {nooptimize}.
701 (md_shortopts): Append "O::".
702 (md_parse_option): Handle -On.
703 * doc/c-i386.texi: Document -O0, -O, -O1, -O2 and -Os as well
704 as {nooptimize}.
705 * testsuite/gas/cfi/cfi-x86_64.d: Pass -O0 to assembler.
706 * testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d: Likewise.
707 * testsuite/gas/i386/i386.exp: Run optimize-1, optimize-2,
708 optimize-3, x86-64-optimize-1, x86-64-optimize-2,
709 x86-64-optimize-3 and x86-64-optimize-4.
710 * testsuite/gas/i386/optimize-1.d: New file.
711 * testsuite/gas/i386/optimize-1.s: Likewise.
712 * testsuite/gas/i386/optimize-2.d: Likewise.
713 * testsuite/gas/i386/optimize-2.s: Likewise.
714 * testsuite/gas/i386/optimize-3.d: Likewise.
715 * testsuite/gas/i386/optimize-3.s: Likewise.
716 * testsuite/gas/i386/x86-64-optimize-1.s: Likewise.
717 * testsuite/gas/i386/x86-64-optimize-1.d: Likewise.
718 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
719 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
720 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
721 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
722 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
723 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
724
bc7c0509
NC
7252018-02-27 Nick Clifton <nickc@redhat.com>
726
727 * po/ru.po: Updated Russian translation.
728
d7c79856
MR
7292018-02-26 Maciej W. Rozycki <macro@mips.com>
730
731 * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds'
732 descriptions.
733
46c685ac
NC
7342018-02-26 Nick Clifton <nickc@redhat.com>
735
736 * doc/as.texinfo (Dc): Fix typo.
737
2c1c9679 7382018-02-26 Alan Modra <amodra@gmail.com>
6e05870c
AM
739
740 * testsuite/gas/mips/reginfo-2.l: Update.
741
7422018-02-23 Alan Modra <amodra@gmail.com>
2c1c9679
AM
743
744 * testsuite/gas/mips/reginfo-2.l: Update.
745
340d33e5
NC
7462018-02-23 Nick Clifton <nickc@redhat.com>
747
748 * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds.
749
e859f655
KLC
7502018-02-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
751
752 * config/tc-nds32.c (ict_model): New function. Hook new
753 directive .ict_model.
754 (nds32_insert_relax_entry): Tag the bits of entry relocation
755 for .ict_model.
756
6b6b6807
L
7572018-02-22 H.J. Lu <hongjiu.lu@intel.com>
758
759 * config/tc-i386.c (_i386_insn): Add rex_encoding.
760 (md_assemble): When i.rex_encoding is true, generate a REX byte
761 if possible.
762 (parse_insn): Set i.rex_encoding for {rex}.
763 * doc/c-i386.texi: Document {rex}.
764 * testsuite/gas/i386/x86-64-pseudos.s: Add {rex} tests.
765 * testsuite/gas/i386/x86-64-pseudos.d: Updated.
766
39334a61
W
7672018-02-22 A. Wilcox <awilfox@adelielinux.org>
768
769 PR 22014
770 * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the
771 instruction size suffix.
772
1f1e0a5d
MR
7732018-02-20 Maciej W. Rozycki <macro@mips.com>
774
775 * testsuite/gas/mips/mips16-branch-reloc-4.d: New test.
776 * testsuite/gas/mips/mips16-branch-reloc-5.d: New test.
777 * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source.
778 * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source.
779 * testsuite/gas/mips/mips.exp: Run the new tests.
780
cd665a94
MF
7812018-02-20 Max Filippov <jcmvbkbc@gmail.com>
782
783 * config/tc-xtensa.c (struct litpool_frag): Add new field
784 literal_count.
785 (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS)
786 (MAX_POOL_LITERALS): New macro definitions.
787 (auto_litpool_limit): Initialize to 0.
788 (md_parse_option): Set auto_litpool_limit in the presence of
789 --auto-litpools option.
790 (xtensa_maybe_create_literal_pool_frag): Zero-initialize
791 literal_count field.
792 (xg_find_litpool): New function. Make sure that found literal
793 pool size is within the limit.
794 (xtensa_move_literals): Extract literal pool search code into
795 the new function.
796 * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test.
797 * testsuite/gas/xtensa/auto-litpools-2.d: New file.
798 * testsuite/gas/xtensa/auto-litpools-2.s: New file.
799 * testsuite/gas/xtensa/auto-litpools.d: Fix up changed
800 addresses.
801 * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
802 that objdump doesn't get out of sync.
803
8811c8f4
TP
8042018-02-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
805
806 * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
807 also the same as -march.
808
62a02d25
L
8092018-02-17 H.J. Lu <hongjiu.lu@intel.com>
810
811 * NEWS: Mention .nop directive.
812 * as.h (_relax_state): Add rs_space_nop and rs_fill_nop.
813 * read.c (potable): Add .nop.
814 (s_nop): New function.
815 * read.h (s_nop): New prototype.
816 * write.c (cvt_frag_to_fill): Handle rs_space_nop and
817 rs_fill_nop.
818 (md_generate_nops): New function.
819 (relax_segment): Likewise.
820 (write_contents): Use md_generate_nops for rs_fill_nop.
821 * config/tc-i386.c (alt64_11): New.
822 (alt64_patt): Likewise.
823 (md_convert_frag): Handle rs_space_nop.
824 (i386_output_nops): New function.
825 (i386_generate_nops): Likewise.
826 (i386_align_code): Call i386_output_nops.
827 * config/tc-i386.h (i386_generate_nops): New.
828 (md_generate_nops): Likewise.
829 * doc/as.texinfo: Document .nop directive.
830 * testsuite/gas/i386/i386.exp: Run .nop directive tests.
831 * testsuite/gas/i386/nop-1.d: New file.
832 * testsuite/gas/i386/nop-1.s: Likewise.
833 * testsuite/gas/i386/nop-2.d: Likewise.
834 * testsuite/gas/i386/nop-2.s: Likewise.
835 * testsuite/gas/i386/nop-3.d: Likewise.
836 * testsuite/gas/i386/nop-3.s: Likewise.
837 * testsuite/gas/i386/nop-4.d: Likewise.
838 * testsuite/gas/i386/nop-4.s: Likewise.
839 * testsuite/gas/i386/nop-5.d: Likewise.
840 * testsuite/gas/i386/nop-5.s: Likewise.
841 * testsuite/gas/i386/nop-6.d: Likewise.
842 * testsuite/gas/i386/nop-6.s: Likewise.
843 * testsuite/gas/i386/nop-bad-1.l: Likewise.
844 * testsuite/gas/i386/nop-bad-1.s: Likewise.
845 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
846 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
847 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
848 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
849 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
850 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
851
49ded53d
TC
8522018-02-15 Tamar Christina <tamar.christina@arm.com>
853
854 * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
855 * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
856
db5d5ad1
MF
8572018-02-13 Max Filippov <jcmvbkbc@gmail.com>
858
859 * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
860 frag that contains source address.
861
db7bf105
NC
8622018-02-13 Nick Clifton <nickc@redhat.com>
863
864 PR 22773
865 * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
866 instruction before assuming that it is a MOV instruction.
867 * testsuite/gas/arm/pr22773.s: New test.
868 * testsuite/gas/arm/pr22773.d: New test driver.
869 * testsuite/gas/arm/pr22773.l: New expected output.
870
bd7ab16b
L
8712018-02-13 H.J. Lu <hongjiu.lu@intel.com>
872
873 PR gas/22791
874 * config/tc-i386.c (need_plt32_p): New function.
875 (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
876 (md_estimate_size_before_relax): Likewise.
877 * testsuite/gas/i386/reloc64.d: Updated.
878 * testsuite/gas/i386/x86-64-jump.d: Likewise.
879 * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
880 * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
881 * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
882 * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
883 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
884 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
885
30147392
MR
8862018-02-13 Maciej W. Rozycki <macro@mips.com>
887
888 * testsuite/gas/mips/loongson-3a-2.d: Rename test.
889
68d20676
NC
8902018-02-13 Nick Clifton <nickc@redhat.com>
891
892 PR 22823
893 * config/obj-elf.c (elf_pseudo_table): Remove now redundant
894 casts.
895 (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit.
896 (obj_elf_vtable_inherit): New stub function that calls
897 obj_elf_get_vtable_inherit.
898 (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry.
899 (obj_elf_vtable_entry): New stub function that calls
900 obj_elf_get_vtable_entry.
901 * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype.
902 (obj_elf_vtable_entry) Likewise.
903 (obj_elf_get_vtable_inherit) Likewise.
904 (obj_elf_get_vtable_entry) Likewise.
905 * config/tc-arm.c (md_pseudo_table): Remove now redundant cast.
906 * config/tc-i386c (md_pseudo_table): Likewise.
907 * config/tc-hppa.c (pa_vtable_entry): Call
908 obj_elf_get_vtable_entry.
909 (pa_vtable_inherit): Call obj_elf_get_vtable_inherit.
910 * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file
911 with call to dwarf2_get_filename.
912 * dwarf2dbg.c (dwarf2_directive_file): Rename to
913 dwarf2_directive_filename.
914 (dwarf2_directive_file): New stub function that calls
915 dwarf2_directive_filename.
916 * dwarf2dbg.h: Prototype dwarf2_directive_filename.
917
12a43565
MR
9182018-02-12 Maciej W. Rozycki <macro@mips.com>
919
920 * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
921 `as' flags.
922
d2159fdc
HW
9232018-02-12 Henry Wong <henry@stuffedcow.net>
924
925 * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix.
926 * testsuite/gas/mips/r6-n32.d: Likewise.
927 * testsuite/gas/mips/r6-n64.d: Likewise.
928
7e784da5
NC
9292018-02-12 Nick Clifton <nickc@redhat.com>
930
931 * po/ru.po: Updated Russian translation.
932
a9479dc0
AM
9332018-02-08 Alan Modra <amodra@gmail.com>
934
935 PR 22819
936 * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
937 (ppc_frag_check): Likewise.
938 * testsuite/gas/ppc/misalign.d,
939 * testsuite/gas/ppc/misalign.l,
940 * testsuite/gas/ppc/misalign.s: New test.
941 * testsuite/gas/ppc/misalign2.d,
942 * testsuite/gas/ppc/misalign2.s: New test.
943 * testsuite/gas/ppc/ppc.exp: Run them.
944
89424b1d
MR
9452018-02-05 Maciej W. Rozycki <macro@mips.com>
946
947 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
948 `expr' parameter to `ep'.
949
2d6dda71
MR
9502018-02-05 Maciej W. Rozycki <macro@mips.com>
951
952 * testsuite/gas/mips/reginfo-2.d: New test.
953 * testsuite/gas/mips/reginfo-2-n32.d: New test.
954 * testsuite/gas/mips/reginfo-2.l: New test stderr output.
955 * testsuite/gas/mips/reginfo-2.s: New test source.
956 * testsuite/gas/mips/mips.exp: Run the new tests.
957
f174ef9f
NC
9582018-02-05 Nick Clifton <nickc@redhat.com>
959
960 * po/ru.po: Updated Russian translation.
961
ab1fadc6
AM
9622018-01-31 Alan Modra <amodra@gmail.com>
963
964 PR 22714
965 * app.c (last_char): New static var.
966 (struct app_save): Add last_char field.
967 (app_push, app_pop): Handle it.
968 (do_scrub_chars): Use last_char in test for "\@". Set last_char.
969
d85815e2
EB
9702018-01-29 Eric Botcazou <ebotcazou@adacore.com>
971
972 PR gas/22738
973 * config/tc-sparc.h (sparc_mach): Declare.
974 (TARGET_MACH): Define to above.
975 * config/tc-sparc.c (sparc_mach): New function.
976 (sparc_md_end): Minor tweak.
977
c32b891a
NC
9782018-01-29 Nick Clifton <nickc@redhat.com>
979
980 * po/ru.po: Updated Russian translation.
981
1e3f5548
MR
9822018-01-26 Maciej W. Rozycki <macro@mips.com>
983
984 * configure.tgt: Use generic emulation for `mips-*-windiss',
985 overriding the blanket choice made for `*-*-windiss'.
986
c00f0d7a
MR
9872018-01-26 Maciej W. Rozycki <macro@mips.com>
988
989 * configure.tgt: Use `mips-*-sysv4*' rather than
990 `mips-*-sysv4*MP*'.
991
32247401
RL
9922018-01-24 Renlin Li <renlin.li@arm.com>
993
994 * config/tc-aarch64.c (reloc_table): add entries for
995 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
996 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
997 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
998 BFD_RELOC_AARCH64_MOVW_PREL_G3.
999 (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
1000 (md_apply_fix): Likewise
1001 * testsuite/gas/aarch64/prel_g0.s: New.
1002 * testsuite/gas/aarch64/prel_g0.d: New.
1003 * testsuite/gas/aarch64/prel_g0_nc.s: New.
1004 * testsuite/gas/aarch64/prel_g0_nc.d: New.
1005 * testsuite/gas/aarch64/prel_g1.s: New.
1006 * testsuite/gas/aarch64/prel_g1.d: New.
1007 * testsuite/gas/aarch64/prel_g1_nc.s: New.
1008 * testsuite/gas/aarch64/prel_g1_nc.d: New.
1009 * testsuite/gas/aarch64/prel_g2.s: New.
1010 * testsuite/gas/aarch64/prel_g2.d: New.
1011 * testsuite/gas/aarch64/prel_g2_nc.s: New.
1012 * testsuite/gas/aarch64/prel_g2_nc.d: New.
1013 * testsuite/gas/aarch64/prel_g3.s: New.
1014 * testsuite/gas/aarch64/prel_g3.d: New.
1015
0984958b
MR
10162018-01-23 Maciej W. Rozycki <macro@mips.com>
1017
1018 * configure.ac: Also set `mips_default_abi' to N32_ABI for
1019 `mips64*-ps2-elf*'.
1020 * configure: Regenerate.
1021
62fd0a98
MR
10222018-01-23 Maciej W. Rozycki <macro@mips.com>
1023
1024 * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
1025 enum value.
1026
be3a8dca
IT
10272018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1028
1029 * config/tc-i386.c (cpu_arch): Add .pconfig.
1030 * doc/c-i386.texi: Document .pconfig.
1031 * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
1032 * testsuite/gas/i386/pconfig-intel.d: New test.
1033 * testsuite/gas/i386/pconfig.d: Likewise.
1034 * testsuite/gas/i386/pconfig.s: Likewise.
1035 * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
1036 * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
1037 * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
1038
3233d7d0
IT
10392018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1040
1041 * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
1042 * doc/c-i386.texi: Document .wbnoinvd.
1043 * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
1044 * testsuite/gas/i386/wbnoinvd-intel.d: New test.
1045 * testsuite/gas/i386/wbnoinvd.d: Likewise.
1046 * testsuite/gas/i386/wbnoinvd.s: Likewise.
1047 * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
1048 * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
1049 * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
1050
b4f6242e
MR
10512018-01-23 Maciej W. Rozycki <macro@mips.com>
1052
1053 * config/tc-mips.c (md_show_usage): Correctly indicate the
1054 configuration-specific default ABI.
1055
f866b262
MR
10562018-01-23 Maciej W. Rozycki <macro@mips.com>
1057
1058 * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
1059 `-mno-mips16e2' options.
1060
75c80ee1
MR
10612018-01-22 Maciej W. Rozycki <macro@mips.com>
1062
1063 * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
1064 Correct syntax of the `.set nomips16e2' directive description.
1065
49da480f
OE
10662018-01-22 Oleg Endo <olegendo@gcc.gnu.org>
1067
1068 PR 22737
1069 * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
1070 * testsuite/gas/rx/pr22737.s: New test.
1071 * testsuite/gas/rx/pr22737.d: Likewise.
1072 * testsuite/gas/rx/rx.exp: Run the new test.
1073
a3ab6cb0
TP
10742018-01-19 Thomas Preud'homme <thomas.preudhomme@arm.com>
1075
1076 * config/tc-arm.c (ToC macro): Remove spurious comment.
1077 (ToU macro): Likewise.
1078
e925c834
JW
10792018-01-17 Jim Wilson <jimw@sifive.com>
1080
1081 * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
1082 (riscv_ip) <'z'>: New.
1083
d777820b
IT
10842018-01-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1085
1086 * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
1087 (cpu_noarch): Add noibt, noshstk.
1088 (parse_insn): Change cpucet to cpuibt.
1089 * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
1090 * testsuite/gas/i386/cet-ibt-inval.l: New test.
1091 * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
1092 * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
1093 * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
1094 * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
1095 * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
1096 * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
1097 * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
1098
f6efed01
NC
10992018-01-16 Nick Clifton <nickc@redhat.com>
1100
1101 * po/fr.po: Updated French translation.
1102
2721d702
JW
11032018-01-15 Jim Wilson <jimw@sifive.com>
1104
1105 * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
1106 * testsuite/gas/riscv/c-zero-imm.d: Likewise.
1107
cf3cf39d
TP
11082018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1109
1110 * config/tc-arm.c (ToC): Define macro.
1111 (ToU): Likewise.
1112 (insns): Make use of above macros for new instructions introduced in
1113 Armv8-M.
1114
2875ce2b
TP
11152018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1116
1117 * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
1118 and vlstm conditionally executable and reindent parameters.
1119 * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
1120 aforementionned instructions.
1121
df9909b8
TP
11222018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1123
1124 * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
1125 profile architecture or if in autodetection mode. Clarify that
1126 deprecation is for performance reason and concerns Armv8-A and Armv8-R.
1127 * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
1128 message.
1129 * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
1130 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
1131 * testsuite/gas/arm/udf.l: Likewise.
1132 * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
1133
616dcb87
NC
11342018-01-15 Nick Clifton <nickc@redhat.com>
1135
1136 * po/uk.po: Updated Ukranian translation.
1137
3957a496
NC
11382018-01-13 Nick Clifton <nickc@redhat.com>
1139
1140 * po/gas.pot: Regenerated.
1141
769c7ea5
NC
11422018-01-13 Nick Clifton <nickc@redhat.com>
1143
1144 * configure: Regenerate.
1145
9176ac5b
NC
11462018-01-13 Nick Clifton <nickc@redhat.com>
1147
faf766e3 1148 2.30 branch created.
9176ac5b
NC
1149 * NEWS: Add marker for 2.30.
1150
b5b62006
GN
11512018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
1152
1153 * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
1154 define to 0 and 1. Remove a dangling reference to "AMD 29000"
1155 in a comment.
1156
888a89da
IT
11572018-01-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1158
1159 * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
1160 * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
1161 * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
1162 * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
1163 * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
1164 * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
1165 * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
1166 * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
1167 tests.
1168 * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
1169 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
1170 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
1171 * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
1172 * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
1173 * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
1174 * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
1175 * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
1176
b90d5ba0
AM
11772018-01-11 Alan Modra <amodra@gmail.com>
1178
1179 * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
1180 positive "‘profile’ may be used uninitialized".
1181
cbda583a
JB
11822018-01-10 Jan Beulich <jbeulich@suse.com>
1183
1184 * testsuite/gas/i386/avx512_4fmaps.s,
1185 testsuite/gas/i386/avx512_4fmaps_vl.s,
1186 testsuite/gas/i386/x86-64-avx512_4fmaps.s,
1187 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
1188 Disp8 forms (and the transition happening at the right
1189 boundary).
1190 * testsuite/gas/i386/avx512_4fmaps.d,
1191 testsuite/gas/i386/avx512_4fmaps-intel.d,
1192 testsuite/gas/i386/avx512_4fmaps_vl.d,
1193 testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
1194 testsuite/gas/i386/x86-64-avx512_4fmaps.d,
1195 testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
1196 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
1197 testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
1198 expectations.
1199
c9e92278
JB
12002018-01-10 Jan Beulich <jbeulich@suse.com>
1201
1202 * testsuite/gas/i386/avx512bw.s,
1203 testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
1204 operands.
1205 * testsuite/gas/i386/avx512bw-intel.d,
1206 testsuite/gas/i386/avx512bw.d,
1207 testsuite/gas/i386/avx512bw_vl-intel.d.
1208 testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
1209
35fd2b2b
JW
12102018-01-09 Jim Wilson <jimw@sifive.com>
1211
1212 * testsuite/gas/riscv/auipc-x0.d: New.
1213 * testsuite/gas/riscv/auipc-x0.s: New.
1214
91d8b670
JG
12152018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
1216
1217 * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
1218 in Arm execution state, and Armv6T2 and above in Thumb execution
1219 state.
1220 * testsuite/gas/arm/csdb.s: New.
1221 * testsuite/gas/arm/csdb.d: New.
1222 * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
1223 * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
1224
be2e7d95
JG
12252018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
1226
1227 * testsuite/gas/aarch64/system.d: Update expected results to expect
1228 CSDB for hint 0x14.
1229
704a705d
L
12302018-01-08 H.J. Lu <hongjiu.lu@intel.com>
1231
1232 PR gas/22681
1233 * testsuite/gas/i386/i386.exp: Run x86-64-movd and
1234 x86-64-movd-intel.
1235 * testsuite/gas/i386/x86-64-movd-intel.d: New file.
1236 * testsuite/gas/i386/x86-64-movd.d: Likewise.
1237 * testsuite/gas/i386/x86-64-movd.s: Likewise.
1238
102e9361
NC
12392018-01-08 Nick Clifton <nickc@redhat.com>
1240
1241 PR 22553
1242 * doc/c-i386.texi (i386-Directives): Document the .largecomm
1243 directive.
1244
645a2c5b
JW
12452018-01-04 Jim Wilson <jimw@sifive.com>
1246
1247 * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
1248 * testsuite/gas/riscv/priv-reg.d: Likewise.
1249
219d1afa
AM
12502018-01-03 Alan Modra <amodra@gmail.com>
1251
1252 Update year range in copyright notice of all files.
1253
806ab1c0
NC
12542018-01-02 Nick Clifton <nickc@redhat.com>
1255
1256 PR 18119
1257 * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
1258 version of ARM MRS instruction.
1259
1e563868 1260For older changes see ChangeLog-2017
3499769a 1261\f
1e563868 1262Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
1263
1264Copying and distribution of this file, with or without modification,
1265are permitted in any medium without royalty provided the copyright
1266notice and this notice are preserved.
1267
1268Local Variables:
1269mode: change-log
1270left-margin: 8
1271fill-column: 74
1272version-control: never
1273End: