1 2016-06-01 Graham Markall <graham.markall@embecosm.com>
3 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
4 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
5 * testsuite/gas/arc/nps-400-1.d: Likewise.
7 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
10 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
11 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
12 noavx512ifma and noavx512vbmi.
13 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
14 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
16 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
17 * testsuite/gas/i386/noavx512-1.l: New file.
18 * testsuite/gas/i386/noavx512-1.s: Likewise.
19 * testsuite/gas/i386/noavx512-2.l: Likewise.
20 * testsuite/gas/i386/noavx512-2.s: Likewise.
22 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
25 * config/tc-i386.c (cpu_arch): Add 687.
26 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
27 nosse4.1, nosse4.2, nosse4 and noavx2.
28 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
29 register. Check cpuregxmm instead of cpusse for XMM register.
30 Check cpuregymm instead of cpuavx for YMM register. Check
31 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
32 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
33 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
34 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
35 * testsuite/gas/i386/arch-10.d (as): Likewise.
36 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
37 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
38 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
40 * testsuite/gas/i386/no87-3.l: New file.
41 * testsuite/gas/i386/no87-3.s: Likewise.
42 * testsuite/gas/i386/noavx-3.l: Likewise.
43 * testsuite/gas/i386/noavx-3.s: Likewise.
44 * testsuite/gas/i386/noavx-4.d: Likewise.
45 * testsuite/gas/i386/noavx-4.s: Likewise.
46 * testsuite/gas/i386/nosse-4.l: Likewise.
47 * testsuite/gas/i386/nosse-4.s: Likewise.
48 * testsuite/gas/i386/nosse-5.d: Likewise.
49 * testsuite/gas/i386/nosse-5.s: Likewise.
51 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
54 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
56 (match_template): Check Intel64/AMD64 ISA.
58 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
61 * config/tc-i386.c (intel64): New.
62 (cpu_flags_match): Set cpuamd64 and cpuintel64.
63 (md_parse_option): Set intel64 instead of cpuamd64 and
66 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
68 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
71 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
73 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
74 * testsuite/gas/ppc/altivec3.s: Likewise.
75 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
76 * testsuite/gas/ppc/power9.s: Likewise.
78 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
80 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
81 * testsuite/gas/i386/noavx-1.l: Likewise.
82 * testsuite/gas/i386/nommx-1.l: Likewise.
83 * testsuite/gas/i386/nosse-1.l: Likewise.
84 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
85 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
86 * testsuite/gas/i386/noavx-1.s: Likewise.
87 * testsuite/gas/i386/nommx-1.s: Likewise.
88 * testsuite/gas/i386/nosse-1.s: Likewise.
89 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
91 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
93 * config/tc-metag.c (metag_handle_align): Make the type of noop
96 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
98 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
99 bfd_reloc_code_real_type.
101 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
104 * config/tc-i386.c (cpu_flags_match): Require another match
106 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
107 x86-64-avx512vl-1 and x86-64-avx512vl-2.
108 * testsuite/gas/i386/avx512vl-1.l: New file.
109 * testsuite/gas/i386/avx512vl-1.s: Likewise.
110 * testsuite/gas/i386/avx512vl-2.l: Likewise.
111 * testsuite/gas/i386/avx512vl-2.s: Likewise.
112 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
113 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
114 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
115 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
117 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
120 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
121 * testsuite/gas/i386/x86-64-pr20141.d: New file.
122 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
124 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
126 * config/tc-i386.c (arch_entry): Remove negated.
127 (noarch_entry): New struct.
128 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
130 (set_cpu_arch): Check cpu_noarch after cpu_arch.
131 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
133 (output_message): New function.
134 (show_arch): Use it. Handle cpu_noarch.
135 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
136 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
137 * testsuite/gas/i386/noavx-1.l: New file.
138 * testsuite/gas/i386/noavx-1.s: Likewise.
139 * testsuite/gas/i386/noavx-2.s: Likewise.
140 * testsuite/gas/i386/noavx-2.l: Likewise.
141 * testsuite/gas/i386/nommx-1.s: Likewise.
142 * testsuite/gas/i386/nommx-1.l: Likewise.
143 * testsuite/gas/i386/nommx-2.s: Likewise.
144 * testsuite/gas/i386/nommx-2.l: Likewise.
145 * testsuite/gas/i386/nommx-3.s: Likewise.
146 * testsuite/gas/i386/nommx-3.l: Likewise.
147 * testsuite/gas/i386/nosse-1.s: Likewise.
148 * testsuite/gas/i386/nosse-1.l: Likewise.
149 * testsuite/gas/i386/nosse-2.s: Likewise.
150 * testsuite/gas/i386/nosse-2.l: Likewise.
151 * testsuite/gas/i386/nosse-3.s: Likewise.
152 * testsuite/gas/i386/nosse-3.l: Likewise.
154 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
157 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
158 instruction if supported by the currently selected fpu variant.
159 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
160 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
162 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
164 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
165 jump relocations against MIPS16 or microMIPS symbols on RELA
167 * testsuite/gas/mips/jalx-local.d: New test.
168 * testsuite/gas/mips/jalx-local-n32.d: New test.
169 * testsuite/gas/mips/jalx-local-n64.d: New test.
170 * testsuite/gas/mips/jalx-local.s: New test source.
171 * testsuite/gas/mips/mips.exp: Run the new tests.
173 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
175 * config/tc-mips.c (md_apply_fix)
176 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
179 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
181 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
182 operator to operatorT.
183 (map_suffix_reloc_to_operator): Change return type to operatorT.
185 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
187 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
189 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
191 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
192 handler_charp to const char *.
194 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
196 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
197 (ft32_target_format): Likewise.
198 (TARGET_FORMAT): Adjust.
200 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
202 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
203 (ia64_frob_label): Likewise.
205 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
207 * config/tc-cr16.c (check_range): Make type of retval op_err.
208 * config/tc-crx.c: Likewise.
210 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
212 * config/tc-arc.c (md_begin): Add XY registers.
213 (cpu_types): Code density is default off for ARC EM.
215 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
217 * config/tc-arc.c (attributes_t): Renamed attribute class to
219 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
221 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
223 * configuse.tgt: Add entry for arm-phoenix.
225 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
227 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
229 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
231 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
233 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
235 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
236 (md_begin): Likewise.
237 (encode_condition): Likewise.
238 (encode_cc3): Likewise.
239 (encode_cc2): Likewise.
240 (encode_operand): Likewise.
241 (tic54x_undefined_symbol): Likewise.
243 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
245 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
247 * doc/c-mips.texi: Document p6600 -march option.
249 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
252 * config/tc-i386.c (md_apply_fix): Preserve addend for
253 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
254 * testsuite/gas/i386/addend.d: New file.
255 * testsuite/gas/i386/addend.s: Likewise.
256 * testsuite/gas/i386/x86-64-addend.d: Likewise.
257 * testsuite/gas/i386/x86-64-addend.s: Likewise.
258 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
259 * testsuite/gas/i386/reloc32.d: Updated.
261 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
263 * config/tc-mips.c (append_insn): Correct the encoding of a
264 constant argument for microMIPS JALX.
265 (tc_gen_reloc): Correct the encoding of an in-place addend for
267 * testsuite/gas/mips/jalx-addend.d: New test.
268 * testsuite/gas/mips/jalx-addend-n32.d: New test.
269 * testsuite/gas/mips/jalx-addend-n64.d: New test.
270 * testsuite/gas/mips/jalx-imm.d: New test.
271 * testsuite/gas/mips/jalx-imm-n32.d: New test.
272 * testsuite/gas/mips/jalx-imm-n64.d: New test.
273 * testsuite/gas/mips/jalx-addend.s: New test source.
274 * testsuite/gas/mips/jalx-imm.s: New test source.
275 * testsuite/gas/mips/mips.exp: Run the new tests.
277 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
279 * config/tc-mips.c: Correct tab-after-space formatting mistakes
282 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
284 * config/tc-arc.c (find_opcode_match): Remove casting away of
286 * config/tc-arc.h (struct arc_flags): Make flgp field const.
288 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
290 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
292 (md_convert_frag): Likewise.
294 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
296 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
297 cached opcode to NULL when we reach a non-matching opcode.
298 * testsuite/gas/arc/asm-errors-2.d: New file.
299 * testsuite/gas/arc/asm-errors-2.err: New file.
300 * testsuite/gas/arc/asm-errors-2.s: New file.
302 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
304 * config/tc-arc.c (tokenize_arguments): Add checks for array
306 * testsuite/gas/arc/asm-errors.s: Addition test line added.
307 * testsuite/gas/arc/asm-errors.err: Update expected results.
309 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
311 * config/tc-rx.c (struct cpu_type): Change the type of a field from
312 int to enum rx_cpu_types.
314 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
316 * config/tc-dlx.c (struct machine_it): change the type of a field from
317 int to bfd_reloc_code_real_type.
318 * config/tc-tic4x.c: Likewise.
320 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
322 * config/tc-v850.c (v850_target_arch): change type to enum
324 * config/tc-v850.h (v850_target_arch): Likewise.
326 2016-05-18 Alan Modra <amodra@gmail.com>
328 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
329 allowed negative range.
330 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
331 * testsuite/gas/ppc/power9.d: Update.
333 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
335 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
336 disassembling and stop skipping targets.
337 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
338 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
339 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
340 instruction for targets that have stronger alignment requirement.
341 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
342 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
343 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
344 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
345 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
346 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
347 * testsuite/gas/arm/archv8m-main.d: Likewise.
348 * testsuite/gas/arm/archv8m.s: Add label.
349 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
350 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
351 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
353 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
355 * config/tc-m32r.c (mach_table): Make static and const.
357 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
359 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
362 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
364 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
366 * config/tc-msp430.c (md_begin): Likewise.
368 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
370 * config/tc-m68hc11.c (fixup8): Change variables type from int to
371 bfd_reloc_code_real_type where appropriate.
373 (fixup8_xg): Likewise.
375 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
377 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
379 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
381 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
382 * testsuite/gas/ppc/power9.s: Likewise.
384 2016-05-13 Alan Modra <amodra@gmail.com>
386 * config/obj-coff.c (weak_uniquify): Delete unused var.
388 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
390 * app.c (app_push): Use XNEW and related macros.
391 * as.c (parse_args): Likewise.
392 * cgen.c (make_right_shifted_expr): Likewise.
393 (gas_cgen_tc_gen_reloc): Likewise.
394 * config/bfin-defs.h: Likewise.
395 * config/bfin-parse.y: Likewise.
396 * config/obj-coff.c (stack_init): Likewise.
397 (stack_push): Likewise.
398 (coff_obj_symbol_new_hook): Likewise.
399 (coff_obj_symbol_clone_hook): Likewise.
400 (add_lineno): Likewise.
401 (coff_frob_symbol): Likewise.
402 * config/obj-elf.c (obj_elf_section_name): Likewise.
403 (build_group_lists): Likewise.
404 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
405 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
406 * config/tc-aarch64.c (insert_reg_alias): Likewise.
407 (find_or_make_literal_pool): Likewise.
408 (add_to_lit_pool): Likewise.
409 (fill_instruction_hash_table): Likewise.
410 * config/tc-alpha.c (load_expression): Likewise.
411 (emit_jsrjmp): Likewise.
412 (s_alpha_ent): Likewise.
413 (s_alpha_end): Likewise.
414 (s_alpha_linkage): Likewise.
415 (md_begin): Likewise.
416 (tc_gen_reloc): Likewise.
417 * config/tc-arc.c (arc_insert_opcode): Likewise.
418 (arc_extcorereg): Likewise.
419 * config/tc-bfin.c: Likewise.
420 * config/tc-cr16.c: Likewise.
421 * config/tc-cris.c: Likewise.
422 * config/tc-crx.c (preprocess_reglist): Likewise.
423 * config/tc-d10v.c: Likewise.
424 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
425 (frv_tomcat_shuffle): Likewise.
426 * config/tc-h8300.c: Likewise.
427 * config/tc-i370.c (i370_macro): Likewise.
428 * config/tc-i386.c (lex_got): Likewise.
429 (md_parse_option): Likewise.
430 * config/tc-ia64.c (alloc_record): Likewise.
431 (set_imask): Likewise.
432 (save_prologue_count): Likewise.
433 (dot_proc): Likewise.
434 (dot_endp): Likewise.
435 (ia64_frob_label): Likewise.
436 (add_qp_imply): Likewise.
437 (add_qp_mutex): Likewise.
438 (mark_resource): Likewise.
439 (dot_alias): Likewise.
440 * config/tc-m68hc11.c: Likewise.
441 * config/tc-m68k.c (m68k_frob_label): Likewise.
443 (mri_control_label): Likewise.
444 (push_mri_control): Likewise.
445 (build_mri_control_operand): Likewise.
446 (s_mri_else): Likewise.
447 (s_mri_break): Likewise.
448 (s_mri_next): Likewise.
449 (s_mri_for): Likewise.
450 (s_mri_endw): Likewise.
451 * config/tc-metag.c (create_mnemonic_htab): Likewise.
452 * config/tc-microblaze.c: Likewise.
453 * config/tc-mmix.c (s_loc): Likewise.
454 * config/tc-nds32.c (nds32_relax_hint): Likewise.
455 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
456 * config/tc-rl78.c: Likewise.
457 * config/tc-rx.c (rx_include): Likewise.
458 * config/tc-sh.c: Likewise.
459 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
460 * config/tc-sparc.c: Likewise.
461 * config/tc-spu.c: Likewise.
462 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
463 (tic6x_start_unwind_section): Likewise.
464 * config/tc-tilegx.c: Likewise.
465 * config/tc-tilepro.c: Likewise.
466 * config/tc-v850.c: Likewise.
467 * config/tc-visium.c: Likewise.
468 * config/tc-xgate.c: Likewise.
469 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
470 (new_resource_table): Likewise.
471 (resize_resource_table): Likewise.
472 (xtensa_create_trampoline_frag): Likewise.
473 (xtensa_maybe_create_literal_pool_frag): Likewise.
474 (cache_literal_section): Likewise.
475 * config/xtensa-relax.c (append_transition): Likewise.
476 (append_condition): Likewise.
477 (append_value_condition): Likewise.
478 (append_constant_value_condition): Likewise.
479 (append_literal_op): Likewise.
480 (append_label_op): Likewise.
481 (append_constant_op): Likewise.
482 (append_field_op): Likewise.
483 (append_user_fn_field_op): Likewise.
484 (enter_opname_n): Likewise.
485 (enter_opname): Likewise.
486 (split_string): Likewise.
487 (parse_insn_templ): Likewise.
488 (clone_req_or_option_list): Likewise.
489 (clone_req_option_list): Likewise.
490 (parse_option_cond): Likewise.
491 (parse_insn_pattern): Likewise.
492 (parse_insn_repl): Likewise.
493 (build_transition): Likewise.
494 (build_transition_table): Likewise.
495 * dw2gencfi.c (alloc_fde_entry): Likewise.
496 (alloc_cfi_insn_data): Likewise.
497 (cfi_add_CFA_remember_state): Likewise.
498 (dot_cfi_escape): Likewise.
499 (dot_cfi_fde_data): Likewise.
500 (select_cie_for_fde): Likewise.
501 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
502 * ecoff.c (ecoff_add_bytes): Likewise.
503 (ecoff_build_debug): Likewise.
504 * input-scrub.c (input_scrub_push): Likewise.
505 (input_scrub_begin): Likewise.
506 (input_scrub_next_buffer): Likewise.
507 * itbl-ops.c (append_insns_as_macros): Likewise.
508 (alloc_entry): Likewise.
509 (alloc_field): Likewise.
510 * listing.c (listing_newline): Likewise.
511 (listing_listing): Likewise.
512 * macro.c (get_any_string): Likewise.
513 (delete_macro): Likewise.
514 * stabs.c (generate_asm_file): Likewise.
515 (stabs_generate_asm_lineno): Likewise.
516 * subsegs.c (subseg_change): Likewise.
517 (subseg_get): Likewise.
518 * symbols.c (define_dollar_label): Likewise.
519 (symbol_relc_make_sym): Likewise.
520 * write.c (write_relocs): Likewise.
522 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
524 * config/obj-coff.c (obj_coff_def): Simplify string copying.
525 (weak_name2altname): Likewise.
526 (weak_uniquify): Likewise.
527 (obj_coff_section): Likewise.
528 (obj_coff_init_stab_section): Likewise.
529 * config/obj-elf.c (obj_elf_section_name): Likewise.
530 (obj_elf_init_stab_section): Likewise.
531 * config/obj-evax.c (evax_shorten_name): Likewise.
532 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
533 * config/tc-aarch64.c (create_register_alias): Likewise.
534 * config/tc-alpha.c (load_expression): Likewise.
535 (s_alpha_file): Likewise.
536 (s_alpha_section_name): Likewise.
537 (tc_gen_reloc): Likewise.
538 * config/tc-arc.c (md_assemble): Likewise.
539 * config/tc-arm.c (create_neon_reg_alias): Likewise.
540 (start_unwind_section): Likewise.
541 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
542 (hppa_elf_mark_end_of_function): Likewise.
543 * config/tc-nios2.c (nios2_modify_arg): Likewise.
544 (nios2_negate_arg): Likewise.
545 * config/tc-rx.c (rx_section): Likewise.
546 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
547 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
548 * config/tc-tic54x.c (tic54x_include): Likewise.
549 (tic54x_macro_info): Likewise.
550 (subsym_get_arg): Likewise.
551 (subsym_substitute): Likewise.
552 (tic54x_start_line_hook): Likewise.
553 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
554 (xg_reverse_shift_count): Likewise.
555 * config/xtensa-relax.c (enter_opname_n): Likewise.
556 (split_string): Likewise.
557 * dwarf2dbg.c (get_filenum): Likewise.
558 (process_entries): Likewise.
559 * expr.c (operand): Likewise.
560 * itbl-ops.c (alloc_entry): Likewise.
561 * listing.c (listing_message): Likewise.
562 (listing_title): Likewise.
563 * macro.c (check_macro): Likewise.
564 * stabs.c (s_xstab): Likewise.
565 * symbols.c (symbol_relc_make_expr): Likewise.
566 * write.c (compress_debug): Likewise.
568 2016-05-12 Nick Clifton <nickc@redhat.com>
571 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
573 2016-05-11 Nick Clifton <nickc@redhat.com>
576 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
577 big endian ARM configurations.
579 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
580 Matthew Fortune <matthew.fortune@imgtec.com>
582 * config/tc-mips.c (options): Add OPTION_DSPR3 and
584 (md_longopts): Likewise.
585 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
586 (mips_ases): Define availability for DSPr3.
587 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
588 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
589 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
591 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
592 .set nodspr3. Fix -mdspr2 formatting.
593 * testsuite/gas/mips/mips32-dspr3.d: New file.
594 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
595 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
597 2016-05-11 Nick Clifton <nickc@redhat.com>
600 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
601 to the pool uses O_constant.
602 * testsuite/gas/arm/pr20068.s: New test.
603 * testsuite/gas/arm/pr20068.d: Test driver.
605 2016-05-11 Nick Clifton <nickc@redhat.com>
607 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
608 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
609 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
610 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
611 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
612 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
613 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
614 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
615 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
617 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
619 * testsuite/gas/i386/i386.exp: Run RDPID tests.
620 * testsuite/gas/i386/prefix.d: Adjust.
621 * testsuite/gas/i386/rdpid.s: New test.
622 * testsuite/gas/i386/rdpid.d: Ditto.
623 * testsuite/gas/i386/rdpid-intel.d: Ditto.
624 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
625 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
626 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
628 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
630 * config/tc-i386.c (cpu_arch): Add RDPID.
631 * doc/c-i386.texi: Document RDPID.
633 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
635 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
636 set branch type of a symbol.
638 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
640 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
641 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
643 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
644 (aeabi_set_public_attributes): Memorize the feature bits of the
645 architecture selected for Tag_CPU_arch. Use it to set
646 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
647 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
648 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
649 * testsuite/gas/arm/arch7em-bad-1.d: This.
650 * testsuite/gas/arm/arch7em-bad-2.d: New file.
651 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
652 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
653 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
654 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
655 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
656 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
657 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
659 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
661 * config/tc-arm.c (struct arm_option_extension_value_table): Make
662 allowed_archs an array with 2 entries.
663 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
664 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
665 (arm_extensions): Use separate entries in allowed_archs when several
666 archs are allowed to use an extension and change ARCH_ANY in
667 ARM_ARCH_NONE in allowed_archs.
668 (arm_parse_extension): Check that, for each allowed_archs entry, all
669 bits are set in the current architecture, ignoring ARM_ANY entries.
670 (s_arm_arch_extension): Likewise.
672 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
674 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
675 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
676 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
677 shared with a non M profile architecture.
678 (do_rn): New function.
679 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
681 (v7m_psrs): Add ARMv8-M security extensions new special registers.
682 (insns): Add ARMv8-M Security Extensions instructions.
683 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
684 arm_ext_v8m_m to decide the profile and the Thumb ISA.
685 * testsuite/gas/arm/archv8m-cmse.s: New file.
686 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
687 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
688 * testsuite/gas/arm/any-cmse.d: Likewise.
689 * testsuite/gas/arm/any-cmse-main.d: Likewise.
690 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
691 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
692 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
693 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
694 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
696 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
698 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
699 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
701 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
703 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
704 (fpu_arch_vfp_v3): Likewise.
705 (fpu_arch_neon_v1): Likewise.
706 (arm_arch_full): Likewise.
707 (parse_neon_el_struct_list): Initialize fields of firsttype.
709 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
711 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
712 (arc_extinsn): Handle new introduced syntax.
713 * testsuite/gas/arc/textinsn1op.d: New file.
714 * testsuite/gas/arc/textinsn1op.s: Likewise.
715 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
717 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
719 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
720 DW_LNS_fixed_advance_pc.
722 2016-04-27 Alan Modra <amodra@gmail.com>
724 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
725 (xmemdup0): New inline function.
727 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
729 * config/tc-mips.c (code_option_type): New enum.
730 (parse_code_option): Return status indicating option type.
731 (s_mipsset): Update `parse_code_option' call site accordingly.
732 Always set register sizes from the ISA with ISA overrides.
733 (s_module): Update `parse_code_option' call site.
734 * testsuite/gas/mips/isa-override-1.d: New test.
735 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
736 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
737 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
738 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
739 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
740 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
741 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
742 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
743 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
744 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
745 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
746 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
747 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
748 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
749 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
750 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
751 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
752 * testsuite/gas/mips/isa-override-2.l: New list test.
753 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
754 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
755 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
756 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
757 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
758 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
759 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
760 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
761 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
762 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
763 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
765 * testsuite/gas/mips/isa-override-1.s: New test source.
766 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
767 * testsuite/gas/mips/isa-override-2.s: New test source.
768 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
769 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
770 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
771 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
772 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
773 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
774 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
775 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
776 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
777 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
778 * testsuite/gas/mips/mips.exp: Run the new tests.
780 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
783 * config/tc-bfin.c: Likewise.
784 * config/tc-ia64.c: Likewise.
785 * config/tc-mep.c: Likewise.
786 * config/tc-metag.c: Likewise.
787 * config/tc-nios2.c: Likewise.
788 * config/tc-rl78.c: Likewise.
790 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
792 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
793 -mcpu. Add cross reference to .cpu directive from -mcpu option.
794 (ARC Directives): Add NPS400 to .cpu directive list.
796 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
798 * config/tc-aarch64.c (aarch64_features): Add "ras".
799 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
800 * testsuite/gas/aarch64/armv8-ras-1.d: New.
801 * testsuite/gas/aarch64/armv8-ras-1.s: New.
802 * testsuite/gas/aarch64/illegal-ras-1.d: New.
803 * testsuite/gas/aarch64/illegal-ras-1.s: New.
805 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
807 * testsuite/gas/arc/nps400-6.d: New file.
808 * testsuite/gas/arc/nps400-6.s: New file.
810 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
812 * testsuite/gas/arc/nps400-4.d: New file.
813 * testsuite/gas/arc/nps400-4.s: New file.
814 * testsuite/gas/arc/nps400-5.d: New file.
815 * testsuite/gas/arc/nps400-5.s: New file.
817 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
819 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
822 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
824 Revert prevous change.
825 * config/tc-arc.c (arc_option): Make .cpu directive
826 case-sensitive again.
828 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
830 * config/tc-arc.c (arc_option): Make .cpu directive
833 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
835 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
837 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
839 * config/tc-mips.c (md_begin): Remove useless assignment.
841 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
843 * Makefile.in: Regenerated with automake 1.11.6.
844 * aclocal.m4: Likewise.
845 * doc/Makefile.in: Likewise.
847 2016-04-15 Alan Modra <amodra@gmail.com>
849 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
851 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
853 * config/tc-nios2.c (nios2_as_options): Make file static.
854 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
855 * config/tc-sparc.c (native_op_table): Likewise.
857 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
859 * config/tc-m32c.c (M32C_Macros): Remove.
860 * config/tc-msp430.c (option_numbers): Likewise.
862 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
864 * testsuite/gas/arc/nps400-3.d: New file.
865 * testsuite/gas/arc/nps400-3.s: New file.
867 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
869 * testsuite/gas/arc/add_s-err.s: Update target pattern.
870 * testsuite/gas/arc/warn.s: Likewise.
871 * testsuite/gas/elf/elf.exp: Run test for arc.
873 2016-04-14 Nick Clifton <nickc@redhat.com>
876 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
877 sections possibly having the SHF_STRINGS flag bit set.
878 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
880 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
882 * config/tc-arc.c (mach_type_specified_p): Change type to
884 (arc_option): Set private flags when parsing cpu pseudo-op.
885 (md_parse_option): Set mach_type_specified_p to TRUE.
887 2016-04-13 Nick Clifton <nickc@redhat.com>
890 * testsuite/gas/v850/pr19937.s: New test.
891 * testsuite/gas/v850/pr19937.d: New test control file.
892 * testsuite/gas/v850/basic.exp: Run the new test.
894 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
895 Andrew Bennett <andrew.bennett@imgtec.com>
897 * config/tc-mips.c (relaxed_branch_length): Use the long
898 sequence where the target is a weak symbol.
899 (relaxed_micromips_32bit_branch_length): Likewise.
900 (relaxed_micromips_16bit_branch_length): Likewise.
901 * testsuite/gas/mips/branch-weak-1.d: New test.
902 * testsuite/gas/mips/branch-weak-2.d: New test.
903 * testsuite/gas/mips/branch-weak-3.d: New test.
904 * testsuite/gas/mips/branch-weak-4.d: New test.
905 * testsuite/gas/mips/branch-weak-5.d: New test.
906 * testsuite/gas/mips/branch-weak.l: New stderr output.
907 * testsuite/gas/mips/branch-weak.s: New test source.
908 * testsuite/gas/mips/mips.exp: Run the new tests.
910 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
912 * config/tc-mips.c (relaxed_branch_length): Use the long
913 sequence where the distance cannot be determined.
914 (relaxed_micromips_32bit_branch_length): Likewise.
915 * testsuite/gas/mips/branch-extern-1.d: New test.
916 * testsuite/gas/mips/branch-extern-2.d: New test.
917 * testsuite/gas/mips/branch-extern-3.d: New test.
918 * testsuite/gas/mips/branch-extern-4.d: New test.
919 * testsuite/gas/mips/branch-extern.l: New stderr output.
920 * testsuite/gas/mips/branch-extern.s: New test source.
921 * testsuite/gas/mips/branch-section-1.d: New test.
922 * testsuite/gas/mips/branch-section-2.d: New test.
923 * testsuite/gas/mips/branch-section-3.d: New test.
924 * testsuite/gas/mips/branch-section-4.d: New test.
925 * testsuite/gas/mips/branch-section.l: New stderr output.
926 * testsuite/gas/mips/branch-section.s: New test source.
927 * testsuite/gas/mips/mips.exp: Run the new tests.
929 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
931 * testsuite/gas/arc/textauxregister.d: New file.
932 * testsuite/gas/arc/textauxregister.s: Likewise.
933 * testsuite/gas/arc/textcondcode.d: Likewise.
934 * testsuite/gas/arc/textcondcode.s: Likewise.
935 * testsuite/gas/arc/textcoreregister.d: Likewise.
936 * testsuite/gas/arc/textcoreregister.s: Likewise.
937 * testsuite/gas/arc/textpseudoop.d: Likewise.
938 * testsuite/gas/arc/textpseudoop.s: Likewise.
939 * testsuite/gas/arc/ld2.d: Update test.
940 * testsuite/gas/arc/st.d: Likewise.
941 * testsuite/gas/arc/taux.d: Likewise.
942 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
943 .extCoreRegister and .extAuxRegister documentation.
944 * config/tc-arc.c (arc_extcorereg): New function.
945 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
946 .extAuxRegister pseudo-ops.
947 (extRegister_t): New type.
948 (ext_condcode, arc_aux_hash): New global variable.
949 (find_opcode_match): Check for extensions.
950 (preprocess_operands): Likewise.
951 (md_begin): Add aux registers in a hash.
952 (assemble_insn): Update use arc_flags member.
953 (tokenize_extregister): New function.
954 (create_extcore_section): Likewise.
955 * config/tc-arc.h (arc_flags): Delete code, add flgp.
957 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
959 * testsuite/gas/arc/noargs_a7.d: New file.
960 * testsuite/gas/arc/noargs_a7.s: Likewise.
961 * testsuite/gas/arc/noargs_hs.d: Likewise.
962 * testsuite/gas/arc/noargs_hs.s: Likewise.
964 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
966 * testsuite/gas/arc/textinsn-errors.d: New File.
967 * testsuite/gas/arc/textinsn-errors.err: Likewise.
968 * testsuite/gas/arc/textinsn-errors.s: Likewise.
969 * testsuite/gas/arc/textinsn2op.d: Likewise.
970 * testsuite/gas/arc/textinsn2op.s: Likewise.
971 * testsuite/gas/arc/textinsn2op01.d: Likewise.
972 * testsuite/gas/arc/textinsn2op01.s: Likewise.
973 * testsuite/gas/arc/textinsn3op.d: Likewise.
974 * testsuite/gas/arc/textinsn3op.s: Likewise.
975 * doc/c-arc.texi (ARC Directives): Add .extInstruction
977 * config/tc-arc.c (arcext_section): New variable.
978 (arc_extinsn): New function.
979 (md_pseudo_table): Add .extInstruction pseudo op.
980 (attributes_t): New type.
981 (suffixclass, syntaxclass, syntaxclassmod): New constant
983 (find_opcode_match): Remove arc_num_opcodes.
984 (md_begin): Likewise.
985 (tokenize_extinsn): New function.
986 (arc_set_ext_seg): Likewise.
987 (create_extinst_section): Likewise.
989 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
991 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
992 (arc_adjust_symtab): New function.
993 * config/tc-arc.h (ARC_FLAG_AUX): Define.
994 (obj_adjust_symtab): Likewise.
995 * testsuite/gas/arc/taux.d: New file.
996 * testsuite/gas/arc/taux.s: Likewise.
998 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1000 * config/tc-mips.c (s_option): Sanitize `.option picX'
1002 * testsuite/gas/mips/option-pic-1.d: New test.
1003 * testsuite/gas/mips/option-pic-2.l: New list test.
1004 * testsuite/gas/mips/option-pic-1.s: New test source.
1005 * testsuite/gas/mips/option-pic-2.s: New test source.
1006 * testsuite/gas/mips/mips.exp: Run the new tests.
1008 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1010 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
1012 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
1013 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
1014 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
1015 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
1016 * testsuite/gas/mips/mips.exp: Run the new tests.
1018 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1020 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
1022 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1024 * messages.c (as_bad): Fix a typo in description.
1026 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1028 * config/tc-mips.c (mips_check_options): Unify messages.
1030 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1032 * config/tc-mips.c (mips_check_options): Use `opts->isa'
1035 2016-04-08 Nick Clifton <nickc@redhat.com>
1038 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
1039 COFF and AOUT sparc targets.
1041 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1043 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
1044 * testsuite/gas/arc/nps400-2.d: New file.
1045 * testsuite/gas/arc/nps400-2.s: New file.
1047 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1049 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
1051 (arc_opcode_hash_entry_iterator_init): New function.
1052 (arc_opcode_hash_entry_iterator_next): New function.
1053 (find_opcode_match): Iterate over all arc_opcode entries
1054 referenced by the arc_opcode_hash_entry passed in as a parameter.
1056 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1058 * config/tc-arc.c (arc_find_opcode): Now returns
1059 arc_opcode_hash_entry pointer.
1060 (find_opcode_match): Update argument type, extract arc_opcode from
1061 incoming arc_opcode_hash_entry.
1062 (find_special_case_pseudo): Update return type.
1063 (find_special_case_flag): Update return type.
1064 (find_special_case): Update return type.
1065 (assemble_tokens): Lookup arc_opcode_hash_entry based on
1066 instruction mnemonic, then use find_opcode_match to identify
1067 specific arc_opcode.
1069 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1071 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
1072 (arc_find_opcode): New function.
1073 (find_special_case_pseudo): Use arc_find_opcode.
1074 (find_special_case_flag): Likewise.
1075 (assemble_tokens): Likewise.
1076 (md_begin): Build hash using struct arc_opcode_hash_entry.
1078 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
1080 * config/tc-arc.c (arc_option): Prepare string for automatic
1082 (declare_register): Likewise.
1084 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
1086 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1087 Correct entry for RDMA. Alpha sort entries.
1089 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1091 * config/tc-arc.c (tokenize_flags): Allow greater range of
1092 characters into flag names.
1094 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1096 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1098 (preprocess_operands): Delete.
1099 (assemble_tokens): Remove call to preprocess_operands.
1101 2016-04-07 Nick Clifton <nickc@redhat.com>
1104 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1105 inside a %-macro could not be fully parsed.
1106 * expr.c (integer_constant): Accept and ignore U suffixes to
1108 (operand): When a missing closing parenthesis is encountered,
1109 report the character that was found instead.
1110 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1111 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1112 * testsuite/gas/sparc/pr19910-1.s: New test.
1113 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1114 * testsuite/gas/sparc/pr19910-2.s: New test.
1115 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1117 2016-04-06 Nick Clifton <nickc@redhat.com>
1119 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1120 an EINT instruction. Warn/fix as necessary.
1121 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1122 * testsuite/gas/msp430/bad.l: Update expected messages.
1124 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1126 * testsuite/gas/arc/nps400-1.d: Update expected results.
1127 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1129 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1131 * config/tc-arc.c (is_code_density_p): Compare directly the
1133 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1134 (check_cpu_feature): New function.
1135 (find_opcode_match): Use check_cpu_feature function.
1136 (preprocess_operands): Likewise.
1137 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1138 * testsuite/gas/arc/tdpfp.d: New file.
1139 * testsuite/gas/arc/tfpuda.d: Likewise.
1140 * testsuite/gas/arc/tfpx.s: Likewise.
1142 2016-04-05 Jiong Wang <jiong.wang@arm.com>
1144 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1145 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1146 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1147 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1148 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1149 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1150 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
1151 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1153 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1155 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1157 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
1158 JUMP instructions type.
1159 * testsuite/gas/arc/relocs-errors.d: New file.
1160 * testsuite/gas/arc/relocs-errors.err: Likewise.
1161 * testsuite/gas/arc/relocs-errors.s: Likewise.
1163 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1166 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1167 only if i.disp_encoding != disp_encoding_32bit.
1168 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1169 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1170 * gas/testsuite/gas/i386/disp32.d: Updated.
1171 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1173 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1176 * testsuite/gas/i386/i386.exp: Run pr19498.
1177 * testsuite/gas/i386/pr19498.d: New file.
1178 * testsuite/gas/i386/pr19498.s: Likewise.
1180 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1182 * config/tc-arc.h: Include 'opcode/arc.h'.
1183 (MAX_INSN_ARGS): Delete.
1184 (MAX_INSN_FLGS): Delete.
1186 2016-04-04 Alan Modra <amodra@gmail.com>
1189 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1190 from function on all paths that set sy_resolving.
1192 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1194 * app.c (app_push): use XNEW macro.
1196 * config/obj-elf.c (obj_elf_change_section): Likewise.
1197 (elf_copy_symbol_attributes): Likewise.
1198 (obj_elf_size): Likewise.
1199 (build_group_lists): Likewise.
1200 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1201 (md_assemble): Likewise.
1202 (tc_gen_reloc): Likewise.
1203 (get_upper_str): Likewise.
1204 (aarch64_parse_features): Likewise.
1205 * config/tc-arm.c (insert_reg_alias): Likewise.
1206 (insert_neon_reg_alias): Likewise.
1207 (find_or_make_literal_pool): Likewise.
1208 (s_arm_elf_cons): Likewise.
1209 (add_unwind_opcode): Likewise.
1210 (arm_parse_extension): Likewise.
1211 * config/tc-avr.c (create_record_for_frag): Likewise.
1212 * config/tc-crx.c: Likewise.
1213 * config/tc-d30v.c: Likewise.
1214 * config/tc-dlx.c (s_proc): Likewise.
1215 * config/tc-ft32.c: Likewise.
1216 * config/tc-h8300.c: Likewise.
1217 * config/tc-hppa.c (pa_proc): Likewise.
1218 (create_new_space): Likewise.
1219 (create_new_subspace): Likewise.
1220 * config/tc-i860.c: Likewise.
1221 * config/tc-i960.c: Likewise.
1222 * config/tc-ia64.c: Likewise.
1223 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1224 (iq2000_record_hi16): Likewise.
1225 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1226 * config/tc-m32r.c (debug_sym): Likewise.
1227 (m32r_record_hi16): Likewise.
1228 * config/tc-m68k.c (m68k_ip): Likewise.
1229 (md_begin): Likewise.
1230 * config/tc-mcore.c: Likewise.
1231 * config/tc-microblaze.c (check_got): Likewise.
1232 * config/tc-mips.c (append_insn): Likewise.
1233 (s_mipsset): Likewise.
1234 (mips_record_label): Likewise.
1235 (s_mips_end): Likewise.
1236 * config/tc-mmix.c (mmix_frob_file): Likewise.
1237 * config/tc-mn10200.c: Likewise.
1238 * config/tc-mn10300.c: Likewise.
1239 * config/tc-moxie.c: Likewise.
1240 * config/tc-msp430.c: Likewise.
1241 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1242 * config/tc-ns32k.c: Likewise.
1243 * config/tc-or1k.c: Likewise.
1244 * config/tc-pdp11.c: Likewise.
1245 * config/tc-pj.c (fake_opcode): Likewise.
1246 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1247 (ppc_macro): Likewise.
1248 (ppc_dwsect): Likewise.
1249 (ppc_machine): Likewise.
1250 * config/tc-rl78.c (rl78_frag_init): Likewise.
1251 * config/tc-rx.c (rx_frag_init): Likewise.
1252 * config/tc-s390.c (s390_lit_suffix): Likewise.
1253 (s390_machine): Likewise.
1254 (s390_machinemode): Likewise.
1255 * config/tc-score.c (s3_insert_reg): Likewise.
1256 (s3_gen_reloc): Likewise.
1257 * config/tc-score7.c (s7_insert_reg): Likewise.
1258 (s7_gen_reloc): Likewise.
1259 * config/tc-tic30.c (tic30_operand): Likewise.
1260 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1261 * config/tc-tic54x.c (stag_add_field): Likewise.
1262 (tic54x_struct): Likewise.
1263 (tic54x_space): Likewise.
1264 (tic54x_field): Likewise.
1265 (tic54x_mlib): Likewise.
1266 (subsym_substitute): Likewise.
1267 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1268 * config/tc-vax.c: Likewise.
1269 * config/tc-xc16x.c: Likewise.
1270 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1271 (directive_push): Likewise.
1272 (xtensa_begin_directive): Likewise.
1273 (tokenize_arguments): Likewise.
1274 (xtensa_add_literal_sym): Likewise.
1275 (new_resource_table): Likewise.
1276 (resize_resource_table): Likewise.
1277 (emit_single_op): Likewise.
1278 (xtensa_create_trampoline_frag): Likewise.
1279 (xtensa_maybe_create_literal_pool_frag): Likewise.
1280 (xtensa_add_config_info): Likewise.
1281 (xtensa_realloc_fixup_cache): Likewise.
1282 (add_subseg_info): Likewise.
1283 (cache_literal_section): Likewise.
1284 (add_xt_block_frags): Likewise.
1285 (add_xt_prop_frags): Likewise.
1286 (init_op_placement_info_table): Likewise.
1287 (build_section_rename): Likewise.
1288 * config/tc-z80.c: Likewise.
1289 * config/tc-z8k.c: Likewise.
1290 * depend.c (register_dependency): Likewise.
1291 * dwarf2dbg.c (get_line_subseg): Likewise.
1292 (dwarf2_gen_line_info_1): Likewise.
1293 (get_filenum): Likewise.
1294 * ecoff.c (allocate_scope): Likewise.
1295 (allocate_vlinks): Likewise.
1296 (allocate_shash): Likewise.
1297 (allocate_thash): Likewise.
1298 (allocate_tag): Likewise.
1299 (allocate_forward): Likewise.
1300 (allocate_thead): Likewise.
1301 (allocate_lineno_list): Likewise.
1302 * expr.c (make_expr_symbol): Likewise.
1303 * hash.c (hash_new_sized): Likewise.
1304 * input-file.c (input_file_push): Likewise.
1305 * listing.c (file_info): Likewise.
1306 (listing_newline): Likewise.
1307 * macro.c (new_formal): Likewise.
1308 (define_macro): Likewise.
1309 * remap.c (add_debug_prefix_map): Likewise.
1310 * symbols.c (symbol_find_noref): Likewise.
1311 (define_dollar_label): Likewise.
1312 (fb_label_instance_inc): Likewise.
1313 (symbol_relc_make_value): Likewise.
1315 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1317 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1318 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1319 (ppc_znop): Likewise.
1320 (ppc_pe_section): Likewise.
1321 (ppc_frob_symbol): Likewise.
1322 * config/tc-tic30.c (tic30_operand): Likewise.
1323 * config/tc-tic4x.c (tic4x_sect): Likewise.
1324 (tic4x_usect): Likewise.
1326 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1328 * config/tc-alpha.c: Const qualify FLT_CHARS.
1329 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1330 * config/tc-cris.h: Likewise.
1332 * config/tc-mmix.c (md_atof): Adjust comment.
1333 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1334 * tc.h: Declare FLT_CHARS and EXP_CHARS.
1336 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1338 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1339 * config/tc-score7.c (s7_gen_reloc): Likewise.
1341 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1343 * config/tc-arm.c (do_t_branch): Change the type of reloc to
1344 bfd_reloc_code_real_type.
1346 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1348 * config/bfin-parse.y (current_inputline): Remove definition.
1349 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1351 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1353 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1356 2016-04-02 Alan Modra <amodra@gmail.com>
1359 * read.c (assign_symbol): Consume rest of line after an error
1360 rather than continuing to process the line.
1362 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1364 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1365 (MAX_FLAG_NAME_LENGTH): ...this.
1366 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1367 * config/tc-arc.c (tokenize_flags): Likewise.
1369 2016-04-01 Alan Modra <amodra@gmail.com>
1371 * cgen.c (weak_operand_overflow_check): Return const char*.
1372 * messages.c (as_internal_value_out_of_range): Formatting.
1373 (as_warn_value_out_of_range): Consify prefix param.
1374 (as_bad_value_out_of_range): Likewise.
1375 * read.c (s_errwarn): Constify msg..
1376 (s_float_space, float_cons): ..and err.
1377 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
1378 ieee_md_atof, vax_md_atof): Update prototypes.
1379 * tc.h (md_atof): Update prototype.
1380 * config/atof-ieee.c (ieee_md_atof): Return const char*.
1381 * config/atof-vax.c (vax_md_atof): Likewise.
1382 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
1383 * config/tc-aarch64.c (md_atof): Return const char*.
1384 * config/tc-alpha.c (s_alpha_section_name): Likewise.
1385 (s_alpha_comm): Constify sec_name.
1386 (section_name): Constify.
1387 (s_alpha_section): Consify name..
1388 (alpha_elf_section_letter): ..and ptr_msg param..
1389 (md_atof): ..and return.
1390 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
1391 * config/tc-arc.c (md_atof): Return const char*.
1392 * config/tc-arm.c (md_atof): Likewise.
1393 * config/tc-avr.c (md_atof): Likewise.
1394 * config/tc-bfin.c (md_atof): Likewise.
1395 * config/tc-cr16.c (md_atof): Likewise.
1396 * config/tc-cris.c (md_atof): Likewise.
1397 * config/tc-crx.c (md_atof): Likewise.
1398 * config/tc-d10v.c (md_atof): Likewise.
1399 * config/tc-d30v.c (md_atof): Likewise.
1400 * config/tc-dlx.c (md_atof): Likewise.
1401 * config/tc-epiphany.c (md_atof): Likewise.
1402 * config/tc-fr30.c (md_atof): Likewise.
1403 * config/tc-frv.c (md_atof): Likewise.
1404 * config/tc-ft32.c (md_atof): Likewise.
1405 * config/tc-h8300.c (md_atof): Likewise.
1406 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
1407 (struct default_space_dict): Likewise.
1408 (create_new_space): Constify name param.
1409 (create_new_subspace): Likewise.
1410 (is_defined_space, is_defined_subspace): Likewise.
1411 (pa_parse_space_stmt): Constify space_name param.
1412 (md_atof): Return const char*.
1413 (pa_spaces_begin): Constify name.
1414 * config/tc-i370.c (md_atof): Return const char*.
1415 * config/tc-i386.c (md_atof): Likewise.
1416 (x86_64_section_letter): Constify ptr_msg param.
1417 * config/tc-i386.h (x86_64_section_letter): Update prototype.
1418 * config/tc-i860.c (struct i860_it): Constify error.
1419 (md_atof): Return const char*.
1420 * config/tc-i960.c (md_atof): Likewise.
1421 * config/tc-ia64.c (md_atof): Likewise.
1422 (ia64_elf_section_letter): Constify ptr_msg param.
1423 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
1424 * config/tc-ip2k.c (md_atof): Return const char*.
1425 * config/tc-iq2000.c (md_atof): Likewise.
1426 * config/tc-lm32.c (md_atof): Likewise.
1427 * config/tc-m32c.c (md_atof): Likewise.
1428 * config/tc-m32r.c (md_atof): Likewise.
1429 * config/tc-m68hc11.c (md_atof): Likewise.
1430 * config/tc-m68k.c (md_atof): Likewise.
1431 * config/tc-mcore.c (md_atof): Likewise.
1432 * config/tc-mep.c (md_atof): Likewise.
1433 (mep_elf_section_letter): Constify ptr_msg param.
1434 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
1435 * config/tc-metag.c (md_atof): Return const char*.
1436 * config/tc-microblaze.c (md_atof): Likewise.
1437 * config/tc-microblaze.h (md_atof): Delete prototype.
1438 * config/tc-mips.c (mips_parse_argument_token): Constify err.
1439 (md_atof): Return const char*.
1440 * config/tc-mmix.c (md_atof): Likewise.
1441 * config/tc-mn10200.c (md_atof): Likewise.
1442 * config/tc-mn10300.c (md_atof): Likewise.
1443 * config/tc-moxie.c (md_atof): Likewise.
1444 * config/tc-msp430.c (md_atof): Likewise.
1445 * config/tc-mt.c (md_atof): Likewise.
1446 * config/tc-nds32.c (md_atof): Likewise.
1447 * config/tc-nios2.c (md_atof): Likewise.
1448 (nios2_elf_section_letter): Constify ptr_msg param.
1449 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
1450 * config/tc-ns32k.c (md_atof): Return const char*.
1451 * config/tc-or1k.c (md_atof): Likewise.
1452 * config/tc-pdp11.c (struct pdp11_code): Constify error.
1453 (md_atof): Return const char*.
1454 * config/tc-pj.c (md_atof): Likewise.
1455 * config/tc-ppc.c (md_atof): Likewise.
1456 * config/tc-rl78.c (md_atof): Likewise.
1457 * config/tc-rx.c (md_atof): Likewise.
1458 * config/tc-s390.c (md_atof): Likewise.
1459 * config/tc-score.c (s3_atof, md_atof): Likewise.
1460 * config/tc-sh.c (md_atof): Likewise.
1461 * config/tc-sparc.c (struct sparc_it): Constify error.
1462 (md_atof): Return const char*.
1463 * config/tc-spu.c (md_atof): Likewise.
1464 * config/tc-tic30.c (md_atof): Likewise.
1465 * config/tc-tic4x.c (md_atof): Likewise.
1466 * config/tc-tic54x.c (md_atof): Likewise.
1467 * config/tc-tic6x.c (md_atof): Likewise.
1468 * config/tc-tilegx.c (md_atof): Likewise.
1469 * config/tc-tilepro.c (md_atof): Likewise.
1470 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
1471 * config/tc-vax.c (md_atof): Likewise.
1472 * config/tc-visium.c (md_atof): Likewise.
1473 * config/tc-xc16x.c (md_atof): Likewise.
1474 * config/tc-xgate.c (md_atof): Likewise.
1475 * config/tc-xstormy16.c (md_atof): Likewise.
1476 * config/tc-xtensa.c (md_atof): Likewise.
1477 * config/tc-z80.c (md_atof): Likewise.
1478 * config/tc-z8k.c (md_atof): Likewise.
1480 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1482 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
1484 (xtensa_section_rename): Make argument type const char *.
1485 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
1487 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1489 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
1492 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1494 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
1496 (m32c_indirect_operand): Likewise.
1497 * config/tc-nds32.c (do_pseudo_b): Likewise.
1498 (do_pseudo_bal): Likewise.
1499 (do_pseudo_ls_bhw): Likewise.
1501 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1503 * as.c (parse_args): Cast literal to char * when assigning to optarg.
1505 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1507 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
1509 * config/tc-sparc.c (s_register): Cast a literal to char * in
1512 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1514 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
1516 * config/tc-m32r.c (expand_debug_syms): Likewise.
1517 * config/tc-msp430.c (msp430_dstoperand): Likewise.
1518 * config/tc-z80.c (md_begin): Likewise.
1519 * stabs.c (stabs_generate_asm_func): Likewise.
1521 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1523 * cgen.c: Modernize the way functions declare arguments.
1524 * config/tc-bfin.c: Likewise.
1525 * config/tc-pdp11.c: Likewise.
1526 * literal.c: Likewise.
1528 * stabs.c: Likewise.
1530 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1532 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1533 variables unsigned char[].
1534 * config/tc-alpha.c (alpha_handle_align): Likewise.
1535 * config/tc-arm.c (arm_handle_align): Likewise.
1536 * config/tc-z80.c: Likewise.
1538 2016-03-30 Nick Clifton <nickc@redhat.com>
1541 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1544 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1546 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1547 * testsuite/gas/elf/elf.exp: Likewise.
1548 * testsuite/gas/all/redef3.d: Allow execution for ARC.
1550 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1552 * testsuite/gas/arc/warn.exp: Fix matching pattern.
1554 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
1556 * testsuite/gas/arc/ext2op.d: New file.
1557 * testsuite/gas/arc/ext2op.s: Likewise.
1558 * testsuite/gas/arc/ext3op.d: Likewise.
1559 * testsuite/gas/arc/ext3op.s: Likewise.
1561 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1563 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1565 * config/tc-alpha.c (md_parse_option): Likewise.
1566 * config/tc-arc.c (md_parse_option): Likewise.
1567 * config/tc-arm.c (struct arm_long_option_table): Likewise.
1568 (md_parse_option): Likewise.
1569 * config/tc-avr.c (md_parse_option): Likewise.
1570 * config/tc-bfin.c (md_parse_option): Likewise.
1571 * config/tc-cr16.c (md_parse_option): Likewise.
1572 * config/tc-cris.c (s_cris_arch): Likewise.
1573 (md_parse_option): Likewise.
1574 * config/tc-crx.c (md_parse_option): Likewise.
1575 * config/tc-d10v.c (md_parse_option): Likewise.
1576 * config/tc-d30v.c (md_parse_option): Likewise.
1577 * config/tc-dlx.c (md_parse_option): Likewise.
1578 * config/tc-epiphany.c (md_parse_option): Likewise.
1579 * config/tc-fr30.c (md_parse_option): Likewise.
1580 * config/tc-frv.c (md_parse_option): Likewise.
1581 * config/tc-ft32.c (md_parse_option): Likewise.
1582 * config/tc-h8300.c (md_parse_option): Likewise.
1583 * config/tc-hppa.c (md_parse_option): Likewise.
1584 * config/tc-i370.c (md_parse_option): Likewise.
1585 * config/tc-i386.c (md_parse_option): Likewise.
1586 * config/tc-i860.c (md_parse_option): Likewise.
1587 * config/tc-i960.c (md_parse_option): Likewise.
1588 * config/tc-ia64.c (md_parse_option): Likewise.
1589 * config/tc-ip2k.c (md_parse_option): Likewise.
1590 * config/tc-iq2000.c (md_parse_option): Likewise.
1591 * config/tc-lm32.c (md_parse_option): Likewise.
1592 * config/tc-m32c.c (md_parse_option): Likewise.
1593 * config/tc-m32r.c (md_parse_option): Likewise.
1594 * config/tc-m68hc11.c (md_parse_option): Likewise.
1595 * config/tc-m68k.c (md_parse_option): Likewise.
1596 * config/tc-mcore.c (md_parse_option): Likewise.
1597 * config/tc-mep.c (md_parse_option): Likewise.
1598 * config/tc-metag.c (struct metag_long_option): Likewise.
1599 (md_parse_option): Likewise.
1600 * config/tc-microblaze.c (md_parse_option): Likewise.
1601 * config/tc-microblaze.h (md_parse_option): Remove prototype.
1602 * config/tc-mips.c (md_parse_option): Adjust.
1603 * config/tc-mmix.c (md_parse_option): Likewise.
1604 * config/tc-mn10200.c (md_parse_option): Likewise.
1605 * config/tc-mn10300.c (md_parse_option): Likewise.
1606 * config/tc-moxie.c (md_parse_option): Likewise.
1607 * config/tc-msp430.c (md_parse_option): Likewise.
1608 * config/tc-mt.c (md_parse_option): Likewise.
1609 * config/tc-nds32.c (md_parse_option): Likewise.
1610 * config/tc-nds32.h (nds32_parse_option): Likewise.
1611 * config/tc-nios2.c (md_parse_option): Likewise.
1612 * config/tc-ns32k.c (md_parse_option): Likewise.
1613 * config/tc-or1k.c (md_parse_option): Likewise.
1614 * config/tc-pdp11.c (md_parse_option): Likewise.
1615 * config/tc-pj.c (md_parse_option): Likewise.
1616 * config/tc-ppc.c (md_parse_option): Likewise.
1617 * config/tc-rl78.c (md_parse_option): Likewise.
1618 * config/tc-rx.c (md_parse_option): Likewise.
1619 * config/tc-s390.c (s390_parse_cpu): Likewise.
1620 * config/tc-score.c (md_parse_option): Likewise.
1621 * config/tc-sh.c (md_parse_option): Likewise.
1622 * config/tc-sparc.c (md_parse_option): Likewise.
1623 * config/tc-spu.c (md_parse_option): Likewise.
1624 * config/tc-tic30.c (md_parse_option): Likewise.
1625 * config/tc-tic4x.c (md_parse_option): Likewise.
1626 * config/tc-tic54x.c (md_parse_option): Likewise.
1627 * config/tc-tic6x.c (md_parse_option): Likewise.
1628 * config/tc-tilegx.c (md_parse_option): Likewise.
1629 * config/tc-tilepro.c (md_parse_option): Likewise.
1630 * config/tc-v850.c (md_parse_option): Likewise.
1631 * config/tc-vax.c (md_parse_option): Likewise.
1632 * config/tc-visium.c (struct visium_long_option_table): Likewise.
1633 * config/tc-xc16x.c (md_parse_option): Likewise.
1634 * config/tc-xgate.c (md_parse_option): Likewise.
1635 * config/tc-xstormy16.c (md_parse_option): Likewise.
1636 * config/tc-xtensa.c (md_parse_option): Likewise.
1637 * config/tc-z80.c (md_parse_option): Likewise.
1638 * config/tc-z8k.c (md_parse_option): Likewise.
1639 * tc.h (md_parse_option): Likewise.
1641 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1643 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1644 * config/tc-hppa.c (fix_new_hppa): Likewise.
1645 (pa_vtable_entry): Likewise.
1646 (pa_vtable_inherit): Likewise.
1647 * config/tc-m68k.c (md_begin): Likewise.
1649 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1651 * config/obj-elf.c (obj_elf_section_name): Return const char *.
1652 * config/obj-elf.h (obj_elf_section_name): Adjust.
1653 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1654 (aarch64_parse_cpu): Likewise.
1655 (aarch64_parse_arch): Likewise.
1656 * config/tc-arm.c (arm_parse_extension): Likewise.
1657 (arm_parse_cpu): Likewise.
1658 (arm_parse_arch): Likewise.
1659 * config/tc-nds32.c: Likewise.
1660 * config/xtensa-relax.c (parse_special_fn): Likewise.
1661 * stabs.c (generate_asm_file): Likewise.
1663 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1665 * config/tc-cr16.c (cr16_assemble): New function.
1666 (md_assemble): Call cr16_assemble.
1668 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1670 * as.c (parse_args): Adjust.
1671 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1672 * config/obj-elf.c (elf_frob_symbol): Adjust.
1674 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1676 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1677 registers to be in the 16..31 range.
1679 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1681 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1684 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1686 * config/tc-visium.c (md_atof): Localize the string returned on
1689 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1691 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1692 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1693 * config/tc-m68hc11.c (md_begin): Likewise.
1694 (print_opcode_list): Likewise.
1695 * config/tc-msp430.c (msp430_section): Likewise.
1696 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1697 (s3_build_dependency_insn_hsh): Likewise.
1698 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1699 (s7_build_dependency_insn_hsh): Likewise.
1700 * config/tc-tic4x.c: Likewise.
1701 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1702 (subsym_get_arg): Likewise.
1703 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1704 (get_directive): Likewise.
1705 (cache_literal_section): Likewise.
1706 * config/xtensa-relax.c: Likewise.
1707 * symbols.c (symbol_create): Likewise.
1708 (local_symbol_make): Likewise.
1709 (symbol_relc_make_expr): Likewise.
1711 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1713 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1716 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1718 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1721 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1723 * config/tc-ia64.c (ia64_do_align): Remove.
1724 (ia64_cons_align): Call do_align () directly.
1725 (dot_proc): Likewise.
1726 (stmt_float_cons): Likewise.
1728 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1730 * listing.c (listing_message): Use XNEW style allocation macros.
1731 * read.c (read_a_source_file): Likewise.
1732 (read_symbol_name): Likewise.
1733 (s_mri_common): Likewise.
1734 (assign_symbol): Likewise.
1735 (s_reloc): Likewise.
1736 (emit_expr_with_reloc): Likewise.
1737 (s_incbin): Likewise.
1738 (s_include): Likewise.
1739 * sb.c (sb_build): Likewise.
1740 (sb_check): Likewise.
1742 2016-03-22 Alan Modra <amodra@gmail.com>
1744 * write.c (record_alignment): Revert 2016-02-18 change.
1746 2016-03-22 Alan Modra <amodra@gmail.com>
1748 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1749 (emit_jsrjmp, tc_gen_reloc): Likewise.
1750 * config/tc-i370.c (i370_macro): Likewise.
1752 2016-03-22 Nick Clifton <nickc@redhat.com>
1754 * configure: Regenerate.
1756 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1758 * testsuite/gas/arc/nps400-0.d: New file.
1759 * testsuite/gas/arc/nps400-0.s: New file.
1760 * testsuite/gas/arc/nps400-1.d: New file.
1761 * testsuite/gas/arc/nps400-1.s: New file.
1763 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1765 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1766 declarations to start of block. Reset code on all flags before
1767 attempting to match them. Handle multiple hits on the same flag.
1769 * testsuite/gas/arc/asm-errors.d: New file.
1770 * testsuite/gas/arc/asm-errors.err: New file.
1771 * testsuite/gas/arc/asm-errors.s: New file.
1773 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1775 * config/tc-arc.c (cpu_types): Add nps400 entry.
1776 (check_zol): Handle nps400.
1778 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1780 * config/tc-arc.c (arc_select_cpu): Remove use of
1783 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1785 * config/tc-arc.c (arc_target): Delay initialisation until
1787 (arc_target_name): Likewise.
1788 (arc_features): Likewise.
1789 (arc_mach_type): Likewise.
1790 (cpu_types): Remove "all" entry.
1791 (arc_select_cpu): New function, most of the content is from...
1792 (md_parse_option): ... here. Call new arc_select_cpu.
1793 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1795 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1797 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1798 * testsuite/gas/arc/inline-data-2.d: New file.
1800 2016-03-21 Nick Clifton <nickc@redhat.com>
1802 * atof-generic.c: Replace use of alloca with call to xmalloc.
1804 * dwarf2dbg.c: Likewise.
1805 * macro.c: Likewise.
1806 * remap.c: Likewise.
1807 * stabs.c: Likewise.
1808 * symbols.c: Likewise.
1809 * config/obj-elf.c: Likewise.
1810 * config/tc-aarch64.c: Likewise.
1811 * config/tc-arc.c: Likewise.
1812 * config/tc-arm.c: Likewise.
1813 * config/tc-avr.c: Likewise.
1814 * config/tc-ia64.c: Likewise.
1815 * config/tc-mips.c: Likewise.
1816 * config/tc-msp430.c: Likewise.
1817 * config/tc-nds32.c: Likewise.
1818 * config/tc-ppc.c: Likewise.
1819 * config/tc-sh.c: Likewise.
1820 * config/tc-tic30.c: Likewise.
1821 * config/tc-tic54x.c: Likewise.
1822 * config/tc-xstormy16.c: Likewise.
1823 * config/te-vms.c: Likewise.
1824 * configure: Regenerate.
1826 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1828 * tc-i386.c (f32_1): Change type to unsigned char[].
1848 (jump_31): Likewise.
1849 (f32_patt): Likewise.
1850 (f16_patt): Likewise.
1859 (alt_patt): Likewise.
1861 2016-03-18 Nick Clifton <nickc@redhat.com>
1863 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1864 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1865 .tlsdescldr and .xword directives.
1868 * testsuite/gas/aarch64/pr19721.s: New test source file.
1869 * testsuite/gas/aarch64/pr19721.d: New test driver file.
1871 * doc/as.texinfo: Place the target specific command line options
1872 into their own man page section.
1874 2016-03-16 Jiong Wang <jiong.wang@arm.com>
1876 * config/tc-arm.c (N_S_32): New.
1877 (N_F_16_32): Likewise.
1878 (N_SUF_32): Support N_F16.
1879 (N_IF_32): Likewise.
1880 (neon_dyadic_misc): Likewise.
1881 (do_neon_cmp): Likewise.
1882 (do_neon_cmp_inv): Likewise.
1883 (do_neon_mul): Likewise.
1884 (do_neon_fcmp_absolute): Likewise.
1885 (do_neon_step): Likewise.
1886 (do_neon_abs_neg): Likewise.
1887 (CVT_FLAVOR_VAR): Likewise.
1888 (do_neon_cvt_1): Likewise.
1889 (do_neon_recip_est): Likewise.
1890 (do_vmaxnm): Likewise.
1891 (do_vrint_1): Likewise.
1892 (neon_check_type): Check architecture support for FP16 extension.
1893 (insns): Update comments.
1894 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1895 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1896 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1897 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1899 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1901 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1904 2016-03-16 Nick Clifton <nickc@redhat.com>
1906 * read.c (emit_expr_with_reloc): Add code check a bignum with
1908 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1910 * testsuite/gas/elf/bignum.s: New test source file.
1911 * testsuite/gas/elf/bignum.d: New test driver file.
1912 * testsuite/gas/elf/elf.exp: Run the new test.
1914 2016-03-15 Ulrich Drepper <drepper@gmail.com>
1916 * doc/c-i386.texi (Register Naming): Update to details of the
1917 latest architecture version.
1919 2016-03-10 Mickael Guene <mickael.guene@st.com>
1922 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1924 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1925 (do_t_mov_cmp): Likewise.
1926 (do_t_add_sub): Protect against bad relocations usage.
1927 (do_t_mov_cmp): Likewise.
1928 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1929 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1930 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1931 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
1933 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1935 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1937 (do_neon_ld_st_lane): Likewise.
1938 (do_neon_ld_dup): Likewise.
1940 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1942 * testsuite/gas/arc/inline-data-1.d: New file.
1943 * testsuite/gas/arc/inline-data-1.s: New file.
1945 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
1947 * config/tc-arm.c (arm_cpus): Add cortex-r8.
1948 * doc/c-arm.texi: Add cortex-r8.
1950 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1952 * config/tc-arc.c: Add const qualifiers.
1953 * config/tc-h8300.c (md_begin): Likewise.
1954 * config/tc-ia64.c (print_prmask): Likewise.
1955 * config/tc-msp430.c (msp430_operands): Likewise.
1956 * config/tc-nds32.c (struct suffix_name): Likewise.
1957 (struct nds32_parse_option_table): Likewise.
1958 (struct nds32_set_option_table): Likewise.
1959 (do_pseudo_pushpopm): Likewise.
1960 (do_pseudo_pushpop_stack): Likewise.
1961 (nds32_relax_relocs): Likewise.
1962 (nds32_flag): Likewise.
1963 (struct nds32_hint_map): Likewise.
1964 (nds32_find_reloc_table): Likewise.
1965 (nds32_match_hint_insn): Likewise.
1966 * config/tc-s390.c: Likewise.
1967 * config/tc-sh.c (get_specific): Likewise.
1968 * config/tc-tic30.c: Likewise.
1969 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
1970 (tic4x_indirect_parse): Likewise.
1971 * config/tc-vax.c (vax_cons): Likewise.
1972 * config/tc-z80.c (struct reg_entry): Likewise.
1973 * config/tc-epiphany.c (md_assemble): Adjust.
1974 (epiphany_assemble): New function.
1975 (epiphany_elf_section_rtn): Call do_align directly.
1976 (epiphany_elf_section_text): Likewise.
1977 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
1978 (ip2k_elf_section_text): Likewise.
1979 * read.c (do_align): Make it not static.
1980 * read.h (do_align): New prototype.
1982 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1984 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
1985 for ARMv8.1 AdvSIMD use.
1986 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
1987 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
1989 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1991 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
1993 (record_feature_use): New.
1994 (mark_feature_used): Use record_feature_use.
1995 (do_neon_qrdmlah): New.
1996 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
1998 (arm_extensions): Put into alphabetical order. Re-indent "simd"
1999 and "rdma" entries. Fix the incorrect merge value for "+rdma".
2000 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
2001 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
2002 Make source file explicit.
2003 * testsuite/gas/arm/armv8-a+rdma.l: New.
2004 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
2005 directives. Fix white-space.
2006 * testsuite/gas/arm/armv8_1-a+simd.d: New.
2008 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2010 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
2012 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2013 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2015 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
2016 (tc_arc_fix_adjustable): Changed default return value to 1.
2017 * testsuite/gas/arc/j.d: Updated expected symbol
2018 * testsuite/gas/arc/jl.d: Likewise
2019 * testsuite/gas/arc/relax-avoid1.d: Likewise
2020 * testsuite/gas/arc/st.d: Likewise
2022 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2024 * config/tc-arc.c: Enable code density instructions for ARC EM.
2026 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2029 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
2031 * as.c (flag_use_elf_stt_common): New.
2032 (show_usage): Add --elf-stt-common=.
2033 (option_values): Add OPTION_ELF_STT_COMMON.
2034 (std_longopts): Add --elf-stt-common=.
2035 (parse_args): Handle --elf-stt-common=.
2036 * as.h (flag_use_elf_stt_common): New.
2037 * config.in: Regenerated.
2038 * configure: Likewise.
2039 * configure.ac: Add --enable-elf-stt-common and define
2040 DEFAULT_GENERATE_ELF_STT_COMMON.
2041 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
2042 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
2043 * doc/as.texinfo: Document --elf-stt-common=.
2044 * testsuite/gas/elf/common3.s: New file.
2045 * testsuite/gas/elf/common3a.d: Likewise.
2046 * testsuite/gas/elf/common3b.d: Likewise.
2047 * testsuite/gas/elf/common4.s: Likewise.
2048 * testsuite/gas/elf/common4a.d: Likewise.
2049 * testsuite/gas/elf/common4b.d: Likewise.
2050 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
2051 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
2052 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
2054 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
2055 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
2056 --elf-stt-common=no to as.
2057 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
2058 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
2059 --elf-stt-common=no to as.
2060 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
2061 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
2062 of dw2-compress-3 and dw2-compressed-3.
2064 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2066 * as.c (select_emulation_mode): Add const qualifiers.
2068 * config/bfin-defs.h: Likewise.
2069 * config/bfin-parse.y: Likewise.
2070 * config/rx-parse.y: Likewise.
2071 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
2072 (struct aarch64_cpu_option_table): Likewise.
2073 (struct aarch64_arch_option_table): Likewise.
2074 (struct aarch64_option_cpu_value_table): Likewise.
2075 (struct aarch64_long_option_table): Likewise.
2076 (struct aarch64_option_abi_value_table): Likewise.
2077 * config/tc-arm.c (struct reloc_entry): Likewise.
2078 (tc_gen_reloc): Likewise.
2079 (struct arm_option_table): Likewise.
2080 (struct arm_legacy_option_table): Likewise.
2081 (struct arm_cpu_option_table): Likewise.
2082 (struct arm_arch_option_table): Likewise.
2083 (struct arm_option_extension_value_table): Likewise.
2084 (struct arm_option_fpu_value_table): Likewise.
2085 (struct arm_option_value_table): Likewise.
2086 (struct arm_long_option_table): Likewise.
2087 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2088 (struct mcu_type_s): Likewise.
2089 (struct exp_mod_s): Likewise.
2090 (avr_operand): Likewise.
2091 (avr_operands): Likewise.
2092 * config/tc-d10v.c (md_begin): Likewise.
2093 * config/tc-dlx.c: Likewise.
2094 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2095 * config/tc-ft32.c (parse_condition): Likewise.
2096 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2097 * config/tc-hppa.c (pa_ip): Likewise.
2098 (hppa_regname_to_dw2regnum): Likewise.
2099 * config/tc-i370.c (i370_elf_suffix): Likewise.
2100 * config/tc-i960.c (struct tabentry): Likewise.
2101 * config/tc-m32r.c: Likewise.
2102 * config/tc-m68k.c: Likewise.
2103 * config/tc-m68k.h: Likewise.
2104 * config/tc-mcore.c (parse_psrmod): Likewise.
2105 * config/tc-metag.c (struct metag_core_option): Likewise.
2106 (struct metag_long_option): Likewise.
2107 * config/tc-microblaze.c: Likewise.
2108 * config/tc-mips.c (macro): Likewise.
2109 * config/tc-mn10200.c: Likewise.
2110 * config/tc-mn10300.c: Likewise.
2111 * config/tc-msp430.c (struct rcodes_s): Likewise.
2112 (struct hcodes_s): Likewise.
2113 (md_parse_option): Likewise.
2114 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2115 (optlist): Likewise.
2116 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2117 (tc_ppc_regname_to_dw2regnum): Likewise.
2118 * config/tc-ppc.h: Likewise.
2119 * config/tc-rl78.c: Likewise.
2120 * config/tc-rx.c (struct cpu_type): Likewise.
2121 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2122 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2123 (sparc_ip): Likewise.
2124 * config/tc-spu.c (insn_fmt_string): Likewise.
2125 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2126 * config/tc-v850.c: Likewise.
2127 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2128 (struct visium_long_option_table): Likewise.
2129 * config/tc-xgate.c: Likewise.
2130 * config/tc-z8k.c: Likewise.
2131 * read.c (add_include_dir): Likewise.
2134 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2136 * testsuite/gas/all/gas.exp: Change target pattern to cover
2138 * testsuite/gas/all/redef3.d: Likewise.
2139 * testsuite/gas/elf/elf.exp: Likewise.
2141 2016-02-24 Renlin Li <renlin.li@arm.com>
2143 * config/tc-arm.c (BAD_FP16): New error message macro.
2144 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2145 fp16 scalar instructions.
2146 (neon_check_type): Allow different size from key.
2147 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2148 (try_vfp_nsyn): Likewise.
2149 (do_vfp_nsyn_mla_mls): Likewise.
2150 (do_vfp_nsyn_fma_fms): Likewise.
2151 (do_vfp_nsyn_ldm_stm): Likewise
2152 (do_vfp_nsyn_sqrt): Likewise
2153 (do_vfp_nsyn_div): Likewise
2154 (do_vfp_nsyn_nmul): Likewise.
2155 (do_vfp_nsyn_cmp): Likewise.
2156 (do_neon_shll): Likewise.
2157 (do_vfp_nsyn_cvt_fpv8): Likewise.
2158 (do_neon_cvttb_2): Likewise.
2159 (do_neon_mov): Likewise.
2160 (do_neon_rshift_round_imm): Likewise.
2161 (do_neon_ldr_str): Likewise.
2162 (do_vfp_nsyn_fpv8): Likewise.
2163 (do_vmaxnm): Likewise.
2164 (do_vrint_1): Likewise.
2165 (insns): New entry for vins, vmovx.
2166 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2167 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2168 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2169 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2170 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2171 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2172 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2174 2016-02-24 Renlin Li <renlin.li@arm.com>
2176 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2177 (neon_shape_class): New SC_HALF.
2178 (neon_shape_el): New SE_H.
2179 (neon_shape_el_size): New size for SE_H.
2180 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2181 (neon_select_shape): Add SE_H support code.
2182 (el_type_of_type_chk): Use N_F_ALL.
2183 (do_vfp_nsyn_cvt): Add SE_H shape support.
2184 (do_neon_cvtz): Likewise.
2185 (do_neon_cvt_1): Likewise.
2186 (do_neon_cvttb_1): Likewise.
2188 2016-02-24 Renlin Li <renlin.li@arm.com>
2190 * testsuite/gas/arm/copro.d: Adjust output.
2191 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2193 2016-02-24 Renlin Li <renlin.li@arm.com>
2195 * testsuite/gas/arm/mask_1.d: New.
2196 * testsuite/gas/arm/mask_1.s: New.
2198 2016-02-24 Renlin Li <renlin.li@arm.com>
2200 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2201 * testsuite/gas/arm/copro.d: Update.
2203 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2205 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2206 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2208 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2210 * doc/c-arm.texi (ARM Options): Document cortex-a17.
2212 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2214 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2217 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2219 * output-file.c (output_file_create): Make file name argument const.
2220 (output_file_close): Likewise.
2221 * output-file.h (output_file_create): Adjust.
2222 (output_file_close): Likewise.
2223 * depend.c (quote_string_for_make): Make src argument const char *.
2224 (register_dependency): Likewise.
2225 (wrap_output): Likewise.
2226 * as.h (register_dependency): Adjust.
2227 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2229 * symbols.c (S_SET_EXTERNAL): Likewise.
2230 * input-scrub.c (as_where): Return the file name.
2231 * as.h (as_where): Adjust prototype.
2232 * app.c (do_scrub_chars): Adjust.
2233 * cond.c (s_elseif): Likewise.
2235 (initialize_cframe): Likewise.
2236 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2237 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2238 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2239 * config/tc-aarch64.c (output_info): Likewise.
2240 * config/tc-ia64.c (md_assemble): Likewise.
2241 (dot_alias): Likewise.
2242 * config/tc-m68k.c (m68k_frob_label): Likewise.
2243 * config/tc-mmix.c (s_bspec): Likewise.
2244 (mmix_handle_mmixal): Likewise.
2245 * config/tc-rx.c (rx_include): Likewise.
2246 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2247 (tic54x_adjust_symtab): Likewise.
2248 * config/tc-xtensa.c (directive_push): Likewise.
2249 (xtensa_sanity_check): Likewise.
2250 (xtensa_relax_frag): Likewise.
2251 (md_convert_frag): Likewise.
2252 (tinsn_to_slotbuf): Likewise.
2253 * dwarf2dbg.c (dwarf2_where): Likewise.
2254 * ecoff.c (add_file): Likewise.
2255 (ecoff_generate_asm_lineno): Likewise.
2256 * expr.c (make_expr_symbol): Likewise.
2257 * frags.c (frag_new): Likewise.
2258 (frag_var_init): Likewise.
2259 * listing.c (listing_newline): Likewise.
2260 * messages.c (identify): Likewise.
2261 (as_show_where): Likewise.
2262 (as_warn_internal): Likewise.
2263 (as_bad_internal): Likewise.
2264 * read.c (s_irp): Likewise.
2265 (s_macro): Likewise.
2266 (s_reloc): Likewise.
2267 * stabs.c (stabs_generate_asm_file): Likewise.
2268 (stabs_generate_asm_lineno): Likewise.
2269 (stabs_generate_asm_func): Likewise.
2270 * write.c (fix_new_internal): Likewise.
2271 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2272 (as_warn_value_out_of_range): Adjust prototype.
2273 (as_bad_value_out_of_range): Adjust prototype.
2274 * messages.c (identify): Make file name argument const char *.
2275 (as_warn_internal): Likewise.
2276 (as_warn_where): Likewise.
2277 (as_bad_internal): Likewise.
2278 (as_bad_where): Likewise.
2279 (as_internal_value_out_of_range): Likewise.
2280 (as_warn_value_out_of_range): Likewise.
2281 (as_bad_value_out_of_range): Likewise.
2282 * as.h (found_comment_file): Change type to const char *.
2283 * cond.c (file_line::file): Likewise.
2284 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2285 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2286 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2287 * config/tc-aarch64.c (output_info): Likewise.
2288 * config/tc-alpha.c (insert_operand): Likewise.
2289 * config/tc-arc.c (insert_operand): Likewise.
2290 * config/tc-d30v.c (check_size): Likewise.
2291 * config/tc-ia64.c (struct alias): Likewise.
2292 * config/tc-m68k.c (struct label_line): Likewise.
2293 * config/tc-mcore.c (md_apply_fix): Likewise.
2294 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2295 * config/tc-mips.c (mips16_immed): Likewise.
2296 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2297 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2298 * config/tc-rx.c (rx_include): Likewise.
2299 * config/tc-s390.c (s390_insert_operand): Likewise.
2300 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2301 (tic54x_adjust_symtab): Likewise.
2302 * config/tc-tilegx.c (insert_operand): Likewise.
2303 (apply_special_operator): Likewise.
2304 * config/tc-tilepro.c (insert_operand): Likewise.
2305 * config/tc-xtensa.c (directive_push): Likewise.
2306 * ecoff.c (add_file): Likewise.
2307 (ecoff_generate_asm_lineno): Likewise.
2308 * listing.c (listing_newline): Likewise.
2309 * read.c (s_irp): Likewise.
2310 * write.c (install_reloc): Likewise.
2311 * write.h (struct fix): Likewise.
2312 * input-file.c (file_name): Change type to const char *.
2313 (saved_file::file_name): Likewise.
2314 (input_file_open): Change type of argument to const char *.
2315 * input-file.h (input_file_open): Adjust.
2316 * input-scrub.c (logical_input_file): change type to const char *.
2317 (physical_input_file): Likewise.
2318 (struct input_save): Adjust.
2319 (input_scrub_push): Adjust.
2320 (input_scrub_begin): Adjust.
2322 * input-scrub.c (input_scrub_new_file): Make file name argument const.
2323 (input_scrub_include_file): Likewise.
2324 (new_logical_line_flags): Likewise.
2325 (new_logical_line): Likewise.
2327 * frags.h (struct frag): Change type of fr_file to const char *.
2328 * expr.c (expr_symbol_where): Change type of file argument to
2330 * expr.h (expr_symbol_where): Likewise.
2331 * config/tc-i370.c (md_apply_fix): adjust.
2332 * config/tc-mmix.c (mmix_md_end): Likewise.
2333 * config/tc-ppc.c (md_apply_fix): Likewise.
2334 * config/tc-s390.c (md_apply_fix): Likewise.
2335 * symbols.c (report_op_error): Likewise.
2336 (resolve_symbol_value): Likewise.
2337 * config/tc-ia64.c (slot::src_file): Change type to const char *.
2338 (rsrc::file): Likewise.
2339 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2341 (xtensa_relax_frag): Likewise.
2342 (md_convert_frag): Likewise.
2343 (tinsn_to_slotbuf): Likewise.
2344 * expr.c (expr_symbol_line): Likewise.
2345 * macro.c (define_macro): Likewise.
2346 * macro.h (macro_struct): Likewise.
2347 * messages.c (as_show_where): Likewise.
2348 * read.c (s_macro): Likewise.
2349 * stabs.c (stabs_generate_asm_file): Likewise.
2350 (generate_asm_file): Likewise.
2351 (stabs_generate_asm_lineno): Likewise.
2352 * write.h (struct reloc_list): Likewise.
2353 * input-scrub.c (as_where): Change return type to const char *.
2354 * as.h (as_wheree): Adjust.
2356 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
2358 * write.c (compress_debug): Move BFD compression bits setting
2360 (write_object_file): Here.
2362 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2364 * config/tc-i386.c (register_number): Check RegVRex.
2365 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2366 with %zmm19 and %zmm3.
2367 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2368 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2370 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2371 Jiong Wang <jiong.wang@arm.com>
2373 * config/tc-arm.c (arm_ext_fp16): New.
2374 (arm_extensions): New entry for "fp16".
2376 2016-02-19 Nick Clifton <nickc@redhat.com>
2379 * read.c (read_a_source_file): Check for assemble_one returning
2380 with input_line_pointer set to NULL.
2382 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2384 * listing.c (rebuffer_line): Change return type to void.
2386 * symbols.c (decode_local_label_name): Make type a const char *.
2387 * listing.c (print_source): Make type of p const char *.
2388 (print_line): Make type of string const char *.
2389 (buffer_line): Return const char *.
2390 (title): Make type const char *.
2391 (subtitle): Likewise.
2392 (listing_listing): Make type of p const char *.
2393 * messages.c (as_internal_value_out_of_range): Make type of prefix
2395 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
2396 and string const char *.
2397 * read.c (_bfd_rel): Make type of name const char *.
2398 * app.c (out_string): Change type to const char *.
2399 (struct app_save::out_string): Likewise.
2401 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
2402 Nick Clifton <nickc@redhat.com>
2404 * read.c (finish_bundle): Avoid recording a negative alignment.
2405 (do_align): Use unsigned values for n, len and max. Only create
2406 a frag if the alignment requirement is greater than the minimum
2407 byte alignment. Avoid recording a negative alignment.
2408 (s_align): Use unsigned values where appropriate.
2409 (bss_alloc): Use an unsigned value for the alignment.
2410 (sizeof_sleb128): Add a comment noting that we encode one octet
2411 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
2412 (emit_leb129_expr): Abort if the emitted encoding was longer than
2414 * read.h (output_leb128): Update prototype.
2415 (sizeof_leb128): Update prototype.
2416 (bss_alloc): Update prototype.
2417 * write.c (record_alignment): Use an unsigned value for the
2418 alignment. Do not record alignments less than the minimum
2419 alignment for a byte.
2420 * write.h (record_alignment): Update prototype.
2422 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2424 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
2425 .init.literal/.fini.literal section name.
2426 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
2427 list of xtensa tests.
2428 * testsuite/gas/xtensa/init-fini-literals.d: New file:
2429 init-fini-literals test result patterns.
2430 * testsuite/gas/xtensa/init-fini-literals.s: New file:
2431 init-fini-literals test.
2433 2016-02-17 Nick Clifton <nickc@redhat.com>
2435 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
2436 devices.csv file as of March 2016.
2438 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
2440 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
2442 (tc_arc_regname_to_dw2regnum): Likewise.
2443 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
2444 (tc_cfi_frame_initial_instructions): Likewise.
2445 (tc_regname_to_dw2regnum): Likewise.
2446 * testsuite/gas/cfi/cfi-arc-1.d: New file.
2447 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
2448 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
2450 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
2452 * doc/internals.texi (S_IS_EXTERN): Remove.
2454 2016-02-16 Nick Clifton <nickc@redhat.com>
2456 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
2459 2016-02-16 Renlin Li <renlin.li@arm.com>
2462 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
2463 * testsuite/gas/aarch64/movw_label.d: New.
2464 * testsuite/gas/aarch64/movw_label.s: New.
2466 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
2469 * config/rx-parse.y (MOV): Opcode generation for index
2470 register addressing mode.
2471 * testsuite/gas/rx/rx.exp: Updated for new testcase.
2472 * testsuite/gas/rx/pr19665.s: New file.
2473 * testsuite/gas/rx/pr19665.s: New file.
2474 * testsuite/gas/rx/mov.d: Update expected output.
2476 2016-02-15 Nick Clifton <nickc@redhat.com>
2478 * doc/as.texinfo (.section): Document that numeric values can now
2479 be used for the flags and type fields of the ELF target's .section
2480 directive. Add notes about the restrictions on setting flags and
2482 * config/obj-elf.c (obj_elf_change_section): Allow known sections
2483 to be given processor specific section types. Allow processor and
2484 application specific flags of a section to be set after
2486 (obj_elf_parse_section_letters): Handle parsing numeric values.
2487 (obj_elf_section_type): Handle parsing numeric values.
2488 (obj_elf_section): Allow numeric type values.
2489 * config/obj-elf.h (obj_elf_change_section): Update prototype.
2490 * testsuite/gas/elf/section10.d: New test.
2491 * testsuite/gas/elf/section10.s: Source file for new test.
2492 * testsuite/gas/elf/elf.exp: Run the new test.
2493 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
2494 the description of the flags produced by readelf.
2495 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
2496 * NEWS: Mention the new feature.
2498 2016-02-11 Nick Clifton <nickc@redhat.com>
2501 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
2502 until it is actually used.
2503 (cfi_set_sections): Set cfi_sections_set to true.
2504 (dot_cfi_startproc): Likewise.
2505 (dot_cfi_endproc): Likewise.
2506 (dot_cfi_fde_data): Likewise.
2507 (cfi_finish): Likewise.
2508 (dot_cfi_sections): Do not set cfi_sections_set.
2509 * doc/as.texinfo (.cfi_sections): Note that targets can provide
2510 their own cfi section name. Also note that the directive can be
2511 reissued provided that CFI generation has not started.
2512 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
2513 .cfi_endproc directives so that the redefinition of .cfi_sections
2514 will trigger the generation of the error message.
2515 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
2516 number of error message.
2518 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
2519 Janek van Oirschot <jvanoirs@synopsys.com>
2521 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2522 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2524 (arc_flags, arc_relax_type): New structure.
2525 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2526 (RELAX_TABLE_ENTRY_MAX): New define.
2527 (relaxation_state, md_relax_table, arc_relaxable_insns)
2528 (arc_num_relaxable_ins): New variable.
2529 (rlx_operand_type, arc_rlx_types): New enums.
2530 (arc_relaxable_ins): New structure.
2531 (OPTION_RELAX): New option.
2532 (arc_insn): New relax member.
2533 (arc_flags): Remove.
2534 (relax_insn_p): New function.
2535 (apply_fixups): Likewise.
2536 (relaxable_operand): Likewise.
2537 (may_relax_expr): Likewise.
2538 (relaxable_flag): Likewise.
2539 (arc_pcrel_adjust): Likewise.
2540 (md_estimate_size_before_relax): Implement.
2541 (md_convert_frag): Likewise.
2542 (md_parse_option): Handle new mrelax option.
2543 (md_show_usage): Likewise.
2544 (assemble_insn): Set relax member.
2545 (emit_insn0): New function.
2546 (emit_insn1): Likewise.
2547 (emit_insn): Handle relaxation case.
2548 * NEWS: Mention the new relaxation option.
2549 * doc/c-arc.texi (ARC Options): Document new mrelax option.
2550 * doc/as.texinfo (Target ARC Options): Likewise.
2551 * testsuite/gas/arc/relax-avoid1.d: New file.
2552 * testsuite/gas/arc/relax-avoid1.s: Likewise.
2553 * testsuite/gas/arc/relax-avoid2.d: Likewise.
2554 * testsuite/gas/arc/relax-avoid2.s: Likewise.
2555 * testsuite/gas/arc/relax-avoid3.d: Likewise.
2556 * testsuite/gas/arc/relax-avoid3.s: Likewise.
2557 * testsuite/gas/arc/relax-b.d: Likewise.
2558 * testsuite/gas/arc/relax-b.s: Likewise.
2560 2016-02-08 Nick Clifton <nickc@redhat.com>
2562 * config/tc-ia64.c (dot_prologue): Fix formatting.
2564 2016-02-04 Nick Clifton <nickc@redhat.com>
2566 * config/obj-elf.c (obj_elf_change_section): Remove support for
2567 ARM NOREAD sections.
2568 * config/tc-arm.c (arm_elf_section_letter): Delete.
2569 * config/tc-arm.h (md_elf_section_letter): Delete.
2570 * doc/c-arm.texi (ARM Section Attribute): Delete section.
2571 * testsuite/gas/arm/section-execute-only.d: Delete.
2572 * testsuite/gas/arm/section-execute-only.s: Delete.
2574 2016-02-04 Nick Clifton <nickc@redhat.com>
2577 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2578 to handle encoding of RRUX instruction.
2579 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2581 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2583 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2585 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2586 substitutions for BFD_RELOC_* as unsigned.
2587 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2588 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2589 * testsuite/gas/xtensa/loc.s: New file: loc test.
2591 2016-02-03 Kevin Buettner <kevinb@redhat.com>
2593 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
2595 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2598 * NEWS: Mention new command line option -mrelax-relocations and
2599 new configure option --enable-x86-relax-relocations for x86
2601 * config.in: Regenerated.
2602 * configure.ac: Add --enable-x86-relax-relocations.
2603 (ac_default_x86_relax_relocations): New. Default to 1 except
2604 for x86 Solaris targets older than Solaris 12.
2605 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2606 * configure: Likewise.
2607 * config/tc-i386.c (generate_relax_relocations): New.
2608 (OPTION_MRELAX_RELOCATIONS): Likewise.
2609 (output_disp): Don't generate relax relocations if
2610 generate_relax_relocations is 0.
2611 (md_longopts): Add -mrelax-relocations.
2612 (md_show_usage): Likewise.
2613 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2614 * doc/c-i386.texi: Document -mrelax-relocations=.
2615 * testsuite/gas/i386/got-no-relax.d: New file.
2616 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2617 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2618 * testsuite/gas/i386/localpic.d: Likewise.
2619 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2620 * testsuite/gas/i386/reloc32.d: Likewise.
2621 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2622 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2623 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2624 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2625 * testsuite/gas/i386/i386.exp: Run got-no-relax and
2626 x86-64-gotpcrel-no-relax.
2628 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2630 * NEWS: Mention new command line option -mfence-as-lock-add=yes
2633 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2635 * NEWS: Remove duplicated marker for 2.26.
2637 2016-02-02 Renlin Li <renlin.li@arm.com>
2639 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2641 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2643 * testsuite/gas/ip2k/allinsn.d: New file.
2644 * testsuite/gas/ip2k/allinsn.s: New file.
2645 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2647 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2649 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2650 some load instructions.
2651 * testsuite/gas/epiphany/allinsn.d: Likewise.
2652 * testsuite/gas/epiphany/regression.d: Likewise.
2654 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2656 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2657 suffixes from instruction mnemonics in expected output.
2658 * testsuite/gas/epiphany/allinsn.d: Likewise.
2659 * testsuite/gas/epiphany/regression.d: Likewise.
2660 * testsuite/gas/epiphany/sample.d: Likewise.
2662 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2664 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2666 * testsuite/gas/epiphany/allinsn.d: Likewise.
2667 * testsuite/gas/epiphany/sample.d: Likewise.
2669 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2671 * testsuite/gas/epiphany/sample.d: Update expected output.
2673 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2675 * config/tc-arc.c (md_apply_fix): Allow addendum.
2676 (arc_reloc_op): Allow complex expressions for tpoff.
2677 (md_apply_fix): Handle resolved TLS local symbol.
2678 * testsuite/gas/arc/tls-relocs1.d: New file.
2679 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2681 2016-02-01 Loria <Loria@phantasia.org>
2684 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2685 efficiency and avoid an LLVM loop optimization bug.
2687 2016-02-01 Nick Clifton <nickc@redhat.com>
2689 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2690 message extending a negative 32-bit value into a larger signed
2691 value on a 32-bit host.
2693 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2696 * configure.ac (compressed_debug_sections): Replace == with =.
2697 * configure: Regenerated.
2699 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2700 H.J. Lu <hongjiu.lu@intel.com>
2702 * config/tc-i386.c (avoid_fence): New.
2703 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2705 (OPTION_FENCE_AS_LOCK_ADD): New.
2706 (md_longopts): Add -mfence-as-lock-add.
2707 (md_parse_option): Handle -mfence-as-lock-add.
2708 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2709 * doc/c-i386.texi (-mfence-as-lock-add): Document.
2710 * testsuite/gas/i386/i386.exp: Run new tests.
2711 * testsuite/gas/i386/fence-as-lock-add.s: New.
2712 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2713 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2714 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2715 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2717 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2719 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2720 * configure: Regenerated.
2722 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2724 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2725 (OPTION_MOMIT_LOCK_PREFIX): This.
2726 (md_longopts): Updated.
2727 (md_parse_option): Likewise.
2729 2016-01-25 Catherine Moore <clm@codesourcery.com>
2731 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2732 if abicalls are in effect.
2733 * testsuite/gas/mips/sdata-gp.s: New test.
2734 * testsuite/gas/mips/sdata-gp.d: New expected output
2735 * testsuite/gas/mips/mips.exp: Run new test.
2737 2016-01-25 Renlin Li <renlin.li@arm.com>
2739 * testsuite/gas/arm/thumb2_it_search.d: New.
2740 * testsuite/gas/arm/thumb2_it_search.s: New.
2742 2016-01-21 Nick Clifton <nickc@redhat.com>
2745 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2746 with arm-netbsdelf target.
2747 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2749 2016-01-20 Nick Clifton <nickc@redhat.com>
2752 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2753 * testsuite/gas/arm/blx-bl-convert.d
2754 * testsuite/gas/arm/plt-1.d: Likewise.
2755 * testsuite/gas/arm/reloc-bad.d: Likewise.
2756 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2757 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2758 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2759 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2762 * doc/as.texinfo (Errors): Correct documentation describing the
2763 interaction of .file and .line with warning and error messages.
2766 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2767 * testsuite/gas/arm/archv8m-main.d: Likewise.
2768 * testsuite/gas/arm/archv8m-base.d: Likewise.
2770 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2772 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2773 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2774 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2776 2016-01-20 Mickael Guene <mickael.guene@st.com>
2777 Terry Guo <terry.guo@arm.com>
2779 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2780 SHF_ARM_NOREAD section flag.
2781 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2783 (arm_elf_section_letter) : Declare it.
2784 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2785 SHF_ARM_NOREAD section flag.
2786 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2788 * testsuite/gas/arm/section-execute-only.s: New test case.
2789 * testsuite/gas/arm/section-execute-only.d: Expected output.
2791 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2793 * config/tc-mips.c (micromips_insn_length): Remove the mention
2794 of 48-bit microMIPS instructions.
2796 2016-01-18 Alan Modra <amodra@gmail.com>
2798 * configure: Regenerate.
2800 2016-01-17 Alan Modra <amodra@gmail.com>
2802 * configure: Regenerate.
2804 2016-01-17 Alan Modra <amodra@gmail.com>
2806 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2808 2016-01-14 Nick Clifton <nickc@redhat.com>
2810 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2811 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2812 * testsuite/gas/rl78/rl78.exp: Run the new test.
2814 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2816 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2817 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2819 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2821 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2823 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2825 * config/tc-h8300.c (get_operand): Remove spurious condition in
2826 test for closing parenthesis.
2828 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
2830 * config/tc-arm.c (arm_ext_v8_2): New.
2832 * testsuite/gas/arm/armv8_2-a.d: New.
2833 * testsuite/gas/arm/armv8_2-a.s: New.
2835 2016-01-12 Alan Modra <amodra@gmail.com>
2837 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2839 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
2841 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2842 xvcmpnesp, xvcmpnesp.>: Delete tests.
2843 * testsuite/gas/ppc/power9.s: Likewise.
2844 * testsuite/gas/ppc/vsx3.d: Likewise.
2845 * testsuite/gas/ppc/vsx3.s: Likewise.
2847 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
2850 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2851 * testsuite/gas/m68k/p13050-1.s: New file.
2852 * testsuite/gas/m68k/p13050-2.d: New file.
2853 * testsuite/gas/m68k/p13050-2.s: New file.
2855 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2857 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2858 * testsuite/gas/arc/add.d: Likewise.
2859 * testsuite/gas/arc/and.d: Likewise.
2860 * testsuite/gas/arc/asl.d: Likewise.
2861 * testsuite/gas/arc/asr.d: Likewise.
2862 * testsuite/gas/arc/bic.d: Likewise.
2863 * testsuite/gas/arc/extb.d: Likewise.
2864 * testsuite/gas/arc/extw.d: Likewise.
2865 * testsuite/gas/arc/j.d: Likewise.
2866 * testsuite/gas/arc/jl.d: Likewise.
2867 * testsuite/gas/arc/ld2.d: Likewise.
2868 * testsuite/gas/arc/lsr.d: Likewise.
2869 * testsuite/gas/arc/mov.d: Likewise.
2870 * testsuite/gas/arc/or.d: Likewise.
2871 * testsuite/gas/arc/pcl-relocs.d: Likewise.
2872 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2873 * testsuite/gas/arc/pic-relocs.d: Likewise.
2874 * testsuite/gas/arc/plt-relocs.d: Likewise.
2875 * testsuite/gas/arc/rlc.d: Likewise.
2876 * testsuite/gas/arc/ror.d: Likewise.
2877 * testsuite/gas/arc/rrc.d: Likewise.
2878 * testsuite/gas/arc/sbc.d: Likewise.
2879 * testsuite/gas/arc/sda-relocs.d: Likewise.
2880 * testsuite/gas/arc/sda-relocs2.d: Likewise.
2881 * testsuite/gas/arc/sexb.d: Likewise.
2882 * testsuite/gas/arc/sexw.d: Likewise.
2883 * testsuite/gas/arc/st.d: Likewise.
2884 * testsuite/gas/arc/sub.d: Likewise.
2885 * testsuite/gas/arc/tls-relocs.d: Likewise.
2886 * testsuite/gas/arc/xor.d: Likewise.
2888 2016-01-01 Alan Modra <amodra@gmail.com>
2890 Update year range in copyright notice of all files.
2892 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2894 Copyright (C) 2016 Free Software Foundation, Inc.
2896 Copying and distribution of this file, with or without modification,
2897 are permitted in any medium without royalty provided the copyright
2898 notice and this notice are preserved.
2904 version-control: never