1 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
3 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
4 * testsuite/gas/i386/noavx-1.l: Likewise.
5 * testsuite/gas/i386/nommx-1.l: Likewise.
6 * testsuite/gas/i386/nosse-1.l: Likewise.
7 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
8 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
9 * testsuite/gas/i386/noavx-1.s: Likewise.
10 * testsuite/gas/i386/nommx-1.s: Likewise.
11 * testsuite/gas/i386/nosse-1.s: Likewise.
12 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
14 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
16 * config/tc-metag.c (metag_handle_align): Make the type of noop
19 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
21 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
22 bfd_reloc_code_real_type.
24 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
27 * config/tc-i386.c (cpu_flags_match): Require another match
29 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
30 x86-64-avx512vl-1 and x86-64-avx512vl-2.
31 * testsuite/gas/i386/avx512vl-1.l: New file.
32 * testsuite/gas/i386/avx512vl-1.s: Likewise.
33 * testsuite/gas/i386/avx512vl-2.l: Likewise.
34 * testsuite/gas/i386/avx512vl-2.s: Likewise.
35 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
36 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
37 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
38 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
40 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
43 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
44 * testsuite/gas/i386/x86-64-pr20141.d: New file.
45 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
47 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
49 * config/tc-i386.c (arch_entry): Remove negated.
50 (noarch_entry): New struct.
51 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
53 (set_cpu_arch): Check cpu_noarch after cpu_arch.
54 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
56 (output_message): New function.
57 (show_arch): Use it. Handle cpu_noarch.
58 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
59 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
60 * testsuite/gas/i386/noavx-1.l: New file.
61 * testsuite/gas/i386/noavx-1.s: Likewise.
62 * testsuite/gas/i386/noavx-2.s: Likewise.
63 * testsuite/gas/i386/noavx-2.l: Likewise.
64 * testsuite/gas/i386/nommx-1.s: Likewise.
65 * testsuite/gas/i386/nommx-1.l: Likewise.
66 * testsuite/gas/i386/nommx-2.s: Likewise.
67 * testsuite/gas/i386/nommx-2.l: Likewise.
68 * testsuite/gas/i386/nommx-3.s: Likewise.
69 * testsuite/gas/i386/nommx-3.l: Likewise.
70 * testsuite/gas/i386/nosse-1.s: Likewise.
71 * testsuite/gas/i386/nosse-1.l: Likewise.
72 * testsuite/gas/i386/nosse-2.s: Likewise.
73 * testsuite/gas/i386/nosse-2.l: Likewise.
74 * testsuite/gas/i386/nosse-3.s: Likewise.
75 * testsuite/gas/i386/nosse-3.l: Likewise.
77 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
80 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
81 instruction if supported by the currently selected fpu variant.
82 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
83 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
85 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
87 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
88 jump relocations against MIPS16 or microMIPS symbols on RELA
90 * testsuite/gas/mips/jalx-local.d: New test.
91 * testsuite/gas/mips/jalx-local-n32.d: New test.
92 * testsuite/gas/mips/jalx-local-n64.d: New test.
93 * testsuite/gas/mips/jalx-local.s: New test source.
94 * testsuite/gas/mips/mips.exp: Run the new tests.
96 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
98 * config/tc-mips.c (md_apply_fix)
99 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
102 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
104 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
105 operator to operatorT.
106 (map_suffix_reloc_to_operator): Change return type to operatorT.
108 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
110 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
112 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
114 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
115 handler_charp to const char *.
117 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
119 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
120 (ft32_target_format): Likewise.
121 (TARGET_FORMAT): Adjust.
123 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
125 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
126 (ia64_frob_label): Likewise.
128 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
130 * config/tc-cr16.c (check_range): Make type of retval op_err.
131 * config/tc-crx.c: Likewise.
133 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
135 * config/tc-arc.c (md_begin): Add XY registers.
136 (cpu_types): Code density is default off for ARC EM.
138 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
140 * config/tc-arc.c (attributes_t): Renamed attribute class to
142 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
144 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
146 * configuse.tgt: Add entry for arm-phoenix.
148 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
150 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
152 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
154 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
156 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
158 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
159 (md_begin): Likewise.
160 (encode_condition): Likewise.
161 (encode_cc3): Likewise.
162 (encode_cc2): Likewise.
163 (encode_operand): Likewise.
164 (tic54x_undefined_symbol): Likewise.
166 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
168 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
170 * doc/c-mips.texi: Document p6600 -march option.
172 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
175 * config/tc-i386.c (md_apply_fix): Preserve addend for
176 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
177 * testsuite/gas/i386/addend.d: New file.
178 * testsuite/gas/i386/addend.s: Likewise.
179 * testsuite/gas/i386/x86-64-addend.d: Likewise.
180 * testsuite/gas/i386/x86-64-addend.s: Likewise.
181 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
182 * testsuite/gas/i386/reloc32.d: Updated.
184 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
186 * config/tc-mips.c (append_insn): Correct the encoding of a
187 constant argument for microMIPS JALX.
188 (tc_gen_reloc): Correct the encoding of an in-place addend for
190 * testsuite/gas/mips/jalx-addend.d: New test.
191 * testsuite/gas/mips/jalx-addend-n32.d: New test.
192 * testsuite/gas/mips/jalx-addend-n64.d: New test.
193 * testsuite/gas/mips/jalx-imm.d: New test.
194 * testsuite/gas/mips/jalx-imm-n32.d: New test.
195 * testsuite/gas/mips/jalx-imm-n64.d: New test.
196 * testsuite/gas/mips/jalx-addend.s: New test source.
197 * testsuite/gas/mips/jalx-imm.s: New test source.
198 * testsuite/gas/mips/mips.exp: Run the new tests.
200 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
202 * config/tc-mips.c: Correct tab-after-space formatting mistakes
205 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
207 * config/tc-arc.c (find_opcode_match): Remove casting away of
209 * config/tc-arc.h (struct arc_flags): Make flgp field const.
211 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
213 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
215 (md_convert_frag): Likewise.
217 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
219 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
220 cached opcode to NULL when we reach a non-matching opcode.
221 * testsuite/gas/arc/asm-errors-2.d: New file.
222 * testsuite/gas/arc/asm-errors-2.err: New file.
223 * testsuite/gas/arc/asm-errors-2.s: New file.
225 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
227 * config/tc-arc.c (tokenize_arguments): Add checks for array
229 * testsuite/gas/arc/asm-errors.s: Addition test line added.
230 * testsuite/gas/arc/asm-errors.err: Update expected results.
232 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
234 * config/tc-rx.c (struct cpu_type): Change the type of a field from
235 int to enum rx_cpu_types.
237 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
239 * config/tc-dlx.c (struct machine_it): change the type of a field from
240 int to bfd_reloc_code_real_type.
241 * config/tc-tic4x.c: Likewise.
243 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
245 * config/tc-v850.c (v850_target_arch): change type to enum
247 * config/tc-v850.h (v850_target_arch): Likewise.
249 2016-05-18 Alan Modra <amodra@gmail.com>
251 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
252 allowed negative range.
253 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
254 * testsuite/gas/ppc/power9.d: Update.
256 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
258 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
259 disassembling and stop skipping targets.
260 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
261 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
262 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
263 instruction for targets that have stronger alignment requirement.
264 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
265 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
266 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
267 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
268 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
269 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
270 * testsuite/gas/arm/archv8m-main.d: Likewise.
271 * testsuite/gas/arm/archv8m.s: Add label.
272 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
273 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
274 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
276 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
278 * config/tc-m32r.c (mach_table): Make static and const.
280 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
282 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
285 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
287 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
289 * config/tc-msp430.c (md_begin): Likewise.
291 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
293 * config/tc-m68hc11.c (fixup8): Change variables type from int to
294 bfd_reloc_code_real_type where appropriate.
296 (fixup8_xg): Likewise.
298 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
300 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
302 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
304 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
305 * testsuite/gas/ppc/power9.s: Likewise.
307 2016-05-13 Alan Modra <amodra@gmail.com>
309 * config/obj-coff.c (weak_uniquify): Delete unused var.
311 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
313 * app.c (app_push): Use XNEW and related macros.
314 * as.c (parse_args): Likewise.
315 * cgen.c (make_right_shifted_expr): Likewise.
316 (gas_cgen_tc_gen_reloc): Likewise.
317 * config/bfin-defs.h: Likewise.
318 * config/bfin-parse.y: Likewise.
319 * config/obj-coff.c (stack_init): Likewise.
320 (stack_push): Likewise.
321 (coff_obj_symbol_new_hook): Likewise.
322 (coff_obj_symbol_clone_hook): Likewise.
323 (add_lineno): Likewise.
324 (coff_frob_symbol): Likewise.
325 * config/obj-elf.c (obj_elf_section_name): Likewise.
326 (build_group_lists): Likewise.
327 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
328 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
329 * config/tc-aarch64.c (insert_reg_alias): Likewise.
330 (find_or_make_literal_pool): Likewise.
331 (add_to_lit_pool): Likewise.
332 (fill_instruction_hash_table): Likewise.
333 * config/tc-alpha.c (load_expression): Likewise.
334 (emit_jsrjmp): Likewise.
335 (s_alpha_ent): Likewise.
336 (s_alpha_end): Likewise.
337 (s_alpha_linkage): Likewise.
338 (md_begin): Likewise.
339 (tc_gen_reloc): Likewise.
340 * config/tc-arc.c (arc_insert_opcode): Likewise.
341 (arc_extcorereg): Likewise.
342 * config/tc-bfin.c: Likewise.
343 * config/tc-cr16.c: Likewise.
344 * config/tc-cris.c: Likewise.
345 * config/tc-crx.c (preprocess_reglist): Likewise.
346 * config/tc-d10v.c: Likewise.
347 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
348 (frv_tomcat_shuffle): Likewise.
349 * config/tc-h8300.c: Likewise.
350 * config/tc-i370.c (i370_macro): Likewise.
351 * config/tc-i386.c (lex_got): Likewise.
352 (md_parse_option): Likewise.
353 * config/tc-ia64.c (alloc_record): Likewise.
354 (set_imask): Likewise.
355 (save_prologue_count): Likewise.
356 (dot_proc): Likewise.
357 (dot_endp): Likewise.
358 (ia64_frob_label): Likewise.
359 (add_qp_imply): Likewise.
360 (add_qp_mutex): Likewise.
361 (mark_resource): Likewise.
362 (dot_alias): Likewise.
363 * config/tc-m68hc11.c: Likewise.
364 * config/tc-m68k.c (m68k_frob_label): Likewise.
366 (mri_control_label): Likewise.
367 (push_mri_control): Likewise.
368 (build_mri_control_operand): Likewise.
369 (s_mri_else): Likewise.
370 (s_mri_break): Likewise.
371 (s_mri_next): Likewise.
372 (s_mri_for): Likewise.
373 (s_mri_endw): Likewise.
374 * config/tc-metag.c (create_mnemonic_htab): Likewise.
375 * config/tc-microblaze.c: Likewise.
376 * config/tc-mmix.c (s_loc): Likewise.
377 * config/tc-nds32.c (nds32_relax_hint): Likewise.
378 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
379 * config/tc-rl78.c: Likewise.
380 * config/tc-rx.c (rx_include): Likewise.
381 * config/tc-sh.c: Likewise.
382 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
383 * config/tc-sparc.c: Likewise.
384 * config/tc-spu.c: Likewise.
385 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
386 (tic6x_start_unwind_section): Likewise.
387 * config/tc-tilegx.c: Likewise.
388 * config/tc-tilepro.c: Likewise.
389 * config/tc-v850.c: Likewise.
390 * config/tc-visium.c: Likewise.
391 * config/tc-xgate.c: Likewise.
392 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
393 (new_resource_table): Likewise.
394 (resize_resource_table): Likewise.
395 (xtensa_create_trampoline_frag): Likewise.
396 (xtensa_maybe_create_literal_pool_frag): Likewise.
397 (cache_literal_section): Likewise.
398 * config/xtensa-relax.c (append_transition): Likewise.
399 (append_condition): Likewise.
400 (append_value_condition): Likewise.
401 (append_constant_value_condition): Likewise.
402 (append_literal_op): Likewise.
403 (append_label_op): Likewise.
404 (append_constant_op): Likewise.
405 (append_field_op): Likewise.
406 (append_user_fn_field_op): Likewise.
407 (enter_opname_n): Likewise.
408 (enter_opname): Likewise.
409 (split_string): Likewise.
410 (parse_insn_templ): Likewise.
411 (clone_req_or_option_list): Likewise.
412 (clone_req_option_list): Likewise.
413 (parse_option_cond): Likewise.
414 (parse_insn_pattern): Likewise.
415 (parse_insn_repl): Likewise.
416 (build_transition): Likewise.
417 (build_transition_table): Likewise.
418 * dw2gencfi.c (alloc_fde_entry): Likewise.
419 (alloc_cfi_insn_data): Likewise.
420 (cfi_add_CFA_remember_state): Likewise.
421 (dot_cfi_escape): Likewise.
422 (dot_cfi_fde_data): Likewise.
423 (select_cie_for_fde): Likewise.
424 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
425 * ecoff.c (ecoff_add_bytes): Likewise.
426 (ecoff_build_debug): Likewise.
427 * input-scrub.c (input_scrub_push): Likewise.
428 (input_scrub_begin): Likewise.
429 (input_scrub_next_buffer): Likewise.
430 * itbl-ops.c (append_insns_as_macros): Likewise.
431 (alloc_entry): Likewise.
432 (alloc_field): Likewise.
433 * listing.c (listing_newline): Likewise.
434 (listing_listing): Likewise.
435 * macro.c (get_any_string): Likewise.
436 (delete_macro): Likewise.
437 * stabs.c (generate_asm_file): Likewise.
438 (stabs_generate_asm_lineno): Likewise.
439 * subsegs.c (subseg_change): Likewise.
440 (subseg_get): Likewise.
441 * symbols.c (define_dollar_label): Likewise.
442 (symbol_relc_make_sym): Likewise.
443 * write.c (write_relocs): Likewise.
445 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
447 * config/obj-coff.c (obj_coff_def): Simplify string copying.
448 (weak_name2altname): Likewise.
449 (weak_uniquify): Likewise.
450 (obj_coff_section): Likewise.
451 (obj_coff_init_stab_section): Likewise.
452 * config/obj-elf.c (obj_elf_section_name): Likewise.
453 (obj_elf_init_stab_section): Likewise.
454 * config/obj-evax.c (evax_shorten_name): Likewise.
455 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
456 * config/tc-aarch64.c (create_register_alias): Likewise.
457 * config/tc-alpha.c (load_expression): Likewise.
458 (s_alpha_file): Likewise.
459 (s_alpha_section_name): Likewise.
460 (tc_gen_reloc): Likewise.
461 * config/tc-arc.c (md_assemble): Likewise.
462 * config/tc-arm.c (create_neon_reg_alias): Likewise.
463 (start_unwind_section): Likewise.
464 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
465 (hppa_elf_mark_end_of_function): Likewise.
466 * config/tc-nios2.c (nios2_modify_arg): Likewise.
467 (nios2_negate_arg): Likewise.
468 * config/tc-rx.c (rx_section): Likewise.
469 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
470 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
471 * config/tc-tic54x.c (tic54x_include): Likewise.
472 (tic54x_macro_info): Likewise.
473 (subsym_get_arg): Likewise.
474 (subsym_substitute): Likewise.
475 (tic54x_start_line_hook): Likewise.
476 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
477 (xg_reverse_shift_count): Likewise.
478 * config/xtensa-relax.c (enter_opname_n): Likewise.
479 (split_string): Likewise.
480 * dwarf2dbg.c (get_filenum): Likewise.
481 (process_entries): Likewise.
482 * expr.c (operand): Likewise.
483 * itbl-ops.c (alloc_entry): Likewise.
484 * listing.c (listing_message): Likewise.
485 (listing_title): Likewise.
486 * macro.c (check_macro): Likewise.
487 * stabs.c (s_xstab): Likewise.
488 * symbols.c (symbol_relc_make_expr): Likewise.
489 * write.c (compress_debug): Likewise.
491 2016-05-12 Nick Clifton <nickc@redhat.com>
494 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
496 2016-05-11 Nick Clifton <nickc@redhat.com>
499 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
500 big endian ARM configurations.
502 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
503 Matthew Fortune <matthew.fortune@imgtec.com>
505 * config/tc-mips.c (options): Add OPTION_DSPR3 and
507 (md_longopts): Likewise.
508 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
509 (mips_ases): Define availability for DSPr3.
510 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
511 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
512 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
514 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
515 .set nodspr3. Fix -mdspr2 formatting.
516 * testsuite/gas/mips/mips32-dspr3.d: New file.
517 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
518 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
520 2016-05-11 Nick Clifton <nickc@redhat.com>
523 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
524 to the pool uses O_constant.
525 * testsuite/gas/arm/pr20068.s: New test.
526 * testsuite/gas/arm/pr20068.d: Test driver.
528 2016-05-11 Nick Clifton <nickc@redhat.com>
530 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
531 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
532 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
533 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
534 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
535 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
536 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
537 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
538 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
540 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
542 * testsuite/gas/i386/i386.exp: Run RDPID tests.
543 * testsuite/gas/i386/prefix.d: Adjust.
544 * testsuite/gas/i386/rdpid.s: New test.
545 * testsuite/gas/i386/rdpid.d: Ditto.
546 * testsuite/gas/i386/rdpid-intel.d: Ditto.
547 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
548 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
549 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
551 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
553 * config/tc-i386.c (cpu_arch): Add RDPID.
554 * doc/c-i386.texi: Document RDPID.
556 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
558 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
559 set branch type of a symbol.
561 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
563 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
564 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
566 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
567 (aeabi_set_public_attributes): Memorize the feature bits of the
568 architecture selected for Tag_CPU_arch. Use it to set
569 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
570 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
571 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
572 * testsuite/gas/arm/arch7em-bad-1.d: This.
573 * testsuite/gas/arm/arch7em-bad-2.d: New file.
574 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
575 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
576 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
577 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
578 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
579 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
580 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
582 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
584 * config/tc-arm.c (struct arm_option_extension_value_table): Make
585 allowed_archs an array with 2 entries.
586 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
587 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
588 (arm_extensions): Use separate entries in allowed_archs when several
589 archs are allowed to use an extension and change ARCH_ANY in
590 ARM_ARCH_NONE in allowed_archs.
591 (arm_parse_extension): Check that, for each allowed_archs entry, all
592 bits are set in the current architecture, ignoring ARM_ANY entries.
593 (s_arm_arch_extension): Likewise.
595 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
597 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
598 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
599 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
600 shared with a non M profile architecture.
601 (do_rn): New function.
602 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
604 (v7m_psrs): Add ARMv8-M security extensions new special registers.
605 (insns): Add ARMv8-M Security Extensions instructions.
606 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
607 arm_ext_v8m_m to decide the profile and the Thumb ISA.
608 * testsuite/gas/arm/archv8m-cmse.s: New file.
609 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
610 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
611 * testsuite/gas/arm/any-cmse.d: Likewise.
612 * testsuite/gas/arm/any-cmse-main.d: Likewise.
613 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
614 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
615 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
616 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
617 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
619 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
621 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
622 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
624 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
626 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
627 (fpu_arch_vfp_v3): Likewise.
628 (fpu_arch_neon_v1): Likewise.
629 (arm_arch_full): Likewise.
630 (parse_neon_el_struct_list): Initialize fields of firsttype.
632 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
634 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
635 (arc_extinsn): Handle new introduced syntax.
636 * testsuite/gas/arc/textinsn1op.d: New file.
637 * testsuite/gas/arc/textinsn1op.s: Likewise.
638 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
640 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
642 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
643 DW_LNS_fixed_advance_pc.
645 2016-04-27 Alan Modra <amodra@gmail.com>
647 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
648 (xmemdup0): New inline function.
650 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
652 * config/tc-mips.c (code_option_type): New enum.
653 (parse_code_option): Return status indicating option type.
654 (s_mipsset): Update `parse_code_option' call site accordingly.
655 Always set register sizes from the ISA with ISA overrides.
656 (s_module): Update `parse_code_option' call site.
657 * testsuite/gas/mips/isa-override-1.d: New test.
658 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
659 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
660 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
661 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
662 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
663 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
664 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
665 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
666 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
667 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
668 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
669 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
670 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
671 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
672 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
673 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
674 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
675 * testsuite/gas/mips/isa-override-2.l: New list test.
676 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
677 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
678 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
679 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
680 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
681 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
682 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
683 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
684 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
685 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
686 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
688 * testsuite/gas/mips/isa-override-1.s: New test source.
689 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
690 * testsuite/gas/mips/isa-override-2.s: New test source.
691 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
692 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
693 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
694 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
695 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
696 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
697 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
698 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
699 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
700 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
701 * testsuite/gas/mips/mips.exp: Run the new tests.
703 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
706 * config/tc-bfin.c: Likewise.
707 * config/tc-ia64.c: Likewise.
708 * config/tc-mep.c: Likewise.
709 * config/tc-metag.c: Likewise.
710 * config/tc-nios2.c: Likewise.
711 * config/tc-rl78.c: Likewise.
713 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
715 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
716 -mcpu. Add cross reference to .cpu directive from -mcpu option.
717 (ARC Directives): Add NPS400 to .cpu directive list.
719 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
721 * config/tc-aarch64.c (aarch64_features): Add "ras".
722 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
723 * testsuite/gas/aarch64/armv8-ras-1.d: New.
724 * testsuite/gas/aarch64/armv8-ras-1.s: New.
725 * testsuite/gas/aarch64/illegal-ras-1.d: New.
726 * testsuite/gas/aarch64/illegal-ras-1.s: New.
728 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
730 * testsuite/gas/arc/nps400-6.d: New file.
731 * testsuite/gas/arc/nps400-6.s: New file.
733 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
735 * testsuite/gas/arc/nps400-4.d: New file.
736 * testsuite/gas/arc/nps400-4.s: New file.
737 * testsuite/gas/arc/nps400-5.d: New file.
738 * testsuite/gas/arc/nps400-5.s: New file.
740 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
742 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
745 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
747 Revert prevous change.
748 * config/tc-arc.c (arc_option): Make .cpu directive
749 case-sensitive again.
751 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
753 * config/tc-arc.c (arc_option): Make .cpu directive
756 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
758 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
760 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
762 * config/tc-mips.c (md_begin): Remove useless assignment.
764 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
766 * Makefile.in: Regenerated with automake 1.11.6.
767 * aclocal.m4: Likewise.
768 * doc/Makefile.in: Likewise.
770 2016-04-15 Alan Modra <amodra@gmail.com>
772 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
774 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
776 * config/tc-nios2.c (nios2_as_options): Make file static.
777 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
778 * config/tc-sparc.c (native_op_table): Likewise.
780 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
782 * config/tc-m32c.c (M32C_Macros): Remove.
783 * config/tc-msp430.c (option_numbers): Likewise.
785 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
787 * testsuite/gas/arc/nps400-3.d: New file.
788 * testsuite/gas/arc/nps400-3.s: New file.
790 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
792 * testsuite/gas/arc/add_s-err.s: Update target pattern.
793 * testsuite/gas/arc/warn.s: Likewise.
794 * testsuite/gas/elf/elf.exp: Run test for arc.
796 2016-04-14 Nick Clifton <nickc@redhat.com>
799 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
800 sections possibly having the SHF_STRINGS flag bit set.
801 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
803 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
805 * config/tc-arc.c (mach_type_specified_p): Change type to
807 (arc_option): Set private flags when parsing cpu pseudo-op.
808 (md_parse_option): Set mach_type_specified_p to TRUE.
810 2016-04-13 Nick Clifton <nickc@redhat.com>
813 * testsuite/gas/v850/pr19937.s: New test.
814 * testsuite/gas/v850/pr19937.d: New test control file.
815 * testsuite/gas/v850/basic.exp: Run the new test.
817 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
818 Andrew Bennett <andrew.bennett@imgtec.com>
820 * config/tc-mips.c (relaxed_branch_length): Use the long
821 sequence where the target is a weak symbol.
822 (relaxed_micromips_32bit_branch_length): Likewise.
823 (relaxed_micromips_16bit_branch_length): Likewise.
824 * testsuite/gas/mips/branch-weak-1.d: New test.
825 * testsuite/gas/mips/branch-weak-2.d: New test.
826 * testsuite/gas/mips/branch-weak-3.d: New test.
827 * testsuite/gas/mips/branch-weak-4.d: New test.
828 * testsuite/gas/mips/branch-weak-5.d: New test.
829 * testsuite/gas/mips/branch-weak.l: New stderr output.
830 * testsuite/gas/mips/branch-weak.s: New test source.
831 * testsuite/gas/mips/mips.exp: Run the new tests.
833 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
835 * config/tc-mips.c (relaxed_branch_length): Use the long
836 sequence where the distance cannot be determined.
837 (relaxed_micromips_32bit_branch_length): Likewise.
838 * testsuite/gas/mips/branch-extern-1.d: New test.
839 * testsuite/gas/mips/branch-extern-2.d: New test.
840 * testsuite/gas/mips/branch-extern-3.d: New test.
841 * testsuite/gas/mips/branch-extern-4.d: New test.
842 * testsuite/gas/mips/branch-extern.l: New stderr output.
843 * testsuite/gas/mips/branch-extern.s: New test source.
844 * testsuite/gas/mips/branch-section-1.d: New test.
845 * testsuite/gas/mips/branch-section-2.d: New test.
846 * testsuite/gas/mips/branch-section-3.d: New test.
847 * testsuite/gas/mips/branch-section-4.d: New test.
848 * testsuite/gas/mips/branch-section.l: New stderr output.
849 * testsuite/gas/mips/branch-section.s: New test source.
850 * testsuite/gas/mips/mips.exp: Run the new tests.
852 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
854 * testsuite/gas/arc/textauxregister.d: New file.
855 * testsuite/gas/arc/textauxregister.s: Likewise.
856 * testsuite/gas/arc/textcondcode.d: Likewise.
857 * testsuite/gas/arc/textcondcode.s: Likewise.
858 * testsuite/gas/arc/textcoreregister.d: Likewise.
859 * testsuite/gas/arc/textcoreregister.s: Likewise.
860 * testsuite/gas/arc/textpseudoop.d: Likewise.
861 * testsuite/gas/arc/textpseudoop.s: Likewise.
862 * testsuite/gas/arc/ld2.d: Update test.
863 * testsuite/gas/arc/st.d: Likewise.
864 * testsuite/gas/arc/taux.d: Likewise.
865 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
866 .extCoreRegister and .extAuxRegister documentation.
867 * config/tc-arc.c (arc_extcorereg): New function.
868 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
869 .extAuxRegister pseudo-ops.
870 (extRegister_t): New type.
871 (ext_condcode, arc_aux_hash): New global variable.
872 (find_opcode_match): Check for extensions.
873 (preprocess_operands): Likewise.
874 (md_begin): Add aux registers in a hash.
875 (assemble_insn): Update use arc_flags member.
876 (tokenize_extregister): New function.
877 (create_extcore_section): Likewise.
878 * config/tc-arc.h (arc_flags): Delete code, add flgp.
880 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
882 * testsuite/gas/arc/noargs_a7.d: New file.
883 * testsuite/gas/arc/noargs_a7.s: Likewise.
884 * testsuite/gas/arc/noargs_hs.d: Likewise.
885 * testsuite/gas/arc/noargs_hs.s: Likewise.
887 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
889 * testsuite/gas/arc/textinsn-errors.d: New File.
890 * testsuite/gas/arc/textinsn-errors.err: Likewise.
891 * testsuite/gas/arc/textinsn-errors.s: Likewise.
892 * testsuite/gas/arc/textinsn2op.d: Likewise.
893 * testsuite/gas/arc/textinsn2op.s: Likewise.
894 * testsuite/gas/arc/textinsn2op01.d: Likewise.
895 * testsuite/gas/arc/textinsn2op01.s: Likewise.
896 * testsuite/gas/arc/textinsn3op.d: Likewise.
897 * testsuite/gas/arc/textinsn3op.s: Likewise.
898 * doc/c-arc.texi (ARC Directives): Add .extInstruction
900 * config/tc-arc.c (arcext_section): New variable.
901 (arc_extinsn): New function.
902 (md_pseudo_table): Add .extInstruction pseudo op.
903 (attributes_t): New type.
904 (suffixclass, syntaxclass, syntaxclassmod): New constant
906 (find_opcode_match): Remove arc_num_opcodes.
907 (md_begin): Likewise.
908 (tokenize_extinsn): New function.
909 (arc_set_ext_seg): Likewise.
910 (create_extinst_section): Likewise.
912 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
914 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
915 (arc_adjust_symtab): New function.
916 * config/tc-arc.h (ARC_FLAG_AUX): Define.
917 (obj_adjust_symtab): Likewise.
918 * testsuite/gas/arc/taux.d: New file.
919 * testsuite/gas/arc/taux.s: Likewise.
921 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
923 * config/tc-mips.c (s_option): Sanitize `.option picX'
925 * testsuite/gas/mips/option-pic-1.d: New test.
926 * testsuite/gas/mips/option-pic-2.l: New list test.
927 * testsuite/gas/mips/option-pic-1.s: New test source.
928 * testsuite/gas/mips/option-pic-2.s: New test source.
929 * testsuite/gas/mips/mips.exp: Run the new tests.
931 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
933 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
935 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
936 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
937 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
938 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
939 * testsuite/gas/mips/mips.exp: Run the new tests.
941 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
943 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
945 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
947 * messages.c (as_bad): Fix a typo in description.
949 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
951 * config/tc-mips.c (mips_check_options): Unify messages.
953 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
955 * config/tc-mips.c (mips_check_options): Use `opts->isa'
958 2016-04-08 Nick Clifton <nickc@redhat.com>
961 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
962 COFF and AOUT sparc targets.
964 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
966 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
967 * testsuite/gas/arc/nps400-2.d: New file.
968 * testsuite/gas/arc/nps400-2.s: New file.
970 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
972 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
974 (arc_opcode_hash_entry_iterator_init): New function.
975 (arc_opcode_hash_entry_iterator_next): New function.
976 (find_opcode_match): Iterate over all arc_opcode entries
977 referenced by the arc_opcode_hash_entry passed in as a parameter.
979 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
981 * config/tc-arc.c (arc_find_opcode): Now returns
982 arc_opcode_hash_entry pointer.
983 (find_opcode_match): Update argument type, extract arc_opcode from
984 incoming arc_opcode_hash_entry.
985 (find_special_case_pseudo): Update return type.
986 (find_special_case_flag): Update return type.
987 (find_special_case): Update return type.
988 (assemble_tokens): Lookup arc_opcode_hash_entry based on
989 instruction mnemonic, then use find_opcode_match to identify
992 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
994 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
995 (arc_find_opcode): New function.
996 (find_special_case_pseudo): Use arc_find_opcode.
997 (find_special_case_flag): Likewise.
998 (assemble_tokens): Likewise.
999 (md_begin): Build hash using struct arc_opcode_hash_entry.
1001 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
1003 * config/tc-arc.c (arc_option): Prepare string for automatic
1005 (declare_register): Likewise.
1007 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
1009 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1010 Correct entry for RDMA. Alpha sort entries.
1012 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1014 * config/tc-arc.c (tokenize_flags): Allow greater range of
1015 characters into flag names.
1017 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1019 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1021 (preprocess_operands): Delete.
1022 (assemble_tokens): Remove call to preprocess_operands.
1024 2016-04-07 Nick Clifton <nickc@redhat.com>
1027 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1028 inside a %-macro could not be fully parsed.
1029 * expr.c (integer_constant): Accept and ignore U suffixes to
1031 (operand): When a missing closing parenthesis is encountered,
1032 report the character that was found instead.
1033 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1034 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1035 * testsuite/gas/sparc/pr19910-1.s: New test.
1036 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1037 * testsuite/gas/sparc/pr19910-2.s: New test.
1038 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1040 2016-04-06 Nick Clifton <nickc@redhat.com>
1042 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1043 an EINT instruction. Warn/fix as necessary.
1044 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1045 * testsuite/gas/msp430/bad.l: Update expected messages.
1047 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1049 * testsuite/gas/arc/nps400-1.d: Update expected results.
1050 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1052 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1054 * config/tc-arc.c (is_code_density_p): Compare directly the
1056 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1057 (check_cpu_feature): New function.
1058 (find_opcode_match): Use check_cpu_feature function.
1059 (preprocess_operands): Likewise.
1060 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1061 * testsuite/gas/arc/tdpfp.d: New file.
1062 * testsuite/gas/arc/tfpuda.d: Likewise.
1063 * testsuite/gas/arc/tfpx.s: Likewise.
1065 2016-04-05 Jiong Wang <jiong.wang@arm.com>
1067 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1068 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1069 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1070 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1071 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1072 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1073 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
1074 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1076 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1078 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1080 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
1081 JUMP instructions type.
1082 * testsuite/gas/arc/relocs-errors.d: New file.
1083 * testsuite/gas/arc/relocs-errors.err: Likewise.
1084 * testsuite/gas/arc/relocs-errors.s: Likewise.
1086 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1089 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1090 only if i.disp_encoding != disp_encoding_32bit.
1091 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1092 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1093 * gas/testsuite/gas/i386/disp32.d: Updated.
1094 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1096 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1099 * testsuite/gas/i386/i386.exp: Run pr19498.
1100 * testsuite/gas/i386/pr19498.d: New file.
1101 * testsuite/gas/i386/pr19498.s: Likewise.
1103 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1105 * config/tc-arc.h: Include 'opcode/arc.h'.
1106 (MAX_INSN_ARGS): Delete.
1107 (MAX_INSN_FLGS): Delete.
1109 2016-04-04 Alan Modra <amodra@gmail.com>
1112 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1113 from function on all paths that set sy_resolving.
1115 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1117 * app.c (app_push): use XNEW macro.
1119 * config/obj-elf.c (obj_elf_change_section): Likewise.
1120 (elf_copy_symbol_attributes): Likewise.
1121 (obj_elf_size): Likewise.
1122 (build_group_lists): Likewise.
1123 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1124 (md_assemble): Likewise.
1125 (tc_gen_reloc): Likewise.
1126 (get_upper_str): Likewise.
1127 (aarch64_parse_features): Likewise.
1128 * config/tc-arm.c (insert_reg_alias): Likewise.
1129 (insert_neon_reg_alias): Likewise.
1130 (find_or_make_literal_pool): Likewise.
1131 (s_arm_elf_cons): Likewise.
1132 (add_unwind_opcode): Likewise.
1133 (arm_parse_extension): Likewise.
1134 * config/tc-avr.c (create_record_for_frag): Likewise.
1135 * config/tc-crx.c: Likewise.
1136 * config/tc-d30v.c: Likewise.
1137 * config/tc-dlx.c (s_proc): Likewise.
1138 * config/tc-ft32.c: Likewise.
1139 * config/tc-h8300.c: Likewise.
1140 * config/tc-hppa.c (pa_proc): Likewise.
1141 (create_new_space): Likewise.
1142 (create_new_subspace): Likewise.
1143 * config/tc-i860.c: Likewise.
1144 * config/tc-i960.c: Likewise.
1145 * config/tc-ia64.c: Likewise.
1146 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1147 (iq2000_record_hi16): Likewise.
1148 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1149 * config/tc-m32r.c (debug_sym): Likewise.
1150 (m32r_record_hi16): Likewise.
1151 * config/tc-m68k.c (m68k_ip): Likewise.
1152 (md_begin): Likewise.
1153 * config/tc-mcore.c: Likewise.
1154 * config/tc-microblaze.c (check_got): Likewise.
1155 * config/tc-mips.c (append_insn): Likewise.
1156 (s_mipsset): Likewise.
1157 (mips_record_label): Likewise.
1158 (s_mips_end): Likewise.
1159 * config/tc-mmix.c (mmix_frob_file): Likewise.
1160 * config/tc-mn10200.c: Likewise.
1161 * config/tc-mn10300.c: Likewise.
1162 * config/tc-moxie.c: Likewise.
1163 * config/tc-msp430.c: Likewise.
1164 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1165 * config/tc-ns32k.c: Likewise.
1166 * config/tc-or1k.c: Likewise.
1167 * config/tc-pdp11.c: Likewise.
1168 * config/tc-pj.c (fake_opcode): Likewise.
1169 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1170 (ppc_macro): Likewise.
1171 (ppc_dwsect): Likewise.
1172 (ppc_machine): Likewise.
1173 * config/tc-rl78.c (rl78_frag_init): Likewise.
1174 * config/tc-rx.c (rx_frag_init): Likewise.
1175 * config/tc-s390.c (s390_lit_suffix): Likewise.
1176 (s390_machine): Likewise.
1177 (s390_machinemode): Likewise.
1178 * config/tc-score.c (s3_insert_reg): Likewise.
1179 (s3_gen_reloc): Likewise.
1180 * config/tc-score7.c (s7_insert_reg): Likewise.
1181 (s7_gen_reloc): Likewise.
1182 * config/tc-tic30.c (tic30_operand): Likewise.
1183 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1184 * config/tc-tic54x.c (stag_add_field): Likewise.
1185 (tic54x_struct): Likewise.
1186 (tic54x_space): Likewise.
1187 (tic54x_field): Likewise.
1188 (tic54x_mlib): Likewise.
1189 (subsym_substitute): Likewise.
1190 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1191 * config/tc-vax.c: Likewise.
1192 * config/tc-xc16x.c: Likewise.
1193 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1194 (directive_push): Likewise.
1195 (xtensa_begin_directive): Likewise.
1196 (tokenize_arguments): Likewise.
1197 (xtensa_add_literal_sym): Likewise.
1198 (new_resource_table): Likewise.
1199 (resize_resource_table): Likewise.
1200 (emit_single_op): Likewise.
1201 (xtensa_create_trampoline_frag): Likewise.
1202 (xtensa_maybe_create_literal_pool_frag): Likewise.
1203 (xtensa_add_config_info): Likewise.
1204 (xtensa_realloc_fixup_cache): Likewise.
1205 (add_subseg_info): Likewise.
1206 (cache_literal_section): Likewise.
1207 (add_xt_block_frags): Likewise.
1208 (add_xt_prop_frags): Likewise.
1209 (init_op_placement_info_table): Likewise.
1210 (build_section_rename): Likewise.
1211 * config/tc-z80.c: Likewise.
1212 * config/tc-z8k.c: Likewise.
1213 * depend.c (register_dependency): Likewise.
1214 * dwarf2dbg.c (get_line_subseg): Likewise.
1215 (dwarf2_gen_line_info_1): Likewise.
1216 (get_filenum): Likewise.
1217 * ecoff.c (allocate_scope): Likewise.
1218 (allocate_vlinks): Likewise.
1219 (allocate_shash): Likewise.
1220 (allocate_thash): Likewise.
1221 (allocate_tag): Likewise.
1222 (allocate_forward): Likewise.
1223 (allocate_thead): Likewise.
1224 (allocate_lineno_list): Likewise.
1225 * expr.c (make_expr_symbol): Likewise.
1226 * hash.c (hash_new_sized): Likewise.
1227 * input-file.c (input_file_push): Likewise.
1228 * listing.c (file_info): Likewise.
1229 (listing_newline): Likewise.
1230 * macro.c (new_formal): Likewise.
1231 (define_macro): Likewise.
1232 * remap.c (add_debug_prefix_map): Likewise.
1233 * symbols.c (symbol_find_noref): Likewise.
1234 (define_dollar_label): Likewise.
1235 (fb_label_instance_inc): Likewise.
1236 (symbol_relc_make_value): Likewise.
1238 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1240 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1241 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1242 (ppc_znop): Likewise.
1243 (ppc_pe_section): Likewise.
1244 (ppc_frob_symbol): Likewise.
1245 * config/tc-tic30.c (tic30_operand): Likewise.
1246 * config/tc-tic4x.c (tic4x_sect): Likewise.
1247 (tic4x_usect): Likewise.
1249 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1251 * config/tc-alpha.c: Const qualify FLT_CHARS.
1252 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1253 * config/tc-cris.h: Likewise.
1255 * config/tc-mmix.c (md_atof): Adjust comment.
1256 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1257 * tc.h: Declare FLT_CHARS and EXP_CHARS.
1259 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1261 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1262 * config/tc-score7.c (s7_gen_reloc): Likewise.
1264 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1266 * config/tc-arm.c (do_t_branch): Change the type of reloc to
1267 bfd_reloc_code_real_type.
1269 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1271 * config/bfin-parse.y (current_inputline): Remove definition.
1272 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1274 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1276 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1279 2016-04-02 Alan Modra <amodra@gmail.com>
1282 * read.c (assign_symbol): Consume rest of line after an error
1283 rather than continuing to process the line.
1285 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1287 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1288 (MAX_FLAG_NAME_LENGTH): ...this.
1289 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1290 * config/tc-arc.c (tokenize_flags): Likewise.
1292 2016-04-01 Alan Modra <amodra@gmail.com>
1294 * cgen.c (weak_operand_overflow_check): Return const char*.
1295 * messages.c (as_internal_value_out_of_range): Formatting.
1296 (as_warn_value_out_of_range): Consify prefix param.
1297 (as_bad_value_out_of_range): Likewise.
1298 * read.c (s_errwarn): Constify msg..
1299 (s_float_space, float_cons): ..and err.
1300 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
1301 ieee_md_atof, vax_md_atof): Update prototypes.
1302 * tc.h (md_atof): Update prototype.
1303 * config/atof-ieee.c (ieee_md_atof): Return const char*.
1304 * config/atof-vax.c (vax_md_atof): Likewise.
1305 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
1306 * config/tc-aarch64.c (md_atof): Return const char*.
1307 * config/tc-alpha.c (s_alpha_section_name): Likewise.
1308 (s_alpha_comm): Constify sec_name.
1309 (section_name): Constify.
1310 (s_alpha_section): Consify name..
1311 (alpha_elf_section_letter): ..and ptr_msg param..
1312 (md_atof): ..and return.
1313 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
1314 * config/tc-arc.c (md_atof): Return const char*.
1315 * config/tc-arm.c (md_atof): Likewise.
1316 * config/tc-avr.c (md_atof): Likewise.
1317 * config/tc-bfin.c (md_atof): Likewise.
1318 * config/tc-cr16.c (md_atof): Likewise.
1319 * config/tc-cris.c (md_atof): Likewise.
1320 * config/tc-crx.c (md_atof): Likewise.
1321 * config/tc-d10v.c (md_atof): Likewise.
1322 * config/tc-d30v.c (md_atof): Likewise.
1323 * config/tc-dlx.c (md_atof): Likewise.
1324 * config/tc-epiphany.c (md_atof): Likewise.
1325 * config/tc-fr30.c (md_atof): Likewise.
1326 * config/tc-frv.c (md_atof): Likewise.
1327 * config/tc-ft32.c (md_atof): Likewise.
1328 * config/tc-h8300.c (md_atof): Likewise.
1329 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
1330 (struct default_space_dict): Likewise.
1331 (create_new_space): Constify name param.
1332 (create_new_subspace): Likewise.
1333 (is_defined_space, is_defined_subspace): Likewise.
1334 (pa_parse_space_stmt): Constify space_name param.
1335 (md_atof): Return const char*.
1336 (pa_spaces_begin): Constify name.
1337 * config/tc-i370.c (md_atof): Return const char*.
1338 * config/tc-i386.c (md_atof): Likewise.
1339 (x86_64_section_letter): Constify ptr_msg param.
1340 * config/tc-i386.h (x86_64_section_letter): Update prototype.
1341 * config/tc-i860.c (struct i860_it): Constify error.
1342 (md_atof): Return const char*.
1343 * config/tc-i960.c (md_atof): Likewise.
1344 * config/tc-ia64.c (md_atof): Likewise.
1345 (ia64_elf_section_letter): Constify ptr_msg param.
1346 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
1347 * config/tc-ip2k.c (md_atof): Return const char*.
1348 * config/tc-iq2000.c (md_atof): Likewise.
1349 * config/tc-lm32.c (md_atof): Likewise.
1350 * config/tc-m32c.c (md_atof): Likewise.
1351 * config/tc-m32r.c (md_atof): Likewise.
1352 * config/tc-m68hc11.c (md_atof): Likewise.
1353 * config/tc-m68k.c (md_atof): Likewise.
1354 * config/tc-mcore.c (md_atof): Likewise.
1355 * config/tc-mep.c (md_atof): Likewise.
1356 (mep_elf_section_letter): Constify ptr_msg param.
1357 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
1358 * config/tc-metag.c (md_atof): Return const char*.
1359 * config/tc-microblaze.c (md_atof): Likewise.
1360 * config/tc-microblaze.h (md_atof): Delete prototype.
1361 * config/tc-mips.c (mips_parse_argument_token): Constify err.
1362 (md_atof): Return const char*.
1363 * config/tc-mmix.c (md_atof): Likewise.
1364 * config/tc-mn10200.c (md_atof): Likewise.
1365 * config/tc-mn10300.c (md_atof): Likewise.
1366 * config/tc-moxie.c (md_atof): Likewise.
1367 * config/tc-msp430.c (md_atof): Likewise.
1368 * config/tc-mt.c (md_atof): Likewise.
1369 * config/tc-nds32.c (md_atof): Likewise.
1370 * config/tc-nios2.c (md_atof): Likewise.
1371 (nios2_elf_section_letter): Constify ptr_msg param.
1372 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
1373 * config/tc-ns32k.c (md_atof): Return const char*.
1374 * config/tc-or1k.c (md_atof): Likewise.
1375 * config/tc-pdp11.c (struct pdp11_code): Constify error.
1376 (md_atof): Return const char*.
1377 * config/tc-pj.c (md_atof): Likewise.
1378 * config/tc-ppc.c (md_atof): Likewise.
1379 * config/tc-rl78.c (md_atof): Likewise.
1380 * config/tc-rx.c (md_atof): Likewise.
1381 * config/tc-s390.c (md_atof): Likewise.
1382 * config/tc-score.c (s3_atof, md_atof): Likewise.
1383 * config/tc-sh.c (md_atof): Likewise.
1384 * config/tc-sparc.c (struct sparc_it): Constify error.
1385 (md_atof): Return const char*.
1386 * config/tc-spu.c (md_atof): Likewise.
1387 * config/tc-tic30.c (md_atof): Likewise.
1388 * config/tc-tic4x.c (md_atof): Likewise.
1389 * config/tc-tic54x.c (md_atof): Likewise.
1390 * config/tc-tic6x.c (md_atof): Likewise.
1391 * config/tc-tilegx.c (md_atof): Likewise.
1392 * config/tc-tilepro.c (md_atof): Likewise.
1393 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
1394 * config/tc-vax.c (md_atof): Likewise.
1395 * config/tc-visium.c (md_atof): Likewise.
1396 * config/tc-xc16x.c (md_atof): Likewise.
1397 * config/tc-xgate.c (md_atof): Likewise.
1398 * config/tc-xstormy16.c (md_atof): Likewise.
1399 * config/tc-xtensa.c (md_atof): Likewise.
1400 * config/tc-z80.c (md_atof): Likewise.
1401 * config/tc-z8k.c (md_atof): Likewise.
1403 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1405 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
1407 (xtensa_section_rename): Make argument type const char *.
1408 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
1410 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1412 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
1415 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1417 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
1419 (m32c_indirect_operand): Likewise.
1420 * config/tc-nds32.c (do_pseudo_b): Likewise.
1421 (do_pseudo_bal): Likewise.
1422 (do_pseudo_ls_bhw): Likewise.
1424 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1426 * as.c (parse_args): Cast literal to char * when assigning to optarg.
1428 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1430 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
1432 * config/tc-sparc.c (s_register): Cast a literal to char * in
1435 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1437 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
1439 * config/tc-m32r.c (expand_debug_syms): Likewise.
1440 * config/tc-msp430.c (msp430_dstoperand): Likewise.
1441 * config/tc-z80.c (md_begin): Likewise.
1442 * stabs.c (stabs_generate_asm_func): Likewise.
1444 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1446 * cgen.c: Modernize the way functions declare arguments.
1447 * config/tc-bfin.c: Likewise.
1448 * config/tc-pdp11.c: Likewise.
1449 * literal.c: Likewise.
1451 * stabs.c: Likewise.
1453 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1455 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1456 variables unsigned char[].
1457 * config/tc-alpha.c (alpha_handle_align): Likewise.
1458 * config/tc-arm.c (arm_handle_align): Likewise.
1459 * config/tc-z80.c: Likewise.
1461 2016-03-30 Nick Clifton <nickc@redhat.com>
1464 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1467 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1469 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1470 * testsuite/gas/elf/elf.exp: Likewise.
1471 * testsuite/gas/all/redef3.d: Allow execution for ARC.
1473 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1475 * testsuite/gas/arc/warn.exp: Fix matching pattern.
1477 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
1479 * testsuite/gas/arc/ext2op.d: New file.
1480 * testsuite/gas/arc/ext2op.s: Likewise.
1481 * testsuite/gas/arc/ext3op.d: Likewise.
1482 * testsuite/gas/arc/ext3op.s: Likewise.
1484 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1486 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1488 * config/tc-alpha.c (md_parse_option): Likewise.
1489 * config/tc-arc.c (md_parse_option): Likewise.
1490 * config/tc-arm.c (struct arm_long_option_table): Likewise.
1491 (md_parse_option): Likewise.
1492 * config/tc-avr.c (md_parse_option): Likewise.
1493 * config/tc-bfin.c (md_parse_option): Likewise.
1494 * config/tc-cr16.c (md_parse_option): Likewise.
1495 * config/tc-cris.c (s_cris_arch): Likewise.
1496 (md_parse_option): Likewise.
1497 * config/tc-crx.c (md_parse_option): Likewise.
1498 * config/tc-d10v.c (md_parse_option): Likewise.
1499 * config/tc-d30v.c (md_parse_option): Likewise.
1500 * config/tc-dlx.c (md_parse_option): Likewise.
1501 * config/tc-epiphany.c (md_parse_option): Likewise.
1502 * config/tc-fr30.c (md_parse_option): Likewise.
1503 * config/tc-frv.c (md_parse_option): Likewise.
1504 * config/tc-ft32.c (md_parse_option): Likewise.
1505 * config/tc-h8300.c (md_parse_option): Likewise.
1506 * config/tc-hppa.c (md_parse_option): Likewise.
1507 * config/tc-i370.c (md_parse_option): Likewise.
1508 * config/tc-i386.c (md_parse_option): Likewise.
1509 * config/tc-i860.c (md_parse_option): Likewise.
1510 * config/tc-i960.c (md_parse_option): Likewise.
1511 * config/tc-ia64.c (md_parse_option): Likewise.
1512 * config/tc-ip2k.c (md_parse_option): Likewise.
1513 * config/tc-iq2000.c (md_parse_option): Likewise.
1514 * config/tc-lm32.c (md_parse_option): Likewise.
1515 * config/tc-m32c.c (md_parse_option): Likewise.
1516 * config/tc-m32r.c (md_parse_option): Likewise.
1517 * config/tc-m68hc11.c (md_parse_option): Likewise.
1518 * config/tc-m68k.c (md_parse_option): Likewise.
1519 * config/tc-mcore.c (md_parse_option): Likewise.
1520 * config/tc-mep.c (md_parse_option): Likewise.
1521 * config/tc-metag.c (struct metag_long_option): Likewise.
1522 (md_parse_option): Likewise.
1523 * config/tc-microblaze.c (md_parse_option): Likewise.
1524 * config/tc-microblaze.h (md_parse_option): Remove prototype.
1525 * config/tc-mips.c (md_parse_option): Adjust.
1526 * config/tc-mmix.c (md_parse_option): Likewise.
1527 * config/tc-mn10200.c (md_parse_option): Likewise.
1528 * config/tc-mn10300.c (md_parse_option): Likewise.
1529 * config/tc-moxie.c (md_parse_option): Likewise.
1530 * config/tc-msp430.c (md_parse_option): Likewise.
1531 * config/tc-mt.c (md_parse_option): Likewise.
1532 * config/tc-nds32.c (md_parse_option): Likewise.
1533 * config/tc-nds32.h (nds32_parse_option): Likewise.
1534 * config/tc-nios2.c (md_parse_option): Likewise.
1535 * config/tc-ns32k.c (md_parse_option): Likewise.
1536 * config/tc-or1k.c (md_parse_option): Likewise.
1537 * config/tc-pdp11.c (md_parse_option): Likewise.
1538 * config/tc-pj.c (md_parse_option): Likewise.
1539 * config/tc-ppc.c (md_parse_option): Likewise.
1540 * config/tc-rl78.c (md_parse_option): Likewise.
1541 * config/tc-rx.c (md_parse_option): Likewise.
1542 * config/tc-s390.c (s390_parse_cpu): Likewise.
1543 * config/tc-score.c (md_parse_option): Likewise.
1544 * config/tc-sh.c (md_parse_option): Likewise.
1545 * config/tc-sparc.c (md_parse_option): Likewise.
1546 * config/tc-spu.c (md_parse_option): Likewise.
1547 * config/tc-tic30.c (md_parse_option): Likewise.
1548 * config/tc-tic4x.c (md_parse_option): Likewise.
1549 * config/tc-tic54x.c (md_parse_option): Likewise.
1550 * config/tc-tic6x.c (md_parse_option): Likewise.
1551 * config/tc-tilegx.c (md_parse_option): Likewise.
1552 * config/tc-tilepro.c (md_parse_option): Likewise.
1553 * config/tc-v850.c (md_parse_option): Likewise.
1554 * config/tc-vax.c (md_parse_option): Likewise.
1555 * config/tc-visium.c (struct visium_long_option_table): Likewise.
1556 * config/tc-xc16x.c (md_parse_option): Likewise.
1557 * config/tc-xgate.c (md_parse_option): Likewise.
1558 * config/tc-xstormy16.c (md_parse_option): Likewise.
1559 * config/tc-xtensa.c (md_parse_option): Likewise.
1560 * config/tc-z80.c (md_parse_option): Likewise.
1561 * config/tc-z8k.c (md_parse_option): Likewise.
1562 * tc.h (md_parse_option): Likewise.
1564 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1566 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1567 * config/tc-hppa.c (fix_new_hppa): Likewise.
1568 (pa_vtable_entry): Likewise.
1569 (pa_vtable_inherit): Likewise.
1570 * config/tc-m68k.c (md_begin): Likewise.
1572 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1574 * config/obj-elf.c (obj_elf_section_name): Return const char *.
1575 * config/obj-elf.h (obj_elf_section_name): Adjust.
1576 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1577 (aarch64_parse_cpu): Likewise.
1578 (aarch64_parse_arch): Likewise.
1579 * config/tc-arm.c (arm_parse_extension): Likewise.
1580 (arm_parse_cpu): Likewise.
1581 (arm_parse_arch): Likewise.
1582 * config/tc-nds32.c: Likewise.
1583 * config/xtensa-relax.c (parse_special_fn): Likewise.
1584 * stabs.c (generate_asm_file): Likewise.
1586 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1588 * config/tc-cr16.c (cr16_assemble): New function.
1589 (md_assemble): Call cr16_assemble.
1591 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1593 * as.c (parse_args): Adjust.
1594 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1595 * config/obj-elf.c (elf_frob_symbol): Adjust.
1597 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1599 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1600 registers to be in the 16..31 range.
1602 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1604 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1607 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1609 * config/tc-visium.c (md_atof): Localize the string returned on
1612 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1614 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1615 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1616 * config/tc-m68hc11.c (md_begin): Likewise.
1617 (print_opcode_list): Likewise.
1618 * config/tc-msp430.c (msp430_section): Likewise.
1619 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1620 (s3_build_dependency_insn_hsh): Likewise.
1621 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1622 (s7_build_dependency_insn_hsh): Likewise.
1623 * config/tc-tic4x.c: Likewise.
1624 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1625 (subsym_get_arg): Likewise.
1626 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1627 (get_directive): Likewise.
1628 (cache_literal_section): Likewise.
1629 * config/xtensa-relax.c: Likewise.
1630 * symbols.c (symbol_create): Likewise.
1631 (local_symbol_make): Likewise.
1632 (symbol_relc_make_expr): Likewise.
1634 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1636 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1639 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1641 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1644 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1646 * config/tc-ia64.c (ia64_do_align): Remove.
1647 (ia64_cons_align): Call do_align () directly.
1648 (dot_proc): Likewise.
1649 (stmt_float_cons): Likewise.
1651 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1653 * listing.c (listing_message): Use XNEW style allocation macros.
1654 * read.c (read_a_source_file): Likewise.
1655 (read_symbol_name): Likewise.
1656 (s_mri_common): Likewise.
1657 (assign_symbol): Likewise.
1658 (s_reloc): Likewise.
1659 (emit_expr_with_reloc): Likewise.
1660 (s_incbin): Likewise.
1661 (s_include): Likewise.
1662 * sb.c (sb_build): Likewise.
1663 (sb_check): Likewise.
1665 2016-03-22 Alan Modra <amodra@gmail.com>
1667 * write.c (record_alignment): Revert 2016-02-18 change.
1669 2016-03-22 Alan Modra <amodra@gmail.com>
1671 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1672 (emit_jsrjmp, tc_gen_reloc): Likewise.
1673 * config/tc-i370.c (i370_macro): Likewise.
1675 2016-03-22 Nick Clifton <nickc@redhat.com>
1677 * configure: Regenerate.
1679 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1681 * testsuite/gas/arc/nps400-0.d: New file.
1682 * testsuite/gas/arc/nps400-0.s: New file.
1683 * testsuite/gas/arc/nps400-1.d: New file.
1684 * testsuite/gas/arc/nps400-1.s: New file.
1686 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1688 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1689 declarations to start of block. Reset code on all flags before
1690 attempting to match them. Handle multiple hits on the same flag.
1692 * testsuite/gas/arc/asm-errors.d: New file.
1693 * testsuite/gas/arc/asm-errors.err: New file.
1694 * testsuite/gas/arc/asm-errors.s: New file.
1696 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1698 * config/tc-arc.c (cpu_types): Add nps400 entry.
1699 (check_zol): Handle nps400.
1701 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1703 * config/tc-arc.c (arc_select_cpu): Remove use of
1706 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1708 * config/tc-arc.c (arc_target): Delay initialisation until
1710 (arc_target_name): Likewise.
1711 (arc_features): Likewise.
1712 (arc_mach_type): Likewise.
1713 (cpu_types): Remove "all" entry.
1714 (arc_select_cpu): New function, most of the content is from...
1715 (md_parse_option): ... here. Call new arc_select_cpu.
1716 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1718 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1720 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1721 * testsuite/gas/arc/inline-data-2.d: New file.
1723 2016-03-21 Nick Clifton <nickc@redhat.com>
1725 * atof-generic.c: Replace use of alloca with call to xmalloc.
1727 * dwarf2dbg.c: Likewise.
1728 * macro.c: Likewise.
1729 * remap.c: Likewise.
1730 * stabs.c: Likewise.
1731 * symbols.c: Likewise.
1732 * config/obj-elf.c: Likewise.
1733 * config/tc-aarch64.c: Likewise.
1734 * config/tc-arc.c: Likewise.
1735 * config/tc-arm.c: Likewise.
1736 * config/tc-avr.c: Likewise.
1737 * config/tc-ia64.c: Likewise.
1738 * config/tc-mips.c: Likewise.
1739 * config/tc-msp430.c: Likewise.
1740 * config/tc-nds32.c: Likewise.
1741 * config/tc-ppc.c: Likewise.
1742 * config/tc-sh.c: Likewise.
1743 * config/tc-tic30.c: Likewise.
1744 * config/tc-tic54x.c: Likewise.
1745 * config/tc-xstormy16.c: Likewise.
1746 * config/te-vms.c: Likewise.
1747 * configure: Regenerate.
1749 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1751 * tc-i386.c (f32_1): Change type to unsigned char[].
1771 (jump_31): Likewise.
1772 (f32_patt): Likewise.
1773 (f16_patt): Likewise.
1782 (alt_patt): Likewise.
1784 2016-03-18 Nick Clifton <nickc@redhat.com>
1786 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1787 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1788 .tlsdescldr and .xword directives.
1791 * testsuite/gas/aarch64/pr19721.s: New test source file.
1792 * testsuite/gas/aarch64/pr19721.d: New test driver file.
1794 * doc/as.texinfo: Place the target specific command line options
1795 into their own man page section.
1797 2016-03-16 Jiong Wang <jiong.wang@arm.com>
1799 * config/tc-arm.c (N_S_32): New.
1800 (N_F_16_32): Likewise.
1801 (N_SUF_32): Support N_F16.
1802 (N_IF_32): Likewise.
1803 (neon_dyadic_misc): Likewise.
1804 (do_neon_cmp): Likewise.
1805 (do_neon_cmp_inv): Likewise.
1806 (do_neon_mul): Likewise.
1807 (do_neon_fcmp_absolute): Likewise.
1808 (do_neon_step): Likewise.
1809 (do_neon_abs_neg): Likewise.
1810 (CVT_FLAVOR_VAR): Likewise.
1811 (do_neon_cvt_1): Likewise.
1812 (do_neon_recip_est): Likewise.
1813 (do_vmaxnm): Likewise.
1814 (do_vrint_1): Likewise.
1815 (neon_check_type): Check architecture support for FP16 extension.
1816 (insns): Update comments.
1817 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1818 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1819 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1820 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1822 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1824 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1827 2016-03-16 Nick Clifton <nickc@redhat.com>
1829 * read.c (emit_expr_with_reloc): Add code check a bignum with
1831 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1833 * testsuite/gas/elf/bignum.s: New test source file.
1834 * testsuite/gas/elf/bignum.d: New test driver file.
1835 * testsuite/gas/elf/elf.exp: Run the new test.
1837 2016-03-15 Ulrich Drepper <drepper@gmail.com>
1839 * doc/c-i386.texi (Register Naming): Update to details of the
1840 latest architecture version.
1842 2016-03-10 Mickael Guene <mickael.guene@st.com>
1845 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1847 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1848 (do_t_mov_cmp): Likewise.
1849 (do_t_add_sub): Protect against bad relocations usage.
1850 (do_t_mov_cmp): Likewise.
1851 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1852 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1853 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1854 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
1856 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1858 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1860 (do_neon_ld_st_lane): Likewise.
1861 (do_neon_ld_dup): Likewise.
1863 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1865 * testsuite/gas/arc/inline-data-1.d: New file.
1866 * testsuite/gas/arc/inline-data-1.s: New file.
1868 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
1870 * config/tc-arm.c (arm_cpus): Add cortex-r8.
1871 * doc/c-arm.texi: Add cortex-r8.
1873 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1875 * config/tc-arc.c: Add const qualifiers.
1876 * config/tc-h8300.c (md_begin): Likewise.
1877 * config/tc-ia64.c (print_prmask): Likewise.
1878 * config/tc-msp430.c (msp430_operands): Likewise.
1879 * config/tc-nds32.c (struct suffix_name): Likewise.
1880 (struct nds32_parse_option_table): Likewise.
1881 (struct nds32_set_option_table): Likewise.
1882 (do_pseudo_pushpopm): Likewise.
1883 (do_pseudo_pushpop_stack): Likewise.
1884 (nds32_relax_relocs): Likewise.
1885 (nds32_flag): Likewise.
1886 (struct nds32_hint_map): Likewise.
1887 (nds32_find_reloc_table): Likewise.
1888 (nds32_match_hint_insn): Likewise.
1889 * config/tc-s390.c: Likewise.
1890 * config/tc-sh.c (get_specific): Likewise.
1891 * config/tc-tic30.c: Likewise.
1892 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
1893 (tic4x_indirect_parse): Likewise.
1894 * config/tc-vax.c (vax_cons): Likewise.
1895 * config/tc-z80.c (struct reg_entry): Likewise.
1896 * config/tc-epiphany.c (md_assemble): Adjust.
1897 (epiphany_assemble): New function.
1898 (epiphany_elf_section_rtn): Call do_align directly.
1899 (epiphany_elf_section_text): Likewise.
1900 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
1901 (ip2k_elf_section_text): Likewise.
1902 * read.c (do_align): Make it not static.
1903 * read.h (do_align): New prototype.
1905 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1907 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
1908 for ARMv8.1 AdvSIMD use.
1909 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
1910 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
1912 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1914 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
1916 (record_feature_use): New.
1917 (mark_feature_used): Use record_feature_use.
1918 (do_neon_qrdmlah): New.
1919 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
1921 (arm_extensions): Put into alphabetical order. Re-indent "simd"
1922 and "rdma" entries. Fix the incorrect merge value for "+rdma".
1923 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
1924 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
1925 Make source file explicit.
1926 * testsuite/gas/arm/armv8-a+rdma.l: New.
1927 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
1928 directives. Fix white-space.
1929 * testsuite/gas/arm/armv8_1-a+simd.d: New.
1931 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1933 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
1935 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1936 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1938 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
1939 (tc_arc_fix_adjustable): Changed default return value to 1.
1940 * testsuite/gas/arc/j.d: Updated expected symbol
1941 * testsuite/gas/arc/jl.d: Likewise
1942 * testsuite/gas/arc/relax-avoid1.d: Likewise
1943 * testsuite/gas/arc/st.d: Likewise
1945 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1947 * config/tc-arc.c: Enable code density instructions for ARC EM.
1949 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1952 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
1954 * as.c (flag_use_elf_stt_common): New.
1955 (show_usage): Add --elf-stt-common=.
1956 (option_values): Add OPTION_ELF_STT_COMMON.
1957 (std_longopts): Add --elf-stt-common=.
1958 (parse_args): Handle --elf-stt-common=.
1959 * as.h (flag_use_elf_stt_common): New.
1960 * config.in: Regenerated.
1961 * configure: Likewise.
1962 * configure.ac: Add --enable-elf-stt-common and define
1963 DEFAULT_GENERATE_ELF_STT_COMMON.
1964 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
1965 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
1966 * doc/as.texinfo: Document --elf-stt-common=.
1967 * testsuite/gas/elf/common3.s: New file.
1968 * testsuite/gas/elf/common3a.d: Likewise.
1969 * testsuite/gas/elf/common3b.d: Likewise.
1970 * testsuite/gas/elf/common4.s: Likewise.
1971 * testsuite/gas/elf/common4a.d: Likewise.
1972 * testsuite/gas/elf/common4b.d: Likewise.
1973 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1974 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1975 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
1977 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
1978 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
1979 --elf-stt-common=no to as.
1980 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
1981 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
1982 --elf-stt-common=no to as.
1983 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
1984 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
1985 of dw2-compress-3 and dw2-compressed-3.
1987 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1989 * as.c (select_emulation_mode): Add const qualifiers.
1991 * config/bfin-defs.h: Likewise.
1992 * config/bfin-parse.y: Likewise.
1993 * config/rx-parse.y: Likewise.
1994 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
1995 (struct aarch64_cpu_option_table): Likewise.
1996 (struct aarch64_arch_option_table): Likewise.
1997 (struct aarch64_option_cpu_value_table): Likewise.
1998 (struct aarch64_long_option_table): Likewise.
1999 (struct aarch64_option_abi_value_table): Likewise.
2000 * config/tc-arm.c (struct reloc_entry): Likewise.
2001 (tc_gen_reloc): Likewise.
2002 (struct arm_option_table): Likewise.
2003 (struct arm_legacy_option_table): Likewise.
2004 (struct arm_cpu_option_table): Likewise.
2005 (struct arm_arch_option_table): Likewise.
2006 (struct arm_option_extension_value_table): Likewise.
2007 (struct arm_option_fpu_value_table): Likewise.
2008 (struct arm_option_value_table): Likewise.
2009 (struct arm_long_option_table): Likewise.
2010 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2011 (struct mcu_type_s): Likewise.
2012 (struct exp_mod_s): Likewise.
2013 (avr_operand): Likewise.
2014 (avr_operands): Likewise.
2015 * config/tc-d10v.c (md_begin): Likewise.
2016 * config/tc-dlx.c: Likewise.
2017 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2018 * config/tc-ft32.c (parse_condition): Likewise.
2019 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2020 * config/tc-hppa.c (pa_ip): Likewise.
2021 (hppa_regname_to_dw2regnum): Likewise.
2022 * config/tc-i370.c (i370_elf_suffix): Likewise.
2023 * config/tc-i960.c (struct tabentry): Likewise.
2024 * config/tc-m32r.c: Likewise.
2025 * config/tc-m68k.c: Likewise.
2026 * config/tc-m68k.h: Likewise.
2027 * config/tc-mcore.c (parse_psrmod): Likewise.
2028 * config/tc-metag.c (struct metag_core_option): Likewise.
2029 (struct metag_long_option): Likewise.
2030 * config/tc-microblaze.c: Likewise.
2031 * config/tc-mips.c (macro): Likewise.
2032 * config/tc-mn10200.c: Likewise.
2033 * config/tc-mn10300.c: Likewise.
2034 * config/tc-msp430.c (struct rcodes_s): Likewise.
2035 (struct hcodes_s): Likewise.
2036 (md_parse_option): Likewise.
2037 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2038 (optlist): Likewise.
2039 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2040 (tc_ppc_regname_to_dw2regnum): Likewise.
2041 * config/tc-ppc.h: Likewise.
2042 * config/tc-rl78.c: Likewise.
2043 * config/tc-rx.c (struct cpu_type): Likewise.
2044 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2045 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2046 (sparc_ip): Likewise.
2047 * config/tc-spu.c (insn_fmt_string): Likewise.
2048 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2049 * config/tc-v850.c: Likewise.
2050 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2051 (struct visium_long_option_table): Likewise.
2052 * config/tc-xgate.c: Likewise.
2053 * config/tc-z8k.c: Likewise.
2054 * read.c (add_include_dir): Likewise.
2057 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2059 * testsuite/gas/all/gas.exp: Change target pattern to cover
2061 * testsuite/gas/all/redef3.d: Likewise.
2062 * testsuite/gas/elf/elf.exp: Likewise.
2064 2016-02-24 Renlin Li <renlin.li@arm.com>
2066 * config/tc-arm.c (BAD_FP16): New error message macro.
2067 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2068 fp16 scalar instructions.
2069 (neon_check_type): Allow different size from key.
2070 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2071 (try_vfp_nsyn): Likewise.
2072 (do_vfp_nsyn_mla_mls): Likewise.
2073 (do_vfp_nsyn_fma_fms): Likewise.
2074 (do_vfp_nsyn_ldm_stm): Likewise
2075 (do_vfp_nsyn_sqrt): Likewise
2076 (do_vfp_nsyn_div): Likewise
2077 (do_vfp_nsyn_nmul): Likewise.
2078 (do_vfp_nsyn_cmp): Likewise.
2079 (do_neon_shll): Likewise.
2080 (do_vfp_nsyn_cvt_fpv8): Likewise.
2081 (do_neon_cvttb_2): Likewise.
2082 (do_neon_mov): Likewise.
2083 (do_neon_rshift_round_imm): Likewise.
2084 (do_neon_ldr_str): Likewise.
2085 (do_vfp_nsyn_fpv8): Likewise.
2086 (do_vmaxnm): Likewise.
2087 (do_vrint_1): Likewise.
2088 (insns): New entry for vins, vmovx.
2089 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2090 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2091 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2092 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2093 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2094 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2095 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2097 2016-02-24 Renlin Li <renlin.li@arm.com>
2099 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2100 (neon_shape_class): New SC_HALF.
2101 (neon_shape_el): New SE_H.
2102 (neon_shape_el_size): New size for SE_H.
2103 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2104 (neon_select_shape): Add SE_H support code.
2105 (el_type_of_type_chk): Use N_F_ALL.
2106 (do_vfp_nsyn_cvt): Add SE_H shape support.
2107 (do_neon_cvtz): Likewise.
2108 (do_neon_cvt_1): Likewise.
2109 (do_neon_cvttb_1): Likewise.
2111 2016-02-24 Renlin Li <renlin.li@arm.com>
2113 * testsuite/gas/arm/copro.d: Adjust output.
2114 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2116 2016-02-24 Renlin Li <renlin.li@arm.com>
2118 * testsuite/gas/arm/mask_1.d: New.
2119 * testsuite/gas/arm/mask_1.s: New.
2121 2016-02-24 Renlin Li <renlin.li@arm.com>
2123 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2124 * testsuite/gas/arm/copro.d: Update.
2126 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2128 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2129 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2131 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2133 * doc/c-arm.texi (ARM Options): Document cortex-a17.
2135 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2137 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2140 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2142 * output-file.c (output_file_create): Make file name argument const.
2143 (output_file_close): Likewise.
2144 * output-file.h (output_file_create): Adjust.
2145 (output_file_close): Likewise.
2146 * depend.c (quote_string_for_make): Make src argument const char *.
2147 (register_dependency): Likewise.
2148 (wrap_output): Likewise.
2149 * as.h (register_dependency): Adjust.
2150 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2152 * symbols.c (S_SET_EXTERNAL): Likewise.
2153 * input-scrub.c (as_where): Return the file name.
2154 * as.h (as_where): Adjust prototype.
2155 * app.c (do_scrub_chars): Adjust.
2156 * cond.c (s_elseif): Likewise.
2158 (initialize_cframe): Likewise.
2159 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2160 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2161 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2162 * config/tc-aarch64.c (output_info): Likewise.
2163 * config/tc-ia64.c (md_assemble): Likewise.
2164 (dot_alias): Likewise.
2165 * config/tc-m68k.c (m68k_frob_label): Likewise.
2166 * config/tc-mmix.c (s_bspec): Likewise.
2167 (mmix_handle_mmixal): Likewise.
2168 * config/tc-rx.c (rx_include): Likewise.
2169 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2170 (tic54x_adjust_symtab): Likewise.
2171 * config/tc-xtensa.c (directive_push): Likewise.
2172 (xtensa_sanity_check): Likewise.
2173 (xtensa_relax_frag): Likewise.
2174 (md_convert_frag): Likewise.
2175 (tinsn_to_slotbuf): Likewise.
2176 * dwarf2dbg.c (dwarf2_where): Likewise.
2177 * ecoff.c (add_file): Likewise.
2178 (ecoff_generate_asm_lineno): Likewise.
2179 * expr.c (make_expr_symbol): Likewise.
2180 * frags.c (frag_new): Likewise.
2181 (frag_var_init): Likewise.
2182 * listing.c (listing_newline): Likewise.
2183 * messages.c (identify): Likewise.
2184 (as_show_where): Likewise.
2185 (as_warn_internal): Likewise.
2186 (as_bad_internal): Likewise.
2187 * read.c (s_irp): Likewise.
2188 (s_macro): Likewise.
2189 (s_reloc): Likewise.
2190 * stabs.c (stabs_generate_asm_file): Likewise.
2191 (stabs_generate_asm_lineno): Likewise.
2192 (stabs_generate_asm_func): Likewise.
2193 * write.c (fix_new_internal): Likewise.
2194 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2195 (as_warn_value_out_of_range): Adjust prototype.
2196 (as_bad_value_out_of_range): Adjust prototype.
2197 * messages.c (identify): Make file name argument const char *.
2198 (as_warn_internal): Likewise.
2199 (as_warn_where): Likewise.
2200 (as_bad_internal): Likewise.
2201 (as_bad_where): Likewise.
2202 (as_internal_value_out_of_range): Likewise.
2203 (as_warn_value_out_of_range): Likewise.
2204 (as_bad_value_out_of_range): Likewise.
2205 * as.h (found_comment_file): Change type to const char *.
2206 * cond.c (file_line::file): Likewise.
2207 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2208 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2209 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2210 * config/tc-aarch64.c (output_info): Likewise.
2211 * config/tc-alpha.c (insert_operand): Likewise.
2212 * config/tc-arc.c (insert_operand): Likewise.
2213 * config/tc-d30v.c (check_size): Likewise.
2214 * config/tc-ia64.c (struct alias): Likewise.
2215 * config/tc-m68k.c (struct label_line): Likewise.
2216 * config/tc-mcore.c (md_apply_fix): Likewise.
2217 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2218 * config/tc-mips.c (mips16_immed): Likewise.
2219 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2220 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2221 * config/tc-rx.c (rx_include): Likewise.
2222 * config/tc-s390.c (s390_insert_operand): Likewise.
2223 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2224 (tic54x_adjust_symtab): Likewise.
2225 * config/tc-tilegx.c (insert_operand): Likewise.
2226 (apply_special_operator): Likewise.
2227 * config/tc-tilepro.c (insert_operand): Likewise.
2228 * config/tc-xtensa.c (directive_push): Likewise.
2229 * ecoff.c (add_file): Likewise.
2230 (ecoff_generate_asm_lineno): Likewise.
2231 * listing.c (listing_newline): Likewise.
2232 * read.c (s_irp): Likewise.
2233 * write.c (install_reloc): Likewise.
2234 * write.h (struct fix): Likewise.
2235 * input-file.c (file_name): Change type to const char *.
2236 (saved_file::file_name): Likewise.
2237 (input_file_open): Change type of argument to const char *.
2238 * input-file.h (input_file_open): Adjust.
2239 * input-scrub.c (logical_input_file): change type to const char *.
2240 (physical_input_file): Likewise.
2241 (struct input_save): Adjust.
2242 (input_scrub_push): Adjust.
2243 (input_scrub_begin): Adjust.
2245 * input-scrub.c (input_scrub_new_file): Make file name argument const.
2246 (input_scrub_include_file): Likewise.
2247 (new_logical_line_flags): Likewise.
2248 (new_logical_line): Likewise.
2250 * frags.h (struct frag): Change type of fr_file to const char *.
2251 * expr.c (expr_symbol_where): Change type of file argument to
2253 * expr.h (expr_symbol_where): Likewise.
2254 * config/tc-i370.c (md_apply_fix): adjust.
2255 * config/tc-mmix.c (mmix_md_end): Likewise.
2256 * config/tc-ppc.c (md_apply_fix): Likewise.
2257 * config/tc-s390.c (md_apply_fix): Likewise.
2258 * symbols.c (report_op_error): Likewise.
2259 (resolve_symbol_value): Likewise.
2260 * config/tc-ia64.c (slot::src_file): Change type to const char *.
2261 (rsrc::file): Likewise.
2262 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2264 (xtensa_relax_frag): Likewise.
2265 (md_convert_frag): Likewise.
2266 (tinsn_to_slotbuf): Likewise.
2267 * expr.c (expr_symbol_line): Likewise.
2268 * macro.c (define_macro): Likewise.
2269 * macro.h (macro_struct): Likewise.
2270 * messages.c (as_show_where): Likewise.
2271 * read.c (s_macro): Likewise.
2272 * stabs.c (stabs_generate_asm_file): Likewise.
2273 (generate_asm_file): Likewise.
2274 (stabs_generate_asm_lineno): Likewise.
2275 * write.h (struct reloc_list): Likewise.
2276 * input-scrub.c (as_where): Change return type to const char *.
2277 * as.h (as_wheree): Adjust.
2279 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
2281 * write.c (compress_debug): Move BFD compression bits setting
2283 (write_object_file): Here.
2285 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2287 * config/tc-i386.c (register_number): Check RegVRex.
2288 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2289 with %zmm19 and %zmm3.
2290 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2291 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2293 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2294 Jiong Wang <jiong.wang@arm.com>
2296 * config/tc-arm.c (arm_ext_fp16): New.
2297 (arm_extensions): New entry for "fp16".
2299 2016-02-19 Nick Clifton <nickc@redhat.com>
2302 * read.c (read_a_source_file): Check for assemble_one returning
2303 with input_line_pointer set to NULL.
2305 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2307 * listing.c (rebuffer_line): Change return type to void.
2309 * symbols.c (decode_local_label_name): Make type a const char *.
2310 * listing.c (print_source): Make type of p const char *.
2311 (print_line): Make type of string const char *.
2312 (buffer_line): Return const char *.
2313 (title): Make type const char *.
2314 (subtitle): Likewise.
2315 (listing_listing): Make type of p const char *.
2316 * messages.c (as_internal_value_out_of_range): Make type of prefix
2318 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
2319 and string const char *.
2320 * read.c (_bfd_rel): Make type of name const char *.
2321 * app.c (out_string): Change type to const char *.
2322 (struct app_save::out_string): Likewise.
2324 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
2325 Nick Clifton <nickc@redhat.com>
2327 * read.c (finish_bundle): Avoid recording a negative alignment.
2328 (do_align): Use unsigned values for n, len and max. Only create
2329 a frag if the alignment requirement is greater than the minimum
2330 byte alignment. Avoid recording a negative alignment.
2331 (s_align): Use unsigned values where appropriate.
2332 (bss_alloc): Use an unsigned value for the alignment.
2333 (sizeof_sleb128): Add a comment noting that we encode one octet
2334 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
2335 (emit_leb129_expr): Abort if the emitted encoding was longer than
2337 * read.h (output_leb128): Update prototype.
2338 (sizeof_leb128): Update prototype.
2339 (bss_alloc): Update prototype.
2340 * write.c (record_alignment): Use an unsigned value for the
2341 alignment. Do not record alignments less than the minimum
2342 alignment for a byte.
2343 * write.h (record_alignment): Update prototype.
2345 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2347 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
2348 .init.literal/.fini.literal section name.
2349 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
2350 list of xtensa tests.
2351 * testsuite/gas/xtensa/init-fini-literals.d: New file:
2352 init-fini-literals test result patterns.
2353 * testsuite/gas/xtensa/init-fini-literals.s: New file:
2354 init-fini-literals test.
2356 2016-02-17 Nick Clifton <nickc@redhat.com>
2358 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
2359 devices.csv file as of March 2016.
2361 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
2363 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
2365 (tc_arc_regname_to_dw2regnum): Likewise.
2366 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
2367 (tc_cfi_frame_initial_instructions): Likewise.
2368 (tc_regname_to_dw2regnum): Likewise.
2369 * testsuite/gas/cfi/cfi-arc-1.d: New file.
2370 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
2371 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
2373 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
2375 * doc/internals.texi (S_IS_EXTERN): Remove.
2377 2016-02-16 Nick Clifton <nickc@redhat.com>
2379 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
2382 2016-02-16 Renlin Li <renlin.li@arm.com>
2385 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
2386 * testsuite/gas/aarch64/movw_label.d: New.
2387 * testsuite/gas/aarch64/movw_label.s: New.
2389 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
2392 * config/rx-parse.y (MOV): Opcode generation for index
2393 register addressing mode.
2394 * testsuite/gas/rx/rx.exp: Updated for new testcase.
2395 * testsuite/gas/rx/pr19665.s: New file.
2396 * testsuite/gas/rx/pr19665.s: New file.
2397 * testsuite/gas/rx/mov.d: Update expected output.
2399 2016-02-15 Nick Clifton <nickc@redhat.com>
2401 * doc/as.texinfo (.section): Document that numeric values can now
2402 be used for the flags and type fields of the ELF target's .section
2403 directive. Add notes about the restrictions on setting flags and
2405 * config/obj-elf.c (obj_elf_change_section): Allow known sections
2406 to be given processor specific section types. Allow processor and
2407 application specific flags of a section to be set after
2409 (obj_elf_parse_section_letters): Handle parsing numeric values.
2410 (obj_elf_section_type): Handle parsing numeric values.
2411 (obj_elf_section): Allow numeric type values.
2412 * config/obj-elf.h (obj_elf_change_section): Update prototype.
2413 * testsuite/gas/elf/section10.d: New test.
2414 * testsuite/gas/elf/section10.s: Source file for new test.
2415 * testsuite/gas/elf/elf.exp: Run the new test.
2416 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
2417 the description of the flags produced by readelf.
2418 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
2419 * NEWS: Mention the new feature.
2421 2016-02-11 Nick Clifton <nickc@redhat.com>
2424 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
2425 until it is actually used.
2426 (cfi_set_sections): Set cfi_sections_set to true.
2427 (dot_cfi_startproc): Likewise.
2428 (dot_cfi_endproc): Likewise.
2429 (dot_cfi_fde_data): Likewise.
2430 (cfi_finish): Likewise.
2431 (dot_cfi_sections): Do not set cfi_sections_set.
2432 * doc/as.texinfo (.cfi_sections): Note that targets can provide
2433 their own cfi section name. Also note that the directive can be
2434 reissued provided that CFI generation has not started.
2435 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
2436 .cfi_endproc directives so that the redefinition of .cfi_sections
2437 will trigger the generation of the error message.
2438 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
2439 number of error message.
2441 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
2442 Janek van Oirschot <jvanoirs@synopsys.com>
2444 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2445 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2447 (arc_flags, arc_relax_type): New structure.
2448 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2449 (RELAX_TABLE_ENTRY_MAX): New define.
2450 (relaxation_state, md_relax_table, arc_relaxable_insns)
2451 (arc_num_relaxable_ins): New variable.
2452 (rlx_operand_type, arc_rlx_types): New enums.
2453 (arc_relaxable_ins): New structure.
2454 (OPTION_RELAX): New option.
2455 (arc_insn): New relax member.
2456 (arc_flags): Remove.
2457 (relax_insn_p): New function.
2458 (apply_fixups): Likewise.
2459 (relaxable_operand): Likewise.
2460 (may_relax_expr): Likewise.
2461 (relaxable_flag): Likewise.
2462 (arc_pcrel_adjust): Likewise.
2463 (md_estimate_size_before_relax): Implement.
2464 (md_convert_frag): Likewise.
2465 (md_parse_option): Handle new mrelax option.
2466 (md_show_usage): Likewise.
2467 (assemble_insn): Set relax member.
2468 (emit_insn0): New function.
2469 (emit_insn1): Likewise.
2470 (emit_insn): Handle relaxation case.
2471 * NEWS: Mention the new relaxation option.
2472 * doc/c-arc.texi (ARC Options): Document new mrelax option.
2473 * doc/as.texinfo (Target ARC Options): Likewise.
2474 * testsuite/gas/arc/relax-avoid1.d: New file.
2475 * testsuite/gas/arc/relax-avoid1.s: Likewise.
2476 * testsuite/gas/arc/relax-avoid2.d: Likewise.
2477 * testsuite/gas/arc/relax-avoid2.s: Likewise.
2478 * testsuite/gas/arc/relax-avoid3.d: Likewise.
2479 * testsuite/gas/arc/relax-avoid3.s: Likewise.
2480 * testsuite/gas/arc/relax-b.d: Likewise.
2481 * testsuite/gas/arc/relax-b.s: Likewise.
2483 2016-02-08 Nick Clifton <nickc@redhat.com>
2485 * config/tc-ia64.c (dot_prologue): Fix formatting.
2487 2016-02-04 Nick Clifton <nickc@redhat.com>
2489 * config/obj-elf.c (obj_elf_change_section): Remove support for
2490 ARM NOREAD sections.
2491 * config/tc-arm.c (arm_elf_section_letter): Delete.
2492 * config/tc-arm.h (md_elf_section_letter): Delete.
2493 * doc/c-arm.texi (ARM Section Attribute): Delete section.
2494 * testsuite/gas/arm/section-execute-only.d: Delete.
2495 * testsuite/gas/arm/section-execute-only.s: Delete.
2497 2016-02-04 Nick Clifton <nickc@redhat.com>
2500 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2501 to handle encoding of RRUX instruction.
2502 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2504 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2506 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2508 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2509 substitutions for BFD_RELOC_* as unsigned.
2510 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2511 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2512 * testsuite/gas/xtensa/loc.s: New file: loc test.
2514 2016-02-03 Kevin Buettner <kevinb@redhat.com>
2516 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
2518 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2521 * NEWS: Mention new command line option -mrelax-relocations and
2522 new configure option --enable-x86-relax-relocations for x86
2524 * config.in: Regenerated.
2525 * configure.ac: Add --enable-x86-relax-relocations.
2526 (ac_default_x86_relax_relocations): New. Default to 1 except
2527 for x86 Solaris targets older than Solaris 12.
2528 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2529 * configure: Likewise.
2530 * config/tc-i386.c (generate_relax_relocations): New.
2531 (OPTION_MRELAX_RELOCATIONS): Likewise.
2532 (output_disp): Don't generate relax relocations if
2533 generate_relax_relocations is 0.
2534 (md_longopts): Add -mrelax-relocations.
2535 (md_show_usage): Likewise.
2536 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2537 * doc/c-i386.texi: Document -mrelax-relocations=.
2538 * testsuite/gas/i386/got-no-relax.d: New file.
2539 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2540 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2541 * testsuite/gas/i386/localpic.d: Likewise.
2542 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2543 * testsuite/gas/i386/reloc32.d: Likewise.
2544 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2545 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2546 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2547 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2548 * testsuite/gas/i386/i386.exp: Run got-no-relax and
2549 x86-64-gotpcrel-no-relax.
2551 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2553 * NEWS: Mention new command line option -mfence-as-lock-add=yes
2556 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2558 * NEWS: Remove duplicated marker for 2.26.
2560 2016-02-02 Renlin Li <renlin.li@arm.com>
2562 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2564 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2566 * testsuite/gas/ip2k/allinsn.d: New file.
2567 * testsuite/gas/ip2k/allinsn.s: New file.
2568 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2570 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2572 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2573 some load instructions.
2574 * testsuite/gas/epiphany/allinsn.d: Likewise.
2575 * testsuite/gas/epiphany/regression.d: Likewise.
2577 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2579 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2580 suffixes from instruction mnemonics in expected output.
2581 * testsuite/gas/epiphany/allinsn.d: Likewise.
2582 * testsuite/gas/epiphany/regression.d: Likewise.
2583 * testsuite/gas/epiphany/sample.d: Likewise.
2585 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2587 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2589 * testsuite/gas/epiphany/allinsn.d: Likewise.
2590 * testsuite/gas/epiphany/sample.d: Likewise.
2592 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2594 * testsuite/gas/epiphany/sample.d: Update expected output.
2596 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2598 * config/tc-arc.c (md_apply_fix): Allow addendum.
2599 (arc_reloc_op): Allow complex expressions for tpoff.
2600 (md_apply_fix): Handle resolved TLS local symbol.
2601 * testsuite/gas/arc/tls-relocs1.d: New file.
2602 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2604 2016-02-01 Loria <Loria@phantasia.org>
2607 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2608 efficiency and avoid an LLVM loop optimization bug.
2610 2016-02-01 Nick Clifton <nickc@redhat.com>
2612 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2613 message extending a negative 32-bit value into a larger signed
2614 value on a 32-bit host.
2616 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2619 * configure.ac (compressed_debug_sections): Replace == with =.
2620 * configure: Regenerated.
2622 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2623 H.J. Lu <hongjiu.lu@intel.com>
2625 * config/tc-i386.c (avoid_fence): New.
2626 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2628 (OPTION_FENCE_AS_LOCK_ADD): New.
2629 (md_longopts): Add -mfence-as-lock-add.
2630 (md_parse_option): Handle -mfence-as-lock-add.
2631 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2632 * doc/c-i386.texi (-mfence-as-lock-add): Document.
2633 * testsuite/gas/i386/i386.exp: Run new tests.
2634 * testsuite/gas/i386/fence-as-lock-add.s: New.
2635 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2636 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2637 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2638 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2640 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2642 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2643 * configure: Regenerated.
2645 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2647 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2648 (OPTION_MOMIT_LOCK_PREFIX): This.
2649 (md_longopts): Updated.
2650 (md_parse_option): Likewise.
2652 2016-01-25 Catherine Moore <clm@codesourcery.com>
2654 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2655 if abicalls are in effect.
2656 * testsuite/gas/mips/sdata-gp.s: New test.
2657 * testsuite/gas/mips/sdata-gp.d: New expected output
2658 * testsuite/gas/mips/mips.exp: Run new test.
2660 2016-01-25 Renlin Li <renlin.li@arm.com>
2662 * testsuite/gas/arm/thumb2_it_search.d: New.
2663 * testsuite/gas/arm/thumb2_it_search.s: New.
2665 2016-01-21 Nick Clifton <nickc@redhat.com>
2668 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2669 with arm-netbsdelf target.
2670 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2672 2016-01-20 Nick Clifton <nickc@redhat.com>
2675 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2676 * testsuite/gas/arm/blx-bl-convert.d
2677 * testsuite/gas/arm/plt-1.d: Likewise.
2678 * testsuite/gas/arm/reloc-bad.d: Likewise.
2679 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2680 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2681 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2682 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2685 * doc/as.texinfo (Errors): Correct documentation describing the
2686 interaction of .file and .line with warning and error messages.
2689 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2690 * testsuite/gas/arm/archv8m-main.d: Likewise.
2691 * testsuite/gas/arm/archv8m-base.d: Likewise.
2693 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2695 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2696 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2697 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2699 2016-01-20 Mickael Guene <mickael.guene@st.com>
2700 Terry Guo <terry.guo@arm.com>
2702 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2703 SHF_ARM_NOREAD section flag.
2704 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2706 (arm_elf_section_letter) : Declare it.
2707 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2708 SHF_ARM_NOREAD section flag.
2709 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2711 * testsuite/gas/arm/section-execute-only.s: New test case.
2712 * testsuite/gas/arm/section-execute-only.d: Expected output.
2714 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2716 * config/tc-mips.c (micromips_insn_length): Remove the mention
2717 of 48-bit microMIPS instructions.
2719 2016-01-18 Alan Modra <amodra@gmail.com>
2721 * configure: Regenerate.
2723 2016-01-17 Alan Modra <amodra@gmail.com>
2725 * configure: Regenerate.
2727 2016-01-17 Alan Modra <amodra@gmail.com>
2729 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2731 2016-01-14 Nick Clifton <nickc@redhat.com>
2733 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2734 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2735 * testsuite/gas/rl78/rl78.exp: Run the new test.
2737 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2739 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2740 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2742 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2744 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2746 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2748 * config/tc-h8300.c (get_operand): Remove spurious condition in
2749 test for closing parenthesis.
2751 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
2753 * config/tc-arm.c (arm_ext_v8_2): New.
2755 * testsuite/gas/arm/armv8_2-a.d: New.
2756 * testsuite/gas/arm/armv8_2-a.s: New.
2758 2016-01-12 Alan Modra <amodra@gmail.com>
2760 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2762 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
2764 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2765 xvcmpnesp, xvcmpnesp.>: Delete tests.
2766 * testsuite/gas/ppc/power9.s: Likewise.
2767 * testsuite/gas/ppc/vsx3.d: Likewise.
2768 * testsuite/gas/ppc/vsx3.s: Likewise.
2770 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
2773 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2774 * testsuite/gas/m68k/p13050-1.s: New file.
2775 * testsuite/gas/m68k/p13050-2.d: New file.
2776 * testsuite/gas/m68k/p13050-2.s: New file.
2778 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2780 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2781 * testsuite/gas/arc/add.d: Likewise.
2782 * testsuite/gas/arc/and.d: Likewise.
2783 * testsuite/gas/arc/asl.d: Likewise.
2784 * testsuite/gas/arc/asr.d: Likewise.
2785 * testsuite/gas/arc/bic.d: Likewise.
2786 * testsuite/gas/arc/extb.d: Likewise.
2787 * testsuite/gas/arc/extw.d: Likewise.
2788 * testsuite/gas/arc/j.d: Likewise.
2789 * testsuite/gas/arc/jl.d: Likewise.
2790 * testsuite/gas/arc/ld2.d: Likewise.
2791 * testsuite/gas/arc/lsr.d: Likewise.
2792 * testsuite/gas/arc/mov.d: Likewise.
2793 * testsuite/gas/arc/or.d: Likewise.
2794 * testsuite/gas/arc/pcl-relocs.d: Likewise.
2795 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2796 * testsuite/gas/arc/pic-relocs.d: Likewise.
2797 * testsuite/gas/arc/plt-relocs.d: Likewise.
2798 * testsuite/gas/arc/rlc.d: Likewise.
2799 * testsuite/gas/arc/ror.d: Likewise.
2800 * testsuite/gas/arc/rrc.d: Likewise.
2801 * testsuite/gas/arc/sbc.d: Likewise.
2802 * testsuite/gas/arc/sda-relocs.d: Likewise.
2803 * testsuite/gas/arc/sda-relocs2.d: Likewise.
2804 * testsuite/gas/arc/sexb.d: Likewise.
2805 * testsuite/gas/arc/sexw.d: Likewise.
2806 * testsuite/gas/arc/st.d: Likewise.
2807 * testsuite/gas/arc/sub.d: Likewise.
2808 * testsuite/gas/arc/tls-relocs.d: Likewise.
2809 * testsuite/gas/arc/xor.d: Likewise.
2811 2016-01-01 Alan Modra <amodra@gmail.com>
2813 Update year range in copyright notice of all files.
2815 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2817 Copyright (C) 2016 Free Software Foundation, Inc.
2819 Copying and distribution of this file, with or without modification,
2820 are permitted in any medium without royalty provided the copyright
2821 notice and this notice are preserved.
2827 version-control: never