3 * config/tc-arm.c (N_S_32): New.
5 (N_SUF_32): Support N_F16.
7 (neon_dyadic_misc): Likewise.
8 (do_neon_cmp): Likewise.
9 (do_neon_cmp_inv): Likewise.
10 (do_neon_mul): Likewise.
11 (do_neon_fcmp_absolute): Likewise.
12 (do_neon_step): Likewise.
13 (do_neon_abs_neg): Likewise.
14 (CVT_FLAVOR_VAR): Likewise.
15 (do_neon_cvt_1): Likewise.
16 (do_neon_recip_est): Likewise.
17 (do_vmaxnm): Likewise.
18 (do_vrint_1): Likewise.
19 (neon_check_type): Check architecture support for FP16 extension.
20 (insns): Update comments.
21 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
22 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
23 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
24 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
26 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
28 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
33 * read.c (emit_expr_with_reloc): Add code check a bignum with
35 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
37 * testsuite/gas/elf/bignum.s: New test source file.
38 * testsuite/gas/elf/bignum.d: New test driver file.
39 * testsuite/gas/elf/elf.exp: Run the new test.
43 * doc/c-i386.texi (Register Naming): Update to details of the
44 latest architecture version.
49 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
51 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
52 (do_t_mov_cmp): Likewise.
53 (do_t_add_sub): Protect against bad relocations usage.
54 (do_t_mov_cmp): Likewise.
55 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
56 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
57 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
58 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
62 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
64 (do_neon_ld_st_lane): Likewise.
65 (do_neon_ld_dup): Likewise.
69 * testsuite/gas/arc/inline-data-1.d: New file.
70 * testsuite/gas/arc/inline-data-1.s: New file.
74 * config/tc-arm.c (arm_cpus): Add cortex-r8.
75 * doc/c-arm.texi: Add cortex-r8.
79 * config/tc-arc.c: Add const qualifiers.
80 * config/tc-h8300.c (md_begin): Likewise.
81 * config/tc-ia64.c (print_prmask): Likewise.
82 * config/tc-msp430.c (msp430_operands): Likewise.
83 * config/tc-nds32.c (struct suffix_name): Likewise.
84 (struct nds32_parse_option_table): Likewise.
85 (struct nds32_set_option_table): Likewise.
86 (do_pseudo_pushpopm): Likewise.
87 (do_pseudo_pushpop_stack): Likewise.
88 (nds32_relax_relocs): Likewise.
89 (nds32_flag): Likewise.
90 (struct nds32_hint_map): Likewise.
91 (nds32_find_reloc_table): Likewise.
92 (nds32_match_hint_insn): Likewise.
93 * config/tc-s390.c: Likewise.
94 * config/tc-sh.c (get_specific): Likewise.
95 * config/tc-tic30.c: Likewise.
96 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
97 (tic4x_indirect_parse): Likewise.
98 * config/tc-vax.c (vax_cons): Likewise.
99 * config/tc-z80.c (struct reg_entry): Likewise.
100 * config/tc-epiphany.c (md_assemble): Adjust.
101 (epiphany_assemble): New function.
102 (epiphany_elf_section_rtn): Call do_align directly.
103 (epiphany_elf_section_text): Likewise.
104 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
105 (ip2k_elf_section_text): Likewise.
106 * read.c (do_align): Make it not static.
107 * read.h (do_align): New prototype.
111 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
112 for ARMv8.1 AdvSIMD use.
113 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
114 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
118 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
120 (record_feature_use): New.
121 (mark_feature_used): Use record_feature_use.
122 (do_neon_qrdmlah): New.
123 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
125 (arm_extensions): Put into alphabetical order. Re-indent "simd"
126 and "rdma" entries. Fix the incorrect merge value for "+rdma".
127 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
128 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
129 Make source file explicit.
130 * testsuite/gas/arm/armv8-a+rdma.l: New.
131 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
132 directives. Fix white-space.
133 * testsuite/gas/arm/armv8_1-a+simd.d: New.
137 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
142 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
143 (tc_arc_fix_adjustable): Changed default return value to 1.
144 * testsuite/gas/arc/j.d: Updated expected symbol
145 * testsuite/gas/arc/jl.d: Likewise
146 * testsuite/gas/arc/relax-avoid1.d: Likewise
147 * testsuite/gas/arc/st.d: Likewise
151 * config/tc-arc.c: Enable code density instructions for ARC EM.
156 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
158 * as.c (flag_use_elf_stt_common): New.
159 (show_usage): Add --elf-stt-common=.
160 (option_values): Add OPTION_ELF_STT_COMMON.
161 (std_longopts): Add --elf-stt-common=.
162 (parse_args): Handle --elf-stt-common=.
163 * as.h (flag_use_elf_stt_common): New.
164 * config.in: Regenerated.
165 * configure: Likewise.
166 * configure.ac: Add --enable-elf-stt-common and define
167 DEFAULT_GENERATE_ELF_STT_COMMON.
168 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
169 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
170 * doc/as.texinfo: Document --elf-stt-common=.
171 * testsuite/gas/elf/common3.s: New file.
172 * testsuite/gas/elf/common3a.d: Likewise.
173 * testsuite/gas/elf/common3b.d: Likewise.
174 * testsuite/gas/elf/common4.s: Likewise.
175 * testsuite/gas/elf/common4a.d: Likewise.
176 * testsuite/gas/elf/common4b.d: Likewise.
177 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
178 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
179 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
181 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
182 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
183 --elf-stt-common=no to as.
184 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
185 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
186 --elf-stt-common=no to as.
187 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
188 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
189 of dw2-compress-3 and dw2-compressed-3.
193 * as.c (select_emulation_mode): Add const qualifiers.
195 * config/bfin-defs.h: Likewise.
196 * config/bfin-parse.y: Likewise.
197 * config/rx-parse.y: Likewise.
198 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
199 (struct aarch64_cpu_option_table): Likewise.
200 (struct aarch64_arch_option_table): Likewise.
201 (struct aarch64_option_cpu_value_table): Likewise.
202 (struct aarch64_long_option_table): Likewise.
203 (struct aarch64_option_abi_value_table): Likewise.
204 * config/tc-arm.c (struct reloc_entry): Likewise.
205 (tc_gen_reloc): Likewise.
206 (struct arm_option_table): Likewise.
207 (struct arm_legacy_option_table): Likewise.
208 (struct arm_cpu_option_table): Likewise.
209 (struct arm_arch_option_table): Likewise.
210 (struct arm_option_extension_value_table): Likewise.
211 (struct arm_option_fpu_value_table): Likewise.
212 (struct arm_option_value_table): Likewise.
213 (struct arm_long_option_table): Likewise.
214 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
215 (struct mcu_type_s): Likewise.
216 (struct exp_mod_s): Likewise.
217 (avr_operand): Likewise.
218 (avr_operands): Likewise.
219 * config/tc-d10v.c (md_begin): Likewise.
220 * config/tc-dlx.c: Likewise.
221 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
222 * config/tc-ft32.c (parse_condition): Likewise.
223 * config/tc-h8300.c (do_a_fix_imm): Likewise.
224 * config/tc-hppa.c (pa_ip): Likewise.
225 (hppa_regname_to_dw2regnum): Likewise.
226 * config/tc-i370.c (i370_elf_suffix): Likewise.
227 * config/tc-i960.c (struct tabentry): Likewise.
228 * config/tc-m32r.c: Likewise.
229 * config/tc-m68k.c: Likewise.
230 * config/tc-m68k.h: Likewise.
231 * config/tc-mcore.c (parse_psrmod): Likewise.
232 * config/tc-metag.c (struct metag_core_option): Likewise.
233 (struct metag_long_option): Likewise.
234 * config/tc-microblaze.c: Likewise.
235 * config/tc-mips.c (macro): Likewise.
236 * config/tc-mn10200.c: Likewise.
237 * config/tc-mn10300.c: Likewise.
238 * config/tc-msp430.c (struct rcodes_s): Likewise.
239 (struct hcodes_s): Likewise.
240 (md_parse_option): Likewise.
241 * config/tc-ns32k.c (struct ns32k_option): Likewise.
243 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
244 (tc_ppc_regname_to_dw2regnum): Likewise.
245 * config/tc-ppc.h: Likewise.
246 * config/tc-rl78.c: Likewise.
247 * config/tc-rx.c (struct cpu_type): Likewise.
248 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
249 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
250 (sparc_ip): Likewise.
251 * config/tc-spu.c (insn_fmt_string): Likewise.
252 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
253 * config/tc-v850.c: Likewise.
254 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
255 (struct visium_long_option_table): Likewise.
256 * config/tc-xgate.c: Likewise.
257 * config/tc-z8k.c: Likewise.
258 * read.c (add_include_dir): Likewise.
263 * testsuite/gas/all/gas.exp: Change target pattern to cover
265 * testsuite/gas/all/redef3.d: Likewise.
266 * testsuite/gas/elf/elf.exp: Likewise.
270 * config/tc-arm.c (BAD_FP16): New error message macro.
271 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
272 fp16 scalar instructions.
273 (neon_check_type): Allow different size from key.
274 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
275 (try_vfp_nsyn): Likewise.
276 (do_vfp_nsyn_mla_mls): Likewise.
277 (do_vfp_nsyn_fma_fms): Likewise.
278 (do_vfp_nsyn_ldm_stm): Likewise
279 (do_vfp_nsyn_sqrt): Likewise
280 (do_vfp_nsyn_div): Likewise
281 (do_vfp_nsyn_nmul): Likewise.
282 (do_vfp_nsyn_cmp): Likewise.
283 (do_neon_shll): Likewise.
284 (do_vfp_nsyn_cvt_fpv8): Likewise.
285 (do_neon_cvttb_2): Likewise.
286 (do_neon_mov): Likewise.
287 (do_neon_rshift_round_imm): Likewise.
288 (do_neon_ldr_str): Likewise.
289 (do_vfp_nsyn_fpv8): Likewise.
290 (do_vmaxnm): Likewise.
291 (do_vrint_1): Likewise.
292 (insns): New entry for vins, vmovx.
293 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
294 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
295 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
296 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
297 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
298 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
299 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
303 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
304 (neon_shape_class): New SC_HALF.
305 (neon_shape_el): New SE_H.
306 (neon_shape_el_size): New size for SE_H.
307 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
308 (neon_select_shape): Add SE_H support code.
309 (el_type_of_type_chk): Use N_F_ALL.
310 (do_vfp_nsyn_cvt): Add SE_H shape support.
311 (do_neon_cvtz): Likewise.
312 (do_neon_cvt_1): Likewise.
313 (do_neon_cvttb_1): Likewise.
317 * testsuite/gas/arm/copro.d: Adjust output.
318 * testsuite/gas/arm/copro.s: Adjust co-processor num.
322 * testsuite/gas/arm/mask_1.d: New.
323 * testsuite/gas/arm/mask_1.s: New.
327 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
328 * testsuite/gas/arm/copro.d: Update.
332 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
333 * doc/c-arm.texi (ARM Options): Document cortex-a32.
337 * doc/c-arm.texi (ARM Options): Document cortex-a17.
341 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
346 * output-file.c (output_file_create): Make file name argument const.
347 (output_file_close): Likewise.
348 * output-file.h (output_file_create): Adjust.
349 (output_file_close): Likewise.
350 * depend.c (quote_string_for_make): Make src argument const char *.
351 (register_dependency): Likewise.
352 (wrap_output): Likewise.
353 * as.h (register_dependency): Adjust.
354 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
356 * symbols.c (S_SET_EXTERNAL): Likewise.
357 * input-scrub.c (as_where): Return the file name.
358 * as.h (as_where): Adjust prototype.
359 * app.c (do_scrub_chars): Adjust.
360 * cond.c (s_elseif): Likewise.
362 (initialize_cframe): Likewise.
363 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
364 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
365 * config/obj-som.c (obj_som_init_stab_section): Likewise.
366 * config/tc-aarch64.c (output_info): Likewise.
367 * config/tc-ia64.c (md_assemble): Likewise.
368 (dot_alias): Likewise.
369 * config/tc-m68k.c (m68k_frob_label): Likewise.
370 * config/tc-mmix.c (s_bspec): Likewise.
371 (mmix_handle_mmixal): Likewise.
372 * config/tc-rx.c (rx_include): Likewise.
373 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
374 (tic54x_adjust_symtab): Likewise.
375 * config/tc-xtensa.c (directive_push): Likewise.
376 (xtensa_sanity_check): Likewise.
377 (xtensa_relax_frag): Likewise.
378 (md_convert_frag): Likewise.
379 (tinsn_to_slotbuf): Likewise.
380 * dwarf2dbg.c (dwarf2_where): Likewise.
381 * ecoff.c (add_file): Likewise.
382 (ecoff_generate_asm_lineno): Likewise.
383 * expr.c (make_expr_symbol): Likewise.
384 * frags.c (frag_new): Likewise.
385 (frag_var_init): Likewise.
386 * listing.c (listing_newline): Likewise.
387 * messages.c (identify): Likewise.
388 (as_show_where): Likewise.
389 (as_warn_internal): Likewise.
390 (as_bad_internal): Likewise.
391 * read.c (s_irp): Likewise.
394 * stabs.c (stabs_generate_asm_file): Likewise.
395 (stabs_generate_asm_lineno): Likewise.
396 (stabs_generate_asm_func): Likewise.
397 * write.c (fix_new_internal): Likewise.
398 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
399 (as_warn_value_out_of_range): Adjust prototype.
400 (as_bad_value_out_of_range): Adjust prototype.
401 * messages.c (identify): Make file name argument const char *.
402 (as_warn_internal): Likewise.
403 (as_warn_where): Likewise.
404 (as_bad_internal): Likewise.
405 (as_bad_where): Likewise.
406 (as_internal_value_out_of_range): Likewise.
407 (as_warn_value_out_of_range): Likewise.
408 (as_bad_value_out_of_range): Likewise.
409 * as.h (found_comment_file): Change type to const char *.
410 * cond.c (file_line::file): Likewise.
411 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
412 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
413 * config/obj-som.c (obj_som_init_stab_section): Likewise.
414 * config/tc-aarch64.c (output_info): Likewise.
415 * config/tc-alpha.c (insert_operand): Likewise.
416 * config/tc-arc.c (insert_operand): Likewise.
417 * config/tc-d30v.c (check_size): Likewise.
418 * config/tc-ia64.c (struct alias): Likewise.
419 * config/tc-m68k.c (struct label_line): Likewise.
420 * config/tc-mcore.c (md_apply_fix): Likewise.
421 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
422 * config/tc-mips.c (mips16_immed): Likewise.
423 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
424 * config/tc-ppc.c (ppc_insert_operand): Likewise.
425 * config/tc-rx.c (rx_include): Likewise.
426 * config/tc-s390.c (s390_insert_operand): Likewise.
427 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
428 (tic54x_adjust_symtab): Likewise.
429 * config/tc-tilegx.c (insert_operand): Likewise.
430 (apply_special_operator): Likewise.
431 * config/tc-tilepro.c (insert_operand): Likewise.
432 * config/tc-xtensa.c (directive_push): Likewise.
433 * ecoff.c (add_file): Likewise.
434 (ecoff_generate_asm_lineno): Likewise.
435 * listing.c (listing_newline): Likewise.
436 * read.c (s_irp): Likewise.
437 * write.c (install_reloc): Likewise.
438 * write.h (struct fix): Likewise.
439 * input-file.c (file_name): Change type to const char *.
440 (saved_file::file_name): Likewise.
441 (input_file_open): Change type of argument to const char *.
442 * input-file.h (input_file_open): Adjust.
443 * input-scrub.c (logical_input_file): change type to const char *.
444 (physical_input_file): Likewise.
445 (struct input_save): Adjust.
446 (input_scrub_push): Adjust.
447 (input_scrub_begin): Adjust.
449 * input-scrub.c (input_scrub_new_file): Make file name argument const.
450 (input_scrub_include_file): Likewise.
451 (new_logical_line_flags): Likewise.
452 (new_logical_line): Likewise.
454 * frags.h (struct frag): Change type of fr_file to const char *.
455 * expr.c (expr_symbol_where): Change type of file argument to
457 * expr.h (expr_symbol_where): Likewise.
458 * config/tc-i370.c (md_apply_fix): adjust.
459 * config/tc-mmix.c (mmix_md_end): Likewise.
460 * config/tc-ppc.c (md_apply_fix): Likewise.
461 * config/tc-s390.c (md_apply_fix): Likewise.
462 * symbols.c (report_op_error): Likewise.
463 (resolve_symbol_value): Likewise.
464 * config/tc-ia64.c (slot::src_file): Change type to const char *.
465 (rsrc::file): Likewise.
466 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
468 (xtensa_relax_frag): Likewise.
469 (md_convert_frag): Likewise.
470 (tinsn_to_slotbuf): Likewise.
471 * expr.c (expr_symbol_line): Likewise.
472 * macro.c (define_macro): Likewise.
473 * macro.h (macro_struct): Likewise.
474 * messages.c (as_show_where): Likewise.
475 * read.c (s_macro): Likewise.
476 * stabs.c (stabs_generate_asm_file): Likewise.
477 (generate_asm_file): Likewise.
478 (stabs_generate_asm_lineno): Likewise.
479 * write.h (struct reloc_list): Likewise.
480 * input-scrub.c (as_where): Change return type to const char *.
481 * as.h (as_wheree): Adjust.
485 * write.c (compress_debug): Move BFD compression bits setting
487 (write_object_file): Here.
491 * config/tc-i386.c (register_number): Check RegVRex.
492 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
493 with %zmm19 and %zmm3.
494 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
495 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
500 * config/tc-arm.c (arm_ext_fp16): New.
501 (arm_extensions): New entry for "fp16".
506 * read.c (read_a_source_file): Check for assemble_one returning
507 with input_line_pointer set to NULL.
511 * listing.c (rebuffer_line): Change return type to void.
513 * symbols.c (decode_local_label_name): Make type a const char *.
514 * listing.c (print_source): Make type of p const char *.
515 (print_line): Make type of string const char *.
516 (buffer_line): Return const char *.
517 (title): Make type const char *.
518 (subtitle): Likewise.
519 (listing_listing): Make type of p const char *.
520 * messages.c (as_internal_value_out_of_range): Make type of prefix
522 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
523 and string const char *.
524 * read.c (_bfd_rel): Make type of name const char *.
525 * app.c (out_string): Change type to const char *.
526 (struct app_save::out_string): Likewise.
531 * read.c (finish_bundle): Avoid recording a negative alignment.
532 (do_align): Use unsigned values for n, len and max. Only create
533 a frag if the alignment requirement is greater than the minimum
534 byte alignment. Avoid recording a negative alignment.
535 (s_align): Use unsigned values where appropriate.
536 (bss_alloc): Use an unsigned value for the alignment.
537 (sizeof_sleb128): Add a comment noting that we encode one octet
538 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
539 (emit_leb129_expr): Abort if the emitted encoding was longer than
541 * read.h (output_leb128): Update prototype.
542 (sizeof_leb128): Update prototype.
543 (bss_alloc): Update prototype.
544 * write.c (record_alignment): Use an unsigned value for the
545 alignment. Do not record alignments less than the minimum
546 alignment for a byte.
547 * write.h (record_alignment): Update prototype.
551 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
552 .init.literal/.fini.literal section name.
553 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
554 list of xtensa tests.
555 * testsuite/gas/xtensa/init-fini-literals.d: New file:
556 init-fini-literals test result patterns.
557 * testsuite/gas/xtensa/init-fini-literals.s: New file:
558 init-fini-literals test.
562 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
563 devices.csv file as of March 2016.
567 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
569 (tc_arc_regname_to_dw2regnum): Likewise.
570 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
571 (tc_cfi_frame_initial_instructions): Likewise.
572 (tc_regname_to_dw2regnum): Likewise.
573 * testsuite/gas/cfi/cfi-arc-1.d: New file.
574 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
575 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
579 * doc/internals.texi (S_IS_EXTERN): Remove.
583 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
589 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
590 * testsuite/gas/aarch64/movw_label.d: New.
591 * testsuite/gas/aarch64/movw_label.s: New.
596 * config/rx-parse.y (MOV): Opcode generation for index
597 register addressing mode.
598 * testsuite/gas/rx/rx.exp: Updated for new testcase.
599 * testsuite/gas/rx/pr19665.s: New file.
600 * testsuite/gas/rx/pr19665.s: New file.
601 * testsuite/gas/rx/mov.d: Update expected output.
605 * doc/as.texinfo (.section): Document that numeric values can now
606 be used for the flags and type fields of the ELF target's .section
607 directive. Add notes about the restrictions on setting flags and
609 * config/obj-elf.c (obj_elf_change_section): Allow known sections
610 to be given processor specific section types. Allow processor and
611 application specific flags of a section to be set after
613 (obj_elf_parse_section_letters): Handle parsing numeric values.
614 (obj_elf_section_type): Handle parsing numeric values.
615 (obj_elf_section): Allow numeric type values.
616 * config/obj-elf.h (obj_elf_change_section): Update prototype.
617 * testsuite/gas/elf/section10.d: New test.
618 * testsuite/gas/elf/section10.s: Source file for new test.
619 * testsuite/gas/elf/elf.exp: Run the new test.
620 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
621 the description of the flags produced by readelf.
622 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
623 * NEWS: Mention the new feature.
628 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
629 until it is actually used.
630 (cfi_set_sections): Set cfi_sections_set to true.
631 (dot_cfi_startproc): Likewise.
632 (dot_cfi_endproc): Likewise.
633 (dot_cfi_fde_data): Likewise.
634 (cfi_finish): Likewise.
635 (dot_cfi_sections): Do not set cfi_sections_set.
636 * doc/as.texinfo (.cfi_sections): Note that targets can provide
637 their own cfi section name. Also note that the directive can be
638 reissued provided that CFI generation has not started.
639 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
640 .cfi_endproc directives so that the redefinition of .cfi_sections
641 will trigger the generation of the error message.
642 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
643 number of error message.
648 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
649 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
651 (arc_flags, arc_relax_type): New structure.
652 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
653 (RELAX_TABLE_ENTRY_MAX): New define.
654 (relaxation_state, md_relax_table, arc_relaxable_insns)
655 (arc_num_relaxable_ins): New variable.
656 (rlx_operand_type, arc_rlx_types): New enums.
657 (arc_relaxable_ins): New structure.
658 (OPTION_RELAX): New option.
659 (arc_insn): New relax member.
661 (relax_insn_p): New function.
662 (apply_fixups): Likewise.
663 (relaxable_operand): Likewise.
664 (may_relax_expr): Likewise.
665 (relaxable_flag): Likewise.
666 (arc_pcrel_adjust): Likewise.
667 (md_estimate_size_before_relax): Implement.
668 (md_convert_frag): Likewise.
669 (md_parse_option): Handle new mrelax option.
670 (md_show_usage): Likewise.
671 (assemble_insn): Set relax member.
672 (emit_insn0): New function.
673 (emit_insn1): Likewise.
674 (emit_insn): Handle relaxation case.
675 * NEWS: Mention the new relaxation option.
676 * doc/c-arc.texi (ARC Options): Document new mrelax option.
677 * doc/as.texinfo (Target ARC Options): Likewise.
678 * testsuite/gas/arc/relax-avoid1.d: New file.
679 * testsuite/gas/arc/relax-avoid1.s: Likewise.
680 * testsuite/gas/arc/relax-avoid2.d: Likewise.
681 * testsuite/gas/arc/relax-avoid2.s: Likewise.
682 * testsuite/gas/arc/relax-avoid3.d: Likewise.
683 * testsuite/gas/arc/relax-avoid3.s: Likewise.
684 * testsuite/gas/arc/relax-b.d: Likewise.
685 * testsuite/gas/arc/relax-b.s: Likewise.
689 * config/tc-ia64.c (dot_prologue): Fix formatting.
693 * config/obj-elf.c (obj_elf_change_section): Remove support for
695 * config/tc-arm.c (arm_elf_section_letter): Delete.
696 * config/tc-arm.h (md_elf_section_letter): Delete.
697 * doc/c-arm.texi (ARM Section Attribute): Delete section.
698 * testsuite/gas/arm/section-execute-only.d: Delete.
699 * testsuite/gas/arm/section-execute-only.s: Delete.
704 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
705 to handle encoding of RRUX instruction.
706 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
708 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
712 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
713 substitutions for BFD_RELOC_* as unsigned.
714 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
715 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
716 * testsuite/gas/xtensa/loc.s: New file: loc test.
720 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
725 * NEWS: Mention new command line option -mrelax-relocations and
726 new configure option --enable-x86-relax-relocations for x86
728 * config.in: Regenerated.
729 * configure.ac: Add --enable-x86-relax-relocations.
730 (ac_default_x86_relax_relocations): New. Default to 1 except
731 for x86 Solaris targets older than Solaris 12.
732 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
733 * configure: Likewise.
734 * config/tc-i386.c (generate_relax_relocations): New.
735 (OPTION_MRELAX_RELOCATIONS): Likewise.
736 (output_disp): Don't generate relax relocations if
737 generate_relax_relocations is 0.
738 (md_longopts): Add -mrelax-relocations.
739 (md_show_usage): Likewise.
740 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
741 * doc/c-i386.texi: Document -mrelax-relocations=.
742 * testsuite/gas/i386/got-no-relax.d: New file.
743 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
744 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
745 * testsuite/gas/i386/localpic.d: Likewise.
746 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
747 * testsuite/gas/i386/reloc32.d: Likewise.
748 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
749 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
750 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
751 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
752 * testsuite/gas/i386/i386.exp: Run got-no-relax and
753 x86-64-gotpcrel-no-relax.
757 * NEWS: Mention new command line option -mfence-as-lock-add=yes
762 * NEWS: Remove duplicated marker for 2.26.
766 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
770 * testsuite/gas/ip2k/allinsn.d: New file.
771 * testsuite/gas/ip2k/allinsn.s: New file.
772 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
776 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
777 some load instructions.
778 * testsuite/gas/epiphany/allinsn.d: Likewise.
779 * testsuite/gas/epiphany/regression.d: Likewise.
783 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
784 suffixes from instruction mnemonics in expected output.
785 * testsuite/gas/epiphany/allinsn.d: Likewise.
786 * testsuite/gas/epiphany/regression.d: Likewise.
787 * testsuite/gas/epiphany/sample.d: Likewise.
791 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
793 * testsuite/gas/epiphany/allinsn.d: Likewise.
794 * testsuite/gas/epiphany/sample.d: Likewise.
798 * testsuite/gas/epiphany/sample.d: Update expected output.
802 * config/tc-arc.c (md_apply_fix): Allow addendum.
803 (arc_reloc_op): Allow complex expressions for tpoff.
804 (md_apply_fix): Handle resolved TLS local symbol.
806 * testsuite/gas/arc/tls-relocs1.d: New file.
807 * testsuite/gas/arc/tls-relocs1.s: Likewise.
812 * config/tc-arm.c (encode_arm_immediate): Recode to improve
813 efficiency and avoid an LLVM loop optimization bug.
817 * config/tc-microblaze.c (parse_imm): Fix compile time warning
818 message extending a negative 32-bit value into a larger signed
819 value on a 32-bit host.
824 * configure.ac (compressed_debug_sections): Replace == with =.
825 * configure: Regenerated.
830 * config/tc-i386.c (avoid_fence): New.
831 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
833 (OPTION_FENCE_AS_LOCK_ADD): New.
834 (md_longopts): Add -mfence-as-lock-add.
835 (md_parse_option): Handle -mfence-as-lock-add.
836 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
837 * doc/c-i386.texi (-mfence-as-lock-add): Document.
838 * testsuite/gas/i386/i386.exp: Run new tests.
839 * testsuite/gas/i386/fence-as-lock-add.s: New.
840 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
841 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
842 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
843 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
847 * configure.ac (compressed_debug_sections): Remove trailing `]'.
848 * configure: Regenerated.
852 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
853 (OPTION_MOMIT_LOCK_PREFIX): This.
854 (md_longopts): Updated.
855 (md_parse_option): Likewise.
859 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
860 if abicalls are in effect.
861 * testsuite/gas/mips/sdata-gp.s: New test.
862 * testsuite/gas/mips/sdata-gp.d: New expected output
863 * testsuite/gas/mips/mips.exp: Run new test.
867 * testsuite/gas/arm/thumb2_it_search.d: New.
868 * testsuite/gas/arm/thumb2_it_search.s: New.
873 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
874 with arm-netbsdelf target.
875 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
880 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
881 * testsuite/gas/arm/blx-bl-convert.d
882 * testsuite/gas/arm/plt-1.d: Likewise.
883 * testsuite/gas/arm/reloc-bad.d: Likewise.
884 * testsuite/gas/arm/thumb-w-good.d: Likewise.
885 * testsuite/gas/arm/thumb2_pool.d: Likewise.
886 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
887 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
890 * doc/as.texinfo (Errors): Correct documentation describing the
891 interaction of .file and .line with warning and error messages.
894 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
895 * testsuite/gas/arm/archv8m-main.d: Likewise.
896 * testsuite/gas/arm/archv8m-base.d: Likewise.
900 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
901 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
902 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
907 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
908 SHF_ARM_NOREAD section flag.
909 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
911 (arm_elf_section_letter) : Declare it.
912 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
913 SHF_ARM_NOREAD section flag.
914 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
916 * testsuite/gas/arm/section-execute-only.s: New test case.
917 * testsuite/gas/arm/section-execute-only.d: Expected output.
921 * config/tc-mips.c (micromips_insn_length): Remove the mention
922 of 48-bit microMIPS instructions.
926 * configure: Regenerate.
930 * configure: Regenerate.
934 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
938 * testsuite/gas/rl78/sp-relative-movw.s: New test.
939 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
940 * testsuite/gas/rl78/rl78.exp: Run the new test.
944 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
945 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
949 * config/tc-nios2.c (output_movia): Preset `code' to 0.
953 * config/tc-h8300.c (get_operand): Remove spurious condition in
954 test for closing parenthesis.
958 * config/tc-arm.c (arm_ext_v8_2): New.
960 * testsuite/gas/arm/armv8_2-a.d: New.
961 * testsuite/gas/arm/armv8_2-a.s: New.
965 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
969 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
970 xvcmpnesp, xvcmpnesp.>: Delete tests.
971 * testsuite/gas/ppc/power9.s: Likewise.
972 * testsuite/gas/ppc/vsx3.d: Likewise.
973 * testsuite/gas/ppc/vsx3.s: Likewise.
978 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
979 * testsuite/gas/m68k/p13050-1.s: New file.
980 * testsuite/gas/m68k/p13050-2.d: New file.
981 * testsuite/gas/m68k/p13050-2.s: New file.
985 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
986 * testsuite/gas/arc/add.d: Likewise.
987 * testsuite/gas/arc/and.d: Likewise.
988 * testsuite/gas/arc/asl.d: Likewise.
989 * testsuite/gas/arc/asr.d: Likewise.
990 * testsuite/gas/arc/bic.d: Likewise.
991 * testsuite/gas/arc/extb.d: Likewise.
992 * testsuite/gas/arc/extw.d: Likewise.
993 * testsuite/gas/arc/j.d: Likewise.
994 * testsuite/gas/arc/jl.d: Likewise.
995 * testsuite/gas/arc/ld2.d: Likewise.
996 * testsuite/gas/arc/lsr.d: Likewise.
997 * testsuite/gas/arc/mov.d: Likewise.
998 * testsuite/gas/arc/or.d: Likewise.
999 * testsuite/gas/arc/pcl-relocs.d: Likewise.
1000 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
1001 * testsuite/gas/arc/pic-relocs.d: Likewise.
1002 * testsuite/gas/arc/plt-relocs.d: Likewise.
1003 * testsuite/gas/arc/rlc.d: Likewise.
1004 * testsuite/gas/arc/ror.d: Likewise.
1005 * testsuite/gas/arc/rrc.d: Likewise.
1006 * testsuite/gas/arc/sbc.d: Likewise.
1007 * testsuite/gas/arc/sda-relocs.d: Likewise.
1008 * testsuite/gas/arc/sda-relocs2.d: Likewise.
1009 * testsuite/gas/arc/sexb.d: Likewise.
1010 * testsuite/gas/arc/sexw.d: Likewise.
1011 * testsuite/gas/arc/st.d: Likewise.
1012 * testsuite/gas/arc/sub.d: Likewise.
1013 * testsuite/gas/arc/tls-relocs.d: Likewise.
1014 * testsuite/gas/arc/xor.d: Likewise.
1018 Update year range in copyright notice of all files.
1020 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1022 Copyright (C) 2016 Free Software Foundation, Inc.
1024 Copying and distribution of this file, with or without modification,
1025 are permitted in any medium without royalty provided the copyright
1026 notice and this notice are preserved.
1032 version-control: never