1 2017-03-31 Nick Clifton <nickc@redhat.com>
4 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
5 fixups in mergeable sections to be adjusted.
7 2017-03-30 Pip Cet <pipcet@gmail.com>
9 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
10 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
11 * Makefile.am: Add WebAssembly assembler target.
12 * configure.tgt: Add WebAssembly assembler target.
13 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
15 * doc/all.texi: Define WASM32.
16 * doc/as.texinfo: Add WebAssembly entries.
17 * NEWS: Mention the new support.
18 * Makefile.in: Regenerate.
19 * po/gas.pot: Regenerate.
20 * po/POTFILES.in: Regenerate.
21 * testsuite/gas/wasm32: New directory.
22 * testsuite/gas/wasm32/allinsn.d: New file.
23 * testsuite/gas/wasm32/allinsn.s: New file.
24 * testsuite/gas/wasm32/illegal.l: New file.
25 * testsuite/gas/wasm32/illegal.s: New file.
26 * testsuite/gas/wasm32/illegal-2.l: New file.
27 * testsuite/gas/wasm32/illegal-2.s: New file.
28 * testsuite/gas/wasm32/illegal-3.l: New file.
29 * testsuite/gas/wasm32/illegal-3.s: New file.
30 * testsuite/gas/wasm32/illegal-4.l: New file.
31 * testsuite/gas/wasm32/illegal-4.s: New file.
32 * testsuite/gas/wasm32/illegal-5.l: New file.
33 * testsuite/gas/wasm32/illegal-5.s: New file.
34 * testsuite/gas/wasm32/illegal-6.l: New file.
35 * testsuite/gas/wasm32/illegal-6.s: New file.
36 * testsuite/gas/wasm32/illegal-7.l: New file.
37 * testsuite/gas/wasm32/illegal-7.s: New file.
38 * testsuite/gas/wasm32/illegal-8.l: New file.
39 * testsuite/gas/wasm32/illegal-8.s: New file.
40 * testsuite/gas/wasm32/illegal-9.l: New file.
41 * testsuite/gas/wasm32/illegal-9.s: New file.
42 * testsuite/gas/wasm32/illegal-10.l: New file.
43 * testsuite/gas/wasm32/illegal-10.s: New file.
44 * testsuite/gas/wasm32/illegal-11.l: New file.
45 * testsuite/gas/wasm32/illegal-11.s: New file.
46 * testsuite/gas/wasm32/illegal-12.l: New file.
47 * testsuite/gas/wasm32/illegal-12.s: New file.
48 * testsuite/gas/wasm32/illegal-13.l: New file.
49 * testsuite/gas/wasm32/illegal-13.s: New file.
50 * testsuite/gas/wasm32/illegal-14.l: New file.
51 * testsuite/gas/wasm32/illegal-14.s: New file.
52 * testsuite/gas/wasm32/illegal-15.l: New file.
53 * testsuite/gas/wasm32/illegal-15.s: New file.
54 * testsuite/gas/wasm32/illegal-16.l: New file.
55 * testsuite/gas/wasm32/illegal-16.s: New file.
56 * testsuite/gas/wasm32/illegal-17.l: New file.
57 * testsuite/gas/wasm32/illegal-17.s: New file.
58 * testsuite/gas/wasm32/illegal-18.l: New file.
59 * testsuite/gas/wasm32/illegal-18.s: New file.
60 * testsuite/gas/wasm32/illegal-19.l: New file.
61 * testsuite/gas/wasm32/illegal-19.s: New file.
62 * testsuite/gas/wasm32/illegal-20.l: New file.
63 * testsuite/gas/wasm32/illegal-20.s: New file.
64 * testsuite/gas/wasm32/illegal-21.l: New file.
65 * testsuite/gas/wasm32/illegal-21.s: New file.
66 * testsuite/gas/wasm32/illegal-22.l: New file.
67 * testsuite/gas/wasm32/illegal-22.s: New file.
68 * testsuite/gas/wasm32/illegal-24.l: New file.
69 * testsuite/gas/wasm32/illegal-24.s: New file.
70 * testsuite/gas/wasm32/illegal-25.l: New file.
71 * testsuite/gas/wasm32/illegal-25.s: New file.
72 * testsuite/gas/wasm32/reloc.d: New file.
73 * testsuite/gas/wasm32/reloc.s: New file.
74 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
77 2017-03-29 Alan Modra <amodra@gmail.com>
79 * config/tc-ppc.c (md_parse_option): Reject -mraw.
81 2017-03-27 Alan Modra <amodra@gmail.com>
84 * testsuite/gas/ppc/pr21303.d,
85 * testsuite/gas/ppc/pr21303.s: New test
86 * testsuite/gas/ppc/ppc.exp: Run it.
88 2017-03-27 Rinat Zelig <rinat@mellanox.com>
90 * testsuite/gas/arc/nps400-12.s: New file.
91 * testsuite/gas/arc/nps400-12.d: New file.
93 2017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
95 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
96 CPU_DEFAULT is defined.
98 2017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
100 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
101 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
102 print an invalid default ISA string.
103 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
105 2017-03-22 Max Filippov <jcmvbkbc@gmail.com>
107 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
108 reassigned fixup to size of jump instruction (3) and fx_r_type
109 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
110 (add_jump_to_trampoline): Search
111 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
112 symbol and use that slot instead of slot 0.
114 2017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
116 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
117 from cpu_table. Remove vx2, and novx2 from cpu_flags.
119 2017-03-21 Rinat Zelig <rinat@mellanox.com>
121 * testsuite/gas/arc/nps400-11.s: New file.
122 * testsuite/gas/arc/nps400-11.d: New file.
124 2017-03-20 Nick Clifton <nickc@redhat.com>
126 * doc/as.texinfo (2byte): Note that if no expressions are present
127 the directive does nothing. Emphasize that the output is
128 unaligned, and that this can have an effect on the relocations
130 (4byte): Simplify description. Refer back to the 2byte
134 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
136 * config/tc-arm.c (arm_fpus): Note entires that should not be
138 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
139 neon-fp16. Fix spelling error.
141 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
143 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
145 2017-03-16 Rinat Zelig <rinat@mellanox.com>
147 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
150 2017-03-14 Kito Cheng <kito.cheng@gmail.com>
152 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
153 encoding format, which can accept 0-valued immediates.
154 (riscv_ip): Likewise.
156 2017-03-15 Nick Clifton <nickc@redhat.com>
158 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
159 warning about discarding a const qualifier.
161 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
163 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
165 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
167 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
168 fx_next->fx_frag for CFA_advance_loc relocations.
170 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
172 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
175 2017-03-13 Nick Clifton <nickc@redhat.com>
178 * config/tc-aarch64.c (reloc_table): Rename
179 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
180 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
181 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
182 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
183 (md_apply_fix): Likewise.
184 (aarch64_force_relocation): Likewise.
185 * testsuite/gas/aarch64/tls.d: Update regexp.
187 2017-03-10 Tobin C. Harding <me@tobin.cc>
188 Nick Clifton <nickc@redhat.com>
190 * doc/as.texinfo (2byte): Tidy up wording. Add note that
191 overlarge values will produce a warning message and be trunacted.
194 2017-03-09 H.J. Lu <hongjiu.lu@intel.com>
196 * config/tc-i386.c (_i386_insn): Add dir_encoding and
197 vec_encoding. Remove swap_operand and need_vrex.
198 (extra_symbol_chars): Add '}'.
199 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
201 (build_vex_prefix): Don't use 2-byte VEX encoding with
202 {vex3}. Check dir_encoding and load.
203 (parse_insn): Check pseudo prefixes. Set dir_encoding.
204 (VEX_check_operands): Likewise.
205 (match_template): Check dir_encoding and load.
206 (parse_real_register): Set vec_encoding instead of need_vrex.
207 (parse_register): Likewise.
208 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
209 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
210 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
211 * testsuite/gas/i386/pseudos.d: New file.
212 * testsuite/gas/i386/pseudos.s: Likewise.
213 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
214 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
216 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
218 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
219 (objdump): Use the -Mpower8 option.
221 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
223 * testsuite/gas/ppc/power9.d <lnia> New test.
224 * testsuite/gas/ppc/power9.s: Likewise.
226 2017-03-07 Alan Modra <amodra@gmail.com>
228 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
230 2017-03-07 Tobin C. Harding <me@tobin.cc>
231 Alan Modra <amodra@gmail.com>
233 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
234 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
236 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
238 * config/tc-i386.c (cpu_arch): Add .cet.
239 * doc/c-i386.texi: Document cet.
240 * testsuite/gas/i386/cet-intel.d: New file.
241 * testsuite/gas/i386/cet.d: Likewise.
242 * testsuite/gas/i386/cet.s: Likewise.
243 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
244 * testsuite/gas/i386/x86-64-cet.d: Likewise.
245 * testsuite/gas/i386/x86-64-cet.s: Likewise.
246 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
248 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
250 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
251 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
253 2017-03-06 Alan Modra <amodra@gmail.com>
255 * dw2gencfi.c (encoding_size): Return unsigned int.
256 (emit_expr_encoded): Assert size matches reloc bitsize.
257 (output_fde): Use unsigned for offset_size and addr_size. Set
258 addr_size earlier and use in place of constant 4 and uses of
259 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
261 2017-03-06 Alan Modra <amodra@gmail.com>
263 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
264 auto reformat. Formatting and whitespace fixes.
266 2017-03-05 Mark Wielaard <mark@klomp.org>
268 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
269 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
270 (out_debug_info): Accept symbols to name, comp_dir and producer in
271 the .debug_str section and emit those offsets not full strings.
272 (out_debug_str): New function that outputs the strings for name,
273 comp_dir and producer in .debug_str and generates symbols to those
275 (out_debug_line): Create a .debug_str section if necessary and call
276 out_debug_str before calling out_debug_info.
277 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
280 2017-03-02 Maciej W. Rozycki <macro@imgtec.com>
282 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
283 part of the frag has overrun the location requested.
285 * testsuite/gas/all/org-1.d: New test.
286 * testsuite/gas/all/org-2.d: New test.
287 * testsuite/gas/all/org-3.d: New test.
288 * testsuite/gas/all/org-4.d: New test.
289 * testsuite/gas/all/org-5.d: New test.
290 * testsuite/gas/all/org-6.d: New test.
291 * testsuite/gas/all/org-1.l: New stderr output.
292 * testsuite/gas/all/org-2.l: New stderr output.
293 * testsuite/gas/all/org-3.l: New stderr output.
294 * testsuite/gas/all/org-1.s: New test source.
295 * testsuite/gas/all/org-2.s: New test source.
296 * testsuite/gas/all/org-3.s: New test source.
297 * testsuite/gas/all/org-4.s: New test source.
298 * testsuite/gas/all/org-5.s: New test source.
299 * testsuite/gas/all/org-6.s: New test source.
300 * testsuite/gas/all/gas.exp: Run the new tests.
302 * testsuite/gas/mips/org-1.d: New test.
303 * testsuite/gas/mips/org-2.d: New test.
304 * testsuite/gas/mips/org-3.d: New test.
305 * testsuite/gas/mips/org-4.d: New test.
306 * testsuite/gas/mips/org-5.d: New test.
307 * testsuite/gas/mips/org-6.d: New test.
308 * testsuite/gas/mips/org-7.d: New test.
309 * testsuite/gas/mips/org-8.d: New test.
310 * testsuite/gas/mips/org-9.d: New test.
311 * testsuite/gas/mips/org-10.d: New test.
312 * testsuite/gas/mips/org-11.d: New test.
313 * testsuite/gas/mips/org-12.d: New test.
314 * testsuite/gas/mips/org-1.l: New stderr output.
315 * testsuite/gas/mips/org-4.l: New stderr output.
316 * testsuite/gas/mips/org-5.l: New stderr output.
317 * testsuite/gas/mips/org-6.l: New stderr output.
318 * testsuite/gas/mips/org-10.l: New stderr output.
319 * testsuite/gas/mips/org-1.s: New test source.
320 * testsuite/gas/mips/org-2.s: New test source.
321 * testsuite/gas/mips/org-3.s: New test source.
322 * testsuite/gas/mips/org-4.s: New test source.
323 * testsuite/gas/mips/org-5.s: New test source.
324 * testsuite/gas/mips/org-6.s: New test source.
325 * testsuite/gas/mips/org-7.s: New test source.
326 * testsuite/gas/mips/org-8.s: New test source.
327 * testsuite/gas/mips/org-9.s: New test source.
328 * testsuite/gas/mips/org-10.s: New test source.
329 * testsuite/gas/mips/org-11.s: New test source.
330 * testsuite/gas/mips/org-12.s: New test source.
331 * testsuite/gas/mips/mips.exp: Run the new tests.
333 2017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
335 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
337 2017-02-28 Jan Beulich <jbeulich@suse.com>
339 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
341 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
342 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
344 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
345 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
346 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
347 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
348 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
349 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
350 * testsuite/gas/i386/x86-64-avx.d: Likewise.
351 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
352 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
353 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
355 2017-02-28 Alan Modra <amodra@gmail.com>
357 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
359 2017-02-28 Alan Modra <amodra@gmail.com>
361 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
362 (md_apply_fix): Remove fx_subsy check. Move code converting to
363 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
364 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
365 that is done now by the generic code via..
366 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
367 (TC_VALIDATE_FIX_SUB): Define.
369 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
371 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
372 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
374 * testsuite/gas/mips/jalr4-n64.d: Likewise.
375 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
376 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
377 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
379 2017-02-25 Alan Modra <amodra@gmail.com>
381 * testsuite/gas/elf/strtab.s: Don't put directives on first
382 column or continuation with labels not in first column.
384 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
386 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
387 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
388 to be used with SVE registers.
389 (parse_operands): Handle new SVE operands.
390 (aarch64_features): Make "sve" require F16 rather than FP. Also
392 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
393 Include compnum tests.
394 * testsuite/gas/aarch64/sve.d: Update accordingly.
395 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
396 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
397 update expected output for new FMOV and MOV alternatives.
399 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
401 * doc/c-aarch64.texi: Add a "compnum" entry.
402 * config/tc-aarch64.c (aarch64_features): Likewise,
403 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
404 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
406 2017-02-24 Jan Beulich <jbeulich@suse.com>
408 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
409 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
410 * testsuite/gas/i386/opcode.d: Adjust accordingly.
411 * testsuite/gas/i386/opcode-intel.d: Likewise.
412 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
413 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
415 2017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
417 Test cases for the architecture level aware SPARC ASI work.
418 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
419 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
420 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
421 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
422 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
424 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
426 * testsuite/gas/mips/jalr4.d: New test.
427 * testsuite/gas/mips/jalr4-n32.d: New test.
428 * testsuite/gas/mips/jalr4-n64.d: New test.
429 * testsuite/gas/mips/jalr4.s: New test source.
430 * testsuite/gas/mips/mips.exp: Run the new tests.
432 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
434 Add support for associating SPARC ASIs with an architecture level.
435 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
437 2017-02-23 Jan Beulich <jbeulich@suse.com>
439 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
440 of symbols as expression.
442 2017-02-23 Jan Beulich <jbeulich@suse.com>
444 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
445 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
446 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
447 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
449 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
451 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
452 `md_flush_pending_output'.
453 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
454 `md_flush_pending_output' unconditionally.
455 * testsuite/gas/mips/debug-label-end-1.d: New test.
456 * testsuite/gas/mips/debug-label-end-2.d: New test.
457 * testsuite/gas/mips/debug-label-end-3.d: New test.
458 * testsuite/gas/mips/debug-label-end.s: New test source.
459 * testsuite/gas/mips/mips.exp: Run the new tests.
461 2017-02-22 Hans-Peter Nilsson <hp@axis.com>
463 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
464 targets yielding an error message matching "too complex".
466 2017-02-22 Nick Clifton <nickc@redhat.com>
468 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
470 2017-02-21 Jan Beulich <jbeulich@suse.com>
472 * expr.c (operand): Handle missing operand to .startof.() and
474 * testsuite/gas/all/err-sizeof.s: New.
476 2017-02-20 Alan Modra <amodra@gmail.com>
479 * NEWS: Revise powerpc register check.
480 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
481 register expression" a warning.
483 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
485 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
486 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
487 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
488 * testsuite/gas/mips/aent-2.d: New test.
489 * testsuite/gas/mips/aent-mdebug.d: New test.
490 * testsuite/gas/mips/aent-mdebug-2.d: New test.
491 * testsuite/gas/mips/mips.exp: Run the new tests.
493 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
495 * testsuite/gas/aarch64/sve-sysreg.s,
496 testsuite/gas/aarch64/sve-sysreg.d,
497 testsuite/gas/aarch64/sve-sysreg-invalid.d,
498 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
500 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
502 * doc/c-aarch64.texi: Fix sve entry.
504 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
506 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
507 information from input expression.
508 (assemble_insn): Make sure pcrel is correctly set.
509 (arc_pcrel_adjust): Compensate for PCL rounding.
510 * testsuite/gas/arc/relax-add01.d: New file.
511 * testsuite/gas/arc/relax-add01.s: Likewise.
512 * testsuite/gas/arc/relax-add02.d: Likewise.
513 * testsuite/gas/arc/relax-add02.s: Likewise.
514 * testsuite/gas/arc/relax-add03.d: Likewise.
515 * testsuite/gas/arc/relax-add03.s: Likewise.
516 * testsuite/gas/arc/relax-add04.d: Likewise.
517 * testsuite/gas/arc/relax-add04.s: Likewise.
518 * testsuite/gas/arc/relax-ld01.d: Likewise.
519 * testsuite/gas/arc/relax-ld01.s: Likewise.
520 * testsuite/gas/arc/relax-ld02.d: Likewise.
521 * testsuite/gas/arc/relax-ld02.s: Likewise.
522 * testsuite/gas/arc/relax-mov01.d: Likewise.
523 * testsuite/gas/arc/relax-mov01.s: Likewise.
524 * testsuite/gas/arc/relax-mov02.d: Likewise.
525 * testsuite/gas/arc/relax-mov02.s: Likewise.
526 * testsuite/gas/arc/relax-mpy01.d: Likewise.
527 * testsuite/gas/arc/relax-mpy01.s: Likewise.
528 * testsuite/gas/arc/relax-sub01.d: Likewise.
529 * testsuite/gas/arc/relax-sub01.s: Likewise.
530 * testsuite/gas/arc/relax-sub02.d: Likewise.
531 * testsuite/gas/arc/relax-sub02.s: Likewise.
532 * testsuite/gas/arc/relax-sub03.d: Likewise.
533 * testsuite/gas/arc/relax-sub03.s: Likewise.
534 * testsuite/gas/arc/relax-sub04.d: Likewise.
535 * testsuite/gas/arc/relax-sub04.s: Likewise.
537 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
539 * testsuite/gas/arc/st.d: Update for 0xe having a name now
541 2017-02-14 Alan Modra <amodra@gmail.com>
544 * NEWS: Mention powerpc register checks.
545 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
546 (pre_defined_registers): Delete fpscr and pmr entries. Set
547 register type in flags.
548 (cr_names): Set type in flags.
549 (reg_name_search): Return pointer to struct pd_reg rather than value.
550 (register_name): Adjust to suit. Set X_md from flags.
551 (ppc_parse_name): Likewise.
552 (ppc_optimize_expr): New function.
553 (md_assemble): Verify expresion reg flags match operand.
554 * config/tc-ppc.h (md_optimize_expr): Define.
555 (ppc_optimize_expr): Declare.
557 2017-02-14 Alan Modra <amodra@gmail.com>
559 * testsuite/gas/ppc/cell.s: Correct invalid registers.
560 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
561 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
563 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
565 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
567 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
568 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
570 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
572 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
574 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
576 * doc/as.texinfo (Overview): Select MIPS options for man page
579 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
581 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
582 (options): Add OPTION_IGNORE_BRANCH_ISA and
583 OPTION_NO_IGNORE_BRANCH_ISA enum values.
584 (md_longopts): Add "mignore-branch-isa" and
585 "mno-ignore-branch-isa" options.
586 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
587 OPTION_NO_IGNORE_BRANCH_ISA.
588 (fix_bad_cross_mode_branch_p): Return FALSE if
589 `mips_ignore_branch_isa' has been set.
590 (md_show_usage): Add `-mignore-branch-isa' and
591 `-mno-ignore-branch-isa'.
593 * doc/as.texinfo (Target MIPS options): Add
594 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
595 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
596 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
597 `-mno-ignore-branch-isa' options.
599 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
600 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
601 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
602 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
603 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
604 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
605 * testsuite/gas/mips/mips.exp: Run the new tests.
607 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
609 * testsuite/gas/mips/branch-local-2.d: New test.
610 * testsuite/gas/mips/branch-local-3.d: New test.
611 * testsuite/gas/mips/branch-local-n32-2.d: New test.
612 * testsuite/gas/mips/branch-local-n32-3.d: New test.
613 * testsuite/gas/mips/branch-local-n64-2.d: New test.
614 * testsuite/gas/mips/branch-local-n64-3.d: New test.
615 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
618 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
621 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
622 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
624 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
626 * configure.tgt (aarch64*-*-rtems*): Remove.
627 (bfin-*-rtems*): Likewise.
628 (h8300-*-rtems*): Likewise.
629 (i386-*-rtems*): Likewise.
630 (m32c-*-rtems*): Likewise.
631 (m32r-*-rtems*): Likewise.
632 (m68k-*-rtems*): Likewise.
633 (mips-*-rtems*): Likewise.
634 (nios2-*-rtems*): Likewise.
635 (ppc-*-rtems*): Likewise.
636 (sh-*-rtems*): Likewise.
637 (sparc64-*-rtems*): Likewise.
638 (sparc-*-rtems*): Likewise.
639 (*-*-rtems*) Use ELF format.
641 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
643 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
645 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
647 * configure.tgt (sh-*-rtemscoff*): Remove.
649 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
651 * configure.tgt (riscv*-*-*): Remove em=linux.
653 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
656 * asintl.h: Fix spelling mistakes and typos.
657 * atof-generic.c: Likewise.
658 * bit_fix.h: Likewise.
659 * config/atof-ieee.c: Likewise.
660 * config/bfin-defs.h: Likewise.
661 * config/bfin-parse.y: Likewise.
662 * config/obj-coff-seh.h: Likewise.
663 * config/obj-coff.c: Likewise.
664 * config/obj-evax.c: Likewise.
665 * config/obj-macho.c: Likewise.
666 * config/rx-parse.y: Likewise.
667 * config/tc-aarch64.c: Likewise.
668 * config/tc-alpha.c: Likewise.
669 * config/tc-arc.c: Likewise.
670 * config/tc-arm.c: Likewise.
671 * config/tc-avr.c: Likewise.
672 * config/tc-bfin.c: Likewise.
673 * config/tc-cr16.c: Likewise.
674 * config/tc-cris.c: Likewise.
675 * config/tc-crx.c: Likewise.
676 * config/tc-d10v.c: Likewise.
677 * config/tc-d30v.c: Likewise.
678 * config/tc-dlx.c: Likewise.
679 * config/tc-epiphany.c: Likewise.
680 * config/tc-frv.c: Likewise.
681 * config/tc-hppa.c: Likewise.
682 * config/tc-i370.c: Likewise.
683 * config/tc-i386-intel.c: Likewise.
684 * config/tc-i386.c: Likewise.
685 * config/tc-i960.c: Likewise.
686 * config/tc-ia64.c: Likewise.
687 * config/tc-m32r.c: Likewise.
688 * config/tc-m68hc11.c: Likewise.
689 * config/tc-m68k.c: Likewise.
690 * config/tc-mcore.c: Likewise.
691 * config/tc-mep.c: Likewise.
692 * config/tc-mep.h: Likewise.
693 * config/tc-metag.c: Likewise.
694 * config/tc-microblaze.c: Likewise.
695 * config/tc-mips.c: Likewise.
696 * config/tc-mmix.c: Likewise.
697 * config/tc-mn10200.c: Likewise.
698 * config/tc-mn10300.c: Likewise.
699 * config/tc-msp430.c: Likewise.
700 * config/tc-msp430.h: Likewise.
701 * config/tc-nds32.c: Likewise.
702 * config/tc-nds32.h: Likewise.
703 * config/tc-nios2.c: Likewise.
704 * config/tc-nios2.h: Likewise.
705 * config/tc-ns32k.c: Likewise.
706 * config/tc-pdp11.c: Likewise.
707 * config/tc-ppc.c: Likewise.
708 * config/tc-pru.c: Likewise.
709 * config/tc-rx.c: Likewise.
710 * config/tc-s390.c: Likewise.
711 * config/tc-score.c: Likewise.
712 * config/tc-score7.c: Likewise.
713 * config/tc-sh.c: Likewise.
714 * config/tc-sh64.c: Likewise.
715 * config/tc-sparc.c: Likewise.
716 * config/tc-tic4x.c: Likewise.
717 * config/tc-tic54x.c: Likewise.
718 * config/tc-v850.c: Likewise.
719 * config/tc-vax.c: Likewise.
720 * config/tc-visium.c: Likewise.
721 * config/tc-xgate.c: Likewise.
722 * config/tc-xtensa.c: Likewise.
723 * config/tc-z80.c: Likewise.
724 * config/tc-z8k.c: Likewise.
725 * config/te-vms.c: Likewise.
726 * config/xtensa-relax.c: Likewise.
727 * doc/as.texinfo: Likewise.
728 * doc/c-arm.texi: Likewise.
729 * doc/c-hppa.texi: Likewise.
730 * doc/c-i370.texi: Likewise.
731 * doc/c-i386.texi: Likewise.
732 * doc/c-m32r.texi: Likewise.
733 * doc/c-m68k.texi: Likewise.
734 * doc/c-mmix.texi: Likewise.
735 * doc/c-msp430.texi: Likewise.
736 * doc/c-nds32.texi: Likewise.
737 * doc/c-ns32k.texi: Likewise.
738 * doc/c-riscv.texi: Likewise.
739 * doc/c-rx.texi: Likewise.
740 * doc/c-s390.texi: Likewise.
741 * doc/c-tic6x.texi: Likewise.
742 * doc/c-tilegx.texi: Likewise.
743 * doc/c-tilepro.texi: Likewise.
744 * doc/c-v850.texi: Likewise.
745 * doc/c-xgate.texi: Likewise.
746 * doc/c-xtensa.texi: Likewise.
747 * dwarf2dbg.c: Likewise.
749 * itbl-ops.c: Likewise.
750 * listing.c: Likewise.
752 * po/gas.pot: Likewise.
754 * struc-symbol.h: Likewise.
755 * symbols.h: Likewise.
756 * testsuite/gas/arc/relocs-errors.err: Likewise.
759 2017-01-23 Nick Clifton <nickc@redhat.com>
761 * po/sv.po: Updated Swedish translation.
763 2017-01-20 Nick Clifton <nickc@redhat.com>
765 * config/tc-i386.c (parse_operands): Check for operand overflow
766 before setting the unspecified bit.
768 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
771 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
772 symbols, remove the `segtype' parameter.
773 (mips_frob_file, md_estimate_size_before_relax): Adjust
775 (s_is_linkonce): Add an explanatory comment.
776 * testsuite/gas/mips/comdat-reloc.d: New test.
777 * testsuite/gas/mips/comdat-reloc.s: New test source.
778 * testsuite/gas/mips/mips.exp: Run the new test.
780 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
782 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
783 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
785 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
788 * config/bfin-lex.l: Support processing with flex 2.6.3.
789 * itbl-lex.l: Likewise.
791 2017-01-18 Nathan Sidwell <nathan@acm.org>
793 * as.h (gas_assert): Use abort.
795 (signal_init): Declare.
796 * as.c (main): Call signal_init.
797 * messages.c: #include <signal.h>
799 (as_abort): Allow NULL FILE.
801 (signal_init): Register fatal signal handlers.
802 * configure.ac: Check for strsignal.
803 * config.in: Rebuilt.
804 * configure: Rebuilt.
806 2017-01-17 Nick Clifton <nickc@redhat.com>
808 * po/sv.po: Updated Swedish translation.
810 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
812 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
813 (cpu_noarch): Add noavx512_vpopcntdq.
814 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
815 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
816 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
817 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
818 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
819 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
820 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
821 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
823 2017-01-12 Nick Clifton <nickc@redhat.com>
825 * read.c (temp_ilp): New function. Installs a temporary input
827 (restore_ilp): New function. Restores the original input line
829 * read.h (temp_ilp): Prototype.
830 (restore_ilp): Prototype.
831 * stabs.c (dot_func_p): Use bfd_boolean type.
832 (generate_asm_file): Use temp_ilp and restore_ilp.
833 (stabs_generate_asm_lineno): Likewise.
834 (stabs_generate_asm_endfunc): Likewise.
836 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
838 * configure.tgt: Add entry for i386-redox.
840 2017-01-10 Nick Clifton <nickc@redhat.com>
842 * po/sv.po: Updated Swedish translation.
844 2017-01-10 Tristan Gingold <gingold@adacore.com>
846 * testsuite/gas/all/sleb128-8.d: Adjust test.
847 * testsuite/gas/all/gas.exp (test_cond): Likewise.
849 2017-01-10 Tristan Gingold <gingold@adacore.com>
851 * read.c (emit_leb128_expr): Extended unsigned big number for
853 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
854 * testsuite/gas/all/sleb128.d: New test.
855 * testsuite/gas/all/sleb128.s: New test source.
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 Andrew Waterman <andrew@sifive.com>
865 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
867 (md_apply_fix): Mark relocations against constants as "done."
869 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
870 Kito Cheng <kito.cheng@gmail.com>
872 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
874 (SDATA_START_SYMBOLS): Likewise.
876 2017-01-09 Nick Clifton <nickc@redhat.com>
878 * po/sv.po: New Swedish translation.
879 * configure.ac (ALL_LINGUAS): Add sv.
880 * configure: Regenerate.
882 2017-01-09 Andrew Waterman <andrew@sifive.com>
884 * config/tc-riscv.c (relaxed_branch_length): Use the long
885 sequence when the target is a weak symbol.
887 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
889 * config/tc-aarch64.c (aarch64_features): Add rcpc.
890 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
891 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
892 * testsuite/gas/aarch64/ldst-rcpc.d: This.
893 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
894 * testsuite/gas/aarch64/ldst-rcpc.s: This.
895 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
897 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
900 * configure.tgt: Treat sparcv9 as sparc64.
902 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
904 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
906 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
907 enabled and no other ABI is specified.
909 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
911 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
912 valueT, as declared in tc.h.
913 (md_apply_fix): Fix to work on 32-bit hosts.
915 2017-01-02 Alan Modra <amodra@gmail.com>
917 Update year range in copyright notice of all files.
919 For older changes see ChangeLog-2016
921 Copyright (C) 2017 Free Software Foundation, Inc.
923 Copying and distribution of this file, with or without modification,
924 are permitted in any medium without royalty provided the copyright
925 notice and this notice are preserved.
931 version-control: never