1 2017-04-06 Pip Cet <pipcet@gmail.com>
3 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
5 * testsuite/gas/wasm32/disass.d: New test.
6 * testsuite/gas/wasm32/disass.s: New test.
7 * testsuite/gas/wasm32/disass-2.d: New test.
8 * testsuite/gas/wasm32/disass-2.s: New test.
9 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
11 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
13 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
16 2017-04-04 H.J. Lu <hongjiu.lu@intel.com>
18 * NEWS: Mention support for ELF SHF_GNU_MBIND.
19 * config/obj-elf.c (section_match): New.
20 (get_section): Match both sh_info and group name.
21 (obj_elf_change_section): Add argument for sh_info. Pass both
22 sh_info and group name to get_section. Issue an error for
23 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
24 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
25 (obj_elf_section): Support SHF_GNU_MBIND section info.
26 * config/obj-elf.h (obj_elf_change_section): Add argument for
28 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
29 obj_elf_change_section.
30 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
31 * config/tc-microblaze.c (microblaze_s_data): Likewise.
32 (microblaze_s_sdata): Likewise.
33 (microblaze_s_rdata): Likewise.
34 (microblaze_s_bss): Likewise.
35 * config/tc-mips.c (s_change_section): Likewise.
36 * config/tc-msp430.c (msp430_profiler): Likewise.
37 * config/tc-rx.c (parse_rx_section): Likewise.
38 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
39 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
40 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
42 * testsuite/gas/elf/section10.d: Updated.
43 * testsuite/gas/elf/section10.s: Likewise.
44 * testsuite/gas/elf/section12.s: New file.
45 * testsuite/gas/elf/section12a.d: Likewise.
46 * testsuite/gas/elf/section12b.d: Likewise.
47 * testsuite/gas/elf/section13.l: Likewise.
48 * testsuite/gas/elf/section13.d: Likewise.
49 * testsuite/gas/elf/section13.s: Likewise.
51 2017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
53 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
56 2017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
58 * config/tc-riscv.c (riscv_clear_subsets): New function.
59 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
60 clear RVC when it's been previously set.
62 2017-03-31 Nick Clifton <nickc@redhat.com>
65 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
66 fixups in mergeable sections to be adjusted.
68 2017-03-30 Pip Cet <pipcet@gmail.com>
70 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
71 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
72 * Makefile.am: Add WebAssembly assembler target.
73 * configure.tgt: Add WebAssembly assembler target.
74 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
76 * doc/all.texi: Define WASM32.
77 * doc/as.texinfo: Add WebAssembly entries.
78 * NEWS: Mention the new support.
79 * Makefile.in: Regenerate.
80 * po/gas.pot: Regenerate.
81 * po/POTFILES.in: Regenerate.
82 * testsuite/gas/wasm32: New directory.
83 * testsuite/gas/wasm32/allinsn.d: New file.
84 * testsuite/gas/wasm32/allinsn.s: New file.
85 * testsuite/gas/wasm32/illegal.l: New file.
86 * testsuite/gas/wasm32/illegal.s: New file.
87 * testsuite/gas/wasm32/illegal-2.l: New file.
88 * testsuite/gas/wasm32/illegal-2.s: New file.
89 * testsuite/gas/wasm32/illegal-3.l: New file.
90 * testsuite/gas/wasm32/illegal-3.s: New file.
91 * testsuite/gas/wasm32/illegal-4.l: New file.
92 * testsuite/gas/wasm32/illegal-4.s: New file.
93 * testsuite/gas/wasm32/illegal-5.l: New file.
94 * testsuite/gas/wasm32/illegal-5.s: New file.
95 * testsuite/gas/wasm32/illegal-6.l: New file.
96 * testsuite/gas/wasm32/illegal-6.s: New file.
97 * testsuite/gas/wasm32/illegal-7.l: New file.
98 * testsuite/gas/wasm32/illegal-7.s: New file.
99 * testsuite/gas/wasm32/illegal-8.l: New file.
100 * testsuite/gas/wasm32/illegal-8.s: New file.
101 * testsuite/gas/wasm32/illegal-9.l: New file.
102 * testsuite/gas/wasm32/illegal-9.s: New file.
103 * testsuite/gas/wasm32/illegal-10.l: New file.
104 * testsuite/gas/wasm32/illegal-10.s: New file.
105 * testsuite/gas/wasm32/illegal-11.l: New file.
106 * testsuite/gas/wasm32/illegal-11.s: New file.
107 * testsuite/gas/wasm32/illegal-12.l: New file.
108 * testsuite/gas/wasm32/illegal-12.s: New file.
109 * testsuite/gas/wasm32/illegal-13.l: New file.
110 * testsuite/gas/wasm32/illegal-13.s: New file.
111 * testsuite/gas/wasm32/illegal-14.l: New file.
112 * testsuite/gas/wasm32/illegal-14.s: New file.
113 * testsuite/gas/wasm32/illegal-15.l: New file.
114 * testsuite/gas/wasm32/illegal-15.s: New file.
115 * testsuite/gas/wasm32/illegal-16.l: New file.
116 * testsuite/gas/wasm32/illegal-16.s: New file.
117 * testsuite/gas/wasm32/illegal-17.l: New file.
118 * testsuite/gas/wasm32/illegal-17.s: New file.
119 * testsuite/gas/wasm32/illegal-18.l: New file.
120 * testsuite/gas/wasm32/illegal-18.s: New file.
121 * testsuite/gas/wasm32/illegal-19.l: New file.
122 * testsuite/gas/wasm32/illegal-19.s: New file.
123 * testsuite/gas/wasm32/illegal-20.l: New file.
124 * testsuite/gas/wasm32/illegal-20.s: New file.
125 * testsuite/gas/wasm32/illegal-21.l: New file.
126 * testsuite/gas/wasm32/illegal-21.s: New file.
127 * testsuite/gas/wasm32/illegal-22.l: New file.
128 * testsuite/gas/wasm32/illegal-22.s: New file.
129 * testsuite/gas/wasm32/illegal-24.l: New file.
130 * testsuite/gas/wasm32/illegal-24.s: New file.
131 * testsuite/gas/wasm32/illegal-25.l: New file.
132 * testsuite/gas/wasm32/illegal-25.s: New file.
133 * testsuite/gas/wasm32/reloc.d: New file.
134 * testsuite/gas/wasm32/reloc.s: New file.
135 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
138 2017-03-29 Alan Modra <amodra@gmail.com>
140 * config/tc-ppc.c (md_parse_option): Reject -mraw.
142 2017-03-27 Alan Modra <amodra@gmail.com>
145 * testsuite/gas/ppc/pr21303.d,
146 * testsuite/gas/ppc/pr21303.s: New test
147 * testsuite/gas/ppc/ppc.exp: Run it.
149 2017-03-27 Rinat Zelig <rinat@mellanox.com>
151 * testsuite/gas/arc/nps400-12.s: New file.
152 * testsuite/gas/arc/nps400-12.d: New file.
154 2017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
156 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
157 CPU_DEFAULT is defined.
159 2017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
161 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
162 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
163 print an invalid default ISA string.
164 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
166 2017-03-22 Max Filippov <jcmvbkbc@gmail.com>
168 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
169 reassigned fixup to size of jump instruction (3) and fx_r_type
170 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
171 (add_jump_to_trampoline): Search
172 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
173 symbol and use that slot instead of slot 0.
175 2017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
177 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
178 from cpu_table. Remove vx2, and novx2 from cpu_flags.
180 2017-03-21 Rinat Zelig <rinat@mellanox.com>
182 * testsuite/gas/arc/nps400-11.s: New file.
183 * testsuite/gas/arc/nps400-11.d: New file.
185 2017-03-20 Nick Clifton <nickc@redhat.com>
187 * doc/as.texinfo (2byte): Note that if no expressions are present
188 the directive does nothing. Emphasize that the output is
189 unaligned, and that this can have an effect on the relocations
191 (4byte): Simplify description. Refer back to the 2byte
195 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
197 * config/tc-arm.c (arm_fpus): Note entires that should not be
199 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
200 neon-fp16. Fix spelling error.
202 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
204 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
206 2017-03-16 Rinat Zelig <rinat@mellanox.com>
208 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
211 2017-03-14 Kito Cheng <kito.cheng@gmail.com>
213 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
214 encoding format, which can accept 0-valued immediates.
215 (riscv_ip): Likewise.
217 2017-03-15 Nick Clifton <nickc@redhat.com>
219 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
220 warning about discarding a const qualifier.
222 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
224 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
226 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
228 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
229 fx_next->fx_frag for CFA_advance_loc relocations.
231 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
233 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
236 2017-03-13 Nick Clifton <nickc@redhat.com>
239 * config/tc-aarch64.c (reloc_table): Rename
240 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
241 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
242 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
243 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
244 (md_apply_fix): Likewise.
245 (aarch64_force_relocation): Likewise.
246 * testsuite/gas/aarch64/tls.d: Update regexp.
248 2017-03-10 Tobin C. Harding <me@tobin.cc>
249 Nick Clifton <nickc@redhat.com>
251 * doc/as.texinfo (2byte): Tidy up wording. Add note that
252 overlarge values will produce a warning message and be trunacted.
255 2017-03-09 H.J. Lu <hongjiu.lu@intel.com>
257 * config/tc-i386.c (_i386_insn): Add dir_encoding and
258 vec_encoding. Remove swap_operand and need_vrex.
259 (extra_symbol_chars): Add '}'.
260 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
262 (build_vex_prefix): Don't use 2-byte VEX encoding with
263 {vex3}. Check dir_encoding and load.
264 (parse_insn): Check pseudo prefixes. Set dir_encoding.
265 (VEX_check_operands): Likewise.
266 (match_template): Check dir_encoding and load.
267 (parse_real_register): Set vec_encoding instead of need_vrex.
268 (parse_register): Likewise.
269 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
270 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
271 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
272 * testsuite/gas/i386/pseudos.d: New file.
273 * testsuite/gas/i386/pseudos.s: Likewise.
274 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
275 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
277 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
279 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
280 (objdump): Use the -Mpower8 option.
282 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
284 * testsuite/gas/ppc/power9.d <lnia> New test.
285 * testsuite/gas/ppc/power9.s: Likewise.
287 2017-03-07 Alan Modra <amodra@gmail.com>
289 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
291 2017-03-07 Tobin C. Harding <me@tobin.cc>
292 Alan Modra <amodra@gmail.com>
294 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
295 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
297 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
299 * config/tc-i386.c (cpu_arch): Add .cet.
300 * doc/c-i386.texi: Document cet.
301 * testsuite/gas/i386/cet-intel.d: New file.
302 * testsuite/gas/i386/cet.d: Likewise.
303 * testsuite/gas/i386/cet.s: Likewise.
304 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
305 * testsuite/gas/i386/x86-64-cet.d: Likewise.
306 * testsuite/gas/i386/x86-64-cet.s: Likewise.
307 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
309 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
311 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
312 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
314 2017-03-06 Alan Modra <amodra@gmail.com>
316 * dw2gencfi.c (encoding_size): Return unsigned int.
317 (emit_expr_encoded): Assert size matches reloc bitsize.
318 (output_fde): Use unsigned for offset_size and addr_size. Set
319 addr_size earlier and use in place of constant 4 and uses of
320 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
322 2017-03-06 Alan Modra <amodra@gmail.com>
324 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
325 auto reformat. Formatting and whitespace fixes.
327 2017-03-05 Mark Wielaard <mark@klomp.org>
329 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
330 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
331 (out_debug_info): Accept symbols to name, comp_dir and producer in
332 the .debug_str section and emit those offsets not full strings.
333 (out_debug_str): New function that outputs the strings for name,
334 comp_dir and producer in .debug_str and generates symbols to those
336 (out_debug_line): Create a .debug_str section if necessary and call
337 out_debug_str before calling out_debug_info.
338 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
341 2017-03-02 Maciej W. Rozycki <macro@imgtec.com>
343 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
344 part of the frag has overrun the location requested.
346 * testsuite/gas/all/org-1.d: New test.
347 * testsuite/gas/all/org-2.d: New test.
348 * testsuite/gas/all/org-3.d: New test.
349 * testsuite/gas/all/org-4.d: New test.
350 * testsuite/gas/all/org-5.d: New test.
351 * testsuite/gas/all/org-6.d: New test.
352 * testsuite/gas/all/org-1.l: New stderr output.
353 * testsuite/gas/all/org-2.l: New stderr output.
354 * testsuite/gas/all/org-3.l: New stderr output.
355 * testsuite/gas/all/org-1.s: New test source.
356 * testsuite/gas/all/org-2.s: New test source.
357 * testsuite/gas/all/org-3.s: New test source.
358 * testsuite/gas/all/org-4.s: New test source.
359 * testsuite/gas/all/org-5.s: New test source.
360 * testsuite/gas/all/org-6.s: New test source.
361 * testsuite/gas/all/gas.exp: Run the new tests.
363 * testsuite/gas/mips/org-1.d: New test.
364 * testsuite/gas/mips/org-2.d: New test.
365 * testsuite/gas/mips/org-3.d: New test.
366 * testsuite/gas/mips/org-4.d: New test.
367 * testsuite/gas/mips/org-5.d: New test.
368 * testsuite/gas/mips/org-6.d: New test.
369 * testsuite/gas/mips/org-7.d: New test.
370 * testsuite/gas/mips/org-8.d: New test.
371 * testsuite/gas/mips/org-9.d: New test.
372 * testsuite/gas/mips/org-10.d: New test.
373 * testsuite/gas/mips/org-11.d: New test.
374 * testsuite/gas/mips/org-12.d: New test.
375 * testsuite/gas/mips/org-1.l: New stderr output.
376 * testsuite/gas/mips/org-4.l: New stderr output.
377 * testsuite/gas/mips/org-5.l: New stderr output.
378 * testsuite/gas/mips/org-6.l: New stderr output.
379 * testsuite/gas/mips/org-10.l: New stderr output.
380 * testsuite/gas/mips/org-1.s: New test source.
381 * testsuite/gas/mips/org-2.s: New test source.
382 * testsuite/gas/mips/org-3.s: New test source.
383 * testsuite/gas/mips/org-4.s: New test source.
384 * testsuite/gas/mips/org-5.s: New test source.
385 * testsuite/gas/mips/org-6.s: New test source.
386 * testsuite/gas/mips/org-7.s: New test source.
387 * testsuite/gas/mips/org-8.s: New test source.
388 * testsuite/gas/mips/org-9.s: New test source.
389 * testsuite/gas/mips/org-10.s: New test source.
390 * testsuite/gas/mips/org-11.s: New test source.
391 * testsuite/gas/mips/org-12.s: New test source.
392 * testsuite/gas/mips/mips.exp: Run the new tests.
394 2017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
396 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
398 2017-02-28 Jan Beulich <jbeulich@suse.com>
400 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
402 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
403 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
405 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
406 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
407 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
408 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
409 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
410 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
411 * testsuite/gas/i386/x86-64-avx.d: Likewise.
412 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
413 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
414 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
416 2017-02-28 Alan Modra <amodra@gmail.com>
418 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
420 2017-02-28 Alan Modra <amodra@gmail.com>
422 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
423 (md_apply_fix): Remove fx_subsy check. Move code converting to
424 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
425 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
426 that is done now by the generic code via..
427 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
428 (TC_VALIDATE_FIX_SUB): Define.
430 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
432 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
433 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
435 * testsuite/gas/mips/jalr4-n64.d: Likewise.
436 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
437 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
438 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
440 2017-02-25 Alan Modra <amodra@gmail.com>
442 * testsuite/gas/elf/strtab.s: Don't put directives on first
443 column or continuation with labels not in first column.
445 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
447 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
448 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
449 to be used with SVE registers.
450 (parse_operands): Handle new SVE operands.
451 (aarch64_features): Make "sve" require F16 rather than FP. Also
453 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
454 Include compnum tests.
455 * testsuite/gas/aarch64/sve.d: Update accordingly.
456 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
457 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
458 update expected output for new FMOV and MOV alternatives.
460 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
462 * doc/c-aarch64.texi: Add a "compnum" entry.
463 * config/tc-aarch64.c (aarch64_features): Likewise,
464 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
465 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
467 2017-02-24 Jan Beulich <jbeulich@suse.com>
469 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
470 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
471 * testsuite/gas/i386/opcode.d: Adjust accordingly.
472 * testsuite/gas/i386/opcode-intel.d: Likewise.
473 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
474 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
476 2017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
478 Test cases for the architecture level aware SPARC ASI work.
479 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
480 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
481 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
482 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
483 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
485 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
487 * testsuite/gas/mips/jalr4.d: New test.
488 * testsuite/gas/mips/jalr4-n32.d: New test.
489 * testsuite/gas/mips/jalr4-n64.d: New test.
490 * testsuite/gas/mips/jalr4.s: New test source.
491 * testsuite/gas/mips/mips.exp: Run the new tests.
493 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
495 Add support for associating SPARC ASIs with an architecture level.
496 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
498 2017-02-23 Jan Beulich <jbeulich@suse.com>
500 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
501 of symbols as expression.
503 2017-02-23 Jan Beulich <jbeulich@suse.com>
505 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
506 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
507 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
508 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
510 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
512 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
513 `md_flush_pending_output'.
514 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
515 `md_flush_pending_output' unconditionally.
516 * testsuite/gas/mips/debug-label-end-1.d: New test.
517 * testsuite/gas/mips/debug-label-end-2.d: New test.
518 * testsuite/gas/mips/debug-label-end-3.d: New test.
519 * testsuite/gas/mips/debug-label-end.s: New test source.
520 * testsuite/gas/mips/mips.exp: Run the new tests.
522 2017-02-22 Hans-Peter Nilsson <hp@axis.com>
524 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
525 targets yielding an error message matching "too complex".
527 2017-02-22 Nick Clifton <nickc@redhat.com>
529 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
531 2017-02-21 Jan Beulich <jbeulich@suse.com>
533 * expr.c (operand): Handle missing operand to .startof.() and
535 * testsuite/gas/all/err-sizeof.s: New.
537 2017-02-20 Alan Modra <amodra@gmail.com>
540 * NEWS: Revise powerpc register check.
541 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
542 register expression" a warning.
544 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
546 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
547 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
548 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
549 * testsuite/gas/mips/aent-2.d: New test.
550 * testsuite/gas/mips/aent-mdebug.d: New test.
551 * testsuite/gas/mips/aent-mdebug-2.d: New test.
552 * testsuite/gas/mips/mips.exp: Run the new tests.
554 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
556 * testsuite/gas/aarch64/sve-sysreg.s,
557 testsuite/gas/aarch64/sve-sysreg.d,
558 testsuite/gas/aarch64/sve-sysreg-invalid.d,
559 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
561 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
563 * doc/c-aarch64.texi: Fix sve entry.
565 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
567 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
568 information from input expression.
569 (assemble_insn): Make sure pcrel is correctly set.
570 (arc_pcrel_adjust): Compensate for PCL rounding.
571 * testsuite/gas/arc/relax-add01.d: New file.
572 * testsuite/gas/arc/relax-add01.s: Likewise.
573 * testsuite/gas/arc/relax-add02.d: Likewise.
574 * testsuite/gas/arc/relax-add02.s: Likewise.
575 * testsuite/gas/arc/relax-add03.d: Likewise.
576 * testsuite/gas/arc/relax-add03.s: Likewise.
577 * testsuite/gas/arc/relax-add04.d: Likewise.
578 * testsuite/gas/arc/relax-add04.s: Likewise.
579 * testsuite/gas/arc/relax-ld01.d: Likewise.
580 * testsuite/gas/arc/relax-ld01.s: Likewise.
581 * testsuite/gas/arc/relax-ld02.d: Likewise.
582 * testsuite/gas/arc/relax-ld02.s: Likewise.
583 * testsuite/gas/arc/relax-mov01.d: Likewise.
584 * testsuite/gas/arc/relax-mov01.s: Likewise.
585 * testsuite/gas/arc/relax-mov02.d: Likewise.
586 * testsuite/gas/arc/relax-mov02.s: Likewise.
587 * testsuite/gas/arc/relax-mpy01.d: Likewise.
588 * testsuite/gas/arc/relax-mpy01.s: Likewise.
589 * testsuite/gas/arc/relax-sub01.d: Likewise.
590 * testsuite/gas/arc/relax-sub01.s: Likewise.
591 * testsuite/gas/arc/relax-sub02.d: Likewise.
592 * testsuite/gas/arc/relax-sub02.s: Likewise.
593 * testsuite/gas/arc/relax-sub03.d: Likewise.
594 * testsuite/gas/arc/relax-sub03.s: Likewise.
595 * testsuite/gas/arc/relax-sub04.d: Likewise.
596 * testsuite/gas/arc/relax-sub04.s: Likewise.
598 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
600 * testsuite/gas/arc/st.d: Update for 0xe having a name now
602 2017-02-14 Alan Modra <amodra@gmail.com>
605 * NEWS: Mention powerpc register checks.
606 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
607 (pre_defined_registers): Delete fpscr and pmr entries. Set
608 register type in flags.
609 (cr_names): Set type in flags.
610 (reg_name_search): Return pointer to struct pd_reg rather than value.
611 (register_name): Adjust to suit. Set X_md from flags.
612 (ppc_parse_name): Likewise.
613 (ppc_optimize_expr): New function.
614 (md_assemble): Verify expresion reg flags match operand.
615 * config/tc-ppc.h (md_optimize_expr): Define.
616 (ppc_optimize_expr): Declare.
618 2017-02-14 Alan Modra <amodra@gmail.com>
620 * testsuite/gas/ppc/cell.s: Correct invalid registers.
621 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
622 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
624 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
626 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
628 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
629 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
631 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
633 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
635 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
637 * doc/as.texinfo (Overview): Select MIPS options for man page
640 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
642 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
643 (options): Add OPTION_IGNORE_BRANCH_ISA and
644 OPTION_NO_IGNORE_BRANCH_ISA enum values.
645 (md_longopts): Add "mignore-branch-isa" and
646 "mno-ignore-branch-isa" options.
647 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
648 OPTION_NO_IGNORE_BRANCH_ISA.
649 (fix_bad_cross_mode_branch_p): Return FALSE if
650 `mips_ignore_branch_isa' has been set.
651 (md_show_usage): Add `-mignore-branch-isa' and
652 `-mno-ignore-branch-isa'.
654 * doc/as.texinfo (Target MIPS options): Add
655 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
656 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
657 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
658 `-mno-ignore-branch-isa' options.
660 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
661 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
662 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
663 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
664 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
665 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
666 * testsuite/gas/mips/mips.exp: Run the new tests.
668 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
670 * testsuite/gas/mips/branch-local-2.d: New test.
671 * testsuite/gas/mips/branch-local-3.d: New test.
672 * testsuite/gas/mips/branch-local-n32-2.d: New test.
673 * testsuite/gas/mips/branch-local-n32-3.d: New test.
674 * testsuite/gas/mips/branch-local-n64-2.d: New test.
675 * testsuite/gas/mips/branch-local-n64-3.d: New test.
676 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
679 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
682 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
683 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
685 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
687 * configure.tgt (aarch64*-*-rtems*): Remove.
688 (bfin-*-rtems*): Likewise.
689 (h8300-*-rtems*): Likewise.
690 (i386-*-rtems*): Likewise.
691 (m32c-*-rtems*): Likewise.
692 (m32r-*-rtems*): Likewise.
693 (m68k-*-rtems*): Likewise.
694 (mips-*-rtems*): Likewise.
695 (nios2-*-rtems*): Likewise.
696 (ppc-*-rtems*): Likewise.
697 (sh-*-rtems*): Likewise.
698 (sparc64-*-rtems*): Likewise.
699 (sparc-*-rtems*): Likewise.
700 (*-*-rtems*) Use ELF format.
702 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
704 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
706 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
708 * configure.tgt (sh-*-rtemscoff*): Remove.
710 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
712 * configure.tgt (riscv*-*-*): Remove em=linux.
714 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
717 * asintl.h: Fix spelling mistakes and typos.
718 * atof-generic.c: Likewise.
719 * bit_fix.h: Likewise.
720 * config/atof-ieee.c: Likewise.
721 * config/bfin-defs.h: Likewise.
722 * config/bfin-parse.y: Likewise.
723 * config/obj-coff-seh.h: Likewise.
724 * config/obj-coff.c: Likewise.
725 * config/obj-evax.c: Likewise.
726 * config/obj-macho.c: Likewise.
727 * config/rx-parse.y: Likewise.
728 * config/tc-aarch64.c: Likewise.
729 * config/tc-alpha.c: Likewise.
730 * config/tc-arc.c: Likewise.
731 * config/tc-arm.c: Likewise.
732 * config/tc-avr.c: Likewise.
733 * config/tc-bfin.c: Likewise.
734 * config/tc-cr16.c: Likewise.
735 * config/tc-cris.c: Likewise.
736 * config/tc-crx.c: Likewise.
737 * config/tc-d10v.c: Likewise.
738 * config/tc-d30v.c: Likewise.
739 * config/tc-dlx.c: Likewise.
740 * config/tc-epiphany.c: Likewise.
741 * config/tc-frv.c: Likewise.
742 * config/tc-hppa.c: Likewise.
743 * config/tc-i370.c: Likewise.
744 * config/tc-i386-intel.c: Likewise.
745 * config/tc-i386.c: Likewise.
746 * config/tc-i960.c: Likewise.
747 * config/tc-ia64.c: Likewise.
748 * config/tc-m32r.c: Likewise.
749 * config/tc-m68hc11.c: Likewise.
750 * config/tc-m68k.c: Likewise.
751 * config/tc-mcore.c: Likewise.
752 * config/tc-mep.c: Likewise.
753 * config/tc-mep.h: Likewise.
754 * config/tc-metag.c: Likewise.
755 * config/tc-microblaze.c: Likewise.
756 * config/tc-mips.c: Likewise.
757 * config/tc-mmix.c: Likewise.
758 * config/tc-mn10200.c: Likewise.
759 * config/tc-mn10300.c: Likewise.
760 * config/tc-msp430.c: Likewise.
761 * config/tc-msp430.h: Likewise.
762 * config/tc-nds32.c: Likewise.
763 * config/tc-nds32.h: Likewise.
764 * config/tc-nios2.c: Likewise.
765 * config/tc-nios2.h: Likewise.
766 * config/tc-ns32k.c: Likewise.
767 * config/tc-pdp11.c: Likewise.
768 * config/tc-ppc.c: Likewise.
769 * config/tc-pru.c: Likewise.
770 * config/tc-rx.c: Likewise.
771 * config/tc-s390.c: Likewise.
772 * config/tc-score.c: Likewise.
773 * config/tc-score7.c: Likewise.
774 * config/tc-sh.c: Likewise.
775 * config/tc-sh64.c: Likewise.
776 * config/tc-sparc.c: Likewise.
777 * config/tc-tic4x.c: Likewise.
778 * config/tc-tic54x.c: Likewise.
779 * config/tc-v850.c: Likewise.
780 * config/tc-vax.c: Likewise.
781 * config/tc-visium.c: Likewise.
782 * config/tc-xgate.c: Likewise.
783 * config/tc-xtensa.c: Likewise.
784 * config/tc-z80.c: Likewise.
785 * config/tc-z8k.c: Likewise.
786 * config/te-vms.c: Likewise.
787 * config/xtensa-relax.c: Likewise.
788 * doc/as.texinfo: Likewise.
789 * doc/c-arm.texi: Likewise.
790 * doc/c-hppa.texi: Likewise.
791 * doc/c-i370.texi: Likewise.
792 * doc/c-i386.texi: Likewise.
793 * doc/c-m32r.texi: Likewise.
794 * doc/c-m68k.texi: Likewise.
795 * doc/c-mmix.texi: Likewise.
796 * doc/c-msp430.texi: Likewise.
797 * doc/c-nds32.texi: Likewise.
798 * doc/c-ns32k.texi: Likewise.
799 * doc/c-riscv.texi: Likewise.
800 * doc/c-rx.texi: Likewise.
801 * doc/c-s390.texi: Likewise.
802 * doc/c-tic6x.texi: Likewise.
803 * doc/c-tilegx.texi: Likewise.
804 * doc/c-tilepro.texi: Likewise.
805 * doc/c-v850.texi: Likewise.
806 * doc/c-xgate.texi: Likewise.
807 * doc/c-xtensa.texi: Likewise.
808 * dwarf2dbg.c: Likewise.
810 * itbl-ops.c: Likewise.
811 * listing.c: Likewise.
813 * po/gas.pot: Likewise.
815 * struc-symbol.h: Likewise.
816 * symbols.h: Likewise.
817 * testsuite/gas/arc/relocs-errors.err: Likewise.
820 2017-01-23 Nick Clifton <nickc@redhat.com>
822 * po/sv.po: Updated Swedish translation.
824 2017-01-20 Nick Clifton <nickc@redhat.com>
826 * config/tc-i386.c (parse_operands): Check for operand overflow
827 before setting the unspecified bit.
829 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
832 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
833 symbols, remove the `segtype' parameter.
834 (mips_frob_file, md_estimate_size_before_relax): Adjust
836 (s_is_linkonce): Add an explanatory comment.
837 * testsuite/gas/mips/comdat-reloc.d: New test.
838 * testsuite/gas/mips/comdat-reloc.s: New test source.
839 * testsuite/gas/mips/mips.exp: Run the new test.
841 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
843 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
844 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
846 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
849 * config/bfin-lex.l: Support processing with flex 2.6.3.
850 * itbl-lex.l: Likewise.
852 2017-01-18 Nathan Sidwell <nathan@acm.org>
854 * as.h (gas_assert): Use abort.
856 (signal_init): Declare.
857 * as.c (main): Call signal_init.
858 * messages.c: #include <signal.h>
860 (as_abort): Allow NULL FILE.
862 (signal_init): Register fatal signal handlers.
863 * configure.ac: Check for strsignal.
864 * config.in: Rebuilt.
865 * configure: Rebuilt.
867 2017-01-17 Nick Clifton <nickc@redhat.com>
869 * po/sv.po: Updated Swedish translation.
871 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
873 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
874 (cpu_noarch): Add noavx512_vpopcntdq.
875 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
876 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
877 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
878 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
879 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
880 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
881 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
882 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
884 2017-01-12 Nick Clifton <nickc@redhat.com>
886 * read.c (temp_ilp): New function. Installs a temporary input
888 (restore_ilp): New function. Restores the original input line
890 * read.h (temp_ilp): Prototype.
891 (restore_ilp): Prototype.
892 * stabs.c (dot_func_p): Use bfd_boolean type.
893 (generate_asm_file): Use temp_ilp and restore_ilp.
894 (stabs_generate_asm_lineno): Likewise.
895 (stabs_generate_asm_endfunc): Likewise.
897 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
899 * configure.tgt: Add entry for i386-redox.
901 2017-01-10 Nick Clifton <nickc@redhat.com>
903 * po/sv.po: Updated Swedish translation.
905 2017-01-10 Tristan Gingold <gingold@adacore.com>
907 * testsuite/gas/all/sleb128-8.d: Adjust test.
908 * testsuite/gas/all/gas.exp (test_cond): Likewise.
910 2017-01-10 Tristan Gingold <gingold@adacore.com>
912 * read.c (emit_leb128_expr): Extended unsigned big number for
914 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
915 * testsuite/gas/all/sleb128.d: New test.
916 * testsuite/gas/all/sleb128.s: New test source.
918 2017-01-09 Andrew Waterman <andrew@sifive.com>
920 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
922 (md_apply_fix): Mark relocations against constants as "done."
924 2017-01-09 Andrew Waterman <andrew@sifive.com>
926 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
928 (md_apply_fix): Mark relocations against constants as "done."
930 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
931 Kito Cheng <kito.cheng@gmail.com>
933 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
935 (SDATA_START_SYMBOLS): Likewise.
937 2017-01-09 Nick Clifton <nickc@redhat.com>
939 * po/sv.po: New Swedish translation.
940 * configure.ac (ALL_LINGUAS): Add sv.
941 * configure: Regenerate.
943 2017-01-09 Andrew Waterman <andrew@sifive.com>
945 * config/tc-riscv.c (relaxed_branch_length): Use the long
946 sequence when the target is a weak symbol.
948 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
950 * config/tc-aarch64.c (aarch64_features): Add rcpc.
951 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
952 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
953 * testsuite/gas/aarch64/ldst-rcpc.d: This.
954 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
955 * testsuite/gas/aarch64/ldst-rcpc.s: This.
956 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
958 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
961 * configure.tgt: Treat sparcv9 as sparc64.
963 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
965 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
967 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
968 enabled and no other ABI is specified.
970 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
972 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
973 valueT, as declared in tc.h.
974 (md_apply_fix): Fix to work on 32-bit hosts.
976 2017-01-02 Alan Modra <amodra@gmail.com>
978 Update year range in copyright notice of all files.
980 For older changes see ChangeLog-2016
982 Copyright (C) 2017 Free Software Foundation, Inc.
984 Copying and distribution of this file, with or without modification,
985 are permitted in any medium without royalty provided the copyright
986 notice and this notice are preserved.
992 version-control: never