1 2017-03-30 Pip Cet <pipcet@gmail.com>
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
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
71 2017-03-29 Alan Modra <amodra@gmail.com>
73 * config/tc-ppc.c (md_parse_option): Reject -mraw.
75 2017-03-27 Alan Modra <amodra@gmail.com>
78 * testsuite/gas/ppc/pr21303.d,
79 * testsuite/gas/ppc/pr21303.s: New test
80 * testsuite/gas/ppc/ppc.exp: Run it.
82 2017-03-27 Rinat Zelig <rinat@mellanox.com>
84 * testsuite/gas/arc/nps400-12.s: New file.
85 * testsuite/gas/arc/nps400-12.d: New file.
87 2017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
89 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
90 CPU_DEFAULT is defined.
92 2017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
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.
99 2017-03-22 Max Filippov <jcmvbkbc@gmail.com>
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.
108 2017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
110 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
111 from cpu_table. Remove vx2, and novx2 from cpu_flags.
113 2017-03-21 Rinat Zelig <rinat@mellanox.com>
115 * testsuite/gas/arc/nps400-11.s: New file.
116 * testsuite/gas/arc/nps400-11.d: New file.
118 2017-03-20 Nick Clifton <nickc@redhat.com>
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
124 (4byte): Simplify description. Refer back to the 2byte
128 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
130 * config/tc-arm.c (arm_fpus): Note entires that should not be
132 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
133 neon-fp16. Fix spelling error.
135 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
137 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
139 2017-03-16 Rinat Zelig <rinat@mellanox.com>
141 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
144 2017-03-14 Kito Cheng <kito.cheng@gmail.com>
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.
150 2017-03-15 Nick Clifton <nickc@redhat.com>
152 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
153 warning about discarding a const qualifier.
155 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
157 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
159 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
161 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
162 fx_next->fx_frag for CFA_advance_loc relocations.
164 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
166 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
169 2017-03-13 Nick Clifton <nickc@redhat.com>
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.
181 2017-03-10 Tobin C. Harding <me@tobin.cc>
182 Nick Clifton <nickc@redhat.com>
184 * doc/as.texinfo (2byte): Tidy up wording. Add note that
185 overlarge values will produce a warning message and be trunacted.
188 2017-03-09 H.J. Lu <hongjiu.lu@intel.com>
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
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.
210 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
212 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
213 (objdump): Use the -Mpower8 option.
215 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
217 * testsuite/gas/ppc/power9.d <lnia> New test.
218 * testsuite/gas/ppc/power9.s: Likewise.
220 2017-03-07 Alan Modra <amodra@gmail.com>
222 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
224 2017-03-07 Tobin C. Harding <me@tobin.cc>
225 Alan Modra <amodra@gmail.com>
227 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
228 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
230 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
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.
242 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
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]+.
247 2017-03-06 Alan Modra <amodra@gmail.com>
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.
255 2017-03-06 Alan Modra <amodra@gmail.com>
257 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
258 auto reformat. Formatting and whitespace fixes.
260 2017-03-05 Mark Wielaard <mark@klomp.org>
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
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
274 2017-03-02 Maciej W. Rozycki <macro@imgtec.com>
276 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
277 part of the frag has overrun the location requested.
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.
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.
327 2017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
329 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
331 2017-02-28 Jan Beulich <jbeulich@suse.com>
333 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
335 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
336 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
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.
349 2017-02-28 Alan Modra <amodra@gmail.com>
351 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
353 2017-02-28 Alan Modra <amodra@gmail.com>
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.
363 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
365 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
366 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
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.
373 2017-02-25 Alan Modra <amodra@gmail.com>
375 * testsuite/gas/elf/strtab.s: Don't put directives on first
376 column or continuation with labels not in first column.
378 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
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
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.
393 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
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.
400 2017-02-24 Jan Beulich <jbeulich@suse.com>
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.
409 2017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
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
418 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
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.
426 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
428 Add support for associating SPARC ASIs with an architecture level.
429 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
431 2017-02-23 Jan Beulich <jbeulich@suse.com>
433 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
434 of symbols as expression.
436 2017-02-23 Jan Beulich <jbeulich@suse.com>
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.
443 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
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.
455 2017-02-22 Hans-Peter Nilsson <hp@axis.com>
457 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
458 targets yielding an error message matching "too complex".
460 2017-02-22 Nick Clifton <nickc@redhat.com>
462 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
464 2017-02-21 Jan Beulich <jbeulich@suse.com>
466 * expr.c (operand): Handle missing operand to .startof.() and
468 * testsuite/gas/all/err-sizeof.s: New.
470 2017-02-20 Alan Modra <amodra@gmail.com>
473 * NEWS: Revise powerpc register check.
474 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
475 register expression" a warning.
477 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
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.
487 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
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.
494 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
496 * doc/c-aarch64.texi: Fix sve entry.
498 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
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.
531 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
533 * testsuite/gas/arc/st.d: Update for 0xe having a name now
535 2017-02-14 Alan Modra <amodra@gmail.com>
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.
551 2017-02-14 Alan Modra <amodra@gmail.com>
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.
557 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
559 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
561 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
562 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
564 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
566 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
568 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
570 * doc/as.texinfo (Overview): Select MIPS options for man page
573 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
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'.
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.
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.
601 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
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
612 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
615 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
616 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
618 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
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.
635 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
637 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
639 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
641 * configure.tgt (sh-*-rtemscoff*): Remove.
643 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
645 * configure.tgt (riscv*-*-*): Remove em=linux.
647 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
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.
743 * itbl-ops.c: Likewise.
744 * listing.c: Likewise.
746 * po/gas.pot: Likewise.
748 * struc-symbol.h: Likewise.
749 * symbols.h: Likewise.
750 * testsuite/gas/arc/relocs-errors.err: Likewise.
753 2017-01-23 Nick Clifton <nickc@redhat.com>
755 * po/sv.po: Updated Swedish translation.
757 2017-01-20 Nick Clifton <nickc@redhat.com>
759 * config/tc-i386.c (parse_operands): Check for operand overflow
760 before setting the unspecified bit.
762 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
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
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.
774 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
776 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
777 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
779 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
782 * config/bfin-lex.l: Support processing with flex 2.6.3.
783 * itbl-lex.l: Likewise.
785 2017-01-18 Nathan Sidwell <nathan@acm.org>
787 * as.h (gas_assert): Use abort.
789 (signal_init): Declare.
790 * as.c (main): Call signal_init.
791 * messages.c: #include <signal.h>
793 (as_abort): Allow NULL FILE.
795 (signal_init): Register fatal signal handlers.
796 * configure.ac: Check for strsignal.
797 * config.in: Rebuilt.
798 * configure: Rebuilt.
800 2017-01-17 Nick Clifton <nickc@redhat.com>
802 * po/sv.po: Updated Swedish translation.
804 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
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.
817 2017-01-12 Nick Clifton <nickc@redhat.com>
819 * read.c (temp_ilp): New function. Installs a temporary input
821 (restore_ilp): New function. Restores the original input line
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.
830 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
832 * configure.tgt: Add entry for i386-redox.
834 2017-01-10 Nick Clifton <nickc@redhat.com>
836 * po/sv.po: Updated Swedish translation.
838 2017-01-10 Tristan Gingold <gingold@adacore.com>
840 * testsuite/gas/all/sleb128-8.d: Adjust test.
841 * testsuite/gas/all/gas.exp (test_cond): Likewise.
843 2017-01-10 Tristan Gingold <gingold@adacore.com>
845 * read.c (emit_leb128_expr): Extended unsigned big number for
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.
851 2017-01-09 Andrew Waterman <andrew@sifive.com>
853 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
855 (md_apply_fix): Mark relocations against constants as "done."
857 2017-01-09 Andrew Waterman <andrew@sifive.com>
859 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
861 (md_apply_fix): Mark relocations against constants as "done."
863 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
864 Kito Cheng <kito.cheng@gmail.com>
866 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
868 (SDATA_START_SYMBOLS): Likewise.
870 2017-01-09 Nick Clifton <nickc@redhat.com>
872 * po/sv.po: New Swedish translation.
873 * configure.ac (ALL_LINGUAS): Add sv.
874 * configure: Regenerate.
876 2017-01-09 Andrew Waterman <andrew@sifive.com>
878 * config/tc-riscv.c (relaxed_branch_length): Use the long
879 sequence when the target is a weak symbol.
881 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
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.
891 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
894 * configure.tgt: Treat sparcv9 as sparc64.
896 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
898 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
900 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
901 enabled and no other ABI is specified.
903 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
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.
909 2017-01-02 Alan Modra <amodra@gmail.com>
911 Update year range in copyright notice of all files.
913 For older changes see ChangeLog-2016
915 Copyright (C) 2017 Free Software Foundation, Inc.
917 Copying and distribution of this file, with or without modification,
918 are permitted in any medium without royalty provided the copyright
919 notice and this notice are preserved.
925 version-control: never