1 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
3 * configure.tgt: Replace -uclibc with *.
5 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
7 * config/tc-arc.c (parse_opcode_flags): New function.
8 (find_opcode_match): Move flag parsing code out to new function.
9 Ignore operands marked IGNORE.
10 (build_fake_opcode_hash_entry): New function.
11 (find_special_case_long_opcode): New function.
12 (find_special_case): Lookup long opcodes.
13 * testsuite/gas/arc/nps400-7.d: New file.
14 * testsuite/gas/arc/nps400-7.s: New file.
16 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
18 * config/tc-ns32k.c: Remove definition of input_line_pointer.
20 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
22 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
23 sentinal with iteration to array size.
25 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
27 * config/xtensa-relax.h: Move typedefs of enums to the enums
30 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
32 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
35 2016-06-01 Graham Markall <graham.markall@embecosm.com>
37 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
38 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
39 * testsuite/gas/arc/nps-400-1.d: Likewise.
41 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
44 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
45 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
46 noavx512ifma and noavx512vbmi.
47 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
48 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
50 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
51 * testsuite/gas/i386/noavx512-1.l: New file.
52 * testsuite/gas/i386/noavx512-1.s: Likewise.
53 * testsuite/gas/i386/noavx512-2.l: Likewise.
54 * testsuite/gas/i386/noavx512-2.s: Likewise.
56 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
59 * config/tc-i386.c (cpu_arch): Add 687.
60 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
61 nosse4.1, nosse4.2, nosse4 and noavx2.
62 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
63 register. Check cpuregxmm instead of cpusse for XMM register.
64 Check cpuregymm instead of cpuavx for YMM register. Check
65 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
66 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
67 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
68 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
69 * testsuite/gas/i386/arch-10.d (as): Likewise.
70 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
71 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
72 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
74 * testsuite/gas/i386/no87-3.l: New file.
75 * testsuite/gas/i386/no87-3.s: Likewise.
76 * testsuite/gas/i386/noavx-3.l: Likewise.
77 * testsuite/gas/i386/noavx-3.s: Likewise.
78 * testsuite/gas/i386/noavx-4.d: Likewise.
79 * testsuite/gas/i386/noavx-4.s: Likewise.
80 * testsuite/gas/i386/nosse-4.l: Likewise.
81 * testsuite/gas/i386/nosse-4.s: Likewise.
82 * testsuite/gas/i386/nosse-5.d: Likewise.
83 * testsuite/gas/i386/nosse-5.s: Likewise.
85 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
88 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
90 (match_template): Check Intel64/AMD64 ISA.
92 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
95 * config/tc-i386.c (intel64): New.
96 (cpu_flags_match): Set cpuamd64 and cpuintel64.
97 (md_parse_option): Set intel64 instead of cpuamd64 and
100 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
102 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
105 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
107 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
108 * testsuite/gas/ppc/altivec3.s: Likewise.
109 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
110 * testsuite/gas/ppc/power9.s: Likewise.
112 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
114 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
115 * testsuite/gas/i386/noavx-1.l: Likewise.
116 * testsuite/gas/i386/nommx-1.l: Likewise.
117 * testsuite/gas/i386/nosse-1.l: Likewise.
118 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
119 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
120 * testsuite/gas/i386/noavx-1.s: Likewise.
121 * testsuite/gas/i386/nommx-1.s: Likewise.
122 * testsuite/gas/i386/nosse-1.s: Likewise.
123 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
125 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
127 * config/tc-metag.c (metag_handle_align): Make the type of noop
130 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
132 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
133 bfd_reloc_code_real_type.
135 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
138 * config/tc-i386.c (cpu_flags_match): Require another match
140 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
141 x86-64-avx512vl-1 and x86-64-avx512vl-2.
142 * testsuite/gas/i386/avx512vl-1.l: New file.
143 * testsuite/gas/i386/avx512vl-1.s: Likewise.
144 * testsuite/gas/i386/avx512vl-2.l: Likewise.
145 * testsuite/gas/i386/avx512vl-2.s: Likewise.
146 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
147 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
148 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
149 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
151 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
154 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
155 * testsuite/gas/i386/x86-64-pr20141.d: New file.
156 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
158 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
160 * config/tc-i386.c (arch_entry): Remove negated.
161 (noarch_entry): New struct.
162 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
164 (set_cpu_arch): Check cpu_noarch after cpu_arch.
165 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
167 (output_message): New function.
168 (show_arch): Use it. Handle cpu_noarch.
169 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
170 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
171 * testsuite/gas/i386/noavx-1.l: New file.
172 * testsuite/gas/i386/noavx-1.s: Likewise.
173 * testsuite/gas/i386/noavx-2.s: Likewise.
174 * testsuite/gas/i386/noavx-2.l: Likewise.
175 * testsuite/gas/i386/nommx-1.s: Likewise.
176 * testsuite/gas/i386/nommx-1.l: Likewise.
177 * testsuite/gas/i386/nommx-2.s: Likewise.
178 * testsuite/gas/i386/nommx-2.l: Likewise.
179 * testsuite/gas/i386/nommx-3.s: Likewise.
180 * testsuite/gas/i386/nommx-3.l: Likewise.
181 * testsuite/gas/i386/nosse-1.s: Likewise.
182 * testsuite/gas/i386/nosse-1.l: Likewise.
183 * testsuite/gas/i386/nosse-2.s: Likewise.
184 * testsuite/gas/i386/nosse-2.l: Likewise.
185 * testsuite/gas/i386/nosse-3.s: Likewise.
186 * testsuite/gas/i386/nosse-3.l: Likewise.
188 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
191 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
192 instruction if supported by the currently selected fpu variant.
193 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
194 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
196 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
198 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
199 jump relocations against MIPS16 or microMIPS symbols on RELA
201 * testsuite/gas/mips/jalx-local.d: New test.
202 * testsuite/gas/mips/jalx-local-n32.d: New test.
203 * testsuite/gas/mips/jalx-local-n64.d: New test.
204 * testsuite/gas/mips/jalx-local.s: New test source.
205 * testsuite/gas/mips/mips.exp: Run the new tests.
207 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
209 * config/tc-mips.c (md_apply_fix)
210 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
213 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
215 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
216 operator to operatorT.
217 (map_suffix_reloc_to_operator): Change return type to operatorT.
219 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
221 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
223 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
225 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
226 handler_charp to const char *.
228 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
230 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
231 (ft32_target_format): Likewise.
232 (TARGET_FORMAT): Adjust.
234 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
236 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
237 (ia64_frob_label): Likewise.
239 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
241 * config/tc-cr16.c (check_range): Make type of retval op_err.
242 * config/tc-crx.c: Likewise.
244 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
246 * config/tc-arc.c (md_begin): Add XY registers.
247 (cpu_types): Code density is default off for ARC EM.
249 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
251 * config/tc-arc.c (attributes_t): Renamed attribute class to
253 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
255 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
257 * configuse.tgt: Add entry for arm-phoenix.
259 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
261 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
263 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
265 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
267 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
269 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
270 (md_begin): Likewise.
271 (encode_condition): Likewise.
272 (encode_cc3): Likewise.
273 (encode_cc2): Likewise.
274 (encode_operand): Likewise.
275 (tic54x_undefined_symbol): Likewise.
277 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
279 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
281 * doc/c-mips.texi: Document p6600 -march option.
283 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
286 * config/tc-i386.c (md_apply_fix): Preserve addend for
287 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
288 * testsuite/gas/i386/addend.d: New file.
289 * testsuite/gas/i386/addend.s: Likewise.
290 * testsuite/gas/i386/x86-64-addend.d: Likewise.
291 * testsuite/gas/i386/x86-64-addend.s: Likewise.
292 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
293 * testsuite/gas/i386/reloc32.d: Updated.
295 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
297 * config/tc-mips.c (append_insn): Correct the encoding of a
298 constant argument for microMIPS JALX.
299 (tc_gen_reloc): Correct the encoding of an in-place addend for
301 * testsuite/gas/mips/jalx-addend.d: New test.
302 * testsuite/gas/mips/jalx-addend-n32.d: New test.
303 * testsuite/gas/mips/jalx-addend-n64.d: New test.
304 * testsuite/gas/mips/jalx-imm.d: New test.
305 * testsuite/gas/mips/jalx-imm-n32.d: New test.
306 * testsuite/gas/mips/jalx-imm-n64.d: New test.
307 * testsuite/gas/mips/jalx-addend.s: New test source.
308 * testsuite/gas/mips/jalx-imm.s: New test source.
309 * testsuite/gas/mips/mips.exp: Run the new tests.
311 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
313 * config/tc-mips.c: Correct tab-after-space formatting mistakes
316 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
318 * config/tc-arc.c (find_opcode_match): Remove casting away of
320 * config/tc-arc.h (struct arc_flags): Make flgp field const.
322 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
324 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
326 (md_convert_frag): Likewise.
328 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
330 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
331 cached opcode to NULL when we reach a non-matching opcode.
332 * testsuite/gas/arc/asm-errors-2.d: New file.
333 * testsuite/gas/arc/asm-errors-2.err: New file.
334 * testsuite/gas/arc/asm-errors-2.s: New file.
336 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
338 * config/tc-arc.c (tokenize_arguments): Add checks for array
340 * testsuite/gas/arc/asm-errors.s: Addition test line added.
341 * testsuite/gas/arc/asm-errors.err: Update expected results.
343 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
345 * config/tc-rx.c (struct cpu_type): Change the type of a field from
346 int to enum rx_cpu_types.
348 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
350 * config/tc-dlx.c (struct machine_it): change the type of a field from
351 int to bfd_reloc_code_real_type.
352 * config/tc-tic4x.c: Likewise.
354 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
356 * config/tc-v850.c (v850_target_arch): change type to enum
358 * config/tc-v850.h (v850_target_arch): Likewise.
360 2016-05-18 Alan Modra <amodra@gmail.com>
362 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
363 allowed negative range.
364 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
365 * testsuite/gas/ppc/power9.d: Update.
367 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
369 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
370 disassembling and stop skipping targets.
371 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
372 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
373 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
374 instruction for targets that have stronger alignment requirement.
375 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
376 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
377 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
378 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
379 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
380 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
381 * testsuite/gas/arm/archv8m-main.d: Likewise.
382 * testsuite/gas/arm/archv8m.s: Add label.
383 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
384 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
385 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
387 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
389 * config/tc-m32r.c (mach_table): Make static and const.
391 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
393 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
396 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
398 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
400 * config/tc-msp430.c (md_begin): Likewise.
402 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
404 * config/tc-m68hc11.c (fixup8): Change variables type from int to
405 bfd_reloc_code_real_type where appropriate.
407 (fixup8_xg): Likewise.
409 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
411 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
413 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
415 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
416 * testsuite/gas/ppc/power9.s: Likewise.
418 2016-05-13 Alan Modra <amodra@gmail.com>
420 * config/obj-coff.c (weak_uniquify): Delete unused var.
422 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
424 * app.c (app_push): Use XNEW and related macros.
425 * as.c (parse_args): Likewise.
426 * cgen.c (make_right_shifted_expr): Likewise.
427 (gas_cgen_tc_gen_reloc): Likewise.
428 * config/bfin-defs.h: Likewise.
429 * config/bfin-parse.y: Likewise.
430 * config/obj-coff.c (stack_init): Likewise.
431 (stack_push): Likewise.
432 (coff_obj_symbol_new_hook): Likewise.
433 (coff_obj_symbol_clone_hook): Likewise.
434 (add_lineno): Likewise.
435 (coff_frob_symbol): Likewise.
436 * config/obj-elf.c (obj_elf_section_name): Likewise.
437 (build_group_lists): Likewise.
438 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
439 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
440 * config/tc-aarch64.c (insert_reg_alias): Likewise.
441 (find_or_make_literal_pool): Likewise.
442 (add_to_lit_pool): Likewise.
443 (fill_instruction_hash_table): Likewise.
444 * config/tc-alpha.c (load_expression): Likewise.
445 (emit_jsrjmp): Likewise.
446 (s_alpha_ent): Likewise.
447 (s_alpha_end): Likewise.
448 (s_alpha_linkage): Likewise.
449 (md_begin): Likewise.
450 (tc_gen_reloc): Likewise.
451 * config/tc-arc.c (arc_insert_opcode): Likewise.
452 (arc_extcorereg): Likewise.
453 * config/tc-bfin.c: Likewise.
454 * config/tc-cr16.c: Likewise.
455 * config/tc-cris.c: Likewise.
456 * config/tc-crx.c (preprocess_reglist): Likewise.
457 * config/tc-d10v.c: Likewise.
458 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
459 (frv_tomcat_shuffle): Likewise.
460 * config/tc-h8300.c: Likewise.
461 * config/tc-i370.c (i370_macro): Likewise.
462 * config/tc-i386.c (lex_got): Likewise.
463 (md_parse_option): Likewise.
464 * config/tc-ia64.c (alloc_record): Likewise.
465 (set_imask): Likewise.
466 (save_prologue_count): Likewise.
467 (dot_proc): Likewise.
468 (dot_endp): Likewise.
469 (ia64_frob_label): Likewise.
470 (add_qp_imply): Likewise.
471 (add_qp_mutex): Likewise.
472 (mark_resource): Likewise.
473 (dot_alias): Likewise.
474 * config/tc-m68hc11.c: Likewise.
475 * config/tc-m68k.c (m68k_frob_label): Likewise.
477 (mri_control_label): Likewise.
478 (push_mri_control): Likewise.
479 (build_mri_control_operand): Likewise.
480 (s_mri_else): Likewise.
481 (s_mri_break): Likewise.
482 (s_mri_next): Likewise.
483 (s_mri_for): Likewise.
484 (s_mri_endw): Likewise.
485 * config/tc-metag.c (create_mnemonic_htab): Likewise.
486 * config/tc-microblaze.c: Likewise.
487 * config/tc-mmix.c (s_loc): Likewise.
488 * config/tc-nds32.c (nds32_relax_hint): Likewise.
489 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
490 * config/tc-rl78.c: Likewise.
491 * config/tc-rx.c (rx_include): Likewise.
492 * config/tc-sh.c: Likewise.
493 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
494 * config/tc-sparc.c: Likewise.
495 * config/tc-spu.c: Likewise.
496 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
497 (tic6x_start_unwind_section): Likewise.
498 * config/tc-tilegx.c: Likewise.
499 * config/tc-tilepro.c: Likewise.
500 * config/tc-v850.c: Likewise.
501 * config/tc-visium.c: Likewise.
502 * config/tc-xgate.c: Likewise.
503 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
504 (new_resource_table): Likewise.
505 (resize_resource_table): Likewise.
506 (xtensa_create_trampoline_frag): Likewise.
507 (xtensa_maybe_create_literal_pool_frag): Likewise.
508 (cache_literal_section): Likewise.
509 * config/xtensa-relax.c (append_transition): Likewise.
510 (append_condition): Likewise.
511 (append_value_condition): Likewise.
512 (append_constant_value_condition): Likewise.
513 (append_literal_op): Likewise.
514 (append_label_op): Likewise.
515 (append_constant_op): Likewise.
516 (append_field_op): Likewise.
517 (append_user_fn_field_op): Likewise.
518 (enter_opname_n): Likewise.
519 (enter_opname): Likewise.
520 (split_string): Likewise.
521 (parse_insn_templ): Likewise.
522 (clone_req_or_option_list): Likewise.
523 (clone_req_option_list): Likewise.
524 (parse_option_cond): Likewise.
525 (parse_insn_pattern): Likewise.
526 (parse_insn_repl): Likewise.
527 (build_transition): Likewise.
528 (build_transition_table): Likewise.
529 * dw2gencfi.c (alloc_fde_entry): Likewise.
530 (alloc_cfi_insn_data): Likewise.
531 (cfi_add_CFA_remember_state): Likewise.
532 (dot_cfi_escape): Likewise.
533 (dot_cfi_fde_data): Likewise.
534 (select_cie_for_fde): Likewise.
535 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
536 * ecoff.c (ecoff_add_bytes): Likewise.
537 (ecoff_build_debug): Likewise.
538 * input-scrub.c (input_scrub_push): Likewise.
539 (input_scrub_begin): Likewise.
540 (input_scrub_next_buffer): Likewise.
541 * itbl-ops.c (append_insns_as_macros): Likewise.
542 (alloc_entry): Likewise.
543 (alloc_field): Likewise.
544 * listing.c (listing_newline): Likewise.
545 (listing_listing): Likewise.
546 * macro.c (get_any_string): Likewise.
547 (delete_macro): Likewise.
548 * stabs.c (generate_asm_file): Likewise.
549 (stabs_generate_asm_lineno): Likewise.
550 * subsegs.c (subseg_change): Likewise.
551 (subseg_get): Likewise.
552 * symbols.c (define_dollar_label): Likewise.
553 (symbol_relc_make_sym): Likewise.
554 * write.c (write_relocs): Likewise.
556 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
558 * config/obj-coff.c (obj_coff_def): Simplify string copying.
559 (weak_name2altname): Likewise.
560 (weak_uniquify): Likewise.
561 (obj_coff_section): Likewise.
562 (obj_coff_init_stab_section): Likewise.
563 * config/obj-elf.c (obj_elf_section_name): Likewise.
564 (obj_elf_init_stab_section): Likewise.
565 * config/obj-evax.c (evax_shorten_name): Likewise.
566 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
567 * config/tc-aarch64.c (create_register_alias): Likewise.
568 * config/tc-alpha.c (load_expression): Likewise.
569 (s_alpha_file): Likewise.
570 (s_alpha_section_name): Likewise.
571 (tc_gen_reloc): Likewise.
572 * config/tc-arc.c (md_assemble): Likewise.
573 * config/tc-arm.c (create_neon_reg_alias): Likewise.
574 (start_unwind_section): Likewise.
575 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
576 (hppa_elf_mark_end_of_function): Likewise.
577 * config/tc-nios2.c (nios2_modify_arg): Likewise.
578 (nios2_negate_arg): Likewise.
579 * config/tc-rx.c (rx_section): Likewise.
580 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
581 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
582 * config/tc-tic54x.c (tic54x_include): Likewise.
583 (tic54x_macro_info): Likewise.
584 (subsym_get_arg): Likewise.
585 (subsym_substitute): Likewise.
586 (tic54x_start_line_hook): Likewise.
587 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
588 (xg_reverse_shift_count): Likewise.
589 * config/xtensa-relax.c (enter_opname_n): Likewise.
590 (split_string): Likewise.
591 * dwarf2dbg.c (get_filenum): Likewise.
592 (process_entries): Likewise.
593 * expr.c (operand): Likewise.
594 * itbl-ops.c (alloc_entry): Likewise.
595 * listing.c (listing_message): Likewise.
596 (listing_title): Likewise.
597 * macro.c (check_macro): Likewise.
598 * stabs.c (s_xstab): Likewise.
599 * symbols.c (symbol_relc_make_expr): Likewise.
600 * write.c (compress_debug): Likewise.
602 2016-05-12 Nick Clifton <nickc@redhat.com>
605 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
607 2016-05-11 Nick Clifton <nickc@redhat.com>
610 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
611 big endian ARM configurations.
613 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
614 Matthew Fortune <matthew.fortune@imgtec.com>
616 * config/tc-mips.c (options): Add OPTION_DSPR3 and
618 (md_longopts): Likewise.
619 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
620 (mips_ases): Define availability for DSPr3.
621 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
622 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
623 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
625 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
626 .set nodspr3. Fix -mdspr2 formatting.
627 * testsuite/gas/mips/mips32-dspr3.d: New file.
628 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
629 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
631 2016-05-11 Nick Clifton <nickc@redhat.com>
634 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
635 to the pool uses O_constant.
636 * testsuite/gas/arm/pr20068.s: New test.
637 * testsuite/gas/arm/pr20068.d: Test driver.
639 2016-05-11 Nick Clifton <nickc@redhat.com>
641 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
642 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
643 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
644 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
645 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
646 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
647 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
648 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
649 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
651 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
653 * testsuite/gas/i386/i386.exp: Run RDPID tests.
654 * testsuite/gas/i386/prefix.d: Adjust.
655 * testsuite/gas/i386/rdpid.s: New test.
656 * testsuite/gas/i386/rdpid.d: Ditto.
657 * testsuite/gas/i386/rdpid-intel.d: Ditto.
658 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
659 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
660 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
662 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
664 * config/tc-i386.c (cpu_arch): Add RDPID.
665 * doc/c-i386.texi: Document RDPID.
667 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
669 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
670 set branch type of a symbol.
672 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
674 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
675 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
677 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
678 (aeabi_set_public_attributes): Memorize the feature bits of the
679 architecture selected for Tag_CPU_arch. Use it to set
680 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
681 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
682 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
683 * testsuite/gas/arm/arch7em-bad-1.d: This.
684 * testsuite/gas/arm/arch7em-bad-2.d: New file.
685 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
686 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
687 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
688 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
689 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
690 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
691 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
693 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
695 * config/tc-arm.c (struct arm_option_extension_value_table): Make
696 allowed_archs an array with 2 entries.
697 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
698 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
699 (arm_extensions): Use separate entries in allowed_archs when several
700 archs are allowed to use an extension and change ARCH_ANY in
701 ARM_ARCH_NONE in allowed_archs.
702 (arm_parse_extension): Check that, for each allowed_archs entry, all
703 bits are set in the current architecture, ignoring ARM_ANY entries.
704 (s_arm_arch_extension): Likewise.
706 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
708 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
709 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
710 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
711 shared with a non M profile architecture.
712 (do_rn): New function.
713 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
715 (v7m_psrs): Add ARMv8-M security extensions new special registers.
716 (insns): Add ARMv8-M Security Extensions instructions.
717 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
718 arm_ext_v8m_m to decide the profile and the Thumb ISA.
719 * testsuite/gas/arm/archv8m-cmse.s: New file.
720 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
721 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
722 * testsuite/gas/arm/any-cmse.d: Likewise.
723 * testsuite/gas/arm/any-cmse-main.d: Likewise.
724 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
725 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
726 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
727 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
728 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
730 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
732 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
733 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
735 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
737 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
738 (fpu_arch_vfp_v3): Likewise.
739 (fpu_arch_neon_v1): Likewise.
740 (arm_arch_full): Likewise.
741 (parse_neon_el_struct_list): Initialize fields of firsttype.
743 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
745 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
746 (arc_extinsn): Handle new introduced syntax.
747 * testsuite/gas/arc/textinsn1op.d: New file.
748 * testsuite/gas/arc/textinsn1op.s: Likewise.
749 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
751 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
753 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
754 DW_LNS_fixed_advance_pc.
756 2016-04-27 Alan Modra <amodra@gmail.com>
758 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
759 (xmemdup0): New inline function.
761 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
763 * config/tc-mips.c (code_option_type): New enum.
764 (parse_code_option): Return status indicating option type.
765 (s_mipsset): Update `parse_code_option' call site accordingly.
766 Always set register sizes from the ISA with ISA overrides.
767 (s_module): Update `parse_code_option' call site.
768 * testsuite/gas/mips/isa-override-1.d: New test.
769 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
770 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
771 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
772 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
773 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
774 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
775 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
776 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
777 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
778 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
779 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
780 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
781 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
782 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
783 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
784 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
785 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
786 * testsuite/gas/mips/isa-override-2.l: New list test.
787 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
788 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
789 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
790 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
791 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
792 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
793 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
794 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
795 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
796 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
797 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
799 * testsuite/gas/mips/isa-override-1.s: New test source.
800 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
801 * testsuite/gas/mips/isa-override-2.s: New test source.
802 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
803 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
804 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
805 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
806 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
807 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
808 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
809 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
810 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
811 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
812 * testsuite/gas/mips/mips.exp: Run the new tests.
814 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
817 * config/tc-bfin.c: Likewise.
818 * config/tc-ia64.c: Likewise.
819 * config/tc-mep.c: Likewise.
820 * config/tc-metag.c: Likewise.
821 * config/tc-nios2.c: Likewise.
822 * config/tc-rl78.c: Likewise.
824 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
826 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
827 -mcpu. Add cross reference to .cpu directive from -mcpu option.
828 (ARC Directives): Add NPS400 to .cpu directive list.
830 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
832 * config/tc-aarch64.c (aarch64_features): Add "ras".
833 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
834 * testsuite/gas/aarch64/armv8-ras-1.d: New.
835 * testsuite/gas/aarch64/armv8-ras-1.s: New.
836 * testsuite/gas/aarch64/illegal-ras-1.d: New.
837 * testsuite/gas/aarch64/illegal-ras-1.s: New.
839 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
841 * testsuite/gas/arc/nps400-6.d: New file.
842 * testsuite/gas/arc/nps400-6.s: New file.
844 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
846 * testsuite/gas/arc/nps400-4.d: New file.
847 * testsuite/gas/arc/nps400-4.s: New file.
848 * testsuite/gas/arc/nps400-5.d: New file.
849 * testsuite/gas/arc/nps400-5.s: New file.
851 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
853 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
856 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
858 Revert prevous change.
859 * config/tc-arc.c (arc_option): Make .cpu directive
860 case-sensitive again.
862 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
864 * config/tc-arc.c (arc_option): Make .cpu directive
867 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
869 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
871 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
873 * config/tc-mips.c (md_begin): Remove useless assignment.
875 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
877 * Makefile.in: Regenerated with automake 1.11.6.
878 * aclocal.m4: Likewise.
879 * doc/Makefile.in: Likewise.
881 2016-04-15 Alan Modra <amodra@gmail.com>
883 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
885 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
887 * config/tc-nios2.c (nios2_as_options): Make file static.
888 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
889 * config/tc-sparc.c (native_op_table): Likewise.
891 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
893 * config/tc-m32c.c (M32C_Macros): Remove.
894 * config/tc-msp430.c (option_numbers): Likewise.
896 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
898 * testsuite/gas/arc/nps400-3.d: New file.
899 * testsuite/gas/arc/nps400-3.s: New file.
901 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
903 * testsuite/gas/arc/add_s-err.s: Update target pattern.
904 * testsuite/gas/arc/warn.s: Likewise.
905 * testsuite/gas/elf/elf.exp: Run test for arc.
907 2016-04-14 Nick Clifton <nickc@redhat.com>
910 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
911 sections possibly having the SHF_STRINGS flag bit set.
912 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
914 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
916 * config/tc-arc.c (mach_type_specified_p): Change type to
918 (arc_option): Set private flags when parsing cpu pseudo-op.
919 (md_parse_option): Set mach_type_specified_p to TRUE.
921 2016-04-13 Nick Clifton <nickc@redhat.com>
924 * testsuite/gas/v850/pr19937.s: New test.
925 * testsuite/gas/v850/pr19937.d: New test control file.
926 * testsuite/gas/v850/basic.exp: Run the new test.
928 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
929 Andrew Bennett <andrew.bennett@imgtec.com>
931 * config/tc-mips.c (relaxed_branch_length): Use the long
932 sequence where the target is a weak symbol.
933 (relaxed_micromips_32bit_branch_length): Likewise.
934 (relaxed_micromips_16bit_branch_length): Likewise.
935 * testsuite/gas/mips/branch-weak-1.d: New test.
936 * testsuite/gas/mips/branch-weak-2.d: New test.
937 * testsuite/gas/mips/branch-weak-3.d: New test.
938 * testsuite/gas/mips/branch-weak-4.d: New test.
939 * testsuite/gas/mips/branch-weak-5.d: New test.
940 * testsuite/gas/mips/branch-weak.l: New stderr output.
941 * testsuite/gas/mips/branch-weak.s: New test source.
942 * testsuite/gas/mips/mips.exp: Run the new tests.
944 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
946 * config/tc-mips.c (relaxed_branch_length): Use the long
947 sequence where the distance cannot be determined.
948 (relaxed_micromips_32bit_branch_length): Likewise.
949 * testsuite/gas/mips/branch-extern-1.d: New test.
950 * testsuite/gas/mips/branch-extern-2.d: New test.
951 * testsuite/gas/mips/branch-extern-3.d: New test.
952 * testsuite/gas/mips/branch-extern-4.d: New test.
953 * testsuite/gas/mips/branch-extern.l: New stderr output.
954 * testsuite/gas/mips/branch-extern.s: New test source.
955 * testsuite/gas/mips/branch-section-1.d: New test.
956 * testsuite/gas/mips/branch-section-2.d: New test.
957 * testsuite/gas/mips/branch-section-3.d: New test.
958 * testsuite/gas/mips/branch-section-4.d: New test.
959 * testsuite/gas/mips/branch-section.l: New stderr output.
960 * testsuite/gas/mips/branch-section.s: New test source.
961 * testsuite/gas/mips/mips.exp: Run the new tests.
963 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
965 * testsuite/gas/arc/textauxregister.d: New file.
966 * testsuite/gas/arc/textauxregister.s: Likewise.
967 * testsuite/gas/arc/textcondcode.d: Likewise.
968 * testsuite/gas/arc/textcondcode.s: Likewise.
969 * testsuite/gas/arc/textcoreregister.d: Likewise.
970 * testsuite/gas/arc/textcoreregister.s: Likewise.
971 * testsuite/gas/arc/textpseudoop.d: Likewise.
972 * testsuite/gas/arc/textpseudoop.s: Likewise.
973 * testsuite/gas/arc/ld2.d: Update test.
974 * testsuite/gas/arc/st.d: Likewise.
975 * testsuite/gas/arc/taux.d: Likewise.
976 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
977 .extCoreRegister and .extAuxRegister documentation.
978 * config/tc-arc.c (arc_extcorereg): New function.
979 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
980 .extAuxRegister pseudo-ops.
981 (extRegister_t): New type.
982 (ext_condcode, arc_aux_hash): New global variable.
983 (find_opcode_match): Check for extensions.
984 (preprocess_operands): Likewise.
985 (md_begin): Add aux registers in a hash.
986 (assemble_insn): Update use arc_flags member.
987 (tokenize_extregister): New function.
988 (create_extcore_section): Likewise.
989 * config/tc-arc.h (arc_flags): Delete code, add flgp.
991 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
993 * testsuite/gas/arc/noargs_a7.d: New file.
994 * testsuite/gas/arc/noargs_a7.s: Likewise.
995 * testsuite/gas/arc/noargs_hs.d: Likewise.
996 * testsuite/gas/arc/noargs_hs.s: Likewise.
998 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1000 * testsuite/gas/arc/textinsn-errors.d: New File.
1001 * testsuite/gas/arc/textinsn-errors.err: Likewise.
1002 * testsuite/gas/arc/textinsn-errors.s: Likewise.
1003 * testsuite/gas/arc/textinsn2op.d: Likewise.
1004 * testsuite/gas/arc/textinsn2op.s: Likewise.
1005 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1006 * testsuite/gas/arc/textinsn2op01.s: Likewise.
1007 * testsuite/gas/arc/textinsn3op.d: Likewise.
1008 * testsuite/gas/arc/textinsn3op.s: Likewise.
1009 * doc/c-arc.texi (ARC Directives): Add .extInstruction
1011 * config/tc-arc.c (arcext_section): New variable.
1012 (arc_extinsn): New function.
1013 (md_pseudo_table): Add .extInstruction pseudo op.
1014 (attributes_t): New type.
1015 (suffixclass, syntaxclass, syntaxclassmod): New constant
1017 (find_opcode_match): Remove arc_num_opcodes.
1018 (md_begin): Likewise.
1019 (tokenize_extinsn): New function.
1020 (arc_set_ext_seg): Likewise.
1021 (create_extinst_section): Likewise.
1023 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1025 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
1026 (arc_adjust_symtab): New function.
1027 * config/tc-arc.h (ARC_FLAG_AUX): Define.
1028 (obj_adjust_symtab): Likewise.
1029 * testsuite/gas/arc/taux.d: New file.
1030 * testsuite/gas/arc/taux.s: Likewise.
1032 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1034 * config/tc-mips.c (s_option): Sanitize `.option picX'
1036 * testsuite/gas/mips/option-pic-1.d: New test.
1037 * testsuite/gas/mips/option-pic-2.l: New list test.
1038 * testsuite/gas/mips/option-pic-1.s: New test source.
1039 * testsuite/gas/mips/option-pic-2.s: New test source.
1040 * testsuite/gas/mips/mips.exp: Run the new tests.
1042 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1044 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
1046 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
1047 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
1048 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
1049 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
1050 * testsuite/gas/mips/mips.exp: Run the new tests.
1052 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1054 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
1056 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1058 * messages.c (as_bad): Fix a typo in description.
1060 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1062 * config/tc-mips.c (mips_check_options): Unify messages.
1064 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1066 * config/tc-mips.c (mips_check_options): Use `opts->isa'
1069 2016-04-08 Nick Clifton <nickc@redhat.com>
1072 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
1073 COFF and AOUT sparc targets.
1075 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1077 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
1078 * testsuite/gas/arc/nps400-2.d: New file.
1079 * testsuite/gas/arc/nps400-2.s: New file.
1081 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1083 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
1085 (arc_opcode_hash_entry_iterator_init): New function.
1086 (arc_opcode_hash_entry_iterator_next): New function.
1087 (find_opcode_match): Iterate over all arc_opcode entries
1088 referenced by the arc_opcode_hash_entry passed in as a parameter.
1090 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1092 * config/tc-arc.c (arc_find_opcode): Now returns
1093 arc_opcode_hash_entry pointer.
1094 (find_opcode_match): Update argument type, extract arc_opcode from
1095 incoming arc_opcode_hash_entry.
1096 (find_special_case_pseudo): Update return type.
1097 (find_special_case_flag): Update return type.
1098 (find_special_case): Update return type.
1099 (assemble_tokens): Lookup arc_opcode_hash_entry based on
1100 instruction mnemonic, then use find_opcode_match to identify
1101 specific arc_opcode.
1103 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1105 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
1106 (arc_find_opcode): New function.
1107 (find_special_case_pseudo): Use arc_find_opcode.
1108 (find_special_case_flag): Likewise.
1109 (assemble_tokens): Likewise.
1110 (md_begin): Build hash using struct arc_opcode_hash_entry.
1112 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
1114 * config/tc-arc.c (arc_option): Prepare string for automatic
1116 (declare_register): Likewise.
1118 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
1120 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1121 Correct entry for RDMA. Alpha sort entries.
1123 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1125 * config/tc-arc.c (tokenize_flags): Allow greater range of
1126 characters into flag names.
1128 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1130 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1132 (preprocess_operands): Delete.
1133 (assemble_tokens): Remove call to preprocess_operands.
1135 2016-04-07 Nick Clifton <nickc@redhat.com>
1138 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1139 inside a %-macro could not be fully parsed.
1140 * expr.c (integer_constant): Accept and ignore U suffixes to
1142 (operand): When a missing closing parenthesis is encountered,
1143 report the character that was found instead.
1144 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1145 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1146 * testsuite/gas/sparc/pr19910-1.s: New test.
1147 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1148 * testsuite/gas/sparc/pr19910-2.s: New test.
1149 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1151 2016-04-06 Nick Clifton <nickc@redhat.com>
1153 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1154 an EINT instruction. Warn/fix as necessary.
1155 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1156 * testsuite/gas/msp430/bad.l: Update expected messages.
1158 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1160 * testsuite/gas/arc/nps400-1.d: Update expected results.
1161 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1163 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1165 * config/tc-arc.c (is_code_density_p): Compare directly the
1167 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1168 (check_cpu_feature): New function.
1169 (find_opcode_match): Use check_cpu_feature function.
1170 (preprocess_operands): Likewise.
1171 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1172 * testsuite/gas/arc/tdpfp.d: New file.
1173 * testsuite/gas/arc/tfpuda.d: Likewise.
1174 * testsuite/gas/arc/tfpx.s: Likewise.
1176 2016-04-05 Jiong Wang <jiong.wang@arm.com>
1178 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1179 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1180 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1181 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1182 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1183 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1184 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
1185 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1187 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1189 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1191 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
1192 JUMP instructions type.
1193 * testsuite/gas/arc/relocs-errors.d: New file.
1194 * testsuite/gas/arc/relocs-errors.err: Likewise.
1195 * testsuite/gas/arc/relocs-errors.s: Likewise.
1197 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1200 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1201 only if i.disp_encoding != disp_encoding_32bit.
1202 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1203 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1204 * gas/testsuite/gas/i386/disp32.d: Updated.
1205 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1207 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1210 * testsuite/gas/i386/i386.exp: Run pr19498.
1211 * testsuite/gas/i386/pr19498.d: New file.
1212 * testsuite/gas/i386/pr19498.s: Likewise.
1214 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1216 * config/tc-arc.h: Include 'opcode/arc.h'.
1217 (MAX_INSN_ARGS): Delete.
1218 (MAX_INSN_FLGS): Delete.
1220 2016-04-04 Alan Modra <amodra@gmail.com>
1223 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1224 from function on all paths that set sy_resolving.
1226 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1228 * app.c (app_push): use XNEW macro.
1230 * config/obj-elf.c (obj_elf_change_section): Likewise.
1231 (elf_copy_symbol_attributes): Likewise.
1232 (obj_elf_size): Likewise.
1233 (build_group_lists): Likewise.
1234 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1235 (md_assemble): Likewise.
1236 (tc_gen_reloc): Likewise.
1237 (get_upper_str): Likewise.
1238 (aarch64_parse_features): Likewise.
1239 * config/tc-arm.c (insert_reg_alias): Likewise.
1240 (insert_neon_reg_alias): Likewise.
1241 (find_or_make_literal_pool): Likewise.
1242 (s_arm_elf_cons): Likewise.
1243 (add_unwind_opcode): Likewise.
1244 (arm_parse_extension): Likewise.
1245 * config/tc-avr.c (create_record_for_frag): Likewise.
1246 * config/tc-crx.c: Likewise.
1247 * config/tc-d30v.c: Likewise.
1248 * config/tc-dlx.c (s_proc): Likewise.
1249 * config/tc-ft32.c: Likewise.
1250 * config/tc-h8300.c: Likewise.
1251 * config/tc-hppa.c (pa_proc): Likewise.
1252 (create_new_space): Likewise.
1253 (create_new_subspace): Likewise.
1254 * config/tc-i860.c: Likewise.
1255 * config/tc-i960.c: Likewise.
1256 * config/tc-ia64.c: Likewise.
1257 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1258 (iq2000_record_hi16): Likewise.
1259 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1260 * config/tc-m32r.c (debug_sym): Likewise.
1261 (m32r_record_hi16): Likewise.
1262 * config/tc-m68k.c (m68k_ip): Likewise.
1263 (md_begin): Likewise.
1264 * config/tc-mcore.c: Likewise.
1265 * config/tc-microblaze.c (check_got): Likewise.
1266 * config/tc-mips.c (append_insn): Likewise.
1267 (s_mipsset): Likewise.
1268 (mips_record_label): Likewise.
1269 (s_mips_end): Likewise.
1270 * config/tc-mmix.c (mmix_frob_file): Likewise.
1271 * config/tc-mn10200.c: Likewise.
1272 * config/tc-mn10300.c: Likewise.
1273 * config/tc-moxie.c: Likewise.
1274 * config/tc-msp430.c: Likewise.
1275 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1276 * config/tc-ns32k.c: Likewise.
1277 * config/tc-or1k.c: Likewise.
1278 * config/tc-pdp11.c: Likewise.
1279 * config/tc-pj.c (fake_opcode): Likewise.
1280 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1281 (ppc_macro): Likewise.
1282 (ppc_dwsect): Likewise.
1283 (ppc_machine): Likewise.
1284 * config/tc-rl78.c (rl78_frag_init): Likewise.
1285 * config/tc-rx.c (rx_frag_init): Likewise.
1286 * config/tc-s390.c (s390_lit_suffix): Likewise.
1287 (s390_machine): Likewise.
1288 (s390_machinemode): Likewise.
1289 * config/tc-score.c (s3_insert_reg): Likewise.
1290 (s3_gen_reloc): Likewise.
1291 * config/tc-score7.c (s7_insert_reg): Likewise.
1292 (s7_gen_reloc): Likewise.
1293 * config/tc-tic30.c (tic30_operand): Likewise.
1294 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1295 * config/tc-tic54x.c (stag_add_field): Likewise.
1296 (tic54x_struct): Likewise.
1297 (tic54x_space): Likewise.
1298 (tic54x_field): Likewise.
1299 (tic54x_mlib): Likewise.
1300 (subsym_substitute): Likewise.
1301 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1302 * config/tc-vax.c: Likewise.
1303 * config/tc-xc16x.c: Likewise.
1304 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1305 (directive_push): Likewise.
1306 (xtensa_begin_directive): Likewise.
1307 (tokenize_arguments): Likewise.
1308 (xtensa_add_literal_sym): Likewise.
1309 (new_resource_table): Likewise.
1310 (resize_resource_table): Likewise.
1311 (emit_single_op): Likewise.
1312 (xtensa_create_trampoline_frag): Likewise.
1313 (xtensa_maybe_create_literal_pool_frag): Likewise.
1314 (xtensa_add_config_info): Likewise.
1315 (xtensa_realloc_fixup_cache): Likewise.
1316 (add_subseg_info): Likewise.
1317 (cache_literal_section): Likewise.
1318 (add_xt_block_frags): Likewise.
1319 (add_xt_prop_frags): Likewise.
1320 (init_op_placement_info_table): Likewise.
1321 (build_section_rename): Likewise.
1322 * config/tc-z80.c: Likewise.
1323 * config/tc-z8k.c: Likewise.
1324 * depend.c (register_dependency): Likewise.
1325 * dwarf2dbg.c (get_line_subseg): Likewise.
1326 (dwarf2_gen_line_info_1): Likewise.
1327 (get_filenum): Likewise.
1328 * ecoff.c (allocate_scope): Likewise.
1329 (allocate_vlinks): Likewise.
1330 (allocate_shash): Likewise.
1331 (allocate_thash): Likewise.
1332 (allocate_tag): Likewise.
1333 (allocate_forward): Likewise.
1334 (allocate_thead): Likewise.
1335 (allocate_lineno_list): Likewise.
1336 * expr.c (make_expr_symbol): Likewise.
1337 * hash.c (hash_new_sized): Likewise.
1338 * input-file.c (input_file_push): Likewise.
1339 * listing.c (file_info): Likewise.
1340 (listing_newline): Likewise.
1341 * macro.c (new_formal): Likewise.
1342 (define_macro): Likewise.
1343 * remap.c (add_debug_prefix_map): Likewise.
1344 * symbols.c (symbol_find_noref): Likewise.
1345 (define_dollar_label): Likewise.
1346 (fb_label_instance_inc): Likewise.
1347 (symbol_relc_make_value): Likewise.
1349 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1351 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1352 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1353 (ppc_znop): Likewise.
1354 (ppc_pe_section): Likewise.
1355 (ppc_frob_symbol): Likewise.
1356 * config/tc-tic30.c (tic30_operand): Likewise.
1357 * config/tc-tic4x.c (tic4x_sect): Likewise.
1358 (tic4x_usect): Likewise.
1360 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1362 * config/tc-alpha.c: Const qualify FLT_CHARS.
1363 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1364 * config/tc-cris.h: Likewise.
1366 * config/tc-mmix.c (md_atof): Adjust comment.
1367 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1368 * tc.h: Declare FLT_CHARS and EXP_CHARS.
1370 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1372 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1373 * config/tc-score7.c (s7_gen_reloc): Likewise.
1375 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1377 * config/tc-arm.c (do_t_branch): Change the type of reloc to
1378 bfd_reloc_code_real_type.
1380 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1382 * config/bfin-parse.y (current_inputline): Remove definition.
1383 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1385 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1387 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1390 2016-04-02 Alan Modra <amodra@gmail.com>
1393 * read.c (assign_symbol): Consume rest of line after an error
1394 rather than continuing to process the line.
1396 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1398 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1399 (MAX_FLAG_NAME_LENGTH): ...this.
1400 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1401 * config/tc-arc.c (tokenize_flags): Likewise.
1403 2016-04-01 Alan Modra <amodra@gmail.com>
1405 * cgen.c (weak_operand_overflow_check): Return const char*.
1406 * messages.c (as_internal_value_out_of_range): Formatting.
1407 (as_warn_value_out_of_range): Consify prefix param.
1408 (as_bad_value_out_of_range): Likewise.
1409 * read.c (s_errwarn): Constify msg..
1410 (s_float_space, float_cons): ..and err.
1411 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
1412 ieee_md_atof, vax_md_atof): Update prototypes.
1413 * tc.h (md_atof): Update prototype.
1414 * config/atof-ieee.c (ieee_md_atof): Return const char*.
1415 * config/atof-vax.c (vax_md_atof): Likewise.
1416 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
1417 * config/tc-aarch64.c (md_atof): Return const char*.
1418 * config/tc-alpha.c (s_alpha_section_name): Likewise.
1419 (s_alpha_comm): Constify sec_name.
1420 (section_name): Constify.
1421 (s_alpha_section): Consify name..
1422 (alpha_elf_section_letter): ..and ptr_msg param..
1423 (md_atof): ..and return.
1424 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
1425 * config/tc-arc.c (md_atof): Return const char*.
1426 * config/tc-arm.c (md_atof): Likewise.
1427 * config/tc-avr.c (md_atof): Likewise.
1428 * config/tc-bfin.c (md_atof): Likewise.
1429 * config/tc-cr16.c (md_atof): Likewise.
1430 * config/tc-cris.c (md_atof): Likewise.
1431 * config/tc-crx.c (md_atof): Likewise.
1432 * config/tc-d10v.c (md_atof): Likewise.
1433 * config/tc-d30v.c (md_atof): Likewise.
1434 * config/tc-dlx.c (md_atof): Likewise.
1435 * config/tc-epiphany.c (md_atof): Likewise.
1436 * config/tc-fr30.c (md_atof): Likewise.
1437 * config/tc-frv.c (md_atof): Likewise.
1438 * config/tc-ft32.c (md_atof): Likewise.
1439 * config/tc-h8300.c (md_atof): Likewise.
1440 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
1441 (struct default_space_dict): Likewise.
1442 (create_new_space): Constify name param.
1443 (create_new_subspace): Likewise.
1444 (is_defined_space, is_defined_subspace): Likewise.
1445 (pa_parse_space_stmt): Constify space_name param.
1446 (md_atof): Return const char*.
1447 (pa_spaces_begin): Constify name.
1448 * config/tc-i370.c (md_atof): Return const char*.
1449 * config/tc-i386.c (md_atof): Likewise.
1450 (x86_64_section_letter): Constify ptr_msg param.
1451 * config/tc-i386.h (x86_64_section_letter): Update prototype.
1452 * config/tc-i860.c (struct i860_it): Constify error.
1453 (md_atof): Return const char*.
1454 * config/tc-i960.c (md_atof): Likewise.
1455 * config/tc-ia64.c (md_atof): Likewise.
1456 (ia64_elf_section_letter): Constify ptr_msg param.
1457 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
1458 * config/tc-ip2k.c (md_atof): Return const char*.
1459 * config/tc-iq2000.c (md_atof): Likewise.
1460 * config/tc-lm32.c (md_atof): Likewise.
1461 * config/tc-m32c.c (md_atof): Likewise.
1462 * config/tc-m32r.c (md_atof): Likewise.
1463 * config/tc-m68hc11.c (md_atof): Likewise.
1464 * config/tc-m68k.c (md_atof): Likewise.
1465 * config/tc-mcore.c (md_atof): Likewise.
1466 * config/tc-mep.c (md_atof): Likewise.
1467 (mep_elf_section_letter): Constify ptr_msg param.
1468 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
1469 * config/tc-metag.c (md_atof): Return const char*.
1470 * config/tc-microblaze.c (md_atof): Likewise.
1471 * config/tc-microblaze.h (md_atof): Delete prototype.
1472 * config/tc-mips.c (mips_parse_argument_token): Constify err.
1473 (md_atof): Return const char*.
1474 * config/tc-mmix.c (md_atof): Likewise.
1475 * config/tc-mn10200.c (md_atof): Likewise.
1476 * config/tc-mn10300.c (md_atof): Likewise.
1477 * config/tc-moxie.c (md_atof): Likewise.
1478 * config/tc-msp430.c (md_atof): Likewise.
1479 * config/tc-mt.c (md_atof): Likewise.
1480 * config/tc-nds32.c (md_atof): Likewise.
1481 * config/tc-nios2.c (md_atof): Likewise.
1482 (nios2_elf_section_letter): Constify ptr_msg param.
1483 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
1484 * config/tc-ns32k.c (md_atof): Return const char*.
1485 * config/tc-or1k.c (md_atof): Likewise.
1486 * config/tc-pdp11.c (struct pdp11_code): Constify error.
1487 (md_atof): Return const char*.
1488 * config/tc-pj.c (md_atof): Likewise.
1489 * config/tc-ppc.c (md_atof): Likewise.
1490 * config/tc-rl78.c (md_atof): Likewise.
1491 * config/tc-rx.c (md_atof): Likewise.
1492 * config/tc-s390.c (md_atof): Likewise.
1493 * config/tc-score.c (s3_atof, md_atof): Likewise.
1494 * config/tc-sh.c (md_atof): Likewise.
1495 * config/tc-sparc.c (struct sparc_it): Constify error.
1496 (md_atof): Return const char*.
1497 * config/tc-spu.c (md_atof): Likewise.
1498 * config/tc-tic30.c (md_atof): Likewise.
1499 * config/tc-tic4x.c (md_atof): Likewise.
1500 * config/tc-tic54x.c (md_atof): Likewise.
1501 * config/tc-tic6x.c (md_atof): Likewise.
1502 * config/tc-tilegx.c (md_atof): Likewise.
1503 * config/tc-tilepro.c (md_atof): Likewise.
1504 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
1505 * config/tc-vax.c (md_atof): Likewise.
1506 * config/tc-visium.c (md_atof): Likewise.
1507 * config/tc-xc16x.c (md_atof): Likewise.
1508 * config/tc-xgate.c (md_atof): Likewise.
1509 * config/tc-xstormy16.c (md_atof): Likewise.
1510 * config/tc-xtensa.c (md_atof): Likewise.
1511 * config/tc-z80.c (md_atof): Likewise.
1512 * config/tc-z8k.c (md_atof): Likewise.
1514 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1516 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
1518 (xtensa_section_rename): Make argument type const char *.
1519 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
1521 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1523 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
1526 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1528 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
1530 (m32c_indirect_operand): Likewise.
1531 * config/tc-nds32.c (do_pseudo_b): Likewise.
1532 (do_pseudo_bal): Likewise.
1533 (do_pseudo_ls_bhw): Likewise.
1535 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1537 * as.c (parse_args): Cast literal to char * when assigning to optarg.
1539 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1541 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
1543 * config/tc-sparc.c (s_register): Cast a literal to char * in
1546 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1548 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
1550 * config/tc-m32r.c (expand_debug_syms): Likewise.
1551 * config/tc-msp430.c (msp430_dstoperand): Likewise.
1552 * config/tc-z80.c (md_begin): Likewise.
1553 * stabs.c (stabs_generate_asm_func): Likewise.
1555 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1557 * cgen.c: Modernize the way functions declare arguments.
1558 * config/tc-bfin.c: Likewise.
1559 * config/tc-pdp11.c: Likewise.
1560 * literal.c: Likewise.
1562 * stabs.c: Likewise.
1564 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1566 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1567 variables unsigned char[].
1568 * config/tc-alpha.c (alpha_handle_align): Likewise.
1569 * config/tc-arm.c (arm_handle_align): Likewise.
1570 * config/tc-z80.c: Likewise.
1572 2016-03-30 Nick Clifton <nickc@redhat.com>
1575 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1578 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1580 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1581 * testsuite/gas/elf/elf.exp: Likewise.
1582 * testsuite/gas/all/redef3.d: Allow execution for ARC.
1584 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1586 * testsuite/gas/arc/warn.exp: Fix matching pattern.
1588 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
1590 * testsuite/gas/arc/ext2op.d: New file.
1591 * testsuite/gas/arc/ext2op.s: Likewise.
1592 * testsuite/gas/arc/ext3op.d: Likewise.
1593 * testsuite/gas/arc/ext3op.s: Likewise.
1595 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1597 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1599 * config/tc-alpha.c (md_parse_option): Likewise.
1600 * config/tc-arc.c (md_parse_option): Likewise.
1601 * config/tc-arm.c (struct arm_long_option_table): Likewise.
1602 (md_parse_option): Likewise.
1603 * config/tc-avr.c (md_parse_option): Likewise.
1604 * config/tc-bfin.c (md_parse_option): Likewise.
1605 * config/tc-cr16.c (md_parse_option): Likewise.
1606 * config/tc-cris.c (s_cris_arch): Likewise.
1607 (md_parse_option): Likewise.
1608 * config/tc-crx.c (md_parse_option): Likewise.
1609 * config/tc-d10v.c (md_parse_option): Likewise.
1610 * config/tc-d30v.c (md_parse_option): Likewise.
1611 * config/tc-dlx.c (md_parse_option): Likewise.
1612 * config/tc-epiphany.c (md_parse_option): Likewise.
1613 * config/tc-fr30.c (md_parse_option): Likewise.
1614 * config/tc-frv.c (md_parse_option): Likewise.
1615 * config/tc-ft32.c (md_parse_option): Likewise.
1616 * config/tc-h8300.c (md_parse_option): Likewise.
1617 * config/tc-hppa.c (md_parse_option): Likewise.
1618 * config/tc-i370.c (md_parse_option): Likewise.
1619 * config/tc-i386.c (md_parse_option): Likewise.
1620 * config/tc-i860.c (md_parse_option): Likewise.
1621 * config/tc-i960.c (md_parse_option): Likewise.
1622 * config/tc-ia64.c (md_parse_option): Likewise.
1623 * config/tc-ip2k.c (md_parse_option): Likewise.
1624 * config/tc-iq2000.c (md_parse_option): Likewise.
1625 * config/tc-lm32.c (md_parse_option): Likewise.
1626 * config/tc-m32c.c (md_parse_option): Likewise.
1627 * config/tc-m32r.c (md_parse_option): Likewise.
1628 * config/tc-m68hc11.c (md_parse_option): Likewise.
1629 * config/tc-m68k.c (md_parse_option): Likewise.
1630 * config/tc-mcore.c (md_parse_option): Likewise.
1631 * config/tc-mep.c (md_parse_option): Likewise.
1632 * config/tc-metag.c (struct metag_long_option): Likewise.
1633 (md_parse_option): Likewise.
1634 * config/tc-microblaze.c (md_parse_option): Likewise.
1635 * config/tc-microblaze.h (md_parse_option): Remove prototype.
1636 * config/tc-mips.c (md_parse_option): Adjust.
1637 * config/tc-mmix.c (md_parse_option): Likewise.
1638 * config/tc-mn10200.c (md_parse_option): Likewise.
1639 * config/tc-mn10300.c (md_parse_option): Likewise.
1640 * config/tc-moxie.c (md_parse_option): Likewise.
1641 * config/tc-msp430.c (md_parse_option): Likewise.
1642 * config/tc-mt.c (md_parse_option): Likewise.
1643 * config/tc-nds32.c (md_parse_option): Likewise.
1644 * config/tc-nds32.h (nds32_parse_option): Likewise.
1645 * config/tc-nios2.c (md_parse_option): Likewise.
1646 * config/tc-ns32k.c (md_parse_option): Likewise.
1647 * config/tc-or1k.c (md_parse_option): Likewise.
1648 * config/tc-pdp11.c (md_parse_option): Likewise.
1649 * config/tc-pj.c (md_parse_option): Likewise.
1650 * config/tc-ppc.c (md_parse_option): Likewise.
1651 * config/tc-rl78.c (md_parse_option): Likewise.
1652 * config/tc-rx.c (md_parse_option): Likewise.
1653 * config/tc-s390.c (s390_parse_cpu): Likewise.
1654 * config/tc-score.c (md_parse_option): Likewise.
1655 * config/tc-sh.c (md_parse_option): Likewise.
1656 * config/tc-sparc.c (md_parse_option): Likewise.
1657 * config/tc-spu.c (md_parse_option): Likewise.
1658 * config/tc-tic30.c (md_parse_option): Likewise.
1659 * config/tc-tic4x.c (md_parse_option): Likewise.
1660 * config/tc-tic54x.c (md_parse_option): Likewise.
1661 * config/tc-tic6x.c (md_parse_option): Likewise.
1662 * config/tc-tilegx.c (md_parse_option): Likewise.
1663 * config/tc-tilepro.c (md_parse_option): Likewise.
1664 * config/tc-v850.c (md_parse_option): Likewise.
1665 * config/tc-vax.c (md_parse_option): Likewise.
1666 * config/tc-visium.c (struct visium_long_option_table): Likewise.
1667 * config/tc-xc16x.c (md_parse_option): Likewise.
1668 * config/tc-xgate.c (md_parse_option): Likewise.
1669 * config/tc-xstormy16.c (md_parse_option): Likewise.
1670 * config/tc-xtensa.c (md_parse_option): Likewise.
1671 * config/tc-z80.c (md_parse_option): Likewise.
1672 * config/tc-z8k.c (md_parse_option): Likewise.
1673 * tc.h (md_parse_option): Likewise.
1675 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1677 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1678 * config/tc-hppa.c (fix_new_hppa): Likewise.
1679 (pa_vtable_entry): Likewise.
1680 (pa_vtable_inherit): Likewise.
1681 * config/tc-m68k.c (md_begin): Likewise.
1683 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1685 * config/obj-elf.c (obj_elf_section_name): Return const char *.
1686 * config/obj-elf.h (obj_elf_section_name): Adjust.
1687 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1688 (aarch64_parse_cpu): Likewise.
1689 (aarch64_parse_arch): Likewise.
1690 * config/tc-arm.c (arm_parse_extension): Likewise.
1691 (arm_parse_cpu): Likewise.
1692 (arm_parse_arch): Likewise.
1693 * config/tc-nds32.c: Likewise.
1694 * config/xtensa-relax.c (parse_special_fn): Likewise.
1695 * stabs.c (generate_asm_file): Likewise.
1697 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1699 * config/tc-cr16.c (cr16_assemble): New function.
1700 (md_assemble): Call cr16_assemble.
1702 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1704 * as.c (parse_args): Adjust.
1705 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1706 * config/obj-elf.c (elf_frob_symbol): Adjust.
1708 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1710 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1711 registers to be in the 16..31 range.
1713 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1715 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1718 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1720 * config/tc-visium.c (md_atof): Localize the string returned on
1723 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1725 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1726 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1727 * config/tc-m68hc11.c (md_begin): Likewise.
1728 (print_opcode_list): Likewise.
1729 * config/tc-msp430.c (msp430_section): Likewise.
1730 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1731 (s3_build_dependency_insn_hsh): Likewise.
1732 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1733 (s7_build_dependency_insn_hsh): Likewise.
1734 * config/tc-tic4x.c: Likewise.
1735 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1736 (subsym_get_arg): Likewise.
1737 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1738 (get_directive): Likewise.
1739 (cache_literal_section): Likewise.
1740 * config/xtensa-relax.c: Likewise.
1741 * symbols.c (symbol_create): Likewise.
1742 (local_symbol_make): Likewise.
1743 (symbol_relc_make_expr): Likewise.
1745 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1747 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1750 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1752 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1755 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1757 * config/tc-ia64.c (ia64_do_align): Remove.
1758 (ia64_cons_align): Call do_align () directly.
1759 (dot_proc): Likewise.
1760 (stmt_float_cons): Likewise.
1762 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1764 * listing.c (listing_message): Use XNEW style allocation macros.
1765 * read.c (read_a_source_file): Likewise.
1766 (read_symbol_name): Likewise.
1767 (s_mri_common): Likewise.
1768 (assign_symbol): Likewise.
1769 (s_reloc): Likewise.
1770 (emit_expr_with_reloc): Likewise.
1771 (s_incbin): Likewise.
1772 (s_include): Likewise.
1773 * sb.c (sb_build): Likewise.
1774 (sb_check): Likewise.
1776 2016-03-22 Alan Modra <amodra@gmail.com>
1778 * write.c (record_alignment): Revert 2016-02-18 change.
1780 2016-03-22 Alan Modra <amodra@gmail.com>
1782 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1783 (emit_jsrjmp, tc_gen_reloc): Likewise.
1784 * config/tc-i370.c (i370_macro): Likewise.
1786 2016-03-22 Nick Clifton <nickc@redhat.com>
1788 * configure: Regenerate.
1790 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1792 * testsuite/gas/arc/nps400-0.d: New file.
1793 * testsuite/gas/arc/nps400-0.s: New file.
1794 * testsuite/gas/arc/nps400-1.d: New file.
1795 * testsuite/gas/arc/nps400-1.s: New file.
1797 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1799 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1800 declarations to start of block. Reset code on all flags before
1801 attempting to match them. Handle multiple hits on the same flag.
1803 * testsuite/gas/arc/asm-errors.d: New file.
1804 * testsuite/gas/arc/asm-errors.err: New file.
1805 * testsuite/gas/arc/asm-errors.s: New file.
1807 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1809 * config/tc-arc.c (cpu_types): Add nps400 entry.
1810 (check_zol): Handle nps400.
1812 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1814 * config/tc-arc.c (arc_select_cpu): Remove use of
1817 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1819 * config/tc-arc.c (arc_target): Delay initialisation until
1821 (arc_target_name): Likewise.
1822 (arc_features): Likewise.
1823 (arc_mach_type): Likewise.
1824 (cpu_types): Remove "all" entry.
1825 (arc_select_cpu): New function, most of the content is from...
1826 (md_parse_option): ... here. Call new arc_select_cpu.
1827 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1829 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1831 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1832 * testsuite/gas/arc/inline-data-2.d: New file.
1834 2016-03-21 Nick Clifton <nickc@redhat.com>
1836 * atof-generic.c: Replace use of alloca with call to xmalloc.
1838 * dwarf2dbg.c: Likewise.
1839 * macro.c: Likewise.
1840 * remap.c: Likewise.
1841 * stabs.c: Likewise.
1842 * symbols.c: Likewise.
1843 * config/obj-elf.c: Likewise.
1844 * config/tc-aarch64.c: Likewise.
1845 * config/tc-arc.c: Likewise.
1846 * config/tc-arm.c: Likewise.
1847 * config/tc-avr.c: Likewise.
1848 * config/tc-ia64.c: Likewise.
1849 * config/tc-mips.c: Likewise.
1850 * config/tc-msp430.c: Likewise.
1851 * config/tc-nds32.c: Likewise.
1852 * config/tc-ppc.c: Likewise.
1853 * config/tc-sh.c: Likewise.
1854 * config/tc-tic30.c: Likewise.
1855 * config/tc-tic54x.c: Likewise.
1856 * config/tc-xstormy16.c: Likewise.
1857 * config/te-vms.c: Likewise.
1858 * configure: Regenerate.
1860 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1862 * tc-i386.c (f32_1): Change type to unsigned char[].
1882 (jump_31): Likewise.
1883 (f32_patt): Likewise.
1884 (f16_patt): Likewise.
1893 (alt_patt): Likewise.
1895 2016-03-18 Nick Clifton <nickc@redhat.com>
1897 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1898 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1899 .tlsdescldr and .xword directives.
1902 * testsuite/gas/aarch64/pr19721.s: New test source file.
1903 * testsuite/gas/aarch64/pr19721.d: New test driver file.
1905 * doc/as.texinfo: Place the target specific command line options
1906 into their own man page section.
1908 2016-03-16 Jiong Wang <jiong.wang@arm.com>
1910 * config/tc-arm.c (N_S_32): New.
1911 (N_F_16_32): Likewise.
1912 (N_SUF_32): Support N_F16.
1913 (N_IF_32): Likewise.
1914 (neon_dyadic_misc): Likewise.
1915 (do_neon_cmp): Likewise.
1916 (do_neon_cmp_inv): Likewise.
1917 (do_neon_mul): Likewise.
1918 (do_neon_fcmp_absolute): Likewise.
1919 (do_neon_step): Likewise.
1920 (do_neon_abs_neg): Likewise.
1921 (CVT_FLAVOR_VAR): Likewise.
1922 (do_neon_cvt_1): Likewise.
1923 (do_neon_recip_est): Likewise.
1924 (do_vmaxnm): Likewise.
1925 (do_vrint_1): Likewise.
1926 (neon_check_type): Check architecture support for FP16 extension.
1927 (insns): Update comments.
1928 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1929 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1930 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1931 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1933 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1935 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1938 2016-03-16 Nick Clifton <nickc@redhat.com>
1940 * read.c (emit_expr_with_reloc): Add code check a bignum with
1942 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1944 * testsuite/gas/elf/bignum.s: New test source file.
1945 * testsuite/gas/elf/bignum.d: New test driver file.
1946 * testsuite/gas/elf/elf.exp: Run the new test.
1948 2016-03-15 Ulrich Drepper <drepper@gmail.com>
1950 * doc/c-i386.texi (Register Naming): Update to details of the
1951 latest architecture version.
1953 2016-03-10 Mickael Guene <mickael.guene@st.com>
1956 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1958 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1959 (do_t_mov_cmp): Likewise.
1960 (do_t_add_sub): Protect against bad relocations usage.
1961 (do_t_mov_cmp): Likewise.
1962 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1963 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1964 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1965 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
1967 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1969 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1971 (do_neon_ld_st_lane): Likewise.
1972 (do_neon_ld_dup): Likewise.
1974 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1976 * testsuite/gas/arc/inline-data-1.d: New file.
1977 * testsuite/gas/arc/inline-data-1.s: New file.
1979 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
1981 * config/tc-arm.c (arm_cpus): Add cortex-r8.
1982 * doc/c-arm.texi: Add cortex-r8.
1984 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1986 * config/tc-arc.c: Add const qualifiers.
1987 * config/tc-h8300.c (md_begin): Likewise.
1988 * config/tc-ia64.c (print_prmask): Likewise.
1989 * config/tc-msp430.c (msp430_operands): Likewise.
1990 * config/tc-nds32.c (struct suffix_name): Likewise.
1991 (struct nds32_parse_option_table): Likewise.
1992 (struct nds32_set_option_table): Likewise.
1993 (do_pseudo_pushpopm): Likewise.
1994 (do_pseudo_pushpop_stack): Likewise.
1995 (nds32_relax_relocs): Likewise.
1996 (nds32_flag): Likewise.
1997 (struct nds32_hint_map): Likewise.
1998 (nds32_find_reloc_table): Likewise.
1999 (nds32_match_hint_insn): Likewise.
2000 * config/tc-s390.c: Likewise.
2001 * config/tc-sh.c (get_specific): Likewise.
2002 * config/tc-tic30.c: Likewise.
2003 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
2004 (tic4x_indirect_parse): Likewise.
2005 * config/tc-vax.c (vax_cons): Likewise.
2006 * config/tc-z80.c (struct reg_entry): Likewise.
2007 * config/tc-epiphany.c (md_assemble): Adjust.
2008 (epiphany_assemble): New function.
2009 (epiphany_elf_section_rtn): Call do_align directly.
2010 (epiphany_elf_section_text): Likewise.
2011 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
2012 (ip2k_elf_section_text): Likewise.
2013 * read.c (do_align): Make it not static.
2014 * read.h (do_align): New prototype.
2016 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2018 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
2019 for ARMv8.1 AdvSIMD use.
2020 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
2021 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
2023 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2025 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
2027 (record_feature_use): New.
2028 (mark_feature_used): Use record_feature_use.
2029 (do_neon_qrdmlah): New.
2030 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
2032 (arm_extensions): Put into alphabetical order. Re-indent "simd"
2033 and "rdma" entries. Fix the incorrect merge value for "+rdma".
2034 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
2035 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
2036 Make source file explicit.
2037 * testsuite/gas/arm/armv8-a+rdma.l: New.
2038 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
2039 directives. Fix white-space.
2040 * testsuite/gas/arm/armv8_1-a+simd.d: New.
2042 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2044 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
2046 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2047 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2049 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
2050 (tc_arc_fix_adjustable): Changed default return value to 1.
2051 * testsuite/gas/arc/j.d: Updated expected symbol
2052 * testsuite/gas/arc/jl.d: Likewise
2053 * testsuite/gas/arc/relax-avoid1.d: Likewise
2054 * testsuite/gas/arc/st.d: Likewise
2056 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2058 * config/tc-arc.c: Enable code density instructions for ARC EM.
2060 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2063 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
2065 * as.c (flag_use_elf_stt_common): New.
2066 (show_usage): Add --elf-stt-common=.
2067 (option_values): Add OPTION_ELF_STT_COMMON.
2068 (std_longopts): Add --elf-stt-common=.
2069 (parse_args): Handle --elf-stt-common=.
2070 * as.h (flag_use_elf_stt_common): New.
2071 * config.in: Regenerated.
2072 * configure: Likewise.
2073 * configure.ac: Add --enable-elf-stt-common and define
2074 DEFAULT_GENERATE_ELF_STT_COMMON.
2075 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
2076 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
2077 * doc/as.texinfo: Document --elf-stt-common=.
2078 * testsuite/gas/elf/common3.s: New file.
2079 * testsuite/gas/elf/common3a.d: Likewise.
2080 * testsuite/gas/elf/common3b.d: Likewise.
2081 * testsuite/gas/elf/common4.s: Likewise.
2082 * testsuite/gas/elf/common4a.d: Likewise.
2083 * testsuite/gas/elf/common4b.d: Likewise.
2084 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
2085 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
2086 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
2088 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
2089 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
2090 --elf-stt-common=no to as.
2091 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
2092 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
2093 --elf-stt-common=no to as.
2094 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
2095 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
2096 of dw2-compress-3 and dw2-compressed-3.
2098 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2100 * as.c (select_emulation_mode): Add const qualifiers.
2102 * config/bfin-defs.h: Likewise.
2103 * config/bfin-parse.y: Likewise.
2104 * config/rx-parse.y: Likewise.
2105 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
2106 (struct aarch64_cpu_option_table): Likewise.
2107 (struct aarch64_arch_option_table): Likewise.
2108 (struct aarch64_option_cpu_value_table): Likewise.
2109 (struct aarch64_long_option_table): Likewise.
2110 (struct aarch64_option_abi_value_table): Likewise.
2111 * config/tc-arm.c (struct reloc_entry): Likewise.
2112 (tc_gen_reloc): Likewise.
2113 (struct arm_option_table): Likewise.
2114 (struct arm_legacy_option_table): Likewise.
2115 (struct arm_cpu_option_table): Likewise.
2116 (struct arm_arch_option_table): Likewise.
2117 (struct arm_option_extension_value_table): Likewise.
2118 (struct arm_option_fpu_value_table): Likewise.
2119 (struct arm_option_value_table): Likewise.
2120 (struct arm_long_option_table): Likewise.
2121 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2122 (struct mcu_type_s): Likewise.
2123 (struct exp_mod_s): Likewise.
2124 (avr_operand): Likewise.
2125 (avr_operands): Likewise.
2126 * config/tc-d10v.c (md_begin): Likewise.
2127 * config/tc-dlx.c: Likewise.
2128 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2129 * config/tc-ft32.c (parse_condition): Likewise.
2130 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2131 * config/tc-hppa.c (pa_ip): Likewise.
2132 (hppa_regname_to_dw2regnum): Likewise.
2133 * config/tc-i370.c (i370_elf_suffix): Likewise.
2134 * config/tc-i960.c (struct tabentry): Likewise.
2135 * config/tc-m32r.c: Likewise.
2136 * config/tc-m68k.c: Likewise.
2137 * config/tc-m68k.h: Likewise.
2138 * config/tc-mcore.c (parse_psrmod): Likewise.
2139 * config/tc-metag.c (struct metag_core_option): Likewise.
2140 (struct metag_long_option): Likewise.
2141 * config/tc-microblaze.c: Likewise.
2142 * config/tc-mips.c (macro): Likewise.
2143 * config/tc-mn10200.c: Likewise.
2144 * config/tc-mn10300.c: Likewise.
2145 * config/tc-msp430.c (struct rcodes_s): Likewise.
2146 (struct hcodes_s): Likewise.
2147 (md_parse_option): Likewise.
2148 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2149 (optlist): Likewise.
2150 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2151 (tc_ppc_regname_to_dw2regnum): Likewise.
2152 * config/tc-ppc.h: Likewise.
2153 * config/tc-rl78.c: Likewise.
2154 * config/tc-rx.c (struct cpu_type): Likewise.
2155 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2156 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2157 (sparc_ip): Likewise.
2158 * config/tc-spu.c (insn_fmt_string): Likewise.
2159 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2160 * config/tc-v850.c: Likewise.
2161 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2162 (struct visium_long_option_table): Likewise.
2163 * config/tc-xgate.c: Likewise.
2164 * config/tc-z8k.c: Likewise.
2165 * read.c (add_include_dir): Likewise.
2168 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2170 * testsuite/gas/all/gas.exp: Change target pattern to cover
2172 * testsuite/gas/all/redef3.d: Likewise.
2173 * testsuite/gas/elf/elf.exp: Likewise.
2175 2016-02-24 Renlin Li <renlin.li@arm.com>
2177 * config/tc-arm.c (BAD_FP16): New error message macro.
2178 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2179 fp16 scalar instructions.
2180 (neon_check_type): Allow different size from key.
2181 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2182 (try_vfp_nsyn): Likewise.
2183 (do_vfp_nsyn_mla_mls): Likewise.
2184 (do_vfp_nsyn_fma_fms): Likewise.
2185 (do_vfp_nsyn_ldm_stm): Likewise
2186 (do_vfp_nsyn_sqrt): Likewise
2187 (do_vfp_nsyn_div): Likewise
2188 (do_vfp_nsyn_nmul): Likewise.
2189 (do_vfp_nsyn_cmp): Likewise.
2190 (do_neon_shll): Likewise.
2191 (do_vfp_nsyn_cvt_fpv8): Likewise.
2192 (do_neon_cvttb_2): Likewise.
2193 (do_neon_mov): Likewise.
2194 (do_neon_rshift_round_imm): Likewise.
2195 (do_neon_ldr_str): Likewise.
2196 (do_vfp_nsyn_fpv8): Likewise.
2197 (do_vmaxnm): Likewise.
2198 (do_vrint_1): Likewise.
2199 (insns): New entry for vins, vmovx.
2200 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2201 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2202 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2203 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2204 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2205 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2206 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2208 2016-02-24 Renlin Li <renlin.li@arm.com>
2210 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2211 (neon_shape_class): New SC_HALF.
2212 (neon_shape_el): New SE_H.
2213 (neon_shape_el_size): New size for SE_H.
2214 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2215 (neon_select_shape): Add SE_H support code.
2216 (el_type_of_type_chk): Use N_F_ALL.
2217 (do_vfp_nsyn_cvt): Add SE_H shape support.
2218 (do_neon_cvtz): Likewise.
2219 (do_neon_cvt_1): Likewise.
2220 (do_neon_cvttb_1): Likewise.
2222 2016-02-24 Renlin Li <renlin.li@arm.com>
2224 * testsuite/gas/arm/copro.d: Adjust output.
2225 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2227 2016-02-24 Renlin Li <renlin.li@arm.com>
2229 * testsuite/gas/arm/mask_1.d: New.
2230 * testsuite/gas/arm/mask_1.s: New.
2232 2016-02-24 Renlin Li <renlin.li@arm.com>
2234 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2235 * testsuite/gas/arm/copro.d: Update.
2237 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2239 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2240 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2242 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2244 * doc/c-arm.texi (ARM Options): Document cortex-a17.
2246 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2248 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2251 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2253 * output-file.c (output_file_create): Make file name argument const.
2254 (output_file_close): Likewise.
2255 * output-file.h (output_file_create): Adjust.
2256 (output_file_close): Likewise.
2257 * depend.c (quote_string_for_make): Make src argument const char *.
2258 (register_dependency): Likewise.
2259 (wrap_output): Likewise.
2260 * as.h (register_dependency): Adjust.
2261 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2263 * symbols.c (S_SET_EXTERNAL): Likewise.
2264 * input-scrub.c (as_where): Return the file name.
2265 * as.h (as_where): Adjust prototype.
2266 * app.c (do_scrub_chars): Adjust.
2267 * cond.c (s_elseif): Likewise.
2269 (initialize_cframe): Likewise.
2270 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2271 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2272 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2273 * config/tc-aarch64.c (output_info): Likewise.
2274 * config/tc-ia64.c (md_assemble): Likewise.
2275 (dot_alias): Likewise.
2276 * config/tc-m68k.c (m68k_frob_label): Likewise.
2277 * config/tc-mmix.c (s_bspec): Likewise.
2278 (mmix_handle_mmixal): Likewise.
2279 * config/tc-rx.c (rx_include): Likewise.
2280 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2281 (tic54x_adjust_symtab): Likewise.
2282 * config/tc-xtensa.c (directive_push): Likewise.
2283 (xtensa_sanity_check): Likewise.
2284 (xtensa_relax_frag): Likewise.
2285 (md_convert_frag): Likewise.
2286 (tinsn_to_slotbuf): Likewise.
2287 * dwarf2dbg.c (dwarf2_where): Likewise.
2288 * ecoff.c (add_file): Likewise.
2289 (ecoff_generate_asm_lineno): Likewise.
2290 * expr.c (make_expr_symbol): Likewise.
2291 * frags.c (frag_new): Likewise.
2292 (frag_var_init): Likewise.
2293 * listing.c (listing_newline): Likewise.
2294 * messages.c (identify): Likewise.
2295 (as_show_where): Likewise.
2296 (as_warn_internal): Likewise.
2297 (as_bad_internal): Likewise.
2298 * read.c (s_irp): Likewise.
2299 (s_macro): Likewise.
2300 (s_reloc): Likewise.
2301 * stabs.c (stabs_generate_asm_file): Likewise.
2302 (stabs_generate_asm_lineno): Likewise.
2303 (stabs_generate_asm_func): Likewise.
2304 * write.c (fix_new_internal): Likewise.
2305 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2306 (as_warn_value_out_of_range): Adjust prototype.
2307 (as_bad_value_out_of_range): Adjust prototype.
2308 * messages.c (identify): Make file name argument const char *.
2309 (as_warn_internal): Likewise.
2310 (as_warn_where): Likewise.
2311 (as_bad_internal): Likewise.
2312 (as_bad_where): Likewise.
2313 (as_internal_value_out_of_range): Likewise.
2314 (as_warn_value_out_of_range): Likewise.
2315 (as_bad_value_out_of_range): Likewise.
2316 * as.h (found_comment_file): Change type to const char *.
2317 * cond.c (file_line::file): Likewise.
2318 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2319 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2320 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2321 * config/tc-aarch64.c (output_info): Likewise.
2322 * config/tc-alpha.c (insert_operand): Likewise.
2323 * config/tc-arc.c (insert_operand): Likewise.
2324 * config/tc-d30v.c (check_size): Likewise.
2325 * config/tc-ia64.c (struct alias): Likewise.
2326 * config/tc-m68k.c (struct label_line): Likewise.
2327 * config/tc-mcore.c (md_apply_fix): Likewise.
2328 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2329 * config/tc-mips.c (mips16_immed): Likewise.
2330 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2331 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2332 * config/tc-rx.c (rx_include): Likewise.
2333 * config/tc-s390.c (s390_insert_operand): Likewise.
2334 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2335 (tic54x_adjust_symtab): Likewise.
2336 * config/tc-tilegx.c (insert_operand): Likewise.
2337 (apply_special_operator): Likewise.
2338 * config/tc-tilepro.c (insert_operand): Likewise.
2339 * config/tc-xtensa.c (directive_push): Likewise.
2340 * ecoff.c (add_file): Likewise.
2341 (ecoff_generate_asm_lineno): Likewise.
2342 * listing.c (listing_newline): Likewise.
2343 * read.c (s_irp): Likewise.
2344 * write.c (install_reloc): Likewise.
2345 * write.h (struct fix): Likewise.
2346 * input-file.c (file_name): Change type to const char *.
2347 (saved_file::file_name): Likewise.
2348 (input_file_open): Change type of argument to const char *.
2349 * input-file.h (input_file_open): Adjust.
2350 * input-scrub.c (logical_input_file): change type to const char *.
2351 (physical_input_file): Likewise.
2352 (struct input_save): Adjust.
2353 (input_scrub_push): Adjust.
2354 (input_scrub_begin): Adjust.
2356 * input-scrub.c (input_scrub_new_file): Make file name argument const.
2357 (input_scrub_include_file): Likewise.
2358 (new_logical_line_flags): Likewise.
2359 (new_logical_line): Likewise.
2361 * frags.h (struct frag): Change type of fr_file to const char *.
2362 * expr.c (expr_symbol_where): Change type of file argument to
2364 * expr.h (expr_symbol_where): Likewise.
2365 * config/tc-i370.c (md_apply_fix): adjust.
2366 * config/tc-mmix.c (mmix_md_end): Likewise.
2367 * config/tc-ppc.c (md_apply_fix): Likewise.
2368 * config/tc-s390.c (md_apply_fix): Likewise.
2369 * symbols.c (report_op_error): Likewise.
2370 (resolve_symbol_value): Likewise.
2371 * config/tc-ia64.c (slot::src_file): Change type to const char *.
2372 (rsrc::file): Likewise.
2373 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2375 (xtensa_relax_frag): Likewise.
2376 (md_convert_frag): Likewise.
2377 (tinsn_to_slotbuf): Likewise.
2378 * expr.c (expr_symbol_line): Likewise.
2379 * macro.c (define_macro): Likewise.
2380 * macro.h (macro_struct): Likewise.
2381 * messages.c (as_show_where): Likewise.
2382 * read.c (s_macro): Likewise.
2383 * stabs.c (stabs_generate_asm_file): Likewise.
2384 (generate_asm_file): Likewise.
2385 (stabs_generate_asm_lineno): Likewise.
2386 * write.h (struct reloc_list): Likewise.
2387 * input-scrub.c (as_where): Change return type to const char *.
2388 * as.h (as_wheree): Adjust.
2390 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
2392 * write.c (compress_debug): Move BFD compression bits setting
2394 (write_object_file): Here.
2396 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2398 * config/tc-i386.c (register_number): Check RegVRex.
2399 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2400 with %zmm19 and %zmm3.
2401 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2402 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2404 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2405 Jiong Wang <jiong.wang@arm.com>
2407 * config/tc-arm.c (arm_ext_fp16): New.
2408 (arm_extensions): New entry for "fp16".
2410 2016-02-19 Nick Clifton <nickc@redhat.com>
2413 * read.c (read_a_source_file): Check for assemble_one returning
2414 with input_line_pointer set to NULL.
2416 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2418 * listing.c (rebuffer_line): Change return type to void.
2420 * symbols.c (decode_local_label_name): Make type a const char *.
2421 * listing.c (print_source): Make type of p const char *.
2422 (print_line): Make type of string const char *.
2423 (buffer_line): Return const char *.
2424 (title): Make type const char *.
2425 (subtitle): Likewise.
2426 (listing_listing): Make type of p const char *.
2427 * messages.c (as_internal_value_out_of_range): Make type of prefix
2429 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
2430 and string const char *.
2431 * read.c (_bfd_rel): Make type of name const char *.
2432 * app.c (out_string): Change type to const char *.
2433 (struct app_save::out_string): Likewise.
2435 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
2436 Nick Clifton <nickc@redhat.com>
2438 * read.c (finish_bundle): Avoid recording a negative alignment.
2439 (do_align): Use unsigned values for n, len and max. Only create
2440 a frag if the alignment requirement is greater than the minimum
2441 byte alignment. Avoid recording a negative alignment.
2442 (s_align): Use unsigned values where appropriate.
2443 (bss_alloc): Use an unsigned value for the alignment.
2444 (sizeof_sleb128): Add a comment noting that we encode one octet
2445 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
2446 (emit_leb129_expr): Abort if the emitted encoding was longer than
2448 * read.h (output_leb128): Update prototype.
2449 (sizeof_leb128): Update prototype.
2450 (bss_alloc): Update prototype.
2451 * write.c (record_alignment): Use an unsigned value for the
2452 alignment. Do not record alignments less than the minimum
2453 alignment for a byte.
2454 * write.h (record_alignment): Update prototype.
2456 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2458 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
2459 .init.literal/.fini.literal section name.
2460 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
2461 list of xtensa tests.
2462 * testsuite/gas/xtensa/init-fini-literals.d: New file:
2463 init-fini-literals test result patterns.
2464 * testsuite/gas/xtensa/init-fini-literals.s: New file:
2465 init-fini-literals test.
2467 2016-02-17 Nick Clifton <nickc@redhat.com>
2469 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
2470 devices.csv file as of March 2016.
2472 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
2474 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
2476 (tc_arc_regname_to_dw2regnum): Likewise.
2477 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
2478 (tc_cfi_frame_initial_instructions): Likewise.
2479 (tc_regname_to_dw2regnum): Likewise.
2480 * testsuite/gas/cfi/cfi-arc-1.d: New file.
2481 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
2482 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
2484 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
2486 * doc/internals.texi (S_IS_EXTERN): Remove.
2488 2016-02-16 Nick Clifton <nickc@redhat.com>
2490 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
2493 2016-02-16 Renlin Li <renlin.li@arm.com>
2496 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
2497 * testsuite/gas/aarch64/movw_label.d: New.
2498 * testsuite/gas/aarch64/movw_label.s: New.
2500 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
2503 * config/rx-parse.y (MOV): Opcode generation for index
2504 register addressing mode.
2505 * testsuite/gas/rx/rx.exp: Updated for new testcase.
2506 * testsuite/gas/rx/pr19665.s: New file.
2507 * testsuite/gas/rx/pr19665.s: New file.
2508 * testsuite/gas/rx/mov.d: Update expected output.
2510 2016-02-15 Nick Clifton <nickc@redhat.com>
2512 * doc/as.texinfo (.section): Document that numeric values can now
2513 be used for the flags and type fields of the ELF target's .section
2514 directive. Add notes about the restrictions on setting flags and
2516 * config/obj-elf.c (obj_elf_change_section): Allow known sections
2517 to be given processor specific section types. Allow processor and
2518 application specific flags of a section to be set after
2520 (obj_elf_parse_section_letters): Handle parsing numeric values.
2521 (obj_elf_section_type): Handle parsing numeric values.
2522 (obj_elf_section): Allow numeric type values.
2523 * config/obj-elf.h (obj_elf_change_section): Update prototype.
2524 * testsuite/gas/elf/section10.d: New test.
2525 * testsuite/gas/elf/section10.s: Source file for new test.
2526 * testsuite/gas/elf/elf.exp: Run the new test.
2527 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
2528 the description of the flags produced by readelf.
2529 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
2530 * NEWS: Mention the new feature.
2532 2016-02-11 Nick Clifton <nickc@redhat.com>
2535 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
2536 until it is actually used.
2537 (cfi_set_sections): Set cfi_sections_set to true.
2538 (dot_cfi_startproc): Likewise.
2539 (dot_cfi_endproc): Likewise.
2540 (dot_cfi_fde_data): Likewise.
2541 (cfi_finish): Likewise.
2542 (dot_cfi_sections): Do not set cfi_sections_set.
2543 * doc/as.texinfo (.cfi_sections): Note that targets can provide
2544 their own cfi section name. Also note that the directive can be
2545 reissued provided that CFI generation has not started.
2546 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
2547 .cfi_endproc directives so that the redefinition of .cfi_sections
2548 will trigger the generation of the error message.
2549 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
2550 number of error message.
2552 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
2553 Janek van Oirschot <jvanoirs@synopsys.com>
2555 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2556 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2558 (arc_flags, arc_relax_type): New structure.
2559 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2560 (RELAX_TABLE_ENTRY_MAX): New define.
2561 (relaxation_state, md_relax_table, arc_relaxable_insns)
2562 (arc_num_relaxable_ins): New variable.
2563 (rlx_operand_type, arc_rlx_types): New enums.
2564 (arc_relaxable_ins): New structure.
2565 (OPTION_RELAX): New option.
2566 (arc_insn): New relax member.
2567 (arc_flags): Remove.
2568 (relax_insn_p): New function.
2569 (apply_fixups): Likewise.
2570 (relaxable_operand): Likewise.
2571 (may_relax_expr): Likewise.
2572 (relaxable_flag): Likewise.
2573 (arc_pcrel_adjust): Likewise.
2574 (md_estimate_size_before_relax): Implement.
2575 (md_convert_frag): Likewise.
2576 (md_parse_option): Handle new mrelax option.
2577 (md_show_usage): Likewise.
2578 (assemble_insn): Set relax member.
2579 (emit_insn0): New function.
2580 (emit_insn1): Likewise.
2581 (emit_insn): Handle relaxation case.
2582 * NEWS: Mention the new relaxation option.
2583 * doc/c-arc.texi (ARC Options): Document new mrelax option.
2584 * doc/as.texinfo (Target ARC Options): Likewise.
2585 * testsuite/gas/arc/relax-avoid1.d: New file.
2586 * testsuite/gas/arc/relax-avoid1.s: Likewise.
2587 * testsuite/gas/arc/relax-avoid2.d: Likewise.
2588 * testsuite/gas/arc/relax-avoid2.s: Likewise.
2589 * testsuite/gas/arc/relax-avoid3.d: Likewise.
2590 * testsuite/gas/arc/relax-avoid3.s: Likewise.
2591 * testsuite/gas/arc/relax-b.d: Likewise.
2592 * testsuite/gas/arc/relax-b.s: Likewise.
2594 2016-02-08 Nick Clifton <nickc@redhat.com>
2596 * config/tc-ia64.c (dot_prologue): Fix formatting.
2598 2016-02-04 Nick Clifton <nickc@redhat.com>
2600 * config/obj-elf.c (obj_elf_change_section): Remove support for
2601 ARM NOREAD sections.
2602 * config/tc-arm.c (arm_elf_section_letter): Delete.
2603 * config/tc-arm.h (md_elf_section_letter): Delete.
2604 * doc/c-arm.texi (ARM Section Attribute): Delete section.
2605 * testsuite/gas/arm/section-execute-only.d: Delete.
2606 * testsuite/gas/arm/section-execute-only.s: Delete.
2608 2016-02-04 Nick Clifton <nickc@redhat.com>
2611 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2612 to handle encoding of RRUX instruction.
2613 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2615 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2617 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2619 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2620 substitutions for BFD_RELOC_* as unsigned.
2621 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2622 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2623 * testsuite/gas/xtensa/loc.s: New file: loc test.
2625 2016-02-03 Kevin Buettner <kevinb@redhat.com>
2627 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
2629 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2632 * NEWS: Mention new command line option -mrelax-relocations and
2633 new configure option --enable-x86-relax-relocations for x86
2635 * config.in: Regenerated.
2636 * configure.ac: Add --enable-x86-relax-relocations.
2637 (ac_default_x86_relax_relocations): New. Default to 1 except
2638 for x86 Solaris targets older than Solaris 12.
2639 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2640 * configure: Likewise.
2641 * config/tc-i386.c (generate_relax_relocations): New.
2642 (OPTION_MRELAX_RELOCATIONS): Likewise.
2643 (output_disp): Don't generate relax relocations if
2644 generate_relax_relocations is 0.
2645 (md_longopts): Add -mrelax-relocations.
2646 (md_show_usage): Likewise.
2647 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2648 * doc/c-i386.texi: Document -mrelax-relocations=.
2649 * testsuite/gas/i386/got-no-relax.d: New file.
2650 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2651 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2652 * testsuite/gas/i386/localpic.d: Likewise.
2653 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2654 * testsuite/gas/i386/reloc32.d: Likewise.
2655 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2656 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2657 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2658 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2659 * testsuite/gas/i386/i386.exp: Run got-no-relax and
2660 x86-64-gotpcrel-no-relax.
2662 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2664 * NEWS: Mention new command line option -mfence-as-lock-add=yes
2667 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2669 * NEWS: Remove duplicated marker for 2.26.
2671 2016-02-02 Renlin Li <renlin.li@arm.com>
2673 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2675 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2677 * testsuite/gas/ip2k/allinsn.d: New file.
2678 * testsuite/gas/ip2k/allinsn.s: New file.
2679 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2681 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2683 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2684 some load instructions.
2685 * testsuite/gas/epiphany/allinsn.d: Likewise.
2686 * testsuite/gas/epiphany/regression.d: Likewise.
2688 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2690 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2691 suffixes from instruction mnemonics in expected output.
2692 * testsuite/gas/epiphany/allinsn.d: Likewise.
2693 * testsuite/gas/epiphany/regression.d: Likewise.
2694 * testsuite/gas/epiphany/sample.d: Likewise.
2696 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2698 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2700 * testsuite/gas/epiphany/allinsn.d: Likewise.
2701 * testsuite/gas/epiphany/sample.d: Likewise.
2703 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2705 * testsuite/gas/epiphany/sample.d: Update expected output.
2707 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2709 * config/tc-arc.c (md_apply_fix): Allow addendum.
2710 (arc_reloc_op): Allow complex expressions for tpoff.
2711 (md_apply_fix): Handle resolved TLS local symbol.
2712 * testsuite/gas/arc/tls-relocs1.d: New file.
2713 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2715 2016-02-01 Loria <Loria@phantasia.org>
2718 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2719 efficiency and avoid an LLVM loop optimization bug.
2721 2016-02-01 Nick Clifton <nickc@redhat.com>
2723 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2724 message extending a negative 32-bit value into a larger signed
2725 value on a 32-bit host.
2727 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2730 * configure.ac (compressed_debug_sections): Replace == with =.
2731 * configure: Regenerated.
2733 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2734 H.J. Lu <hongjiu.lu@intel.com>
2736 * config/tc-i386.c (avoid_fence): New.
2737 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2739 (OPTION_FENCE_AS_LOCK_ADD): New.
2740 (md_longopts): Add -mfence-as-lock-add.
2741 (md_parse_option): Handle -mfence-as-lock-add.
2742 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2743 * doc/c-i386.texi (-mfence-as-lock-add): Document.
2744 * testsuite/gas/i386/i386.exp: Run new tests.
2745 * testsuite/gas/i386/fence-as-lock-add.s: New.
2746 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2747 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2748 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2749 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2751 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2753 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2754 * configure: Regenerated.
2756 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2758 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2759 (OPTION_MOMIT_LOCK_PREFIX): This.
2760 (md_longopts): Updated.
2761 (md_parse_option): Likewise.
2763 2016-01-25 Catherine Moore <clm@codesourcery.com>
2765 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2766 if abicalls are in effect.
2767 * testsuite/gas/mips/sdata-gp.s: New test.
2768 * testsuite/gas/mips/sdata-gp.d: New expected output
2769 * testsuite/gas/mips/mips.exp: Run new test.
2771 2016-01-25 Renlin Li <renlin.li@arm.com>
2773 * testsuite/gas/arm/thumb2_it_search.d: New.
2774 * testsuite/gas/arm/thumb2_it_search.s: New.
2776 2016-01-21 Nick Clifton <nickc@redhat.com>
2779 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2780 with arm-netbsdelf target.
2781 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2783 2016-01-20 Nick Clifton <nickc@redhat.com>
2786 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2787 * testsuite/gas/arm/blx-bl-convert.d
2788 * testsuite/gas/arm/plt-1.d: Likewise.
2789 * testsuite/gas/arm/reloc-bad.d: Likewise.
2790 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2791 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2792 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2793 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2796 * doc/as.texinfo (Errors): Correct documentation describing the
2797 interaction of .file and .line with warning and error messages.
2800 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2801 * testsuite/gas/arm/archv8m-main.d: Likewise.
2802 * testsuite/gas/arm/archv8m-base.d: Likewise.
2804 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2806 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2807 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2808 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2810 2016-01-20 Mickael Guene <mickael.guene@st.com>
2811 Terry Guo <terry.guo@arm.com>
2813 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2814 SHF_ARM_NOREAD section flag.
2815 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2817 (arm_elf_section_letter) : Declare it.
2818 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2819 SHF_ARM_NOREAD section flag.
2820 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2822 * testsuite/gas/arm/section-execute-only.s: New test case.
2823 * testsuite/gas/arm/section-execute-only.d: Expected output.
2825 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2827 * config/tc-mips.c (micromips_insn_length): Remove the mention
2828 of 48-bit microMIPS instructions.
2830 2016-01-18 Alan Modra <amodra@gmail.com>
2832 * configure: Regenerate.
2834 2016-01-17 Alan Modra <amodra@gmail.com>
2836 * configure: Regenerate.
2838 2016-01-17 Alan Modra <amodra@gmail.com>
2840 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2842 2016-01-14 Nick Clifton <nickc@redhat.com>
2844 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2845 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2846 * testsuite/gas/rl78/rl78.exp: Run the new test.
2848 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2850 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2851 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2853 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2855 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2857 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2859 * config/tc-h8300.c (get_operand): Remove spurious condition in
2860 test for closing parenthesis.
2862 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
2864 * config/tc-arm.c (arm_ext_v8_2): New.
2866 * testsuite/gas/arm/armv8_2-a.d: New.
2867 * testsuite/gas/arm/armv8_2-a.s: New.
2869 2016-01-12 Alan Modra <amodra@gmail.com>
2871 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2873 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
2875 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2876 xvcmpnesp, xvcmpnesp.>: Delete tests.
2877 * testsuite/gas/ppc/power9.s: Likewise.
2878 * testsuite/gas/ppc/vsx3.d: Likewise.
2879 * testsuite/gas/ppc/vsx3.s: Likewise.
2881 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
2884 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2885 * testsuite/gas/m68k/p13050-1.s: New file.
2886 * testsuite/gas/m68k/p13050-2.d: New file.
2887 * testsuite/gas/m68k/p13050-2.s: New file.
2889 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2891 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2892 * testsuite/gas/arc/add.d: Likewise.
2893 * testsuite/gas/arc/and.d: Likewise.
2894 * testsuite/gas/arc/asl.d: Likewise.
2895 * testsuite/gas/arc/asr.d: Likewise.
2896 * testsuite/gas/arc/bic.d: Likewise.
2897 * testsuite/gas/arc/extb.d: Likewise.
2898 * testsuite/gas/arc/extw.d: Likewise.
2899 * testsuite/gas/arc/j.d: Likewise.
2900 * testsuite/gas/arc/jl.d: Likewise.
2901 * testsuite/gas/arc/ld2.d: Likewise.
2902 * testsuite/gas/arc/lsr.d: Likewise.
2903 * testsuite/gas/arc/mov.d: Likewise.
2904 * testsuite/gas/arc/or.d: Likewise.
2905 * testsuite/gas/arc/pcl-relocs.d: Likewise.
2906 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2907 * testsuite/gas/arc/pic-relocs.d: Likewise.
2908 * testsuite/gas/arc/plt-relocs.d: Likewise.
2909 * testsuite/gas/arc/rlc.d: Likewise.
2910 * testsuite/gas/arc/ror.d: Likewise.
2911 * testsuite/gas/arc/rrc.d: Likewise.
2912 * testsuite/gas/arc/sbc.d: Likewise.
2913 * testsuite/gas/arc/sda-relocs.d: Likewise.
2914 * testsuite/gas/arc/sda-relocs2.d: Likewise.
2915 * testsuite/gas/arc/sexb.d: Likewise.
2916 * testsuite/gas/arc/sexw.d: Likewise.
2917 * testsuite/gas/arc/st.d: Likewise.
2918 * testsuite/gas/arc/sub.d: Likewise.
2919 * testsuite/gas/arc/tls-relocs.d: Likewise.
2920 * testsuite/gas/arc/xor.d: Likewise.
2922 2016-01-01 Alan Modra <amodra@gmail.com>
2924 Update year range in copyright notice of all files.
2926 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2928 Copyright (C) 2016 Free Software Foundation, Inc.
2930 Copying and distribution of this file, with or without modification,
2931 are permitted in any medium without royalty provided the copyright
2932 notice and this notice are preserved.
2938 version-control: never