1 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3 * config/tc-arc.c: Add const qualifiers.
4 * config/tc-h8300.c (md_begin): Likewise.
5 * config/tc-ia64.c (print_prmask): Likewise.
6 * config/tc-msp430.c (msp430_operands): Likewise.
7 * config/tc-nds32.c (struct suffix_name): Likewise.
8 (struct nds32_parse_option_table): Likewise.
9 (struct nds32_set_option_table): Likewise.
10 (do_pseudo_pushpopm): Likewise.
11 (do_pseudo_pushpop_stack): Likewise.
12 (nds32_relax_relocs): Likewise.
13 (nds32_flag): Likewise.
14 (struct nds32_hint_map): Likewise.
15 (nds32_find_reloc_table): Likewise.
16 (nds32_match_hint_insn): Likewise.
17 * config/tc-s390.c: Likewise.
18 * config/tc-sh.c (get_specific): Likewise.
19 * config/tc-tic30.c: Likewise.
20 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
21 (tic4x_indirect_parse): Likewise.
22 * config/tc-vax.c (vax_cons): Likewise.
23 * config/tc-z80.c (struct reg_entry): Likewise.
24 * config/tc-epiphany.c (md_assemble): Adjust.
25 (epiphany_assemble): New function.
26 (epiphany_elf_section_rtn): Call do_align directly.
27 (epiphany_elf_section_text): Likewise.
28 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
29 (ip2k_elf_section_text): Likewise.
30 * read.c (do_align): Make it not static.
31 * read.h (do_align): New prototype.
33 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
35 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
36 for ARMv8.1 AdvSIMD use.
37 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
38 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
40 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
42 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
44 (record_feature_use): New.
45 (mark_feature_used): Use record_feature_use.
46 (do_neon_qrdmlah): New.
47 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
49 (arm_extensions): Put into alphabetical order. Re-indent "simd"
50 and "rdma" entries. Fix the incorrect merge value for "+rdma".
51 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
52 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
53 Make source file explicit.
54 * testsuite/gas/arm/armv8-a+rdma.l: New.
55 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
56 directives. Fix white-space.
57 * testsuite/gas/arm/armv8_1-a+simd.d: New.
59 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
61 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
63 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
64 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
66 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
67 (tc_arc_fix_adjustable): Changed default return value to 1.
68 * testsuite/gas/arc/j.d: Updated expected symbol
69 * testsuite/gas/arc/jl.d: Likewise
70 * testsuite/gas/arc/relax-avoid1.d: Likewise
71 * testsuite/gas/arc/st.d: Likewise
73 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
75 * config/tc-arc.c: Enable code density instructions for ARC EM.
77 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
80 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
82 * as.c (flag_use_elf_stt_common): New.
83 (show_usage): Add --elf-stt-common=.
84 (option_values): Add OPTION_ELF_STT_COMMON.
85 (std_longopts): Add --elf-stt-common=.
86 (parse_args): Handle --elf-stt-common=.
87 * as.h (flag_use_elf_stt_common): New.
88 * config.in: Regenerated.
89 * configure: Likewise.
90 * configure.ac: Add --enable-elf-stt-common and define
91 DEFAULT_GENERATE_ELF_STT_COMMON.
92 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
93 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
94 * doc/as.texinfo: Document --elf-stt-common=.
95 * testsuite/gas/elf/common3.s: New file.
96 * testsuite/gas/elf/common3a.d: Likewise.
97 * testsuite/gas/elf/common3b.d: Likewise.
98 * testsuite/gas/elf/common4.s: Likewise.
99 * testsuite/gas/elf/common4a.d: Likewise.
100 * testsuite/gas/elf/common4b.d: Likewise.
101 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
102 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
103 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
105 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
106 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
107 --elf-stt-common=no to as.
108 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
109 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
110 --elf-stt-common=no to as.
111 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
112 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
113 of dw2-compress-3 and dw2-compressed-3.
115 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
117 * as.c (select_emulation_mode): Add const qualifiers.
119 * config/bfin-defs.h: Likewise.
120 * config/bfin-parse.y: Likewise.
121 * config/rx-parse.y: Likewise.
122 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
123 (struct aarch64_cpu_option_table): Likewise.
124 (struct aarch64_arch_option_table): Likewise.
125 (struct aarch64_option_cpu_value_table): Likewise.
126 (struct aarch64_long_option_table): Likewise.
127 (struct aarch64_option_abi_value_table): Likewise.
128 * config/tc-arm.c (struct reloc_entry): Likewise.
129 (tc_gen_reloc): Likewise.
130 (struct arm_option_table): Likewise.
131 (struct arm_legacy_option_table): Likewise.
132 (struct arm_cpu_option_table): Likewise.
133 (struct arm_arch_option_table): Likewise.
134 (struct arm_option_extension_value_table): Likewise.
135 (struct arm_option_fpu_value_table): Likewise.
136 (struct arm_option_value_table): Likewise.
137 (struct arm_long_option_table): Likewise.
138 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
139 (struct mcu_type_s): Likewise.
140 (struct exp_mod_s): Likewise.
141 (avr_operand): Likewise.
142 (avr_operands): Likewise.
143 * config/tc-d10v.c (md_begin): Likewise.
144 * config/tc-dlx.c: Likewise.
145 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
146 * config/tc-ft32.c (parse_condition): Likewise.
147 * config/tc-h8300.c (do_a_fix_imm): Likewise.
148 * config/tc-hppa.c (pa_ip): Likewise.
149 (hppa_regname_to_dw2regnum): Likewise.
150 * config/tc-i370.c (i370_elf_suffix): Likewise.
151 * config/tc-i960.c (struct tabentry): Likewise.
152 * config/tc-m32r.c: Likewise.
153 * config/tc-m68k.c: Likewise.
154 * config/tc-m68k.h: Likewise.
155 * config/tc-mcore.c (parse_psrmod): Likewise.
156 * config/tc-metag.c (struct metag_core_option): Likewise.
157 (struct metag_long_option): Likewise.
158 * config/tc-microblaze.c: Likewise.
159 * config/tc-mips.c (macro): Likewise.
160 * config/tc-mn10200.c: Likewise.
161 * config/tc-mn10300.c: Likewise.
162 * config/tc-msp430.c (struct rcodes_s): Likewise.
163 (struct hcodes_s): Likewise.
164 (md_parse_option): Likewise.
165 * config/tc-ns32k.c (struct ns32k_option): Likewise.
167 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
168 (tc_ppc_regname_to_dw2regnum): Likewise.
169 * config/tc-ppc.h: Likewise.
170 * config/tc-rl78.c: Likewise.
171 * config/tc-rx.c (struct cpu_type): Likewise.
172 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
173 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
174 (sparc_ip): Likewise.
175 * config/tc-spu.c (insn_fmt_string): Likewise.
176 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
177 * config/tc-v850.c: Likewise.
178 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
179 (struct visium_long_option_table): Likewise.
180 * config/tc-xgate.c: Likewise.
181 * config/tc-z8k.c: Likewise.
182 * read.c (add_include_dir): Likewise.
185 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
187 * testsuite/gas/all/gas.exp: Change target pattern to cover
189 * testsuite/gas/all/redef3.d: Likewise.
190 * testsuite/gas/elf/elf.exp: Likewise.
192 2016-02-24 Renlin Li <renlin.li@arm.com>
194 * config/tc-arm.c (BAD_FP16): New error message macro.
195 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
196 fp16 scalar instructions.
197 (neon_check_type): Allow different size from key.
198 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
199 (try_vfp_nsyn): Likewise.
200 (do_vfp_nsyn_mla_mls): Likewise.
201 (do_vfp_nsyn_fma_fms): Likewise.
202 (do_vfp_nsyn_ldm_stm): Likewise
203 (do_vfp_nsyn_sqrt): Likewise
204 (do_vfp_nsyn_div): Likewise
205 (do_vfp_nsyn_nmul): Likewise.
206 (do_vfp_nsyn_cmp): Likewise.
207 (do_neon_shll): Likewise.
208 (do_vfp_nsyn_cvt_fpv8): Likewise.
209 (do_neon_cvttb_2): Likewise.
210 (do_neon_mov): Likewise.
211 (do_neon_rshift_round_imm): Likewise.
212 (do_neon_ldr_str): Likewise.
213 (do_vfp_nsyn_fpv8): Likewise.
214 (do_vmaxnm): Likewise.
215 (do_vrint_1): Likewise.
216 (insns): New entry for vins, vmovx.
217 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
218 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
219 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
220 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
221 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
222 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
223 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
225 2016-02-24 Renlin Li <renlin.li@arm.com>
227 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
228 (neon_shape_class): New SC_HALF.
229 (neon_shape_el): New SE_H.
230 (neon_shape_el_size): New size for SE_H.
231 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
232 (neon_select_shape): Add SE_H support code.
233 (el_type_of_type_chk): Use N_F_ALL.
234 (do_vfp_nsyn_cvt): Add SE_H shape support.
235 (do_neon_cvtz): Likewise.
236 (do_neon_cvt_1): Likewise.
237 (do_neon_cvttb_1): Likewise.
239 2016-02-24 Renlin Li <renlin.li@arm.com>
241 * testsuite/gas/arm/copro.d: Adjust output.
242 * testsuite/gas/arm/copro.s: Adjust co-processor num.
244 2016-02-24 Renlin Li <renlin.li@arm.com>
246 * testsuite/gas/arm/mask_1.d: New.
247 * testsuite/gas/arm/mask_1.s: New.
249 2016-02-24 Renlin Li <renlin.li@arm.com>
251 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
252 * testsuite/gas/arm/copro.d: Update.
254 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
256 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
257 * doc/c-arm.texi (ARM Options): Document cortex-a32.
259 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
261 * doc/c-arm.texi (ARM Options): Document cortex-a17.
263 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
265 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
268 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
270 * output-file.c (output_file_create): Make file name argument const.
271 (output_file_close): Likewise.
272 * output-file.h (output_file_create): Adjust.
273 (output_file_close): Likewise.
274 * depend.c (quote_string_for_make): Make src argument const char *.
275 (register_dependency): Likewise.
276 (wrap_output): Likewise.
277 * as.h (register_dependency): Adjust.
278 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
280 * symbols.c (S_SET_EXTERNAL): Likewise.
281 * input-scrub.c (as_where): Return the file name.
282 * as.h (as_where): Adjust prototype.
283 * app.c (do_scrub_chars): Adjust.
284 * cond.c (s_elseif): Likewise.
286 (initialize_cframe): Likewise.
287 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
288 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
289 * config/obj-som.c (obj_som_init_stab_section): Likewise.
290 * config/tc-aarch64.c (output_info): Likewise.
291 * config/tc-ia64.c (md_assemble): Likewise.
292 (dot_alias): Likewise.
293 * config/tc-m68k.c (m68k_frob_label): Likewise.
294 * config/tc-mmix.c (s_bspec): Likewise.
295 (mmix_handle_mmixal): Likewise.
296 * config/tc-rx.c (rx_include): Likewise.
297 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
298 (tic54x_adjust_symtab): Likewise.
299 * config/tc-xtensa.c (directive_push): Likewise.
300 (xtensa_sanity_check): Likewise.
301 (xtensa_relax_frag): Likewise.
302 (md_convert_frag): Likewise.
303 (tinsn_to_slotbuf): Likewise.
304 * dwarf2dbg.c (dwarf2_where): Likewise.
305 * ecoff.c (add_file): Likewise.
306 (ecoff_generate_asm_lineno): Likewise.
307 * expr.c (make_expr_symbol): Likewise.
308 * frags.c (frag_new): Likewise.
309 (frag_var_init): Likewise.
310 * listing.c (listing_newline): Likewise.
311 * messages.c (identify): Likewise.
312 (as_show_where): Likewise.
313 (as_warn_internal): Likewise.
314 (as_bad_internal): Likewise.
315 * read.c (s_irp): Likewise.
318 * stabs.c (stabs_generate_asm_file): Likewise.
319 (stabs_generate_asm_lineno): Likewise.
320 (stabs_generate_asm_func): Likewise.
321 * write.c (fix_new_internal): Likewise.
322 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
323 (as_warn_value_out_of_range): Adjust prototype.
324 (as_bad_value_out_of_range): Adjust prototype.
325 * messages.c (identify): Make file name argument const char *.
326 (as_warn_internal): Likewise.
327 (as_warn_where): Likewise.
328 (as_bad_internal): Likewise.
329 (as_bad_where): Likewise.
330 (as_internal_value_out_of_range): Likewise.
331 (as_warn_value_out_of_range): Likewise.
332 (as_bad_value_out_of_range): Likewise.
333 * as.h (found_comment_file): Change type to const char *.
334 * cond.c (file_line::file): Likewise.
335 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
336 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
337 * config/obj-som.c (obj_som_init_stab_section): Likewise.
338 * config/tc-aarch64.c (output_info): Likewise.
339 * config/tc-alpha.c (insert_operand): Likewise.
340 * config/tc-arc.c (insert_operand): Likewise.
341 * config/tc-d30v.c (check_size): Likewise.
342 * config/tc-ia64.c (struct alias): Likewise.
343 * config/tc-m68k.c (struct label_line): Likewise.
344 * config/tc-mcore.c (md_apply_fix): Likewise.
345 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
346 * config/tc-mips.c (mips16_immed): Likewise.
347 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
348 * config/tc-ppc.c (ppc_insert_operand): Likewise.
349 * config/tc-rx.c (rx_include): Likewise.
350 * config/tc-s390.c (s390_insert_operand): Likewise.
351 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
352 (tic54x_adjust_symtab): Likewise.
353 * config/tc-tilegx.c (insert_operand): Likewise.
354 (apply_special_operator): Likewise.
355 * config/tc-tilepro.c (insert_operand): Likewise.
356 * config/tc-xtensa.c (directive_push): Likewise.
357 * ecoff.c (add_file): Likewise.
358 (ecoff_generate_asm_lineno): Likewise.
359 * listing.c (listing_newline): Likewise.
360 * read.c (s_irp): Likewise.
361 * write.c (install_reloc): Likewise.
362 * write.h (struct fix): Likewise.
363 * input-file.c (file_name): Change type to const char *.
364 (saved_file::file_name): Likewise.
365 (input_file_open): Change type of argument to const char *.
366 * input-file.h (input_file_open): Adjust.
367 * input-scrub.c (logical_input_file): change type to const char *.
368 (physical_input_file): Likewise.
369 (struct input_save): Adjust.
370 (input_scrub_push): Adjust.
371 (input_scrub_begin): Adjust.
373 * input-scrub.c (input_scrub_new_file): Make file name argument const.
374 (input_scrub_include_file): Likewise.
375 (new_logical_line_flags): Likewise.
376 (new_logical_line): Likewise.
378 * frags.h (struct frag): Change type of fr_file to const char *.
379 * expr.c (expr_symbol_where): Change type of file argument to
381 * expr.h (expr_symbol_where): Likewise.
382 * config/tc-i370.c (md_apply_fix): adjust.
383 * config/tc-mmix.c (mmix_md_end): Likewise.
384 * config/tc-ppc.c (md_apply_fix): Likewise.
385 * config/tc-s390.c (md_apply_fix): Likewise.
386 * symbols.c (report_op_error): Likewise.
387 (resolve_symbol_value): Likewise.
388 * config/tc-ia64.c (slot::src_file): Change type to const char *.
389 (rsrc::file): Likewise.
390 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
392 (xtensa_relax_frag): Likewise.
393 (md_convert_frag): Likewise.
394 (tinsn_to_slotbuf): Likewise.
395 * expr.c (expr_symbol_line): Likewise.
396 * macro.c (define_macro): Likewise.
397 * macro.h (macro_struct): Likewise.
398 * messages.c (as_show_where): Likewise.
399 * read.c (s_macro): Likewise.
400 * stabs.c (stabs_generate_asm_file): Likewise.
401 (generate_asm_file): Likewise.
402 (stabs_generate_asm_lineno): Likewise.
403 * write.h (struct reloc_list): Likewise.
404 * input-scrub.c (as_where): Change return type to const char *.
405 * as.h (as_wheree): Adjust.
407 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
409 * write.c (compress_debug): Move BFD compression bits setting
411 (write_object_file): Here.
413 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
415 * config/tc-i386.c (register_number): Check RegVRex.
416 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
417 with %zmm19 and %zmm3.
418 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
419 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
421 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
422 Jiong Wang <jiong.wang@arm.com>
424 * config/tc-arm.c (arm_ext_fp16): New.
425 (arm_extensions): New entry for "fp16".
427 2016-02-19 Nick Clifton <nickc@redhat.com>
430 * read.c (read_a_source_file): Check for assemble_one returning
431 with input_line_pointer set to NULL.
433 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
435 * listing.c (rebuffer_line): Change return type to void.
437 * symbols.c (decode_local_label_name): Make type a const char *.
438 * listing.c (print_source): Make type of p const char *.
439 (print_line): Make type of string const char *.
440 (buffer_line): Return const char *.
441 (title): Make type const char *.
442 (subtitle): Likewise.
443 (listing_listing): Make type of p const char *.
444 * messages.c (as_internal_value_out_of_range): Make type of prefix
446 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
447 and string const char *.
448 * read.c (_bfd_rel): Make type of name const char *.
449 * app.c (out_string): Change type to const char *.
450 (struct app_save::out_string): Likewise.
452 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
453 Nick Clifton <nickc@redhat.com>
455 * read.c (finish_bundle): Avoid recording a negative alignment.
456 (do_align): Use unsigned values for n, len and max. Only create
457 a frag if the alignment requirement is greater than the minimum
458 byte alignment. Avoid recording a negative alignment.
459 (s_align): Use unsigned values where appropriate.
460 (bss_alloc): Use an unsigned value for the alignment.
461 (sizeof_sleb128): Add a comment noting that we encode one octet
462 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
463 (emit_leb129_expr): Abort if the emitted encoding was longer than
465 * read.h (output_leb128): Update prototype.
466 (sizeof_leb128): Update prototype.
467 (bss_alloc): Update prototype.
468 * write.c (record_alignment): Use an unsigned value for the
469 alignment. Do not record alignments less than the minimum
470 alignment for a byte.
471 * write.h (record_alignment): Update prototype.
473 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
475 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
476 .init.literal/.fini.literal section name.
477 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
478 list of xtensa tests.
479 * testsuite/gas/xtensa/init-fini-literals.d: New file:
480 init-fini-literals test result patterns.
481 * testsuite/gas/xtensa/init-fini-literals.s: New file:
482 init-fini-literals test.
484 2016-02-17 Nick Clifton <nickc@redhat.com>
486 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
487 devices.csv file as of March 2016.
489 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
491 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
493 (tc_arc_regname_to_dw2regnum): Likewise.
494 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
495 (tc_cfi_frame_initial_instructions): Likewise.
496 (tc_regname_to_dw2regnum): Likewise.
498 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
500 * doc/internals.texi (S_IS_EXTERN): Remove.
502 2016-02-16 Nick Clifton <nickc@redhat.com>
504 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
507 2016-02-16 Renlin Li <renlin.li@arm.com>
510 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
511 * testsuite/gas/aarch64/movw_label.d: New.
512 * testsuite/gas/aarch64/movw_label.s: New.
514 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
517 * config/rx-parse.y (MOV): Opcode generation for index
518 register addressing mode.
519 * testsuite/gas/rx/rx.exp: Updated for new testcase.
520 * testsuite/gas/rx/pr19665.s: New file.
521 * testsuite/gas/rx/pr19665.s: New file.
522 * testsuite/gas/rx/mov.d: Update expected output.
524 2016-02-15 Nick Clifton <nickc@redhat.com>
526 * doc/as.texinfo (.section): Document that numeric values can now
527 be used for the flags and type fields of the ELF target's .section
528 directive. Add notes about the restrictions on setting flags and
530 * config/obj-elf.c (obj_elf_change_section): Allow known sections
531 to be given processor specific section types. Allow processor and
532 application specific flags of a section to be set after
534 (obj_elf_parse_section_letters): Handle parsing numeric values.
535 (obj_elf_section_type): Handle parsing numeric values.
536 (obj_elf_section): Allow numeric type values.
537 * config/obj-elf.h (obj_elf_change_section): Update prototype.
538 * testsuite/gas/elf/section10.d: New test.
539 * testsuite/gas/elf/section10.s: Source file for new test.
540 * testsuite/gas/elf/elf.exp: Run the new test.
541 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
542 the description of the flags produced by readelf.
543 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
544 * NEWS: Mention the new feature.
546 2016-02-11 Nick Clifton <nickc@redhat.com>
549 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
550 until it is actually used.
551 (cfi_set_sections): Set cfi_sections_set to true.
552 (dot_cfi_startproc): Likewise.
553 (dot_cfi_endproc): Likewise.
554 (dot_cfi_fde_data): Likewise.
555 (cfi_finish): Likewise.
556 (dot_cfi_sections): Do not set cfi_sections_set.
557 * doc/as.texinfo (.cfi_sections): Note that targets can provide
558 their own cfi section name. Also note that the directive can be
559 reissued provided that CFI generation has not started.
560 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
561 .cfi_endproc directives so that the redefinition of .cfi_sections
562 will trigger the generation of the error message.
563 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
564 number of error message.
566 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
567 Janek van Oirschot <jvanoirs@synopsys.com>
569 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
570 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
572 (arc_flags, arc_relax_type): New structure.
573 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
574 (RELAX_TABLE_ENTRY_MAX): New define.
575 (relaxation_state, md_relax_table, arc_relaxable_insns)
576 (arc_num_relaxable_ins): New variable.
577 (rlx_operand_type, arc_rlx_types): New enums.
578 (arc_relaxable_ins): New structure.
579 (OPTION_RELAX): New option.
580 (arc_insn): New relax member.
582 (relax_insn_p): New function.
583 (apply_fixups): Likewise.
584 (relaxable_operand): Likewise.
585 (may_relax_expr): Likewise.
586 (relaxable_flag): Likewise.
587 (arc_pcrel_adjust): Likewise.
588 (md_estimate_size_before_relax): Implement.
589 (md_convert_frag): Likewise.
590 (md_parse_option): Handle new mrelax option.
591 (md_show_usage): Likewise.
592 (assemble_insn): Set relax member.
593 (emit_insn0): New function.
594 (emit_insn1): Likewise.
595 (emit_insn): Handle relaxation case.
596 * NEWS: Mention the new relaxation option.
597 * doc/c-arc.texi (ARC Options): Document new mrelax option.
598 * doc/as.texinfo (Target ARC Options): Likewise.
599 * testsuite/gas/arc/relax-avoid1.d: New file.
600 * testsuite/gas/arc/relax-avoid1.s: Likewise.
601 * testsuite/gas/arc/relax-avoid2.d: Likewise.
602 * testsuite/gas/arc/relax-avoid2.s: Likewise.
603 * testsuite/gas/arc/relax-avoid3.d: Likewise.
604 * testsuite/gas/arc/relax-avoid3.s: Likewise.
605 * testsuite/gas/arc/relax-b.d: Likewise.
606 * testsuite/gas/arc/relax-b.s: Likewise.
608 2016-02-08 Nick Clifton <nickc@redhat.com>
610 * config/tc-ia64.c (dot_prologue): Fix formatting.
612 2016-02-04 Nick Clifton <nickc@redhat.com>
614 * config/obj-elf.c (obj_elf_change_section): Remove support for
616 * config/tc-arm.c (arm_elf_section_letter): Delete.
617 * config/tc-arm.h (md_elf_section_letter): Delete.
618 * doc/c-arm.texi (ARM Section Attribute): Delete section.
619 * testsuite/gas/arm/section-execute-only.d: Delete.
620 * testsuite/gas/arm/section-execute-only.s: Delete.
622 2016-02-04 Nick Clifton <nickc@redhat.com>
625 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
626 to handle encoding of RRUX instruction.
627 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
629 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
631 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
633 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
634 substitutions for BFD_RELOC_* as unsigned.
635 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
636 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
637 * testsuite/gas/xtensa/loc.s: New file: loc test.
639 2016-02-03 Kevin Buettner <kevinb@redhat.com>
641 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
643 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
646 * NEWS: Mention new command line option -mrelax-relocations and
647 new configure option --enable-x86-relax-relocations for x86
649 * config.in: Regenerated.
650 * configure.ac: Add --enable-x86-relax-relocations.
651 (ac_default_x86_relax_relocations): New. Default to 1 except
652 for x86 Solaris targets older than Solaris 12.
653 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
654 * configure: Likewise.
655 * config/tc-i386.c (generate_relax_relocations): New.
656 (OPTION_MRELAX_RELOCATIONS): Likewise.
657 (output_disp): Don't generate relax relocations if
658 generate_relax_relocations is 0.
659 (md_longopts): Add -mrelax-relocations.
660 (md_show_usage): Likewise.
661 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
662 * doc/c-i386.texi: Document -mrelax-relocations=.
663 * testsuite/gas/i386/got-no-relax.d: New file.
664 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
665 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
666 * testsuite/gas/i386/localpic.d: Likewise.
667 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
668 * testsuite/gas/i386/reloc32.d: Likewise.
669 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
670 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
671 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
672 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
673 * testsuite/gas/i386/i386.exp: Run got-no-relax and
674 x86-64-gotpcrel-no-relax.
676 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
678 * NEWS: Mention new command line option -mfence-as-lock-add=yes
681 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
683 * NEWS: Remove duplicated marker for 2.26.
685 2016-02-02 Renlin Li <renlin.li@arm.com>
687 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
689 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
691 * testsuite/gas/ip2k/allinsn.d: New file.
692 * testsuite/gas/ip2k/allinsn.s: New file.
693 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
695 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
697 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
698 some load instructions.
699 * testsuite/gas/epiphany/allinsn.d: Likewise.
700 * testsuite/gas/epiphany/regression.d: Likewise.
702 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
704 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
705 suffixes from instruction mnemonics in expected output.
706 * testsuite/gas/epiphany/allinsn.d: Likewise.
707 * testsuite/gas/epiphany/regression.d: Likewise.
708 * testsuite/gas/epiphany/sample.d: Likewise.
710 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
712 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
714 * testsuite/gas/epiphany/allinsn.d: Likewise.
715 * testsuite/gas/epiphany/sample.d: Likewise.
717 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
719 * testsuite/gas/epiphany/sample.d: Update expected output.
721 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
723 * config/tc-arc.c (md_apply_fix): Allow addendum.
724 (arc_reloc_op): Allow complex expressions for tpoff.
725 (md_apply_fix): Handle resolved TLS local symbol.
727 * testsuite/gas/arc/tls-relocs1.d: New file.
728 * testsuite/gas/arc/tls-relocs1.s: Likewise.
730 2016-02-01 Loria <Loria@phantasia.org>
733 * config/tc-arm.c (encode_arm_immediate): Recode to improve
734 efficiency and avoid an LLVM loop optimization bug.
736 2016-02-01 Nick Clifton <nickc@redhat.com>
738 * config/tc-microblaze.c (parse_imm): Fix compile time warning
739 message extending a negative 32-bit value into a larger signed
740 value on a 32-bit host.
742 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
745 * configure.ac (compressed_debug_sections): Replace == with =.
746 * configure: Regenerated.
748 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
749 H.J. Lu <hongjiu.lu@intel.com>
751 * config/tc-i386.c (avoid_fence): New.
752 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
754 (OPTION_FENCE_AS_LOCK_ADD): New.
755 (md_longopts): Add -mfence-as-lock-add.
756 (md_parse_option): Handle -mfence-as-lock-add.
757 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
758 * doc/c-i386.texi (-mfence-as-lock-add): Document.
759 * testsuite/gas/i386/i386.exp: Run new tests.
760 * testsuite/gas/i386/fence-as-lock-add.s: New.
761 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
762 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
763 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
764 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
766 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
768 * configure.ac (compressed_debug_sections): Remove trailing `]'.
769 * configure: Regenerated.
771 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
773 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
774 (OPTION_MOMIT_LOCK_PREFIX): This.
775 (md_longopts): Updated.
776 (md_parse_option): Likewise.
778 2016-01-25 Catherine Moore <clm@codesourcery.com>
780 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
781 if abicalls are in effect.
782 * testsuite/gas/mips/sdata-gp.s: New test.
783 * testsuite/gas/mips/sdata-gp.d: New expected output
784 * testsuite/gas/mips/mips.exp: Run new test.
786 2016-01-25 Renlin Li <renlin.li@arm.com>
788 * testsuite/gas/arm/thumb2_it_search.d: New.
789 * testsuite/gas/arm/thumb2_it_search.s: New.
791 2016-01-21 Nick Clifton <nickc@redhat.com>
794 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
795 with arm-netbsdelf target.
796 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
798 2016-01-20 Nick Clifton <nickc@redhat.com>
801 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
802 * testsuite/gas/arm/blx-bl-convert.d
803 * testsuite/gas/arm/plt-1.d: Likewise.
804 * testsuite/gas/arm/reloc-bad.d: Likewise.
805 * testsuite/gas/arm/thumb-w-good.d: Likewise.
806 * testsuite/gas/arm/thumb2_pool.d: Likewise.
807 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
808 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
811 * doc/as.texinfo (Errors): Correct documentation describing the
812 interaction of .file and .line with warning and error messages.
815 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
816 * testsuite/gas/arm/archv8m-main.d: Likewise.
817 * testsuite/gas/arm/archv8m-base.d: Likewise.
819 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
821 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
822 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
823 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
825 2016-01-20 Mickael Guene <mickael.guene@st.com>
826 Terry Guo <terry.guo@arm.com>
828 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
829 SHF_ARM_NOREAD section flag.
830 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
832 (arm_elf_section_letter) : Declare it.
833 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
834 SHF_ARM_NOREAD section flag.
835 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
837 * testsuite/gas/arm/section-execute-only.s: New test case.
838 * testsuite/gas/arm/section-execute-only.d: Expected output.
840 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
842 * config/tc-mips.c (micromips_insn_length): Remove the mention
843 of 48-bit microMIPS instructions.
845 2016-01-18 Alan Modra <amodra@gmail.com>
847 * configure: Regenerate.
849 2016-01-17 Alan Modra <amodra@gmail.com>
851 * configure: Regenerate.
853 2016-01-17 Alan Modra <amodra@gmail.com>
855 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
857 2016-01-14 Nick Clifton <nickc@redhat.com>
859 * testsuite/gas/rl78/sp-relative-movw.s: New test.
860 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
861 * testsuite/gas/rl78/rl78.exp: Run the new test.
863 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
865 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
866 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
868 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
870 * config/tc-nios2.c (output_movia): Preset `code' to 0.
872 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
874 * config/tc-h8300.c (get_operand): Remove spurious condition in
875 test for closing parenthesis.
877 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
879 * config/tc-arm.c (arm_ext_v8_2): New.
881 * testsuite/gas/arm/armv8_2-a.d: New.
882 * testsuite/gas/arm/armv8_2-a.s: New.
884 2016-01-12 Alan Modra <amodra@gmail.com>
886 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
888 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
890 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
891 xvcmpnesp, xvcmpnesp.>: Delete tests.
892 * testsuite/gas/ppc/power9.s: Likewise.
893 * testsuite/gas/ppc/vsx3.d: Likewise.
894 * testsuite/gas/ppc/vsx3.s: Likewise.
896 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
899 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
900 * testsuite/gas/m68k/p13050-1.s: New file.
901 * testsuite/gas/m68k/p13050-2.d: New file.
902 * testsuite/gas/m68k/p13050-2.s: New file.
904 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
906 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
907 * testsuite/gas/arc/add.d: Likewise.
908 * testsuite/gas/arc/and.d: Likewise.
909 * testsuite/gas/arc/asl.d: Likewise.
910 * testsuite/gas/arc/asr.d: Likewise.
911 * testsuite/gas/arc/bic.d: Likewise.
912 * testsuite/gas/arc/extb.d: Likewise.
913 * testsuite/gas/arc/extw.d: Likewise.
914 * testsuite/gas/arc/j.d: Likewise.
915 * testsuite/gas/arc/jl.d: Likewise.
916 * testsuite/gas/arc/ld2.d: Likewise.
917 * testsuite/gas/arc/lsr.d: Likewise.
918 * testsuite/gas/arc/mov.d: Likewise.
919 * testsuite/gas/arc/or.d: Likewise.
920 * testsuite/gas/arc/pcl-relocs.d: Likewise.
921 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
922 * testsuite/gas/arc/pic-relocs.d: Likewise.
923 * testsuite/gas/arc/plt-relocs.d: Likewise.
924 * testsuite/gas/arc/rlc.d: Likewise.
925 * testsuite/gas/arc/ror.d: Likewise.
926 * testsuite/gas/arc/rrc.d: Likewise.
927 * testsuite/gas/arc/sbc.d: Likewise.
928 * testsuite/gas/arc/sda-relocs.d: Likewise.
929 * testsuite/gas/arc/sda-relocs2.d: Likewise.
930 * testsuite/gas/arc/sexb.d: Likewise.
931 * testsuite/gas/arc/sexw.d: Likewise.
932 * testsuite/gas/arc/st.d: Likewise.
933 * testsuite/gas/arc/sub.d: Likewise.
934 * testsuite/gas/arc/tls-relocs.d: Likewise.
935 * testsuite/gas/arc/xor.d: Likewise.
937 2016-01-01 Alan Modra <amodra@gmail.com>
939 Update year range in copyright notice of all files.
941 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
943 Copyright (C) 2016 Free Software Foundation, Inc.
945 Copying and distribution of this file, with or without modification,
946 are permitted in any medium without royalty provided the copyright
947 notice and this notice are preserved.
953 version-control: never