1 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
4 (ia64_frob_label): Likewise.
6 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
8 * config/tc-cr16.c (check_range): Make type of retval op_err.
9 * config/tc-crx.c: Likewise.
11 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
13 * config/tc-arc.c (md_begin): Add XY registers.
14 (cpu_types): Code density is default off for ARC EM.
16 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
18 * config/tc-arc.c (attributes_t): Renamed attribute class to
20 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
22 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
24 * configuse.tgt: Add entry for arm-phoenix.
26 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
28 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
30 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
32 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
34 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
36 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
38 (encode_condition): Likewise.
39 (encode_cc3): Likewise.
40 (encode_cc2): Likewise.
41 (encode_operand): Likewise.
42 (tic54x_undefined_symbol): Likewise.
44 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
46 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
48 * doc/c-mips.texi: Document p6600 -march option.
50 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
53 * config/tc-i386.c (md_apply_fix): Preserve addend for
54 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
55 * testsuite/gas/i386/addend.d: New file.
56 * testsuite/gas/i386/addend.s: Likewise.
57 * testsuite/gas/i386/x86-64-addend.d: Likewise.
58 * testsuite/gas/i386/x86-64-addend.s: Likewise.
59 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
60 * testsuite/gas/i386/reloc32.d: Updated.
62 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
64 * config/tc-mips.c (append_insn): Correct the encoding of a
65 constant argument for microMIPS JALX.
66 (tc_gen_reloc): Correct the encoding of an in-place addend for
68 * testsuite/gas/mips/jalx-addend.d: New test.
69 * testsuite/gas/mips/jalx-addend-n32.d: New test.
70 * testsuite/gas/mips/jalx-addend-n64.d: New test.
71 * testsuite/gas/mips/jalx-imm.d: New test.
72 * testsuite/gas/mips/jalx-imm-n32.d: New test.
73 * testsuite/gas/mips/jalx-imm-n64.d: New test.
74 * testsuite/gas/mips/jalx-addend.s: New test source.
75 * testsuite/gas/mips/jalx-imm.s: New test source.
76 * testsuite/gas/mips/mips.exp: Run the new tests.
78 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
80 * config/tc-mips.c: Correct tab-after-space formatting mistakes
83 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
85 * config/tc-arc.c (find_opcode_match): Remove casting away of
87 * config/tc-arc.h (struct arc_flags): Make flgp field const.
89 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
91 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
93 (md_convert_frag): Likewise.
95 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
97 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
98 cached opcode to NULL when we reach a non-matching opcode.
99 * testsuite/gas/arc/asm-errors-2.d: New file.
100 * testsuite/gas/arc/asm-errors-2.err: New file.
101 * testsuite/gas/arc/asm-errors-2.s: New file.
103 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
105 * config/tc-arc.c (tokenize_arguments): Add checks for array
107 * testsuite/gas/arc/asm-errors.s: Addition test line added.
108 * testsuite/gas/arc/asm-errors.err: Update expected results.
110 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
112 * config/tc-rx.c (struct cpu_type): Change the type of a field from
113 int to enum rx_cpu_types.
115 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
117 * config/tc-dlx.c (struct machine_it): change the type of a field from
118 int to bfd_reloc_code_real_type.
119 * config/tc-tic4x.c: Likewise.
121 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
123 * config/tc-v850.c (v850_target_arch): change type to enum
125 * config/tc-v850.h (v850_target_arch): Likewise.
127 2016-05-18 Alan Modra <amodra@gmail.com>
129 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
130 allowed negative range.
131 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
132 * testsuite/gas/ppc/power9.d: Update.
134 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
136 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
137 disassembling and stop skipping targets.
138 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
139 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
140 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
141 instruction for targets that have stronger alignment requirement.
142 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
143 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
144 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
145 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
146 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
147 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
148 * testsuite/gas/arm/archv8m-main.d: Likewise.
149 * testsuite/gas/arm/archv8m.s: Add label.
150 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
151 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
152 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
154 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
156 * config/tc-m32r.c (mach_table): Make static and const.
158 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
160 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
163 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
165 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
167 * config/tc-msp430.c (md_begin): Likewise.
169 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
171 * config/tc-m68hc11.c (fixup8): Change variables type from int to
172 bfd_reloc_code_real_type where appropriate.
174 (fixup8_xg): Likewise.
176 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
178 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
180 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
182 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
183 * testsuite/gas/ppc/power9.s: Likewise.
185 2016-05-13 Alan Modra <amodra@gmail.com>
187 * config/obj-coff.c (weak_uniquify): Delete unused var.
189 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
191 * app.c (app_push): Use XNEW and related macros.
192 * as.c (parse_args): Likewise.
193 * cgen.c (make_right_shifted_expr): Likewise.
194 (gas_cgen_tc_gen_reloc): Likewise.
195 * config/bfin-defs.h: Likewise.
196 * config/bfin-parse.y: Likewise.
197 * config/obj-coff.c (stack_init): Likewise.
198 (stack_push): Likewise.
199 (coff_obj_symbol_new_hook): Likewise.
200 (coff_obj_symbol_clone_hook): Likewise.
201 (add_lineno): Likewise.
202 (coff_frob_symbol): Likewise.
203 * config/obj-elf.c (obj_elf_section_name): Likewise.
204 (build_group_lists): Likewise.
205 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
206 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
207 * config/tc-aarch64.c (insert_reg_alias): Likewise.
208 (find_or_make_literal_pool): Likewise.
209 (add_to_lit_pool): Likewise.
210 (fill_instruction_hash_table): Likewise.
211 * config/tc-alpha.c (load_expression): Likewise.
212 (emit_jsrjmp): Likewise.
213 (s_alpha_ent): Likewise.
214 (s_alpha_end): Likewise.
215 (s_alpha_linkage): Likewise.
216 (md_begin): Likewise.
217 (tc_gen_reloc): Likewise.
218 * config/tc-arc.c (arc_insert_opcode): Likewise.
219 (arc_extcorereg): Likewise.
220 * config/tc-bfin.c: Likewise.
221 * config/tc-cr16.c: Likewise.
222 * config/tc-cris.c: Likewise.
223 * config/tc-crx.c (preprocess_reglist): Likewise.
224 * config/tc-d10v.c: Likewise.
225 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
226 (frv_tomcat_shuffle): Likewise.
227 * config/tc-h8300.c: Likewise.
228 * config/tc-i370.c (i370_macro): Likewise.
229 * config/tc-i386.c (lex_got): Likewise.
230 (md_parse_option): Likewise.
231 * config/tc-ia64.c (alloc_record): Likewise.
232 (set_imask): Likewise.
233 (save_prologue_count): Likewise.
234 (dot_proc): Likewise.
235 (dot_endp): Likewise.
236 (ia64_frob_label): Likewise.
237 (add_qp_imply): Likewise.
238 (add_qp_mutex): Likewise.
239 (mark_resource): Likewise.
240 (dot_alias): Likewise.
241 * config/tc-m68hc11.c: Likewise.
242 * config/tc-m68k.c (m68k_frob_label): Likewise.
244 (mri_control_label): Likewise.
245 (push_mri_control): Likewise.
246 (build_mri_control_operand): Likewise.
247 (s_mri_else): Likewise.
248 (s_mri_break): Likewise.
249 (s_mri_next): Likewise.
250 (s_mri_for): Likewise.
251 (s_mri_endw): Likewise.
252 * config/tc-metag.c (create_mnemonic_htab): Likewise.
253 * config/tc-microblaze.c: Likewise.
254 * config/tc-mmix.c (s_loc): Likewise.
255 * config/tc-nds32.c (nds32_relax_hint): Likewise.
256 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
257 * config/tc-rl78.c: Likewise.
258 * config/tc-rx.c (rx_include): Likewise.
259 * config/tc-sh.c: Likewise.
260 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
261 * config/tc-sparc.c: Likewise.
262 * config/tc-spu.c: Likewise.
263 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
264 (tic6x_start_unwind_section): Likewise.
265 * config/tc-tilegx.c: Likewise.
266 * config/tc-tilepro.c: Likewise.
267 * config/tc-v850.c: Likewise.
268 * config/tc-visium.c: Likewise.
269 * config/tc-xgate.c: Likewise.
270 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
271 (new_resource_table): Likewise.
272 (resize_resource_table): Likewise.
273 (xtensa_create_trampoline_frag): Likewise.
274 (xtensa_maybe_create_literal_pool_frag): Likewise.
275 (cache_literal_section): Likewise.
276 * config/xtensa-relax.c (append_transition): Likewise.
277 (append_condition): Likewise.
278 (append_value_condition): Likewise.
279 (append_constant_value_condition): Likewise.
280 (append_literal_op): Likewise.
281 (append_label_op): Likewise.
282 (append_constant_op): Likewise.
283 (append_field_op): Likewise.
284 (append_user_fn_field_op): Likewise.
285 (enter_opname_n): Likewise.
286 (enter_opname): Likewise.
287 (split_string): Likewise.
288 (parse_insn_templ): Likewise.
289 (clone_req_or_option_list): Likewise.
290 (clone_req_option_list): Likewise.
291 (parse_option_cond): Likewise.
292 (parse_insn_pattern): Likewise.
293 (parse_insn_repl): Likewise.
294 (build_transition): Likewise.
295 (build_transition_table): Likewise.
296 * dw2gencfi.c (alloc_fde_entry): Likewise.
297 (alloc_cfi_insn_data): Likewise.
298 (cfi_add_CFA_remember_state): Likewise.
299 (dot_cfi_escape): Likewise.
300 (dot_cfi_fde_data): Likewise.
301 (select_cie_for_fde): Likewise.
302 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
303 * ecoff.c (ecoff_add_bytes): Likewise.
304 (ecoff_build_debug): Likewise.
305 * input-scrub.c (input_scrub_push): Likewise.
306 (input_scrub_begin): Likewise.
307 (input_scrub_next_buffer): Likewise.
308 * itbl-ops.c (append_insns_as_macros): Likewise.
309 (alloc_entry): Likewise.
310 (alloc_field): Likewise.
311 * listing.c (listing_newline): Likewise.
312 (listing_listing): Likewise.
313 * macro.c (get_any_string): Likewise.
314 (delete_macro): Likewise.
315 * stabs.c (generate_asm_file): Likewise.
316 (stabs_generate_asm_lineno): Likewise.
317 * subsegs.c (subseg_change): Likewise.
318 (subseg_get): Likewise.
319 * symbols.c (define_dollar_label): Likewise.
320 (symbol_relc_make_sym): Likewise.
321 * write.c (write_relocs): Likewise.
323 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
325 * config/obj-coff.c (obj_coff_def): Simplify string copying.
326 (weak_name2altname): Likewise.
327 (weak_uniquify): Likewise.
328 (obj_coff_section): Likewise.
329 (obj_coff_init_stab_section): Likewise.
330 * config/obj-elf.c (obj_elf_section_name): Likewise.
331 (obj_elf_init_stab_section): Likewise.
332 * config/obj-evax.c (evax_shorten_name): Likewise.
333 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
334 * config/tc-aarch64.c (create_register_alias): Likewise.
335 * config/tc-alpha.c (load_expression): Likewise.
336 (s_alpha_file): Likewise.
337 (s_alpha_section_name): Likewise.
338 (tc_gen_reloc): Likewise.
339 * config/tc-arc.c (md_assemble): Likewise.
340 * config/tc-arm.c (create_neon_reg_alias): Likewise.
341 (start_unwind_section): Likewise.
342 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
343 (hppa_elf_mark_end_of_function): Likewise.
344 * config/tc-nios2.c (nios2_modify_arg): Likewise.
345 (nios2_negate_arg): Likewise.
346 * config/tc-rx.c (rx_section): Likewise.
347 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
348 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
349 * config/tc-tic54x.c (tic54x_include): Likewise.
350 (tic54x_macro_info): Likewise.
351 (subsym_get_arg): Likewise.
352 (subsym_substitute): Likewise.
353 (tic54x_start_line_hook): Likewise.
354 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
355 (xg_reverse_shift_count): Likewise.
356 * config/xtensa-relax.c (enter_opname_n): Likewise.
357 (split_string): Likewise.
358 * dwarf2dbg.c (get_filenum): Likewise.
359 (process_entries): Likewise.
360 * expr.c (operand): Likewise.
361 * itbl-ops.c (alloc_entry): Likewise.
362 * listing.c (listing_message): Likewise.
363 (listing_title): Likewise.
364 * macro.c (check_macro): Likewise.
365 * stabs.c (s_xstab): Likewise.
366 * symbols.c (symbol_relc_make_expr): Likewise.
367 * write.c (compress_debug): Likewise.
369 2016-05-12 Nick Clifton <nickc@redhat.com>
372 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
374 2016-05-11 Nick Clifton <nickc@redhat.com>
377 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
378 big endian ARM configurations.
380 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
381 Matthew Fortune <matthew.fortune@imgtec.com>
383 * config/tc-mips.c (options): Add OPTION_DSPR3 and
385 (md_longopts): Likewise.
386 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
387 (mips_ases): Define availability for DSPr3.
388 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
389 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
390 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
392 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
393 .set nodspr3. Fix -mdspr2 formatting.
394 * testsuite/gas/mips/mips32-dspr3.d: New file.
395 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
396 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
398 2016-05-11 Nick Clifton <nickc@redhat.com>
401 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
402 to the pool uses O_constant.
403 * testsuite/gas/arm/pr20068.s: New test.
404 * testsuite/gas/arm/pr20068.d: Test driver.
406 2016-05-11 Nick Clifton <nickc@redhat.com>
408 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
409 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
410 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
411 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
412 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
413 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
414 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
415 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
416 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
418 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
420 * testsuite/gas/i386/i386.exp: Run RDPID tests.
421 * testsuite/gas/i386/prefix.d: Adjust.
422 * testsuite/gas/i386/rdpid.s: New test.
423 * testsuite/gas/i386/rdpid.d: Ditto.
424 * testsuite/gas/i386/rdpid-intel.d: Ditto.
425 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
426 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
427 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
429 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
431 * config/tc-i386.c (cpu_arch): Add RDPID.
432 * doc/c-i386.texi: Document RDPID.
434 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
436 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
437 set branch type of a symbol.
439 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
441 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
442 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
444 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
445 (aeabi_set_public_attributes): Memorize the feature bits of the
446 architecture selected for Tag_CPU_arch. Use it to set
447 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
448 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
449 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
450 * testsuite/gas/arm/arch7em-bad-1.d: This.
451 * testsuite/gas/arm/arch7em-bad-2.d: New file.
452 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
453 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
454 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
455 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
456 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
457 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
458 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
460 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
462 * config/tc-arm.c (struct arm_option_extension_value_table): Make
463 allowed_archs an array with 2 entries.
464 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
465 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
466 (arm_extensions): Use separate entries in allowed_archs when several
467 archs are allowed to use an extension and change ARCH_ANY in
468 ARM_ARCH_NONE in allowed_archs.
469 (arm_parse_extension): Check that, for each allowed_archs entry, all
470 bits are set in the current architecture, ignoring ARM_ANY entries.
471 (s_arm_arch_extension): Likewise.
473 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
475 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
476 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
477 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
478 shared with a non M profile architecture.
479 (do_rn): New function.
480 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
482 (v7m_psrs): Add ARMv8-M security extensions new special registers.
483 (insns): Add ARMv8-M Security Extensions instructions.
484 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
485 arm_ext_v8m_m to decide the profile and the Thumb ISA.
486 * testsuite/gas/arm/archv8m-cmse.s: New file.
487 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
488 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
489 * testsuite/gas/arm/any-cmse.d: Likewise.
490 * testsuite/gas/arm/any-cmse-main.d: Likewise.
491 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
492 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
493 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
494 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
495 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
497 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
499 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
500 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
502 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
504 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
505 (fpu_arch_vfp_v3): Likewise.
506 (fpu_arch_neon_v1): Likewise.
507 (arm_arch_full): Likewise.
508 (parse_neon_el_struct_list): Initialize fields of firsttype.
510 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
512 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
513 (arc_extinsn): Handle new introduced syntax.
514 * testsuite/gas/arc/textinsn1op.d: New file.
515 * testsuite/gas/arc/textinsn1op.s: Likewise.
516 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
518 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
520 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
521 DW_LNS_fixed_advance_pc.
523 2016-04-27 Alan Modra <amodra@gmail.com>
525 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
526 (xmemdup0): New inline function.
528 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
530 * config/tc-mips.c (code_option_type): New enum.
531 (parse_code_option): Return status indicating option type.
532 (s_mipsset): Update `parse_code_option' call site accordingly.
533 Always set register sizes from the ISA with ISA overrides.
534 (s_module): Update `parse_code_option' call site.
535 * testsuite/gas/mips/isa-override-1.d: New test.
536 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
537 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
538 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
539 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
540 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
541 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
542 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
543 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
544 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
545 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
546 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
547 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
548 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
549 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
550 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
551 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
552 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
553 * testsuite/gas/mips/isa-override-2.l: New list test.
554 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
555 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
556 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
557 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
558 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
559 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
560 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
561 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
562 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
563 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
564 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
566 * testsuite/gas/mips/isa-override-1.s: New test source.
567 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
568 * testsuite/gas/mips/isa-override-2.s: New test source.
569 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
570 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
571 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
572 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
573 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
574 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
575 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
576 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
577 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
578 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
579 * testsuite/gas/mips/mips.exp: Run the new tests.
581 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
584 * config/tc-bfin.c: Likewise.
585 * config/tc-ia64.c: Likewise.
586 * config/tc-mep.c: Likewise.
587 * config/tc-metag.c: Likewise.
588 * config/tc-nios2.c: Likewise.
589 * config/tc-rl78.c: Likewise.
591 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
593 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
594 -mcpu. Add cross reference to .cpu directive from -mcpu option.
595 (ARC Directives): Add NPS400 to .cpu directive list.
597 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
599 * config/tc-aarch64.c (aarch64_features): Add "ras".
600 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
601 * testsuite/gas/aarch64/armv8-ras-1.d: New.
602 * testsuite/gas/aarch64/armv8-ras-1.s: New.
603 * testsuite/gas/aarch64/illegal-ras-1.d: New.
604 * testsuite/gas/aarch64/illegal-ras-1.s: New.
606 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
608 * testsuite/gas/arc/nps400-6.d: New file.
609 * testsuite/gas/arc/nps400-6.s: New file.
611 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
613 * testsuite/gas/arc/nps400-4.d: New file.
614 * testsuite/gas/arc/nps400-4.s: New file.
615 * testsuite/gas/arc/nps400-5.d: New file.
616 * testsuite/gas/arc/nps400-5.s: New file.
618 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
620 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
623 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
625 Revert prevous change.
626 * config/tc-arc.c (arc_option): Make .cpu directive
627 case-sensitive again.
629 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
631 * config/tc-arc.c (arc_option): Make .cpu directive
634 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
636 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
638 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
640 * config/tc-mips.c (md_begin): Remove useless assignment.
642 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
644 * Makefile.in: Regenerated with automake 1.11.6.
645 * aclocal.m4: Likewise.
646 * doc/Makefile.in: Likewise.
648 2016-04-15 Alan Modra <amodra@gmail.com>
650 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
652 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
654 * config/tc-nios2.c (nios2_as_options): Make file static.
655 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
656 * config/tc-sparc.c (native_op_table): Likewise.
658 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
660 * config/tc-m32c.c (M32C_Macros): Remove.
661 * config/tc-msp430.c (option_numbers): Likewise.
663 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
665 * testsuite/gas/arc/nps400-3.d: New file.
666 * testsuite/gas/arc/nps400-3.s: New file.
668 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
670 * testsuite/gas/arc/add_s-err.s: Update target pattern.
671 * testsuite/gas/arc/warn.s: Likewise.
672 * testsuite/gas/elf/elf.exp: Run test for arc.
674 2016-04-14 Nick Clifton <nickc@redhat.com>
677 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
678 sections possibly having the SHF_STRINGS flag bit set.
679 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
681 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
683 * config/tc-arc.c (mach_type_specified_p): Change type to
685 (arc_option): Set private flags when parsing cpu pseudo-op.
686 (md_parse_option): Set mach_type_specified_p to TRUE.
688 2016-04-13 Nick Clifton <nickc@redhat.com>
691 * testsuite/gas/v850/pr19937.s: New test.
692 * testsuite/gas/v850/pr19937.d: New test control file.
693 * testsuite/gas/v850/basic.exp: Run the new test.
695 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
696 Andrew Bennett <andrew.bennett@imgtec.com>
698 * config/tc-mips.c (relaxed_branch_length): Use the long
699 sequence where the target is a weak symbol.
700 (relaxed_micromips_32bit_branch_length): Likewise.
701 (relaxed_micromips_16bit_branch_length): Likewise.
702 * testsuite/gas/mips/branch-weak-1.d: New test.
703 * testsuite/gas/mips/branch-weak-2.d: New test.
704 * testsuite/gas/mips/branch-weak-3.d: New test.
705 * testsuite/gas/mips/branch-weak-4.d: New test.
706 * testsuite/gas/mips/branch-weak-5.d: New test.
707 * testsuite/gas/mips/branch-weak.l: New stderr output.
708 * testsuite/gas/mips/branch-weak.s: New test source.
709 * testsuite/gas/mips/mips.exp: Run the new tests.
711 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
713 * config/tc-mips.c (relaxed_branch_length): Use the long
714 sequence where the distance cannot be determined.
715 (relaxed_micromips_32bit_branch_length): Likewise.
716 * testsuite/gas/mips/branch-extern-1.d: New test.
717 * testsuite/gas/mips/branch-extern-2.d: New test.
718 * testsuite/gas/mips/branch-extern-3.d: New test.
719 * testsuite/gas/mips/branch-extern-4.d: New test.
720 * testsuite/gas/mips/branch-extern.l: New stderr output.
721 * testsuite/gas/mips/branch-extern.s: New test source.
722 * testsuite/gas/mips/branch-section-1.d: New test.
723 * testsuite/gas/mips/branch-section-2.d: New test.
724 * testsuite/gas/mips/branch-section-3.d: New test.
725 * testsuite/gas/mips/branch-section-4.d: New test.
726 * testsuite/gas/mips/branch-section.l: New stderr output.
727 * testsuite/gas/mips/branch-section.s: New test source.
728 * testsuite/gas/mips/mips.exp: Run the new tests.
730 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
732 * testsuite/gas/arc/textauxregister.d: New file.
733 * testsuite/gas/arc/textauxregister.s: Likewise.
734 * testsuite/gas/arc/textcondcode.d: Likewise.
735 * testsuite/gas/arc/textcondcode.s: Likewise.
736 * testsuite/gas/arc/textcoreregister.d: Likewise.
737 * testsuite/gas/arc/textcoreregister.s: Likewise.
738 * testsuite/gas/arc/textpseudoop.d: Likewise.
739 * testsuite/gas/arc/textpseudoop.s: Likewise.
740 * testsuite/gas/arc/ld2.d: Update test.
741 * testsuite/gas/arc/st.d: Likewise.
742 * testsuite/gas/arc/taux.d: Likewise.
743 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
744 .extCoreRegister and .extAuxRegister documentation.
745 * config/tc-arc.c (arc_extcorereg): New function.
746 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
747 .extAuxRegister pseudo-ops.
748 (extRegister_t): New type.
749 (ext_condcode, arc_aux_hash): New global variable.
750 (find_opcode_match): Check for extensions.
751 (preprocess_operands): Likewise.
752 (md_begin): Add aux registers in a hash.
753 (assemble_insn): Update use arc_flags member.
754 (tokenize_extregister): New function.
755 (create_extcore_section): Likewise.
756 * config/tc-arc.h (arc_flags): Delete code, add flgp.
758 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
760 * testsuite/gas/arc/noargs_a7.d: New file.
761 * testsuite/gas/arc/noargs_a7.s: Likewise.
762 * testsuite/gas/arc/noargs_hs.d: Likewise.
763 * testsuite/gas/arc/noargs_hs.s: Likewise.
765 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
767 * testsuite/gas/arc/textinsn-errors.d: New File.
768 * testsuite/gas/arc/textinsn-errors.err: Likewise.
769 * testsuite/gas/arc/textinsn-errors.s: Likewise.
770 * testsuite/gas/arc/textinsn2op.d: Likewise.
771 * testsuite/gas/arc/textinsn2op.s: Likewise.
772 * testsuite/gas/arc/textinsn2op01.d: Likewise.
773 * testsuite/gas/arc/textinsn2op01.s: Likewise.
774 * testsuite/gas/arc/textinsn3op.d: Likewise.
775 * testsuite/gas/arc/textinsn3op.s: Likewise.
776 * doc/c-arc.texi (ARC Directives): Add .extInstruction
778 * config/tc-arc.c (arcext_section): New variable.
779 (arc_extinsn): New function.
780 (md_pseudo_table): Add .extInstruction pseudo op.
781 (attributes_t): New type.
782 (suffixclass, syntaxclass, syntaxclassmod): New constant
784 (find_opcode_match): Remove arc_num_opcodes.
785 (md_begin): Likewise.
786 (tokenize_extinsn): New function.
787 (arc_set_ext_seg): Likewise.
788 (create_extinst_section): Likewise.
790 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
792 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
793 (arc_adjust_symtab): New function.
794 * config/tc-arc.h (ARC_FLAG_AUX): Define.
795 (obj_adjust_symtab): Likewise.
796 * testsuite/gas/arc/taux.d: New file.
797 * testsuite/gas/arc/taux.s: Likewise.
799 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
801 * config/tc-mips.c (s_option): Sanitize `.option picX'
803 * testsuite/gas/mips/option-pic-1.d: New test.
804 * testsuite/gas/mips/option-pic-2.l: New list test.
805 * testsuite/gas/mips/option-pic-1.s: New test source.
806 * testsuite/gas/mips/option-pic-2.s: New test source.
807 * testsuite/gas/mips/mips.exp: Run the new tests.
809 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
811 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
813 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
814 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
815 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
816 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
817 * testsuite/gas/mips/mips.exp: Run the new tests.
819 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
821 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
823 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
825 * messages.c (as_bad): Fix a typo in description.
827 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
829 * config/tc-mips.c (mips_check_options): Unify messages.
831 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
833 * config/tc-mips.c (mips_check_options): Use `opts->isa'
836 2016-04-08 Nick Clifton <nickc@redhat.com>
839 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
840 COFF and AOUT sparc targets.
842 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
844 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
845 * testsuite/gas/arc/nps400-2.d: New file.
846 * testsuite/gas/arc/nps400-2.s: New file.
848 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
850 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
852 (arc_opcode_hash_entry_iterator_init): New function.
853 (arc_opcode_hash_entry_iterator_next): New function.
854 (find_opcode_match): Iterate over all arc_opcode entries
855 referenced by the arc_opcode_hash_entry passed in as a parameter.
857 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
859 * config/tc-arc.c (arc_find_opcode): Now returns
860 arc_opcode_hash_entry pointer.
861 (find_opcode_match): Update argument type, extract arc_opcode from
862 incoming arc_opcode_hash_entry.
863 (find_special_case_pseudo): Update return type.
864 (find_special_case_flag): Update return type.
865 (find_special_case): Update return type.
866 (assemble_tokens): Lookup arc_opcode_hash_entry based on
867 instruction mnemonic, then use find_opcode_match to identify
870 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
872 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
873 (arc_find_opcode): New function.
874 (find_special_case_pseudo): Use arc_find_opcode.
875 (find_special_case_flag): Likewise.
876 (assemble_tokens): Likewise.
877 (md_begin): Build hash using struct arc_opcode_hash_entry.
879 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
881 * config/tc-arc.c (arc_option): Prepare string for automatic
883 (declare_register): Likewise.
885 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
887 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
888 Correct entry for RDMA. Alpha sort entries.
890 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
892 * config/tc-arc.c (tokenize_flags): Allow greater range of
893 characters into flag names.
895 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
897 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
899 (preprocess_operands): Delete.
900 (assemble_tokens): Remove call to preprocess_operands.
902 2016-04-07 Nick Clifton <nickc@redhat.com>
905 * config/tc-sparc.c (sparc_ip): Report an error if the expression
906 inside a %-macro could not be fully parsed.
907 * expr.c (integer_constant): Accept and ignore U suffixes to
909 (operand): When a missing closing parenthesis is encountered,
910 report the character that was found instead.
911 * testsuite/gas/mips/tls-ill.l: Update expected error message.
912 * testsuite/gas/sparc/pr19910-1.d: New test driver.
913 * testsuite/gas/sparc/pr19910-1.s: New test.
914 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
915 * testsuite/gas/sparc/pr19910-2.s: New test.
916 * testsuite/gas/sparc/sparc.exp: Run the new tests.
918 2016-04-06 Nick Clifton <nickc@redhat.com>
920 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
921 an EINT instruction. Warn/fix as necessary.
922 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
923 * testsuite/gas/msp430/bad.l: Update expected messages.
925 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
927 * testsuite/gas/arc/nps400-1.d: Update expected results.
928 * testsuite/gas/arc/nps400-1.s: Additional test cases.
930 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
932 * config/tc-arc.c (is_code_density_p): Compare directly the
934 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
935 (check_cpu_feature): New function.
936 (find_opcode_match): Use check_cpu_feature function.
937 (preprocess_operands): Likewise.
938 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
939 * testsuite/gas/arc/tdpfp.d: New file.
940 * testsuite/gas/arc/tfpuda.d: Likewise.
941 * testsuite/gas/arc/tfpx.s: Likewise.
943 2016-04-05 Jiong Wang <jiong.wang@arm.com>
945 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
946 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
947 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
948 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
949 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
950 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
951 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
952 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
954 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
956 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
958 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
959 JUMP instructions type.
960 * testsuite/gas/arc/relocs-errors.d: New file.
961 * testsuite/gas/arc/relocs-errors.err: Likewise.
962 * testsuite/gas/arc/relocs-errors.s: Likewise.
964 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
967 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
968 only if i.disp_encoding != disp_encoding_32bit.
969 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
970 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
971 * gas/testsuite/gas/i386/disp32.d: Updated.
972 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
974 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
977 * testsuite/gas/i386/i386.exp: Run pr19498.
978 * testsuite/gas/i386/pr19498.d: New file.
979 * testsuite/gas/i386/pr19498.s: Likewise.
981 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
983 * config/tc-arc.h: Include 'opcode/arc.h'.
984 (MAX_INSN_ARGS): Delete.
985 (MAX_INSN_FLGS): Delete.
987 2016-04-04 Alan Modra <amodra@gmail.com>
990 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
991 from function on all paths that set sy_resolving.
993 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
995 * app.c (app_push): use XNEW macro.
997 * config/obj-elf.c (obj_elf_change_section): Likewise.
998 (elf_copy_symbol_attributes): Likewise.
999 (obj_elf_size): Likewise.
1000 (build_group_lists): Likewise.
1001 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1002 (md_assemble): Likewise.
1003 (tc_gen_reloc): Likewise.
1004 (get_upper_str): Likewise.
1005 (aarch64_parse_features): Likewise.
1006 * config/tc-arm.c (insert_reg_alias): Likewise.
1007 (insert_neon_reg_alias): Likewise.
1008 (find_or_make_literal_pool): Likewise.
1009 (s_arm_elf_cons): Likewise.
1010 (add_unwind_opcode): Likewise.
1011 (arm_parse_extension): Likewise.
1012 * config/tc-avr.c (create_record_for_frag): Likewise.
1013 * config/tc-crx.c: Likewise.
1014 * config/tc-d30v.c: Likewise.
1015 * config/tc-dlx.c (s_proc): Likewise.
1016 * config/tc-ft32.c: Likewise.
1017 * config/tc-h8300.c: Likewise.
1018 * config/tc-hppa.c (pa_proc): Likewise.
1019 (create_new_space): Likewise.
1020 (create_new_subspace): Likewise.
1021 * config/tc-i860.c: Likewise.
1022 * config/tc-i960.c: Likewise.
1023 * config/tc-ia64.c: Likewise.
1024 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1025 (iq2000_record_hi16): Likewise.
1026 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1027 * config/tc-m32r.c (debug_sym): Likewise.
1028 (m32r_record_hi16): Likewise.
1029 * config/tc-m68k.c (m68k_ip): Likewise.
1030 (md_begin): Likewise.
1031 * config/tc-mcore.c: Likewise.
1032 * config/tc-microblaze.c (check_got): Likewise.
1033 * config/tc-mips.c (append_insn): Likewise.
1034 (s_mipsset): Likewise.
1035 (mips_record_label): Likewise.
1036 (s_mips_end): Likewise.
1037 * config/tc-mmix.c (mmix_frob_file): Likewise.
1038 * config/tc-mn10200.c: Likewise.
1039 * config/tc-mn10300.c: Likewise.
1040 * config/tc-moxie.c: Likewise.
1041 * config/tc-msp430.c: Likewise.
1042 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1043 * config/tc-ns32k.c: Likewise.
1044 * config/tc-or1k.c: Likewise.
1045 * config/tc-pdp11.c: Likewise.
1046 * config/tc-pj.c (fake_opcode): Likewise.
1047 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1048 (ppc_macro): Likewise.
1049 (ppc_dwsect): Likewise.
1050 (ppc_machine): Likewise.
1051 * config/tc-rl78.c (rl78_frag_init): Likewise.
1052 * config/tc-rx.c (rx_frag_init): Likewise.
1053 * config/tc-s390.c (s390_lit_suffix): Likewise.
1054 (s390_machine): Likewise.
1055 (s390_machinemode): Likewise.
1056 * config/tc-score.c (s3_insert_reg): Likewise.
1057 (s3_gen_reloc): Likewise.
1058 * config/tc-score7.c (s7_insert_reg): Likewise.
1059 (s7_gen_reloc): Likewise.
1060 * config/tc-tic30.c (tic30_operand): Likewise.
1061 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1062 * config/tc-tic54x.c (stag_add_field): Likewise.
1063 (tic54x_struct): Likewise.
1064 (tic54x_space): Likewise.
1065 (tic54x_field): Likewise.
1066 (tic54x_mlib): Likewise.
1067 (subsym_substitute): Likewise.
1068 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1069 * config/tc-vax.c: Likewise.
1070 * config/tc-xc16x.c: Likewise.
1071 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1072 (directive_push): Likewise.
1073 (xtensa_begin_directive): Likewise.
1074 (tokenize_arguments): Likewise.
1075 (xtensa_add_literal_sym): Likewise.
1076 (new_resource_table): Likewise.
1077 (resize_resource_table): Likewise.
1078 (emit_single_op): Likewise.
1079 (xtensa_create_trampoline_frag): Likewise.
1080 (xtensa_maybe_create_literal_pool_frag): Likewise.
1081 (xtensa_add_config_info): Likewise.
1082 (xtensa_realloc_fixup_cache): Likewise.
1083 (add_subseg_info): Likewise.
1084 (cache_literal_section): Likewise.
1085 (add_xt_block_frags): Likewise.
1086 (add_xt_prop_frags): Likewise.
1087 (init_op_placement_info_table): Likewise.
1088 (build_section_rename): Likewise.
1089 * config/tc-z80.c: Likewise.
1090 * config/tc-z8k.c: Likewise.
1091 * depend.c (register_dependency): Likewise.
1092 * dwarf2dbg.c (get_line_subseg): Likewise.
1093 (dwarf2_gen_line_info_1): Likewise.
1094 (get_filenum): Likewise.
1095 * ecoff.c (allocate_scope): Likewise.
1096 (allocate_vlinks): Likewise.
1097 (allocate_shash): Likewise.
1098 (allocate_thash): Likewise.
1099 (allocate_tag): Likewise.
1100 (allocate_forward): Likewise.
1101 (allocate_thead): Likewise.
1102 (allocate_lineno_list): Likewise.
1103 * expr.c (make_expr_symbol): Likewise.
1104 * hash.c (hash_new_sized): Likewise.
1105 * input-file.c (input_file_push): Likewise.
1106 * listing.c (file_info): Likewise.
1107 (listing_newline): Likewise.
1108 * macro.c (new_formal): Likewise.
1109 (define_macro): Likewise.
1110 * remap.c (add_debug_prefix_map): Likewise.
1111 * symbols.c (symbol_find_noref): Likewise.
1112 (define_dollar_label): Likewise.
1113 (fb_label_instance_inc): Likewise.
1114 (symbol_relc_make_value): Likewise.
1116 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1118 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1119 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1120 (ppc_znop): Likewise.
1121 (ppc_pe_section): Likewise.
1122 (ppc_frob_symbol): Likewise.
1123 * config/tc-tic30.c (tic30_operand): Likewise.
1124 * config/tc-tic4x.c (tic4x_sect): Likewise.
1125 (tic4x_usect): Likewise.
1127 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1129 * config/tc-alpha.c: Const qualify FLT_CHARS.
1130 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1131 * config/tc-cris.h: Likewise.
1133 * config/tc-mmix.c (md_atof): Adjust comment.
1134 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1135 * tc.h: Declare FLT_CHARS and EXP_CHARS.
1137 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1139 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1140 * config/tc-score7.c (s7_gen_reloc): Likewise.
1142 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1144 * config/tc-arm.c (do_t_branch): Change the type of reloc to
1145 bfd_reloc_code_real_type.
1147 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1149 * config/bfin-parse.y (current_inputline): Remove definition.
1150 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1152 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1154 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1157 2016-04-02 Alan Modra <amodra@gmail.com>
1160 * read.c (assign_symbol): Consume rest of line after an error
1161 rather than continuing to process the line.
1163 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1165 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1166 (MAX_FLAG_NAME_LENGTH): ...this.
1167 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1168 * config/tc-arc.c (tokenize_flags): Likewise.
1170 2016-04-01 Alan Modra <amodra@gmail.com>
1172 * cgen.c (weak_operand_overflow_check): Return const char*.
1173 * messages.c (as_internal_value_out_of_range): Formatting.
1174 (as_warn_value_out_of_range): Consify prefix param.
1175 (as_bad_value_out_of_range): Likewise.
1176 * read.c (s_errwarn): Constify msg..
1177 (s_float_space, float_cons): ..and err.
1178 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
1179 ieee_md_atof, vax_md_atof): Update prototypes.
1180 * tc.h (md_atof): Update prototype.
1181 * config/atof-ieee.c (ieee_md_atof): Return const char*.
1182 * config/atof-vax.c (vax_md_atof): Likewise.
1183 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
1184 * config/tc-aarch64.c (md_atof): Return const char*.
1185 * config/tc-alpha.c (s_alpha_section_name): Likewise.
1186 (s_alpha_comm): Constify sec_name.
1187 (section_name): Constify.
1188 (s_alpha_section): Consify name..
1189 (alpha_elf_section_letter): ..and ptr_msg param..
1190 (md_atof): ..and return.
1191 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
1192 * config/tc-arc.c (md_atof): Return const char*.
1193 * config/tc-arm.c (md_atof): Likewise.
1194 * config/tc-avr.c (md_atof): Likewise.
1195 * config/tc-bfin.c (md_atof): Likewise.
1196 * config/tc-cr16.c (md_atof): Likewise.
1197 * config/tc-cris.c (md_atof): Likewise.
1198 * config/tc-crx.c (md_atof): Likewise.
1199 * config/tc-d10v.c (md_atof): Likewise.
1200 * config/tc-d30v.c (md_atof): Likewise.
1201 * config/tc-dlx.c (md_atof): Likewise.
1202 * config/tc-epiphany.c (md_atof): Likewise.
1203 * config/tc-fr30.c (md_atof): Likewise.
1204 * config/tc-frv.c (md_atof): Likewise.
1205 * config/tc-ft32.c (md_atof): Likewise.
1206 * config/tc-h8300.c (md_atof): Likewise.
1207 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
1208 (struct default_space_dict): Likewise.
1209 (create_new_space): Constify name param.
1210 (create_new_subspace): Likewise.
1211 (is_defined_space, is_defined_subspace): Likewise.
1212 (pa_parse_space_stmt): Constify space_name param.
1213 (md_atof): Return const char*.
1214 (pa_spaces_begin): Constify name.
1215 * config/tc-i370.c (md_atof): Return const char*.
1216 * config/tc-i386.c (md_atof): Likewise.
1217 (x86_64_section_letter): Constify ptr_msg param.
1218 * config/tc-i386.h (x86_64_section_letter): Update prototype.
1219 * config/tc-i860.c (struct i860_it): Constify error.
1220 (md_atof): Return const char*.
1221 * config/tc-i960.c (md_atof): Likewise.
1222 * config/tc-ia64.c (md_atof): Likewise.
1223 (ia64_elf_section_letter): Constify ptr_msg param.
1224 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
1225 * config/tc-ip2k.c (md_atof): Return const char*.
1226 * config/tc-iq2000.c (md_atof): Likewise.
1227 * config/tc-lm32.c (md_atof): Likewise.
1228 * config/tc-m32c.c (md_atof): Likewise.
1229 * config/tc-m32r.c (md_atof): Likewise.
1230 * config/tc-m68hc11.c (md_atof): Likewise.
1231 * config/tc-m68k.c (md_atof): Likewise.
1232 * config/tc-mcore.c (md_atof): Likewise.
1233 * config/tc-mep.c (md_atof): Likewise.
1234 (mep_elf_section_letter): Constify ptr_msg param.
1235 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
1236 * config/tc-metag.c (md_atof): Return const char*.
1237 * config/tc-microblaze.c (md_atof): Likewise.
1238 * config/tc-microblaze.h (md_atof): Delete prototype.
1239 * config/tc-mips.c (mips_parse_argument_token): Constify err.
1240 (md_atof): Return const char*.
1241 * config/tc-mmix.c (md_atof): Likewise.
1242 * config/tc-mn10200.c (md_atof): Likewise.
1243 * config/tc-mn10300.c (md_atof): Likewise.
1244 * config/tc-moxie.c (md_atof): Likewise.
1245 * config/tc-msp430.c (md_atof): Likewise.
1246 * config/tc-mt.c (md_atof): Likewise.
1247 * config/tc-nds32.c (md_atof): Likewise.
1248 * config/tc-nios2.c (md_atof): Likewise.
1249 (nios2_elf_section_letter): Constify ptr_msg param.
1250 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
1251 * config/tc-ns32k.c (md_atof): Return const char*.
1252 * config/tc-or1k.c (md_atof): Likewise.
1253 * config/tc-pdp11.c (struct pdp11_code): Constify error.
1254 (md_atof): Return const char*.
1255 * config/tc-pj.c (md_atof): Likewise.
1256 * config/tc-ppc.c (md_atof): Likewise.
1257 * config/tc-rl78.c (md_atof): Likewise.
1258 * config/tc-rx.c (md_atof): Likewise.
1259 * config/tc-s390.c (md_atof): Likewise.
1260 * config/tc-score.c (s3_atof, md_atof): Likewise.
1261 * config/tc-sh.c (md_atof): Likewise.
1262 * config/tc-sparc.c (struct sparc_it): Constify error.
1263 (md_atof): Return const char*.
1264 * config/tc-spu.c (md_atof): Likewise.
1265 * config/tc-tic30.c (md_atof): Likewise.
1266 * config/tc-tic4x.c (md_atof): Likewise.
1267 * config/tc-tic54x.c (md_atof): Likewise.
1268 * config/tc-tic6x.c (md_atof): Likewise.
1269 * config/tc-tilegx.c (md_atof): Likewise.
1270 * config/tc-tilepro.c (md_atof): Likewise.
1271 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
1272 * config/tc-vax.c (md_atof): Likewise.
1273 * config/tc-visium.c (md_atof): Likewise.
1274 * config/tc-xc16x.c (md_atof): Likewise.
1275 * config/tc-xgate.c (md_atof): Likewise.
1276 * config/tc-xstormy16.c (md_atof): Likewise.
1277 * config/tc-xtensa.c (md_atof): Likewise.
1278 * config/tc-z80.c (md_atof): Likewise.
1279 * config/tc-z8k.c (md_atof): Likewise.
1281 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1283 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
1285 (xtensa_section_rename): Make argument type const char *.
1286 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
1288 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1290 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
1293 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1295 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
1297 (m32c_indirect_operand): Likewise.
1298 * config/tc-nds32.c (do_pseudo_b): Likewise.
1299 (do_pseudo_bal): Likewise.
1300 (do_pseudo_ls_bhw): Likewise.
1302 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1304 * as.c (parse_args): Cast literal to char * when assigning to optarg.
1306 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1308 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
1310 * config/tc-sparc.c (s_register): Cast a literal to char * in
1313 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1315 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
1317 * config/tc-m32r.c (expand_debug_syms): Likewise.
1318 * config/tc-msp430.c (msp430_dstoperand): Likewise.
1319 * config/tc-z80.c (md_begin): Likewise.
1320 * stabs.c (stabs_generate_asm_func): Likewise.
1322 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1324 * cgen.c: Modernize the way functions declare arguments.
1325 * config/tc-bfin.c: Likewise.
1326 * config/tc-pdp11.c: Likewise.
1327 * literal.c: Likewise.
1329 * stabs.c: Likewise.
1331 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1333 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1334 variables unsigned char[].
1335 * config/tc-alpha.c (alpha_handle_align): Likewise.
1336 * config/tc-arm.c (arm_handle_align): Likewise.
1337 * config/tc-z80.c: Likewise.
1339 2016-03-30 Nick Clifton <nickc@redhat.com>
1342 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1345 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1347 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1348 * testsuite/gas/elf/elf.exp: Likewise.
1349 * testsuite/gas/all/redef3.d: Allow execution for ARC.
1351 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1353 * testsuite/gas/arc/warn.exp: Fix matching pattern.
1355 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
1357 * testsuite/gas/arc/ext2op.d: New file.
1358 * testsuite/gas/arc/ext2op.s: Likewise.
1359 * testsuite/gas/arc/ext3op.d: Likewise.
1360 * testsuite/gas/arc/ext3op.s: Likewise.
1362 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1364 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1366 * config/tc-alpha.c (md_parse_option): Likewise.
1367 * config/tc-arc.c (md_parse_option): Likewise.
1368 * config/tc-arm.c (struct arm_long_option_table): Likewise.
1369 (md_parse_option): Likewise.
1370 * config/tc-avr.c (md_parse_option): Likewise.
1371 * config/tc-bfin.c (md_parse_option): Likewise.
1372 * config/tc-cr16.c (md_parse_option): Likewise.
1373 * config/tc-cris.c (s_cris_arch): Likewise.
1374 (md_parse_option): Likewise.
1375 * config/tc-crx.c (md_parse_option): Likewise.
1376 * config/tc-d10v.c (md_parse_option): Likewise.
1377 * config/tc-d30v.c (md_parse_option): Likewise.
1378 * config/tc-dlx.c (md_parse_option): Likewise.
1379 * config/tc-epiphany.c (md_parse_option): Likewise.
1380 * config/tc-fr30.c (md_parse_option): Likewise.
1381 * config/tc-frv.c (md_parse_option): Likewise.
1382 * config/tc-ft32.c (md_parse_option): Likewise.
1383 * config/tc-h8300.c (md_parse_option): Likewise.
1384 * config/tc-hppa.c (md_parse_option): Likewise.
1385 * config/tc-i370.c (md_parse_option): Likewise.
1386 * config/tc-i386.c (md_parse_option): Likewise.
1387 * config/tc-i860.c (md_parse_option): Likewise.
1388 * config/tc-i960.c (md_parse_option): Likewise.
1389 * config/tc-ia64.c (md_parse_option): Likewise.
1390 * config/tc-ip2k.c (md_parse_option): Likewise.
1391 * config/tc-iq2000.c (md_parse_option): Likewise.
1392 * config/tc-lm32.c (md_parse_option): Likewise.
1393 * config/tc-m32c.c (md_parse_option): Likewise.
1394 * config/tc-m32r.c (md_parse_option): Likewise.
1395 * config/tc-m68hc11.c (md_parse_option): Likewise.
1396 * config/tc-m68k.c (md_parse_option): Likewise.
1397 * config/tc-mcore.c (md_parse_option): Likewise.
1398 * config/tc-mep.c (md_parse_option): Likewise.
1399 * config/tc-metag.c (struct metag_long_option): Likewise.
1400 (md_parse_option): Likewise.
1401 * config/tc-microblaze.c (md_parse_option): Likewise.
1402 * config/tc-microblaze.h (md_parse_option): Remove prototype.
1403 * config/tc-mips.c (md_parse_option): Adjust.
1404 * config/tc-mmix.c (md_parse_option): Likewise.
1405 * config/tc-mn10200.c (md_parse_option): Likewise.
1406 * config/tc-mn10300.c (md_parse_option): Likewise.
1407 * config/tc-moxie.c (md_parse_option): Likewise.
1408 * config/tc-msp430.c (md_parse_option): Likewise.
1409 * config/tc-mt.c (md_parse_option): Likewise.
1410 * config/tc-nds32.c (md_parse_option): Likewise.
1411 * config/tc-nds32.h (nds32_parse_option): Likewise.
1412 * config/tc-nios2.c (md_parse_option): Likewise.
1413 * config/tc-ns32k.c (md_parse_option): Likewise.
1414 * config/tc-or1k.c (md_parse_option): Likewise.
1415 * config/tc-pdp11.c (md_parse_option): Likewise.
1416 * config/tc-pj.c (md_parse_option): Likewise.
1417 * config/tc-ppc.c (md_parse_option): Likewise.
1418 * config/tc-rl78.c (md_parse_option): Likewise.
1419 * config/tc-rx.c (md_parse_option): Likewise.
1420 * config/tc-s390.c (s390_parse_cpu): Likewise.
1421 * config/tc-score.c (md_parse_option): Likewise.
1422 * config/tc-sh.c (md_parse_option): Likewise.
1423 * config/tc-sparc.c (md_parse_option): Likewise.
1424 * config/tc-spu.c (md_parse_option): Likewise.
1425 * config/tc-tic30.c (md_parse_option): Likewise.
1426 * config/tc-tic4x.c (md_parse_option): Likewise.
1427 * config/tc-tic54x.c (md_parse_option): Likewise.
1428 * config/tc-tic6x.c (md_parse_option): Likewise.
1429 * config/tc-tilegx.c (md_parse_option): Likewise.
1430 * config/tc-tilepro.c (md_parse_option): Likewise.
1431 * config/tc-v850.c (md_parse_option): Likewise.
1432 * config/tc-vax.c (md_parse_option): Likewise.
1433 * config/tc-visium.c (struct visium_long_option_table): Likewise.
1434 * config/tc-xc16x.c (md_parse_option): Likewise.
1435 * config/tc-xgate.c (md_parse_option): Likewise.
1436 * config/tc-xstormy16.c (md_parse_option): Likewise.
1437 * config/tc-xtensa.c (md_parse_option): Likewise.
1438 * config/tc-z80.c (md_parse_option): Likewise.
1439 * config/tc-z8k.c (md_parse_option): Likewise.
1440 * tc.h (md_parse_option): Likewise.
1442 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1444 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1445 * config/tc-hppa.c (fix_new_hppa): Likewise.
1446 (pa_vtable_entry): Likewise.
1447 (pa_vtable_inherit): Likewise.
1448 * config/tc-m68k.c (md_begin): Likewise.
1450 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1452 * config/obj-elf.c (obj_elf_section_name): Return const char *.
1453 * config/obj-elf.h (obj_elf_section_name): Adjust.
1454 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1455 (aarch64_parse_cpu): Likewise.
1456 (aarch64_parse_arch): Likewise.
1457 * config/tc-arm.c (arm_parse_extension): Likewise.
1458 (arm_parse_cpu): Likewise.
1459 (arm_parse_arch): Likewise.
1460 * config/tc-nds32.c: Likewise.
1461 * config/xtensa-relax.c (parse_special_fn): Likewise.
1462 * stabs.c (generate_asm_file): Likewise.
1464 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1466 * config/tc-cr16.c (cr16_assemble): New function.
1467 (md_assemble): Call cr16_assemble.
1469 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1471 * as.c (parse_args): Adjust.
1472 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1473 * config/obj-elf.c (elf_frob_symbol): Adjust.
1475 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1477 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1478 registers to be in the 16..31 range.
1480 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1482 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1485 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1487 * config/tc-visium.c (md_atof): Localize the string returned on
1490 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1492 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1493 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1494 * config/tc-m68hc11.c (md_begin): Likewise.
1495 (print_opcode_list): Likewise.
1496 * config/tc-msp430.c (msp430_section): Likewise.
1497 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1498 (s3_build_dependency_insn_hsh): Likewise.
1499 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1500 (s7_build_dependency_insn_hsh): Likewise.
1501 * config/tc-tic4x.c: Likewise.
1502 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1503 (subsym_get_arg): Likewise.
1504 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1505 (get_directive): Likewise.
1506 (cache_literal_section): Likewise.
1507 * config/xtensa-relax.c: Likewise.
1508 * symbols.c (symbol_create): Likewise.
1509 (local_symbol_make): Likewise.
1510 (symbol_relc_make_expr): Likewise.
1512 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1514 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1517 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1519 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1522 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1524 * config/tc-ia64.c (ia64_do_align): Remove.
1525 (ia64_cons_align): Call do_align () directly.
1526 (dot_proc): Likewise.
1527 (stmt_float_cons): Likewise.
1529 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1531 * listing.c (listing_message): Use XNEW style allocation macros.
1532 * read.c (read_a_source_file): Likewise.
1533 (read_symbol_name): Likewise.
1534 (s_mri_common): Likewise.
1535 (assign_symbol): Likewise.
1536 (s_reloc): Likewise.
1537 (emit_expr_with_reloc): Likewise.
1538 (s_incbin): Likewise.
1539 (s_include): Likewise.
1540 * sb.c (sb_build): Likewise.
1541 (sb_check): Likewise.
1543 2016-03-22 Alan Modra <amodra@gmail.com>
1545 * write.c (record_alignment): Revert 2016-02-18 change.
1547 2016-03-22 Alan Modra <amodra@gmail.com>
1549 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1550 (emit_jsrjmp, tc_gen_reloc): Likewise.
1551 * config/tc-i370.c (i370_macro): Likewise.
1553 2016-03-22 Nick Clifton <nickc@redhat.com>
1555 * configure: Regenerate.
1557 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1559 * testsuite/gas/arc/nps400-0.d: New file.
1560 * testsuite/gas/arc/nps400-0.s: New file.
1561 * testsuite/gas/arc/nps400-1.d: New file.
1562 * testsuite/gas/arc/nps400-1.s: New file.
1564 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1566 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1567 declarations to start of block. Reset code on all flags before
1568 attempting to match them. Handle multiple hits on the same flag.
1570 * testsuite/gas/arc/asm-errors.d: New file.
1571 * testsuite/gas/arc/asm-errors.err: New file.
1572 * testsuite/gas/arc/asm-errors.s: New file.
1574 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1576 * config/tc-arc.c (cpu_types): Add nps400 entry.
1577 (check_zol): Handle nps400.
1579 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1581 * config/tc-arc.c (arc_select_cpu): Remove use of
1584 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1586 * config/tc-arc.c (arc_target): Delay initialisation until
1588 (arc_target_name): Likewise.
1589 (arc_features): Likewise.
1590 (arc_mach_type): Likewise.
1591 (cpu_types): Remove "all" entry.
1592 (arc_select_cpu): New function, most of the content is from...
1593 (md_parse_option): ... here. Call new arc_select_cpu.
1594 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1596 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1598 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1599 * testsuite/gas/arc/inline-data-2.d: New file.
1601 2016-03-21 Nick Clifton <nickc@redhat.com>
1603 * atof-generic.c: Replace use of alloca with call to xmalloc.
1605 * dwarf2dbg.c: Likewise.
1606 * macro.c: Likewise.
1607 * remap.c: Likewise.
1608 * stabs.c: Likewise.
1609 * symbols.c: Likewise.
1610 * config/obj-elf.c: Likewise.
1611 * config/tc-aarch64.c: Likewise.
1612 * config/tc-arc.c: Likewise.
1613 * config/tc-arm.c: Likewise.
1614 * config/tc-avr.c: Likewise.
1615 * config/tc-ia64.c: Likewise.
1616 * config/tc-mips.c: Likewise.
1617 * config/tc-msp430.c: Likewise.
1618 * config/tc-nds32.c: Likewise.
1619 * config/tc-ppc.c: Likewise.
1620 * config/tc-sh.c: Likewise.
1621 * config/tc-tic30.c: Likewise.
1622 * config/tc-tic54x.c: Likewise.
1623 * config/tc-xstormy16.c: Likewise.
1624 * config/te-vms.c: Likewise.
1625 * configure: Regenerate.
1627 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1629 * tc-i386.c (f32_1): Change type to unsigned char[].
1649 (jump_31): Likewise.
1650 (f32_patt): Likewise.
1651 (f16_patt): Likewise.
1660 (alt_patt): Likewise.
1662 2016-03-18 Nick Clifton <nickc@redhat.com>
1664 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1665 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1666 .tlsdescldr and .xword directives.
1669 * testsuite/gas/aarch64/pr19721.s: New test source file.
1670 * testsuite/gas/aarch64/pr19721.d: New test driver file.
1672 * doc/as.texinfo: Place the target specific command line options
1673 into their own man page section.
1675 2016-03-16 Jiong Wang <jiong.wang@arm.com>
1677 * config/tc-arm.c (N_S_32): New.
1678 (N_F_16_32): Likewise.
1679 (N_SUF_32): Support N_F16.
1680 (N_IF_32): Likewise.
1681 (neon_dyadic_misc): Likewise.
1682 (do_neon_cmp): Likewise.
1683 (do_neon_cmp_inv): Likewise.
1684 (do_neon_mul): Likewise.
1685 (do_neon_fcmp_absolute): Likewise.
1686 (do_neon_step): Likewise.
1687 (do_neon_abs_neg): Likewise.
1688 (CVT_FLAVOR_VAR): Likewise.
1689 (do_neon_cvt_1): Likewise.
1690 (do_neon_recip_est): Likewise.
1691 (do_vmaxnm): Likewise.
1692 (do_vrint_1): Likewise.
1693 (neon_check_type): Check architecture support for FP16 extension.
1694 (insns): Update comments.
1695 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1696 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1697 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1698 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1700 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1702 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1705 2016-03-16 Nick Clifton <nickc@redhat.com>
1707 * read.c (emit_expr_with_reloc): Add code check a bignum with
1709 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1711 * testsuite/gas/elf/bignum.s: New test source file.
1712 * testsuite/gas/elf/bignum.d: New test driver file.
1713 * testsuite/gas/elf/elf.exp: Run the new test.
1715 2016-03-15 Ulrich Drepper <drepper@gmail.com>
1717 * doc/c-i386.texi (Register Naming): Update to details of the
1718 latest architecture version.
1720 2016-03-10 Mickael Guene <mickael.guene@st.com>
1723 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1725 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1726 (do_t_mov_cmp): Likewise.
1727 (do_t_add_sub): Protect against bad relocations usage.
1728 (do_t_mov_cmp): Likewise.
1729 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1730 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1731 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1732 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
1734 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1736 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1738 (do_neon_ld_st_lane): Likewise.
1739 (do_neon_ld_dup): Likewise.
1741 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1743 * testsuite/gas/arc/inline-data-1.d: New file.
1744 * testsuite/gas/arc/inline-data-1.s: New file.
1746 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
1748 * config/tc-arm.c (arm_cpus): Add cortex-r8.
1749 * doc/c-arm.texi: Add cortex-r8.
1751 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1753 * config/tc-arc.c: Add const qualifiers.
1754 * config/tc-h8300.c (md_begin): Likewise.
1755 * config/tc-ia64.c (print_prmask): Likewise.
1756 * config/tc-msp430.c (msp430_operands): Likewise.
1757 * config/tc-nds32.c (struct suffix_name): Likewise.
1758 (struct nds32_parse_option_table): Likewise.
1759 (struct nds32_set_option_table): Likewise.
1760 (do_pseudo_pushpopm): Likewise.
1761 (do_pseudo_pushpop_stack): Likewise.
1762 (nds32_relax_relocs): Likewise.
1763 (nds32_flag): Likewise.
1764 (struct nds32_hint_map): Likewise.
1765 (nds32_find_reloc_table): Likewise.
1766 (nds32_match_hint_insn): Likewise.
1767 * config/tc-s390.c: Likewise.
1768 * config/tc-sh.c (get_specific): Likewise.
1769 * config/tc-tic30.c: Likewise.
1770 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
1771 (tic4x_indirect_parse): Likewise.
1772 * config/tc-vax.c (vax_cons): Likewise.
1773 * config/tc-z80.c (struct reg_entry): Likewise.
1774 * config/tc-epiphany.c (md_assemble): Adjust.
1775 (epiphany_assemble): New function.
1776 (epiphany_elf_section_rtn): Call do_align directly.
1777 (epiphany_elf_section_text): Likewise.
1778 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
1779 (ip2k_elf_section_text): Likewise.
1780 * read.c (do_align): Make it not static.
1781 * read.h (do_align): New prototype.
1783 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1785 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
1786 for ARMv8.1 AdvSIMD use.
1787 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
1788 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
1790 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1792 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
1794 (record_feature_use): New.
1795 (mark_feature_used): Use record_feature_use.
1796 (do_neon_qrdmlah): New.
1797 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
1799 (arm_extensions): Put into alphabetical order. Re-indent "simd"
1800 and "rdma" entries. Fix the incorrect merge value for "+rdma".
1801 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
1802 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
1803 Make source file explicit.
1804 * testsuite/gas/arm/armv8-a+rdma.l: New.
1805 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
1806 directives. Fix white-space.
1807 * testsuite/gas/arm/armv8_1-a+simd.d: New.
1809 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1811 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
1813 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1814 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1816 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
1817 (tc_arc_fix_adjustable): Changed default return value to 1.
1818 * testsuite/gas/arc/j.d: Updated expected symbol
1819 * testsuite/gas/arc/jl.d: Likewise
1820 * testsuite/gas/arc/relax-avoid1.d: Likewise
1821 * testsuite/gas/arc/st.d: Likewise
1823 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1825 * config/tc-arc.c: Enable code density instructions for ARC EM.
1827 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1830 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
1832 * as.c (flag_use_elf_stt_common): New.
1833 (show_usage): Add --elf-stt-common=.
1834 (option_values): Add OPTION_ELF_STT_COMMON.
1835 (std_longopts): Add --elf-stt-common=.
1836 (parse_args): Handle --elf-stt-common=.
1837 * as.h (flag_use_elf_stt_common): New.
1838 * config.in: Regenerated.
1839 * configure: Likewise.
1840 * configure.ac: Add --enable-elf-stt-common and define
1841 DEFAULT_GENERATE_ELF_STT_COMMON.
1842 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
1843 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
1844 * doc/as.texinfo: Document --elf-stt-common=.
1845 * testsuite/gas/elf/common3.s: New file.
1846 * testsuite/gas/elf/common3a.d: Likewise.
1847 * testsuite/gas/elf/common3b.d: Likewise.
1848 * testsuite/gas/elf/common4.s: Likewise.
1849 * testsuite/gas/elf/common4a.d: Likewise.
1850 * testsuite/gas/elf/common4b.d: Likewise.
1851 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1852 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1853 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
1855 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
1856 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
1857 --elf-stt-common=no to as.
1858 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
1859 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
1860 --elf-stt-common=no to as.
1861 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
1862 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
1863 of dw2-compress-3 and dw2-compressed-3.
1865 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1867 * as.c (select_emulation_mode): Add const qualifiers.
1869 * config/bfin-defs.h: Likewise.
1870 * config/bfin-parse.y: Likewise.
1871 * config/rx-parse.y: Likewise.
1872 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
1873 (struct aarch64_cpu_option_table): Likewise.
1874 (struct aarch64_arch_option_table): Likewise.
1875 (struct aarch64_option_cpu_value_table): Likewise.
1876 (struct aarch64_long_option_table): Likewise.
1877 (struct aarch64_option_abi_value_table): Likewise.
1878 * config/tc-arm.c (struct reloc_entry): Likewise.
1879 (tc_gen_reloc): Likewise.
1880 (struct arm_option_table): Likewise.
1881 (struct arm_legacy_option_table): Likewise.
1882 (struct arm_cpu_option_table): Likewise.
1883 (struct arm_arch_option_table): Likewise.
1884 (struct arm_option_extension_value_table): Likewise.
1885 (struct arm_option_fpu_value_table): Likewise.
1886 (struct arm_option_value_table): Likewise.
1887 (struct arm_long_option_table): Likewise.
1888 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
1889 (struct mcu_type_s): Likewise.
1890 (struct exp_mod_s): Likewise.
1891 (avr_operand): Likewise.
1892 (avr_operands): Likewise.
1893 * config/tc-d10v.c (md_begin): Likewise.
1894 * config/tc-dlx.c: Likewise.
1895 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
1896 * config/tc-ft32.c (parse_condition): Likewise.
1897 * config/tc-h8300.c (do_a_fix_imm): Likewise.
1898 * config/tc-hppa.c (pa_ip): Likewise.
1899 (hppa_regname_to_dw2regnum): Likewise.
1900 * config/tc-i370.c (i370_elf_suffix): Likewise.
1901 * config/tc-i960.c (struct tabentry): Likewise.
1902 * config/tc-m32r.c: Likewise.
1903 * config/tc-m68k.c: Likewise.
1904 * config/tc-m68k.h: Likewise.
1905 * config/tc-mcore.c (parse_psrmod): Likewise.
1906 * config/tc-metag.c (struct metag_core_option): Likewise.
1907 (struct metag_long_option): Likewise.
1908 * config/tc-microblaze.c: Likewise.
1909 * config/tc-mips.c (macro): Likewise.
1910 * config/tc-mn10200.c: Likewise.
1911 * config/tc-mn10300.c: Likewise.
1912 * config/tc-msp430.c (struct rcodes_s): Likewise.
1913 (struct hcodes_s): Likewise.
1914 (md_parse_option): Likewise.
1915 * config/tc-ns32k.c (struct ns32k_option): Likewise.
1916 (optlist): Likewise.
1917 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
1918 (tc_ppc_regname_to_dw2regnum): Likewise.
1919 * config/tc-ppc.h: Likewise.
1920 * config/tc-rl78.c: Likewise.
1921 * config/tc-rx.c (struct cpu_type): Likewise.
1922 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
1923 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
1924 (sparc_ip): Likewise.
1925 * config/tc-spu.c (insn_fmt_string): Likewise.
1926 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1927 * config/tc-v850.c: Likewise.
1928 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
1929 (struct visium_long_option_table): Likewise.
1930 * config/tc-xgate.c: Likewise.
1931 * config/tc-z8k.c: Likewise.
1932 * read.c (add_include_dir): Likewise.
1935 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1937 * testsuite/gas/all/gas.exp: Change target pattern to cover
1939 * testsuite/gas/all/redef3.d: Likewise.
1940 * testsuite/gas/elf/elf.exp: Likewise.
1942 2016-02-24 Renlin Li <renlin.li@arm.com>
1944 * config/tc-arm.c (BAD_FP16): New error message macro.
1945 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
1946 fp16 scalar instructions.
1947 (neon_check_type): Allow different size from key.
1948 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
1949 (try_vfp_nsyn): Likewise.
1950 (do_vfp_nsyn_mla_mls): Likewise.
1951 (do_vfp_nsyn_fma_fms): Likewise.
1952 (do_vfp_nsyn_ldm_stm): Likewise
1953 (do_vfp_nsyn_sqrt): Likewise
1954 (do_vfp_nsyn_div): Likewise
1955 (do_vfp_nsyn_nmul): Likewise.
1956 (do_vfp_nsyn_cmp): Likewise.
1957 (do_neon_shll): Likewise.
1958 (do_vfp_nsyn_cvt_fpv8): Likewise.
1959 (do_neon_cvttb_2): Likewise.
1960 (do_neon_mov): Likewise.
1961 (do_neon_rshift_round_imm): Likewise.
1962 (do_neon_ldr_str): Likewise.
1963 (do_vfp_nsyn_fpv8): Likewise.
1964 (do_vmaxnm): Likewise.
1965 (do_vrint_1): Likewise.
1966 (insns): New entry for vins, vmovx.
1967 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
1968 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
1969 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
1970 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
1971 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
1972 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
1973 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
1975 2016-02-24 Renlin Li <renlin.li@arm.com>
1977 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
1978 (neon_shape_class): New SC_HALF.
1979 (neon_shape_el): New SE_H.
1980 (neon_shape_el_size): New size for SE_H.
1981 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
1982 (neon_select_shape): Add SE_H support code.
1983 (el_type_of_type_chk): Use N_F_ALL.
1984 (do_vfp_nsyn_cvt): Add SE_H shape support.
1985 (do_neon_cvtz): Likewise.
1986 (do_neon_cvt_1): Likewise.
1987 (do_neon_cvttb_1): Likewise.
1989 2016-02-24 Renlin Li <renlin.li@arm.com>
1991 * testsuite/gas/arm/copro.d: Adjust output.
1992 * testsuite/gas/arm/copro.s: Adjust co-processor num.
1994 2016-02-24 Renlin Li <renlin.li@arm.com>
1996 * testsuite/gas/arm/mask_1.d: New.
1997 * testsuite/gas/arm/mask_1.s: New.
1999 2016-02-24 Renlin Li <renlin.li@arm.com>
2001 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2002 * testsuite/gas/arm/copro.d: Update.
2004 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2006 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2007 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2009 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2011 * doc/c-arm.texi (ARM Options): Document cortex-a17.
2013 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2015 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2018 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2020 * output-file.c (output_file_create): Make file name argument const.
2021 (output_file_close): Likewise.
2022 * output-file.h (output_file_create): Adjust.
2023 (output_file_close): Likewise.
2024 * depend.c (quote_string_for_make): Make src argument const char *.
2025 (register_dependency): Likewise.
2026 (wrap_output): Likewise.
2027 * as.h (register_dependency): Adjust.
2028 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2030 * symbols.c (S_SET_EXTERNAL): Likewise.
2031 * input-scrub.c (as_where): Return the file name.
2032 * as.h (as_where): Adjust prototype.
2033 * app.c (do_scrub_chars): Adjust.
2034 * cond.c (s_elseif): Likewise.
2036 (initialize_cframe): Likewise.
2037 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2038 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2039 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2040 * config/tc-aarch64.c (output_info): Likewise.
2041 * config/tc-ia64.c (md_assemble): Likewise.
2042 (dot_alias): Likewise.
2043 * config/tc-m68k.c (m68k_frob_label): Likewise.
2044 * config/tc-mmix.c (s_bspec): Likewise.
2045 (mmix_handle_mmixal): Likewise.
2046 * config/tc-rx.c (rx_include): Likewise.
2047 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2048 (tic54x_adjust_symtab): Likewise.
2049 * config/tc-xtensa.c (directive_push): Likewise.
2050 (xtensa_sanity_check): Likewise.
2051 (xtensa_relax_frag): Likewise.
2052 (md_convert_frag): Likewise.
2053 (tinsn_to_slotbuf): Likewise.
2054 * dwarf2dbg.c (dwarf2_where): Likewise.
2055 * ecoff.c (add_file): Likewise.
2056 (ecoff_generate_asm_lineno): Likewise.
2057 * expr.c (make_expr_symbol): Likewise.
2058 * frags.c (frag_new): Likewise.
2059 (frag_var_init): Likewise.
2060 * listing.c (listing_newline): Likewise.
2061 * messages.c (identify): Likewise.
2062 (as_show_where): Likewise.
2063 (as_warn_internal): Likewise.
2064 (as_bad_internal): Likewise.
2065 * read.c (s_irp): Likewise.
2066 (s_macro): Likewise.
2067 (s_reloc): Likewise.
2068 * stabs.c (stabs_generate_asm_file): Likewise.
2069 (stabs_generate_asm_lineno): Likewise.
2070 (stabs_generate_asm_func): Likewise.
2071 * write.c (fix_new_internal): Likewise.
2072 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2073 (as_warn_value_out_of_range): Adjust prototype.
2074 (as_bad_value_out_of_range): Adjust prototype.
2075 * messages.c (identify): Make file name argument const char *.
2076 (as_warn_internal): Likewise.
2077 (as_warn_where): Likewise.
2078 (as_bad_internal): Likewise.
2079 (as_bad_where): Likewise.
2080 (as_internal_value_out_of_range): Likewise.
2081 (as_warn_value_out_of_range): Likewise.
2082 (as_bad_value_out_of_range): Likewise.
2083 * as.h (found_comment_file): Change type to const char *.
2084 * cond.c (file_line::file): Likewise.
2085 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2086 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2087 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2088 * config/tc-aarch64.c (output_info): Likewise.
2089 * config/tc-alpha.c (insert_operand): Likewise.
2090 * config/tc-arc.c (insert_operand): Likewise.
2091 * config/tc-d30v.c (check_size): Likewise.
2092 * config/tc-ia64.c (struct alias): Likewise.
2093 * config/tc-m68k.c (struct label_line): Likewise.
2094 * config/tc-mcore.c (md_apply_fix): Likewise.
2095 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2096 * config/tc-mips.c (mips16_immed): Likewise.
2097 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2098 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2099 * config/tc-rx.c (rx_include): Likewise.
2100 * config/tc-s390.c (s390_insert_operand): Likewise.
2101 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2102 (tic54x_adjust_symtab): Likewise.
2103 * config/tc-tilegx.c (insert_operand): Likewise.
2104 (apply_special_operator): Likewise.
2105 * config/tc-tilepro.c (insert_operand): Likewise.
2106 * config/tc-xtensa.c (directive_push): Likewise.
2107 * ecoff.c (add_file): Likewise.
2108 (ecoff_generate_asm_lineno): Likewise.
2109 * listing.c (listing_newline): Likewise.
2110 * read.c (s_irp): Likewise.
2111 * write.c (install_reloc): Likewise.
2112 * write.h (struct fix): Likewise.
2113 * input-file.c (file_name): Change type to const char *.
2114 (saved_file::file_name): Likewise.
2115 (input_file_open): Change type of argument to const char *.
2116 * input-file.h (input_file_open): Adjust.
2117 * input-scrub.c (logical_input_file): change type to const char *.
2118 (physical_input_file): Likewise.
2119 (struct input_save): Adjust.
2120 (input_scrub_push): Adjust.
2121 (input_scrub_begin): Adjust.
2123 * input-scrub.c (input_scrub_new_file): Make file name argument const.
2124 (input_scrub_include_file): Likewise.
2125 (new_logical_line_flags): Likewise.
2126 (new_logical_line): Likewise.
2128 * frags.h (struct frag): Change type of fr_file to const char *.
2129 * expr.c (expr_symbol_where): Change type of file argument to
2131 * expr.h (expr_symbol_where): Likewise.
2132 * config/tc-i370.c (md_apply_fix): adjust.
2133 * config/tc-mmix.c (mmix_md_end): Likewise.
2134 * config/tc-ppc.c (md_apply_fix): Likewise.
2135 * config/tc-s390.c (md_apply_fix): Likewise.
2136 * symbols.c (report_op_error): Likewise.
2137 (resolve_symbol_value): Likewise.
2138 * config/tc-ia64.c (slot::src_file): Change type to const char *.
2139 (rsrc::file): Likewise.
2140 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2142 (xtensa_relax_frag): Likewise.
2143 (md_convert_frag): Likewise.
2144 (tinsn_to_slotbuf): Likewise.
2145 * expr.c (expr_symbol_line): Likewise.
2146 * macro.c (define_macro): Likewise.
2147 * macro.h (macro_struct): Likewise.
2148 * messages.c (as_show_where): Likewise.
2149 * read.c (s_macro): Likewise.
2150 * stabs.c (stabs_generate_asm_file): Likewise.
2151 (generate_asm_file): Likewise.
2152 (stabs_generate_asm_lineno): Likewise.
2153 * write.h (struct reloc_list): Likewise.
2154 * input-scrub.c (as_where): Change return type to const char *.
2155 * as.h (as_wheree): Adjust.
2157 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
2159 * write.c (compress_debug): Move BFD compression bits setting
2161 (write_object_file): Here.
2163 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2165 * config/tc-i386.c (register_number): Check RegVRex.
2166 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2167 with %zmm19 and %zmm3.
2168 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2169 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2171 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2172 Jiong Wang <jiong.wang@arm.com>
2174 * config/tc-arm.c (arm_ext_fp16): New.
2175 (arm_extensions): New entry for "fp16".
2177 2016-02-19 Nick Clifton <nickc@redhat.com>
2180 * read.c (read_a_source_file): Check for assemble_one returning
2181 with input_line_pointer set to NULL.
2183 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2185 * listing.c (rebuffer_line): Change return type to void.
2187 * symbols.c (decode_local_label_name): Make type a const char *.
2188 * listing.c (print_source): Make type of p const char *.
2189 (print_line): Make type of string const char *.
2190 (buffer_line): Return const char *.
2191 (title): Make type const char *.
2192 (subtitle): Likewise.
2193 (listing_listing): Make type of p const char *.
2194 * messages.c (as_internal_value_out_of_range): Make type of prefix
2196 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
2197 and string const char *.
2198 * read.c (_bfd_rel): Make type of name const char *.
2199 * app.c (out_string): Change type to const char *.
2200 (struct app_save::out_string): Likewise.
2202 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
2203 Nick Clifton <nickc@redhat.com>
2205 * read.c (finish_bundle): Avoid recording a negative alignment.
2206 (do_align): Use unsigned values for n, len and max. Only create
2207 a frag if the alignment requirement is greater than the minimum
2208 byte alignment. Avoid recording a negative alignment.
2209 (s_align): Use unsigned values where appropriate.
2210 (bss_alloc): Use an unsigned value for the alignment.
2211 (sizeof_sleb128): Add a comment noting that we encode one octet
2212 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
2213 (emit_leb129_expr): Abort if the emitted encoding was longer than
2215 * read.h (output_leb128): Update prototype.
2216 (sizeof_leb128): Update prototype.
2217 (bss_alloc): Update prototype.
2218 * write.c (record_alignment): Use an unsigned value for the
2219 alignment. Do not record alignments less than the minimum
2220 alignment for a byte.
2221 * write.h (record_alignment): Update prototype.
2223 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2225 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
2226 .init.literal/.fini.literal section name.
2227 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
2228 list of xtensa tests.
2229 * testsuite/gas/xtensa/init-fini-literals.d: New file:
2230 init-fini-literals test result patterns.
2231 * testsuite/gas/xtensa/init-fini-literals.s: New file:
2232 init-fini-literals test.
2234 2016-02-17 Nick Clifton <nickc@redhat.com>
2236 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
2237 devices.csv file as of March 2016.
2239 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
2241 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
2243 (tc_arc_regname_to_dw2regnum): Likewise.
2244 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
2245 (tc_cfi_frame_initial_instructions): Likewise.
2246 (tc_regname_to_dw2regnum): Likewise.
2247 * testsuite/gas/cfi/cfi-arc-1.d: New file.
2248 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
2249 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
2251 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
2253 * doc/internals.texi (S_IS_EXTERN): Remove.
2255 2016-02-16 Nick Clifton <nickc@redhat.com>
2257 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
2260 2016-02-16 Renlin Li <renlin.li@arm.com>
2263 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
2264 * testsuite/gas/aarch64/movw_label.d: New.
2265 * testsuite/gas/aarch64/movw_label.s: New.
2267 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
2270 * config/rx-parse.y (MOV): Opcode generation for index
2271 register addressing mode.
2272 * testsuite/gas/rx/rx.exp: Updated for new testcase.
2273 * testsuite/gas/rx/pr19665.s: New file.
2274 * testsuite/gas/rx/pr19665.s: New file.
2275 * testsuite/gas/rx/mov.d: Update expected output.
2277 2016-02-15 Nick Clifton <nickc@redhat.com>
2279 * doc/as.texinfo (.section): Document that numeric values can now
2280 be used for the flags and type fields of the ELF target's .section
2281 directive. Add notes about the restrictions on setting flags and
2283 * config/obj-elf.c (obj_elf_change_section): Allow known sections
2284 to be given processor specific section types. Allow processor and
2285 application specific flags of a section to be set after
2287 (obj_elf_parse_section_letters): Handle parsing numeric values.
2288 (obj_elf_section_type): Handle parsing numeric values.
2289 (obj_elf_section): Allow numeric type values.
2290 * config/obj-elf.h (obj_elf_change_section): Update prototype.
2291 * testsuite/gas/elf/section10.d: New test.
2292 * testsuite/gas/elf/section10.s: Source file for new test.
2293 * testsuite/gas/elf/elf.exp: Run the new test.
2294 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
2295 the description of the flags produced by readelf.
2296 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
2297 * NEWS: Mention the new feature.
2299 2016-02-11 Nick Clifton <nickc@redhat.com>
2302 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
2303 until it is actually used.
2304 (cfi_set_sections): Set cfi_sections_set to true.
2305 (dot_cfi_startproc): Likewise.
2306 (dot_cfi_endproc): Likewise.
2307 (dot_cfi_fde_data): Likewise.
2308 (cfi_finish): Likewise.
2309 (dot_cfi_sections): Do not set cfi_sections_set.
2310 * doc/as.texinfo (.cfi_sections): Note that targets can provide
2311 their own cfi section name. Also note that the directive can be
2312 reissued provided that CFI generation has not started.
2313 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
2314 .cfi_endproc directives so that the redefinition of .cfi_sections
2315 will trigger the generation of the error message.
2316 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
2317 number of error message.
2319 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
2320 Janek van Oirschot <jvanoirs@synopsys.com>
2322 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2323 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2325 (arc_flags, arc_relax_type): New structure.
2326 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2327 (RELAX_TABLE_ENTRY_MAX): New define.
2328 (relaxation_state, md_relax_table, arc_relaxable_insns)
2329 (arc_num_relaxable_ins): New variable.
2330 (rlx_operand_type, arc_rlx_types): New enums.
2331 (arc_relaxable_ins): New structure.
2332 (OPTION_RELAX): New option.
2333 (arc_insn): New relax member.
2334 (arc_flags): Remove.
2335 (relax_insn_p): New function.
2336 (apply_fixups): Likewise.
2337 (relaxable_operand): Likewise.
2338 (may_relax_expr): Likewise.
2339 (relaxable_flag): Likewise.
2340 (arc_pcrel_adjust): Likewise.
2341 (md_estimate_size_before_relax): Implement.
2342 (md_convert_frag): Likewise.
2343 (md_parse_option): Handle new mrelax option.
2344 (md_show_usage): Likewise.
2345 (assemble_insn): Set relax member.
2346 (emit_insn0): New function.
2347 (emit_insn1): Likewise.
2348 (emit_insn): Handle relaxation case.
2349 * NEWS: Mention the new relaxation option.
2350 * doc/c-arc.texi (ARC Options): Document new mrelax option.
2351 * doc/as.texinfo (Target ARC Options): Likewise.
2352 * testsuite/gas/arc/relax-avoid1.d: New file.
2353 * testsuite/gas/arc/relax-avoid1.s: Likewise.
2354 * testsuite/gas/arc/relax-avoid2.d: Likewise.
2355 * testsuite/gas/arc/relax-avoid2.s: Likewise.
2356 * testsuite/gas/arc/relax-avoid3.d: Likewise.
2357 * testsuite/gas/arc/relax-avoid3.s: Likewise.
2358 * testsuite/gas/arc/relax-b.d: Likewise.
2359 * testsuite/gas/arc/relax-b.s: Likewise.
2361 2016-02-08 Nick Clifton <nickc@redhat.com>
2363 * config/tc-ia64.c (dot_prologue): Fix formatting.
2365 2016-02-04 Nick Clifton <nickc@redhat.com>
2367 * config/obj-elf.c (obj_elf_change_section): Remove support for
2368 ARM NOREAD sections.
2369 * config/tc-arm.c (arm_elf_section_letter): Delete.
2370 * config/tc-arm.h (md_elf_section_letter): Delete.
2371 * doc/c-arm.texi (ARM Section Attribute): Delete section.
2372 * testsuite/gas/arm/section-execute-only.d: Delete.
2373 * testsuite/gas/arm/section-execute-only.s: Delete.
2375 2016-02-04 Nick Clifton <nickc@redhat.com>
2378 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2379 to handle encoding of RRUX instruction.
2380 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2382 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2384 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2386 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2387 substitutions for BFD_RELOC_* as unsigned.
2388 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2389 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2390 * testsuite/gas/xtensa/loc.s: New file: loc test.
2392 2016-02-03 Kevin Buettner <kevinb@redhat.com>
2394 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
2396 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2399 * NEWS: Mention new command line option -mrelax-relocations and
2400 new configure option --enable-x86-relax-relocations for x86
2402 * config.in: Regenerated.
2403 * configure.ac: Add --enable-x86-relax-relocations.
2404 (ac_default_x86_relax_relocations): New. Default to 1 except
2405 for x86 Solaris targets older than Solaris 12.
2406 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2407 * configure: Likewise.
2408 * config/tc-i386.c (generate_relax_relocations): New.
2409 (OPTION_MRELAX_RELOCATIONS): Likewise.
2410 (output_disp): Don't generate relax relocations if
2411 generate_relax_relocations is 0.
2412 (md_longopts): Add -mrelax-relocations.
2413 (md_show_usage): Likewise.
2414 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2415 * doc/c-i386.texi: Document -mrelax-relocations=.
2416 * testsuite/gas/i386/got-no-relax.d: New file.
2417 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2418 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2419 * testsuite/gas/i386/localpic.d: Likewise.
2420 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2421 * testsuite/gas/i386/reloc32.d: Likewise.
2422 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2423 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2424 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2425 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2426 * testsuite/gas/i386/i386.exp: Run got-no-relax and
2427 x86-64-gotpcrel-no-relax.
2429 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2431 * NEWS: Mention new command line option -mfence-as-lock-add=yes
2434 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2436 * NEWS: Remove duplicated marker for 2.26.
2438 2016-02-02 Renlin Li <renlin.li@arm.com>
2440 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2442 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2444 * testsuite/gas/ip2k/allinsn.d: New file.
2445 * testsuite/gas/ip2k/allinsn.s: New file.
2446 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2448 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2450 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2451 some load instructions.
2452 * testsuite/gas/epiphany/allinsn.d: Likewise.
2453 * testsuite/gas/epiphany/regression.d: Likewise.
2455 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2457 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2458 suffixes from instruction mnemonics in expected output.
2459 * testsuite/gas/epiphany/allinsn.d: Likewise.
2460 * testsuite/gas/epiphany/regression.d: Likewise.
2461 * testsuite/gas/epiphany/sample.d: Likewise.
2463 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2465 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2467 * testsuite/gas/epiphany/allinsn.d: Likewise.
2468 * testsuite/gas/epiphany/sample.d: Likewise.
2470 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2472 * testsuite/gas/epiphany/sample.d: Update expected output.
2474 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2476 * config/tc-arc.c (md_apply_fix): Allow addendum.
2477 (arc_reloc_op): Allow complex expressions for tpoff.
2478 (md_apply_fix): Handle resolved TLS local symbol.
2479 * testsuite/gas/arc/tls-relocs1.d: New file.
2480 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2482 2016-02-01 Loria <Loria@phantasia.org>
2485 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2486 efficiency and avoid an LLVM loop optimization bug.
2488 2016-02-01 Nick Clifton <nickc@redhat.com>
2490 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2491 message extending a negative 32-bit value into a larger signed
2492 value on a 32-bit host.
2494 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2497 * configure.ac (compressed_debug_sections): Replace == with =.
2498 * configure: Regenerated.
2500 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2501 H.J. Lu <hongjiu.lu@intel.com>
2503 * config/tc-i386.c (avoid_fence): New.
2504 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2506 (OPTION_FENCE_AS_LOCK_ADD): New.
2507 (md_longopts): Add -mfence-as-lock-add.
2508 (md_parse_option): Handle -mfence-as-lock-add.
2509 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2510 * doc/c-i386.texi (-mfence-as-lock-add): Document.
2511 * testsuite/gas/i386/i386.exp: Run new tests.
2512 * testsuite/gas/i386/fence-as-lock-add.s: New.
2513 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2514 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2515 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2516 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2518 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2520 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2521 * configure: Regenerated.
2523 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2525 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2526 (OPTION_MOMIT_LOCK_PREFIX): This.
2527 (md_longopts): Updated.
2528 (md_parse_option): Likewise.
2530 2016-01-25 Catherine Moore <clm@codesourcery.com>
2532 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2533 if abicalls are in effect.
2534 * testsuite/gas/mips/sdata-gp.s: New test.
2535 * testsuite/gas/mips/sdata-gp.d: New expected output
2536 * testsuite/gas/mips/mips.exp: Run new test.
2538 2016-01-25 Renlin Li <renlin.li@arm.com>
2540 * testsuite/gas/arm/thumb2_it_search.d: New.
2541 * testsuite/gas/arm/thumb2_it_search.s: New.
2543 2016-01-21 Nick Clifton <nickc@redhat.com>
2546 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2547 with arm-netbsdelf target.
2548 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2550 2016-01-20 Nick Clifton <nickc@redhat.com>
2553 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2554 * testsuite/gas/arm/blx-bl-convert.d
2555 * testsuite/gas/arm/plt-1.d: Likewise.
2556 * testsuite/gas/arm/reloc-bad.d: Likewise.
2557 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2558 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2559 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2560 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2563 * doc/as.texinfo (Errors): Correct documentation describing the
2564 interaction of .file and .line with warning and error messages.
2567 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2568 * testsuite/gas/arm/archv8m-main.d: Likewise.
2569 * testsuite/gas/arm/archv8m-base.d: Likewise.
2571 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2573 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2574 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2575 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2577 2016-01-20 Mickael Guene <mickael.guene@st.com>
2578 Terry Guo <terry.guo@arm.com>
2580 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2581 SHF_ARM_NOREAD section flag.
2582 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2584 (arm_elf_section_letter) : Declare it.
2585 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2586 SHF_ARM_NOREAD section flag.
2587 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2589 * testsuite/gas/arm/section-execute-only.s: New test case.
2590 * testsuite/gas/arm/section-execute-only.d: Expected output.
2592 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2594 * config/tc-mips.c (micromips_insn_length): Remove the mention
2595 of 48-bit microMIPS instructions.
2597 2016-01-18 Alan Modra <amodra@gmail.com>
2599 * configure: Regenerate.
2601 2016-01-17 Alan Modra <amodra@gmail.com>
2603 * configure: Regenerate.
2605 2016-01-17 Alan Modra <amodra@gmail.com>
2607 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2609 2016-01-14 Nick Clifton <nickc@redhat.com>
2611 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2612 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2613 * testsuite/gas/rl78/rl78.exp: Run the new test.
2615 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2617 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2618 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2620 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2622 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2624 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2626 * config/tc-h8300.c (get_operand): Remove spurious condition in
2627 test for closing parenthesis.
2629 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
2631 * config/tc-arm.c (arm_ext_v8_2): New.
2633 * testsuite/gas/arm/armv8_2-a.d: New.
2634 * testsuite/gas/arm/armv8_2-a.s: New.
2636 2016-01-12 Alan Modra <amodra@gmail.com>
2638 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2640 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
2642 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2643 xvcmpnesp, xvcmpnesp.>: Delete tests.
2644 * testsuite/gas/ppc/power9.s: Likewise.
2645 * testsuite/gas/ppc/vsx3.d: Likewise.
2646 * testsuite/gas/ppc/vsx3.s: Likewise.
2648 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
2651 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2652 * testsuite/gas/m68k/p13050-1.s: New file.
2653 * testsuite/gas/m68k/p13050-2.d: New file.
2654 * testsuite/gas/m68k/p13050-2.s: New file.
2656 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2658 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2659 * testsuite/gas/arc/add.d: Likewise.
2660 * testsuite/gas/arc/and.d: Likewise.
2661 * testsuite/gas/arc/asl.d: Likewise.
2662 * testsuite/gas/arc/asr.d: Likewise.
2663 * testsuite/gas/arc/bic.d: Likewise.
2664 * testsuite/gas/arc/extb.d: Likewise.
2665 * testsuite/gas/arc/extw.d: Likewise.
2666 * testsuite/gas/arc/j.d: Likewise.
2667 * testsuite/gas/arc/jl.d: Likewise.
2668 * testsuite/gas/arc/ld2.d: Likewise.
2669 * testsuite/gas/arc/lsr.d: Likewise.
2670 * testsuite/gas/arc/mov.d: Likewise.
2671 * testsuite/gas/arc/or.d: Likewise.
2672 * testsuite/gas/arc/pcl-relocs.d: Likewise.
2673 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2674 * testsuite/gas/arc/pic-relocs.d: Likewise.
2675 * testsuite/gas/arc/plt-relocs.d: Likewise.
2676 * testsuite/gas/arc/rlc.d: Likewise.
2677 * testsuite/gas/arc/ror.d: Likewise.
2678 * testsuite/gas/arc/rrc.d: Likewise.
2679 * testsuite/gas/arc/sbc.d: Likewise.
2680 * testsuite/gas/arc/sda-relocs.d: Likewise.
2681 * testsuite/gas/arc/sda-relocs2.d: Likewise.
2682 * testsuite/gas/arc/sexb.d: Likewise.
2683 * testsuite/gas/arc/sexw.d: Likewise.
2684 * testsuite/gas/arc/st.d: Likewise.
2685 * testsuite/gas/arc/sub.d: Likewise.
2686 * testsuite/gas/arc/tls-relocs.d: Likewise.
2687 * testsuite/gas/arc/xor.d: Likewise.
2689 2016-01-01 Alan Modra <amodra@gmail.com>
2691 Update year range in copyright notice of all files.
2693 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2695 Copyright (C) 2016 Free Software Foundation, Inc.
2697 Copying and distribution of this file, with or without modification,
2698 are permitted in any medium without royalty provided the copyright
2699 notice and this notice are preserved.
2705 version-control: never