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