Automatic date update in version.in
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
f96bd6c2
PC
12017-03-30 Pip Cet <pipcet@gmail.com>
2
3 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
4 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
5 * Makefile.am: Add WebAssembly assembler target.
6 * configure.tgt: Add WebAssembly assembler target.
7 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
8 assembler.
9 * doc/all.texi: Define WASM32.
10 * doc/as.texinfo: Add WebAssembly entries.
11 * NEWS: Mention the new support.
12 * Makefile.in: Regenerate.
13 * po/gas.pot: Regenerate.
14 * po/POTFILES.in: Regenerate.
15 * testsuite/gas/wasm32: New directory.
16 * testsuite/gas/wasm32/allinsn.d: New file.
17 * testsuite/gas/wasm32/allinsn.s: New file.
18 * testsuite/gas/wasm32/illegal.l: New file.
19 * testsuite/gas/wasm32/illegal.s: New file.
20 * testsuite/gas/wasm32/illegal-2.l: New file.
21 * testsuite/gas/wasm32/illegal-2.s: New file.
22 * testsuite/gas/wasm32/illegal-3.l: New file.
23 * testsuite/gas/wasm32/illegal-3.s: New file.
24 * testsuite/gas/wasm32/illegal-4.l: New file.
25 * testsuite/gas/wasm32/illegal-4.s: New file.
26 * testsuite/gas/wasm32/illegal-5.l: New file.
27 * testsuite/gas/wasm32/illegal-5.s: New file.
28 * testsuite/gas/wasm32/illegal-6.l: New file.
29 * testsuite/gas/wasm32/illegal-6.s: New file.
30 * testsuite/gas/wasm32/illegal-7.l: New file.
31 * testsuite/gas/wasm32/illegal-7.s: New file.
32 * testsuite/gas/wasm32/illegal-8.l: New file.
33 * testsuite/gas/wasm32/illegal-8.s: New file.
34 * testsuite/gas/wasm32/illegal-9.l: New file.
35 * testsuite/gas/wasm32/illegal-9.s: New file.
36 * testsuite/gas/wasm32/illegal-10.l: New file.
37 * testsuite/gas/wasm32/illegal-10.s: New file.
38 * testsuite/gas/wasm32/illegal-11.l: New file.
39 * testsuite/gas/wasm32/illegal-11.s: New file.
40 * testsuite/gas/wasm32/illegal-12.l: New file.
41 * testsuite/gas/wasm32/illegal-12.s: New file.
42 * testsuite/gas/wasm32/illegal-13.l: New file.
43 * testsuite/gas/wasm32/illegal-13.s: New file.
44 * testsuite/gas/wasm32/illegal-14.l: New file.
45 * testsuite/gas/wasm32/illegal-14.s: New file.
46 * testsuite/gas/wasm32/illegal-15.l: New file.
47 * testsuite/gas/wasm32/illegal-15.s: New file.
48 * testsuite/gas/wasm32/illegal-16.l: New file.
49 * testsuite/gas/wasm32/illegal-16.s: New file.
50 * testsuite/gas/wasm32/illegal-17.l: New file.
51 * testsuite/gas/wasm32/illegal-17.s: New file.
52 * testsuite/gas/wasm32/illegal-18.l: New file.
53 * testsuite/gas/wasm32/illegal-18.s: New file.
54 * testsuite/gas/wasm32/illegal-19.l: New file.
55 * testsuite/gas/wasm32/illegal-19.s: New file.
56 * testsuite/gas/wasm32/illegal-20.l: New file.
57 * testsuite/gas/wasm32/illegal-20.s: New file.
58 * testsuite/gas/wasm32/illegal-21.l: New file.
59 * testsuite/gas/wasm32/illegal-21.s: New file.
60 * testsuite/gas/wasm32/illegal-22.l: New file.
61 * testsuite/gas/wasm32/illegal-22.s: New file.
62 * testsuite/gas/wasm32/illegal-24.l: New file.
63 * testsuite/gas/wasm32/illegal-24.s: New file.
64 * testsuite/gas/wasm32/illegal-25.l: New file.
65 * testsuite/gas/wasm32/illegal-25.s: New file.
66 * testsuite/gas/wasm32/reloc.d: New file.
67 * testsuite/gas/wasm32/reloc.s: New file.
68 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
69 architecture.
70
52be03fd
AM
712017-03-29 Alan Modra <amodra@gmail.com>
72
73 * config/tc-ppc.c (md_parse_option): Reject -mraw.
74
9b753937
AM
752017-03-27 Alan Modra <amodra@gmail.com>
76
77 PR 21303
78 * testsuite/gas/ppc/pr21303.d,
79 * testsuite/gas/ppc/pr21303.s: New test
80 * testsuite/gas/ppc/ppc.exp: Run it.
81
c0c31e91
RZ
822017-03-27 Rinat Zelig <rinat@mellanox.com>
83
84 * testsuite/gas/arc/nps400-12.s: New file.
85 * testsuite/gas/arc/nps400-12.d: New file.
86
62785b09
TP
872017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
88
89 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
90 CPU_DEFAULT is defined.
91
19683c04
PD
922017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
93
94 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
95 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
96 print an invalid default ISA string.
97 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
98
24e5b4e6
MF
992017-03-22 Max Filippov <jcmvbkbc@gmail.com>
100
101 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
102 reassigned fixup to size of jump instruction (3) and fx_r_type
103 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
104 (add_jump_to_trampoline): Search
105 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
106 symbol and use that slot instead of slot 0.
107
2253c8f0
AK
1082017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
109
110 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
111 from cpu_table. Remove vx2, and novx2 from cpu_flags.
112
645d3342
RZ
1132017-03-21 Rinat Zelig <rinat@mellanox.com>
114
115 * testsuite/gas/arc/nps400-11.s: New file.
116 * testsuite/gas/arc/nps400-11.d: New file.
117
e406e428
NC
1182017-03-20 Nick Clifton <nickc@redhat.com>
119
120 * doc/as.texinfo (2byte): Note that if no expressions are present
121 the directive does nothing. Emphasize that the output is
122 unaligned, and that this can have an effect on the relocations
123 generated.
124 (4byte): Simplify description. Refer back to the 2byte
125 description.
126 (8byte): Likewise.
127
d5e0ba9c
RE
1282017-03-20 Richard Earnshaw <rearnsha@arm.com>
129
130 * config/tc-arm.c (arm_fpus): Note entires that should not be
131 documented.
132 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
133 neon-fp16. Fix spelling error.
134
d3375ddd
RE
1352017-03-20 Richard Earnshaw <rearnsha@arm.com>
136
137 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
138
2c52e2e8
RZ
1392017-03-16 Rinat Zelig <rinat@mellanox.com>
140
141 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
142 specially for ARCv2.
143
b416fe87
KC
1442017-03-14 Kito Cheng <kito.cheng@gmail.com>
145
146 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
147 encoding format, which can accept 0-valued immediates.
148 (riscv_ip): Likewise.
149
7cb7b948
NC
1502017-03-15 Nick Clifton <nickc@redhat.com>
151
152 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
153 warning about discarding a const qualifier.
154
d47c3ff7
KLC
1552017-03-02 Kuan-Lin Chen <rufus@andestech.com>
156
157 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
158
2aece2ba
KLC
1592017-03-02 Kuan-Lin Chen <rufus@andestech.com>
160
161 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
162 fx_next->fx_frag for CFA_advance_loc relocations.
163
c1b465c9
KLC
1642017-03-02 Kuan-Lin Chen <rufus@andestech.com>
165
166 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
167 for CFA relocations.
168
f955cccf
NC
1692017-03-13 Nick Clifton <nickc@redhat.com>
170
171 PR binutils/21202
172 * config/tc-aarch64.c (reloc_table): Rename
173 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
174 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
175 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
176 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
177 (md_apply_fix): Likewise.
178 (aarch64_force_relocation): Likewise.
179 * testsuite/gas/aarch64/tls.d: Update regexp.
180
8b1e5da1
NC
1812017-03-10 Tobin C. Harding <me@tobin.cc>
182 Nick Clifton <nickc@redhat.com>
183
184 * doc/as.texinfo (2byte): Tidy up wording. Add note that
185 overlarge values will produce a warning message and be trunacted.
186 (4byte): Likewise.
187
86fa6981
L
1882017-03-09 H.J. Lu <hongjiu.lu@intel.com>
189
190 * config/tc-i386.c (_i386_insn): Add dir_encoding and
191 vec_encoding. Remove swap_operand and need_vrex.
192 (extra_symbol_chars): Add '}'.
193 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
194 mnemonic.
195 (build_vex_prefix): Don't use 2-byte VEX encoding with
196 {vex3}. Check dir_encoding and load.
197 (parse_insn): Check pseudo prefixes. Set dir_encoding.
198 (VEX_check_operands): Likewise.
199 (match_template): Check dir_encoding and load.
200 (parse_real_register): Set vec_encoding instead of need_vrex.
201 (parse_register): Likewise.
202 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
203 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
204 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
205 * testsuite/gas/i386/pseudos.d: New file.
206 * testsuite/gas/i386/pseudos.s: Likewise.
207 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
208 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
209
4b8b687e
PB
2102017-03-08 Peter Bergner <bergner@vnet.ibm.com>
211
212 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
213 (objdump): Use the -Mpower8 option.
214
1437d063
PB
2152017-03-08 Peter Bergner <bergner@vnet.ibm.com>
216
217 * testsuite/gas/ppc/power9.d <lnia> New test.
218 * testsuite/gas/ppc/power9.s: Likewise.
219
ea86f534
AM
2202017-03-07 Alan Modra <amodra@gmail.com>
221
222 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
223
2b841ec2
AM
2242017-03-07 Tobin C. Harding <me@tobin.cc>
225 Alan Modra <amodra@gmail.com>
226
227 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
228 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
229
603555e5
L
2302017-03-06 H.J. Lu <hongjiu.lu@intel.com>
231
232 * config/tc-i386.c (cpu_arch): Add .cet.
233 * doc/c-i386.texi: Document cet.
234 * testsuite/gas/i386/cet-intel.d: New file.
235 * testsuite/gas/i386/cet.d: Likewise.
236 * testsuite/gas/i386/cet.s: Likewise.
237 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
238 * testsuite/gas/i386/x86-64-cet.d: Likewise.
239 * testsuite/gas/i386/x86-64-cet.s: Likewise.
240 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
241
1cccfb31
L
2422017-03-06 H.J. Lu <hongjiu.lu@intel.com>
243
244 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
245 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
246
ea0de82e
AM
2472017-03-06 Alan Modra <amodra@gmail.com>
248
249 * dw2gencfi.c (encoding_size): Return unsigned int.
250 (emit_expr_encoded): Assert size matches reloc bitsize.
251 (output_fde): Use unsigned for offset_size and addr_size. Set
252 addr_size earlier and use in place of constant 4 and uses of
253 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
254
9e1a8675
AM
2552017-03-06 Alan Modra <amodra@gmail.com>
256
257 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
258 auto reformat. Formatting and whitespace fixes.
259
49fced12
MW
2602017-03-05 Mark Wielaard <mark@klomp.org>
261
262 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
263 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
264 (out_debug_info): Accept symbols to name, comp_dir and producer in
265 the .debug_str section and emit those offsets not full strings.
266 (out_debug_str): New function that outputs the strings for name,
267 comp_dir and producer in .debug_str and generates symbols to those
268 strings.
269 (out_debug_line): Create a .debug_str section if necessary and call
270 out_debug_str before calling out_debug_info.
271 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
272 output.
273
9875b365
MR
2742017-03-02 Maciej W. Rozycki <macro@imgtec.com>
275
276 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
277 part of the frag has overrun the location requested.
278
279 * testsuite/gas/all/org-1.d: New test.
280 * testsuite/gas/all/org-2.d: New test.
281 * testsuite/gas/all/org-3.d: New test.
282 * testsuite/gas/all/org-4.d: New test.
283 * testsuite/gas/all/org-5.d: New test.
284 * testsuite/gas/all/org-6.d: New test.
285 * testsuite/gas/all/org-1.l: New stderr output.
286 * testsuite/gas/all/org-2.l: New stderr output.
287 * testsuite/gas/all/org-3.l: New stderr output.
288 * testsuite/gas/all/org-1.s: New test source.
289 * testsuite/gas/all/org-2.s: New test source.
290 * testsuite/gas/all/org-3.s: New test source.
291 * testsuite/gas/all/org-4.s: New test source.
292 * testsuite/gas/all/org-5.s: New test source.
293 * testsuite/gas/all/org-6.s: New test source.
294 * testsuite/gas/all/gas.exp: Run the new tests.
295
296 * testsuite/gas/mips/org-1.d: New test.
297 * testsuite/gas/mips/org-2.d: New test.
298 * testsuite/gas/mips/org-3.d: New test.
299 * testsuite/gas/mips/org-4.d: New test.
300 * testsuite/gas/mips/org-5.d: New test.
301 * testsuite/gas/mips/org-6.d: New test.
302 * testsuite/gas/mips/org-7.d: New test.
303 * testsuite/gas/mips/org-8.d: New test.
304 * testsuite/gas/mips/org-9.d: New test.
305 * testsuite/gas/mips/org-10.d: New test.
306 * testsuite/gas/mips/org-11.d: New test.
307 * testsuite/gas/mips/org-12.d: New test.
308 * testsuite/gas/mips/org-1.l: New stderr output.
309 * testsuite/gas/mips/org-4.l: New stderr output.
310 * testsuite/gas/mips/org-5.l: New stderr output.
311 * testsuite/gas/mips/org-6.l: New stderr output.
312 * testsuite/gas/mips/org-10.l: New stderr output.
313 * testsuite/gas/mips/org-1.s: New test source.
314 * testsuite/gas/mips/org-2.s: New test source.
315 * testsuite/gas/mips/org-3.s: New test source.
316 * testsuite/gas/mips/org-4.s: New test source.
317 * testsuite/gas/mips/org-5.s: New test source.
318 * testsuite/gas/mips/org-6.s: New test source.
319 * testsuite/gas/mips/org-7.s: New test source.
320 * testsuite/gas/mips/org-8.s: New test source.
321 * testsuite/gas/mips/org-9.s: New test source.
322 * testsuite/gas/mips/org-10.s: New test source.
323 * testsuite/gas/mips/org-11.s: New test source.
324 * testsuite/gas/mips/org-12.s: New test source.
325 * testsuite/gas/mips/mips.exp: Run the new tests.
326
01cca2f9
SN
3272017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
328
329 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
330
15c7c1d8
JB
3312017-02-28 Jan Beulich <jbeulich@suse.com>
332
333 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
334 VPCMPESTR{I,M}.
335 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
336 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
337 of PCMPESTR{I,M}.
338 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
339 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
340 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
341 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
342 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
343 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
344 * testsuite/gas/i386/x86-64-avx.d: Likewise.
345 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
346 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
347 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
348
4ef97a1b
AM
3492017-02-28 Alan Modra <amodra@gmail.com>
350
351 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
352
7ba71655
AM
3532017-02-28 Alan Modra <amodra@gmail.com>
354
355 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
356 (md_apply_fix): Remove fx_subsy check. Move code converting to
357 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
358 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
359 that is done now by the generic code via..
360 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
361 (TC_VALIDATE_FIX_SUB): Define.
362
0e392101
MR
3632017-02-28 Maciej W. Rozycki <macro@imgtec.com>
364
365 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
366 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
367 encoding patterns.
368 * testsuite/gas/mips/jalr4-n64.d: Likewise.
369 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
370 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
371 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
372
dd803a24
AM
3732017-02-25 Alan Modra <amodra@gmail.com>
374
375 * testsuite/gas/elf/strtab.s: Don't put directives on first
376 column or continuation with labels not in first column.
377
582e12bf
RS
3782017-02-24 Richard Sandiford <richard.sandiford@arm.com>
379
380 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
381 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
382 to be used with SVE registers.
383 (parse_operands): Handle new SVE operands.
384 (aarch64_features): Make "sve" require F16 rather than FP. Also
385 require COMPNUM.
386 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
387 Include compnum tests.
388 * testsuite/gas/aarch64/sve.d: Update accordingly.
389 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
390 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
391 update expected output for new FMOV and MOV alternatives.
392
f482d304
RS
3932017-02-24 Richard Sandiford <richard.sandiford@arm.com>
394
395 * doc/c-aarch64.texi: Add a "compnum" entry.
396 * config/tc-aarch64.c (aarch64_features): Likewise,
397 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
398 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
399
7db2c588
JB
4002017-02-24 Jan Beulich <jbeulich@suse.com>
401
402 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
403 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
404 * testsuite/gas/i386/opcode.d: Adjust accordingly.
405 * testsuite/gas/i386/opcode-intel.d: Likewise.
406 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
407 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
408
1b3cee56
SL
4092017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
410
411 Test cases for the architecture level aware SPARC ASI work.
412 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
413 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
414 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
415 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
416 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
417
c1556ecd
MR
4182017-02-23 Maciej W. Rozycki <macro@imgtec.com>
419
420 * testsuite/gas/mips/jalr4.d: New test.
421 * testsuite/gas/mips/jalr4-n32.d: New test.
422 * testsuite/gas/mips/jalr4-n64.d: New test.
423 * testsuite/gas/mips/jalr4.s: New test source.
424 * testsuite/gas/mips/mips.exp: Run the new tests.
425
1e9d41d4
SL
4262017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
427
428 Add support for associating SPARC ASIs with an architecture level.
429 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
430
946416fc
JB
4312017-02-23 Jan Beulich <jbeulich@suse.com>
432
433 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
434 of symbols as expression.
435
4362017-02-23 Jan Beulich <jbeulich@suse.com>
4c5b8d1e
JB
437
438 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
439 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
440 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
441 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
442
5ff6a06c
MR
4432017-02-22 Maciej W. Rozycki <macro@imgtec.com>
444
445 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
446 `md_flush_pending_output'.
447 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
448 `md_flush_pending_output' unconditionally.
449 * testsuite/gas/mips/debug-label-end-1.d: New test.
450 * testsuite/gas/mips/debug-label-end-2.d: New test.
451 * testsuite/gas/mips/debug-label-end-3.d: New test.
452 * testsuite/gas/mips/debug-label-end.s: New test source.
453 * testsuite/gas/mips/mips.exp: Run the new tests.
454
25890fc2
HPN
4552017-02-22 Hans-Peter Nilsson <hp@axis.com>
456
457 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
458 targets yielding an error message matching "too complex".
459
5ffbd927
NC
4602017-02-22 Nick Clifton <nickc@redhat.com>
461
462 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
463
b0c53498
JB
4642017-02-21 Jan Beulich <jbeulich@suse.com>
465
466 * expr.c (operand): Handle missing operand to .startof.() and
467 .sizeof.().
468 * testsuite/gas/all/err-sizeof.s: New.
469
ece5dcc1
AM
4702017-02-20 Alan Modra <amodra@gmail.com>
471
472 PR 21118
473 * NEWS: Revise powerpc register check.
474 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
475 register expression" a warning.
476
37f9ec62
MR
4772017-02-17 Maciej W. Rozycki <macro@imgtec.com>
478
479 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
480 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
481 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
482 * testsuite/gas/mips/aent-2.d: New test.
483 * testsuite/gas/mips/aent-mdebug.d: New test.
484 * testsuite/gas/mips/aent-mdebug-2.d: New test.
485 * testsuite/gas/mips/mips.exp: Run the new tests.
486
773fb663
RS
4872017-02-15 Richard Sandiford <richard.sandiford@arm.com>
488
489 * testsuite/gas/aarch64/sve-sysreg.s,
490 testsuite/gas/aarch64/sve-sysreg.d,
491 testsuite/gas/aarch64/sve-sysreg-invalid.d,
492 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
493
7a2114e7
RS
4942017-02-15 Richard Sandiford <richard.sandiford@arm.com>
495
496 * doc/c-aarch64.texi: Fix sve entry.
497
cc07cda6
CZ
4982017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
499
500 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
501 information from input expression.
502 (assemble_insn): Make sure pcrel is correctly set.
503 (arc_pcrel_adjust): Compensate for PCL rounding.
504 * testsuite/gas/arc/relax-add01.d: New file.
505 * testsuite/gas/arc/relax-add01.s: Likewise.
506 * testsuite/gas/arc/relax-add02.d: Likewise.
507 * testsuite/gas/arc/relax-add02.s: Likewise.
508 * testsuite/gas/arc/relax-add03.d: Likewise.
509 * testsuite/gas/arc/relax-add03.s: Likewise.
510 * testsuite/gas/arc/relax-add04.d: Likewise.
511 * testsuite/gas/arc/relax-add04.s: Likewise.
512 * testsuite/gas/arc/relax-ld01.d: Likewise.
513 * testsuite/gas/arc/relax-ld01.s: Likewise.
514 * testsuite/gas/arc/relax-ld02.d: Likewise.
515 * testsuite/gas/arc/relax-ld02.s: Likewise.
516 * testsuite/gas/arc/relax-mov01.d: Likewise.
517 * testsuite/gas/arc/relax-mov01.s: Likewise.
518 * testsuite/gas/arc/relax-mov02.d: Likewise.
519 * testsuite/gas/arc/relax-mov02.s: Likewise.
520 * testsuite/gas/arc/relax-mpy01.d: Likewise.
521 * testsuite/gas/arc/relax-mpy01.s: Likewise.
522 * testsuite/gas/arc/relax-sub01.d: Likewise.
523 * testsuite/gas/arc/relax-sub01.s: Likewise.
524 * testsuite/gas/arc/relax-sub02.d: Likewise.
525 * testsuite/gas/arc/relax-sub02.s: Likewise.
526 * testsuite/gas/arc/relax-sub03.d: Likewise.
527 * testsuite/gas/arc/relax-sub03.s: Likewise.
528 * testsuite/gas/arc/relax-sub04.d: Likewise.
529 * testsuite/gas/arc/relax-sub04.s: Likewise.
530
66a5a740
VG
5312017-02-09 Vineet Gupta <vgupta@synopsys.com>
532
533 * testsuite/gas/arc/st.d: Update for 0xe having a name now
534
7e0de605
AM
5352017-02-14 Alan Modra <amodra@gmail.com>
536
537 PR 21118
538 * NEWS: Mention powerpc register checks.
539 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
540 (pre_defined_registers): Delete fpscr and pmr entries. Set
541 register type in flags.
542 (cr_names): Set type in flags.
543 (reg_name_search): Return pointer to struct pd_reg rather than value.
544 (register_name): Adjust to suit. Set X_md from flags.
545 (ppc_parse_name): Likewise.
546 (ppc_optimize_expr): New function.
547 (md_assemble): Verify expresion reg flags match operand.
548 * config/tc-ppc.h (md_optimize_expr): Define.
549 (ppc_optimize_expr): Declare.
550
606a935e
AM
5512017-02-14 Alan Modra <amodra@gmail.com>
552
553 * testsuite/gas/ppc/cell.s: Correct invalid registers.
554 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
555 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
556
3c6452ae
TP
5572017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
558
559 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
560 syntax.
561 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
562 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
563
dce75bf9
NP
5642017-02-10 Nicholas Piggin <npiggin@gmail.com>
565
566 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
567
73201331
MR
5682017-02-02 Maciej W. Rozycki <macro@imgtec.com>
569
570 * doc/as.texinfo (Overview): Select MIPS options for man page
571 inclusion.
572
8b10b0b3
MR
5732017-01-30 Maciej W. Rozycki <macro@imgtec.com>
574
575 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
576 (options): Add OPTION_IGNORE_BRANCH_ISA and
577 OPTION_NO_IGNORE_BRANCH_ISA enum values.
578 (md_longopts): Add "mignore-branch-isa" and
579 "mno-ignore-branch-isa" options.
580 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
581 OPTION_NO_IGNORE_BRANCH_ISA.
582 (fix_bad_cross_mode_branch_p): Return FALSE if
583 `mips_ignore_branch_isa' has been set.
584 (md_show_usage): Add `-mignore-branch-isa' and
585 `-mno-ignore-branch-isa'.
586
587 * doc/as.texinfo (Target MIPS options): Add
588 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
589 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
590 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
591 `-mno-ignore-branch-isa' options.
592
593 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
594 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
595 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
596 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
597 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
598 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
599 * testsuite/gas/mips/mips.exp: Run the new tests.
600
7795a8f8
MR
6012017-01-30 Maciej W. Rozycki <macro@imgtec.com>
602
603 * testsuite/gas/mips/branch-local-2.d: New test.
604 * testsuite/gas/mips/branch-local-3.d: New test.
605 * testsuite/gas/mips/branch-local-n32-2.d: New test.
606 * testsuite/gas/mips/branch-local-n32-3.d: New test.
607 * testsuite/gas/mips/branch-local-n64-2.d: New test.
608 * testsuite/gas/mips/branch-local-n64-3.d: New test.
609 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
610 into the new tests.
611
8ec5cf65
AD
6122017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
613
614 PR 21056
615 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
616 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
617
de514cf3
SH
6182017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
619
620 * configure.tgt (aarch64*-*-rtems*): Remove.
621 (bfin-*-rtems*): Likewise.
622 (h8300-*-rtems*): Likewise.
623 (i386-*-rtems*): Likewise.
624 (m32c-*-rtems*): Likewise.
625 (m32r-*-rtems*): Likewise.
626 (m68k-*-rtems*): Likewise.
627 (mips-*-rtems*): Likewise.
628 (nios2-*-rtems*): Likewise.
629 (ppc-*-rtems*): Likewise.
630 (sh-*-rtems*): Likewise.
631 (sparc64-*-rtems*): Likewise.
632 (sparc-*-rtems*): Likewise.
633 (*-*-rtems*) Use ELF format.
634
3e97ba8a
SH
6352017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
636
637 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
638
850d84f6
SH
6392017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
640
641 * configure.tgt (sh-*-rtemscoff*): Remove.
642
666c6aff
SH
6432017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
644
645 * configure.tgt (riscv*-*-*): Remove em=linux.
646
33eaf5de
NC
6472017-01-23 Sebastian Rasmussen <sebras@gmail.com>
648
649 PR gas/21072
650 * asintl.h: Fix spelling mistakes and typos.
651 * atof-generic.c: Likewise.
652 * bit_fix.h: Likewise.
653 * config/atof-ieee.c: Likewise.
654 * config/bfin-defs.h: Likewise.
655 * config/bfin-parse.y: Likewise.
656 * config/obj-coff-seh.h: Likewise.
657 * config/obj-coff.c: Likewise.
658 * config/obj-evax.c: Likewise.
659 * config/obj-macho.c: Likewise.
660 * config/rx-parse.y: Likewise.
661 * config/tc-aarch64.c: Likewise.
662 * config/tc-alpha.c: Likewise.
663 * config/tc-arc.c: Likewise.
664 * config/tc-arm.c: Likewise.
665 * config/tc-avr.c: Likewise.
666 * config/tc-bfin.c: Likewise.
667 * config/tc-cr16.c: Likewise.
668 * config/tc-cris.c: Likewise.
669 * config/tc-crx.c: Likewise.
670 * config/tc-d10v.c: Likewise.
671 * config/tc-d30v.c: Likewise.
672 * config/tc-dlx.c: Likewise.
673 * config/tc-epiphany.c: Likewise.
674 * config/tc-frv.c: Likewise.
675 * config/tc-hppa.c: Likewise.
676 * config/tc-i370.c: Likewise.
677 * config/tc-i386-intel.c: Likewise.
678 * config/tc-i386.c: Likewise.
679 * config/tc-i960.c: Likewise.
680 * config/tc-ia64.c: Likewise.
681 * config/tc-m32r.c: Likewise.
682 * config/tc-m68hc11.c: Likewise.
683 * config/tc-m68k.c: Likewise.
684 * config/tc-mcore.c: Likewise.
685 * config/tc-mep.c: Likewise.
686 * config/tc-mep.h: Likewise.
687 * config/tc-metag.c: Likewise.
688 * config/tc-microblaze.c: Likewise.
689 * config/tc-mips.c: Likewise.
690 * config/tc-mmix.c: Likewise.
691 * config/tc-mn10200.c: Likewise.
692 * config/tc-mn10300.c: Likewise.
693 * config/tc-msp430.c: Likewise.
694 * config/tc-msp430.h: Likewise.
695 * config/tc-nds32.c: Likewise.
696 * config/tc-nds32.h: Likewise.
697 * config/tc-nios2.c: Likewise.
698 * config/tc-nios2.h: Likewise.
699 * config/tc-ns32k.c: Likewise.
700 * config/tc-pdp11.c: Likewise.
701 * config/tc-ppc.c: Likewise.
702 * config/tc-pru.c: Likewise.
703 * config/tc-rx.c: Likewise.
704 * config/tc-s390.c: Likewise.
705 * config/tc-score.c: Likewise.
706 * config/tc-score7.c: Likewise.
707 * config/tc-sh.c: Likewise.
708 * config/tc-sh64.c: Likewise.
709 * config/tc-sparc.c: Likewise.
710 * config/tc-tic4x.c: Likewise.
711 * config/tc-tic54x.c: Likewise.
712 * config/tc-v850.c: Likewise.
713 * config/tc-vax.c: Likewise.
714 * config/tc-visium.c: Likewise.
715 * config/tc-xgate.c: Likewise.
716 * config/tc-xtensa.c: Likewise.
717 * config/tc-z80.c: Likewise.
718 * config/tc-z8k.c: Likewise.
719 * config/te-vms.c: Likewise.
720 * config/xtensa-relax.c: Likewise.
721 * doc/as.texinfo: Likewise.
722 * doc/c-arm.texi: Likewise.
723 * doc/c-hppa.texi: Likewise.
724 * doc/c-i370.texi: Likewise.
725 * doc/c-i386.texi: Likewise.
726 * doc/c-m32r.texi: Likewise.
727 * doc/c-m68k.texi: Likewise.
728 * doc/c-mmix.texi: Likewise.
729 * doc/c-msp430.texi: Likewise.
730 * doc/c-nds32.texi: Likewise.
731 * doc/c-ns32k.texi: Likewise.
732 * doc/c-riscv.texi: Likewise.
733 * doc/c-rx.texi: Likewise.
734 * doc/c-s390.texi: Likewise.
735 * doc/c-tic6x.texi: Likewise.
736 * doc/c-tilegx.texi: Likewise.
737 * doc/c-tilepro.texi: Likewise.
738 * doc/c-v850.texi: Likewise.
739 * doc/c-xgate.texi: Likewise.
740 * doc/c-xtensa.texi: Likewise.
741 * dwarf2dbg.c: Likewise.
742 * ecoff.c: Likewise.
743 * itbl-ops.c: Likewise.
744 * listing.c: Likewise.
745 * macro.c: Likewise.
746 * po/gas.pot: Likewise.
747 * read.c: Likewise.
748 * struc-symbol.h: Likewise.
749 * symbols.h: Likewise.
750 * testsuite/gas/arc/relocs-errors.err: Likewise.
751 * write.c: Likewise.
752
8069955e
NC
7532017-01-23 Nick Clifton <nickc@redhat.com>
754
755 * po/sv.po: Updated Swedish translation.
756
9d46ce34
NC
7572017-01-20 Nick Clifton <nickc@redhat.com>
758
759 * config/tc-i386.c (parse_operands): Check for operand overflow
760 before setting the unspecified bit.
761
9e009953
MR
7622017-01-18 Maciej W. Rozycki <macro@imgtec.com>
763
764 PR gas/20649
765 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
766 symbols, remove the `segtype' parameter.
767 (mips_frob_file, md_estimate_size_before_relax): Adjust
768 accordingly.
769 (s_is_linkonce): Add an explanatory comment.
770 * testsuite/gas/mips/comdat-reloc.d: New test.
771 * testsuite/gas/mips/comdat-reloc.s: New test source.
772 * testsuite/gas/mips/mips.exp: Run the new test.
773
c13a63b0
SN
7742017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
775
776 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
777 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
778
2cedb9eb
BR
7792017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
780
781 PR 21059
782 * config/bfin-lex.l: Support processing with flex 2.6.3.
783 * itbl-lex.l: Likewise.
784
1ec4b9f2
NS
7852017-01-18 Nathan Sidwell <nathan@acm.org>
786
787 * as.h (gas_assert): Use abort.
788 (as_assert): Remove.
789 (signal_init): Declare.
790 * as.c (main): Call signal_init.
791 * messages.c: #include <signal.h>
792 (as_assert): Delete.
793 (as_abort): Allow NULL FILE.
794 (signal_crash): New.
795 (signal_init): Register fatal signal handlers.
796 * configure.ac: Check for strsignal.
797 * config.in: Rebuilt.
798 * configure: Rebuilt.
799
01fabda4 8002017-01-17 Nick Clifton <nickc@redhat.com>
6aa1df2d
NC
801
802 * po/sv.po: Updated Swedish translation.
803
620214f7
IT
8042017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
805
806 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
807 (cpu_noarch): Add noavx512_vpopcntdq.
808 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
809 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
810 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
811 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
812 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
813 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
814 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
815 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
816
1181551e
NC
8172017-01-12 Nick Clifton <nickc@redhat.com>
818
819 * read.c (temp_ilp): New function. Installs a temporary input
820 line pointer.
821 (restore_ilp): New function. Restores the original input line
822 pointer.
823 * read.h (temp_ilp): Prototype.
824 (restore_ilp): Prototype.
825 * stabs.c (dot_func_p): Use bfd_boolean type.
826 (generate_asm_file): Use temp_ilp and restore_ilp.
827 (stabs_generate_asm_lineno): Likewise.
828 (stabs_generate_asm_endfunc): Likewise.
829
f2e2d2f5
JS
8302017-01-11 Jeremy Soller <jackpot51@gmail.com>
831
832 * configure.tgt: Add entry for i386-redox.
833
07e8e623
NC
8342017-01-10 Nick Clifton <nickc@redhat.com>
835
836 * po/sv.po: Updated Swedish translation.
837
1a94eb29
TG
8382017-01-10 Tristan Gingold <gingold@adacore.com>
839
840 * testsuite/gas/all/sleb128-8.d: Adjust test.
841 * testsuite/gas/all/gas.exp (test_cond): Likewise.
842
74def31d
TG
8432017-01-10 Tristan Gingold <gingold@adacore.com>
844
845 * read.c (emit_leb128_expr): Extended unsigned big number for
846 sleb128.
847 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
848 * testsuite/gas/all/sleb128.d: New test.
849 * testsuite/gas/all/sleb128.s: New test source.
850
a5ec5e3f
AW
8512017-01-09 Andrew Waterman <andrew@sifive.com>
852
853 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
854 against constants.
855 (md_apply_fix): Mark relocations against constants as "done."
856
e294484e
AW
8572017-01-09 Andrew Waterman <andrew@sifive.com>
858
859 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
860 against constants.
861 (md_apply_fix): Mark relocations against constants as "done."
862
6ec11ab9
PD
8632017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
864 Kito Cheng <kito.cheng@gmail.com>
865
866 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
867 Removed.
868 (SDATA_START_SYMBOLS): Likewise.
869
20b52c88
NC
8702017-01-09 Nick Clifton <nickc@redhat.com>
871
872 * po/sv.po: New Swedish translation.
873 * configure.ac (ALL_LINGUAS): Add sv.
874 * configure: Regenerate.
875
01156111
AW
8762017-01-09 Andrew Waterman <andrew@sifive.com>
877
878 * config/tc-riscv.c (relaxed_branch_length): Use the long
879 sequence when the target is a weak symbol.
880
d74d4880
SN
8812017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
882
883 * config/tc-aarch64.c (aarch64_features): Add rcpc.
884 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
885 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
886 * testsuite/gas/aarch64/ldst-rcpc.d: This.
887 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
888 * testsuite/gas/aarch64/ldst-rcpc.s: This.
889 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
890
10ab38d9
NJ
8912017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
892
893 PR gas/20992
894 * configure.tgt: Treat sparcv9 as sparc64.
895
cc917fd9
KC
8962017-01-03 Kito Cheng <kito.cheng@gmail.com>
897
898 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
899 extension.
900 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
901 enabled and no other ABI is specified.
902
ddb2c6fd
DD
9032017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
904
905 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
906 valueT, as declared in tc.h.
907 (md_apply_fix): Fix to work on 32-bit hosts.
908
2571583a
AM
9092017-01-02 Alan Modra <amodra@gmail.com>
910
911 Update year range in copyright notice of all files.
912
5c1ad6b5 913For older changes see ChangeLog-2016
3499769a 914\f
5c1ad6b5 915Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
916
917Copying and distribution of this file, with or without modification,
918are permitted in any medium without royalty provided the copyright
919notice and this notice are preserved.
920
921Local Variables:
922mode: change-log
923left-margin: 8
924fill-column: 74
925version-control: never
926End:
This page took 0.125993 seconds and 4 git commands to generate.