1 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
3 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
4 jump relocations against MIPS16 or microMIPS symbols on RELA
6 * testsuite/gas/mips/jalx-local.d: New test.
7 * testsuite/gas/mips/jalx-local-n32.d: New test.
8 * testsuite/gas/mips/jalx-local-n64.d: New test.
9 * testsuite/gas/mips/jalx-local.s: New test source.
10 * testsuite/gas/mips/mips.exp: Run the new tests.
12 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
14 * config/tc-mips.c (md_apply_fix)
15 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
18 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
20 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
21 operator to operatorT.
22 (map_suffix_reloc_to_operator): Change return type to operatorT.
24 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
26 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
28 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
30 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
31 handler_charp to const char *.
33 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
35 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
36 (ft32_target_format): Likewise.
37 (TARGET_FORMAT): Adjust.
39 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
41 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
42 (ia64_frob_label): Likewise.
44 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
46 * config/tc-cr16.c (check_range): Make type of retval op_err.
47 * config/tc-crx.c: Likewise.
49 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
51 * config/tc-arc.c (md_begin): Add XY registers.
52 (cpu_types): Code density is default off for ARC EM.
54 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
56 * config/tc-arc.c (attributes_t): Renamed attribute class to
58 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
60 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
62 * configuse.tgt: Add entry for arm-phoenix.
64 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
66 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
68 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
70 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
72 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
74 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
76 (encode_condition): Likewise.
77 (encode_cc3): Likewise.
78 (encode_cc2): Likewise.
79 (encode_operand): Likewise.
80 (tic54x_undefined_symbol): Likewise.
82 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
84 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
86 * doc/c-mips.texi: Document p6600 -march option.
88 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
91 * config/tc-i386.c (md_apply_fix): Preserve addend for
92 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
93 * testsuite/gas/i386/addend.d: New file.
94 * testsuite/gas/i386/addend.s: Likewise.
95 * testsuite/gas/i386/x86-64-addend.d: Likewise.
96 * testsuite/gas/i386/x86-64-addend.s: Likewise.
97 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
98 * testsuite/gas/i386/reloc32.d: Updated.
100 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
102 * config/tc-mips.c (append_insn): Correct the encoding of a
103 constant argument for microMIPS JALX.
104 (tc_gen_reloc): Correct the encoding of an in-place addend for
106 * testsuite/gas/mips/jalx-addend.d: New test.
107 * testsuite/gas/mips/jalx-addend-n32.d: New test.
108 * testsuite/gas/mips/jalx-addend-n64.d: New test.
109 * testsuite/gas/mips/jalx-imm.d: New test.
110 * testsuite/gas/mips/jalx-imm-n32.d: New test.
111 * testsuite/gas/mips/jalx-imm-n64.d: New test.
112 * testsuite/gas/mips/jalx-addend.s: New test source.
113 * testsuite/gas/mips/jalx-imm.s: New test source.
114 * testsuite/gas/mips/mips.exp: Run the new tests.
116 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
118 * config/tc-mips.c: Correct tab-after-space formatting mistakes
121 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
123 * config/tc-arc.c (find_opcode_match): Remove casting away of
125 * config/tc-arc.h (struct arc_flags): Make flgp field const.
127 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
129 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
131 (md_convert_frag): Likewise.
133 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
135 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
136 cached opcode to NULL when we reach a non-matching opcode.
137 * testsuite/gas/arc/asm-errors-2.d: New file.
138 * testsuite/gas/arc/asm-errors-2.err: New file.
139 * testsuite/gas/arc/asm-errors-2.s: New file.
141 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
143 * config/tc-arc.c (tokenize_arguments): Add checks for array
145 * testsuite/gas/arc/asm-errors.s: Addition test line added.
146 * testsuite/gas/arc/asm-errors.err: Update expected results.
148 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
150 * config/tc-rx.c (struct cpu_type): Change the type of a field from
151 int to enum rx_cpu_types.
153 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
155 * config/tc-dlx.c (struct machine_it): change the type of a field from
156 int to bfd_reloc_code_real_type.
157 * config/tc-tic4x.c: Likewise.
159 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
161 * config/tc-v850.c (v850_target_arch): change type to enum
163 * config/tc-v850.h (v850_target_arch): Likewise.
165 2016-05-18 Alan Modra <amodra@gmail.com>
167 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
168 allowed negative range.
169 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
170 * testsuite/gas/ppc/power9.d: Update.
172 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
174 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
175 disassembling and stop skipping targets.
176 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
177 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
178 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
179 instruction for targets that have stronger alignment requirement.
180 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
181 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
182 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
183 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
184 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
185 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
186 * testsuite/gas/arm/archv8m-main.d: Likewise.
187 * testsuite/gas/arm/archv8m.s: Add label.
188 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
189 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
190 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
192 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
194 * config/tc-m32r.c (mach_table): Make static and const.
196 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
198 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
201 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
203 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
205 * config/tc-msp430.c (md_begin): Likewise.
207 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
209 * config/tc-m68hc11.c (fixup8): Change variables type from int to
210 bfd_reloc_code_real_type where appropriate.
212 (fixup8_xg): Likewise.
214 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
216 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
218 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
220 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
221 * testsuite/gas/ppc/power9.s: Likewise.
223 2016-05-13 Alan Modra <amodra@gmail.com>
225 * config/obj-coff.c (weak_uniquify): Delete unused var.
227 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
229 * app.c (app_push): Use XNEW and related macros.
230 * as.c (parse_args): Likewise.
231 * cgen.c (make_right_shifted_expr): Likewise.
232 (gas_cgen_tc_gen_reloc): Likewise.
233 * config/bfin-defs.h: Likewise.
234 * config/bfin-parse.y: Likewise.
235 * config/obj-coff.c (stack_init): Likewise.
236 (stack_push): Likewise.
237 (coff_obj_symbol_new_hook): Likewise.
238 (coff_obj_symbol_clone_hook): Likewise.
239 (add_lineno): Likewise.
240 (coff_frob_symbol): Likewise.
241 * config/obj-elf.c (obj_elf_section_name): Likewise.
242 (build_group_lists): Likewise.
243 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
244 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
245 * config/tc-aarch64.c (insert_reg_alias): Likewise.
246 (find_or_make_literal_pool): Likewise.
247 (add_to_lit_pool): Likewise.
248 (fill_instruction_hash_table): Likewise.
249 * config/tc-alpha.c (load_expression): Likewise.
250 (emit_jsrjmp): Likewise.
251 (s_alpha_ent): Likewise.
252 (s_alpha_end): Likewise.
253 (s_alpha_linkage): Likewise.
254 (md_begin): Likewise.
255 (tc_gen_reloc): Likewise.
256 * config/tc-arc.c (arc_insert_opcode): Likewise.
257 (arc_extcorereg): Likewise.
258 * config/tc-bfin.c: Likewise.
259 * config/tc-cr16.c: Likewise.
260 * config/tc-cris.c: Likewise.
261 * config/tc-crx.c (preprocess_reglist): Likewise.
262 * config/tc-d10v.c: Likewise.
263 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
264 (frv_tomcat_shuffle): Likewise.
265 * config/tc-h8300.c: Likewise.
266 * config/tc-i370.c (i370_macro): Likewise.
267 * config/tc-i386.c (lex_got): Likewise.
268 (md_parse_option): Likewise.
269 * config/tc-ia64.c (alloc_record): Likewise.
270 (set_imask): Likewise.
271 (save_prologue_count): Likewise.
272 (dot_proc): Likewise.
273 (dot_endp): Likewise.
274 (ia64_frob_label): Likewise.
275 (add_qp_imply): Likewise.
276 (add_qp_mutex): Likewise.
277 (mark_resource): Likewise.
278 (dot_alias): Likewise.
279 * config/tc-m68hc11.c: Likewise.
280 * config/tc-m68k.c (m68k_frob_label): Likewise.
282 (mri_control_label): Likewise.
283 (push_mri_control): Likewise.
284 (build_mri_control_operand): Likewise.
285 (s_mri_else): Likewise.
286 (s_mri_break): Likewise.
287 (s_mri_next): Likewise.
288 (s_mri_for): Likewise.
289 (s_mri_endw): Likewise.
290 * config/tc-metag.c (create_mnemonic_htab): Likewise.
291 * config/tc-microblaze.c: Likewise.
292 * config/tc-mmix.c (s_loc): Likewise.
293 * config/tc-nds32.c (nds32_relax_hint): Likewise.
294 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
295 * config/tc-rl78.c: Likewise.
296 * config/tc-rx.c (rx_include): Likewise.
297 * config/tc-sh.c: Likewise.
298 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
299 * config/tc-sparc.c: Likewise.
300 * config/tc-spu.c: Likewise.
301 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
302 (tic6x_start_unwind_section): Likewise.
303 * config/tc-tilegx.c: Likewise.
304 * config/tc-tilepro.c: Likewise.
305 * config/tc-v850.c: Likewise.
306 * config/tc-visium.c: Likewise.
307 * config/tc-xgate.c: Likewise.
308 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
309 (new_resource_table): Likewise.
310 (resize_resource_table): Likewise.
311 (xtensa_create_trampoline_frag): Likewise.
312 (xtensa_maybe_create_literal_pool_frag): Likewise.
313 (cache_literal_section): Likewise.
314 * config/xtensa-relax.c (append_transition): Likewise.
315 (append_condition): Likewise.
316 (append_value_condition): Likewise.
317 (append_constant_value_condition): Likewise.
318 (append_literal_op): Likewise.
319 (append_label_op): Likewise.
320 (append_constant_op): Likewise.
321 (append_field_op): Likewise.
322 (append_user_fn_field_op): Likewise.
323 (enter_opname_n): Likewise.
324 (enter_opname): Likewise.
325 (split_string): Likewise.
326 (parse_insn_templ): Likewise.
327 (clone_req_or_option_list): Likewise.
328 (clone_req_option_list): Likewise.
329 (parse_option_cond): Likewise.
330 (parse_insn_pattern): Likewise.
331 (parse_insn_repl): Likewise.
332 (build_transition): Likewise.
333 (build_transition_table): Likewise.
334 * dw2gencfi.c (alloc_fde_entry): Likewise.
335 (alloc_cfi_insn_data): Likewise.
336 (cfi_add_CFA_remember_state): Likewise.
337 (dot_cfi_escape): Likewise.
338 (dot_cfi_fde_data): Likewise.
339 (select_cie_for_fde): Likewise.
340 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
341 * ecoff.c (ecoff_add_bytes): Likewise.
342 (ecoff_build_debug): Likewise.
343 * input-scrub.c (input_scrub_push): Likewise.
344 (input_scrub_begin): Likewise.
345 (input_scrub_next_buffer): Likewise.
346 * itbl-ops.c (append_insns_as_macros): Likewise.
347 (alloc_entry): Likewise.
348 (alloc_field): Likewise.
349 * listing.c (listing_newline): Likewise.
350 (listing_listing): Likewise.
351 * macro.c (get_any_string): Likewise.
352 (delete_macro): Likewise.
353 * stabs.c (generate_asm_file): Likewise.
354 (stabs_generate_asm_lineno): Likewise.
355 * subsegs.c (subseg_change): Likewise.
356 (subseg_get): Likewise.
357 * symbols.c (define_dollar_label): Likewise.
358 (symbol_relc_make_sym): Likewise.
359 * write.c (write_relocs): Likewise.
361 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
363 * config/obj-coff.c (obj_coff_def): Simplify string copying.
364 (weak_name2altname): Likewise.
365 (weak_uniquify): Likewise.
366 (obj_coff_section): Likewise.
367 (obj_coff_init_stab_section): Likewise.
368 * config/obj-elf.c (obj_elf_section_name): Likewise.
369 (obj_elf_init_stab_section): Likewise.
370 * config/obj-evax.c (evax_shorten_name): Likewise.
371 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
372 * config/tc-aarch64.c (create_register_alias): Likewise.
373 * config/tc-alpha.c (load_expression): Likewise.
374 (s_alpha_file): Likewise.
375 (s_alpha_section_name): Likewise.
376 (tc_gen_reloc): Likewise.
377 * config/tc-arc.c (md_assemble): Likewise.
378 * config/tc-arm.c (create_neon_reg_alias): Likewise.
379 (start_unwind_section): Likewise.
380 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
381 (hppa_elf_mark_end_of_function): Likewise.
382 * config/tc-nios2.c (nios2_modify_arg): Likewise.
383 (nios2_negate_arg): Likewise.
384 * config/tc-rx.c (rx_section): Likewise.
385 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
386 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
387 * config/tc-tic54x.c (tic54x_include): Likewise.
388 (tic54x_macro_info): Likewise.
389 (subsym_get_arg): Likewise.
390 (subsym_substitute): Likewise.
391 (tic54x_start_line_hook): Likewise.
392 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
393 (xg_reverse_shift_count): Likewise.
394 * config/xtensa-relax.c (enter_opname_n): Likewise.
395 (split_string): Likewise.
396 * dwarf2dbg.c (get_filenum): Likewise.
397 (process_entries): Likewise.
398 * expr.c (operand): Likewise.
399 * itbl-ops.c (alloc_entry): Likewise.
400 * listing.c (listing_message): Likewise.
401 (listing_title): Likewise.
402 * macro.c (check_macro): Likewise.
403 * stabs.c (s_xstab): Likewise.
404 * symbols.c (symbol_relc_make_expr): Likewise.
405 * write.c (compress_debug): Likewise.
407 2016-05-12 Nick Clifton <nickc@redhat.com>
410 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
412 2016-05-11 Nick Clifton <nickc@redhat.com>
415 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
416 big endian ARM configurations.
418 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
419 Matthew Fortune <matthew.fortune@imgtec.com>
421 * config/tc-mips.c (options): Add OPTION_DSPR3 and
423 (md_longopts): Likewise.
424 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
425 (mips_ases): Define availability for DSPr3.
426 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
427 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
428 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
430 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
431 .set nodspr3. Fix -mdspr2 formatting.
432 * testsuite/gas/mips/mips32-dspr3.d: New file.
433 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
434 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
436 2016-05-11 Nick Clifton <nickc@redhat.com>
439 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
440 to the pool uses O_constant.
441 * testsuite/gas/arm/pr20068.s: New test.
442 * testsuite/gas/arm/pr20068.d: Test driver.
444 2016-05-11 Nick Clifton <nickc@redhat.com>
446 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
447 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
448 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
449 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
450 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
451 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
452 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
453 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
454 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
456 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
458 * testsuite/gas/i386/i386.exp: Run RDPID tests.
459 * testsuite/gas/i386/prefix.d: Adjust.
460 * testsuite/gas/i386/rdpid.s: New test.
461 * testsuite/gas/i386/rdpid.d: Ditto.
462 * testsuite/gas/i386/rdpid-intel.d: Ditto.
463 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
464 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
465 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
467 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
469 * config/tc-i386.c (cpu_arch): Add RDPID.
470 * doc/c-i386.texi: Document RDPID.
472 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
474 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
475 set branch type of a symbol.
477 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
479 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
480 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
482 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
483 (aeabi_set_public_attributes): Memorize the feature bits of the
484 architecture selected for Tag_CPU_arch. Use it to set
485 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
486 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
487 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
488 * testsuite/gas/arm/arch7em-bad-1.d: This.
489 * testsuite/gas/arm/arch7em-bad-2.d: New file.
490 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
491 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
492 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
493 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
494 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
495 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
496 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
498 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
500 * config/tc-arm.c (struct arm_option_extension_value_table): Make
501 allowed_archs an array with 2 entries.
502 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
503 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
504 (arm_extensions): Use separate entries in allowed_archs when several
505 archs are allowed to use an extension and change ARCH_ANY in
506 ARM_ARCH_NONE in allowed_archs.
507 (arm_parse_extension): Check that, for each allowed_archs entry, all
508 bits are set in the current architecture, ignoring ARM_ANY entries.
509 (s_arm_arch_extension): Likewise.
511 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
513 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
514 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
515 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
516 shared with a non M profile architecture.
517 (do_rn): New function.
518 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
520 (v7m_psrs): Add ARMv8-M security extensions new special registers.
521 (insns): Add ARMv8-M Security Extensions instructions.
522 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
523 arm_ext_v8m_m to decide the profile and the Thumb ISA.
524 * testsuite/gas/arm/archv8m-cmse.s: New file.
525 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
526 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
527 * testsuite/gas/arm/any-cmse.d: Likewise.
528 * testsuite/gas/arm/any-cmse-main.d: Likewise.
529 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
530 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
531 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
532 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
533 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
535 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
537 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
538 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
540 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
542 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
543 (fpu_arch_vfp_v3): Likewise.
544 (fpu_arch_neon_v1): Likewise.
545 (arm_arch_full): Likewise.
546 (parse_neon_el_struct_list): Initialize fields of firsttype.
548 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
550 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
551 (arc_extinsn): Handle new introduced syntax.
552 * testsuite/gas/arc/textinsn1op.d: New file.
553 * testsuite/gas/arc/textinsn1op.s: Likewise.
554 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
556 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
558 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
559 DW_LNS_fixed_advance_pc.
561 2016-04-27 Alan Modra <amodra@gmail.com>
563 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
564 (xmemdup0): New inline function.
566 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
568 * config/tc-mips.c (code_option_type): New enum.
569 (parse_code_option): Return status indicating option type.
570 (s_mipsset): Update `parse_code_option' call site accordingly.
571 Always set register sizes from the ISA with ISA overrides.
572 (s_module): Update `parse_code_option' call site.
573 * testsuite/gas/mips/isa-override-1.d: New test.
574 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
575 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
576 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
577 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
578 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
579 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
580 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
581 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
582 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
583 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
584 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
585 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
586 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
587 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
588 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
589 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
590 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
591 * testsuite/gas/mips/isa-override-2.l: New list test.
592 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
593 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
594 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
595 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
596 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
597 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
598 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
599 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
600 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
601 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
602 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
604 * testsuite/gas/mips/isa-override-1.s: New test source.
605 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
606 * testsuite/gas/mips/isa-override-2.s: New test source.
607 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
608 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
609 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
610 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
611 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
612 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
613 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
614 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
615 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
616 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
617 * testsuite/gas/mips/mips.exp: Run the new tests.
619 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
622 * config/tc-bfin.c: Likewise.
623 * config/tc-ia64.c: Likewise.
624 * config/tc-mep.c: Likewise.
625 * config/tc-metag.c: Likewise.
626 * config/tc-nios2.c: Likewise.
627 * config/tc-rl78.c: Likewise.
629 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
631 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
632 -mcpu. Add cross reference to .cpu directive from -mcpu option.
633 (ARC Directives): Add NPS400 to .cpu directive list.
635 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
637 * config/tc-aarch64.c (aarch64_features): Add "ras".
638 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
639 * testsuite/gas/aarch64/armv8-ras-1.d: New.
640 * testsuite/gas/aarch64/armv8-ras-1.s: New.
641 * testsuite/gas/aarch64/illegal-ras-1.d: New.
642 * testsuite/gas/aarch64/illegal-ras-1.s: New.
644 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
646 * testsuite/gas/arc/nps400-6.d: New file.
647 * testsuite/gas/arc/nps400-6.s: New file.
649 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
651 * testsuite/gas/arc/nps400-4.d: New file.
652 * testsuite/gas/arc/nps400-4.s: New file.
653 * testsuite/gas/arc/nps400-5.d: New file.
654 * testsuite/gas/arc/nps400-5.s: New file.
656 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
658 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
661 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
663 Revert prevous change.
664 * config/tc-arc.c (arc_option): Make .cpu directive
665 case-sensitive again.
667 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
669 * config/tc-arc.c (arc_option): Make .cpu directive
672 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
674 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
676 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
678 * config/tc-mips.c (md_begin): Remove useless assignment.
680 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
682 * Makefile.in: Regenerated with automake 1.11.6.
683 * aclocal.m4: Likewise.
684 * doc/Makefile.in: Likewise.
686 2016-04-15 Alan Modra <amodra@gmail.com>
688 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
690 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
692 * config/tc-nios2.c (nios2_as_options): Make file static.
693 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
694 * config/tc-sparc.c (native_op_table): Likewise.
696 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
698 * config/tc-m32c.c (M32C_Macros): Remove.
699 * config/tc-msp430.c (option_numbers): Likewise.
701 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
703 * testsuite/gas/arc/nps400-3.d: New file.
704 * testsuite/gas/arc/nps400-3.s: New file.
706 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
708 * testsuite/gas/arc/add_s-err.s: Update target pattern.
709 * testsuite/gas/arc/warn.s: Likewise.
710 * testsuite/gas/elf/elf.exp: Run test for arc.
712 2016-04-14 Nick Clifton <nickc@redhat.com>
715 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
716 sections possibly having the SHF_STRINGS flag bit set.
717 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
719 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
721 * config/tc-arc.c (mach_type_specified_p): Change type to
723 (arc_option): Set private flags when parsing cpu pseudo-op.
724 (md_parse_option): Set mach_type_specified_p to TRUE.
726 2016-04-13 Nick Clifton <nickc@redhat.com>
729 * testsuite/gas/v850/pr19937.s: New test.
730 * testsuite/gas/v850/pr19937.d: New test control file.
731 * testsuite/gas/v850/basic.exp: Run the new test.
733 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
734 Andrew Bennett <andrew.bennett@imgtec.com>
736 * config/tc-mips.c (relaxed_branch_length): Use the long
737 sequence where the target is a weak symbol.
738 (relaxed_micromips_32bit_branch_length): Likewise.
739 (relaxed_micromips_16bit_branch_length): Likewise.
740 * testsuite/gas/mips/branch-weak-1.d: New test.
741 * testsuite/gas/mips/branch-weak-2.d: New test.
742 * testsuite/gas/mips/branch-weak-3.d: New test.
743 * testsuite/gas/mips/branch-weak-4.d: New test.
744 * testsuite/gas/mips/branch-weak-5.d: New test.
745 * testsuite/gas/mips/branch-weak.l: New stderr output.
746 * testsuite/gas/mips/branch-weak.s: New test source.
747 * testsuite/gas/mips/mips.exp: Run the new tests.
749 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
751 * config/tc-mips.c (relaxed_branch_length): Use the long
752 sequence where the distance cannot be determined.
753 (relaxed_micromips_32bit_branch_length): Likewise.
754 * testsuite/gas/mips/branch-extern-1.d: New test.
755 * testsuite/gas/mips/branch-extern-2.d: New test.
756 * testsuite/gas/mips/branch-extern-3.d: New test.
757 * testsuite/gas/mips/branch-extern-4.d: New test.
758 * testsuite/gas/mips/branch-extern.l: New stderr output.
759 * testsuite/gas/mips/branch-extern.s: New test source.
760 * testsuite/gas/mips/branch-section-1.d: New test.
761 * testsuite/gas/mips/branch-section-2.d: New test.
762 * testsuite/gas/mips/branch-section-3.d: New test.
763 * testsuite/gas/mips/branch-section-4.d: New test.
764 * testsuite/gas/mips/branch-section.l: New stderr output.
765 * testsuite/gas/mips/branch-section.s: New test source.
766 * testsuite/gas/mips/mips.exp: Run the new tests.
768 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
770 * testsuite/gas/arc/textauxregister.d: New file.
771 * testsuite/gas/arc/textauxregister.s: Likewise.
772 * testsuite/gas/arc/textcondcode.d: Likewise.
773 * testsuite/gas/arc/textcondcode.s: Likewise.
774 * testsuite/gas/arc/textcoreregister.d: Likewise.
775 * testsuite/gas/arc/textcoreregister.s: Likewise.
776 * testsuite/gas/arc/textpseudoop.d: Likewise.
777 * testsuite/gas/arc/textpseudoop.s: Likewise.
778 * testsuite/gas/arc/ld2.d: Update test.
779 * testsuite/gas/arc/st.d: Likewise.
780 * testsuite/gas/arc/taux.d: Likewise.
781 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
782 .extCoreRegister and .extAuxRegister documentation.
783 * config/tc-arc.c (arc_extcorereg): New function.
784 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
785 .extAuxRegister pseudo-ops.
786 (extRegister_t): New type.
787 (ext_condcode, arc_aux_hash): New global variable.
788 (find_opcode_match): Check for extensions.
789 (preprocess_operands): Likewise.
790 (md_begin): Add aux registers in a hash.
791 (assemble_insn): Update use arc_flags member.
792 (tokenize_extregister): New function.
793 (create_extcore_section): Likewise.
794 * config/tc-arc.h (arc_flags): Delete code, add flgp.
796 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
798 * testsuite/gas/arc/noargs_a7.d: New file.
799 * testsuite/gas/arc/noargs_a7.s: Likewise.
800 * testsuite/gas/arc/noargs_hs.d: Likewise.
801 * testsuite/gas/arc/noargs_hs.s: Likewise.
803 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
805 * testsuite/gas/arc/textinsn-errors.d: New File.
806 * testsuite/gas/arc/textinsn-errors.err: Likewise.
807 * testsuite/gas/arc/textinsn-errors.s: Likewise.
808 * testsuite/gas/arc/textinsn2op.d: Likewise.
809 * testsuite/gas/arc/textinsn2op.s: Likewise.
810 * testsuite/gas/arc/textinsn2op01.d: Likewise.
811 * testsuite/gas/arc/textinsn2op01.s: Likewise.
812 * testsuite/gas/arc/textinsn3op.d: Likewise.
813 * testsuite/gas/arc/textinsn3op.s: Likewise.
814 * doc/c-arc.texi (ARC Directives): Add .extInstruction
816 * config/tc-arc.c (arcext_section): New variable.
817 (arc_extinsn): New function.
818 (md_pseudo_table): Add .extInstruction pseudo op.
819 (attributes_t): New type.
820 (suffixclass, syntaxclass, syntaxclassmod): New constant
822 (find_opcode_match): Remove arc_num_opcodes.
823 (md_begin): Likewise.
824 (tokenize_extinsn): New function.
825 (arc_set_ext_seg): Likewise.
826 (create_extinst_section): Likewise.
828 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
830 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
831 (arc_adjust_symtab): New function.
832 * config/tc-arc.h (ARC_FLAG_AUX): Define.
833 (obj_adjust_symtab): Likewise.
834 * testsuite/gas/arc/taux.d: New file.
835 * testsuite/gas/arc/taux.s: Likewise.
837 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
839 * config/tc-mips.c (s_option): Sanitize `.option picX'
841 * testsuite/gas/mips/option-pic-1.d: New test.
842 * testsuite/gas/mips/option-pic-2.l: New list test.
843 * testsuite/gas/mips/option-pic-1.s: New test source.
844 * testsuite/gas/mips/option-pic-2.s: New test source.
845 * testsuite/gas/mips/mips.exp: Run the new tests.
847 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
849 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
851 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
852 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
853 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
854 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
855 * testsuite/gas/mips/mips.exp: Run the new tests.
857 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
859 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
861 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
863 * messages.c (as_bad): Fix a typo in description.
865 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
867 * config/tc-mips.c (mips_check_options): Unify messages.
869 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
871 * config/tc-mips.c (mips_check_options): Use `opts->isa'
874 2016-04-08 Nick Clifton <nickc@redhat.com>
877 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
878 COFF and AOUT sparc targets.
880 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
882 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
883 * testsuite/gas/arc/nps400-2.d: New file.
884 * testsuite/gas/arc/nps400-2.s: New file.
886 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
888 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
890 (arc_opcode_hash_entry_iterator_init): New function.
891 (arc_opcode_hash_entry_iterator_next): New function.
892 (find_opcode_match): Iterate over all arc_opcode entries
893 referenced by the arc_opcode_hash_entry passed in as a parameter.
895 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
897 * config/tc-arc.c (arc_find_opcode): Now returns
898 arc_opcode_hash_entry pointer.
899 (find_opcode_match): Update argument type, extract arc_opcode from
900 incoming arc_opcode_hash_entry.
901 (find_special_case_pseudo): Update return type.
902 (find_special_case_flag): Update return type.
903 (find_special_case): Update return type.
904 (assemble_tokens): Lookup arc_opcode_hash_entry based on
905 instruction mnemonic, then use find_opcode_match to identify
908 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
910 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
911 (arc_find_opcode): New function.
912 (find_special_case_pseudo): Use arc_find_opcode.
913 (find_special_case_flag): Likewise.
914 (assemble_tokens): Likewise.
915 (md_begin): Build hash using struct arc_opcode_hash_entry.
917 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
919 * config/tc-arc.c (arc_option): Prepare string for automatic
921 (declare_register): Likewise.
923 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
925 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
926 Correct entry for RDMA. Alpha sort entries.
928 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
930 * config/tc-arc.c (tokenize_flags): Allow greater range of
931 characters into flag names.
933 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
935 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
937 (preprocess_operands): Delete.
938 (assemble_tokens): Remove call to preprocess_operands.
940 2016-04-07 Nick Clifton <nickc@redhat.com>
943 * config/tc-sparc.c (sparc_ip): Report an error if the expression
944 inside a %-macro could not be fully parsed.
945 * expr.c (integer_constant): Accept and ignore U suffixes to
947 (operand): When a missing closing parenthesis is encountered,
948 report the character that was found instead.
949 * testsuite/gas/mips/tls-ill.l: Update expected error message.
950 * testsuite/gas/sparc/pr19910-1.d: New test driver.
951 * testsuite/gas/sparc/pr19910-1.s: New test.
952 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
953 * testsuite/gas/sparc/pr19910-2.s: New test.
954 * testsuite/gas/sparc/sparc.exp: Run the new tests.
956 2016-04-06 Nick Clifton <nickc@redhat.com>
958 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
959 an EINT instruction. Warn/fix as necessary.
960 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
961 * testsuite/gas/msp430/bad.l: Update expected messages.
963 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
965 * testsuite/gas/arc/nps400-1.d: Update expected results.
966 * testsuite/gas/arc/nps400-1.s: Additional test cases.
968 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
970 * config/tc-arc.c (is_code_density_p): Compare directly the
972 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
973 (check_cpu_feature): New function.
974 (find_opcode_match): Use check_cpu_feature function.
975 (preprocess_operands): Likewise.
976 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
977 * testsuite/gas/arc/tdpfp.d: New file.
978 * testsuite/gas/arc/tfpuda.d: Likewise.
979 * testsuite/gas/arc/tfpx.s: Likewise.
981 2016-04-05 Jiong Wang <jiong.wang@arm.com>
983 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
984 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
985 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
986 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
987 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
988 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
989 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
990 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
992 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
994 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
996 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
997 JUMP instructions type.
998 * testsuite/gas/arc/relocs-errors.d: New file.
999 * testsuite/gas/arc/relocs-errors.err: Likewise.
1000 * testsuite/gas/arc/relocs-errors.s: Likewise.
1002 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1005 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1006 only if i.disp_encoding != disp_encoding_32bit.
1007 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1008 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1009 * gas/testsuite/gas/i386/disp32.d: Updated.
1010 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1012 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1015 * testsuite/gas/i386/i386.exp: Run pr19498.
1016 * testsuite/gas/i386/pr19498.d: New file.
1017 * testsuite/gas/i386/pr19498.s: Likewise.
1019 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1021 * config/tc-arc.h: Include 'opcode/arc.h'.
1022 (MAX_INSN_ARGS): Delete.
1023 (MAX_INSN_FLGS): Delete.
1025 2016-04-04 Alan Modra <amodra@gmail.com>
1028 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1029 from function on all paths that set sy_resolving.
1031 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1033 * app.c (app_push): use XNEW macro.
1035 * config/obj-elf.c (obj_elf_change_section): Likewise.
1036 (elf_copy_symbol_attributes): Likewise.
1037 (obj_elf_size): Likewise.
1038 (build_group_lists): Likewise.
1039 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1040 (md_assemble): Likewise.
1041 (tc_gen_reloc): Likewise.
1042 (get_upper_str): Likewise.
1043 (aarch64_parse_features): Likewise.
1044 * config/tc-arm.c (insert_reg_alias): Likewise.
1045 (insert_neon_reg_alias): Likewise.
1046 (find_or_make_literal_pool): Likewise.
1047 (s_arm_elf_cons): Likewise.
1048 (add_unwind_opcode): Likewise.
1049 (arm_parse_extension): Likewise.
1050 * config/tc-avr.c (create_record_for_frag): Likewise.
1051 * config/tc-crx.c: Likewise.
1052 * config/tc-d30v.c: Likewise.
1053 * config/tc-dlx.c (s_proc): Likewise.
1054 * config/tc-ft32.c: Likewise.
1055 * config/tc-h8300.c: Likewise.
1056 * config/tc-hppa.c (pa_proc): Likewise.
1057 (create_new_space): Likewise.
1058 (create_new_subspace): Likewise.
1059 * config/tc-i860.c: Likewise.
1060 * config/tc-i960.c: Likewise.
1061 * config/tc-ia64.c: Likewise.
1062 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1063 (iq2000_record_hi16): Likewise.
1064 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1065 * config/tc-m32r.c (debug_sym): Likewise.
1066 (m32r_record_hi16): Likewise.
1067 * config/tc-m68k.c (m68k_ip): Likewise.
1068 (md_begin): Likewise.
1069 * config/tc-mcore.c: Likewise.
1070 * config/tc-microblaze.c (check_got): Likewise.
1071 * config/tc-mips.c (append_insn): Likewise.
1072 (s_mipsset): Likewise.
1073 (mips_record_label): Likewise.
1074 (s_mips_end): Likewise.
1075 * config/tc-mmix.c (mmix_frob_file): Likewise.
1076 * config/tc-mn10200.c: Likewise.
1077 * config/tc-mn10300.c: Likewise.
1078 * config/tc-moxie.c: Likewise.
1079 * config/tc-msp430.c: Likewise.
1080 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1081 * config/tc-ns32k.c: Likewise.
1082 * config/tc-or1k.c: Likewise.
1083 * config/tc-pdp11.c: Likewise.
1084 * config/tc-pj.c (fake_opcode): Likewise.
1085 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1086 (ppc_macro): Likewise.
1087 (ppc_dwsect): Likewise.
1088 (ppc_machine): Likewise.
1089 * config/tc-rl78.c (rl78_frag_init): Likewise.
1090 * config/tc-rx.c (rx_frag_init): Likewise.
1091 * config/tc-s390.c (s390_lit_suffix): Likewise.
1092 (s390_machine): Likewise.
1093 (s390_machinemode): Likewise.
1094 * config/tc-score.c (s3_insert_reg): Likewise.
1095 (s3_gen_reloc): Likewise.
1096 * config/tc-score7.c (s7_insert_reg): Likewise.
1097 (s7_gen_reloc): Likewise.
1098 * config/tc-tic30.c (tic30_operand): Likewise.
1099 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1100 * config/tc-tic54x.c (stag_add_field): Likewise.
1101 (tic54x_struct): Likewise.
1102 (tic54x_space): Likewise.
1103 (tic54x_field): Likewise.
1104 (tic54x_mlib): Likewise.
1105 (subsym_substitute): Likewise.
1106 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1107 * config/tc-vax.c: Likewise.
1108 * config/tc-xc16x.c: Likewise.
1109 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1110 (directive_push): Likewise.
1111 (xtensa_begin_directive): Likewise.
1112 (tokenize_arguments): Likewise.
1113 (xtensa_add_literal_sym): Likewise.
1114 (new_resource_table): Likewise.
1115 (resize_resource_table): Likewise.
1116 (emit_single_op): Likewise.
1117 (xtensa_create_trampoline_frag): Likewise.
1118 (xtensa_maybe_create_literal_pool_frag): Likewise.
1119 (xtensa_add_config_info): Likewise.
1120 (xtensa_realloc_fixup_cache): Likewise.
1121 (add_subseg_info): Likewise.
1122 (cache_literal_section): Likewise.
1123 (add_xt_block_frags): Likewise.
1124 (add_xt_prop_frags): Likewise.
1125 (init_op_placement_info_table): Likewise.
1126 (build_section_rename): Likewise.
1127 * config/tc-z80.c: Likewise.
1128 * config/tc-z8k.c: Likewise.
1129 * depend.c (register_dependency): Likewise.
1130 * dwarf2dbg.c (get_line_subseg): Likewise.
1131 (dwarf2_gen_line_info_1): Likewise.
1132 (get_filenum): Likewise.
1133 * ecoff.c (allocate_scope): Likewise.
1134 (allocate_vlinks): Likewise.
1135 (allocate_shash): Likewise.
1136 (allocate_thash): Likewise.
1137 (allocate_tag): Likewise.
1138 (allocate_forward): Likewise.
1139 (allocate_thead): Likewise.
1140 (allocate_lineno_list): Likewise.
1141 * expr.c (make_expr_symbol): Likewise.
1142 * hash.c (hash_new_sized): Likewise.
1143 * input-file.c (input_file_push): Likewise.
1144 * listing.c (file_info): Likewise.
1145 (listing_newline): Likewise.
1146 * macro.c (new_formal): Likewise.
1147 (define_macro): Likewise.
1148 * remap.c (add_debug_prefix_map): Likewise.
1149 * symbols.c (symbol_find_noref): Likewise.
1150 (define_dollar_label): Likewise.
1151 (fb_label_instance_inc): Likewise.
1152 (symbol_relc_make_value): Likewise.
1154 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1156 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1157 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1158 (ppc_znop): Likewise.
1159 (ppc_pe_section): Likewise.
1160 (ppc_frob_symbol): Likewise.
1161 * config/tc-tic30.c (tic30_operand): Likewise.
1162 * config/tc-tic4x.c (tic4x_sect): Likewise.
1163 (tic4x_usect): Likewise.
1165 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1167 * config/tc-alpha.c: Const qualify FLT_CHARS.
1168 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1169 * config/tc-cris.h: Likewise.
1171 * config/tc-mmix.c (md_atof): Adjust comment.
1172 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1173 * tc.h: Declare FLT_CHARS and EXP_CHARS.
1175 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1177 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1178 * config/tc-score7.c (s7_gen_reloc): Likewise.
1180 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1182 * config/tc-arm.c (do_t_branch): Change the type of reloc to
1183 bfd_reloc_code_real_type.
1185 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1187 * config/bfin-parse.y (current_inputline): Remove definition.
1188 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1190 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1192 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1195 2016-04-02 Alan Modra <amodra@gmail.com>
1198 * read.c (assign_symbol): Consume rest of line after an error
1199 rather than continuing to process the line.
1201 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1203 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1204 (MAX_FLAG_NAME_LENGTH): ...this.
1205 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1206 * config/tc-arc.c (tokenize_flags): Likewise.
1208 2016-04-01 Alan Modra <amodra@gmail.com>
1210 * cgen.c (weak_operand_overflow_check): Return const char*.
1211 * messages.c (as_internal_value_out_of_range): Formatting.
1212 (as_warn_value_out_of_range): Consify prefix param.
1213 (as_bad_value_out_of_range): Likewise.
1214 * read.c (s_errwarn): Constify msg..
1215 (s_float_space, float_cons): ..and err.
1216 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
1217 ieee_md_atof, vax_md_atof): Update prototypes.
1218 * tc.h (md_atof): Update prototype.
1219 * config/atof-ieee.c (ieee_md_atof): Return const char*.
1220 * config/atof-vax.c (vax_md_atof): Likewise.
1221 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
1222 * config/tc-aarch64.c (md_atof): Return const char*.
1223 * config/tc-alpha.c (s_alpha_section_name): Likewise.
1224 (s_alpha_comm): Constify sec_name.
1225 (section_name): Constify.
1226 (s_alpha_section): Consify name..
1227 (alpha_elf_section_letter): ..and ptr_msg param..
1228 (md_atof): ..and return.
1229 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
1230 * config/tc-arc.c (md_atof): Return const char*.
1231 * config/tc-arm.c (md_atof): Likewise.
1232 * config/tc-avr.c (md_atof): Likewise.
1233 * config/tc-bfin.c (md_atof): Likewise.
1234 * config/tc-cr16.c (md_atof): Likewise.
1235 * config/tc-cris.c (md_atof): Likewise.
1236 * config/tc-crx.c (md_atof): Likewise.
1237 * config/tc-d10v.c (md_atof): Likewise.
1238 * config/tc-d30v.c (md_atof): Likewise.
1239 * config/tc-dlx.c (md_atof): Likewise.
1240 * config/tc-epiphany.c (md_atof): Likewise.
1241 * config/tc-fr30.c (md_atof): Likewise.
1242 * config/tc-frv.c (md_atof): Likewise.
1243 * config/tc-ft32.c (md_atof): Likewise.
1244 * config/tc-h8300.c (md_atof): Likewise.
1245 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
1246 (struct default_space_dict): Likewise.
1247 (create_new_space): Constify name param.
1248 (create_new_subspace): Likewise.
1249 (is_defined_space, is_defined_subspace): Likewise.
1250 (pa_parse_space_stmt): Constify space_name param.
1251 (md_atof): Return const char*.
1252 (pa_spaces_begin): Constify name.
1253 * config/tc-i370.c (md_atof): Return const char*.
1254 * config/tc-i386.c (md_atof): Likewise.
1255 (x86_64_section_letter): Constify ptr_msg param.
1256 * config/tc-i386.h (x86_64_section_letter): Update prototype.
1257 * config/tc-i860.c (struct i860_it): Constify error.
1258 (md_atof): Return const char*.
1259 * config/tc-i960.c (md_atof): Likewise.
1260 * config/tc-ia64.c (md_atof): Likewise.
1261 (ia64_elf_section_letter): Constify ptr_msg param.
1262 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
1263 * config/tc-ip2k.c (md_atof): Return const char*.
1264 * config/tc-iq2000.c (md_atof): Likewise.
1265 * config/tc-lm32.c (md_atof): Likewise.
1266 * config/tc-m32c.c (md_atof): Likewise.
1267 * config/tc-m32r.c (md_atof): Likewise.
1268 * config/tc-m68hc11.c (md_atof): Likewise.
1269 * config/tc-m68k.c (md_atof): Likewise.
1270 * config/tc-mcore.c (md_atof): Likewise.
1271 * config/tc-mep.c (md_atof): Likewise.
1272 (mep_elf_section_letter): Constify ptr_msg param.
1273 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
1274 * config/tc-metag.c (md_atof): Return const char*.
1275 * config/tc-microblaze.c (md_atof): Likewise.
1276 * config/tc-microblaze.h (md_atof): Delete prototype.
1277 * config/tc-mips.c (mips_parse_argument_token): Constify err.
1278 (md_atof): Return const char*.
1279 * config/tc-mmix.c (md_atof): Likewise.
1280 * config/tc-mn10200.c (md_atof): Likewise.
1281 * config/tc-mn10300.c (md_atof): Likewise.
1282 * config/tc-moxie.c (md_atof): Likewise.
1283 * config/tc-msp430.c (md_atof): Likewise.
1284 * config/tc-mt.c (md_atof): Likewise.
1285 * config/tc-nds32.c (md_atof): Likewise.
1286 * config/tc-nios2.c (md_atof): Likewise.
1287 (nios2_elf_section_letter): Constify ptr_msg param.
1288 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
1289 * config/tc-ns32k.c (md_atof): Return const char*.
1290 * config/tc-or1k.c (md_atof): Likewise.
1291 * config/tc-pdp11.c (struct pdp11_code): Constify error.
1292 (md_atof): Return const char*.
1293 * config/tc-pj.c (md_atof): Likewise.
1294 * config/tc-ppc.c (md_atof): Likewise.
1295 * config/tc-rl78.c (md_atof): Likewise.
1296 * config/tc-rx.c (md_atof): Likewise.
1297 * config/tc-s390.c (md_atof): Likewise.
1298 * config/tc-score.c (s3_atof, md_atof): Likewise.
1299 * config/tc-sh.c (md_atof): Likewise.
1300 * config/tc-sparc.c (struct sparc_it): Constify error.
1301 (md_atof): Return const char*.
1302 * config/tc-spu.c (md_atof): Likewise.
1303 * config/tc-tic30.c (md_atof): Likewise.
1304 * config/tc-tic4x.c (md_atof): Likewise.
1305 * config/tc-tic54x.c (md_atof): Likewise.
1306 * config/tc-tic6x.c (md_atof): Likewise.
1307 * config/tc-tilegx.c (md_atof): Likewise.
1308 * config/tc-tilepro.c (md_atof): Likewise.
1309 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
1310 * config/tc-vax.c (md_atof): Likewise.
1311 * config/tc-visium.c (md_atof): Likewise.
1312 * config/tc-xc16x.c (md_atof): Likewise.
1313 * config/tc-xgate.c (md_atof): Likewise.
1314 * config/tc-xstormy16.c (md_atof): Likewise.
1315 * config/tc-xtensa.c (md_atof): Likewise.
1316 * config/tc-z80.c (md_atof): Likewise.
1317 * config/tc-z8k.c (md_atof): Likewise.
1319 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1321 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
1323 (xtensa_section_rename): Make argument type const char *.
1324 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
1326 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1328 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
1331 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1333 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
1335 (m32c_indirect_operand): Likewise.
1336 * config/tc-nds32.c (do_pseudo_b): Likewise.
1337 (do_pseudo_bal): Likewise.
1338 (do_pseudo_ls_bhw): Likewise.
1340 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1342 * as.c (parse_args): Cast literal to char * when assigning to optarg.
1344 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1346 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
1348 * config/tc-sparc.c (s_register): Cast a literal to char * in
1351 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1353 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
1355 * config/tc-m32r.c (expand_debug_syms): Likewise.
1356 * config/tc-msp430.c (msp430_dstoperand): Likewise.
1357 * config/tc-z80.c (md_begin): Likewise.
1358 * stabs.c (stabs_generate_asm_func): Likewise.
1360 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1362 * cgen.c: Modernize the way functions declare arguments.
1363 * config/tc-bfin.c: Likewise.
1364 * config/tc-pdp11.c: Likewise.
1365 * literal.c: Likewise.
1367 * stabs.c: Likewise.
1369 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1371 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1372 variables unsigned char[].
1373 * config/tc-alpha.c (alpha_handle_align): Likewise.
1374 * config/tc-arm.c (arm_handle_align): Likewise.
1375 * config/tc-z80.c: Likewise.
1377 2016-03-30 Nick Clifton <nickc@redhat.com>
1380 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1383 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1385 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1386 * testsuite/gas/elf/elf.exp: Likewise.
1387 * testsuite/gas/all/redef3.d: Allow execution for ARC.
1389 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1391 * testsuite/gas/arc/warn.exp: Fix matching pattern.
1393 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
1395 * testsuite/gas/arc/ext2op.d: New file.
1396 * testsuite/gas/arc/ext2op.s: Likewise.
1397 * testsuite/gas/arc/ext3op.d: Likewise.
1398 * testsuite/gas/arc/ext3op.s: Likewise.
1400 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1402 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1404 * config/tc-alpha.c (md_parse_option): Likewise.
1405 * config/tc-arc.c (md_parse_option): Likewise.
1406 * config/tc-arm.c (struct arm_long_option_table): Likewise.
1407 (md_parse_option): Likewise.
1408 * config/tc-avr.c (md_parse_option): Likewise.
1409 * config/tc-bfin.c (md_parse_option): Likewise.
1410 * config/tc-cr16.c (md_parse_option): Likewise.
1411 * config/tc-cris.c (s_cris_arch): Likewise.
1412 (md_parse_option): Likewise.
1413 * config/tc-crx.c (md_parse_option): Likewise.
1414 * config/tc-d10v.c (md_parse_option): Likewise.
1415 * config/tc-d30v.c (md_parse_option): Likewise.
1416 * config/tc-dlx.c (md_parse_option): Likewise.
1417 * config/tc-epiphany.c (md_parse_option): Likewise.
1418 * config/tc-fr30.c (md_parse_option): Likewise.
1419 * config/tc-frv.c (md_parse_option): Likewise.
1420 * config/tc-ft32.c (md_parse_option): Likewise.
1421 * config/tc-h8300.c (md_parse_option): Likewise.
1422 * config/tc-hppa.c (md_parse_option): Likewise.
1423 * config/tc-i370.c (md_parse_option): Likewise.
1424 * config/tc-i386.c (md_parse_option): Likewise.
1425 * config/tc-i860.c (md_parse_option): Likewise.
1426 * config/tc-i960.c (md_parse_option): Likewise.
1427 * config/tc-ia64.c (md_parse_option): Likewise.
1428 * config/tc-ip2k.c (md_parse_option): Likewise.
1429 * config/tc-iq2000.c (md_parse_option): Likewise.
1430 * config/tc-lm32.c (md_parse_option): Likewise.
1431 * config/tc-m32c.c (md_parse_option): Likewise.
1432 * config/tc-m32r.c (md_parse_option): Likewise.
1433 * config/tc-m68hc11.c (md_parse_option): Likewise.
1434 * config/tc-m68k.c (md_parse_option): Likewise.
1435 * config/tc-mcore.c (md_parse_option): Likewise.
1436 * config/tc-mep.c (md_parse_option): Likewise.
1437 * config/tc-metag.c (struct metag_long_option): Likewise.
1438 (md_parse_option): Likewise.
1439 * config/tc-microblaze.c (md_parse_option): Likewise.
1440 * config/tc-microblaze.h (md_parse_option): Remove prototype.
1441 * config/tc-mips.c (md_parse_option): Adjust.
1442 * config/tc-mmix.c (md_parse_option): Likewise.
1443 * config/tc-mn10200.c (md_parse_option): Likewise.
1444 * config/tc-mn10300.c (md_parse_option): Likewise.
1445 * config/tc-moxie.c (md_parse_option): Likewise.
1446 * config/tc-msp430.c (md_parse_option): Likewise.
1447 * config/tc-mt.c (md_parse_option): Likewise.
1448 * config/tc-nds32.c (md_parse_option): Likewise.
1449 * config/tc-nds32.h (nds32_parse_option): Likewise.
1450 * config/tc-nios2.c (md_parse_option): Likewise.
1451 * config/tc-ns32k.c (md_parse_option): Likewise.
1452 * config/tc-or1k.c (md_parse_option): Likewise.
1453 * config/tc-pdp11.c (md_parse_option): Likewise.
1454 * config/tc-pj.c (md_parse_option): Likewise.
1455 * config/tc-ppc.c (md_parse_option): Likewise.
1456 * config/tc-rl78.c (md_parse_option): Likewise.
1457 * config/tc-rx.c (md_parse_option): Likewise.
1458 * config/tc-s390.c (s390_parse_cpu): Likewise.
1459 * config/tc-score.c (md_parse_option): Likewise.
1460 * config/tc-sh.c (md_parse_option): Likewise.
1461 * config/tc-sparc.c (md_parse_option): Likewise.
1462 * config/tc-spu.c (md_parse_option): Likewise.
1463 * config/tc-tic30.c (md_parse_option): Likewise.
1464 * config/tc-tic4x.c (md_parse_option): Likewise.
1465 * config/tc-tic54x.c (md_parse_option): Likewise.
1466 * config/tc-tic6x.c (md_parse_option): Likewise.
1467 * config/tc-tilegx.c (md_parse_option): Likewise.
1468 * config/tc-tilepro.c (md_parse_option): Likewise.
1469 * config/tc-v850.c (md_parse_option): Likewise.
1470 * config/tc-vax.c (md_parse_option): Likewise.
1471 * config/tc-visium.c (struct visium_long_option_table): Likewise.
1472 * config/tc-xc16x.c (md_parse_option): Likewise.
1473 * config/tc-xgate.c (md_parse_option): Likewise.
1474 * config/tc-xstormy16.c (md_parse_option): Likewise.
1475 * config/tc-xtensa.c (md_parse_option): Likewise.
1476 * config/tc-z80.c (md_parse_option): Likewise.
1477 * config/tc-z8k.c (md_parse_option): Likewise.
1478 * tc.h (md_parse_option): Likewise.
1480 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1482 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1483 * config/tc-hppa.c (fix_new_hppa): Likewise.
1484 (pa_vtable_entry): Likewise.
1485 (pa_vtable_inherit): Likewise.
1486 * config/tc-m68k.c (md_begin): Likewise.
1488 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1490 * config/obj-elf.c (obj_elf_section_name): Return const char *.
1491 * config/obj-elf.h (obj_elf_section_name): Adjust.
1492 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1493 (aarch64_parse_cpu): Likewise.
1494 (aarch64_parse_arch): Likewise.
1495 * config/tc-arm.c (arm_parse_extension): Likewise.
1496 (arm_parse_cpu): Likewise.
1497 (arm_parse_arch): Likewise.
1498 * config/tc-nds32.c: Likewise.
1499 * config/xtensa-relax.c (parse_special_fn): Likewise.
1500 * stabs.c (generate_asm_file): Likewise.
1502 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1504 * config/tc-cr16.c (cr16_assemble): New function.
1505 (md_assemble): Call cr16_assemble.
1507 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1509 * as.c (parse_args): Adjust.
1510 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1511 * config/obj-elf.c (elf_frob_symbol): Adjust.
1513 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1515 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1516 registers to be in the 16..31 range.
1518 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1520 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1523 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1525 * config/tc-visium.c (md_atof): Localize the string returned on
1528 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1530 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1531 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1532 * config/tc-m68hc11.c (md_begin): Likewise.
1533 (print_opcode_list): Likewise.
1534 * config/tc-msp430.c (msp430_section): Likewise.
1535 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1536 (s3_build_dependency_insn_hsh): Likewise.
1537 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1538 (s7_build_dependency_insn_hsh): Likewise.
1539 * config/tc-tic4x.c: Likewise.
1540 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1541 (subsym_get_arg): Likewise.
1542 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1543 (get_directive): Likewise.
1544 (cache_literal_section): Likewise.
1545 * config/xtensa-relax.c: Likewise.
1546 * symbols.c (symbol_create): Likewise.
1547 (local_symbol_make): Likewise.
1548 (symbol_relc_make_expr): Likewise.
1550 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1552 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1555 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1557 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1560 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1562 * config/tc-ia64.c (ia64_do_align): Remove.
1563 (ia64_cons_align): Call do_align () directly.
1564 (dot_proc): Likewise.
1565 (stmt_float_cons): Likewise.
1567 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1569 * listing.c (listing_message): Use XNEW style allocation macros.
1570 * read.c (read_a_source_file): Likewise.
1571 (read_symbol_name): Likewise.
1572 (s_mri_common): Likewise.
1573 (assign_symbol): Likewise.
1574 (s_reloc): Likewise.
1575 (emit_expr_with_reloc): Likewise.
1576 (s_incbin): Likewise.
1577 (s_include): Likewise.
1578 * sb.c (sb_build): Likewise.
1579 (sb_check): Likewise.
1581 2016-03-22 Alan Modra <amodra@gmail.com>
1583 * write.c (record_alignment): Revert 2016-02-18 change.
1585 2016-03-22 Alan Modra <amodra@gmail.com>
1587 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1588 (emit_jsrjmp, tc_gen_reloc): Likewise.
1589 * config/tc-i370.c (i370_macro): Likewise.
1591 2016-03-22 Nick Clifton <nickc@redhat.com>
1593 * configure: Regenerate.
1595 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1597 * testsuite/gas/arc/nps400-0.d: New file.
1598 * testsuite/gas/arc/nps400-0.s: New file.
1599 * testsuite/gas/arc/nps400-1.d: New file.
1600 * testsuite/gas/arc/nps400-1.s: New file.
1602 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1604 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1605 declarations to start of block. Reset code on all flags before
1606 attempting to match them. Handle multiple hits on the same flag.
1608 * testsuite/gas/arc/asm-errors.d: New file.
1609 * testsuite/gas/arc/asm-errors.err: New file.
1610 * testsuite/gas/arc/asm-errors.s: New file.
1612 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1614 * config/tc-arc.c (cpu_types): Add nps400 entry.
1615 (check_zol): Handle nps400.
1617 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1619 * config/tc-arc.c (arc_select_cpu): Remove use of
1622 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1624 * config/tc-arc.c (arc_target): Delay initialisation until
1626 (arc_target_name): Likewise.
1627 (arc_features): Likewise.
1628 (arc_mach_type): Likewise.
1629 (cpu_types): Remove "all" entry.
1630 (arc_select_cpu): New function, most of the content is from...
1631 (md_parse_option): ... here. Call new arc_select_cpu.
1632 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1634 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1636 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1637 * testsuite/gas/arc/inline-data-2.d: New file.
1639 2016-03-21 Nick Clifton <nickc@redhat.com>
1641 * atof-generic.c: Replace use of alloca with call to xmalloc.
1643 * dwarf2dbg.c: Likewise.
1644 * macro.c: Likewise.
1645 * remap.c: Likewise.
1646 * stabs.c: Likewise.
1647 * symbols.c: Likewise.
1648 * config/obj-elf.c: Likewise.
1649 * config/tc-aarch64.c: Likewise.
1650 * config/tc-arc.c: Likewise.
1651 * config/tc-arm.c: Likewise.
1652 * config/tc-avr.c: Likewise.
1653 * config/tc-ia64.c: Likewise.
1654 * config/tc-mips.c: Likewise.
1655 * config/tc-msp430.c: Likewise.
1656 * config/tc-nds32.c: Likewise.
1657 * config/tc-ppc.c: Likewise.
1658 * config/tc-sh.c: Likewise.
1659 * config/tc-tic30.c: Likewise.
1660 * config/tc-tic54x.c: Likewise.
1661 * config/tc-xstormy16.c: Likewise.
1662 * config/te-vms.c: Likewise.
1663 * configure: Regenerate.
1665 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1667 * tc-i386.c (f32_1): Change type to unsigned char[].
1687 (jump_31): Likewise.
1688 (f32_patt): Likewise.
1689 (f16_patt): Likewise.
1698 (alt_patt): Likewise.
1700 2016-03-18 Nick Clifton <nickc@redhat.com>
1702 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1703 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1704 .tlsdescldr and .xword directives.
1707 * testsuite/gas/aarch64/pr19721.s: New test source file.
1708 * testsuite/gas/aarch64/pr19721.d: New test driver file.
1710 * doc/as.texinfo: Place the target specific command line options
1711 into their own man page section.
1713 2016-03-16 Jiong Wang <jiong.wang@arm.com>
1715 * config/tc-arm.c (N_S_32): New.
1716 (N_F_16_32): Likewise.
1717 (N_SUF_32): Support N_F16.
1718 (N_IF_32): Likewise.
1719 (neon_dyadic_misc): Likewise.
1720 (do_neon_cmp): Likewise.
1721 (do_neon_cmp_inv): Likewise.
1722 (do_neon_mul): Likewise.
1723 (do_neon_fcmp_absolute): Likewise.
1724 (do_neon_step): Likewise.
1725 (do_neon_abs_neg): Likewise.
1726 (CVT_FLAVOR_VAR): Likewise.
1727 (do_neon_cvt_1): Likewise.
1728 (do_neon_recip_est): Likewise.
1729 (do_vmaxnm): Likewise.
1730 (do_vrint_1): Likewise.
1731 (neon_check_type): Check architecture support for FP16 extension.
1732 (insns): Update comments.
1733 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1734 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1735 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1736 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1738 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1740 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1743 2016-03-16 Nick Clifton <nickc@redhat.com>
1745 * read.c (emit_expr_with_reloc): Add code check a bignum with
1747 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1749 * testsuite/gas/elf/bignum.s: New test source file.
1750 * testsuite/gas/elf/bignum.d: New test driver file.
1751 * testsuite/gas/elf/elf.exp: Run the new test.
1753 2016-03-15 Ulrich Drepper <drepper@gmail.com>
1755 * doc/c-i386.texi (Register Naming): Update to details of the
1756 latest architecture version.
1758 2016-03-10 Mickael Guene <mickael.guene@st.com>
1761 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1763 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1764 (do_t_mov_cmp): Likewise.
1765 (do_t_add_sub): Protect against bad relocations usage.
1766 (do_t_mov_cmp): Likewise.
1767 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1768 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1769 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1770 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
1772 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1774 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1776 (do_neon_ld_st_lane): Likewise.
1777 (do_neon_ld_dup): Likewise.
1779 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1781 * testsuite/gas/arc/inline-data-1.d: New file.
1782 * testsuite/gas/arc/inline-data-1.s: New file.
1784 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
1786 * config/tc-arm.c (arm_cpus): Add cortex-r8.
1787 * doc/c-arm.texi: Add cortex-r8.
1789 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1791 * config/tc-arc.c: Add const qualifiers.
1792 * config/tc-h8300.c (md_begin): Likewise.
1793 * config/tc-ia64.c (print_prmask): Likewise.
1794 * config/tc-msp430.c (msp430_operands): Likewise.
1795 * config/tc-nds32.c (struct suffix_name): Likewise.
1796 (struct nds32_parse_option_table): Likewise.
1797 (struct nds32_set_option_table): Likewise.
1798 (do_pseudo_pushpopm): Likewise.
1799 (do_pseudo_pushpop_stack): Likewise.
1800 (nds32_relax_relocs): Likewise.
1801 (nds32_flag): Likewise.
1802 (struct nds32_hint_map): Likewise.
1803 (nds32_find_reloc_table): Likewise.
1804 (nds32_match_hint_insn): Likewise.
1805 * config/tc-s390.c: Likewise.
1806 * config/tc-sh.c (get_specific): Likewise.
1807 * config/tc-tic30.c: Likewise.
1808 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
1809 (tic4x_indirect_parse): Likewise.
1810 * config/tc-vax.c (vax_cons): Likewise.
1811 * config/tc-z80.c (struct reg_entry): Likewise.
1812 * config/tc-epiphany.c (md_assemble): Adjust.
1813 (epiphany_assemble): New function.
1814 (epiphany_elf_section_rtn): Call do_align directly.
1815 (epiphany_elf_section_text): Likewise.
1816 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
1817 (ip2k_elf_section_text): Likewise.
1818 * read.c (do_align): Make it not static.
1819 * read.h (do_align): New prototype.
1821 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1823 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
1824 for ARMv8.1 AdvSIMD use.
1825 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
1826 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
1828 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1830 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
1832 (record_feature_use): New.
1833 (mark_feature_used): Use record_feature_use.
1834 (do_neon_qrdmlah): New.
1835 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
1837 (arm_extensions): Put into alphabetical order. Re-indent "simd"
1838 and "rdma" entries. Fix the incorrect merge value for "+rdma".
1839 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
1840 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
1841 Make source file explicit.
1842 * testsuite/gas/arm/armv8-a+rdma.l: New.
1843 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
1844 directives. Fix white-space.
1845 * testsuite/gas/arm/armv8_1-a+simd.d: New.
1847 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1849 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
1851 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1852 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1854 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
1855 (tc_arc_fix_adjustable): Changed default return value to 1.
1856 * testsuite/gas/arc/j.d: Updated expected symbol
1857 * testsuite/gas/arc/jl.d: Likewise
1858 * testsuite/gas/arc/relax-avoid1.d: Likewise
1859 * testsuite/gas/arc/st.d: Likewise
1861 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1863 * config/tc-arc.c: Enable code density instructions for ARC EM.
1865 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1868 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
1870 * as.c (flag_use_elf_stt_common): New.
1871 (show_usage): Add --elf-stt-common=.
1872 (option_values): Add OPTION_ELF_STT_COMMON.
1873 (std_longopts): Add --elf-stt-common=.
1874 (parse_args): Handle --elf-stt-common=.
1875 * as.h (flag_use_elf_stt_common): New.
1876 * config.in: Regenerated.
1877 * configure: Likewise.
1878 * configure.ac: Add --enable-elf-stt-common and define
1879 DEFAULT_GENERATE_ELF_STT_COMMON.
1880 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
1881 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
1882 * doc/as.texinfo: Document --elf-stt-common=.
1883 * testsuite/gas/elf/common3.s: New file.
1884 * testsuite/gas/elf/common3a.d: Likewise.
1885 * testsuite/gas/elf/common3b.d: Likewise.
1886 * testsuite/gas/elf/common4.s: Likewise.
1887 * testsuite/gas/elf/common4a.d: Likewise.
1888 * testsuite/gas/elf/common4b.d: Likewise.
1889 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1890 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1891 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
1893 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
1894 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
1895 --elf-stt-common=no to as.
1896 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
1897 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
1898 --elf-stt-common=no to as.
1899 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
1900 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
1901 of dw2-compress-3 and dw2-compressed-3.
1903 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1905 * as.c (select_emulation_mode): Add const qualifiers.
1907 * config/bfin-defs.h: Likewise.
1908 * config/bfin-parse.y: Likewise.
1909 * config/rx-parse.y: Likewise.
1910 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
1911 (struct aarch64_cpu_option_table): Likewise.
1912 (struct aarch64_arch_option_table): Likewise.
1913 (struct aarch64_option_cpu_value_table): Likewise.
1914 (struct aarch64_long_option_table): Likewise.
1915 (struct aarch64_option_abi_value_table): Likewise.
1916 * config/tc-arm.c (struct reloc_entry): Likewise.
1917 (tc_gen_reloc): Likewise.
1918 (struct arm_option_table): Likewise.
1919 (struct arm_legacy_option_table): Likewise.
1920 (struct arm_cpu_option_table): Likewise.
1921 (struct arm_arch_option_table): Likewise.
1922 (struct arm_option_extension_value_table): Likewise.
1923 (struct arm_option_fpu_value_table): Likewise.
1924 (struct arm_option_value_table): Likewise.
1925 (struct arm_long_option_table): Likewise.
1926 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
1927 (struct mcu_type_s): Likewise.
1928 (struct exp_mod_s): Likewise.
1929 (avr_operand): Likewise.
1930 (avr_operands): Likewise.
1931 * config/tc-d10v.c (md_begin): Likewise.
1932 * config/tc-dlx.c: Likewise.
1933 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
1934 * config/tc-ft32.c (parse_condition): Likewise.
1935 * config/tc-h8300.c (do_a_fix_imm): Likewise.
1936 * config/tc-hppa.c (pa_ip): Likewise.
1937 (hppa_regname_to_dw2regnum): Likewise.
1938 * config/tc-i370.c (i370_elf_suffix): Likewise.
1939 * config/tc-i960.c (struct tabentry): Likewise.
1940 * config/tc-m32r.c: Likewise.
1941 * config/tc-m68k.c: Likewise.
1942 * config/tc-m68k.h: Likewise.
1943 * config/tc-mcore.c (parse_psrmod): Likewise.
1944 * config/tc-metag.c (struct metag_core_option): Likewise.
1945 (struct metag_long_option): Likewise.
1946 * config/tc-microblaze.c: Likewise.
1947 * config/tc-mips.c (macro): Likewise.
1948 * config/tc-mn10200.c: Likewise.
1949 * config/tc-mn10300.c: Likewise.
1950 * config/tc-msp430.c (struct rcodes_s): Likewise.
1951 (struct hcodes_s): Likewise.
1952 (md_parse_option): Likewise.
1953 * config/tc-ns32k.c (struct ns32k_option): Likewise.
1954 (optlist): Likewise.
1955 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
1956 (tc_ppc_regname_to_dw2regnum): Likewise.
1957 * config/tc-ppc.h: Likewise.
1958 * config/tc-rl78.c: Likewise.
1959 * config/tc-rx.c (struct cpu_type): Likewise.
1960 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
1961 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
1962 (sparc_ip): Likewise.
1963 * config/tc-spu.c (insn_fmt_string): Likewise.
1964 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1965 * config/tc-v850.c: Likewise.
1966 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
1967 (struct visium_long_option_table): Likewise.
1968 * config/tc-xgate.c: Likewise.
1969 * config/tc-z8k.c: Likewise.
1970 * read.c (add_include_dir): Likewise.
1973 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1975 * testsuite/gas/all/gas.exp: Change target pattern to cover
1977 * testsuite/gas/all/redef3.d: Likewise.
1978 * testsuite/gas/elf/elf.exp: Likewise.
1980 2016-02-24 Renlin Li <renlin.li@arm.com>
1982 * config/tc-arm.c (BAD_FP16): New error message macro.
1983 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
1984 fp16 scalar instructions.
1985 (neon_check_type): Allow different size from key.
1986 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
1987 (try_vfp_nsyn): Likewise.
1988 (do_vfp_nsyn_mla_mls): Likewise.
1989 (do_vfp_nsyn_fma_fms): Likewise.
1990 (do_vfp_nsyn_ldm_stm): Likewise
1991 (do_vfp_nsyn_sqrt): Likewise
1992 (do_vfp_nsyn_div): Likewise
1993 (do_vfp_nsyn_nmul): Likewise.
1994 (do_vfp_nsyn_cmp): Likewise.
1995 (do_neon_shll): Likewise.
1996 (do_vfp_nsyn_cvt_fpv8): Likewise.
1997 (do_neon_cvttb_2): Likewise.
1998 (do_neon_mov): Likewise.
1999 (do_neon_rshift_round_imm): Likewise.
2000 (do_neon_ldr_str): Likewise.
2001 (do_vfp_nsyn_fpv8): Likewise.
2002 (do_vmaxnm): Likewise.
2003 (do_vrint_1): Likewise.
2004 (insns): New entry for vins, vmovx.
2005 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2006 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2007 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2008 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2009 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2010 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2011 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2013 2016-02-24 Renlin Li <renlin.li@arm.com>
2015 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2016 (neon_shape_class): New SC_HALF.
2017 (neon_shape_el): New SE_H.
2018 (neon_shape_el_size): New size for SE_H.
2019 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2020 (neon_select_shape): Add SE_H support code.
2021 (el_type_of_type_chk): Use N_F_ALL.
2022 (do_vfp_nsyn_cvt): Add SE_H shape support.
2023 (do_neon_cvtz): Likewise.
2024 (do_neon_cvt_1): Likewise.
2025 (do_neon_cvttb_1): Likewise.
2027 2016-02-24 Renlin Li <renlin.li@arm.com>
2029 * testsuite/gas/arm/copro.d: Adjust output.
2030 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2032 2016-02-24 Renlin Li <renlin.li@arm.com>
2034 * testsuite/gas/arm/mask_1.d: New.
2035 * testsuite/gas/arm/mask_1.s: New.
2037 2016-02-24 Renlin Li <renlin.li@arm.com>
2039 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2040 * testsuite/gas/arm/copro.d: Update.
2042 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2044 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2045 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2047 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2049 * doc/c-arm.texi (ARM Options): Document cortex-a17.
2051 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2053 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2056 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2058 * output-file.c (output_file_create): Make file name argument const.
2059 (output_file_close): Likewise.
2060 * output-file.h (output_file_create): Adjust.
2061 (output_file_close): Likewise.
2062 * depend.c (quote_string_for_make): Make src argument const char *.
2063 (register_dependency): Likewise.
2064 (wrap_output): Likewise.
2065 * as.h (register_dependency): Adjust.
2066 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2068 * symbols.c (S_SET_EXTERNAL): Likewise.
2069 * input-scrub.c (as_where): Return the file name.
2070 * as.h (as_where): Adjust prototype.
2071 * app.c (do_scrub_chars): Adjust.
2072 * cond.c (s_elseif): Likewise.
2074 (initialize_cframe): Likewise.
2075 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2076 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2077 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2078 * config/tc-aarch64.c (output_info): Likewise.
2079 * config/tc-ia64.c (md_assemble): Likewise.
2080 (dot_alias): Likewise.
2081 * config/tc-m68k.c (m68k_frob_label): Likewise.
2082 * config/tc-mmix.c (s_bspec): Likewise.
2083 (mmix_handle_mmixal): Likewise.
2084 * config/tc-rx.c (rx_include): Likewise.
2085 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2086 (tic54x_adjust_symtab): Likewise.
2087 * config/tc-xtensa.c (directive_push): Likewise.
2088 (xtensa_sanity_check): Likewise.
2089 (xtensa_relax_frag): Likewise.
2090 (md_convert_frag): Likewise.
2091 (tinsn_to_slotbuf): Likewise.
2092 * dwarf2dbg.c (dwarf2_where): Likewise.
2093 * ecoff.c (add_file): Likewise.
2094 (ecoff_generate_asm_lineno): Likewise.
2095 * expr.c (make_expr_symbol): Likewise.
2096 * frags.c (frag_new): Likewise.
2097 (frag_var_init): Likewise.
2098 * listing.c (listing_newline): Likewise.
2099 * messages.c (identify): Likewise.
2100 (as_show_where): Likewise.
2101 (as_warn_internal): Likewise.
2102 (as_bad_internal): Likewise.
2103 * read.c (s_irp): Likewise.
2104 (s_macro): Likewise.
2105 (s_reloc): Likewise.
2106 * stabs.c (stabs_generate_asm_file): Likewise.
2107 (stabs_generate_asm_lineno): Likewise.
2108 (stabs_generate_asm_func): Likewise.
2109 * write.c (fix_new_internal): Likewise.
2110 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2111 (as_warn_value_out_of_range): Adjust prototype.
2112 (as_bad_value_out_of_range): Adjust prototype.
2113 * messages.c (identify): Make file name argument const char *.
2114 (as_warn_internal): Likewise.
2115 (as_warn_where): Likewise.
2116 (as_bad_internal): Likewise.
2117 (as_bad_where): Likewise.
2118 (as_internal_value_out_of_range): Likewise.
2119 (as_warn_value_out_of_range): Likewise.
2120 (as_bad_value_out_of_range): Likewise.
2121 * as.h (found_comment_file): Change type to const char *.
2122 * cond.c (file_line::file): Likewise.
2123 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2124 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2125 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2126 * config/tc-aarch64.c (output_info): Likewise.
2127 * config/tc-alpha.c (insert_operand): Likewise.
2128 * config/tc-arc.c (insert_operand): Likewise.
2129 * config/tc-d30v.c (check_size): Likewise.
2130 * config/tc-ia64.c (struct alias): Likewise.
2131 * config/tc-m68k.c (struct label_line): Likewise.
2132 * config/tc-mcore.c (md_apply_fix): Likewise.
2133 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2134 * config/tc-mips.c (mips16_immed): Likewise.
2135 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2136 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2137 * config/tc-rx.c (rx_include): Likewise.
2138 * config/tc-s390.c (s390_insert_operand): Likewise.
2139 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2140 (tic54x_adjust_symtab): Likewise.
2141 * config/tc-tilegx.c (insert_operand): Likewise.
2142 (apply_special_operator): Likewise.
2143 * config/tc-tilepro.c (insert_operand): Likewise.
2144 * config/tc-xtensa.c (directive_push): Likewise.
2145 * ecoff.c (add_file): Likewise.
2146 (ecoff_generate_asm_lineno): Likewise.
2147 * listing.c (listing_newline): Likewise.
2148 * read.c (s_irp): Likewise.
2149 * write.c (install_reloc): Likewise.
2150 * write.h (struct fix): Likewise.
2151 * input-file.c (file_name): Change type to const char *.
2152 (saved_file::file_name): Likewise.
2153 (input_file_open): Change type of argument to const char *.
2154 * input-file.h (input_file_open): Adjust.
2155 * input-scrub.c (logical_input_file): change type to const char *.
2156 (physical_input_file): Likewise.
2157 (struct input_save): Adjust.
2158 (input_scrub_push): Adjust.
2159 (input_scrub_begin): Adjust.
2161 * input-scrub.c (input_scrub_new_file): Make file name argument const.
2162 (input_scrub_include_file): Likewise.
2163 (new_logical_line_flags): Likewise.
2164 (new_logical_line): Likewise.
2166 * frags.h (struct frag): Change type of fr_file to const char *.
2167 * expr.c (expr_symbol_where): Change type of file argument to
2169 * expr.h (expr_symbol_where): Likewise.
2170 * config/tc-i370.c (md_apply_fix): adjust.
2171 * config/tc-mmix.c (mmix_md_end): Likewise.
2172 * config/tc-ppc.c (md_apply_fix): Likewise.
2173 * config/tc-s390.c (md_apply_fix): Likewise.
2174 * symbols.c (report_op_error): Likewise.
2175 (resolve_symbol_value): Likewise.
2176 * config/tc-ia64.c (slot::src_file): Change type to const char *.
2177 (rsrc::file): Likewise.
2178 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2180 (xtensa_relax_frag): Likewise.
2181 (md_convert_frag): Likewise.
2182 (tinsn_to_slotbuf): Likewise.
2183 * expr.c (expr_symbol_line): Likewise.
2184 * macro.c (define_macro): Likewise.
2185 * macro.h (macro_struct): Likewise.
2186 * messages.c (as_show_where): Likewise.
2187 * read.c (s_macro): Likewise.
2188 * stabs.c (stabs_generate_asm_file): Likewise.
2189 (generate_asm_file): Likewise.
2190 (stabs_generate_asm_lineno): Likewise.
2191 * write.h (struct reloc_list): Likewise.
2192 * input-scrub.c (as_where): Change return type to const char *.
2193 * as.h (as_wheree): Adjust.
2195 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
2197 * write.c (compress_debug): Move BFD compression bits setting
2199 (write_object_file): Here.
2201 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2203 * config/tc-i386.c (register_number): Check RegVRex.
2204 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2205 with %zmm19 and %zmm3.
2206 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2207 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2209 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2210 Jiong Wang <jiong.wang@arm.com>
2212 * config/tc-arm.c (arm_ext_fp16): New.
2213 (arm_extensions): New entry for "fp16".
2215 2016-02-19 Nick Clifton <nickc@redhat.com>
2218 * read.c (read_a_source_file): Check for assemble_one returning
2219 with input_line_pointer set to NULL.
2221 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2223 * listing.c (rebuffer_line): Change return type to void.
2225 * symbols.c (decode_local_label_name): Make type a const char *.
2226 * listing.c (print_source): Make type of p const char *.
2227 (print_line): Make type of string const char *.
2228 (buffer_line): Return const char *.
2229 (title): Make type const char *.
2230 (subtitle): Likewise.
2231 (listing_listing): Make type of p const char *.
2232 * messages.c (as_internal_value_out_of_range): Make type of prefix
2234 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
2235 and string const char *.
2236 * read.c (_bfd_rel): Make type of name const char *.
2237 * app.c (out_string): Change type to const char *.
2238 (struct app_save::out_string): Likewise.
2240 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
2241 Nick Clifton <nickc@redhat.com>
2243 * read.c (finish_bundle): Avoid recording a negative alignment.
2244 (do_align): Use unsigned values for n, len and max. Only create
2245 a frag if the alignment requirement is greater than the minimum
2246 byte alignment. Avoid recording a negative alignment.
2247 (s_align): Use unsigned values where appropriate.
2248 (bss_alloc): Use an unsigned value for the alignment.
2249 (sizeof_sleb128): Add a comment noting that we encode one octet
2250 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
2251 (emit_leb129_expr): Abort if the emitted encoding was longer than
2253 * read.h (output_leb128): Update prototype.
2254 (sizeof_leb128): Update prototype.
2255 (bss_alloc): Update prototype.
2256 * write.c (record_alignment): Use an unsigned value for the
2257 alignment. Do not record alignments less than the minimum
2258 alignment for a byte.
2259 * write.h (record_alignment): Update prototype.
2261 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2263 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
2264 .init.literal/.fini.literal section name.
2265 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
2266 list of xtensa tests.
2267 * testsuite/gas/xtensa/init-fini-literals.d: New file:
2268 init-fini-literals test result patterns.
2269 * testsuite/gas/xtensa/init-fini-literals.s: New file:
2270 init-fini-literals test.
2272 2016-02-17 Nick Clifton <nickc@redhat.com>
2274 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
2275 devices.csv file as of March 2016.
2277 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
2279 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
2281 (tc_arc_regname_to_dw2regnum): Likewise.
2282 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
2283 (tc_cfi_frame_initial_instructions): Likewise.
2284 (tc_regname_to_dw2regnum): Likewise.
2285 * testsuite/gas/cfi/cfi-arc-1.d: New file.
2286 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
2287 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
2289 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
2291 * doc/internals.texi (S_IS_EXTERN): Remove.
2293 2016-02-16 Nick Clifton <nickc@redhat.com>
2295 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
2298 2016-02-16 Renlin Li <renlin.li@arm.com>
2301 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
2302 * testsuite/gas/aarch64/movw_label.d: New.
2303 * testsuite/gas/aarch64/movw_label.s: New.
2305 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
2308 * config/rx-parse.y (MOV): Opcode generation for index
2309 register addressing mode.
2310 * testsuite/gas/rx/rx.exp: Updated for new testcase.
2311 * testsuite/gas/rx/pr19665.s: New file.
2312 * testsuite/gas/rx/pr19665.s: New file.
2313 * testsuite/gas/rx/mov.d: Update expected output.
2315 2016-02-15 Nick Clifton <nickc@redhat.com>
2317 * doc/as.texinfo (.section): Document that numeric values can now
2318 be used for the flags and type fields of the ELF target's .section
2319 directive. Add notes about the restrictions on setting flags and
2321 * config/obj-elf.c (obj_elf_change_section): Allow known sections
2322 to be given processor specific section types. Allow processor and
2323 application specific flags of a section to be set after
2325 (obj_elf_parse_section_letters): Handle parsing numeric values.
2326 (obj_elf_section_type): Handle parsing numeric values.
2327 (obj_elf_section): Allow numeric type values.
2328 * config/obj-elf.h (obj_elf_change_section): Update prototype.
2329 * testsuite/gas/elf/section10.d: New test.
2330 * testsuite/gas/elf/section10.s: Source file for new test.
2331 * testsuite/gas/elf/elf.exp: Run the new test.
2332 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
2333 the description of the flags produced by readelf.
2334 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
2335 * NEWS: Mention the new feature.
2337 2016-02-11 Nick Clifton <nickc@redhat.com>
2340 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
2341 until it is actually used.
2342 (cfi_set_sections): Set cfi_sections_set to true.
2343 (dot_cfi_startproc): Likewise.
2344 (dot_cfi_endproc): Likewise.
2345 (dot_cfi_fde_data): Likewise.
2346 (cfi_finish): Likewise.
2347 (dot_cfi_sections): Do not set cfi_sections_set.
2348 * doc/as.texinfo (.cfi_sections): Note that targets can provide
2349 their own cfi section name. Also note that the directive can be
2350 reissued provided that CFI generation has not started.
2351 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
2352 .cfi_endproc directives so that the redefinition of .cfi_sections
2353 will trigger the generation of the error message.
2354 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
2355 number of error message.
2357 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
2358 Janek van Oirschot <jvanoirs@synopsys.com>
2360 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2361 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2363 (arc_flags, arc_relax_type): New structure.
2364 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2365 (RELAX_TABLE_ENTRY_MAX): New define.
2366 (relaxation_state, md_relax_table, arc_relaxable_insns)
2367 (arc_num_relaxable_ins): New variable.
2368 (rlx_operand_type, arc_rlx_types): New enums.
2369 (arc_relaxable_ins): New structure.
2370 (OPTION_RELAX): New option.
2371 (arc_insn): New relax member.
2372 (arc_flags): Remove.
2373 (relax_insn_p): New function.
2374 (apply_fixups): Likewise.
2375 (relaxable_operand): Likewise.
2376 (may_relax_expr): Likewise.
2377 (relaxable_flag): Likewise.
2378 (arc_pcrel_adjust): Likewise.
2379 (md_estimate_size_before_relax): Implement.
2380 (md_convert_frag): Likewise.
2381 (md_parse_option): Handle new mrelax option.
2382 (md_show_usage): Likewise.
2383 (assemble_insn): Set relax member.
2384 (emit_insn0): New function.
2385 (emit_insn1): Likewise.
2386 (emit_insn): Handle relaxation case.
2387 * NEWS: Mention the new relaxation option.
2388 * doc/c-arc.texi (ARC Options): Document new mrelax option.
2389 * doc/as.texinfo (Target ARC Options): Likewise.
2390 * testsuite/gas/arc/relax-avoid1.d: New file.
2391 * testsuite/gas/arc/relax-avoid1.s: Likewise.
2392 * testsuite/gas/arc/relax-avoid2.d: Likewise.
2393 * testsuite/gas/arc/relax-avoid2.s: Likewise.
2394 * testsuite/gas/arc/relax-avoid3.d: Likewise.
2395 * testsuite/gas/arc/relax-avoid3.s: Likewise.
2396 * testsuite/gas/arc/relax-b.d: Likewise.
2397 * testsuite/gas/arc/relax-b.s: Likewise.
2399 2016-02-08 Nick Clifton <nickc@redhat.com>
2401 * config/tc-ia64.c (dot_prologue): Fix formatting.
2403 2016-02-04 Nick Clifton <nickc@redhat.com>
2405 * config/obj-elf.c (obj_elf_change_section): Remove support for
2406 ARM NOREAD sections.
2407 * config/tc-arm.c (arm_elf_section_letter): Delete.
2408 * config/tc-arm.h (md_elf_section_letter): Delete.
2409 * doc/c-arm.texi (ARM Section Attribute): Delete section.
2410 * testsuite/gas/arm/section-execute-only.d: Delete.
2411 * testsuite/gas/arm/section-execute-only.s: Delete.
2413 2016-02-04 Nick Clifton <nickc@redhat.com>
2416 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2417 to handle encoding of RRUX instruction.
2418 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2420 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2422 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2424 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2425 substitutions for BFD_RELOC_* as unsigned.
2426 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2427 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2428 * testsuite/gas/xtensa/loc.s: New file: loc test.
2430 2016-02-03 Kevin Buettner <kevinb@redhat.com>
2432 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
2434 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2437 * NEWS: Mention new command line option -mrelax-relocations and
2438 new configure option --enable-x86-relax-relocations for x86
2440 * config.in: Regenerated.
2441 * configure.ac: Add --enable-x86-relax-relocations.
2442 (ac_default_x86_relax_relocations): New. Default to 1 except
2443 for x86 Solaris targets older than Solaris 12.
2444 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2445 * configure: Likewise.
2446 * config/tc-i386.c (generate_relax_relocations): New.
2447 (OPTION_MRELAX_RELOCATIONS): Likewise.
2448 (output_disp): Don't generate relax relocations if
2449 generate_relax_relocations is 0.
2450 (md_longopts): Add -mrelax-relocations.
2451 (md_show_usage): Likewise.
2452 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2453 * doc/c-i386.texi: Document -mrelax-relocations=.
2454 * testsuite/gas/i386/got-no-relax.d: New file.
2455 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2456 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2457 * testsuite/gas/i386/localpic.d: Likewise.
2458 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2459 * testsuite/gas/i386/reloc32.d: Likewise.
2460 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2461 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2462 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2463 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2464 * testsuite/gas/i386/i386.exp: Run got-no-relax and
2465 x86-64-gotpcrel-no-relax.
2467 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2469 * NEWS: Mention new command line option -mfence-as-lock-add=yes
2472 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2474 * NEWS: Remove duplicated marker for 2.26.
2476 2016-02-02 Renlin Li <renlin.li@arm.com>
2478 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2480 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2482 * testsuite/gas/ip2k/allinsn.d: New file.
2483 * testsuite/gas/ip2k/allinsn.s: New file.
2484 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2486 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2488 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2489 some load instructions.
2490 * testsuite/gas/epiphany/allinsn.d: Likewise.
2491 * testsuite/gas/epiphany/regression.d: Likewise.
2493 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2495 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2496 suffixes from instruction mnemonics in expected output.
2497 * testsuite/gas/epiphany/allinsn.d: Likewise.
2498 * testsuite/gas/epiphany/regression.d: Likewise.
2499 * testsuite/gas/epiphany/sample.d: Likewise.
2501 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2503 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2505 * testsuite/gas/epiphany/allinsn.d: Likewise.
2506 * testsuite/gas/epiphany/sample.d: Likewise.
2508 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2510 * testsuite/gas/epiphany/sample.d: Update expected output.
2512 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2514 * config/tc-arc.c (md_apply_fix): Allow addendum.
2515 (arc_reloc_op): Allow complex expressions for tpoff.
2516 (md_apply_fix): Handle resolved TLS local symbol.
2517 * testsuite/gas/arc/tls-relocs1.d: New file.
2518 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2520 2016-02-01 Loria <Loria@phantasia.org>
2523 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2524 efficiency and avoid an LLVM loop optimization bug.
2526 2016-02-01 Nick Clifton <nickc@redhat.com>
2528 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2529 message extending a negative 32-bit value into a larger signed
2530 value on a 32-bit host.
2532 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2535 * configure.ac (compressed_debug_sections): Replace == with =.
2536 * configure: Regenerated.
2538 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2539 H.J. Lu <hongjiu.lu@intel.com>
2541 * config/tc-i386.c (avoid_fence): New.
2542 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2544 (OPTION_FENCE_AS_LOCK_ADD): New.
2545 (md_longopts): Add -mfence-as-lock-add.
2546 (md_parse_option): Handle -mfence-as-lock-add.
2547 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2548 * doc/c-i386.texi (-mfence-as-lock-add): Document.
2549 * testsuite/gas/i386/i386.exp: Run new tests.
2550 * testsuite/gas/i386/fence-as-lock-add.s: New.
2551 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2552 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2553 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2554 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2556 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2558 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2559 * configure: Regenerated.
2561 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2563 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2564 (OPTION_MOMIT_LOCK_PREFIX): This.
2565 (md_longopts): Updated.
2566 (md_parse_option): Likewise.
2568 2016-01-25 Catherine Moore <clm@codesourcery.com>
2570 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2571 if abicalls are in effect.
2572 * testsuite/gas/mips/sdata-gp.s: New test.
2573 * testsuite/gas/mips/sdata-gp.d: New expected output
2574 * testsuite/gas/mips/mips.exp: Run new test.
2576 2016-01-25 Renlin Li <renlin.li@arm.com>
2578 * testsuite/gas/arm/thumb2_it_search.d: New.
2579 * testsuite/gas/arm/thumb2_it_search.s: New.
2581 2016-01-21 Nick Clifton <nickc@redhat.com>
2584 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2585 with arm-netbsdelf target.
2586 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2588 2016-01-20 Nick Clifton <nickc@redhat.com>
2591 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2592 * testsuite/gas/arm/blx-bl-convert.d
2593 * testsuite/gas/arm/plt-1.d: Likewise.
2594 * testsuite/gas/arm/reloc-bad.d: Likewise.
2595 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2596 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2597 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2598 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2601 * doc/as.texinfo (Errors): Correct documentation describing the
2602 interaction of .file and .line with warning and error messages.
2605 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2606 * testsuite/gas/arm/archv8m-main.d: Likewise.
2607 * testsuite/gas/arm/archv8m-base.d: Likewise.
2609 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2611 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2612 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2613 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2615 2016-01-20 Mickael Guene <mickael.guene@st.com>
2616 Terry Guo <terry.guo@arm.com>
2618 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2619 SHF_ARM_NOREAD section flag.
2620 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2622 (arm_elf_section_letter) : Declare it.
2623 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2624 SHF_ARM_NOREAD section flag.
2625 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2627 * testsuite/gas/arm/section-execute-only.s: New test case.
2628 * testsuite/gas/arm/section-execute-only.d: Expected output.
2630 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2632 * config/tc-mips.c (micromips_insn_length): Remove the mention
2633 of 48-bit microMIPS instructions.
2635 2016-01-18 Alan Modra <amodra@gmail.com>
2637 * configure: Regenerate.
2639 2016-01-17 Alan Modra <amodra@gmail.com>
2641 * configure: Regenerate.
2643 2016-01-17 Alan Modra <amodra@gmail.com>
2645 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2647 2016-01-14 Nick Clifton <nickc@redhat.com>
2649 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2650 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2651 * testsuite/gas/rl78/rl78.exp: Run the new test.
2653 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2655 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2656 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2658 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2660 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2662 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2664 * config/tc-h8300.c (get_operand): Remove spurious condition in
2665 test for closing parenthesis.
2667 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
2669 * config/tc-arm.c (arm_ext_v8_2): New.
2671 * testsuite/gas/arm/armv8_2-a.d: New.
2672 * testsuite/gas/arm/armv8_2-a.s: New.
2674 2016-01-12 Alan Modra <amodra@gmail.com>
2676 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2678 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
2680 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2681 xvcmpnesp, xvcmpnesp.>: Delete tests.
2682 * testsuite/gas/ppc/power9.s: Likewise.
2683 * testsuite/gas/ppc/vsx3.d: Likewise.
2684 * testsuite/gas/ppc/vsx3.s: Likewise.
2686 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
2689 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2690 * testsuite/gas/m68k/p13050-1.s: New file.
2691 * testsuite/gas/m68k/p13050-2.d: New file.
2692 * testsuite/gas/m68k/p13050-2.s: New file.
2694 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2696 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2697 * testsuite/gas/arc/add.d: Likewise.
2698 * testsuite/gas/arc/and.d: Likewise.
2699 * testsuite/gas/arc/asl.d: Likewise.
2700 * testsuite/gas/arc/asr.d: Likewise.
2701 * testsuite/gas/arc/bic.d: Likewise.
2702 * testsuite/gas/arc/extb.d: Likewise.
2703 * testsuite/gas/arc/extw.d: Likewise.
2704 * testsuite/gas/arc/j.d: Likewise.
2705 * testsuite/gas/arc/jl.d: Likewise.
2706 * testsuite/gas/arc/ld2.d: Likewise.
2707 * testsuite/gas/arc/lsr.d: Likewise.
2708 * testsuite/gas/arc/mov.d: Likewise.
2709 * testsuite/gas/arc/or.d: Likewise.
2710 * testsuite/gas/arc/pcl-relocs.d: Likewise.
2711 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2712 * testsuite/gas/arc/pic-relocs.d: Likewise.
2713 * testsuite/gas/arc/plt-relocs.d: Likewise.
2714 * testsuite/gas/arc/rlc.d: Likewise.
2715 * testsuite/gas/arc/ror.d: Likewise.
2716 * testsuite/gas/arc/rrc.d: Likewise.
2717 * testsuite/gas/arc/sbc.d: Likewise.
2718 * testsuite/gas/arc/sda-relocs.d: Likewise.
2719 * testsuite/gas/arc/sda-relocs2.d: Likewise.
2720 * testsuite/gas/arc/sexb.d: Likewise.
2721 * testsuite/gas/arc/sexw.d: Likewise.
2722 * testsuite/gas/arc/st.d: Likewise.
2723 * testsuite/gas/arc/sub.d: Likewise.
2724 * testsuite/gas/arc/tls-relocs.d: Likewise.
2725 * testsuite/gas/arc/xor.d: Likewise.
2727 2016-01-01 Alan Modra <amodra@gmail.com>
2729 Update year range in copyright notice of all files.
2731 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2733 Copyright (C) 2016 Free Software Foundation, Inc.
2735 Copying and distribution of this file, with or without modification,
2736 are permitted in any medium without royalty provided the copyright
2737 notice and this notice are preserved.
2743 version-control: never