3 * testsuite/gas/arc/inline-data-1.d: New file.
4 * testsuite/gas/arc/inline-data-1.s: New file.
8 * config/tc-arm.c (arm_cpus): Add cortex-r8.
9 * doc/c-arm.texi: Add cortex-r8.
13 * config/tc-arc.c: Add const qualifiers.
14 * config/tc-h8300.c (md_begin): Likewise.
15 * config/tc-ia64.c (print_prmask): Likewise.
16 * config/tc-msp430.c (msp430_operands): Likewise.
17 * config/tc-nds32.c (struct suffix_name): Likewise.
18 (struct nds32_parse_option_table): Likewise.
19 (struct nds32_set_option_table): Likewise.
20 (do_pseudo_pushpopm): Likewise.
21 (do_pseudo_pushpop_stack): Likewise.
22 (nds32_relax_relocs): Likewise.
23 (nds32_flag): Likewise.
24 (struct nds32_hint_map): Likewise.
25 (nds32_find_reloc_table): Likewise.
26 (nds32_match_hint_insn): Likewise.
27 * config/tc-s390.c: Likewise.
28 * config/tc-sh.c (get_specific): Likewise.
29 * config/tc-tic30.c: Likewise.
30 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
31 (tic4x_indirect_parse): Likewise.
32 * config/tc-vax.c (vax_cons): Likewise.
33 * config/tc-z80.c (struct reg_entry): Likewise.
34 * config/tc-epiphany.c (md_assemble): Adjust.
35 (epiphany_assemble): New function.
36 (epiphany_elf_section_rtn): Call do_align directly.
37 (epiphany_elf_section_text): Likewise.
38 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
39 (ip2k_elf_section_text): Likewise.
40 * read.c (do_align): Make it not static.
41 * read.h (do_align): New prototype.
45 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
46 for ARMv8.1 AdvSIMD use.
47 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
48 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
52 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
54 (record_feature_use): New.
55 (mark_feature_used): Use record_feature_use.
56 (do_neon_qrdmlah): New.
57 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
59 (arm_extensions): Put into alphabetical order. Re-indent "simd"
60 and "rdma" entries. Fix the incorrect merge value for "+rdma".
61 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
62 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
63 Make source file explicit.
64 * testsuite/gas/arm/armv8-a+rdma.l: New.
65 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
66 directives. Fix white-space.
67 * testsuite/gas/arm/armv8_1-a+simd.d: New.
71 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
76 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
77 (tc_arc_fix_adjustable): Changed default return value to 1.
78 * testsuite/gas/arc/j.d: Updated expected symbol
79 * testsuite/gas/arc/jl.d: Likewise
80 * testsuite/gas/arc/relax-avoid1.d: Likewise
81 * testsuite/gas/arc/st.d: Likewise
85 * config/tc-arc.c: Enable code density instructions for ARC EM.
90 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
92 * as.c (flag_use_elf_stt_common): New.
93 (show_usage): Add --elf-stt-common=.
94 (option_values): Add OPTION_ELF_STT_COMMON.
95 (std_longopts): Add --elf-stt-common=.
96 (parse_args): Handle --elf-stt-common=.
97 * as.h (flag_use_elf_stt_common): New.
98 * config.in: Regenerated.
99 * configure: Likewise.
100 * configure.ac: Add --enable-elf-stt-common and define
101 DEFAULT_GENERATE_ELF_STT_COMMON.
102 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
103 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
104 * doc/as.texinfo: Document --elf-stt-common=.
105 * testsuite/gas/elf/common3.s: New file.
106 * testsuite/gas/elf/common3a.d: Likewise.
107 * testsuite/gas/elf/common3b.d: Likewise.
108 * testsuite/gas/elf/common4.s: Likewise.
109 * testsuite/gas/elf/common4a.d: Likewise.
110 * testsuite/gas/elf/common4b.d: Likewise.
111 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
112 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
113 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
115 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
116 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
117 --elf-stt-common=no to as.
118 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
119 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
120 --elf-stt-common=no to as.
121 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
122 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
123 of dw2-compress-3 and dw2-compressed-3.
127 * as.c (select_emulation_mode): Add const qualifiers.
129 * config/bfin-defs.h: Likewise.
130 * config/bfin-parse.y: Likewise.
131 * config/rx-parse.y: Likewise.
132 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
133 (struct aarch64_cpu_option_table): Likewise.
134 (struct aarch64_arch_option_table): Likewise.
135 (struct aarch64_option_cpu_value_table): Likewise.
136 (struct aarch64_long_option_table): Likewise.
137 (struct aarch64_option_abi_value_table): Likewise.
138 * config/tc-arm.c (struct reloc_entry): Likewise.
139 (tc_gen_reloc): Likewise.
140 (struct arm_option_table): Likewise.
141 (struct arm_legacy_option_table): Likewise.
142 (struct arm_cpu_option_table): Likewise.
143 (struct arm_arch_option_table): Likewise.
144 (struct arm_option_extension_value_table): Likewise.
145 (struct arm_option_fpu_value_table): Likewise.
146 (struct arm_option_value_table): Likewise.
147 (struct arm_long_option_table): Likewise.
148 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
149 (struct mcu_type_s): Likewise.
150 (struct exp_mod_s): Likewise.
151 (avr_operand): Likewise.
152 (avr_operands): Likewise.
153 * config/tc-d10v.c (md_begin): Likewise.
154 * config/tc-dlx.c: Likewise.
155 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
156 * config/tc-ft32.c (parse_condition): Likewise.
157 * config/tc-h8300.c (do_a_fix_imm): Likewise.
158 * config/tc-hppa.c (pa_ip): Likewise.
159 (hppa_regname_to_dw2regnum): Likewise.
160 * config/tc-i370.c (i370_elf_suffix): Likewise.
161 * config/tc-i960.c (struct tabentry): Likewise.
162 * config/tc-m32r.c: Likewise.
163 * config/tc-m68k.c: Likewise.
164 * config/tc-m68k.h: Likewise.
165 * config/tc-mcore.c (parse_psrmod): Likewise.
166 * config/tc-metag.c (struct metag_core_option): Likewise.
167 (struct metag_long_option): Likewise.
168 * config/tc-microblaze.c: Likewise.
169 * config/tc-mips.c (macro): Likewise.
170 * config/tc-mn10200.c: Likewise.
171 * config/tc-mn10300.c: Likewise.
172 * config/tc-msp430.c (struct rcodes_s): Likewise.
173 (struct hcodes_s): Likewise.
174 (md_parse_option): Likewise.
175 * config/tc-ns32k.c (struct ns32k_option): Likewise.
177 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
178 (tc_ppc_regname_to_dw2regnum): Likewise.
179 * config/tc-ppc.h: Likewise.
180 * config/tc-rl78.c: Likewise.
181 * config/tc-rx.c (struct cpu_type): Likewise.
182 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
183 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
184 (sparc_ip): Likewise.
185 * config/tc-spu.c (insn_fmt_string): Likewise.
186 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
187 * config/tc-v850.c: Likewise.
188 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
189 (struct visium_long_option_table): Likewise.
190 * config/tc-xgate.c: Likewise.
191 * config/tc-z8k.c: Likewise.
192 * read.c (add_include_dir): Likewise.
197 * testsuite/gas/all/gas.exp: Change target pattern to cover
199 * testsuite/gas/all/redef3.d: Likewise.
200 * testsuite/gas/elf/elf.exp: Likewise.
204 * config/tc-arm.c (BAD_FP16): New error message macro.
205 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
206 fp16 scalar instructions.
207 (neon_check_type): Allow different size from key.
208 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
209 (try_vfp_nsyn): Likewise.
210 (do_vfp_nsyn_mla_mls): Likewise.
211 (do_vfp_nsyn_fma_fms): Likewise.
212 (do_vfp_nsyn_ldm_stm): Likewise
213 (do_vfp_nsyn_sqrt): Likewise
214 (do_vfp_nsyn_div): Likewise
215 (do_vfp_nsyn_nmul): Likewise.
216 (do_vfp_nsyn_cmp): Likewise.
217 (do_neon_shll): Likewise.
218 (do_vfp_nsyn_cvt_fpv8): Likewise.
219 (do_neon_cvttb_2): Likewise.
220 (do_neon_mov): Likewise.
221 (do_neon_rshift_round_imm): Likewise.
222 (do_neon_ldr_str): Likewise.
223 (do_vfp_nsyn_fpv8): Likewise.
224 (do_vmaxnm): Likewise.
225 (do_vrint_1): Likewise.
226 (insns): New entry for vins, vmovx.
227 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
228 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
229 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
230 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
231 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
232 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
233 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
237 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
238 (neon_shape_class): New SC_HALF.
239 (neon_shape_el): New SE_H.
240 (neon_shape_el_size): New size for SE_H.
241 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
242 (neon_select_shape): Add SE_H support code.
243 (el_type_of_type_chk): Use N_F_ALL.
244 (do_vfp_nsyn_cvt): Add SE_H shape support.
245 (do_neon_cvtz): Likewise.
246 (do_neon_cvt_1): Likewise.
247 (do_neon_cvttb_1): Likewise.
251 * testsuite/gas/arm/copro.d: Adjust output.
252 * testsuite/gas/arm/copro.s: Adjust co-processor num.
256 * testsuite/gas/arm/mask_1.d: New.
257 * testsuite/gas/arm/mask_1.s: New.
261 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
262 * testsuite/gas/arm/copro.d: Update.
266 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
267 * doc/c-arm.texi (ARM Options): Document cortex-a32.
271 * doc/c-arm.texi (ARM Options): Document cortex-a17.
275 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
280 * output-file.c (output_file_create): Make file name argument const.
281 (output_file_close): Likewise.
282 * output-file.h (output_file_create): Adjust.
283 (output_file_close): Likewise.
284 * depend.c (quote_string_for_make): Make src argument const char *.
285 (register_dependency): Likewise.
286 (wrap_output): Likewise.
287 * as.h (register_dependency): Adjust.
288 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
290 * symbols.c (S_SET_EXTERNAL): Likewise.
291 * input-scrub.c (as_where): Return the file name.
292 * as.h (as_where): Adjust prototype.
293 * app.c (do_scrub_chars): Adjust.
294 * cond.c (s_elseif): Likewise.
296 (initialize_cframe): Likewise.
297 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
298 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
299 * config/obj-som.c (obj_som_init_stab_section): Likewise.
300 * config/tc-aarch64.c (output_info): Likewise.
301 * config/tc-ia64.c (md_assemble): Likewise.
302 (dot_alias): Likewise.
303 * config/tc-m68k.c (m68k_frob_label): Likewise.
304 * config/tc-mmix.c (s_bspec): Likewise.
305 (mmix_handle_mmixal): Likewise.
306 * config/tc-rx.c (rx_include): Likewise.
307 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
308 (tic54x_adjust_symtab): Likewise.
309 * config/tc-xtensa.c (directive_push): Likewise.
310 (xtensa_sanity_check): Likewise.
311 (xtensa_relax_frag): Likewise.
312 (md_convert_frag): Likewise.
313 (tinsn_to_slotbuf): Likewise.
314 * dwarf2dbg.c (dwarf2_where): Likewise.
315 * ecoff.c (add_file): Likewise.
316 (ecoff_generate_asm_lineno): Likewise.
317 * expr.c (make_expr_symbol): Likewise.
318 * frags.c (frag_new): Likewise.
319 (frag_var_init): Likewise.
320 * listing.c (listing_newline): Likewise.
321 * messages.c (identify): Likewise.
322 (as_show_where): Likewise.
323 (as_warn_internal): Likewise.
324 (as_bad_internal): Likewise.
325 * read.c (s_irp): Likewise.
328 * stabs.c (stabs_generate_asm_file): Likewise.
329 (stabs_generate_asm_lineno): Likewise.
330 (stabs_generate_asm_func): Likewise.
331 * write.c (fix_new_internal): Likewise.
332 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
333 (as_warn_value_out_of_range): Adjust prototype.
334 (as_bad_value_out_of_range): Adjust prototype.
335 * messages.c (identify): Make file name argument const char *.
336 (as_warn_internal): Likewise.
337 (as_warn_where): Likewise.
338 (as_bad_internal): Likewise.
339 (as_bad_where): Likewise.
340 (as_internal_value_out_of_range): Likewise.
341 (as_warn_value_out_of_range): Likewise.
342 (as_bad_value_out_of_range): Likewise.
343 * as.h (found_comment_file): Change type to const char *.
344 * cond.c (file_line::file): Likewise.
345 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
346 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
347 * config/obj-som.c (obj_som_init_stab_section): Likewise.
348 * config/tc-aarch64.c (output_info): Likewise.
349 * config/tc-alpha.c (insert_operand): Likewise.
350 * config/tc-arc.c (insert_operand): Likewise.
351 * config/tc-d30v.c (check_size): Likewise.
352 * config/tc-ia64.c (struct alias): Likewise.
353 * config/tc-m68k.c (struct label_line): Likewise.
354 * config/tc-mcore.c (md_apply_fix): Likewise.
355 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
356 * config/tc-mips.c (mips16_immed): Likewise.
357 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
358 * config/tc-ppc.c (ppc_insert_operand): Likewise.
359 * config/tc-rx.c (rx_include): Likewise.
360 * config/tc-s390.c (s390_insert_operand): Likewise.
361 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
362 (tic54x_adjust_symtab): Likewise.
363 * config/tc-tilegx.c (insert_operand): Likewise.
364 (apply_special_operator): Likewise.
365 * config/tc-tilepro.c (insert_operand): Likewise.
366 * config/tc-xtensa.c (directive_push): Likewise.
367 * ecoff.c (add_file): Likewise.
368 (ecoff_generate_asm_lineno): Likewise.
369 * listing.c (listing_newline): Likewise.
370 * read.c (s_irp): Likewise.
371 * write.c (install_reloc): Likewise.
372 * write.h (struct fix): Likewise.
373 * input-file.c (file_name): Change type to const char *.
374 (saved_file::file_name): Likewise.
375 (input_file_open): Change type of argument to const char *.
376 * input-file.h (input_file_open): Adjust.
377 * input-scrub.c (logical_input_file): change type to const char *.
378 (physical_input_file): Likewise.
379 (struct input_save): Adjust.
380 (input_scrub_push): Adjust.
381 (input_scrub_begin): Adjust.
383 * input-scrub.c (input_scrub_new_file): Make file name argument const.
384 (input_scrub_include_file): Likewise.
385 (new_logical_line_flags): Likewise.
386 (new_logical_line): Likewise.
388 * frags.h (struct frag): Change type of fr_file to const char *.
389 * expr.c (expr_symbol_where): Change type of file argument to
391 * expr.h (expr_symbol_where): Likewise.
392 * config/tc-i370.c (md_apply_fix): adjust.
393 * config/tc-mmix.c (mmix_md_end): Likewise.
394 * config/tc-ppc.c (md_apply_fix): Likewise.
395 * config/tc-s390.c (md_apply_fix): Likewise.
396 * symbols.c (report_op_error): Likewise.
397 (resolve_symbol_value): Likewise.
398 * config/tc-ia64.c (slot::src_file): Change type to const char *.
399 (rsrc::file): Likewise.
400 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
402 (xtensa_relax_frag): Likewise.
403 (md_convert_frag): Likewise.
404 (tinsn_to_slotbuf): Likewise.
405 * expr.c (expr_symbol_line): Likewise.
406 * macro.c (define_macro): Likewise.
407 * macro.h (macro_struct): Likewise.
408 * messages.c (as_show_where): Likewise.
409 * read.c (s_macro): Likewise.
410 * stabs.c (stabs_generate_asm_file): Likewise.
411 (generate_asm_file): Likewise.
412 (stabs_generate_asm_lineno): Likewise.
413 * write.h (struct reloc_list): Likewise.
414 * input-scrub.c (as_where): Change return type to const char *.
415 * as.h (as_wheree): Adjust.
419 * write.c (compress_debug): Move BFD compression bits setting
421 (write_object_file): Here.
425 * config/tc-i386.c (register_number): Check RegVRex.
426 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
427 with %zmm19 and %zmm3.
428 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
429 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
434 * config/tc-arm.c (arm_ext_fp16): New.
435 (arm_extensions): New entry for "fp16".
440 * read.c (read_a_source_file): Check for assemble_one returning
441 with input_line_pointer set to NULL.
445 * listing.c (rebuffer_line): Change return type to void.
447 * symbols.c (decode_local_label_name): Make type a const char *.
448 * listing.c (print_source): Make type of p const char *.
449 (print_line): Make type of string const char *.
450 (buffer_line): Return const char *.
451 (title): Make type const char *.
452 (subtitle): Likewise.
453 (listing_listing): Make type of p const char *.
454 * messages.c (as_internal_value_out_of_range): Make type of prefix
456 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
457 and string const char *.
458 * read.c (_bfd_rel): Make type of name const char *.
459 * app.c (out_string): Change type to const char *.
460 (struct app_save::out_string): Likewise.
465 * read.c (finish_bundle): Avoid recording a negative alignment.
466 (do_align): Use unsigned values for n, len and max. Only create
467 a frag if the alignment requirement is greater than the minimum
468 byte alignment. Avoid recording a negative alignment.
469 (s_align): Use unsigned values where appropriate.
470 (bss_alloc): Use an unsigned value for the alignment.
471 (sizeof_sleb128): Add a comment noting that we encode one octet
472 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
473 (emit_leb129_expr): Abort if the emitted encoding was longer than
475 * read.h (output_leb128): Update prototype.
476 (sizeof_leb128): Update prototype.
477 (bss_alloc): Update prototype.
478 * write.c (record_alignment): Use an unsigned value for the
479 alignment. Do not record alignments less than the minimum
480 alignment for a byte.
481 * write.h (record_alignment): Update prototype.
485 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
486 .init.literal/.fini.literal section name.
487 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
488 list of xtensa tests.
489 * testsuite/gas/xtensa/init-fini-literals.d: New file:
490 init-fini-literals test result patterns.
491 * testsuite/gas/xtensa/init-fini-literals.s: New file:
492 init-fini-literals test.
496 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
497 devices.csv file as of March 2016.
501 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
503 (tc_arc_regname_to_dw2regnum): Likewise.
504 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
505 (tc_cfi_frame_initial_instructions): Likewise.
506 (tc_regname_to_dw2regnum): Likewise.
510 * doc/internals.texi (S_IS_EXTERN): Remove.
514 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
520 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
521 * testsuite/gas/aarch64/movw_label.d: New.
522 * testsuite/gas/aarch64/movw_label.s: New.
527 * config/rx-parse.y (MOV): Opcode generation for index
528 register addressing mode.
529 * testsuite/gas/rx/rx.exp: Updated for new testcase.
530 * testsuite/gas/rx/pr19665.s: New file.
531 * testsuite/gas/rx/pr19665.s: New file.
532 * testsuite/gas/rx/mov.d: Update expected output.
536 * doc/as.texinfo (.section): Document that numeric values can now
537 be used for the flags and type fields of the ELF target's .section
538 directive. Add notes about the restrictions on setting flags and
540 * config/obj-elf.c (obj_elf_change_section): Allow known sections
541 to be given processor specific section types. Allow processor and
542 application specific flags of a section to be set after
544 (obj_elf_parse_section_letters): Handle parsing numeric values.
545 (obj_elf_section_type): Handle parsing numeric values.
546 (obj_elf_section): Allow numeric type values.
547 * config/obj-elf.h (obj_elf_change_section): Update prototype.
548 * testsuite/gas/elf/section10.d: New test.
549 * testsuite/gas/elf/section10.s: Source file for new test.
550 * testsuite/gas/elf/elf.exp: Run the new test.
551 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
552 the description of the flags produced by readelf.
553 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
554 * NEWS: Mention the new feature.
559 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
560 until it is actually used.
561 (cfi_set_sections): Set cfi_sections_set to true.
562 (dot_cfi_startproc): Likewise.
563 (dot_cfi_endproc): Likewise.
564 (dot_cfi_fde_data): Likewise.
565 (cfi_finish): Likewise.
566 (dot_cfi_sections): Do not set cfi_sections_set.
567 * doc/as.texinfo (.cfi_sections): Note that targets can provide
568 their own cfi section name. Also note that the directive can be
569 reissued provided that CFI generation has not started.
570 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
571 .cfi_endproc directives so that the redefinition of .cfi_sections
572 will trigger the generation of the error message.
573 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
574 number of error message.
579 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
580 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
582 (arc_flags, arc_relax_type): New structure.
583 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
584 (RELAX_TABLE_ENTRY_MAX): New define.
585 (relaxation_state, md_relax_table, arc_relaxable_insns)
586 (arc_num_relaxable_ins): New variable.
587 (rlx_operand_type, arc_rlx_types): New enums.
588 (arc_relaxable_ins): New structure.
589 (OPTION_RELAX): New option.
590 (arc_insn): New relax member.
592 (relax_insn_p): New function.
593 (apply_fixups): Likewise.
594 (relaxable_operand): Likewise.
595 (may_relax_expr): Likewise.
596 (relaxable_flag): Likewise.
597 (arc_pcrel_adjust): Likewise.
598 (md_estimate_size_before_relax): Implement.
599 (md_convert_frag): Likewise.
600 (md_parse_option): Handle new mrelax option.
601 (md_show_usage): Likewise.
602 (assemble_insn): Set relax member.
603 (emit_insn0): New function.
604 (emit_insn1): Likewise.
605 (emit_insn): Handle relaxation case.
606 * NEWS: Mention the new relaxation option.
607 * doc/c-arc.texi (ARC Options): Document new mrelax option.
608 * doc/as.texinfo (Target ARC Options): Likewise.
609 * testsuite/gas/arc/relax-avoid1.d: New file.
610 * testsuite/gas/arc/relax-avoid1.s: Likewise.
611 * testsuite/gas/arc/relax-avoid2.d: Likewise.
612 * testsuite/gas/arc/relax-avoid2.s: Likewise.
613 * testsuite/gas/arc/relax-avoid3.d: Likewise.
614 * testsuite/gas/arc/relax-avoid3.s: Likewise.
615 * testsuite/gas/arc/relax-b.d: Likewise.
616 * testsuite/gas/arc/relax-b.s: Likewise.
620 * config/tc-ia64.c (dot_prologue): Fix formatting.
624 * config/obj-elf.c (obj_elf_change_section): Remove support for
626 * config/tc-arm.c (arm_elf_section_letter): Delete.
627 * config/tc-arm.h (md_elf_section_letter): Delete.
628 * doc/c-arm.texi (ARM Section Attribute): Delete section.
629 * testsuite/gas/arm/section-execute-only.d: Delete.
630 * testsuite/gas/arm/section-execute-only.s: Delete.
635 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
636 to handle encoding of RRUX instruction.
637 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
639 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
643 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
644 substitutions for BFD_RELOC_* as unsigned.
645 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
646 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
647 * testsuite/gas/xtensa/loc.s: New file: loc test.
651 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
656 * NEWS: Mention new command line option -mrelax-relocations and
657 new configure option --enable-x86-relax-relocations for x86
659 * config.in: Regenerated.
660 * configure.ac: Add --enable-x86-relax-relocations.
661 (ac_default_x86_relax_relocations): New. Default to 1 except
662 for x86 Solaris targets older than Solaris 12.
663 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
664 * configure: Likewise.
665 * config/tc-i386.c (generate_relax_relocations): New.
666 (OPTION_MRELAX_RELOCATIONS): Likewise.
667 (output_disp): Don't generate relax relocations if
668 generate_relax_relocations is 0.
669 (md_longopts): Add -mrelax-relocations.
670 (md_show_usage): Likewise.
671 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
672 * doc/c-i386.texi: Document -mrelax-relocations=.
673 * testsuite/gas/i386/got-no-relax.d: New file.
674 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
675 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
676 * testsuite/gas/i386/localpic.d: Likewise.
677 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
678 * testsuite/gas/i386/reloc32.d: Likewise.
679 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
680 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
681 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
682 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
683 * testsuite/gas/i386/i386.exp: Run got-no-relax and
684 x86-64-gotpcrel-no-relax.
688 * NEWS: Mention new command line option -mfence-as-lock-add=yes
693 * NEWS: Remove duplicated marker for 2.26.
697 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
701 * testsuite/gas/ip2k/allinsn.d: New file.
702 * testsuite/gas/ip2k/allinsn.s: New file.
703 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
707 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
708 some load instructions.
709 * testsuite/gas/epiphany/allinsn.d: Likewise.
710 * testsuite/gas/epiphany/regression.d: Likewise.
714 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
715 suffixes from instruction mnemonics in expected output.
716 * testsuite/gas/epiphany/allinsn.d: Likewise.
717 * testsuite/gas/epiphany/regression.d: Likewise.
718 * testsuite/gas/epiphany/sample.d: Likewise.
722 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
724 * testsuite/gas/epiphany/allinsn.d: Likewise.
725 * testsuite/gas/epiphany/sample.d: Likewise.
729 * testsuite/gas/epiphany/sample.d: Update expected output.
733 * config/tc-arc.c (md_apply_fix): Allow addendum.
734 (arc_reloc_op): Allow complex expressions for tpoff.
735 (md_apply_fix): Handle resolved TLS local symbol.
737 * testsuite/gas/arc/tls-relocs1.d: New file.
738 * testsuite/gas/arc/tls-relocs1.s: Likewise.
743 * config/tc-arm.c (encode_arm_immediate): Recode to improve
744 efficiency and avoid an LLVM loop optimization bug.
748 * config/tc-microblaze.c (parse_imm): Fix compile time warning
749 message extending a negative 32-bit value into a larger signed
750 value on a 32-bit host.
755 * configure.ac (compressed_debug_sections): Replace == with =.
756 * configure: Regenerated.
761 * config/tc-i386.c (avoid_fence): New.
762 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
764 (OPTION_FENCE_AS_LOCK_ADD): New.
765 (md_longopts): Add -mfence-as-lock-add.
766 (md_parse_option): Handle -mfence-as-lock-add.
767 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
768 * doc/c-i386.texi (-mfence-as-lock-add): Document.
769 * testsuite/gas/i386/i386.exp: Run new tests.
770 * testsuite/gas/i386/fence-as-lock-add.s: New.
771 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
772 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
773 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
774 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
778 * configure.ac (compressed_debug_sections): Remove trailing `]'.
779 * configure: Regenerated.
783 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
784 (OPTION_MOMIT_LOCK_PREFIX): This.
785 (md_longopts): Updated.
786 (md_parse_option): Likewise.
790 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
791 if abicalls are in effect.
792 * testsuite/gas/mips/sdata-gp.s: New test.
793 * testsuite/gas/mips/sdata-gp.d: New expected output
794 * testsuite/gas/mips/mips.exp: Run new test.
798 * testsuite/gas/arm/thumb2_it_search.d: New.
799 * testsuite/gas/arm/thumb2_it_search.s: New.
804 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
805 with arm-netbsdelf target.
806 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
811 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
812 * testsuite/gas/arm/blx-bl-convert.d
813 * testsuite/gas/arm/plt-1.d: Likewise.
814 * testsuite/gas/arm/reloc-bad.d: Likewise.
815 * testsuite/gas/arm/thumb-w-good.d: Likewise.
816 * testsuite/gas/arm/thumb2_pool.d: Likewise.
817 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
818 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
821 * doc/as.texinfo (Errors): Correct documentation describing the
822 interaction of .file and .line with warning and error messages.
825 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
826 * testsuite/gas/arm/archv8m-main.d: Likewise.
827 * testsuite/gas/arm/archv8m-base.d: Likewise.
831 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
832 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
833 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
838 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
839 SHF_ARM_NOREAD section flag.
840 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
842 (arm_elf_section_letter) : Declare it.
843 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
844 SHF_ARM_NOREAD section flag.
845 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
847 * testsuite/gas/arm/section-execute-only.s: New test case.
848 * testsuite/gas/arm/section-execute-only.d: Expected output.
852 * config/tc-mips.c (micromips_insn_length): Remove the mention
853 of 48-bit microMIPS instructions.
857 * configure: Regenerate.
861 * configure: Regenerate.
865 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
869 * testsuite/gas/rl78/sp-relative-movw.s: New test.
870 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
871 * testsuite/gas/rl78/rl78.exp: Run the new test.
875 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
876 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
880 * config/tc-nios2.c (output_movia): Preset `code' to 0.
884 * config/tc-h8300.c (get_operand): Remove spurious condition in
885 test for closing parenthesis.
889 * config/tc-arm.c (arm_ext_v8_2): New.
891 * testsuite/gas/arm/armv8_2-a.d: New.
892 * testsuite/gas/arm/armv8_2-a.s: New.
896 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
900 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
901 xvcmpnesp, xvcmpnesp.>: Delete tests.
902 * testsuite/gas/ppc/power9.s: Likewise.
903 * testsuite/gas/ppc/vsx3.d: Likewise.
904 * testsuite/gas/ppc/vsx3.s: Likewise.
909 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
910 * testsuite/gas/m68k/p13050-1.s: New file.
911 * testsuite/gas/m68k/p13050-2.d: New file.
912 * testsuite/gas/m68k/p13050-2.s: New file.
916 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
917 * testsuite/gas/arc/add.d: Likewise.
918 * testsuite/gas/arc/and.d: Likewise.
919 * testsuite/gas/arc/asl.d: Likewise.
920 * testsuite/gas/arc/asr.d: Likewise.
921 * testsuite/gas/arc/bic.d: Likewise.
922 * testsuite/gas/arc/extb.d: Likewise.
923 * testsuite/gas/arc/extw.d: Likewise.
924 * testsuite/gas/arc/j.d: Likewise.
925 * testsuite/gas/arc/jl.d: Likewise.
926 * testsuite/gas/arc/ld2.d: Likewise.
927 * testsuite/gas/arc/lsr.d: Likewise.
928 * testsuite/gas/arc/mov.d: Likewise.
929 * testsuite/gas/arc/or.d: Likewise.
930 * testsuite/gas/arc/pcl-relocs.d: Likewise.
931 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
932 * testsuite/gas/arc/pic-relocs.d: Likewise.
933 * testsuite/gas/arc/plt-relocs.d: Likewise.
934 * testsuite/gas/arc/rlc.d: Likewise.
935 * testsuite/gas/arc/ror.d: Likewise.
936 * testsuite/gas/arc/rrc.d: Likewise.
937 * testsuite/gas/arc/sbc.d: Likewise.
938 * testsuite/gas/arc/sda-relocs.d: Likewise.
939 * testsuite/gas/arc/sda-relocs2.d: Likewise.
940 * testsuite/gas/arc/sexb.d: Likewise.
941 * testsuite/gas/arc/sexw.d: Likewise.
942 * testsuite/gas/arc/st.d: Likewise.
943 * testsuite/gas/arc/sub.d: Likewise.
944 * testsuite/gas/arc/tls-relocs.d: Likewise.
945 * testsuite/gas/arc/xor.d: Likewise.
949 Update year range in copyright notice of all files.
951 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
953 Copyright (C) 2016 Free Software Foundation, Inc.
955 Copying and distribution of this file, with or without modification,
956 are permitted in any medium without royalty provided the copyright
957 notice and this notice are preserved.
963 version-control: never