3 * testsuite/gas/arc/textinsn-errors.d: New File.
4 * testsuite/gas/arc/textinsn-errors.err: Likewise.
5 * testsuite/gas/arc/textinsn-errors.s: Likewise.
6 * testsuite/gas/arc/textinsn2op.d: Likewise.
7 * testsuite/gas/arc/textinsn2op.s: Likewise.
8 * testsuite/gas/arc/textinsn2op01.d: Likewise.
9 * testsuite/gas/arc/textinsn2op01.s: Likewise.
10 * testsuite/gas/arc/textinsn3op.d: Likewise.
11 * testsuite/gas/arc/textinsn3op.s: Likewise.
12 * doc/c-arc.texi (ARC Directives): Add .extInstruction
14 * config/tc-arc.c (arcext_section): New variable.
15 (arc_extinsn): New function.
16 (md_pseudo_table): Add .extInstruction pseudo op.
17 (attributes_t): New type.
18 (suffixclass, syntaxclass, syntaxclassmod): New constant
20 (find_opcode_match): Remove arc_num_opcodes.
22 (tokenize_extinsn): New function.
23 (arc_set_ext_seg): Likewise.
24 (create_extinst_section): Likewise.
28 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
29 (arc_adjust_symtab): New function.
30 * config/tc-arc.h (ARC_FLAG_AUX): Define.
31 (obj_adjust_symtab): Likewise.
32 * testsuite/gas/arc/taux.d: New file.
33 * testsuite/gas/arc/taux.s: Likewise.
37 * config/tc-mips.c (s_option): Sanitize `.option picX'
39 * testsuite/gas/mips/option-pic-1.d: New test.
40 * testsuite/gas/mips/option-pic-2.l: New list test.
41 * testsuite/gas/mips/option-pic-1.s: New test source.
42 * testsuite/gas/mips/option-pic-2.s: New test source.
43 * testsuite/gas/mips/mips.exp: Run the new tests.
47 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
49 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
50 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
51 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
52 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
53 * testsuite/gas/mips/mips.exp: Run the new tests.
57 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
61 * messages.c (as_bad): Fix a typo in description.
65 * config/tc-mips.c (mips_check_options): Unify messages.
69 * config/tc-mips.c (mips_check_options): Use `opts->isa'
75 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
76 COFF and AOUT sparc targets.
80 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
81 * testsuite/gas/arc/nps400-2.d: New file.
82 * testsuite/gas/arc/nps400-2.s: New file.
86 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
88 (arc_opcode_hash_entry_iterator_init): New function.
89 (arc_opcode_hash_entry_iterator_next): New function.
90 (find_opcode_match): Iterate over all arc_opcode entries
91 referenced by the arc_opcode_hash_entry passed in as a parameter.
95 * config/tc-arc.c (arc_find_opcode): Now returns
96 arc_opcode_hash_entry pointer.
97 (find_opcode_match): Update argument type, extract arc_opcode from
98 incoming arc_opcode_hash_entry.
99 (find_special_case_pseudo): Update return type.
100 (find_special_case_flag): Update return type.
101 (find_special_case): Update return type.
102 (assemble_tokens): Lookup arc_opcode_hash_entry based on
103 instruction mnemonic, then use find_opcode_match to identify
108 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
109 (arc_find_opcode): New function.
110 (find_special_case_pseudo): Use arc_find_opcode.
111 (find_special_case_flag): Likewise.
112 (assemble_tokens): Likewise.
113 (md_begin): Build hash using struct arc_opcode_hash_entry.
117 * config/tc-arc.c (arc_option): Prepare string for automatic
119 (declare_register): Likewise.
123 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
124 Correct entry for RDMA. Alpha sort entries.
128 * config/tc-arc.c (tokenize_flags): Allow greater range of
129 characters into flag names.
133 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
135 (preprocess_operands): Delete.
136 (assemble_tokens): Remove call to preprocess_operands.
141 * config/tc-sparc.c (sparc_ip): Report an error if the expression
142 inside a %-macro could not be fully parsed.
143 * expr.c (integer_constant): Accept and ignore U suffixes to
145 (operand): When a missing closing parenthesis is encountered,
146 report the character that was found instead.
147 * testsuite/gas/mips/tls-ill.l: Update expected error message.
148 * testsuite/gas/sparc/pr19910-1.d: New test driver.
149 * testsuite/gas/sparc/pr19910-1.s: New test.
150 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
151 * testsuite/gas/sparc/pr19910-2.s: New test.
152 * testsuite/gas/sparc/sparc.exp: Run the new tests.
156 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
157 an EINT instruction. Warn/fix as necessary.
158 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
159 * testsuite/gas/msp430/bad.l: Update expected messages.
163 * testsuite/gas/arc/nps400-1.d: Update expected results.
164 * testsuite/gas/arc/nps400-1.s: Additional test cases.
168 * config/tc-arc.c (is_code_density_p): Compare directly the
170 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
171 (check_cpu_feature): New function.
172 (find_opcode_match): Use check_cpu_feature function.
173 (preprocess_operands): Likewise.
174 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
175 * testsuite/gas/arc/tdpfp.d: New file.
176 * testsuite/gas/arc/tfpuda.d: Likewise.
177 * testsuite/gas/arc/tfpx.s: Likewise.
181 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
182 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
183 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
184 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
185 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
186 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
187 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
188 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
190 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
194 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
195 JUMP instructions type.
196 * testsuite/gas/arc/relocs-errors.d: New file.
197 * testsuite/gas/arc/relocs-errors.err: Likewise.
198 * testsuite/gas/arc/relocs-errors.s: Likewise.
203 * testsuite/gas/i386/i386.exp: Run pr19498.
204 * testsuite/gas/i386/pr19498.d: New file.
205 * testsuite/gas/i386/pr19498.s: Likewise.
209 * config/tc-arc.h: Include 'opcode/arc.h'.
210 (MAX_INSN_ARGS): Delete.
211 (MAX_INSN_FLGS): Delete.
216 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
217 from function on all paths that set sy_resolving.
221 * app.c (app_push): use XNEW macro.
223 * config/obj-elf.c (obj_elf_change_section): Likewise.
224 (elf_copy_symbol_attributes): Likewise.
225 (obj_elf_size): Likewise.
226 (build_group_lists): Likewise.
227 * config/tc-aarch64.c (add_operand_error_record): Likewise.
228 (md_assemble): Likewise.
229 (tc_gen_reloc): Likewise.
230 (get_upper_str): Likewise.
231 (aarch64_parse_features): Likewise.
232 * config/tc-arm.c (insert_reg_alias): Likewise.
233 (insert_neon_reg_alias): Likewise.
234 (find_or_make_literal_pool): Likewise.
235 (s_arm_elf_cons): Likewise.
236 (add_unwind_opcode): Likewise.
237 (arm_parse_extension): Likewise.
238 * config/tc-avr.c (create_record_for_frag): Likewise.
239 * config/tc-crx.c: Likewise.
240 * config/tc-d30v.c: Likewise.
241 * config/tc-dlx.c (s_proc): Likewise.
242 * config/tc-ft32.c: Likewise.
243 * config/tc-h8300.c: Likewise.
244 * config/tc-hppa.c (pa_proc): Likewise.
245 (create_new_space): Likewise.
246 (create_new_subspace): Likewise.
247 * config/tc-i860.c: Likewise.
248 * config/tc-i960.c: Likewise.
249 * config/tc-ia64.c: Likewise.
250 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
251 (iq2000_record_hi16): Likewise.
252 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
253 * config/tc-m32r.c (debug_sym): Likewise.
254 (m32r_record_hi16): Likewise.
255 * config/tc-m68k.c (m68k_ip): Likewise.
256 (md_begin): Likewise.
257 * config/tc-mcore.c: Likewise.
258 * config/tc-microblaze.c (check_got): Likewise.
259 * config/tc-mips.c (append_insn): Likewise.
260 (s_mipsset): Likewise.
261 (mips_record_label): Likewise.
262 (s_mips_end): Likewise.
263 * config/tc-mmix.c (mmix_frob_file): Likewise.
264 * config/tc-mn10200.c: Likewise.
265 * config/tc-mn10300.c: Likewise.
266 * config/tc-moxie.c: Likewise.
267 * config/tc-msp430.c: Likewise.
268 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
269 * config/tc-ns32k.c: Likewise.
270 * config/tc-or1k.c: Likewise.
271 * config/tc-pdp11.c: Likewise.
272 * config/tc-pj.c (fake_opcode): Likewise.
273 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
274 (ppc_macro): Likewise.
275 (ppc_dwsect): Likewise.
276 (ppc_machine): Likewise.
277 * config/tc-rl78.c (rl78_frag_init): Likewise.
278 * config/tc-rx.c (rx_frag_init): Likewise.
279 * config/tc-s390.c (s390_lit_suffix): Likewise.
280 (s390_machine): Likewise.
281 (s390_machinemode): Likewise.
282 * config/tc-score.c (s3_insert_reg): Likewise.
283 (s3_gen_reloc): Likewise.
284 * config/tc-score7.c (s7_insert_reg): Likewise.
285 (s7_gen_reloc): Likewise.
286 * config/tc-tic30.c (tic30_operand): Likewise.
287 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
288 * config/tc-tic54x.c (stag_add_field): Likewise.
289 (tic54x_struct): Likewise.
290 (tic54x_space): Likewise.
291 (tic54x_field): Likewise.
292 (tic54x_mlib): Likewise.
293 (subsym_substitute): Likewise.
294 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
295 * config/tc-vax.c: Likewise.
296 * config/tc-xc16x.c: Likewise.
297 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
298 (directive_push): Likewise.
299 (xtensa_begin_directive): Likewise.
300 (tokenize_arguments): Likewise.
301 (xtensa_add_literal_sym): Likewise.
302 (new_resource_table): Likewise.
303 (resize_resource_table): Likewise.
304 (emit_single_op): Likewise.
305 (xtensa_create_trampoline_frag): Likewise.
306 (xtensa_maybe_create_literal_pool_frag): Likewise.
307 (xtensa_add_config_info): Likewise.
308 (xtensa_realloc_fixup_cache): Likewise.
309 (add_subseg_info): Likewise.
310 (cache_literal_section): Likewise.
311 (add_xt_block_frags): Likewise.
312 (add_xt_prop_frags): Likewise.
313 (init_op_placement_info_table): Likewise.
314 (build_section_rename): Likewise.
315 * config/tc-z80.c: Likewise.
316 * config/tc-z8k.c: Likewise.
317 * depend.c (register_dependency): Likewise.
318 * dwarf2dbg.c (get_line_subseg): Likewise.
319 (dwarf2_gen_line_info_1): Likewise.
320 (get_filenum): Likewise.
321 * ecoff.c (allocate_scope): Likewise.
322 (allocate_vlinks): Likewise.
323 (allocate_shash): Likewise.
324 (allocate_thash): Likewise.
325 (allocate_tag): Likewise.
326 (allocate_forward): Likewise.
327 (allocate_thead): Likewise.
328 (allocate_lineno_list): Likewise.
329 * expr.c (make_expr_symbol): Likewise.
330 * hash.c (hash_new_sized): Likewise.
331 * input-file.c (input_file_push): Likewise.
332 * listing.c (file_info): Likewise.
333 (listing_newline): Likewise.
334 * macro.c (new_formal): Likewise.
335 (define_macro): Likewise.
336 * remap.c (add_debug_prefix_map): Likewise.
337 * symbols.c (symbol_find_noref): Likewise.
338 (define_dollar_label): Likewise.
339 (fb_label_instance_inc): Likewise.
340 (symbol_relc_make_value): Likewise.
344 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
345 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
346 (ppc_znop): Likewise.
347 (ppc_pe_section): Likewise.
348 (ppc_frob_symbol): Likewise.
349 * config/tc-tic30.c (tic30_operand): Likewise.
350 * config/tc-tic4x.c (tic4x_sect): Likewise.
351 (tic4x_usect): Likewise.
355 * config/tc-alpha.c: Const qualify FLT_CHARS.
356 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
357 * config/tc-cris.h: Likewise.
359 * config/tc-mmix.c (md_atof): Adjust comment.
360 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
361 * tc.h: Declare FLT_CHARS and EXP_CHARS.
365 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
366 * config/tc-score7.c (s7_gen_reloc): Likewise.
370 * config/tc-arm.c (do_t_branch): Change the type of reloc to
371 bfd_reloc_code_real_type.
375 * config/bfin-parse.y (current_inputline): Remove definition.
376 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
380 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
386 * read.c (assign_symbol): Consume rest of line after an error
387 rather than continuing to process the line.
391 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
392 (MAX_FLAG_NAME_LENGTH): ...this.
393 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
394 * config/tc-arc.c (tokenize_flags): Likewise.
398 * cgen.c (weak_operand_overflow_check): Return const char*.
399 * messages.c (as_internal_value_out_of_range): Formatting.
400 (as_warn_value_out_of_range): Consify prefix param.
401 (as_bad_value_out_of_range): Likewise.
402 * read.c (s_errwarn): Constify msg..
403 (s_float_space, float_cons): ..and err.
404 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
405 ieee_md_atof, vax_md_atof): Update prototypes.
406 * tc.h (md_atof): Update prototype.
407 * config/atof-ieee.c (ieee_md_atof): Return const char*.
408 * config/atof-vax.c (vax_md_atof): Likewise.
409 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
410 * config/tc-aarch64.c (md_atof): Return const char*.
411 * config/tc-alpha.c (s_alpha_section_name): Likewise.
412 (s_alpha_comm): Constify sec_name.
413 (section_name): Constify.
414 (s_alpha_section): Consify name..
415 (alpha_elf_section_letter): ..and ptr_msg param..
416 (md_atof): ..and return.
417 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
418 * config/tc-arc.c (md_atof): Return const char*.
419 * config/tc-arm.c (md_atof): Likewise.
420 * config/tc-avr.c (md_atof): Likewise.
421 * config/tc-bfin.c (md_atof): Likewise.
422 * config/tc-cr16.c (md_atof): Likewise.
423 * config/tc-cris.c (md_atof): Likewise.
424 * config/tc-crx.c (md_atof): Likewise.
425 * config/tc-d10v.c (md_atof): Likewise.
426 * config/tc-d30v.c (md_atof): Likewise.
427 * config/tc-dlx.c (md_atof): Likewise.
428 * config/tc-epiphany.c (md_atof): Likewise.
429 * config/tc-fr30.c (md_atof): Likewise.
430 * config/tc-frv.c (md_atof): Likewise.
431 * config/tc-ft32.c (md_atof): Likewise.
432 * config/tc-h8300.c (md_atof): Likewise.
433 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
434 (struct default_space_dict): Likewise.
435 (create_new_space): Constify name param.
436 (create_new_subspace): Likewise.
437 (is_defined_space, is_defined_subspace): Likewise.
438 (pa_parse_space_stmt): Constify space_name param.
439 (md_atof): Return const char*.
440 (pa_spaces_begin): Constify name.
441 * config/tc-i370.c (md_atof): Return const char*.
442 * config/tc-i386.c (md_atof): Likewise.
443 (x86_64_section_letter): Constify ptr_msg param.
444 * config/tc-i386.h (x86_64_section_letter): Update prototype.
445 * config/tc-i860.c (struct i860_it): Constify error.
446 (md_atof): Return const char*.
447 * config/tc-i960.c (md_atof): Likewise.
448 * config/tc-ia64.c (md_atof): Likewise.
449 (ia64_elf_section_letter): Constify ptr_msg param.
450 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
451 * config/tc-ip2k.c (md_atof): Return const char*.
452 * config/tc-iq2000.c (md_atof): Likewise.
453 * config/tc-lm32.c (md_atof): Likewise.
454 * config/tc-m32c.c (md_atof): Likewise.
455 * config/tc-m32r.c (md_atof): Likewise.
456 * config/tc-m68hc11.c (md_atof): Likewise.
457 * config/tc-m68k.c (md_atof): Likewise.
458 * config/tc-mcore.c (md_atof): Likewise.
459 * config/tc-mep.c (md_atof): Likewise.
460 (mep_elf_section_letter): Constify ptr_msg param.
461 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
462 * config/tc-metag.c (md_atof): Return const char*.
463 * config/tc-microblaze.c (md_atof): Likewise.
464 * config/tc-microblaze.h (md_atof): Delete prototype.
465 * config/tc-mips.c (mips_parse_argument_token): Constify err.
466 (md_atof): Return const char*.
467 * config/tc-mmix.c (md_atof): Likewise.
468 * config/tc-mn10200.c (md_atof): Likewise.
469 * config/tc-mn10300.c (md_atof): Likewise.
470 * config/tc-moxie.c (md_atof): Likewise.
471 * config/tc-msp430.c (md_atof): Likewise.
472 * config/tc-mt.c (md_atof): Likewise.
473 * config/tc-nds32.c (md_atof): Likewise.
474 * config/tc-nios2.c (md_atof): Likewise.
475 (nios2_elf_section_letter): Constify ptr_msg param.
476 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
477 * config/tc-ns32k.c (md_atof): Return const char*.
478 * config/tc-or1k.c (md_atof): Likewise.
479 * config/tc-pdp11.c (struct pdp11_code): Constify error.
480 (md_atof): Return const char*.
481 * config/tc-pj.c (md_atof): Likewise.
482 * config/tc-ppc.c (md_atof): Likewise.
483 * config/tc-rl78.c (md_atof): Likewise.
484 * config/tc-rx.c (md_atof): Likewise.
485 * config/tc-s390.c (md_atof): Likewise.
486 * config/tc-score.c (s3_atof, md_atof): Likewise.
487 * config/tc-sh.c (md_atof): Likewise.
488 * config/tc-sparc.c (struct sparc_it): Constify error.
489 (md_atof): Return const char*.
490 * config/tc-spu.c (md_atof): Likewise.
491 * config/tc-tic30.c (md_atof): Likewise.
492 * config/tc-tic4x.c (md_atof): Likewise.
493 * config/tc-tic54x.c (md_atof): Likewise.
494 * config/tc-tic6x.c (md_atof): Likewise.
495 * config/tc-tilegx.c (md_atof): Likewise.
496 * config/tc-tilepro.c (md_atof): Likewise.
497 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
498 * config/tc-vax.c (md_atof): Likewise.
499 * config/tc-visium.c (md_atof): Likewise.
500 * config/tc-xc16x.c (md_atof): Likewise.
501 * config/tc-xgate.c (md_atof): Likewise.
502 * config/tc-xstormy16.c (md_atof): Likewise.
503 * config/tc-xtensa.c (md_atof): Likewise.
504 * config/tc-z80.c (md_atof): Likewise.
505 * config/tc-z8k.c (md_atof): Likewise.
509 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
511 (xtensa_section_rename): Make argument type const char *.
512 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
516 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
521 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
523 (m32c_indirect_operand): Likewise.
524 * config/tc-nds32.c (do_pseudo_b): Likewise.
525 (do_pseudo_bal): Likewise.
526 (do_pseudo_ls_bhw): Likewise.
530 * as.c (parse_args): Cast literal to char * when assigning to optarg.
534 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
536 * config/tc-sparc.c (s_register): Cast a literal to char * in
541 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
543 * config/tc-m32r.c (expand_debug_syms): Likewise.
544 * config/tc-msp430.c (msp430_dstoperand): Likewise.
545 * config/tc-z80.c (md_begin): Likewise.
546 * stabs.c (stabs_generate_asm_func): Likewise.
550 * cgen.c: Modernize the way functions declare arguments.
551 * config/tc-bfin.c: Likewise.
552 * config/tc-pdp11.c: Likewise.
553 * literal.c: Likewise.
559 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
560 variables unsigned char[].
561 * config/tc-alpha.c (alpha_handle_align): Likewise.
562 * config/tc-arm.c (arm_handle_align): Likewise.
563 * config/tc-z80.c: Likewise.
568 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
573 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
574 * testsuite/gas/elf/elf.exp: Likewise.
575 * testsuite/gas/all/redef3.d: Allow execution for ARC.
579 * testsuite/gas/arc/warn.exp: Fix matching pattern.
583 * testsuite/gas/arc/ext2op.d: New file.
584 * testsuite/gas/arc/ext2op.s: Likewise.
585 * testsuite/gas/arc/ext3op.d: Likewise.
586 * testsuite/gas/arc/ext3op.s: Likewise.
590 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
592 * config/tc-alpha.c (md_parse_option): Likewise.
593 * config/tc-arc.c (md_parse_option): Likewise.
594 * config/tc-arm.c (struct arm_long_option_table): Likewise.
595 (md_parse_option): Likewise.
596 * config/tc-avr.c (md_parse_option): Likewise.
597 * config/tc-bfin.c (md_parse_option): Likewise.
598 * config/tc-cr16.c (md_parse_option): Likewise.
599 * config/tc-cris.c (s_cris_arch): Likewise.
600 (md_parse_option): Likewise.
601 * config/tc-crx.c (md_parse_option): Likewise.
602 * config/tc-d10v.c (md_parse_option): Likewise.
603 * config/tc-d30v.c (md_parse_option): Likewise.
604 * config/tc-dlx.c (md_parse_option): Likewise.
605 * config/tc-epiphany.c (md_parse_option): Likewise.
606 * config/tc-fr30.c (md_parse_option): Likewise.
607 * config/tc-frv.c (md_parse_option): Likewise.
608 * config/tc-ft32.c (md_parse_option): Likewise.
609 * config/tc-h8300.c (md_parse_option): Likewise.
610 * config/tc-hppa.c (md_parse_option): Likewise.
611 * config/tc-i370.c (md_parse_option): Likewise.
612 * config/tc-i386.c (md_parse_option): Likewise.
613 * config/tc-i860.c (md_parse_option): Likewise.
614 * config/tc-i960.c (md_parse_option): Likewise.
615 * config/tc-ia64.c (md_parse_option): Likewise.
616 * config/tc-ip2k.c (md_parse_option): Likewise.
617 * config/tc-iq2000.c (md_parse_option): Likewise.
618 * config/tc-lm32.c (md_parse_option): Likewise.
619 * config/tc-m32c.c (md_parse_option): Likewise.
620 * config/tc-m32r.c (md_parse_option): Likewise.
621 * config/tc-m68hc11.c (md_parse_option): Likewise.
622 * config/tc-m68k.c (md_parse_option): Likewise.
623 * config/tc-mcore.c (md_parse_option): Likewise.
624 * config/tc-mep.c (md_parse_option): Likewise.
625 * config/tc-metag.c (struct metag_long_option): Likewise.
626 (md_parse_option): Likewise.
627 * config/tc-microblaze.c (md_parse_option): Likewise.
628 * config/tc-microblaze.h (md_parse_option): Remove prototype.
629 * config/tc-mips.c (md_parse_option): Adjust.
630 * config/tc-mmix.c (md_parse_option): Likewise.
631 * config/tc-mn10200.c (md_parse_option): Likewise.
632 * config/tc-mn10300.c (md_parse_option): Likewise.
633 * config/tc-moxie.c (md_parse_option): Likewise.
634 * config/tc-msp430.c (md_parse_option): Likewise.
635 * config/tc-mt.c (md_parse_option): Likewise.
636 * config/tc-nds32.c (md_parse_option): Likewise.
637 * config/tc-nds32.h (nds32_parse_option): Likewise.
638 * config/tc-nios2.c (md_parse_option): Likewise.
639 * config/tc-ns32k.c (md_parse_option): Likewise.
640 * config/tc-or1k.c (md_parse_option): Likewise.
641 * config/tc-pdp11.c (md_parse_option): Likewise.
642 * config/tc-pj.c (md_parse_option): Likewise.
643 * config/tc-ppc.c (md_parse_option): Likewise.
644 * config/tc-rl78.c (md_parse_option): Likewise.
645 * config/tc-rx.c (md_parse_option): Likewise.
646 * config/tc-s390.c (s390_parse_cpu): Likewise.
647 * config/tc-score.c (md_parse_option): Likewise.
648 * config/tc-sh.c (md_parse_option): Likewise.
649 * config/tc-sparc.c (md_parse_option): Likewise.
650 * config/tc-spu.c (md_parse_option): Likewise.
651 * config/tc-tic30.c (md_parse_option): Likewise.
652 * config/tc-tic4x.c (md_parse_option): Likewise.
653 * config/tc-tic54x.c (md_parse_option): Likewise.
654 * config/tc-tic6x.c (md_parse_option): Likewise.
655 * config/tc-tilegx.c (md_parse_option): Likewise.
656 * config/tc-tilepro.c (md_parse_option): Likewise.
657 * config/tc-v850.c (md_parse_option): Likewise.
658 * config/tc-vax.c (md_parse_option): Likewise.
659 * config/tc-visium.c (struct visium_long_option_table): Likewise.
660 * config/tc-xc16x.c (md_parse_option): Likewise.
661 * config/tc-xgate.c (md_parse_option): Likewise.
662 * config/tc-xstormy16.c (md_parse_option): Likewise.
663 * config/tc-xtensa.c (md_parse_option): Likewise.
664 * config/tc-z80.c (md_parse_option): Likewise.
665 * config/tc-z8k.c (md_parse_option): Likewise.
666 * tc.h (md_parse_option): Likewise.
670 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
671 * config/tc-hppa.c (fix_new_hppa): Likewise.
672 (pa_vtable_entry): Likewise.
673 (pa_vtable_inherit): Likewise.
674 * config/tc-m68k.c (md_begin): Likewise.
678 * config/obj-elf.c (obj_elf_section_name): Return const char *.
679 * config/obj-elf.h (obj_elf_section_name): Adjust.
680 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
681 (aarch64_parse_cpu): Likewise.
682 (aarch64_parse_arch): Likewise.
683 * config/tc-arm.c (arm_parse_extension): Likewise.
684 (arm_parse_cpu): Likewise.
685 (arm_parse_arch): Likewise.
686 * config/tc-nds32.c: Likewise.
687 * config/xtensa-relax.c (parse_special_fn): Likewise.
688 * stabs.c (generate_asm_file): Likewise.
692 * config/tc-cr16.c (cr16_assemble): New function.
693 (md_assemble): Call cr16_assemble.
697 * as.c (parse_args): Adjust.
698 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
699 * config/obj-elf.c (elf_frob_symbol): Adjust.
703 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
704 registers to be in the 16..31 range.
708 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
713 * config/tc-visium.c (md_atof): Localize the string returned on
718 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
719 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
720 * config/tc-m68hc11.c (md_begin): Likewise.
721 (print_opcode_list): Likewise.
722 * config/tc-msp430.c (msp430_section): Likewise.
723 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
724 (s3_build_dependency_insn_hsh): Likewise.
725 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
726 (s7_build_dependency_insn_hsh): Likewise.
727 * config/tc-tic4x.c: Likewise.
728 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
729 (subsym_get_arg): Likewise.
730 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
731 (get_directive): Likewise.
732 (cache_literal_section): Likewise.
733 * config/xtensa-relax.c: Likewise.
734 * symbols.c (symbol_create): Likewise.
735 (local_symbol_make): Likewise.
736 (symbol_relc_make_expr): Likewise.
740 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
745 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
750 * config/tc-ia64.c (ia64_do_align): Remove.
751 (ia64_cons_align): Call do_align () directly.
752 (dot_proc): Likewise.
753 (stmt_float_cons): Likewise.
757 * listing.c (listing_message): Use XNEW style allocation macros.
758 * read.c (read_a_source_file): Likewise.
759 (read_symbol_name): Likewise.
760 (s_mri_common): Likewise.
761 (assign_symbol): Likewise.
763 (emit_expr_with_reloc): Likewise.
764 (s_incbin): Likewise.
765 (s_include): Likewise.
766 * sb.c (sb_build): Likewise.
767 (sb_check): Likewise.
771 * write.c (record_alignment): Revert 2016-02-18 change.
775 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
776 (emit_jsrjmp, tc_gen_reloc): Likewise.
777 * config/tc-i370.c (i370_macro): Likewise.
781 * configure: Regenerate.
785 * testsuite/gas/arc/nps400-0.d: New file.
786 * testsuite/gas/arc/nps400-0.s: New file.
787 * testsuite/gas/arc/nps400-1.d: New file.
788 * testsuite/gas/arc/nps400-1.s: New file.
792 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
793 declarations to start of block. Reset code on all flags before
794 attempting to match them. Handle multiple hits on the same flag.
796 * testsuite/gas/arc/asm-errors.d: New file.
797 * testsuite/gas/arc/asm-errors.err: New file.
798 * testsuite/gas/arc/asm-errors.s: New file.
802 * config/tc-arc.c (cpu_types): Add nps400 entry.
803 (check_zol): Handle nps400.
807 * config/tc-arc.c (arc_select_cpu): Remove use of
812 * config/tc-arc.c (arc_target): Delay initialisation until
814 (arc_target_name): Likewise.
815 (arc_features): Likewise.
816 (arc_mach_type): Likewise.
817 (cpu_types): Remove "all" entry.
818 (arc_select_cpu): New function, most of the content is from...
819 (md_parse_option): ... here. Call new arc_select_cpu.
820 (md_begin): Call arc_select_cpu if needed, default is now arc700.
824 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
825 * testsuite/gas/arc/inline-data-2.d: New file.
829 * atof-generic.c: Replace use of alloca with call to xmalloc.
831 * dwarf2dbg.c: Likewise.
835 * symbols.c: Likewise.
836 * config/obj-elf.c: Likewise.
837 * config/tc-aarch64.c: Likewise.
838 * config/tc-arc.c: Likewise.
839 * config/tc-arm.c: Likewise.
840 * config/tc-avr.c: Likewise.
841 * config/tc-ia64.c: Likewise.
842 * config/tc-mips.c: Likewise.
843 * config/tc-msp430.c: Likewise.
844 * config/tc-nds32.c: Likewise.
845 * config/tc-ppc.c: Likewise.
846 * config/tc-sh.c: Likewise.
847 * config/tc-tic30.c: Likewise.
848 * config/tc-tic54x.c: Likewise.
849 * config/tc-xstormy16.c: Likewise.
850 * config/te-vms.c: Likewise.
851 * configure: Regenerate.
855 * tc-i386.c (f32_1): Change type to unsigned char[].
876 (f32_patt): Likewise.
877 (f16_patt): Likewise.
886 (alt_patt): Likewise.
890 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
891 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
892 .tlsdescldr and .xword directives.
895 * testsuite/gas/aarch64/pr19721.s: New test source file.
896 * testsuite/gas/aarch64/pr19721.d: New test driver file.
898 * doc/as.texinfo: Place the target specific command line options
899 into their own man page section.
903 * config/tc-arm.c (N_S_32): New.
904 (N_F_16_32): Likewise.
905 (N_SUF_32): Support N_F16.
907 (neon_dyadic_misc): Likewise.
908 (do_neon_cmp): Likewise.
909 (do_neon_cmp_inv): Likewise.
910 (do_neon_mul): Likewise.
911 (do_neon_fcmp_absolute): Likewise.
912 (do_neon_step): Likewise.
913 (do_neon_abs_neg): Likewise.
914 (CVT_FLAVOR_VAR): Likewise.
915 (do_neon_cvt_1): Likewise.
916 (do_neon_recip_est): Likewise.
917 (do_vmaxnm): Likewise.
918 (do_vrint_1): Likewise.
919 (neon_check_type): Check architecture support for FP16 extension.
920 (insns): Update comments.
921 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
922 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
923 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
924 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
926 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
928 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
933 * read.c (emit_expr_with_reloc): Add code check a bignum with
935 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
937 * testsuite/gas/elf/bignum.s: New test source file.
938 * testsuite/gas/elf/bignum.d: New test driver file.
939 * testsuite/gas/elf/elf.exp: Run the new test.
943 * doc/c-i386.texi (Register Naming): Update to details of the
944 latest architecture version.
949 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
951 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
952 (do_t_mov_cmp): Likewise.
953 (do_t_add_sub): Protect against bad relocations usage.
954 (do_t_mov_cmp): Likewise.
955 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
956 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
957 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
958 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
962 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
964 (do_neon_ld_st_lane): Likewise.
965 (do_neon_ld_dup): Likewise.
969 * testsuite/gas/arc/inline-data-1.d: New file.
970 * testsuite/gas/arc/inline-data-1.s: New file.
974 * config/tc-arm.c (arm_cpus): Add cortex-r8.
975 * doc/c-arm.texi: Add cortex-r8.
979 * config/tc-arc.c: Add const qualifiers.
980 * config/tc-h8300.c (md_begin): Likewise.
981 * config/tc-ia64.c (print_prmask): Likewise.
982 * config/tc-msp430.c (msp430_operands): Likewise.
983 * config/tc-nds32.c (struct suffix_name): Likewise.
984 (struct nds32_parse_option_table): Likewise.
985 (struct nds32_set_option_table): Likewise.
986 (do_pseudo_pushpopm): Likewise.
987 (do_pseudo_pushpop_stack): Likewise.
988 (nds32_relax_relocs): Likewise.
989 (nds32_flag): Likewise.
990 (struct nds32_hint_map): Likewise.
991 (nds32_find_reloc_table): Likewise.
992 (nds32_match_hint_insn): Likewise.
993 * config/tc-s390.c: Likewise.
994 * config/tc-sh.c (get_specific): Likewise.
995 * config/tc-tic30.c: Likewise.
996 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
997 (tic4x_indirect_parse): Likewise.
998 * config/tc-vax.c (vax_cons): Likewise.
999 * config/tc-z80.c (struct reg_entry): Likewise.
1000 * config/tc-epiphany.c (md_assemble): Adjust.
1001 (epiphany_assemble): New function.
1002 (epiphany_elf_section_rtn): Call do_align directly.
1003 (epiphany_elf_section_text): Likewise.
1004 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
1005 (ip2k_elf_section_text): Likewise.
1006 * read.c (do_align): Make it not static.
1007 * read.h (do_align): New prototype.
1011 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
1012 for ARMv8.1 AdvSIMD use.
1013 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
1014 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
1018 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
1020 (record_feature_use): New.
1021 (mark_feature_used): Use record_feature_use.
1022 (do_neon_qrdmlah): New.
1023 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
1025 (arm_extensions): Put into alphabetical order. Re-indent "simd"
1026 and "rdma" entries. Fix the incorrect merge value for "+rdma".
1027 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
1028 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
1029 Make source file explicit.
1030 * testsuite/gas/arm/armv8-a+rdma.l: New.
1031 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
1032 directives. Fix white-space.
1033 * testsuite/gas/arm/armv8_1-a+simd.d: New.
1037 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
1042 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
1043 (tc_arc_fix_adjustable): Changed default return value to 1.
1044 * testsuite/gas/arc/j.d: Updated expected symbol
1045 * testsuite/gas/arc/jl.d: Likewise
1046 * testsuite/gas/arc/relax-avoid1.d: Likewise
1047 * testsuite/gas/arc/st.d: Likewise
1051 * config/tc-arc.c: Enable code density instructions for ARC EM.
1056 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
1058 * as.c (flag_use_elf_stt_common): New.
1059 (show_usage): Add --elf-stt-common=.
1060 (option_values): Add OPTION_ELF_STT_COMMON.
1061 (std_longopts): Add --elf-stt-common=.
1062 (parse_args): Handle --elf-stt-common=.
1063 * as.h (flag_use_elf_stt_common): New.
1064 * config.in: Regenerated.
1065 * configure: Likewise.
1066 * configure.ac: Add --enable-elf-stt-common and define
1067 DEFAULT_GENERATE_ELF_STT_COMMON.
1068 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
1069 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
1070 * doc/as.texinfo: Document --elf-stt-common=.
1071 * testsuite/gas/elf/common3.s: New file.
1072 * testsuite/gas/elf/common3a.d: Likewise.
1073 * testsuite/gas/elf/common3b.d: Likewise.
1074 * testsuite/gas/elf/common4.s: Likewise.
1075 * testsuite/gas/elf/common4a.d: Likewise.
1076 * testsuite/gas/elf/common4b.d: Likewise.
1077 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1078 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1079 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
1081 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
1082 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
1083 --elf-stt-common=no to as.
1084 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
1085 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
1086 --elf-stt-common=no to as.
1087 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
1088 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
1089 of dw2-compress-3 and dw2-compressed-3.
1093 * as.c (select_emulation_mode): Add const qualifiers.
1095 * config/bfin-defs.h: Likewise.
1096 * config/bfin-parse.y: Likewise.
1097 * config/rx-parse.y: Likewise.
1098 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
1099 (struct aarch64_cpu_option_table): Likewise.
1100 (struct aarch64_arch_option_table): Likewise.
1101 (struct aarch64_option_cpu_value_table): Likewise.
1102 (struct aarch64_long_option_table): Likewise.
1103 (struct aarch64_option_abi_value_table): Likewise.
1104 * config/tc-arm.c (struct reloc_entry): Likewise.
1105 (tc_gen_reloc): Likewise.
1106 (struct arm_option_table): Likewise.
1107 (struct arm_legacy_option_table): Likewise.
1108 (struct arm_cpu_option_table): Likewise.
1109 (struct arm_arch_option_table): Likewise.
1110 (struct arm_option_extension_value_table): Likewise.
1111 (struct arm_option_fpu_value_table): Likewise.
1112 (struct arm_option_value_table): Likewise.
1113 (struct arm_long_option_table): Likewise.
1114 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
1115 (struct mcu_type_s): Likewise.
1116 (struct exp_mod_s): Likewise.
1117 (avr_operand): Likewise.
1118 (avr_operands): Likewise.
1119 * config/tc-d10v.c (md_begin): Likewise.
1120 * config/tc-dlx.c: Likewise.
1121 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
1122 * config/tc-ft32.c (parse_condition): Likewise.
1123 * config/tc-h8300.c (do_a_fix_imm): Likewise.
1124 * config/tc-hppa.c (pa_ip): Likewise.
1125 (hppa_regname_to_dw2regnum): Likewise.
1126 * config/tc-i370.c (i370_elf_suffix): Likewise.
1127 * config/tc-i960.c (struct tabentry): Likewise.
1128 * config/tc-m32r.c: Likewise.
1129 * config/tc-m68k.c: Likewise.
1130 * config/tc-m68k.h: Likewise.
1131 * config/tc-mcore.c (parse_psrmod): Likewise.
1132 * config/tc-metag.c (struct metag_core_option): Likewise.
1133 (struct metag_long_option): Likewise.
1134 * config/tc-microblaze.c: Likewise.
1135 * config/tc-mips.c (macro): Likewise.
1136 * config/tc-mn10200.c: Likewise.
1137 * config/tc-mn10300.c: Likewise.
1138 * config/tc-msp430.c (struct rcodes_s): Likewise.
1139 (struct hcodes_s): Likewise.
1140 (md_parse_option): Likewise.
1141 * config/tc-ns32k.c (struct ns32k_option): Likewise.
1142 (optlist): Likewise.
1143 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
1144 (tc_ppc_regname_to_dw2regnum): Likewise.
1145 * config/tc-ppc.h: Likewise.
1146 * config/tc-rl78.c: Likewise.
1147 * config/tc-rx.c (struct cpu_type): Likewise.
1148 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
1149 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
1150 (sparc_ip): Likewise.
1151 * config/tc-spu.c (insn_fmt_string): Likewise.
1152 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1153 * config/tc-v850.c: Likewise.
1154 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
1155 (struct visium_long_option_table): Likewise.
1156 * config/tc-xgate.c: Likewise.
1157 * config/tc-z8k.c: Likewise.
1158 * read.c (add_include_dir): Likewise.
1163 * testsuite/gas/all/gas.exp: Change target pattern to cover
1165 * testsuite/gas/all/redef3.d: Likewise.
1166 * testsuite/gas/elf/elf.exp: Likewise.
1170 * config/tc-arm.c (BAD_FP16): New error message macro.
1171 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
1172 fp16 scalar instructions.
1173 (neon_check_type): Allow different size from key.
1174 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
1175 (try_vfp_nsyn): Likewise.
1176 (do_vfp_nsyn_mla_mls): Likewise.
1177 (do_vfp_nsyn_fma_fms): Likewise.
1178 (do_vfp_nsyn_ldm_stm): Likewise
1179 (do_vfp_nsyn_sqrt): Likewise
1180 (do_vfp_nsyn_div): Likewise
1181 (do_vfp_nsyn_nmul): Likewise.
1182 (do_vfp_nsyn_cmp): Likewise.
1183 (do_neon_shll): Likewise.
1184 (do_vfp_nsyn_cvt_fpv8): Likewise.
1185 (do_neon_cvttb_2): Likewise.
1186 (do_neon_mov): Likewise.
1187 (do_neon_rshift_round_imm): Likewise.
1188 (do_neon_ldr_str): Likewise.
1189 (do_vfp_nsyn_fpv8): Likewise.
1190 (do_vmaxnm): Likewise.
1191 (do_vrint_1): Likewise.
1192 (insns): New entry for vins, vmovx.
1193 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
1194 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
1195 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
1196 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
1197 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
1198 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
1199 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
1203 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
1204 (neon_shape_class): New SC_HALF.
1205 (neon_shape_el): New SE_H.
1206 (neon_shape_el_size): New size for SE_H.
1207 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
1208 (neon_select_shape): Add SE_H support code.
1209 (el_type_of_type_chk): Use N_F_ALL.
1210 (do_vfp_nsyn_cvt): Add SE_H shape support.
1211 (do_neon_cvtz): Likewise.
1212 (do_neon_cvt_1): Likewise.
1213 (do_neon_cvttb_1): Likewise.
1217 * testsuite/gas/arm/copro.d: Adjust output.
1218 * testsuite/gas/arm/copro.s: Adjust co-processor num.
1222 * testsuite/gas/arm/mask_1.d: New.
1223 * testsuite/gas/arm/mask_1.s: New.
1227 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
1228 * testsuite/gas/arm/copro.d: Update.
1232 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
1233 * doc/c-arm.texi (ARM Options): Document cortex-a32.
1237 * doc/c-arm.texi (ARM Options): Document cortex-a17.
1241 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
1246 * output-file.c (output_file_create): Make file name argument const.
1247 (output_file_close): Likewise.
1248 * output-file.h (output_file_create): Adjust.
1249 (output_file_close): Likewise.
1250 * depend.c (quote_string_for_make): Make src argument const char *.
1251 (register_dependency): Likewise.
1252 (wrap_output): Likewise.
1253 * as.h (register_dependency): Adjust.
1254 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
1256 * symbols.c (S_SET_EXTERNAL): Likewise.
1257 * input-scrub.c (as_where): Return the file name.
1258 * as.h (as_where): Adjust prototype.
1259 * app.c (do_scrub_chars): Adjust.
1260 * cond.c (s_elseif): Likewise.
1262 (initialize_cframe): Likewise.
1263 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
1264 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1265 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1266 * config/tc-aarch64.c (output_info): Likewise.
1267 * config/tc-ia64.c (md_assemble): Likewise.
1268 (dot_alias): Likewise.
1269 * config/tc-m68k.c (m68k_frob_label): Likewise.
1270 * config/tc-mmix.c (s_bspec): Likewise.
1271 (mmix_handle_mmixal): Likewise.
1272 * config/tc-rx.c (rx_include): Likewise.
1273 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1274 (tic54x_adjust_symtab): Likewise.
1275 * config/tc-xtensa.c (directive_push): Likewise.
1276 (xtensa_sanity_check): Likewise.
1277 (xtensa_relax_frag): Likewise.
1278 (md_convert_frag): Likewise.
1279 (tinsn_to_slotbuf): Likewise.
1280 * dwarf2dbg.c (dwarf2_where): Likewise.
1281 * ecoff.c (add_file): Likewise.
1282 (ecoff_generate_asm_lineno): Likewise.
1283 * expr.c (make_expr_symbol): Likewise.
1284 * frags.c (frag_new): Likewise.
1285 (frag_var_init): Likewise.
1286 * listing.c (listing_newline): Likewise.
1287 * messages.c (identify): Likewise.
1288 (as_show_where): Likewise.
1289 (as_warn_internal): Likewise.
1290 (as_bad_internal): Likewise.
1291 * read.c (s_irp): Likewise.
1292 (s_macro): Likewise.
1293 (s_reloc): Likewise.
1294 * stabs.c (stabs_generate_asm_file): Likewise.
1295 (stabs_generate_asm_lineno): Likewise.
1296 (stabs_generate_asm_func): Likewise.
1297 * write.c (fix_new_internal): Likewise.
1298 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
1299 (as_warn_value_out_of_range): Adjust prototype.
1300 (as_bad_value_out_of_range): Adjust prototype.
1301 * messages.c (identify): Make file name argument const char *.
1302 (as_warn_internal): Likewise.
1303 (as_warn_where): Likewise.
1304 (as_bad_internal): Likewise.
1305 (as_bad_where): Likewise.
1306 (as_internal_value_out_of_range): Likewise.
1307 (as_warn_value_out_of_range): Likewise.
1308 (as_bad_value_out_of_range): Likewise.
1309 * as.h (found_comment_file): Change type to const char *.
1310 * cond.c (file_line::file): Likewise.
1311 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
1312 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1313 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1314 * config/tc-aarch64.c (output_info): Likewise.
1315 * config/tc-alpha.c (insert_operand): Likewise.
1316 * config/tc-arc.c (insert_operand): Likewise.
1317 * config/tc-d30v.c (check_size): Likewise.
1318 * config/tc-ia64.c (struct alias): Likewise.
1319 * config/tc-m68k.c (struct label_line): Likewise.
1320 * config/tc-mcore.c (md_apply_fix): Likewise.
1321 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
1322 * config/tc-mips.c (mips16_immed): Likewise.
1323 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
1324 * config/tc-ppc.c (ppc_insert_operand): Likewise.
1325 * config/tc-rx.c (rx_include): Likewise.
1326 * config/tc-s390.c (s390_insert_operand): Likewise.
1327 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1328 (tic54x_adjust_symtab): Likewise.
1329 * config/tc-tilegx.c (insert_operand): Likewise.
1330 (apply_special_operator): Likewise.
1331 * config/tc-tilepro.c (insert_operand): Likewise.
1332 * config/tc-xtensa.c (directive_push): Likewise.
1333 * ecoff.c (add_file): Likewise.
1334 (ecoff_generate_asm_lineno): Likewise.
1335 * listing.c (listing_newline): Likewise.
1336 * read.c (s_irp): Likewise.
1337 * write.c (install_reloc): Likewise.
1338 * write.h (struct fix): Likewise.
1339 * input-file.c (file_name): Change type to const char *.
1340 (saved_file::file_name): Likewise.
1341 (input_file_open): Change type of argument to const char *.
1342 * input-file.h (input_file_open): Adjust.
1343 * input-scrub.c (logical_input_file): change type to const char *.
1344 (physical_input_file): Likewise.
1345 (struct input_save): Adjust.
1346 (input_scrub_push): Adjust.
1347 (input_scrub_begin): Adjust.
1349 * input-scrub.c (input_scrub_new_file): Make file name argument const.
1350 (input_scrub_include_file): Likewise.
1351 (new_logical_line_flags): Likewise.
1352 (new_logical_line): Likewise.
1354 * frags.h (struct frag): Change type of fr_file to const char *.
1355 * expr.c (expr_symbol_where): Change type of file argument to
1357 * expr.h (expr_symbol_where): Likewise.
1358 * config/tc-i370.c (md_apply_fix): adjust.
1359 * config/tc-mmix.c (mmix_md_end): Likewise.
1360 * config/tc-ppc.c (md_apply_fix): Likewise.
1361 * config/tc-s390.c (md_apply_fix): Likewise.
1362 * symbols.c (report_op_error): Likewise.
1363 (resolve_symbol_value): Likewise.
1364 * config/tc-ia64.c (slot::src_file): Change type to const char *.
1365 (rsrc::file): Likewise.
1366 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
1368 (xtensa_relax_frag): Likewise.
1369 (md_convert_frag): Likewise.
1370 (tinsn_to_slotbuf): Likewise.
1371 * expr.c (expr_symbol_line): Likewise.
1372 * macro.c (define_macro): Likewise.
1373 * macro.h (macro_struct): Likewise.
1374 * messages.c (as_show_where): Likewise.
1375 * read.c (s_macro): Likewise.
1376 * stabs.c (stabs_generate_asm_file): Likewise.
1377 (generate_asm_file): Likewise.
1378 (stabs_generate_asm_lineno): Likewise.
1379 * write.h (struct reloc_list): Likewise.
1380 * input-scrub.c (as_where): Change return type to const char *.
1381 * as.h (as_wheree): Adjust.
1385 * write.c (compress_debug): Move BFD compression bits setting
1387 (write_object_file): Here.
1391 * config/tc-i386.c (register_number): Check RegVRex.
1392 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
1393 with %zmm19 and %zmm3.
1394 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
1395 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
1400 * config/tc-arm.c (arm_ext_fp16): New.
1401 (arm_extensions): New entry for "fp16".
1406 * read.c (read_a_source_file): Check for assemble_one returning
1407 with input_line_pointer set to NULL.
1411 * listing.c (rebuffer_line): Change return type to void.
1413 * symbols.c (decode_local_label_name): Make type a const char *.
1414 * listing.c (print_source): Make type of p const char *.
1415 (print_line): Make type of string const char *.
1416 (buffer_line): Return const char *.
1417 (title): Make type const char *.
1418 (subtitle): Likewise.
1419 (listing_listing): Make type of p const char *.
1420 * messages.c (as_internal_value_out_of_range): Make type of prefix
1422 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
1423 and string const char *.
1424 * read.c (_bfd_rel): Make type of name const char *.
1425 * app.c (out_string): Change type to const char *.
1426 (struct app_save::out_string): Likewise.
1431 * read.c (finish_bundle): Avoid recording a negative alignment.
1432 (do_align): Use unsigned values for n, len and max. Only create
1433 a frag if the alignment requirement is greater than the minimum
1434 byte alignment. Avoid recording a negative alignment.
1435 (s_align): Use unsigned values where appropriate.
1436 (bss_alloc): Use an unsigned value for the alignment.
1437 (sizeof_sleb128): Add a comment noting that we encode one octet
1438 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
1439 (emit_leb129_expr): Abort if the emitted encoding was longer than
1441 * read.h (output_leb128): Update prototype.
1442 (sizeof_leb128): Update prototype.
1443 (bss_alloc): Update prototype.
1444 * write.c (record_alignment): Use an unsigned value for the
1445 alignment. Do not record alignments less than the minimum
1446 alignment for a byte.
1447 * write.h (record_alignment): Update prototype.
1451 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
1452 .init.literal/.fini.literal section name.
1453 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
1454 list of xtensa tests.
1455 * testsuite/gas/xtensa/init-fini-literals.d: New file:
1456 init-fini-literals test result patterns.
1457 * testsuite/gas/xtensa/init-fini-literals.s: New file:
1458 init-fini-literals test.
1462 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
1463 devices.csv file as of March 2016.
1467 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
1469 (tc_arc_regname_to_dw2regnum): Likewise.
1470 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
1471 (tc_cfi_frame_initial_instructions): Likewise.
1472 (tc_regname_to_dw2regnum): Likewise.
1473 * testsuite/gas/cfi/cfi-arc-1.d: New file.
1474 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
1475 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
1479 * doc/internals.texi (S_IS_EXTERN): Remove.
1483 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
1489 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
1490 * testsuite/gas/aarch64/movw_label.d: New.
1491 * testsuite/gas/aarch64/movw_label.s: New.
1496 * config/rx-parse.y (MOV): Opcode generation for index
1497 register addressing mode.
1498 * testsuite/gas/rx/rx.exp: Updated for new testcase.
1499 * testsuite/gas/rx/pr19665.s: New file.
1500 * testsuite/gas/rx/pr19665.s: New file.
1501 * testsuite/gas/rx/mov.d: Update expected output.
1505 * doc/as.texinfo (.section): Document that numeric values can now
1506 be used for the flags and type fields of the ELF target's .section
1507 directive. Add notes about the restrictions on setting flags and
1509 * config/obj-elf.c (obj_elf_change_section): Allow known sections
1510 to be given processor specific section types. Allow processor and
1511 application specific flags of a section to be set after
1513 (obj_elf_parse_section_letters): Handle parsing numeric values.
1514 (obj_elf_section_type): Handle parsing numeric values.
1515 (obj_elf_section): Allow numeric type values.
1516 * config/obj-elf.h (obj_elf_change_section): Update prototype.
1517 * testsuite/gas/elf/section10.d: New test.
1518 * testsuite/gas/elf/section10.s: Source file for new test.
1519 * testsuite/gas/elf/elf.exp: Run the new test.
1520 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
1521 the description of the flags produced by readelf.
1522 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1523 * NEWS: Mention the new feature.
1528 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
1529 until it is actually used.
1530 (cfi_set_sections): Set cfi_sections_set to true.
1531 (dot_cfi_startproc): Likewise.
1532 (dot_cfi_endproc): Likewise.
1533 (dot_cfi_fde_data): Likewise.
1534 (cfi_finish): Likewise.
1535 (dot_cfi_sections): Do not set cfi_sections_set.
1536 * doc/as.texinfo (.cfi_sections): Note that targets can provide
1537 their own cfi section name. Also note that the directive can be
1538 reissued provided that CFI generation has not started.
1539 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
1540 .cfi_endproc directives so that the redefinition of .cfi_sections
1541 will trigger the generation of the error message.
1542 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
1543 number of error message.
1548 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
1549 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
1551 (arc_flags, arc_relax_type): New structure.
1552 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
1553 (RELAX_TABLE_ENTRY_MAX): New define.
1554 (relaxation_state, md_relax_table, arc_relaxable_insns)
1555 (arc_num_relaxable_ins): New variable.
1556 (rlx_operand_type, arc_rlx_types): New enums.
1557 (arc_relaxable_ins): New structure.
1558 (OPTION_RELAX): New option.
1559 (arc_insn): New relax member.
1560 (arc_flags): Remove.
1561 (relax_insn_p): New function.
1562 (apply_fixups): Likewise.
1563 (relaxable_operand): Likewise.
1564 (may_relax_expr): Likewise.
1565 (relaxable_flag): Likewise.
1566 (arc_pcrel_adjust): Likewise.
1567 (md_estimate_size_before_relax): Implement.
1568 (md_convert_frag): Likewise.
1569 (md_parse_option): Handle new mrelax option.
1570 (md_show_usage): Likewise.
1571 (assemble_insn): Set relax member.
1572 (emit_insn0): New function.
1573 (emit_insn1): Likewise.
1574 (emit_insn): Handle relaxation case.
1575 * NEWS: Mention the new relaxation option.
1576 * doc/c-arc.texi (ARC Options): Document new mrelax option.
1577 * doc/as.texinfo (Target ARC Options): Likewise.
1578 * testsuite/gas/arc/relax-avoid1.d: New file.
1579 * testsuite/gas/arc/relax-avoid1.s: Likewise.
1580 * testsuite/gas/arc/relax-avoid2.d: Likewise.
1581 * testsuite/gas/arc/relax-avoid2.s: Likewise.
1582 * testsuite/gas/arc/relax-avoid3.d: Likewise.
1583 * testsuite/gas/arc/relax-avoid3.s: Likewise.
1584 * testsuite/gas/arc/relax-b.d: Likewise.
1585 * testsuite/gas/arc/relax-b.s: Likewise.
1589 * config/tc-ia64.c (dot_prologue): Fix formatting.
1593 * config/obj-elf.c (obj_elf_change_section): Remove support for
1594 ARM NOREAD sections.
1595 * config/tc-arm.c (arm_elf_section_letter): Delete.
1596 * config/tc-arm.h (md_elf_section_letter): Delete.
1597 * doc/c-arm.texi (ARM Section Attribute): Delete section.
1598 * testsuite/gas/arm/section-execute-only.d: Delete.
1599 * testsuite/gas/arm/section-execute-only.s: Delete.
1604 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
1605 to handle encoding of RRUX instruction.
1606 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
1608 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
1612 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
1613 substitutions for BFD_RELOC_* as unsigned.
1614 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
1615 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
1616 * testsuite/gas/xtensa/loc.s: New file: loc test.
1620 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
1625 * NEWS: Mention new command line option -mrelax-relocations and
1626 new configure option --enable-x86-relax-relocations for x86
1628 * config.in: Regenerated.
1629 * configure.ac: Add --enable-x86-relax-relocations.
1630 (ac_default_x86_relax_relocations): New. Default to 1 except
1631 for x86 Solaris targets older than Solaris 12.
1632 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
1633 * configure: Likewise.
1634 * config/tc-i386.c (generate_relax_relocations): New.
1635 (OPTION_MRELAX_RELOCATIONS): Likewise.
1636 (output_disp): Don't generate relax relocations if
1637 generate_relax_relocations is 0.
1638 (md_longopts): Add -mrelax-relocations.
1639 (md_show_usage): Likewise.
1640 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
1641 * doc/c-i386.texi: Document -mrelax-relocations=.
1642 * testsuite/gas/i386/got-no-relax.d: New file.
1643 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
1644 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
1645 * testsuite/gas/i386/localpic.d: Likewise.
1646 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
1647 * testsuite/gas/i386/reloc32.d: Likewise.
1648 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
1649 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
1650 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
1651 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
1652 * testsuite/gas/i386/i386.exp: Run got-no-relax and
1653 x86-64-gotpcrel-no-relax.
1657 * NEWS: Mention new command line option -mfence-as-lock-add=yes
1662 * NEWS: Remove duplicated marker for 2.26.
1666 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
1670 * testsuite/gas/ip2k/allinsn.d: New file.
1671 * testsuite/gas/ip2k/allinsn.s: New file.
1672 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
1676 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
1677 some load instructions.
1678 * testsuite/gas/epiphany/allinsn.d: Likewise.
1679 * testsuite/gas/epiphany/regression.d: Likewise.
1683 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
1684 suffixes from instruction mnemonics in expected output.
1685 * testsuite/gas/epiphany/allinsn.d: Likewise.
1686 * testsuite/gas/epiphany/regression.d: Likewise.
1687 * testsuite/gas/epiphany/sample.d: Likewise.
1691 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
1693 * testsuite/gas/epiphany/allinsn.d: Likewise.
1694 * testsuite/gas/epiphany/sample.d: Likewise.
1698 * testsuite/gas/epiphany/sample.d: Update expected output.
1702 * config/tc-arc.c (md_apply_fix): Allow addendum.
1703 (arc_reloc_op): Allow complex expressions for tpoff.
1704 (md_apply_fix): Handle resolved TLS local symbol.
1705 * testsuite/gas/arc/tls-relocs1.d: New file.
1706 * testsuite/gas/arc/tls-relocs1.s: Likewise.
1711 * config/tc-arm.c (encode_arm_immediate): Recode to improve
1712 efficiency and avoid an LLVM loop optimization bug.
1716 * config/tc-microblaze.c (parse_imm): Fix compile time warning
1717 message extending a negative 32-bit value into a larger signed
1718 value on a 32-bit host.
1723 * configure.ac (compressed_debug_sections): Replace == with =.
1724 * configure: Regenerated.
1729 * config/tc-i386.c (avoid_fence): New.
1730 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
1732 (OPTION_FENCE_AS_LOCK_ADD): New.
1733 (md_longopts): Add -mfence-as-lock-add.
1734 (md_parse_option): Handle -mfence-as-lock-add.
1735 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
1736 * doc/c-i386.texi (-mfence-as-lock-add): Document.
1737 * testsuite/gas/i386/i386.exp: Run new tests.
1738 * testsuite/gas/i386/fence-as-lock-add.s: New.
1739 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
1740 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
1741 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
1742 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
1746 * configure.ac (compressed_debug_sections): Remove trailing `]'.
1747 * configure: Regenerated.
1751 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
1752 (OPTION_MOMIT_LOCK_PREFIX): This.
1753 (md_longopts): Updated.
1754 (md_parse_option): Likewise.
1758 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
1759 if abicalls are in effect.
1760 * testsuite/gas/mips/sdata-gp.s: New test.
1761 * testsuite/gas/mips/sdata-gp.d: New expected output
1762 * testsuite/gas/mips/mips.exp: Run new test.
1766 * testsuite/gas/arm/thumb2_it_search.d: New.
1767 * testsuite/gas/arm/thumb2_it_search.s: New.
1772 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
1773 with arm-netbsdelf target.
1774 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
1779 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
1780 * testsuite/gas/arm/blx-bl-convert.d
1781 * testsuite/gas/arm/plt-1.d: Likewise.
1782 * testsuite/gas/arm/reloc-bad.d: Likewise.
1783 * testsuite/gas/arm/thumb-w-good.d: Likewise.
1784 * testsuite/gas/arm/thumb2_pool.d: Likewise.
1785 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
1786 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
1789 * doc/as.texinfo (Errors): Correct documentation describing the
1790 interaction of .file and .line with warning and error messages.
1793 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
1794 * testsuite/gas/arm/archv8m-main.d: Likewise.
1795 * testsuite/gas/arm/archv8m-base.d: Likewise.
1799 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
1800 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
1801 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
1806 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
1807 SHF_ARM_NOREAD section flag.
1808 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
1810 (arm_elf_section_letter) : Declare it.
1811 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
1812 SHF_ARM_NOREAD section flag.
1813 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
1815 * testsuite/gas/arm/section-execute-only.s: New test case.
1816 * testsuite/gas/arm/section-execute-only.d: Expected output.
1820 * config/tc-mips.c (micromips_insn_length): Remove the mention
1821 of 48-bit microMIPS instructions.
1825 * configure: Regenerate.
1829 * configure: Regenerate.
1833 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
1837 * testsuite/gas/rl78/sp-relative-movw.s: New test.
1838 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
1839 * testsuite/gas/rl78/rl78.exp: Run the new test.
1843 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
1844 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
1848 * config/tc-nios2.c (output_movia): Preset `code' to 0.
1852 * config/tc-h8300.c (get_operand): Remove spurious condition in
1853 test for closing parenthesis.
1857 * config/tc-arm.c (arm_ext_v8_2): New.
1859 * testsuite/gas/arm/armv8_2-a.d: New.
1860 * testsuite/gas/arm/armv8_2-a.s: New.
1864 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
1868 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
1869 xvcmpnesp, xvcmpnesp.>: Delete tests.
1870 * testsuite/gas/ppc/power9.s: Likewise.
1871 * testsuite/gas/ppc/vsx3.d: Likewise.
1872 * testsuite/gas/ppc/vsx3.s: Likewise.
1877 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
1878 * testsuite/gas/m68k/p13050-1.s: New file.
1879 * testsuite/gas/m68k/p13050-2.d: New file.
1880 * testsuite/gas/m68k/p13050-2.s: New file.
1884 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
1885 * testsuite/gas/arc/add.d: Likewise.
1886 * testsuite/gas/arc/and.d: Likewise.
1887 * testsuite/gas/arc/asl.d: Likewise.
1888 * testsuite/gas/arc/asr.d: Likewise.
1889 * testsuite/gas/arc/bic.d: Likewise.
1890 * testsuite/gas/arc/extb.d: Likewise.
1891 * testsuite/gas/arc/extw.d: Likewise.
1892 * testsuite/gas/arc/j.d: Likewise.
1893 * testsuite/gas/arc/jl.d: Likewise.
1894 * testsuite/gas/arc/ld2.d: Likewise.
1895 * testsuite/gas/arc/lsr.d: Likewise.
1896 * testsuite/gas/arc/mov.d: Likewise.
1897 * testsuite/gas/arc/or.d: Likewise.
1898 * testsuite/gas/arc/pcl-relocs.d: Likewise.
1899 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
1900 * testsuite/gas/arc/pic-relocs.d: Likewise.
1901 * testsuite/gas/arc/plt-relocs.d: Likewise.
1902 * testsuite/gas/arc/rlc.d: Likewise.
1903 * testsuite/gas/arc/ror.d: Likewise.
1904 * testsuite/gas/arc/rrc.d: Likewise.
1905 * testsuite/gas/arc/sbc.d: Likewise.
1906 * testsuite/gas/arc/sda-relocs.d: Likewise.
1907 * testsuite/gas/arc/sda-relocs2.d: Likewise.
1908 * testsuite/gas/arc/sexb.d: Likewise.
1909 * testsuite/gas/arc/sexw.d: Likewise.
1910 * testsuite/gas/arc/st.d: Likewise.
1911 * testsuite/gas/arc/sub.d: Likewise.
1912 * testsuite/gas/arc/tls-relocs.d: Likewise.
1913 * testsuite/gas/arc/xor.d: Likewise.
1917 Update year range in copyright notice of all files.
1919 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1921 Copyright (C) 2016 Free Software Foundation, Inc.
1923 Copying and distribution of this file, with or without modification,
1924 are permitted in any medium without royalty provided the copyright
1925 notice and this notice are preserved.
1931 version-control: never