1 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
4 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
5 * testsuite/gas/i386/x86-64-branch.d: Updated.
6 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
7 * testsuite/gas/i386/x86-64-branch-4.l: New file.
8 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
10 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
12 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
13 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
15 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
17 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
18 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
20 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
22 * configure.tgt: Replace -uclibc with *.
24 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
26 * config/tc-arc.c (parse_opcode_flags): New function.
27 (find_opcode_match): Move flag parsing code out to new function.
28 Ignore operands marked IGNORE.
29 (build_fake_opcode_hash_entry): New function.
30 (find_special_case_long_opcode): New function.
31 (find_special_case): Lookup long opcodes.
32 * testsuite/gas/arc/nps400-7.d: New file.
33 * testsuite/gas/arc/nps400-7.s: New file.
35 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
37 * config/tc-ns32k.c: Remove definition of input_line_pointer.
39 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
41 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
42 sentinal with iteration to array size.
44 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
46 * config/xtensa-relax.h: Move typedefs of enums to the enums
49 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
51 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
54 2016-06-01 Graham Markall <graham.markall@embecosm.com>
56 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
57 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
58 * testsuite/gas/arc/nps-400-1.d: Likewise.
60 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
63 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
64 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
65 noavx512ifma and noavx512vbmi.
66 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
67 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
69 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
70 * testsuite/gas/i386/noavx512-1.l: New file.
71 * testsuite/gas/i386/noavx512-1.s: Likewise.
72 * testsuite/gas/i386/noavx512-2.l: Likewise.
73 * testsuite/gas/i386/noavx512-2.s: Likewise.
75 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
78 * config/tc-i386.c (cpu_arch): Add 687.
79 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
80 nosse4.1, nosse4.2, nosse4 and noavx2.
81 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
82 register. Check cpuregxmm instead of cpusse for XMM register.
83 Check cpuregymm instead of cpuavx for YMM register. Check
84 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
85 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
86 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
87 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
88 * testsuite/gas/i386/arch-10.d (as): Likewise.
89 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
90 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
91 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
93 * testsuite/gas/i386/no87-3.l: New file.
94 * testsuite/gas/i386/no87-3.s: Likewise.
95 * testsuite/gas/i386/noavx-3.l: Likewise.
96 * testsuite/gas/i386/noavx-3.s: Likewise.
97 * testsuite/gas/i386/noavx-4.d: Likewise.
98 * testsuite/gas/i386/noavx-4.s: Likewise.
99 * testsuite/gas/i386/nosse-4.l: Likewise.
100 * testsuite/gas/i386/nosse-4.s: Likewise.
101 * testsuite/gas/i386/nosse-5.d: Likewise.
102 * testsuite/gas/i386/nosse-5.s: Likewise.
104 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
107 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
109 (match_template): Check Intel64/AMD64 ISA.
111 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
114 * config/tc-i386.c (intel64): New.
115 (cpu_flags_match): Set cpuamd64 and cpuintel64.
116 (md_parse_option): Set intel64 instead of cpuamd64 and
119 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
121 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
124 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
126 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
127 * testsuite/gas/ppc/altivec3.s: Likewise.
128 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
129 * testsuite/gas/ppc/power9.s: Likewise.
131 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
133 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
134 * testsuite/gas/i386/noavx-1.l: Likewise.
135 * testsuite/gas/i386/nommx-1.l: Likewise.
136 * testsuite/gas/i386/nosse-1.l: Likewise.
137 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
138 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
139 * testsuite/gas/i386/noavx-1.s: Likewise.
140 * testsuite/gas/i386/nommx-1.s: Likewise.
141 * testsuite/gas/i386/nosse-1.s: Likewise.
142 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
144 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
146 * config/tc-metag.c (metag_handle_align): Make the type of noop
149 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
151 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
152 bfd_reloc_code_real_type.
154 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
157 * config/tc-i386.c (cpu_flags_match): Require another match
159 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
160 x86-64-avx512vl-1 and x86-64-avx512vl-2.
161 * testsuite/gas/i386/avx512vl-1.l: New file.
162 * testsuite/gas/i386/avx512vl-1.s: Likewise.
163 * testsuite/gas/i386/avx512vl-2.l: Likewise.
164 * testsuite/gas/i386/avx512vl-2.s: Likewise.
165 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
166 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
167 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
168 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
170 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
173 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
174 * testsuite/gas/i386/x86-64-pr20141.d: New file.
175 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
177 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
179 * config/tc-i386.c (arch_entry): Remove negated.
180 (noarch_entry): New struct.
181 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
183 (set_cpu_arch): Check cpu_noarch after cpu_arch.
184 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
186 (output_message): New function.
187 (show_arch): Use it. Handle cpu_noarch.
188 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
189 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
190 * testsuite/gas/i386/noavx-1.l: New file.
191 * testsuite/gas/i386/noavx-1.s: Likewise.
192 * testsuite/gas/i386/noavx-2.s: Likewise.
193 * testsuite/gas/i386/noavx-2.l: Likewise.
194 * testsuite/gas/i386/nommx-1.s: Likewise.
195 * testsuite/gas/i386/nommx-1.l: Likewise.
196 * testsuite/gas/i386/nommx-2.s: Likewise.
197 * testsuite/gas/i386/nommx-2.l: Likewise.
198 * testsuite/gas/i386/nommx-3.s: Likewise.
199 * testsuite/gas/i386/nommx-3.l: Likewise.
200 * testsuite/gas/i386/nosse-1.s: Likewise.
201 * testsuite/gas/i386/nosse-1.l: Likewise.
202 * testsuite/gas/i386/nosse-2.s: Likewise.
203 * testsuite/gas/i386/nosse-2.l: Likewise.
204 * testsuite/gas/i386/nosse-3.s: Likewise.
205 * testsuite/gas/i386/nosse-3.l: Likewise.
207 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
210 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
211 instruction if supported by the currently selected fpu variant.
212 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
213 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
215 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
217 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
218 jump relocations against MIPS16 or microMIPS symbols on RELA
220 * testsuite/gas/mips/jalx-local.d: New test.
221 * testsuite/gas/mips/jalx-local-n32.d: New test.
222 * testsuite/gas/mips/jalx-local-n64.d: New test.
223 * testsuite/gas/mips/jalx-local.s: New test source.
224 * testsuite/gas/mips/mips.exp: Run the new tests.
226 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
228 * config/tc-mips.c (md_apply_fix)
229 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
232 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
234 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
235 operator to operatorT.
236 (map_suffix_reloc_to_operator): Change return type to operatorT.
238 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
240 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
242 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
244 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
245 handler_charp to const char *.
247 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
249 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
250 (ft32_target_format): Likewise.
251 (TARGET_FORMAT): Adjust.
253 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
255 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
256 (ia64_frob_label): Likewise.
258 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
260 * config/tc-cr16.c (check_range): Make type of retval op_err.
261 * config/tc-crx.c: Likewise.
263 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
265 * config/tc-arc.c (md_begin): Add XY registers.
266 (cpu_types): Code density is default off for ARC EM.
268 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
270 * config/tc-arc.c (attributes_t): Renamed attribute class to
272 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
274 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
276 * configuse.tgt: Add entry for arm-phoenix.
278 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
280 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
282 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
284 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
286 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
288 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
289 (md_begin): Likewise.
290 (encode_condition): Likewise.
291 (encode_cc3): Likewise.
292 (encode_cc2): Likewise.
293 (encode_operand): Likewise.
294 (tic54x_undefined_symbol): Likewise.
296 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
298 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
300 * doc/c-mips.texi: Document p6600 -march option.
302 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
305 * config/tc-i386.c (md_apply_fix): Preserve addend for
306 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
307 * testsuite/gas/i386/addend.d: New file.
308 * testsuite/gas/i386/addend.s: Likewise.
309 * testsuite/gas/i386/x86-64-addend.d: Likewise.
310 * testsuite/gas/i386/x86-64-addend.s: Likewise.
311 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
312 * testsuite/gas/i386/reloc32.d: Updated.
314 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
316 * config/tc-mips.c (append_insn): Correct the encoding of a
317 constant argument for microMIPS JALX.
318 (tc_gen_reloc): Correct the encoding of an in-place addend for
320 * testsuite/gas/mips/jalx-addend.d: New test.
321 * testsuite/gas/mips/jalx-addend-n32.d: New test.
322 * testsuite/gas/mips/jalx-addend-n64.d: New test.
323 * testsuite/gas/mips/jalx-imm.d: New test.
324 * testsuite/gas/mips/jalx-imm-n32.d: New test.
325 * testsuite/gas/mips/jalx-imm-n64.d: New test.
326 * testsuite/gas/mips/jalx-addend.s: New test source.
327 * testsuite/gas/mips/jalx-imm.s: New test source.
328 * testsuite/gas/mips/mips.exp: Run the new tests.
330 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
332 * config/tc-mips.c: Correct tab-after-space formatting mistakes
335 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
337 * config/tc-arc.c (find_opcode_match): Remove casting away of
339 * config/tc-arc.h (struct arc_flags): Make flgp field const.
341 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
343 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
345 (md_convert_frag): Likewise.
347 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
349 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
350 cached opcode to NULL when we reach a non-matching opcode.
351 * testsuite/gas/arc/asm-errors-2.d: New file.
352 * testsuite/gas/arc/asm-errors-2.err: New file.
353 * testsuite/gas/arc/asm-errors-2.s: New file.
355 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
357 * config/tc-arc.c (tokenize_arguments): Add checks for array
359 * testsuite/gas/arc/asm-errors.s: Addition test line added.
360 * testsuite/gas/arc/asm-errors.err: Update expected results.
362 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
364 * config/tc-rx.c (struct cpu_type): Change the type of a field from
365 int to enum rx_cpu_types.
367 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
369 * config/tc-dlx.c (struct machine_it): change the type of a field from
370 int to bfd_reloc_code_real_type.
371 * config/tc-tic4x.c: Likewise.
373 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
375 * config/tc-v850.c (v850_target_arch): change type to enum
377 * config/tc-v850.h (v850_target_arch): Likewise.
379 2016-05-18 Alan Modra <amodra@gmail.com>
381 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
382 allowed negative range.
383 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
384 * testsuite/gas/ppc/power9.d: Update.
386 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
388 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
389 disassembling and stop skipping targets.
390 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
391 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
392 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
393 instruction for targets that have stronger alignment requirement.
394 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
395 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
396 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
397 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
398 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
399 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
400 * testsuite/gas/arm/archv8m-main.d: Likewise.
401 * testsuite/gas/arm/archv8m.s: Add label.
402 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
403 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
404 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
406 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
408 * config/tc-m32r.c (mach_table): Make static and const.
410 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
412 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
415 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
417 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
419 * config/tc-msp430.c (md_begin): Likewise.
421 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
423 * config/tc-m68hc11.c (fixup8): Change variables type from int to
424 bfd_reloc_code_real_type where appropriate.
426 (fixup8_xg): Likewise.
428 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
430 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
432 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
434 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
435 * testsuite/gas/ppc/power9.s: Likewise.
437 2016-05-13 Alan Modra <amodra@gmail.com>
439 * config/obj-coff.c (weak_uniquify): Delete unused var.
441 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
443 * app.c (app_push): Use XNEW and related macros.
444 * as.c (parse_args): Likewise.
445 * cgen.c (make_right_shifted_expr): Likewise.
446 (gas_cgen_tc_gen_reloc): Likewise.
447 * config/bfin-defs.h: Likewise.
448 * config/bfin-parse.y: Likewise.
449 * config/obj-coff.c (stack_init): Likewise.
450 (stack_push): Likewise.
451 (coff_obj_symbol_new_hook): Likewise.
452 (coff_obj_symbol_clone_hook): Likewise.
453 (add_lineno): Likewise.
454 (coff_frob_symbol): Likewise.
455 * config/obj-elf.c (obj_elf_section_name): Likewise.
456 (build_group_lists): Likewise.
457 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
458 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
459 * config/tc-aarch64.c (insert_reg_alias): Likewise.
460 (find_or_make_literal_pool): Likewise.
461 (add_to_lit_pool): Likewise.
462 (fill_instruction_hash_table): Likewise.
463 * config/tc-alpha.c (load_expression): Likewise.
464 (emit_jsrjmp): Likewise.
465 (s_alpha_ent): Likewise.
466 (s_alpha_end): Likewise.
467 (s_alpha_linkage): Likewise.
468 (md_begin): Likewise.
469 (tc_gen_reloc): Likewise.
470 * config/tc-arc.c (arc_insert_opcode): Likewise.
471 (arc_extcorereg): Likewise.
472 * config/tc-bfin.c: Likewise.
473 * config/tc-cr16.c: Likewise.
474 * config/tc-cris.c: Likewise.
475 * config/tc-crx.c (preprocess_reglist): Likewise.
476 * config/tc-d10v.c: Likewise.
477 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
478 (frv_tomcat_shuffle): Likewise.
479 * config/tc-h8300.c: Likewise.
480 * config/tc-i370.c (i370_macro): Likewise.
481 * config/tc-i386.c (lex_got): Likewise.
482 (md_parse_option): Likewise.
483 * config/tc-ia64.c (alloc_record): Likewise.
484 (set_imask): Likewise.
485 (save_prologue_count): Likewise.
486 (dot_proc): Likewise.
487 (dot_endp): Likewise.
488 (ia64_frob_label): Likewise.
489 (add_qp_imply): Likewise.
490 (add_qp_mutex): Likewise.
491 (mark_resource): Likewise.
492 (dot_alias): Likewise.
493 * config/tc-m68hc11.c: Likewise.
494 * config/tc-m68k.c (m68k_frob_label): Likewise.
496 (mri_control_label): Likewise.
497 (push_mri_control): Likewise.
498 (build_mri_control_operand): Likewise.
499 (s_mri_else): Likewise.
500 (s_mri_break): Likewise.
501 (s_mri_next): Likewise.
502 (s_mri_for): Likewise.
503 (s_mri_endw): Likewise.
504 * config/tc-metag.c (create_mnemonic_htab): Likewise.
505 * config/tc-microblaze.c: Likewise.
506 * config/tc-mmix.c (s_loc): Likewise.
507 * config/tc-nds32.c (nds32_relax_hint): Likewise.
508 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
509 * config/tc-rl78.c: Likewise.
510 * config/tc-rx.c (rx_include): Likewise.
511 * config/tc-sh.c: Likewise.
512 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
513 * config/tc-sparc.c: Likewise.
514 * config/tc-spu.c: Likewise.
515 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
516 (tic6x_start_unwind_section): Likewise.
517 * config/tc-tilegx.c: Likewise.
518 * config/tc-tilepro.c: Likewise.
519 * config/tc-v850.c: Likewise.
520 * config/tc-visium.c: Likewise.
521 * config/tc-xgate.c: Likewise.
522 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
523 (new_resource_table): Likewise.
524 (resize_resource_table): Likewise.
525 (xtensa_create_trampoline_frag): Likewise.
526 (xtensa_maybe_create_literal_pool_frag): Likewise.
527 (cache_literal_section): Likewise.
528 * config/xtensa-relax.c (append_transition): Likewise.
529 (append_condition): Likewise.
530 (append_value_condition): Likewise.
531 (append_constant_value_condition): Likewise.
532 (append_literal_op): Likewise.
533 (append_label_op): Likewise.
534 (append_constant_op): Likewise.
535 (append_field_op): Likewise.
536 (append_user_fn_field_op): Likewise.
537 (enter_opname_n): Likewise.
538 (enter_opname): Likewise.
539 (split_string): Likewise.
540 (parse_insn_templ): Likewise.
541 (clone_req_or_option_list): Likewise.
542 (clone_req_option_list): Likewise.
543 (parse_option_cond): Likewise.
544 (parse_insn_pattern): Likewise.
545 (parse_insn_repl): Likewise.
546 (build_transition): Likewise.
547 (build_transition_table): Likewise.
548 * dw2gencfi.c (alloc_fde_entry): Likewise.
549 (alloc_cfi_insn_data): Likewise.
550 (cfi_add_CFA_remember_state): Likewise.
551 (dot_cfi_escape): Likewise.
552 (dot_cfi_fde_data): Likewise.
553 (select_cie_for_fde): Likewise.
554 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
555 * ecoff.c (ecoff_add_bytes): Likewise.
556 (ecoff_build_debug): Likewise.
557 * input-scrub.c (input_scrub_push): Likewise.
558 (input_scrub_begin): Likewise.
559 (input_scrub_next_buffer): Likewise.
560 * itbl-ops.c (append_insns_as_macros): Likewise.
561 (alloc_entry): Likewise.
562 (alloc_field): Likewise.
563 * listing.c (listing_newline): Likewise.
564 (listing_listing): Likewise.
565 * macro.c (get_any_string): Likewise.
566 (delete_macro): Likewise.
567 * stabs.c (generate_asm_file): Likewise.
568 (stabs_generate_asm_lineno): Likewise.
569 * subsegs.c (subseg_change): Likewise.
570 (subseg_get): Likewise.
571 * symbols.c (define_dollar_label): Likewise.
572 (symbol_relc_make_sym): Likewise.
573 * write.c (write_relocs): Likewise.
575 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
577 * config/obj-coff.c (obj_coff_def): Simplify string copying.
578 (weak_name2altname): Likewise.
579 (weak_uniquify): Likewise.
580 (obj_coff_section): Likewise.
581 (obj_coff_init_stab_section): Likewise.
582 * config/obj-elf.c (obj_elf_section_name): Likewise.
583 (obj_elf_init_stab_section): Likewise.
584 * config/obj-evax.c (evax_shorten_name): Likewise.
585 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
586 * config/tc-aarch64.c (create_register_alias): Likewise.
587 * config/tc-alpha.c (load_expression): Likewise.
588 (s_alpha_file): Likewise.
589 (s_alpha_section_name): Likewise.
590 (tc_gen_reloc): Likewise.
591 * config/tc-arc.c (md_assemble): Likewise.
592 * config/tc-arm.c (create_neon_reg_alias): Likewise.
593 (start_unwind_section): Likewise.
594 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
595 (hppa_elf_mark_end_of_function): Likewise.
596 * config/tc-nios2.c (nios2_modify_arg): Likewise.
597 (nios2_negate_arg): Likewise.
598 * config/tc-rx.c (rx_section): Likewise.
599 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
600 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
601 * config/tc-tic54x.c (tic54x_include): Likewise.
602 (tic54x_macro_info): Likewise.
603 (subsym_get_arg): Likewise.
604 (subsym_substitute): Likewise.
605 (tic54x_start_line_hook): Likewise.
606 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
607 (xg_reverse_shift_count): Likewise.
608 * config/xtensa-relax.c (enter_opname_n): Likewise.
609 (split_string): Likewise.
610 * dwarf2dbg.c (get_filenum): Likewise.
611 (process_entries): Likewise.
612 * expr.c (operand): Likewise.
613 * itbl-ops.c (alloc_entry): Likewise.
614 * listing.c (listing_message): Likewise.
615 (listing_title): Likewise.
616 * macro.c (check_macro): Likewise.
617 * stabs.c (s_xstab): Likewise.
618 * symbols.c (symbol_relc_make_expr): Likewise.
619 * write.c (compress_debug): Likewise.
621 2016-05-12 Nick Clifton <nickc@redhat.com>
624 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
626 2016-05-11 Nick Clifton <nickc@redhat.com>
629 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
630 big endian ARM configurations.
632 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
633 Matthew Fortune <matthew.fortune@imgtec.com>
635 * config/tc-mips.c (options): Add OPTION_DSPR3 and
637 (md_longopts): Likewise.
638 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
639 (mips_ases): Define availability for DSPr3.
640 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
641 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
642 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
644 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
645 .set nodspr3. Fix -mdspr2 formatting.
646 * testsuite/gas/mips/mips32-dspr3.d: New file.
647 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
648 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
650 2016-05-11 Nick Clifton <nickc@redhat.com>
653 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
654 to the pool uses O_constant.
655 * testsuite/gas/arm/pr20068.s: New test.
656 * testsuite/gas/arm/pr20068.d: Test driver.
658 2016-05-11 Nick Clifton <nickc@redhat.com>
660 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
661 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
662 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
663 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
664 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
665 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
666 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
667 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
668 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
670 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
672 * testsuite/gas/i386/i386.exp: Run RDPID tests.
673 * testsuite/gas/i386/prefix.d: Adjust.
674 * testsuite/gas/i386/rdpid.s: New test.
675 * testsuite/gas/i386/rdpid.d: Ditto.
676 * testsuite/gas/i386/rdpid-intel.d: Ditto.
677 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
678 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
679 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
681 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
683 * config/tc-i386.c (cpu_arch): Add RDPID.
684 * doc/c-i386.texi: Document RDPID.
686 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
688 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
689 set branch type of a symbol.
691 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
693 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
694 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
696 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
697 (aeabi_set_public_attributes): Memorize the feature bits of the
698 architecture selected for Tag_CPU_arch. Use it to set
699 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
700 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
701 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
702 * testsuite/gas/arm/arch7em-bad-1.d: This.
703 * testsuite/gas/arm/arch7em-bad-2.d: New file.
704 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
705 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
706 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
707 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
708 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
709 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
710 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
712 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
714 * config/tc-arm.c (struct arm_option_extension_value_table): Make
715 allowed_archs an array with 2 entries.
716 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
717 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
718 (arm_extensions): Use separate entries in allowed_archs when several
719 archs are allowed to use an extension and change ARCH_ANY in
720 ARM_ARCH_NONE in allowed_archs.
721 (arm_parse_extension): Check that, for each allowed_archs entry, all
722 bits are set in the current architecture, ignoring ARM_ANY entries.
723 (s_arm_arch_extension): Likewise.
725 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
727 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
728 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
729 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
730 shared with a non M profile architecture.
731 (do_rn): New function.
732 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
734 (v7m_psrs): Add ARMv8-M security extensions new special registers.
735 (insns): Add ARMv8-M Security Extensions instructions.
736 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
737 arm_ext_v8m_m to decide the profile and the Thumb ISA.
738 * testsuite/gas/arm/archv8m-cmse.s: New file.
739 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
740 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
741 * testsuite/gas/arm/any-cmse.d: Likewise.
742 * testsuite/gas/arm/any-cmse-main.d: Likewise.
743 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
744 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
745 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
746 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
747 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
749 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
751 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
752 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
754 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
756 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
757 (fpu_arch_vfp_v3): Likewise.
758 (fpu_arch_neon_v1): Likewise.
759 (arm_arch_full): Likewise.
760 (parse_neon_el_struct_list): Initialize fields of firsttype.
762 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
764 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
765 (arc_extinsn): Handle new introduced syntax.
766 * testsuite/gas/arc/textinsn1op.d: New file.
767 * testsuite/gas/arc/textinsn1op.s: Likewise.
768 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
770 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
772 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
773 DW_LNS_fixed_advance_pc.
775 2016-04-27 Alan Modra <amodra@gmail.com>
777 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
778 (xmemdup0): New inline function.
780 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
782 * config/tc-mips.c (code_option_type): New enum.
783 (parse_code_option): Return status indicating option type.
784 (s_mipsset): Update `parse_code_option' call site accordingly.
785 Always set register sizes from the ISA with ISA overrides.
786 (s_module): Update `parse_code_option' call site.
787 * testsuite/gas/mips/isa-override-1.d: New test.
788 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
789 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
790 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
791 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
792 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
793 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
794 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
795 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
796 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
797 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
798 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
799 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
800 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
801 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
802 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
803 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
804 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
805 * testsuite/gas/mips/isa-override-2.l: New list test.
806 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
807 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
808 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
809 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
810 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
811 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
812 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
813 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
814 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
815 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
816 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
818 * testsuite/gas/mips/isa-override-1.s: New test source.
819 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
820 * testsuite/gas/mips/isa-override-2.s: New test source.
821 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
822 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
823 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
824 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
825 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
826 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
827 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
828 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
829 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
830 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
831 * testsuite/gas/mips/mips.exp: Run the new tests.
833 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
836 * config/tc-bfin.c: Likewise.
837 * config/tc-ia64.c: Likewise.
838 * config/tc-mep.c: Likewise.
839 * config/tc-metag.c: Likewise.
840 * config/tc-nios2.c: Likewise.
841 * config/tc-rl78.c: Likewise.
843 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
845 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
846 -mcpu. Add cross reference to .cpu directive from -mcpu option.
847 (ARC Directives): Add NPS400 to .cpu directive list.
849 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
851 * config/tc-aarch64.c (aarch64_features): Add "ras".
852 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
853 * testsuite/gas/aarch64/armv8-ras-1.d: New.
854 * testsuite/gas/aarch64/armv8-ras-1.s: New.
855 * testsuite/gas/aarch64/illegal-ras-1.d: New.
856 * testsuite/gas/aarch64/illegal-ras-1.s: New.
858 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
860 * testsuite/gas/arc/nps400-6.d: New file.
861 * testsuite/gas/arc/nps400-6.s: New file.
863 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
865 * testsuite/gas/arc/nps400-4.d: New file.
866 * testsuite/gas/arc/nps400-4.s: New file.
867 * testsuite/gas/arc/nps400-5.d: New file.
868 * testsuite/gas/arc/nps400-5.s: New file.
870 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
872 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
875 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
877 Revert prevous change.
878 * config/tc-arc.c (arc_option): Make .cpu directive
879 case-sensitive again.
881 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
883 * config/tc-arc.c (arc_option): Make .cpu directive
886 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
888 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
890 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
892 * config/tc-mips.c (md_begin): Remove useless assignment.
894 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
896 * Makefile.in: Regenerated with automake 1.11.6.
897 * aclocal.m4: Likewise.
898 * doc/Makefile.in: Likewise.
900 2016-04-15 Alan Modra <amodra@gmail.com>
902 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
904 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
906 * config/tc-nios2.c (nios2_as_options): Make file static.
907 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
908 * config/tc-sparc.c (native_op_table): Likewise.
910 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
912 * config/tc-m32c.c (M32C_Macros): Remove.
913 * config/tc-msp430.c (option_numbers): Likewise.
915 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
917 * testsuite/gas/arc/nps400-3.d: New file.
918 * testsuite/gas/arc/nps400-3.s: New file.
920 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
922 * testsuite/gas/arc/add_s-err.s: Update target pattern.
923 * testsuite/gas/arc/warn.s: Likewise.
924 * testsuite/gas/elf/elf.exp: Run test for arc.
926 2016-04-14 Nick Clifton <nickc@redhat.com>
929 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
930 sections possibly having the SHF_STRINGS flag bit set.
931 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
933 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
935 * config/tc-arc.c (mach_type_specified_p): Change type to
937 (arc_option): Set private flags when parsing cpu pseudo-op.
938 (md_parse_option): Set mach_type_specified_p to TRUE.
940 2016-04-13 Nick Clifton <nickc@redhat.com>
943 * testsuite/gas/v850/pr19937.s: New test.
944 * testsuite/gas/v850/pr19937.d: New test control file.
945 * testsuite/gas/v850/basic.exp: Run the new test.
947 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
948 Andrew Bennett <andrew.bennett@imgtec.com>
950 * config/tc-mips.c (relaxed_branch_length): Use the long
951 sequence where the target is a weak symbol.
952 (relaxed_micromips_32bit_branch_length): Likewise.
953 (relaxed_micromips_16bit_branch_length): Likewise.
954 * testsuite/gas/mips/branch-weak-1.d: New test.
955 * testsuite/gas/mips/branch-weak-2.d: New test.
956 * testsuite/gas/mips/branch-weak-3.d: New test.
957 * testsuite/gas/mips/branch-weak-4.d: New test.
958 * testsuite/gas/mips/branch-weak-5.d: New test.
959 * testsuite/gas/mips/branch-weak.l: New stderr output.
960 * testsuite/gas/mips/branch-weak.s: New test source.
961 * testsuite/gas/mips/mips.exp: Run the new tests.
963 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
965 * config/tc-mips.c (relaxed_branch_length): Use the long
966 sequence where the distance cannot be determined.
967 (relaxed_micromips_32bit_branch_length): Likewise.
968 * testsuite/gas/mips/branch-extern-1.d: New test.
969 * testsuite/gas/mips/branch-extern-2.d: New test.
970 * testsuite/gas/mips/branch-extern-3.d: New test.
971 * testsuite/gas/mips/branch-extern-4.d: New test.
972 * testsuite/gas/mips/branch-extern.l: New stderr output.
973 * testsuite/gas/mips/branch-extern.s: New test source.
974 * testsuite/gas/mips/branch-section-1.d: New test.
975 * testsuite/gas/mips/branch-section-2.d: New test.
976 * testsuite/gas/mips/branch-section-3.d: New test.
977 * testsuite/gas/mips/branch-section-4.d: New test.
978 * testsuite/gas/mips/branch-section.l: New stderr output.
979 * testsuite/gas/mips/branch-section.s: New test source.
980 * testsuite/gas/mips/mips.exp: Run the new tests.
982 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
984 * testsuite/gas/arc/textauxregister.d: New file.
985 * testsuite/gas/arc/textauxregister.s: Likewise.
986 * testsuite/gas/arc/textcondcode.d: Likewise.
987 * testsuite/gas/arc/textcondcode.s: Likewise.
988 * testsuite/gas/arc/textcoreregister.d: Likewise.
989 * testsuite/gas/arc/textcoreregister.s: Likewise.
990 * testsuite/gas/arc/textpseudoop.d: Likewise.
991 * testsuite/gas/arc/textpseudoop.s: Likewise.
992 * testsuite/gas/arc/ld2.d: Update test.
993 * testsuite/gas/arc/st.d: Likewise.
994 * testsuite/gas/arc/taux.d: Likewise.
995 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
996 .extCoreRegister and .extAuxRegister documentation.
997 * config/tc-arc.c (arc_extcorereg): New function.
998 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
999 .extAuxRegister pseudo-ops.
1000 (extRegister_t): New type.
1001 (ext_condcode, arc_aux_hash): New global variable.
1002 (find_opcode_match): Check for extensions.
1003 (preprocess_operands): Likewise.
1004 (md_begin): Add aux registers in a hash.
1005 (assemble_insn): Update use arc_flags member.
1006 (tokenize_extregister): New function.
1007 (create_extcore_section): Likewise.
1008 * config/tc-arc.h (arc_flags): Delete code, add flgp.
1010 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1012 * testsuite/gas/arc/noargs_a7.d: New file.
1013 * testsuite/gas/arc/noargs_a7.s: Likewise.
1014 * testsuite/gas/arc/noargs_hs.d: Likewise.
1015 * testsuite/gas/arc/noargs_hs.s: Likewise.
1017 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1019 * testsuite/gas/arc/textinsn-errors.d: New File.
1020 * testsuite/gas/arc/textinsn-errors.err: Likewise.
1021 * testsuite/gas/arc/textinsn-errors.s: Likewise.
1022 * testsuite/gas/arc/textinsn2op.d: Likewise.
1023 * testsuite/gas/arc/textinsn2op.s: Likewise.
1024 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1025 * testsuite/gas/arc/textinsn2op01.s: Likewise.
1026 * testsuite/gas/arc/textinsn3op.d: Likewise.
1027 * testsuite/gas/arc/textinsn3op.s: Likewise.
1028 * doc/c-arc.texi (ARC Directives): Add .extInstruction
1030 * config/tc-arc.c (arcext_section): New variable.
1031 (arc_extinsn): New function.
1032 (md_pseudo_table): Add .extInstruction pseudo op.
1033 (attributes_t): New type.
1034 (suffixclass, syntaxclass, syntaxclassmod): New constant
1036 (find_opcode_match): Remove arc_num_opcodes.
1037 (md_begin): Likewise.
1038 (tokenize_extinsn): New function.
1039 (arc_set_ext_seg): Likewise.
1040 (create_extinst_section): Likewise.
1042 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1044 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
1045 (arc_adjust_symtab): New function.
1046 * config/tc-arc.h (ARC_FLAG_AUX): Define.
1047 (obj_adjust_symtab): Likewise.
1048 * testsuite/gas/arc/taux.d: New file.
1049 * testsuite/gas/arc/taux.s: Likewise.
1051 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1053 * config/tc-mips.c (s_option): Sanitize `.option picX'
1055 * testsuite/gas/mips/option-pic-1.d: New test.
1056 * testsuite/gas/mips/option-pic-2.l: New list test.
1057 * testsuite/gas/mips/option-pic-1.s: New test source.
1058 * testsuite/gas/mips/option-pic-2.s: New test source.
1059 * testsuite/gas/mips/mips.exp: Run the new tests.
1061 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1063 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
1065 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
1066 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
1067 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
1068 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
1069 * testsuite/gas/mips/mips.exp: Run the new tests.
1071 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1073 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
1075 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1077 * messages.c (as_bad): Fix a typo in description.
1079 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1081 * config/tc-mips.c (mips_check_options): Unify messages.
1083 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1085 * config/tc-mips.c (mips_check_options): Use `opts->isa'
1088 2016-04-08 Nick Clifton <nickc@redhat.com>
1091 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
1092 COFF and AOUT sparc targets.
1094 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1096 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
1097 * testsuite/gas/arc/nps400-2.d: New file.
1098 * testsuite/gas/arc/nps400-2.s: New file.
1100 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1102 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
1104 (arc_opcode_hash_entry_iterator_init): New function.
1105 (arc_opcode_hash_entry_iterator_next): New function.
1106 (find_opcode_match): Iterate over all arc_opcode entries
1107 referenced by the arc_opcode_hash_entry passed in as a parameter.
1109 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1111 * config/tc-arc.c (arc_find_opcode): Now returns
1112 arc_opcode_hash_entry pointer.
1113 (find_opcode_match): Update argument type, extract arc_opcode from
1114 incoming arc_opcode_hash_entry.
1115 (find_special_case_pseudo): Update return type.
1116 (find_special_case_flag): Update return type.
1117 (find_special_case): Update return type.
1118 (assemble_tokens): Lookup arc_opcode_hash_entry based on
1119 instruction mnemonic, then use find_opcode_match to identify
1120 specific arc_opcode.
1122 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1124 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
1125 (arc_find_opcode): New function.
1126 (find_special_case_pseudo): Use arc_find_opcode.
1127 (find_special_case_flag): Likewise.
1128 (assemble_tokens): Likewise.
1129 (md_begin): Build hash using struct arc_opcode_hash_entry.
1131 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
1133 * config/tc-arc.c (arc_option): Prepare string for automatic
1135 (declare_register): Likewise.
1137 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
1139 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1140 Correct entry for RDMA. Alpha sort entries.
1142 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1144 * config/tc-arc.c (tokenize_flags): Allow greater range of
1145 characters into flag names.
1147 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1149 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1151 (preprocess_operands): Delete.
1152 (assemble_tokens): Remove call to preprocess_operands.
1154 2016-04-07 Nick Clifton <nickc@redhat.com>
1157 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1158 inside a %-macro could not be fully parsed.
1159 * expr.c (integer_constant): Accept and ignore U suffixes to
1161 (operand): When a missing closing parenthesis is encountered,
1162 report the character that was found instead.
1163 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1164 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1165 * testsuite/gas/sparc/pr19910-1.s: New test.
1166 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1167 * testsuite/gas/sparc/pr19910-2.s: New test.
1168 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1170 2016-04-06 Nick Clifton <nickc@redhat.com>
1172 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1173 an EINT instruction. Warn/fix as necessary.
1174 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1175 * testsuite/gas/msp430/bad.l: Update expected messages.
1177 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1179 * testsuite/gas/arc/nps400-1.d: Update expected results.
1180 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1182 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1184 * config/tc-arc.c (is_code_density_p): Compare directly the
1186 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1187 (check_cpu_feature): New function.
1188 (find_opcode_match): Use check_cpu_feature function.
1189 (preprocess_operands): Likewise.
1190 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1191 * testsuite/gas/arc/tdpfp.d: New file.
1192 * testsuite/gas/arc/tfpuda.d: Likewise.
1193 * testsuite/gas/arc/tfpx.s: Likewise.
1195 2016-04-05 Jiong Wang <jiong.wang@arm.com>
1197 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1198 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1199 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1200 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1201 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1202 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1203 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
1204 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1206 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1208 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1210 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
1211 JUMP instructions type.
1212 * testsuite/gas/arc/relocs-errors.d: New file.
1213 * testsuite/gas/arc/relocs-errors.err: Likewise.
1214 * testsuite/gas/arc/relocs-errors.s: Likewise.
1216 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1219 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1220 only if i.disp_encoding != disp_encoding_32bit.
1221 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1222 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1223 * gas/testsuite/gas/i386/disp32.d: Updated.
1224 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1226 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1229 * testsuite/gas/i386/i386.exp: Run pr19498.
1230 * testsuite/gas/i386/pr19498.d: New file.
1231 * testsuite/gas/i386/pr19498.s: Likewise.
1233 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1235 * config/tc-arc.h: Include 'opcode/arc.h'.
1236 (MAX_INSN_ARGS): Delete.
1237 (MAX_INSN_FLGS): Delete.
1239 2016-04-04 Alan Modra <amodra@gmail.com>
1242 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1243 from function on all paths that set sy_resolving.
1245 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1247 * app.c (app_push): use XNEW macro.
1249 * config/obj-elf.c (obj_elf_change_section): Likewise.
1250 (elf_copy_symbol_attributes): Likewise.
1251 (obj_elf_size): Likewise.
1252 (build_group_lists): Likewise.
1253 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1254 (md_assemble): Likewise.
1255 (tc_gen_reloc): Likewise.
1256 (get_upper_str): Likewise.
1257 (aarch64_parse_features): Likewise.
1258 * config/tc-arm.c (insert_reg_alias): Likewise.
1259 (insert_neon_reg_alias): Likewise.
1260 (find_or_make_literal_pool): Likewise.
1261 (s_arm_elf_cons): Likewise.
1262 (add_unwind_opcode): Likewise.
1263 (arm_parse_extension): Likewise.
1264 * config/tc-avr.c (create_record_for_frag): Likewise.
1265 * config/tc-crx.c: Likewise.
1266 * config/tc-d30v.c: Likewise.
1267 * config/tc-dlx.c (s_proc): Likewise.
1268 * config/tc-ft32.c: Likewise.
1269 * config/tc-h8300.c: Likewise.
1270 * config/tc-hppa.c (pa_proc): Likewise.
1271 (create_new_space): Likewise.
1272 (create_new_subspace): Likewise.
1273 * config/tc-i860.c: Likewise.
1274 * config/tc-i960.c: Likewise.
1275 * config/tc-ia64.c: Likewise.
1276 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1277 (iq2000_record_hi16): Likewise.
1278 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1279 * config/tc-m32r.c (debug_sym): Likewise.
1280 (m32r_record_hi16): Likewise.
1281 * config/tc-m68k.c (m68k_ip): Likewise.
1282 (md_begin): Likewise.
1283 * config/tc-mcore.c: Likewise.
1284 * config/tc-microblaze.c (check_got): Likewise.
1285 * config/tc-mips.c (append_insn): Likewise.
1286 (s_mipsset): Likewise.
1287 (mips_record_label): Likewise.
1288 (s_mips_end): Likewise.
1289 * config/tc-mmix.c (mmix_frob_file): Likewise.
1290 * config/tc-mn10200.c: Likewise.
1291 * config/tc-mn10300.c: Likewise.
1292 * config/tc-moxie.c: Likewise.
1293 * config/tc-msp430.c: Likewise.
1294 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1295 * config/tc-ns32k.c: Likewise.
1296 * config/tc-or1k.c: Likewise.
1297 * config/tc-pdp11.c: Likewise.
1298 * config/tc-pj.c (fake_opcode): Likewise.
1299 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1300 (ppc_macro): Likewise.
1301 (ppc_dwsect): Likewise.
1302 (ppc_machine): Likewise.
1303 * config/tc-rl78.c (rl78_frag_init): Likewise.
1304 * config/tc-rx.c (rx_frag_init): Likewise.
1305 * config/tc-s390.c (s390_lit_suffix): Likewise.
1306 (s390_machine): Likewise.
1307 (s390_machinemode): Likewise.
1308 * config/tc-score.c (s3_insert_reg): Likewise.
1309 (s3_gen_reloc): Likewise.
1310 * config/tc-score7.c (s7_insert_reg): Likewise.
1311 (s7_gen_reloc): Likewise.
1312 * config/tc-tic30.c (tic30_operand): Likewise.
1313 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1314 * config/tc-tic54x.c (stag_add_field): Likewise.
1315 (tic54x_struct): Likewise.
1316 (tic54x_space): Likewise.
1317 (tic54x_field): Likewise.
1318 (tic54x_mlib): Likewise.
1319 (subsym_substitute): Likewise.
1320 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1321 * config/tc-vax.c: Likewise.
1322 * config/tc-xc16x.c: Likewise.
1323 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1324 (directive_push): Likewise.
1325 (xtensa_begin_directive): Likewise.
1326 (tokenize_arguments): Likewise.
1327 (xtensa_add_literal_sym): Likewise.
1328 (new_resource_table): Likewise.
1329 (resize_resource_table): Likewise.
1330 (emit_single_op): Likewise.
1331 (xtensa_create_trampoline_frag): Likewise.
1332 (xtensa_maybe_create_literal_pool_frag): Likewise.
1333 (xtensa_add_config_info): Likewise.
1334 (xtensa_realloc_fixup_cache): Likewise.
1335 (add_subseg_info): Likewise.
1336 (cache_literal_section): Likewise.
1337 (add_xt_block_frags): Likewise.
1338 (add_xt_prop_frags): Likewise.
1339 (init_op_placement_info_table): Likewise.
1340 (build_section_rename): Likewise.
1341 * config/tc-z80.c: Likewise.
1342 * config/tc-z8k.c: Likewise.
1343 * depend.c (register_dependency): Likewise.
1344 * dwarf2dbg.c (get_line_subseg): Likewise.
1345 (dwarf2_gen_line_info_1): Likewise.
1346 (get_filenum): Likewise.
1347 * ecoff.c (allocate_scope): Likewise.
1348 (allocate_vlinks): Likewise.
1349 (allocate_shash): Likewise.
1350 (allocate_thash): Likewise.
1351 (allocate_tag): Likewise.
1352 (allocate_forward): Likewise.
1353 (allocate_thead): Likewise.
1354 (allocate_lineno_list): Likewise.
1355 * expr.c (make_expr_symbol): Likewise.
1356 * hash.c (hash_new_sized): Likewise.
1357 * input-file.c (input_file_push): Likewise.
1358 * listing.c (file_info): Likewise.
1359 (listing_newline): Likewise.
1360 * macro.c (new_formal): Likewise.
1361 (define_macro): Likewise.
1362 * remap.c (add_debug_prefix_map): Likewise.
1363 * symbols.c (symbol_find_noref): Likewise.
1364 (define_dollar_label): Likewise.
1365 (fb_label_instance_inc): Likewise.
1366 (symbol_relc_make_value): Likewise.
1368 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1370 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1371 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1372 (ppc_znop): Likewise.
1373 (ppc_pe_section): Likewise.
1374 (ppc_frob_symbol): Likewise.
1375 * config/tc-tic30.c (tic30_operand): Likewise.
1376 * config/tc-tic4x.c (tic4x_sect): Likewise.
1377 (tic4x_usect): Likewise.
1379 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1381 * config/tc-alpha.c: Const qualify FLT_CHARS.
1382 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1383 * config/tc-cris.h: Likewise.
1385 * config/tc-mmix.c (md_atof): Adjust comment.
1386 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1387 * tc.h: Declare FLT_CHARS and EXP_CHARS.
1389 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1391 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1392 * config/tc-score7.c (s7_gen_reloc): Likewise.
1394 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1396 * config/tc-arm.c (do_t_branch): Change the type of reloc to
1397 bfd_reloc_code_real_type.
1399 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1401 * config/bfin-parse.y (current_inputline): Remove definition.
1402 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1404 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1406 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1409 2016-04-02 Alan Modra <amodra@gmail.com>
1412 * read.c (assign_symbol): Consume rest of line after an error
1413 rather than continuing to process the line.
1415 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1417 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1418 (MAX_FLAG_NAME_LENGTH): ...this.
1419 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1420 * config/tc-arc.c (tokenize_flags): Likewise.
1422 2016-04-01 Alan Modra <amodra@gmail.com>
1424 * cgen.c (weak_operand_overflow_check): Return const char*.
1425 * messages.c (as_internal_value_out_of_range): Formatting.
1426 (as_warn_value_out_of_range): Consify prefix param.
1427 (as_bad_value_out_of_range): Likewise.
1428 * read.c (s_errwarn): Constify msg..
1429 (s_float_space, float_cons): ..and err.
1430 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
1431 ieee_md_atof, vax_md_atof): Update prototypes.
1432 * tc.h (md_atof): Update prototype.
1433 * config/atof-ieee.c (ieee_md_atof): Return const char*.
1434 * config/atof-vax.c (vax_md_atof): Likewise.
1435 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
1436 * config/tc-aarch64.c (md_atof): Return const char*.
1437 * config/tc-alpha.c (s_alpha_section_name): Likewise.
1438 (s_alpha_comm): Constify sec_name.
1439 (section_name): Constify.
1440 (s_alpha_section): Consify name..
1441 (alpha_elf_section_letter): ..and ptr_msg param..
1442 (md_atof): ..and return.
1443 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
1444 * config/tc-arc.c (md_atof): Return const char*.
1445 * config/tc-arm.c (md_atof): Likewise.
1446 * config/tc-avr.c (md_atof): Likewise.
1447 * config/tc-bfin.c (md_atof): Likewise.
1448 * config/tc-cr16.c (md_atof): Likewise.
1449 * config/tc-cris.c (md_atof): Likewise.
1450 * config/tc-crx.c (md_atof): Likewise.
1451 * config/tc-d10v.c (md_atof): Likewise.
1452 * config/tc-d30v.c (md_atof): Likewise.
1453 * config/tc-dlx.c (md_atof): Likewise.
1454 * config/tc-epiphany.c (md_atof): Likewise.
1455 * config/tc-fr30.c (md_atof): Likewise.
1456 * config/tc-frv.c (md_atof): Likewise.
1457 * config/tc-ft32.c (md_atof): Likewise.
1458 * config/tc-h8300.c (md_atof): Likewise.
1459 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
1460 (struct default_space_dict): Likewise.
1461 (create_new_space): Constify name param.
1462 (create_new_subspace): Likewise.
1463 (is_defined_space, is_defined_subspace): Likewise.
1464 (pa_parse_space_stmt): Constify space_name param.
1465 (md_atof): Return const char*.
1466 (pa_spaces_begin): Constify name.
1467 * config/tc-i370.c (md_atof): Return const char*.
1468 * config/tc-i386.c (md_atof): Likewise.
1469 (x86_64_section_letter): Constify ptr_msg param.
1470 * config/tc-i386.h (x86_64_section_letter): Update prototype.
1471 * config/tc-i860.c (struct i860_it): Constify error.
1472 (md_atof): Return const char*.
1473 * config/tc-i960.c (md_atof): Likewise.
1474 * config/tc-ia64.c (md_atof): Likewise.
1475 (ia64_elf_section_letter): Constify ptr_msg param.
1476 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
1477 * config/tc-ip2k.c (md_atof): Return const char*.
1478 * config/tc-iq2000.c (md_atof): Likewise.
1479 * config/tc-lm32.c (md_atof): Likewise.
1480 * config/tc-m32c.c (md_atof): Likewise.
1481 * config/tc-m32r.c (md_atof): Likewise.
1482 * config/tc-m68hc11.c (md_atof): Likewise.
1483 * config/tc-m68k.c (md_atof): Likewise.
1484 * config/tc-mcore.c (md_atof): Likewise.
1485 * config/tc-mep.c (md_atof): Likewise.
1486 (mep_elf_section_letter): Constify ptr_msg param.
1487 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
1488 * config/tc-metag.c (md_atof): Return const char*.
1489 * config/tc-microblaze.c (md_atof): Likewise.
1490 * config/tc-microblaze.h (md_atof): Delete prototype.
1491 * config/tc-mips.c (mips_parse_argument_token): Constify err.
1492 (md_atof): Return const char*.
1493 * config/tc-mmix.c (md_atof): Likewise.
1494 * config/tc-mn10200.c (md_atof): Likewise.
1495 * config/tc-mn10300.c (md_atof): Likewise.
1496 * config/tc-moxie.c (md_atof): Likewise.
1497 * config/tc-msp430.c (md_atof): Likewise.
1498 * config/tc-mt.c (md_atof): Likewise.
1499 * config/tc-nds32.c (md_atof): Likewise.
1500 * config/tc-nios2.c (md_atof): Likewise.
1501 (nios2_elf_section_letter): Constify ptr_msg param.
1502 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
1503 * config/tc-ns32k.c (md_atof): Return const char*.
1504 * config/tc-or1k.c (md_atof): Likewise.
1505 * config/tc-pdp11.c (struct pdp11_code): Constify error.
1506 (md_atof): Return const char*.
1507 * config/tc-pj.c (md_atof): Likewise.
1508 * config/tc-ppc.c (md_atof): Likewise.
1509 * config/tc-rl78.c (md_atof): Likewise.
1510 * config/tc-rx.c (md_atof): Likewise.
1511 * config/tc-s390.c (md_atof): Likewise.
1512 * config/tc-score.c (s3_atof, md_atof): Likewise.
1513 * config/tc-sh.c (md_atof): Likewise.
1514 * config/tc-sparc.c (struct sparc_it): Constify error.
1515 (md_atof): Return const char*.
1516 * config/tc-spu.c (md_atof): Likewise.
1517 * config/tc-tic30.c (md_atof): Likewise.
1518 * config/tc-tic4x.c (md_atof): Likewise.
1519 * config/tc-tic54x.c (md_atof): Likewise.
1520 * config/tc-tic6x.c (md_atof): Likewise.
1521 * config/tc-tilegx.c (md_atof): Likewise.
1522 * config/tc-tilepro.c (md_atof): Likewise.
1523 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
1524 * config/tc-vax.c (md_atof): Likewise.
1525 * config/tc-visium.c (md_atof): Likewise.
1526 * config/tc-xc16x.c (md_atof): Likewise.
1527 * config/tc-xgate.c (md_atof): Likewise.
1528 * config/tc-xstormy16.c (md_atof): Likewise.
1529 * config/tc-xtensa.c (md_atof): Likewise.
1530 * config/tc-z80.c (md_atof): Likewise.
1531 * config/tc-z8k.c (md_atof): Likewise.
1533 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1535 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
1537 (xtensa_section_rename): Make argument type const char *.
1538 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
1540 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1542 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
1545 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1547 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
1549 (m32c_indirect_operand): Likewise.
1550 * config/tc-nds32.c (do_pseudo_b): Likewise.
1551 (do_pseudo_bal): Likewise.
1552 (do_pseudo_ls_bhw): Likewise.
1554 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1556 * as.c (parse_args): Cast literal to char * when assigning to optarg.
1558 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1560 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
1562 * config/tc-sparc.c (s_register): Cast a literal to char * in
1565 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1567 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
1569 * config/tc-m32r.c (expand_debug_syms): Likewise.
1570 * config/tc-msp430.c (msp430_dstoperand): Likewise.
1571 * config/tc-z80.c (md_begin): Likewise.
1572 * stabs.c (stabs_generate_asm_func): Likewise.
1574 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1576 * cgen.c: Modernize the way functions declare arguments.
1577 * config/tc-bfin.c: Likewise.
1578 * config/tc-pdp11.c: Likewise.
1579 * literal.c: Likewise.
1581 * stabs.c: Likewise.
1583 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1585 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1586 variables unsigned char[].
1587 * config/tc-alpha.c (alpha_handle_align): Likewise.
1588 * config/tc-arm.c (arm_handle_align): Likewise.
1589 * config/tc-z80.c: Likewise.
1591 2016-03-30 Nick Clifton <nickc@redhat.com>
1594 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1597 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1599 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1600 * testsuite/gas/elf/elf.exp: Likewise.
1601 * testsuite/gas/all/redef3.d: Allow execution for ARC.
1603 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1605 * testsuite/gas/arc/warn.exp: Fix matching pattern.
1607 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
1609 * testsuite/gas/arc/ext2op.d: New file.
1610 * testsuite/gas/arc/ext2op.s: Likewise.
1611 * testsuite/gas/arc/ext3op.d: Likewise.
1612 * testsuite/gas/arc/ext3op.s: Likewise.
1614 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1616 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1618 * config/tc-alpha.c (md_parse_option): Likewise.
1619 * config/tc-arc.c (md_parse_option): Likewise.
1620 * config/tc-arm.c (struct arm_long_option_table): Likewise.
1621 (md_parse_option): Likewise.
1622 * config/tc-avr.c (md_parse_option): Likewise.
1623 * config/tc-bfin.c (md_parse_option): Likewise.
1624 * config/tc-cr16.c (md_parse_option): Likewise.
1625 * config/tc-cris.c (s_cris_arch): Likewise.
1626 (md_parse_option): Likewise.
1627 * config/tc-crx.c (md_parse_option): Likewise.
1628 * config/tc-d10v.c (md_parse_option): Likewise.
1629 * config/tc-d30v.c (md_parse_option): Likewise.
1630 * config/tc-dlx.c (md_parse_option): Likewise.
1631 * config/tc-epiphany.c (md_parse_option): Likewise.
1632 * config/tc-fr30.c (md_parse_option): Likewise.
1633 * config/tc-frv.c (md_parse_option): Likewise.
1634 * config/tc-ft32.c (md_parse_option): Likewise.
1635 * config/tc-h8300.c (md_parse_option): Likewise.
1636 * config/tc-hppa.c (md_parse_option): Likewise.
1637 * config/tc-i370.c (md_parse_option): Likewise.
1638 * config/tc-i386.c (md_parse_option): Likewise.
1639 * config/tc-i860.c (md_parse_option): Likewise.
1640 * config/tc-i960.c (md_parse_option): Likewise.
1641 * config/tc-ia64.c (md_parse_option): Likewise.
1642 * config/tc-ip2k.c (md_parse_option): Likewise.
1643 * config/tc-iq2000.c (md_parse_option): Likewise.
1644 * config/tc-lm32.c (md_parse_option): Likewise.
1645 * config/tc-m32c.c (md_parse_option): Likewise.
1646 * config/tc-m32r.c (md_parse_option): Likewise.
1647 * config/tc-m68hc11.c (md_parse_option): Likewise.
1648 * config/tc-m68k.c (md_parse_option): Likewise.
1649 * config/tc-mcore.c (md_parse_option): Likewise.
1650 * config/tc-mep.c (md_parse_option): Likewise.
1651 * config/tc-metag.c (struct metag_long_option): Likewise.
1652 (md_parse_option): Likewise.
1653 * config/tc-microblaze.c (md_parse_option): Likewise.
1654 * config/tc-microblaze.h (md_parse_option): Remove prototype.
1655 * config/tc-mips.c (md_parse_option): Adjust.
1656 * config/tc-mmix.c (md_parse_option): Likewise.
1657 * config/tc-mn10200.c (md_parse_option): Likewise.
1658 * config/tc-mn10300.c (md_parse_option): Likewise.
1659 * config/tc-moxie.c (md_parse_option): Likewise.
1660 * config/tc-msp430.c (md_parse_option): Likewise.
1661 * config/tc-mt.c (md_parse_option): Likewise.
1662 * config/tc-nds32.c (md_parse_option): Likewise.
1663 * config/tc-nds32.h (nds32_parse_option): Likewise.
1664 * config/tc-nios2.c (md_parse_option): Likewise.
1665 * config/tc-ns32k.c (md_parse_option): Likewise.
1666 * config/tc-or1k.c (md_parse_option): Likewise.
1667 * config/tc-pdp11.c (md_parse_option): Likewise.
1668 * config/tc-pj.c (md_parse_option): Likewise.
1669 * config/tc-ppc.c (md_parse_option): Likewise.
1670 * config/tc-rl78.c (md_parse_option): Likewise.
1671 * config/tc-rx.c (md_parse_option): Likewise.
1672 * config/tc-s390.c (s390_parse_cpu): Likewise.
1673 * config/tc-score.c (md_parse_option): Likewise.
1674 * config/tc-sh.c (md_parse_option): Likewise.
1675 * config/tc-sparc.c (md_parse_option): Likewise.
1676 * config/tc-spu.c (md_parse_option): Likewise.
1677 * config/tc-tic30.c (md_parse_option): Likewise.
1678 * config/tc-tic4x.c (md_parse_option): Likewise.
1679 * config/tc-tic54x.c (md_parse_option): Likewise.
1680 * config/tc-tic6x.c (md_parse_option): Likewise.
1681 * config/tc-tilegx.c (md_parse_option): Likewise.
1682 * config/tc-tilepro.c (md_parse_option): Likewise.
1683 * config/tc-v850.c (md_parse_option): Likewise.
1684 * config/tc-vax.c (md_parse_option): Likewise.
1685 * config/tc-visium.c (struct visium_long_option_table): Likewise.
1686 * config/tc-xc16x.c (md_parse_option): Likewise.
1687 * config/tc-xgate.c (md_parse_option): Likewise.
1688 * config/tc-xstormy16.c (md_parse_option): Likewise.
1689 * config/tc-xtensa.c (md_parse_option): Likewise.
1690 * config/tc-z80.c (md_parse_option): Likewise.
1691 * config/tc-z8k.c (md_parse_option): Likewise.
1692 * tc.h (md_parse_option): Likewise.
1694 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1696 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1697 * config/tc-hppa.c (fix_new_hppa): Likewise.
1698 (pa_vtable_entry): Likewise.
1699 (pa_vtable_inherit): Likewise.
1700 * config/tc-m68k.c (md_begin): Likewise.
1702 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1704 * config/obj-elf.c (obj_elf_section_name): Return const char *.
1705 * config/obj-elf.h (obj_elf_section_name): Adjust.
1706 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1707 (aarch64_parse_cpu): Likewise.
1708 (aarch64_parse_arch): Likewise.
1709 * config/tc-arm.c (arm_parse_extension): Likewise.
1710 (arm_parse_cpu): Likewise.
1711 (arm_parse_arch): Likewise.
1712 * config/tc-nds32.c: Likewise.
1713 * config/xtensa-relax.c (parse_special_fn): Likewise.
1714 * stabs.c (generate_asm_file): Likewise.
1716 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1718 * config/tc-cr16.c (cr16_assemble): New function.
1719 (md_assemble): Call cr16_assemble.
1721 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1723 * as.c (parse_args): Adjust.
1724 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1725 * config/obj-elf.c (elf_frob_symbol): Adjust.
1727 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1729 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1730 registers to be in the 16..31 range.
1732 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1734 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1737 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1739 * config/tc-visium.c (md_atof): Localize the string returned on
1742 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1744 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1745 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1746 * config/tc-m68hc11.c (md_begin): Likewise.
1747 (print_opcode_list): Likewise.
1748 * config/tc-msp430.c (msp430_section): Likewise.
1749 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1750 (s3_build_dependency_insn_hsh): Likewise.
1751 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1752 (s7_build_dependency_insn_hsh): Likewise.
1753 * config/tc-tic4x.c: Likewise.
1754 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1755 (subsym_get_arg): Likewise.
1756 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1757 (get_directive): Likewise.
1758 (cache_literal_section): Likewise.
1759 * config/xtensa-relax.c: Likewise.
1760 * symbols.c (symbol_create): Likewise.
1761 (local_symbol_make): Likewise.
1762 (symbol_relc_make_expr): Likewise.
1764 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1766 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1769 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1771 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1774 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1776 * config/tc-ia64.c (ia64_do_align): Remove.
1777 (ia64_cons_align): Call do_align () directly.
1778 (dot_proc): Likewise.
1779 (stmt_float_cons): Likewise.
1781 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1783 * listing.c (listing_message): Use XNEW style allocation macros.
1784 * read.c (read_a_source_file): Likewise.
1785 (read_symbol_name): Likewise.
1786 (s_mri_common): Likewise.
1787 (assign_symbol): Likewise.
1788 (s_reloc): Likewise.
1789 (emit_expr_with_reloc): Likewise.
1790 (s_incbin): Likewise.
1791 (s_include): Likewise.
1792 * sb.c (sb_build): Likewise.
1793 (sb_check): Likewise.
1795 2016-03-22 Alan Modra <amodra@gmail.com>
1797 * write.c (record_alignment): Revert 2016-02-18 change.
1799 2016-03-22 Alan Modra <amodra@gmail.com>
1801 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1802 (emit_jsrjmp, tc_gen_reloc): Likewise.
1803 * config/tc-i370.c (i370_macro): Likewise.
1805 2016-03-22 Nick Clifton <nickc@redhat.com>
1807 * configure: Regenerate.
1809 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1811 * testsuite/gas/arc/nps400-0.d: New file.
1812 * testsuite/gas/arc/nps400-0.s: New file.
1813 * testsuite/gas/arc/nps400-1.d: New file.
1814 * testsuite/gas/arc/nps400-1.s: New file.
1816 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1818 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1819 declarations to start of block. Reset code on all flags before
1820 attempting to match them. Handle multiple hits on the same flag.
1822 * testsuite/gas/arc/asm-errors.d: New file.
1823 * testsuite/gas/arc/asm-errors.err: New file.
1824 * testsuite/gas/arc/asm-errors.s: New file.
1826 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1828 * config/tc-arc.c (cpu_types): Add nps400 entry.
1829 (check_zol): Handle nps400.
1831 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1833 * config/tc-arc.c (arc_select_cpu): Remove use of
1836 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1838 * config/tc-arc.c (arc_target): Delay initialisation until
1840 (arc_target_name): Likewise.
1841 (arc_features): Likewise.
1842 (arc_mach_type): Likewise.
1843 (cpu_types): Remove "all" entry.
1844 (arc_select_cpu): New function, most of the content is from...
1845 (md_parse_option): ... here. Call new arc_select_cpu.
1846 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1848 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1850 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1851 * testsuite/gas/arc/inline-data-2.d: New file.
1853 2016-03-21 Nick Clifton <nickc@redhat.com>
1855 * atof-generic.c: Replace use of alloca with call to xmalloc.
1857 * dwarf2dbg.c: Likewise.
1858 * macro.c: Likewise.
1859 * remap.c: Likewise.
1860 * stabs.c: Likewise.
1861 * symbols.c: Likewise.
1862 * config/obj-elf.c: Likewise.
1863 * config/tc-aarch64.c: Likewise.
1864 * config/tc-arc.c: Likewise.
1865 * config/tc-arm.c: Likewise.
1866 * config/tc-avr.c: Likewise.
1867 * config/tc-ia64.c: Likewise.
1868 * config/tc-mips.c: Likewise.
1869 * config/tc-msp430.c: Likewise.
1870 * config/tc-nds32.c: Likewise.
1871 * config/tc-ppc.c: Likewise.
1872 * config/tc-sh.c: Likewise.
1873 * config/tc-tic30.c: Likewise.
1874 * config/tc-tic54x.c: Likewise.
1875 * config/tc-xstormy16.c: Likewise.
1876 * config/te-vms.c: Likewise.
1877 * configure: Regenerate.
1879 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1881 * tc-i386.c (f32_1): Change type to unsigned char[].
1901 (jump_31): Likewise.
1902 (f32_patt): Likewise.
1903 (f16_patt): Likewise.
1912 (alt_patt): Likewise.
1914 2016-03-18 Nick Clifton <nickc@redhat.com>
1916 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1917 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1918 .tlsdescldr and .xword directives.
1921 * testsuite/gas/aarch64/pr19721.s: New test source file.
1922 * testsuite/gas/aarch64/pr19721.d: New test driver file.
1924 * doc/as.texinfo: Place the target specific command line options
1925 into their own man page section.
1927 2016-03-16 Jiong Wang <jiong.wang@arm.com>
1929 * config/tc-arm.c (N_S_32): New.
1930 (N_F_16_32): Likewise.
1931 (N_SUF_32): Support N_F16.
1932 (N_IF_32): Likewise.
1933 (neon_dyadic_misc): Likewise.
1934 (do_neon_cmp): Likewise.
1935 (do_neon_cmp_inv): Likewise.
1936 (do_neon_mul): Likewise.
1937 (do_neon_fcmp_absolute): Likewise.
1938 (do_neon_step): Likewise.
1939 (do_neon_abs_neg): Likewise.
1940 (CVT_FLAVOR_VAR): Likewise.
1941 (do_neon_cvt_1): Likewise.
1942 (do_neon_recip_est): Likewise.
1943 (do_vmaxnm): Likewise.
1944 (do_vrint_1): Likewise.
1945 (neon_check_type): Check architecture support for FP16 extension.
1946 (insns): Update comments.
1947 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1948 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1949 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1950 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1952 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1954 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1957 2016-03-16 Nick Clifton <nickc@redhat.com>
1959 * read.c (emit_expr_with_reloc): Add code check a bignum with
1961 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1963 * testsuite/gas/elf/bignum.s: New test source file.
1964 * testsuite/gas/elf/bignum.d: New test driver file.
1965 * testsuite/gas/elf/elf.exp: Run the new test.
1967 2016-03-15 Ulrich Drepper <drepper@gmail.com>
1969 * doc/c-i386.texi (Register Naming): Update to details of the
1970 latest architecture version.
1972 2016-03-10 Mickael Guene <mickael.guene@st.com>
1975 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1977 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1978 (do_t_mov_cmp): Likewise.
1979 (do_t_add_sub): Protect against bad relocations usage.
1980 (do_t_mov_cmp): Likewise.
1981 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1982 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1983 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1984 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
1986 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1988 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1990 (do_neon_ld_st_lane): Likewise.
1991 (do_neon_ld_dup): Likewise.
1993 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1995 * testsuite/gas/arc/inline-data-1.d: New file.
1996 * testsuite/gas/arc/inline-data-1.s: New file.
1998 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
2000 * config/tc-arm.c (arm_cpus): Add cortex-r8.
2001 * doc/c-arm.texi: Add cortex-r8.
2003 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2005 * config/tc-arc.c: Add const qualifiers.
2006 * config/tc-h8300.c (md_begin): Likewise.
2007 * config/tc-ia64.c (print_prmask): Likewise.
2008 * config/tc-msp430.c (msp430_operands): Likewise.
2009 * config/tc-nds32.c (struct suffix_name): Likewise.
2010 (struct nds32_parse_option_table): Likewise.
2011 (struct nds32_set_option_table): Likewise.
2012 (do_pseudo_pushpopm): Likewise.
2013 (do_pseudo_pushpop_stack): Likewise.
2014 (nds32_relax_relocs): Likewise.
2015 (nds32_flag): Likewise.
2016 (struct nds32_hint_map): Likewise.
2017 (nds32_find_reloc_table): Likewise.
2018 (nds32_match_hint_insn): Likewise.
2019 * config/tc-s390.c: Likewise.
2020 * config/tc-sh.c (get_specific): Likewise.
2021 * config/tc-tic30.c: Likewise.
2022 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
2023 (tic4x_indirect_parse): Likewise.
2024 * config/tc-vax.c (vax_cons): Likewise.
2025 * config/tc-z80.c (struct reg_entry): Likewise.
2026 * config/tc-epiphany.c (md_assemble): Adjust.
2027 (epiphany_assemble): New function.
2028 (epiphany_elf_section_rtn): Call do_align directly.
2029 (epiphany_elf_section_text): Likewise.
2030 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
2031 (ip2k_elf_section_text): Likewise.
2032 * read.c (do_align): Make it not static.
2033 * read.h (do_align): New prototype.
2035 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2037 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
2038 for ARMv8.1 AdvSIMD use.
2039 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
2040 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
2042 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2044 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
2046 (record_feature_use): New.
2047 (mark_feature_used): Use record_feature_use.
2048 (do_neon_qrdmlah): New.
2049 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
2051 (arm_extensions): Put into alphabetical order. Re-indent "simd"
2052 and "rdma" entries. Fix the incorrect merge value for "+rdma".
2053 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
2054 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
2055 Make source file explicit.
2056 * testsuite/gas/arm/armv8-a+rdma.l: New.
2057 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
2058 directives. Fix white-space.
2059 * testsuite/gas/arm/armv8_1-a+simd.d: New.
2061 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2063 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
2065 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2066 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2068 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
2069 (tc_arc_fix_adjustable): Changed default return value to 1.
2070 * testsuite/gas/arc/j.d: Updated expected symbol
2071 * testsuite/gas/arc/jl.d: Likewise
2072 * testsuite/gas/arc/relax-avoid1.d: Likewise
2073 * testsuite/gas/arc/st.d: Likewise
2075 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2077 * config/tc-arc.c: Enable code density instructions for ARC EM.
2079 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2082 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
2084 * as.c (flag_use_elf_stt_common): New.
2085 (show_usage): Add --elf-stt-common=.
2086 (option_values): Add OPTION_ELF_STT_COMMON.
2087 (std_longopts): Add --elf-stt-common=.
2088 (parse_args): Handle --elf-stt-common=.
2089 * as.h (flag_use_elf_stt_common): New.
2090 * config.in: Regenerated.
2091 * configure: Likewise.
2092 * configure.ac: Add --enable-elf-stt-common and define
2093 DEFAULT_GENERATE_ELF_STT_COMMON.
2094 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
2095 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
2096 * doc/as.texinfo: Document --elf-stt-common=.
2097 * testsuite/gas/elf/common3.s: New file.
2098 * testsuite/gas/elf/common3a.d: Likewise.
2099 * testsuite/gas/elf/common3b.d: Likewise.
2100 * testsuite/gas/elf/common4.s: Likewise.
2101 * testsuite/gas/elf/common4a.d: Likewise.
2102 * testsuite/gas/elf/common4b.d: Likewise.
2103 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
2104 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
2105 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
2107 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
2108 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
2109 --elf-stt-common=no to as.
2110 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
2111 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
2112 --elf-stt-common=no to as.
2113 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
2114 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
2115 of dw2-compress-3 and dw2-compressed-3.
2117 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2119 * as.c (select_emulation_mode): Add const qualifiers.
2121 * config/bfin-defs.h: Likewise.
2122 * config/bfin-parse.y: Likewise.
2123 * config/rx-parse.y: Likewise.
2124 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
2125 (struct aarch64_cpu_option_table): Likewise.
2126 (struct aarch64_arch_option_table): Likewise.
2127 (struct aarch64_option_cpu_value_table): Likewise.
2128 (struct aarch64_long_option_table): Likewise.
2129 (struct aarch64_option_abi_value_table): Likewise.
2130 * config/tc-arm.c (struct reloc_entry): Likewise.
2131 (tc_gen_reloc): Likewise.
2132 (struct arm_option_table): Likewise.
2133 (struct arm_legacy_option_table): Likewise.
2134 (struct arm_cpu_option_table): Likewise.
2135 (struct arm_arch_option_table): Likewise.
2136 (struct arm_option_extension_value_table): Likewise.
2137 (struct arm_option_fpu_value_table): Likewise.
2138 (struct arm_option_value_table): Likewise.
2139 (struct arm_long_option_table): Likewise.
2140 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2141 (struct mcu_type_s): Likewise.
2142 (struct exp_mod_s): Likewise.
2143 (avr_operand): Likewise.
2144 (avr_operands): Likewise.
2145 * config/tc-d10v.c (md_begin): Likewise.
2146 * config/tc-dlx.c: Likewise.
2147 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2148 * config/tc-ft32.c (parse_condition): Likewise.
2149 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2150 * config/tc-hppa.c (pa_ip): Likewise.
2151 (hppa_regname_to_dw2regnum): Likewise.
2152 * config/tc-i370.c (i370_elf_suffix): Likewise.
2153 * config/tc-i960.c (struct tabentry): Likewise.
2154 * config/tc-m32r.c: Likewise.
2155 * config/tc-m68k.c: Likewise.
2156 * config/tc-m68k.h: Likewise.
2157 * config/tc-mcore.c (parse_psrmod): Likewise.
2158 * config/tc-metag.c (struct metag_core_option): Likewise.
2159 (struct metag_long_option): Likewise.
2160 * config/tc-microblaze.c: Likewise.
2161 * config/tc-mips.c (macro): Likewise.
2162 * config/tc-mn10200.c: Likewise.
2163 * config/tc-mn10300.c: Likewise.
2164 * config/tc-msp430.c (struct rcodes_s): Likewise.
2165 (struct hcodes_s): Likewise.
2166 (md_parse_option): Likewise.
2167 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2168 (optlist): Likewise.
2169 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2170 (tc_ppc_regname_to_dw2regnum): Likewise.
2171 * config/tc-ppc.h: Likewise.
2172 * config/tc-rl78.c: Likewise.
2173 * config/tc-rx.c (struct cpu_type): Likewise.
2174 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2175 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2176 (sparc_ip): Likewise.
2177 * config/tc-spu.c (insn_fmt_string): Likewise.
2178 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2179 * config/tc-v850.c: Likewise.
2180 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2181 (struct visium_long_option_table): Likewise.
2182 * config/tc-xgate.c: Likewise.
2183 * config/tc-z8k.c: Likewise.
2184 * read.c (add_include_dir): Likewise.
2187 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2189 * testsuite/gas/all/gas.exp: Change target pattern to cover
2191 * testsuite/gas/all/redef3.d: Likewise.
2192 * testsuite/gas/elf/elf.exp: Likewise.
2194 2016-02-24 Renlin Li <renlin.li@arm.com>
2196 * config/tc-arm.c (BAD_FP16): New error message macro.
2197 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2198 fp16 scalar instructions.
2199 (neon_check_type): Allow different size from key.
2200 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2201 (try_vfp_nsyn): Likewise.
2202 (do_vfp_nsyn_mla_mls): Likewise.
2203 (do_vfp_nsyn_fma_fms): Likewise.
2204 (do_vfp_nsyn_ldm_stm): Likewise
2205 (do_vfp_nsyn_sqrt): Likewise
2206 (do_vfp_nsyn_div): Likewise
2207 (do_vfp_nsyn_nmul): Likewise.
2208 (do_vfp_nsyn_cmp): Likewise.
2209 (do_neon_shll): Likewise.
2210 (do_vfp_nsyn_cvt_fpv8): Likewise.
2211 (do_neon_cvttb_2): Likewise.
2212 (do_neon_mov): Likewise.
2213 (do_neon_rshift_round_imm): Likewise.
2214 (do_neon_ldr_str): Likewise.
2215 (do_vfp_nsyn_fpv8): Likewise.
2216 (do_vmaxnm): Likewise.
2217 (do_vrint_1): Likewise.
2218 (insns): New entry for vins, vmovx.
2219 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2220 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2221 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2222 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2223 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2224 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2225 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2227 2016-02-24 Renlin Li <renlin.li@arm.com>
2229 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2230 (neon_shape_class): New SC_HALF.
2231 (neon_shape_el): New SE_H.
2232 (neon_shape_el_size): New size for SE_H.
2233 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2234 (neon_select_shape): Add SE_H support code.
2235 (el_type_of_type_chk): Use N_F_ALL.
2236 (do_vfp_nsyn_cvt): Add SE_H shape support.
2237 (do_neon_cvtz): Likewise.
2238 (do_neon_cvt_1): Likewise.
2239 (do_neon_cvttb_1): Likewise.
2241 2016-02-24 Renlin Li <renlin.li@arm.com>
2243 * testsuite/gas/arm/copro.d: Adjust output.
2244 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2246 2016-02-24 Renlin Li <renlin.li@arm.com>
2248 * testsuite/gas/arm/mask_1.d: New.
2249 * testsuite/gas/arm/mask_1.s: New.
2251 2016-02-24 Renlin Li <renlin.li@arm.com>
2253 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2254 * testsuite/gas/arm/copro.d: Update.
2256 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2258 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2259 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2261 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2263 * doc/c-arm.texi (ARM Options): Document cortex-a17.
2265 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2267 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2270 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2272 * output-file.c (output_file_create): Make file name argument const.
2273 (output_file_close): Likewise.
2274 * output-file.h (output_file_create): Adjust.
2275 (output_file_close): Likewise.
2276 * depend.c (quote_string_for_make): Make src argument const char *.
2277 (register_dependency): Likewise.
2278 (wrap_output): Likewise.
2279 * as.h (register_dependency): Adjust.
2280 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2282 * symbols.c (S_SET_EXTERNAL): Likewise.
2283 * input-scrub.c (as_where): Return the file name.
2284 * as.h (as_where): Adjust prototype.
2285 * app.c (do_scrub_chars): Adjust.
2286 * cond.c (s_elseif): Likewise.
2288 (initialize_cframe): Likewise.
2289 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2290 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2291 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2292 * config/tc-aarch64.c (output_info): Likewise.
2293 * config/tc-ia64.c (md_assemble): Likewise.
2294 (dot_alias): Likewise.
2295 * config/tc-m68k.c (m68k_frob_label): Likewise.
2296 * config/tc-mmix.c (s_bspec): Likewise.
2297 (mmix_handle_mmixal): Likewise.
2298 * config/tc-rx.c (rx_include): Likewise.
2299 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2300 (tic54x_adjust_symtab): Likewise.
2301 * config/tc-xtensa.c (directive_push): Likewise.
2302 (xtensa_sanity_check): Likewise.
2303 (xtensa_relax_frag): Likewise.
2304 (md_convert_frag): Likewise.
2305 (tinsn_to_slotbuf): Likewise.
2306 * dwarf2dbg.c (dwarf2_where): Likewise.
2307 * ecoff.c (add_file): Likewise.
2308 (ecoff_generate_asm_lineno): Likewise.
2309 * expr.c (make_expr_symbol): Likewise.
2310 * frags.c (frag_new): Likewise.
2311 (frag_var_init): Likewise.
2312 * listing.c (listing_newline): Likewise.
2313 * messages.c (identify): Likewise.
2314 (as_show_where): Likewise.
2315 (as_warn_internal): Likewise.
2316 (as_bad_internal): Likewise.
2317 * read.c (s_irp): Likewise.
2318 (s_macro): Likewise.
2319 (s_reloc): Likewise.
2320 * stabs.c (stabs_generate_asm_file): Likewise.
2321 (stabs_generate_asm_lineno): Likewise.
2322 (stabs_generate_asm_func): Likewise.
2323 * write.c (fix_new_internal): Likewise.
2324 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2325 (as_warn_value_out_of_range): Adjust prototype.
2326 (as_bad_value_out_of_range): Adjust prototype.
2327 * messages.c (identify): Make file name argument const char *.
2328 (as_warn_internal): Likewise.
2329 (as_warn_where): Likewise.
2330 (as_bad_internal): Likewise.
2331 (as_bad_where): Likewise.
2332 (as_internal_value_out_of_range): Likewise.
2333 (as_warn_value_out_of_range): Likewise.
2334 (as_bad_value_out_of_range): Likewise.
2335 * as.h (found_comment_file): Change type to const char *.
2336 * cond.c (file_line::file): Likewise.
2337 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2338 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2339 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2340 * config/tc-aarch64.c (output_info): Likewise.
2341 * config/tc-alpha.c (insert_operand): Likewise.
2342 * config/tc-arc.c (insert_operand): Likewise.
2343 * config/tc-d30v.c (check_size): Likewise.
2344 * config/tc-ia64.c (struct alias): Likewise.
2345 * config/tc-m68k.c (struct label_line): Likewise.
2346 * config/tc-mcore.c (md_apply_fix): Likewise.
2347 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2348 * config/tc-mips.c (mips16_immed): Likewise.
2349 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2350 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2351 * config/tc-rx.c (rx_include): Likewise.
2352 * config/tc-s390.c (s390_insert_operand): Likewise.
2353 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2354 (tic54x_adjust_symtab): Likewise.
2355 * config/tc-tilegx.c (insert_operand): Likewise.
2356 (apply_special_operator): Likewise.
2357 * config/tc-tilepro.c (insert_operand): Likewise.
2358 * config/tc-xtensa.c (directive_push): Likewise.
2359 * ecoff.c (add_file): Likewise.
2360 (ecoff_generate_asm_lineno): Likewise.
2361 * listing.c (listing_newline): Likewise.
2362 * read.c (s_irp): Likewise.
2363 * write.c (install_reloc): Likewise.
2364 * write.h (struct fix): Likewise.
2365 * input-file.c (file_name): Change type to const char *.
2366 (saved_file::file_name): Likewise.
2367 (input_file_open): Change type of argument to const char *.
2368 * input-file.h (input_file_open): Adjust.
2369 * input-scrub.c (logical_input_file): change type to const char *.
2370 (physical_input_file): Likewise.
2371 (struct input_save): Adjust.
2372 (input_scrub_push): Adjust.
2373 (input_scrub_begin): Adjust.
2375 * input-scrub.c (input_scrub_new_file): Make file name argument const.
2376 (input_scrub_include_file): Likewise.
2377 (new_logical_line_flags): Likewise.
2378 (new_logical_line): Likewise.
2380 * frags.h (struct frag): Change type of fr_file to const char *.
2381 * expr.c (expr_symbol_where): Change type of file argument to
2383 * expr.h (expr_symbol_where): Likewise.
2384 * config/tc-i370.c (md_apply_fix): adjust.
2385 * config/tc-mmix.c (mmix_md_end): Likewise.
2386 * config/tc-ppc.c (md_apply_fix): Likewise.
2387 * config/tc-s390.c (md_apply_fix): Likewise.
2388 * symbols.c (report_op_error): Likewise.
2389 (resolve_symbol_value): Likewise.
2390 * config/tc-ia64.c (slot::src_file): Change type to const char *.
2391 (rsrc::file): Likewise.
2392 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2394 (xtensa_relax_frag): Likewise.
2395 (md_convert_frag): Likewise.
2396 (tinsn_to_slotbuf): Likewise.
2397 * expr.c (expr_symbol_line): Likewise.
2398 * macro.c (define_macro): Likewise.
2399 * macro.h (macro_struct): Likewise.
2400 * messages.c (as_show_where): Likewise.
2401 * read.c (s_macro): Likewise.
2402 * stabs.c (stabs_generate_asm_file): Likewise.
2403 (generate_asm_file): Likewise.
2404 (stabs_generate_asm_lineno): Likewise.
2405 * write.h (struct reloc_list): Likewise.
2406 * input-scrub.c (as_where): Change return type to const char *.
2407 * as.h (as_wheree): Adjust.
2409 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
2411 * write.c (compress_debug): Move BFD compression bits setting
2413 (write_object_file): Here.
2415 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2417 * config/tc-i386.c (register_number): Check RegVRex.
2418 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2419 with %zmm19 and %zmm3.
2420 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2421 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2423 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2424 Jiong Wang <jiong.wang@arm.com>
2426 * config/tc-arm.c (arm_ext_fp16): New.
2427 (arm_extensions): New entry for "fp16".
2429 2016-02-19 Nick Clifton <nickc@redhat.com>
2432 * read.c (read_a_source_file): Check for assemble_one returning
2433 with input_line_pointer set to NULL.
2435 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2437 * listing.c (rebuffer_line): Change return type to void.
2439 * symbols.c (decode_local_label_name): Make type a const char *.
2440 * listing.c (print_source): Make type of p const char *.
2441 (print_line): Make type of string const char *.
2442 (buffer_line): Return const char *.
2443 (title): Make type const char *.
2444 (subtitle): Likewise.
2445 (listing_listing): Make type of p const char *.
2446 * messages.c (as_internal_value_out_of_range): Make type of prefix
2448 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
2449 and string const char *.
2450 * read.c (_bfd_rel): Make type of name const char *.
2451 * app.c (out_string): Change type to const char *.
2452 (struct app_save::out_string): Likewise.
2454 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
2455 Nick Clifton <nickc@redhat.com>
2457 * read.c (finish_bundle): Avoid recording a negative alignment.
2458 (do_align): Use unsigned values for n, len and max. Only create
2459 a frag if the alignment requirement is greater than the minimum
2460 byte alignment. Avoid recording a negative alignment.
2461 (s_align): Use unsigned values where appropriate.
2462 (bss_alloc): Use an unsigned value for the alignment.
2463 (sizeof_sleb128): Add a comment noting that we encode one octet
2464 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
2465 (emit_leb129_expr): Abort if the emitted encoding was longer than
2467 * read.h (output_leb128): Update prototype.
2468 (sizeof_leb128): Update prototype.
2469 (bss_alloc): Update prototype.
2470 * write.c (record_alignment): Use an unsigned value for the
2471 alignment. Do not record alignments less than the minimum
2472 alignment for a byte.
2473 * write.h (record_alignment): Update prototype.
2475 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2477 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
2478 .init.literal/.fini.literal section name.
2479 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
2480 list of xtensa tests.
2481 * testsuite/gas/xtensa/init-fini-literals.d: New file:
2482 init-fini-literals test result patterns.
2483 * testsuite/gas/xtensa/init-fini-literals.s: New file:
2484 init-fini-literals test.
2486 2016-02-17 Nick Clifton <nickc@redhat.com>
2488 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
2489 devices.csv file as of March 2016.
2491 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
2493 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
2495 (tc_arc_regname_to_dw2regnum): Likewise.
2496 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
2497 (tc_cfi_frame_initial_instructions): Likewise.
2498 (tc_regname_to_dw2regnum): Likewise.
2499 * testsuite/gas/cfi/cfi-arc-1.d: New file.
2500 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
2501 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
2503 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
2505 * doc/internals.texi (S_IS_EXTERN): Remove.
2507 2016-02-16 Nick Clifton <nickc@redhat.com>
2509 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
2512 2016-02-16 Renlin Li <renlin.li@arm.com>
2515 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
2516 * testsuite/gas/aarch64/movw_label.d: New.
2517 * testsuite/gas/aarch64/movw_label.s: New.
2519 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
2522 * config/rx-parse.y (MOV): Opcode generation for index
2523 register addressing mode.
2524 * testsuite/gas/rx/rx.exp: Updated for new testcase.
2525 * testsuite/gas/rx/pr19665.s: New file.
2526 * testsuite/gas/rx/pr19665.s: New file.
2527 * testsuite/gas/rx/mov.d: Update expected output.
2529 2016-02-15 Nick Clifton <nickc@redhat.com>
2531 * doc/as.texinfo (.section): Document that numeric values can now
2532 be used for the flags and type fields of the ELF target's .section
2533 directive. Add notes about the restrictions on setting flags and
2535 * config/obj-elf.c (obj_elf_change_section): Allow known sections
2536 to be given processor specific section types. Allow processor and
2537 application specific flags of a section to be set after
2539 (obj_elf_parse_section_letters): Handle parsing numeric values.
2540 (obj_elf_section_type): Handle parsing numeric values.
2541 (obj_elf_section): Allow numeric type values.
2542 * config/obj-elf.h (obj_elf_change_section): Update prototype.
2543 * testsuite/gas/elf/section10.d: New test.
2544 * testsuite/gas/elf/section10.s: Source file for new test.
2545 * testsuite/gas/elf/elf.exp: Run the new test.
2546 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
2547 the description of the flags produced by readelf.
2548 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
2549 * NEWS: Mention the new feature.
2551 2016-02-11 Nick Clifton <nickc@redhat.com>
2554 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
2555 until it is actually used.
2556 (cfi_set_sections): Set cfi_sections_set to true.
2557 (dot_cfi_startproc): Likewise.
2558 (dot_cfi_endproc): Likewise.
2559 (dot_cfi_fde_data): Likewise.
2560 (cfi_finish): Likewise.
2561 (dot_cfi_sections): Do not set cfi_sections_set.
2562 * doc/as.texinfo (.cfi_sections): Note that targets can provide
2563 their own cfi section name. Also note that the directive can be
2564 reissued provided that CFI generation has not started.
2565 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
2566 .cfi_endproc directives so that the redefinition of .cfi_sections
2567 will trigger the generation of the error message.
2568 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
2569 number of error message.
2571 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
2572 Janek van Oirschot <jvanoirs@synopsys.com>
2574 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2575 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2577 (arc_flags, arc_relax_type): New structure.
2578 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2579 (RELAX_TABLE_ENTRY_MAX): New define.
2580 (relaxation_state, md_relax_table, arc_relaxable_insns)
2581 (arc_num_relaxable_ins): New variable.
2582 (rlx_operand_type, arc_rlx_types): New enums.
2583 (arc_relaxable_ins): New structure.
2584 (OPTION_RELAX): New option.
2585 (arc_insn): New relax member.
2586 (arc_flags): Remove.
2587 (relax_insn_p): New function.
2588 (apply_fixups): Likewise.
2589 (relaxable_operand): Likewise.
2590 (may_relax_expr): Likewise.
2591 (relaxable_flag): Likewise.
2592 (arc_pcrel_adjust): Likewise.
2593 (md_estimate_size_before_relax): Implement.
2594 (md_convert_frag): Likewise.
2595 (md_parse_option): Handle new mrelax option.
2596 (md_show_usage): Likewise.
2597 (assemble_insn): Set relax member.
2598 (emit_insn0): New function.
2599 (emit_insn1): Likewise.
2600 (emit_insn): Handle relaxation case.
2601 * NEWS: Mention the new relaxation option.
2602 * doc/c-arc.texi (ARC Options): Document new mrelax option.
2603 * doc/as.texinfo (Target ARC Options): Likewise.
2604 * testsuite/gas/arc/relax-avoid1.d: New file.
2605 * testsuite/gas/arc/relax-avoid1.s: Likewise.
2606 * testsuite/gas/arc/relax-avoid2.d: Likewise.
2607 * testsuite/gas/arc/relax-avoid2.s: Likewise.
2608 * testsuite/gas/arc/relax-avoid3.d: Likewise.
2609 * testsuite/gas/arc/relax-avoid3.s: Likewise.
2610 * testsuite/gas/arc/relax-b.d: Likewise.
2611 * testsuite/gas/arc/relax-b.s: Likewise.
2613 2016-02-08 Nick Clifton <nickc@redhat.com>
2615 * config/tc-ia64.c (dot_prologue): Fix formatting.
2617 2016-02-04 Nick Clifton <nickc@redhat.com>
2619 * config/obj-elf.c (obj_elf_change_section): Remove support for
2620 ARM NOREAD sections.
2621 * config/tc-arm.c (arm_elf_section_letter): Delete.
2622 * config/tc-arm.h (md_elf_section_letter): Delete.
2623 * doc/c-arm.texi (ARM Section Attribute): Delete section.
2624 * testsuite/gas/arm/section-execute-only.d: Delete.
2625 * testsuite/gas/arm/section-execute-only.s: Delete.
2627 2016-02-04 Nick Clifton <nickc@redhat.com>
2630 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2631 to handle encoding of RRUX instruction.
2632 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2634 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2636 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2638 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2639 substitutions for BFD_RELOC_* as unsigned.
2640 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2641 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2642 * testsuite/gas/xtensa/loc.s: New file: loc test.
2644 2016-02-03 Kevin Buettner <kevinb@redhat.com>
2646 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
2648 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2651 * NEWS: Mention new command line option -mrelax-relocations and
2652 new configure option --enable-x86-relax-relocations for x86
2654 * config.in: Regenerated.
2655 * configure.ac: Add --enable-x86-relax-relocations.
2656 (ac_default_x86_relax_relocations): New. Default to 1 except
2657 for x86 Solaris targets older than Solaris 12.
2658 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2659 * configure: Likewise.
2660 * config/tc-i386.c (generate_relax_relocations): New.
2661 (OPTION_MRELAX_RELOCATIONS): Likewise.
2662 (output_disp): Don't generate relax relocations if
2663 generate_relax_relocations is 0.
2664 (md_longopts): Add -mrelax-relocations.
2665 (md_show_usage): Likewise.
2666 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2667 * doc/c-i386.texi: Document -mrelax-relocations=.
2668 * testsuite/gas/i386/got-no-relax.d: New file.
2669 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2670 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2671 * testsuite/gas/i386/localpic.d: Likewise.
2672 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2673 * testsuite/gas/i386/reloc32.d: Likewise.
2674 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2675 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2676 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2677 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2678 * testsuite/gas/i386/i386.exp: Run got-no-relax and
2679 x86-64-gotpcrel-no-relax.
2681 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2683 * NEWS: Mention new command line option -mfence-as-lock-add=yes
2686 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2688 * NEWS: Remove duplicated marker for 2.26.
2690 2016-02-02 Renlin Li <renlin.li@arm.com>
2692 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2694 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2696 * testsuite/gas/ip2k/allinsn.d: New file.
2697 * testsuite/gas/ip2k/allinsn.s: New file.
2698 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2700 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2702 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2703 some load instructions.
2704 * testsuite/gas/epiphany/allinsn.d: Likewise.
2705 * testsuite/gas/epiphany/regression.d: Likewise.
2707 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2709 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2710 suffixes from instruction mnemonics in expected output.
2711 * testsuite/gas/epiphany/allinsn.d: Likewise.
2712 * testsuite/gas/epiphany/regression.d: Likewise.
2713 * testsuite/gas/epiphany/sample.d: Likewise.
2715 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2717 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2719 * testsuite/gas/epiphany/allinsn.d: Likewise.
2720 * testsuite/gas/epiphany/sample.d: Likewise.
2722 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2724 * testsuite/gas/epiphany/sample.d: Update expected output.
2726 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2728 * config/tc-arc.c (md_apply_fix): Allow addendum.
2729 (arc_reloc_op): Allow complex expressions for tpoff.
2730 (md_apply_fix): Handle resolved TLS local symbol.
2731 * testsuite/gas/arc/tls-relocs1.d: New file.
2732 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2734 2016-02-01 Loria <Loria@phantasia.org>
2737 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2738 efficiency and avoid an LLVM loop optimization bug.
2740 2016-02-01 Nick Clifton <nickc@redhat.com>
2742 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2743 message extending a negative 32-bit value into a larger signed
2744 value on a 32-bit host.
2746 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2749 * configure.ac (compressed_debug_sections): Replace == with =.
2750 * configure: Regenerated.
2752 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2753 H.J. Lu <hongjiu.lu@intel.com>
2755 * config/tc-i386.c (avoid_fence): New.
2756 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2758 (OPTION_FENCE_AS_LOCK_ADD): New.
2759 (md_longopts): Add -mfence-as-lock-add.
2760 (md_parse_option): Handle -mfence-as-lock-add.
2761 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2762 * doc/c-i386.texi (-mfence-as-lock-add): Document.
2763 * testsuite/gas/i386/i386.exp: Run new tests.
2764 * testsuite/gas/i386/fence-as-lock-add.s: New.
2765 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2766 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2767 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2768 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2770 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2772 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2773 * configure: Regenerated.
2775 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2777 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2778 (OPTION_MOMIT_LOCK_PREFIX): This.
2779 (md_longopts): Updated.
2780 (md_parse_option): Likewise.
2782 2016-01-25 Catherine Moore <clm@codesourcery.com>
2784 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2785 if abicalls are in effect.
2786 * testsuite/gas/mips/sdata-gp.s: New test.
2787 * testsuite/gas/mips/sdata-gp.d: New expected output
2788 * testsuite/gas/mips/mips.exp: Run new test.
2790 2016-01-25 Renlin Li <renlin.li@arm.com>
2792 * testsuite/gas/arm/thumb2_it_search.d: New.
2793 * testsuite/gas/arm/thumb2_it_search.s: New.
2795 2016-01-21 Nick Clifton <nickc@redhat.com>
2798 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2799 with arm-netbsdelf target.
2800 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2802 2016-01-20 Nick Clifton <nickc@redhat.com>
2805 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2806 * testsuite/gas/arm/blx-bl-convert.d
2807 * testsuite/gas/arm/plt-1.d: Likewise.
2808 * testsuite/gas/arm/reloc-bad.d: Likewise.
2809 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2810 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2811 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2812 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2815 * doc/as.texinfo (Errors): Correct documentation describing the
2816 interaction of .file and .line with warning and error messages.
2819 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2820 * testsuite/gas/arm/archv8m-main.d: Likewise.
2821 * testsuite/gas/arm/archv8m-base.d: Likewise.
2823 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2825 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2826 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2827 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2829 2016-01-20 Mickael Guene <mickael.guene@st.com>
2830 Terry Guo <terry.guo@arm.com>
2832 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2833 SHF_ARM_NOREAD section flag.
2834 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2836 (arm_elf_section_letter) : Declare it.
2837 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2838 SHF_ARM_NOREAD section flag.
2839 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2841 * testsuite/gas/arm/section-execute-only.s: New test case.
2842 * testsuite/gas/arm/section-execute-only.d: Expected output.
2844 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2846 * config/tc-mips.c (micromips_insn_length): Remove the mention
2847 of 48-bit microMIPS instructions.
2849 2016-01-18 Alan Modra <amodra@gmail.com>
2851 * configure: Regenerate.
2853 2016-01-17 Alan Modra <amodra@gmail.com>
2855 * configure: Regenerate.
2857 2016-01-17 Alan Modra <amodra@gmail.com>
2859 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2861 2016-01-14 Nick Clifton <nickc@redhat.com>
2863 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2864 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2865 * testsuite/gas/rl78/rl78.exp: Run the new test.
2867 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2869 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2870 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2872 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2874 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2876 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2878 * config/tc-h8300.c (get_operand): Remove spurious condition in
2879 test for closing parenthesis.
2881 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
2883 * config/tc-arm.c (arm_ext_v8_2): New.
2885 * testsuite/gas/arm/armv8_2-a.d: New.
2886 * testsuite/gas/arm/armv8_2-a.s: New.
2888 2016-01-12 Alan Modra <amodra@gmail.com>
2890 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2892 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
2894 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2895 xvcmpnesp, xvcmpnesp.>: Delete tests.
2896 * testsuite/gas/ppc/power9.s: Likewise.
2897 * testsuite/gas/ppc/vsx3.d: Likewise.
2898 * testsuite/gas/ppc/vsx3.s: Likewise.
2900 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
2903 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2904 * testsuite/gas/m68k/p13050-1.s: New file.
2905 * testsuite/gas/m68k/p13050-2.d: New file.
2906 * testsuite/gas/m68k/p13050-2.s: New file.
2908 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2910 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2911 * testsuite/gas/arc/add.d: Likewise.
2912 * testsuite/gas/arc/and.d: Likewise.
2913 * testsuite/gas/arc/asl.d: Likewise.
2914 * testsuite/gas/arc/asr.d: Likewise.
2915 * testsuite/gas/arc/bic.d: Likewise.
2916 * testsuite/gas/arc/extb.d: Likewise.
2917 * testsuite/gas/arc/extw.d: Likewise.
2918 * testsuite/gas/arc/j.d: Likewise.
2919 * testsuite/gas/arc/jl.d: Likewise.
2920 * testsuite/gas/arc/ld2.d: Likewise.
2921 * testsuite/gas/arc/lsr.d: Likewise.
2922 * testsuite/gas/arc/mov.d: Likewise.
2923 * testsuite/gas/arc/or.d: Likewise.
2924 * testsuite/gas/arc/pcl-relocs.d: Likewise.
2925 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2926 * testsuite/gas/arc/pic-relocs.d: Likewise.
2927 * testsuite/gas/arc/plt-relocs.d: Likewise.
2928 * testsuite/gas/arc/rlc.d: Likewise.
2929 * testsuite/gas/arc/ror.d: Likewise.
2930 * testsuite/gas/arc/rrc.d: Likewise.
2931 * testsuite/gas/arc/sbc.d: Likewise.
2932 * testsuite/gas/arc/sda-relocs.d: Likewise.
2933 * testsuite/gas/arc/sda-relocs2.d: Likewise.
2934 * testsuite/gas/arc/sexb.d: Likewise.
2935 * testsuite/gas/arc/sexw.d: Likewise.
2936 * testsuite/gas/arc/st.d: Likewise.
2937 * testsuite/gas/arc/sub.d: Likewise.
2938 * testsuite/gas/arc/tls-relocs.d: Likewise.
2939 * testsuite/gas/arc/xor.d: Likewise.
2941 2016-01-01 Alan Modra <amodra@gmail.com>
2943 Update year range in copyright notice of all files.
2945 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2947 Copyright (C) 2016 Free Software Foundation, Inc.
2949 Copying and distribution of this file, with or without modification,
2950 are permitted in any medium without royalty provided the copyright
2951 notice and this notice are preserved.
2957 version-control: never