1 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
5 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
7 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
9 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
11 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
13 (encode_condition): Likewise.
14 (encode_cc3): Likewise.
15 (encode_cc2): Likewise.
16 (encode_operand): Likewise.
17 (tic54x_undefined_symbol): Likewise.
19 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
21 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
23 * doc/c-mips.texi: Document p6600 -march option.
25 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
28 * config/tc-i386.c (md_apply_fix): Preserve addend for
29 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
30 * testsuite/gas/i386/addend.d: New file.
31 * testsuite/gas/i386/addend.s: Likewise.
32 * testsuite/gas/i386/x86-64-addend.d: Likewise.
33 * testsuite/gas/i386/x86-64-addend.s: Likewise.
34 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
35 * testsuite/gas/i386/reloc32.d: Updated.
37 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
39 * config/tc-mips.c (append_insn): Correct the encoding of a
40 constant argument for microMIPS JALX.
41 (tc_gen_reloc): Correct the encoding of an in-place addend for
43 * testsuite/gas/mips/jalx-addend.d: New test.
44 * testsuite/gas/mips/jalx-addend-n32.d: New test.
45 * testsuite/gas/mips/jalx-addend-n64.d: New test.
46 * testsuite/gas/mips/jalx-imm.d: New test.
47 * testsuite/gas/mips/jalx-imm-n32.d: New test.
48 * testsuite/gas/mips/jalx-imm-n64.d: New test.
49 * testsuite/gas/mips/jalx-addend.s: New test source.
50 * testsuite/gas/mips/jalx-imm.s: New test source.
51 * testsuite/gas/mips/mips.exp: Run the new tests.
53 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
55 * config/tc-mips.c: Correct tab-after-space formatting mistakes
58 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
60 * config/tc-arc.c (find_opcode_match): Remove casting away of
62 * config/tc-arc.h (struct arc_flags): Make flgp field const.
64 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
66 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
68 (md_convert_frag): Likewise.
70 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
72 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
73 cached opcode to NULL when we reach a non-matching opcode.
74 * testsuite/gas/arc/asm-errors-2.d: New file.
75 * testsuite/gas/arc/asm-errors-2.err: New file.
76 * testsuite/gas/arc/asm-errors-2.s: New file.
78 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
80 * config/tc-arc.c (tokenize_arguments): Add checks for array
82 * testsuite/gas/arc/asm-errors.s: Addition test line added.
83 * testsuite/gas/arc/asm-errors.err: Update expected results.
85 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
87 * config/tc-rx.c (struct cpu_type): Change the type of a field from
88 int to enum rx_cpu_types.
90 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
92 * config/tc-dlx.c (struct machine_it): change the type of a field from
93 int to bfd_reloc_code_real_type.
94 * config/tc-tic4x.c: Likewise.
96 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
98 * config/tc-v850.c (v850_target_arch): change type to enum
100 * config/tc-v850.h (v850_target_arch): Likewise.
102 2016-05-18 Alan Modra <amodra@gmail.com>
104 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
105 allowed negative range.
106 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
107 * testsuite/gas/ppc/power9.d: Update.
109 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
111 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
112 disassembling and stop skipping targets.
113 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
114 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
115 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
116 instruction for targets that have stronger alignment requirement.
117 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
118 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
119 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
120 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
121 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
122 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
123 * testsuite/gas/arm/archv8m-main.d: Likewise.
124 * testsuite/gas/arm/archv8m.s: Add label.
125 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
126 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
127 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
129 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
131 * config/tc-m32r.c (mach_table): Make static and const.
133 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
135 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
138 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
140 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
142 * config/tc-msp430.c (md_begin): Likewise.
144 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
146 * config/tc-m68hc11.c (fixup8): Change variables type from int to
147 bfd_reloc_code_real_type where appropriate.
149 (fixup8_xg): Likewise.
151 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
153 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
155 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
157 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
158 * testsuite/gas/ppc/power9.s: Likewise.
160 2016-05-13 Alan Modra <amodra@gmail.com>
162 * config/obj-coff.c (weak_uniquify): Delete unused var.
164 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
166 * app.c (app_push): Use XNEW and related macros.
167 * as.c (parse_args): Likewise.
168 * cgen.c (make_right_shifted_expr): Likewise.
169 (gas_cgen_tc_gen_reloc): Likewise.
170 * config/bfin-defs.h: Likewise.
171 * config/bfin-parse.y: Likewise.
172 * config/obj-coff.c (stack_init): Likewise.
173 (stack_push): Likewise.
174 (coff_obj_symbol_new_hook): Likewise.
175 (coff_obj_symbol_clone_hook): Likewise.
176 (add_lineno): Likewise.
177 (coff_frob_symbol): Likewise.
178 * config/obj-elf.c (obj_elf_section_name): Likewise.
179 (build_group_lists): Likewise.
180 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
181 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
182 * config/tc-aarch64.c (insert_reg_alias): Likewise.
183 (find_or_make_literal_pool): Likewise.
184 (add_to_lit_pool): Likewise.
185 (fill_instruction_hash_table): Likewise.
186 * config/tc-alpha.c (load_expression): Likewise.
187 (emit_jsrjmp): Likewise.
188 (s_alpha_ent): Likewise.
189 (s_alpha_end): Likewise.
190 (s_alpha_linkage): Likewise.
191 (md_begin): Likewise.
192 (tc_gen_reloc): Likewise.
193 * config/tc-arc.c (arc_insert_opcode): Likewise.
194 (arc_extcorereg): Likewise.
195 * config/tc-bfin.c: Likewise.
196 * config/tc-cr16.c: Likewise.
197 * config/tc-cris.c: Likewise.
198 * config/tc-crx.c (preprocess_reglist): Likewise.
199 * config/tc-d10v.c: Likewise.
200 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
201 (frv_tomcat_shuffle): Likewise.
202 * config/tc-h8300.c: Likewise.
203 * config/tc-i370.c (i370_macro): Likewise.
204 * config/tc-i386.c (lex_got): Likewise.
205 (md_parse_option): Likewise.
206 * config/tc-ia64.c (alloc_record): Likewise.
207 (set_imask): Likewise.
208 (save_prologue_count): Likewise.
209 (dot_proc): Likewise.
210 (dot_endp): Likewise.
211 (ia64_frob_label): Likewise.
212 (add_qp_imply): Likewise.
213 (add_qp_mutex): Likewise.
214 (mark_resource): Likewise.
215 (dot_alias): Likewise.
216 * config/tc-m68hc11.c: Likewise.
217 * config/tc-m68k.c (m68k_frob_label): Likewise.
219 (mri_control_label): Likewise.
220 (push_mri_control): Likewise.
221 (build_mri_control_operand): Likewise.
222 (s_mri_else): Likewise.
223 (s_mri_break): Likewise.
224 (s_mri_next): Likewise.
225 (s_mri_for): Likewise.
226 (s_mri_endw): Likewise.
227 * config/tc-metag.c (create_mnemonic_htab): Likewise.
228 * config/tc-microblaze.c: Likewise.
229 * config/tc-mmix.c (s_loc): Likewise.
230 * config/tc-nds32.c (nds32_relax_hint): Likewise.
231 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
232 * config/tc-rl78.c: Likewise.
233 * config/tc-rx.c (rx_include): Likewise.
234 * config/tc-sh.c: Likewise.
235 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
236 * config/tc-sparc.c: Likewise.
237 * config/tc-spu.c: Likewise.
238 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
239 (tic6x_start_unwind_section): Likewise.
240 * config/tc-tilegx.c: Likewise.
241 * config/tc-tilepro.c: Likewise.
242 * config/tc-v850.c: Likewise.
243 * config/tc-visium.c: Likewise.
244 * config/tc-xgate.c: Likewise.
245 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
246 (new_resource_table): Likewise.
247 (resize_resource_table): Likewise.
248 (xtensa_create_trampoline_frag): Likewise.
249 (xtensa_maybe_create_literal_pool_frag): Likewise.
250 (cache_literal_section): Likewise.
251 * config/xtensa-relax.c (append_transition): Likewise.
252 (append_condition): Likewise.
253 (append_value_condition): Likewise.
254 (append_constant_value_condition): Likewise.
255 (append_literal_op): Likewise.
256 (append_label_op): Likewise.
257 (append_constant_op): Likewise.
258 (append_field_op): Likewise.
259 (append_user_fn_field_op): Likewise.
260 (enter_opname_n): Likewise.
261 (enter_opname): Likewise.
262 (split_string): Likewise.
263 (parse_insn_templ): Likewise.
264 (clone_req_or_option_list): Likewise.
265 (clone_req_option_list): Likewise.
266 (parse_option_cond): Likewise.
267 (parse_insn_pattern): Likewise.
268 (parse_insn_repl): Likewise.
269 (build_transition): Likewise.
270 (build_transition_table): Likewise.
271 * dw2gencfi.c (alloc_fde_entry): Likewise.
272 (alloc_cfi_insn_data): Likewise.
273 (cfi_add_CFA_remember_state): Likewise.
274 (dot_cfi_escape): Likewise.
275 (dot_cfi_fde_data): Likewise.
276 (select_cie_for_fde): Likewise.
277 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
278 * ecoff.c (ecoff_add_bytes): Likewise.
279 (ecoff_build_debug): Likewise.
280 * input-scrub.c (input_scrub_push): Likewise.
281 (input_scrub_begin): Likewise.
282 (input_scrub_next_buffer): Likewise.
283 * itbl-ops.c (append_insns_as_macros): Likewise.
284 (alloc_entry): Likewise.
285 (alloc_field): Likewise.
286 * listing.c (listing_newline): Likewise.
287 (listing_listing): Likewise.
288 * macro.c (get_any_string): Likewise.
289 (delete_macro): Likewise.
290 * stabs.c (generate_asm_file): Likewise.
291 (stabs_generate_asm_lineno): Likewise.
292 * subsegs.c (subseg_change): Likewise.
293 (subseg_get): Likewise.
294 * symbols.c (define_dollar_label): Likewise.
295 (symbol_relc_make_sym): Likewise.
296 * write.c (write_relocs): Likewise.
298 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
300 * config/obj-coff.c (obj_coff_def): Simplify string copying.
301 (weak_name2altname): Likewise.
302 (weak_uniquify): Likewise.
303 (obj_coff_section): Likewise.
304 (obj_coff_init_stab_section): Likewise.
305 * config/obj-elf.c (obj_elf_section_name): Likewise.
306 (obj_elf_init_stab_section): Likewise.
307 * config/obj-evax.c (evax_shorten_name): Likewise.
308 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
309 * config/tc-aarch64.c (create_register_alias): Likewise.
310 * config/tc-alpha.c (load_expression): Likewise.
311 (s_alpha_file): Likewise.
312 (s_alpha_section_name): Likewise.
313 (tc_gen_reloc): Likewise.
314 * config/tc-arc.c (md_assemble): Likewise.
315 * config/tc-arm.c (create_neon_reg_alias): Likewise.
316 (start_unwind_section): Likewise.
317 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
318 (hppa_elf_mark_end_of_function): Likewise.
319 * config/tc-nios2.c (nios2_modify_arg): Likewise.
320 (nios2_negate_arg): Likewise.
321 * config/tc-rx.c (rx_section): Likewise.
322 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
323 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
324 * config/tc-tic54x.c (tic54x_include): Likewise.
325 (tic54x_macro_info): Likewise.
326 (subsym_get_arg): Likewise.
327 (subsym_substitute): Likewise.
328 (tic54x_start_line_hook): Likewise.
329 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
330 (xg_reverse_shift_count): Likewise.
331 * config/xtensa-relax.c (enter_opname_n): Likewise.
332 (split_string): Likewise.
333 * dwarf2dbg.c (get_filenum): Likewise.
334 (process_entries): Likewise.
335 * expr.c (operand): Likewise.
336 * itbl-ops.c (alloc_entry): Likewise.
337 * listing.c (listing_message): Likewise.
338 (listing_title): Likewise.
339 * macro.c (check_macro): Likewise.
340 * stabs.c (s_xstab): Likewise.
341 * symbols.c (symbol_relc_make_expr): Likewise.
342 * write.c (compress_debug): Likewise.
344 2016-05-12 Nick Clifton <nickc@redhat.com>
347 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
349 2016-05-11 Nick Clifton <nickc@redhat.com>
352 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
353 big endian ARM configurations.
355 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
356 Matthew Fortune <matthew.fortune@imgtec.com>
358 * config/tc-mips.c (options): Add OPTION_DSPR3 and
360 (md_longopts): Likewise.
361 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
362 (mips_ases): Define availability for DSPr3.
363 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
364 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
365 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
367 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
368 .set nodspr3. Fix -mdspr2 formatting.
369 * testsuite/gas/mips/mips32-dspr3.d: New file.
370 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
371 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
373 2016-05-11 Nick Clifton <nickc@redhat.com>
376 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
377 to the pool uses O_constant.
378 * testsuite/gas/arm/pr20068.s: New test.
379 * testsuite/gas/arm/pr20068.d: Test driver.
381 2016-05-11 Nick Clifton <nickc@redhat.com>
383 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
384 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
385 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
386 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
387 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
388 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
389 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
390 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
391 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
393 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
395 * testsuite/gas/i386/i386.exp: Run RDPID tests.
396 * testsuite/gas/i386/prefix.d: Adjust.
397 * testsuite/gas/i386/rdpid.s: New test.
398 * testsuite/gas/i386/rdpid.d: Ditto.
399 * testsuite/gas/i386/rdpid-intel.d: Ditto.
400 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
401 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
402 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
404 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
406 * config/tc-i386.c (cpu_arch): Add RDPID.
407 * doc/c-i386.texi: Document RDPID.
409 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
411 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
412 set branch type of a symbol.
414 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
416 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
417 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
419 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
420 (aeabi_set_public_attributes): Memorize the feature bits of the
421 architecture selected for Tag_CPU_arch. Use it to set
422 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
423 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
424 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
425 * testsuite/gas/arm/arch7em-bad-1.d: This.
426 * testsuite/gas/arm/arch7em-bad-2.d: New file.
427 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
428 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
429 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
430 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
431 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
432 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
433 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
435 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
437 * config/tc-arm.c (struct arm_option_extension_value_table): Make
438 allowed_archs an array with 2 entries.
439 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
440 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
441 (arm_extensions): Use separate entries in allowed_archs when several
442 archs are allowed to use an extension and change ARCH_ANY in
443 ARM_ARCH_NONE in allowed_archs.
444 (arm_parse_extension): Check that, for each allowed_archs entry, all
445 bits are set in the current architecture, ignoring ARM_ANY entries.
446 (s_arm_arch_extension): Likewise.
448 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
450 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
451 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
452 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
453 shared with a non M profile architecture.
454 (do_rn): New function.
455 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
457 (v7m_psrs): Add ARMv8-M security extensions new special registers.
458 (insns): Add ARMv8-M Security Extensions instructions.
459 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
460 arm_ext_v8m_m to decide the profile and the Thumb ISA.
461 * testsuite/gas/arm/archv8m-cmse.s: New file.
462 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
463 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
464 * testsuite/gas/arm/any-cmse.d: Likewise.
465 * testsuite/gas/arm/any-cmse-main.d: Likewise.
466 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
467 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
468 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
469 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
470 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
472 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
474 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
475 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
477 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
479 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
480 (fpu_arch_vfp_v3): Likewise.
481 (fpu_arch_neon_v1): Likewise.
482 (arm_arch_full): Likewise.
483 (parse_neon_el_struct_list): Initialize fields of firsttype.
485 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
487 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
488 (arc_extinsn): Handle new introduced syntax.
489 * testsuite/gas/arc/textinsn1op.d: New file.
490 * testsuite/gas/arc/textinsn1op.s: Likewise.
491 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
493 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
495 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
496 DW_LNS_fixed_advance_pc.
498 2016-04-27 Alan Modra <amodra@gmail.com>
500 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
501 (xmemdup0): New inline function.
503 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
505 * config/tc-mips.c (code_option_type): New enum.
506 (parse_code_option): Return status indicating option type.
507 (s_mipsset): Update `parse_code_option' call site accordingly.
508 Always set register sizes from the ISA with ISA overrides.
509 (s_module): Update `parse_code_option' call site.
510 * testsuite/gas/mips/isa-override-1.d: New test.
511 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
512 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
513 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
514 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
515 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
516 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
517 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
518 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
519 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
520 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
521 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
522 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
523 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
524 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
525 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
526 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
527 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
528 * testsuite/gas/mips/isa-override-2.l: New list test.
529 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
530 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
531 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
532 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
533 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
534 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
535 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
536 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
537 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
538 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
539 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
541 * testsuite/gas/mips/isa-override-1.s: New test source.
542 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
543 * testsuite/gas/mips/isa-override-2.s: New test source.
544 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
545 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
546 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
547 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
548 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
549 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
550 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
551 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
552 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
553 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
554 * testsuite/gas/mips/mips.exp: Run the new tests.
556 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
559 * config/tc-bfin.c: Likewise.
560 * config/tc-ia64.c: Likewise.
561 * config/tc-mep.c: Likewise.
562 * config/tc-metag.c: Likewise.
563 * config/tc-nios2.c: Likewise.
564 * config/tc-rl78.c: Likewise.
566 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
568 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
569 -mcpu. Add cross reference to .cpu directive from -mcpu option.
570 (ARC Directives): Add NPS400 to .cpu directive list.
572 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
574 * config/tc-aarch64.c (aarch64_features): Add "ras".
575 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
576 * testsuite/gas/aarch64/armv8-ras-1.d: New.
577 * testsuite/gas/aarch64/armv8-ras-1.s: New.
578 * testsuite/gas/aarch64/illegal-ras-1.d: New.
579 * testsuite/gas/aarch64/illegal-ras-1.s: New.
581 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
583 * testsuite/gas/arc/nps400-6.d: New file.
584 * testsuite/gas/arc/nps400-6.s: New file.
586 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
588 * testsuite/gas/arc/nps400-4.d: New file.
589 * testsuite/gas/arc/nps400-4.s: New file.
590 * testsuite/gas/arc/nps400-5.d: New file.
591 * testsuite/gas/arc/nps400-5.s: New file.
593 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
595 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
598 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
600 Revert prevous change.
601 * config/tc-arc.c (arc_option): Make .cpu directive
602 case-sensitive again.
604 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
606 * config/tc-arc.c (arc_option): Make .cpu directive
609 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
611 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
613 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
615 * config/tc-mips.c (md_begin): Remove useless assignment.
617 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
619 * Makefile.in: Regenerated with automake 1.11.6.
620 * aclocal.m4: Likewise.
621 * doc/Makefile.in: Likewise.
623 2016-04-15 Alan Modra <amodra@gmail.com>
625 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
627 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
629 * config/tc-nios2.c (nios2_as_options): Make file static.
630 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
631 * config/tc-sparc.c (native_op_table): Likewise.
633 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
635 * config/tc-m32c.c (M32C_Macros): Remove.
636 * config/tc-msp430.c (option_numbers): Likewise.
638 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
640 * testsuite/gas/arc/nps400-3.d: New file.
641 * testsuite/gas/arc/nps400-3.s: New file.
643 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
645 * testsuite/gas/arc/add_s-err.s: Update target pattern.
646 * testsuite/gas/arc/warn.s: Likewise.
647 * testsuite/gas/elf/elf.exp: Run test for arc.
649 2016-04-14 Nick Clifton <nickc@redhat.com>
652 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
653 sections possibly having the SHF_STRINGS flag bit set.
654 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
656 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
658 * config/tc-arc.c (mach_type_specified_p): Change type to
660 (arc_option): Set private flags when parsing cpu pseudo-op.
661 (md_parse_option): Set mach_type_specified_p to TRUE.
663 2016-04-13 Nick Clifton <nickc@redhat.com>
666 * testsuite/gas/v850/pr19937.s: New test.
667 * testsuite/gas/v850/pr19937.d: New test control file.
668 * testsuite/gas/v850/basic.exp: Run the new test.
670 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
671 Andrew Bennett <andrew.bennett@imgtec.com>
673 * config/tc-mips.c (relaxed_branch_length): Use the long
674 sequence where the target is a weak symbol.
675 (relaxed_micromips_32bit_branch_length): Likewise.
676 (relaxed_micromips_16bit_branch_length): Likewise.
677 * testsuite/gas/mips/branch-weak-1.d: New test.
678 * testsuite/gas/mips/branch-weak-2.d: New test.
679 * testsuite/gas/mips/branch-weak-3.d: New test.
680 * testsuite/gas/mips/branch-weak-4.d: New test.
681 * testsuite/gas/mips/branch-weak-5.d: New test.
682 * testsuite/gas/mips/branch-weak.l: New stderr output.
683 * testsuite/gas/mips/branch-weak.s: New test source.
684 * testsuite/gas/mips/mips.exp: Run the new tests.
686 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
688 * config/tc-mips.c (relaxed_branch_length): Use the long
689 sequence where the distance cannot be determined.
690 (relaxed_micromips_32bit_branch_length): Likewise.
691 * testsuite/gas/mips/branch-extern-1.d: New test.
692 * testsuite/gas/mips/branch-extern-2.d: New test.
693 * testsuite/gas/mips/branch-extern-3.d: New test.
694 * testsuite/gas/mips/branch-extern-4.d: New test.
695 * testsuite/gas/mips/branch-extern.l: New stderr output.
696 * testsuite/gas/mips/branch-extern.s: New test source.
697 * testsuite/gas/mips/branch-section-1.d: New test.
698 * testsuite/gas/mips/branch-section-2.d: New test.
699 * testsuite/gas/mips/branch-section-3.d: New test.
700 * testsuite/gas/mips/branch-section-4.d: New test.
701 * testsuite/gas/mips/branch-section.l: New stderr output.
702 * testsuite/gas/mips/branch-section.s: New test source.
703 * testsuite/gas/mips/mips.exp: Run the new tests.
705 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
707 * testsuite/gas/arc/textauxregister.d: New file.
708 * testsuite/gas/arc/textauxregister.s: Likewise.
709 * testsuite/gas/arc/textcondcode.d: Likewise.
710 * testsuite/gas/arc/textcondcode.s: Likewise.
711 * testsuite/gas/arc/textcoreregister.d: Likewise.
712 * testsuite/gas/arc/textcoreregister.s: Likewise.
713 * testsuite/gas/arc/textpseudoop.d: Likewise.
714 * testsuite/gas/arc/textpseudoop.s: Likewise.
715 * testsuite/gas/arc/ld2.d: Update test.
716 * testsuite/gas/arc/st.d: Likewise.
717 * testsuite/gas/arc/taux.d: Likewise.
718 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
719 .extCoreRegister and .extAuxRegister documentation.
720 * config/tc-arc.c (arc_extcorereg): New function.
721 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
722 .extAuxRegister pseudo-ops.
723 (extRegister_t): New type.
724 (ext_condcode, arc_aux_hash): New global variable.
725 (find_opcode_match): Check for extensions.
726 (preprocess_operands): Likewise.
727 (md_begin): Add aux registers in a hash.
728 (assemble_insn): Update use arc_flags member.
729 (tokenize_extregister): New function.
730 (create_extcore_section): Likewise.
731 * config/tc-arc.h (arc_flags): Delete code, add flgp.
733 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
735 * testsuite/gas/arc/noargs_a7.d: New file.
736 * testsuite/gas/arc/noargs_a7.s: Likewise.
737 * testsuite/gas/arc/noargs_hs.d: Likewise.
738 * testsuite/gas/arc/noargs_hs.s: Likewise.
740 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
742 * testsuite/gas/arc/textinsn-errors.d: New File.
743 * testsuite/gas/arc/textinsn-errors.err: Likewise.
744 * testsuite/gas/arc/textinsn-errors.s: Likewise.
745 * testsuite/gas/arc/textinsn2op.d: Likewise.
746 * testsuite/gas/arc/textinsn2op.s: Likewise.
747 * testsuite/gas/arc/textinsn2op01.d: Likewise.
748 * testsuite/gas/arc/textinsn2op01.s: Likewise.
749 * testsuite/gas/arc/textinsn3op.d: Likewise.
750 * testsuite/gas/arc/textinsn3op.s: Likewise.
751 * doc/c-arc.texi (ARC Directives): Add .extInstruction
753 * config/tc-arc.c (arcext_section): New variable.
754 (arc_extinsn): New function.
755 (md_pseudo_table): Add .extInstruction pseudo op.
756 (attributes_t): New type.
757 (suffixclass, syntaxclass, syntaxclassmod): New constant
759 (find_opcode_match): Remove arc_num_opcodes.
760 (md_begin): Likewise.
761 (tokenize_extinsn): New function.
762 (arc_set_ext_seg): Likewise.
763 (create_extinst_section): Likewise.
765 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
767 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
768 (arc_adjust_symtab): New function.
769 * config/tc-arc.h (ARC_FLAG_AUX): Define.
770 (obj_adjust_symtab): Likewise.
771 * testsuite/gas/arc/taux.d: New file.
772 * testsuite/gas/arc/taux.s: Likewise.
774 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
776 * config/tc-mips.c (s_option): Sanitize `.option picX'
778 * testsuite/gas/mips/option-pic-1.d: New test.
779 * testsuite/gas/mips/option-pic-2.l: New list test.
780 * testsuite/gas/mips/option-pic-1.s: New test source.
781 * testsuite/gas/mips/option-pic-2.s: New test source.
782 * testsuite/gas/mips/mips.exp: Run the new tests.
784 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
786 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
788 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
789 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
790 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
791 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
792 * testsuite/gas/mips/mips.exp: Run the new tests.
794 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
796 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
798 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
800 * messages.c (as_bad): Fix a typo in description.
802 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
804 * config/tc-mips.c (mips_check_options): Unify messages.
806 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
808 * config/tc-mips.c (mips_check_options): Use `opts->isa'
811 2016-04-08 Nick Clifton <nickc@redhat.com>
814 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
815 COFF and AOUT sparc targets.
817 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
819 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
820 * testsuite/gas/arc/nps400-2.d: New file.
821 * testsuite/gas/arc/nps400-2.s: New file.
823 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
825 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
827 (arc_opcode_hash_entry_iterator_init): New function.
828 (arc_opcode_hash_entry_iterator_next): New function.
829 (find_opcode_match): Iterate over all arc_opcode entries
830 referenced by the arc_opcode_hash_entry passed in as a parameter.
832 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
834 * config/tc-arc.c (arc_find_opcode): Now returns
835 arc_opcode_hash_entry pointer.
836 (find_opcode_match): Update argument type, extract arc_opcode from
837 incoming arc_opcode_hash_entry.
838 (find_special_case_pseudo): Update return type.
839 (find_special_case_flag): Update return type.
840 (find_special_case): Update return type.
841 (assemble_tokens): Lookup arc_opcode_hash_entry based on
842 instruction mnemonic, then use find_opcode_match to identify
845 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
847 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
848 (arc_find_opcode): New function.
849 (find_special_case_pseudo): Use arc_find_opcode.
850 (find_special_case_flag): Likewise.
851 (assemble_tokens): Likewise.
852 (md_begin): Build hash using struct arc_opcode_hash_entry.
854 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
856 * config/tc-arc.c (arc_option): Prepare string for automatic
858 (declare_register): Likewise.
860 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
862 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
863 Correct entry for RDMA. Alpha sort entries.
865 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
867 * config/tc-arc.c (tokenize_flags): Allow greater range of
868 characters into flag names.
870 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
872 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
874 (preprocess_operands): Delete.
875 (assemble_tokens): Remove call to preprocess_operands.
877 2016-04-07 Nick Clifton <nickc@redhat.com>
880 * config/tc-sparc.c (sparc_ip): Report an error if the expression
881 inside a %-macro could not be fully parsed.
882 * expr.c (integer_constant): Accept and ignore U suffixes to
884 (operand): When a missing closing parenthesis is encountered,
885 report the character that was found instead.
886 * testsuite/gas/mips/tls-ill.l: Update expected error message.
887 * testsuite/gas/sparc/pr19910-1.d: New test driver.
888 * testsuite/gas/sparc/pr19910-1.s: New test.
889 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
890 * testsuite/gas/sparc/pr19910-2.s: New test.
891 * testsuite/gas/sparc/sparc.exp: Run the new tests.
893 2016-04-06 Nick Clifton <nickc@redhat.com>
895 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
896 an EINT instruction. Warn/fix as necessary.
897 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
898 * testsuite/gas/msp430/bad.l: Update expected messages.
900 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
902 * testsuite/gas/arc/nps400-1.d: Update expected results.
903 * testsuite/gas/arc/nps400-1.s: Additional test cases.
905 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
907 * config/tc-arc.c (is_code_density_p): Compare directly the
909 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
910 (check_cpu_feature): New function.
911 (find_opcode_match): Use check_cpu_feature function.
912 (preprocess_operands): Likewise.
913 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
914 * testsuite/gas/arc/tdpfp.d: New file.
915 * testsuite/gas/arc/tfpuda.d: Likewise.
916 * testsuite/gas/arc/tfpx.s: Likewise.
918 2016-04-05 Jiong Wang <jiong.wang@arm.com>
920 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
921 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
922 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
923 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
924 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
925 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
926 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
927 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
929 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
931 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
933 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
934 JUMP instructions type.
935 * testsuite/gas/arc/relocs-errors.d: New file.
936 * testsuite/gas/arc/relocs-errors.err: Likewise.
937 * testsuite/gas/arc/relocs-errors.s: Likewise.
939 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
942 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
943 only if i.disp_encoding != disp_encoding_32bit.
944 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
945 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
946 * gas/testsuite/gas/i386/disp32.d: Updated.
947 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
949 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
952 * testsuite/gas/i386/i386.exp: Run pr19498.
953 * testsuite/gas/i386/pr19498.d: New file.
954 * testsuite/gas/i386/pr19498.s: Likewise.
956 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
958 * config/tc-arc.h: Include 'opcode/arc.h'.
959 (MAX_INSN_ARGS): Delete.
960 (MAX_INSN_FLGS): Delete.
962 2016-04-04 Alan Modra <amodra@gmail.com>
965 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
966 from function on all paths that set sy_resolving.
968 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
970 * app.c (app_push): use XNEW macro.
972 * config/obj-elf.c (obj_elf_change_section): Likewise.
973 (elf_copy_symbol_attributes): Likewise.
974 (obj_elf_size): Likewise.
975 (build_group_lists): Likewise.
976 * config/tc-aarch64.c (add_operand_error_record): Likewise.
977 (md_assemble): Likewise.
978 (tc_gen_reloc): Likewise.
979 (get_upper_str): Likewise.
980 (aarch64_parse_features): Likewise.
981 * config/tc-arm.c (insert_reg_alias): Likewise.
982 (insert_neon_reg_alias): Likewise.
983 (find_or_make_literal_pool): Likewise.
984 (s_arm_elf_cons): Likewise.
985 (add_unwind_opcode): Likewise.
986 (arm_parse_extension): Likewise.
987 * config/tc-avr.c (create_record_for_frag): Likewise.
988 * config/tc-crx.c: Likewise.
989 * config/tc-d30v.c: Likewise.
990 * config/tc-dlx.c (s_proc): Likewise.
991 * config/tc-ft32.c: Likewise.
992 * config/tc-h8300.c: Likewise.
993 * config/tc-hppa.c (pa_proc): Likewise.
994 (create_new_space): Likewise.
995 (create_new_subspace): Likewise.
996 * config/tc-i860.c: Likewise.
997 * config/tc-i960.c: Likewise.
998 * config/tc-ia64.c: Likewise.
999 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1000 (iq2000_record_hi16): Likewise.
1001 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1002 * config/tc-m32r.c (debug_sym): Likewise.
1003 (m32r_record_hi16): Likewise.
1004 * config/tc-m68k.c (m68k_ip): Likewise.
1005 (md_begin): Likewise.
1006 * config/tc-mcore.c: Likewise.
1007 * config/tc-microblaze.c (check_got): Likewise.
1008 * config/tc-mips.c (append_insn): Likewise.
1009 (s_mipsset): Likewise.
1010 (mips_record_label): Likewise.
1011 (s_mips_end): Likewise.
1012 * config/tc-mmix.c (mmix_frob_file): Likewise.
1013 * config/tc-mn10200.c: Likewise.
1014 * config/tc-mn10300.c: Likewise.
1015 * config/tc-moxie.c: Likewise.
1016 * config/tc-msp430.c: Likewise.
1017 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1018 * config/tc-ns32k.c: Likewise.
1019 * config/tc-or1k.c: Likewise.
1020 * config/tc-pdp11.c: Likewise.
1021 * config/tc-pj.c (fake_opcode): Likewise.
1022 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1023 (ppc_macro): Likewise.
1024 (ppc_dwsect): Likewise.
1025 (ppc_machine): Likewise.
1026 * config/tc-rl78.c (rl78_frag_init): Likewise.
1027 * config/tc-rx.c (rx_frag_init): Likewise.
1028 * config/tc-s390.c (s390_lit_suffix): Likewise.
1029 (s390_machine): Likewise.
1030 (s390_machinemode): Likewise.
1031 * config/tc-score.c (s3_insert_reg): Likewise.
1032 (s3_gen_reloc): Likewise.
1033 * config/tc-score7.c (s7_insert_reg): Likewise.
1034 (s7_gen_reloc): Likewise.
1035 * config/tc-tic30.c (tic30_operand): Likewise.
1036 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1037 * config/tc-tic54x.c (stag_add_field): Likewise.
1038 (tic54x_struct): Likewise.
1039 (tic54x_space): Likewise.
1040 (tic54x_field): Likewise.
1041 (tic54x_mlib): Likewise.
1042 (subsym_substitute): Likewise.
1043 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1044 * config/tc-vax.c: Likewise.
1045 * config/tc-xc16x.c: Likewise.
1046 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1047 (directive_push): Likewise.
1048 (xtensa_begin_directive): Likewise.
1049 (tokenize_arguments): Likewise.
1050 (xtensa_add_literal_sym): Likewise.
1051 (new_resource_table): Likewise.
1052 (resize_resource_table): Likewise.
1053 (emit_single_op): Likewise.
1054 (xtensa_create_trampoline_frag): Likewise.
1055 (xtensa_maybe_create_literal_pool_frag): Likewise.
1056 (xtensa_add_config_info): Likewise.
1057 (xtensa_realloc_fixup_cache): Likewise.
1058 (add_subseg_info): Likewise.
1059 (cache_literal_section): Likewise.
1060 (add_xt_block_frags): Likewise.
1061 (add_xt_prop_frags): Likewise.
1062 (init_op_placement_info_table): Likewise.
1063 (build_section_rename): Likewise.
1064 * config/tc-z80.c: Likewise.
1065 * config/tc-z8k.c: Likewise.
1066 * depend.c (register_dependency): Likewise.
1067 * dwarf2dbg.c (get_line_subseg): Likewise.
1068 (dwarf2_gen_line_info_1): Likewise.
1069 (get_filenum): Likewise.
1070 * ecoff.c (allocate_scope): Likewise.
1071 (allocate_vlinks): Likewise.
1072 (allocate_shash): Likewise.
1073 (allocate_thash): Likewise.
1074 (allocate_tag): Likewise.
1075 (allocate_forward): Likewise.
1076 (allocate_thead): Likewise.
1077 (allocate_lineno_list): Likewise.
1078 * expr.c (make_expr_symbol): Likewise.
1079 * hash.c (hash_new_sized): Likewise.
1080 * input-file.c (input_file_push): Likewise.
1081 * listing.c (file_info): Likewise.
1082 (listing_newline): Likewise.
1083 * macro.c (new_formal): Likewise.
1084 (define_macro): Likewise.
1085 * remap.c (add_debug_prefix_map): Likewise.
1086 * symbols.c (symbol_find_noref): Likewise.
1087 (define_dollar_label): Likewise.
1088 (fb_label_instance_inc): Likewise.
1089 (symbol_relc_make_value): Likewise.
1091 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1093 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1094 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1095 (ppc_znop): Likewise.
1096 (ppc_pe_section): Likewise.
1097 (ppc_frob_symbol): Likewise.
1098 * config/tc-tic30.c (tic30_operand): Likewise.
1099 * config/tc-tic4x.c (tic4x_sect): Likewise.
1100 (tic4x_usect): Likewise.
1102 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1104 * config/tc-alpha.c: Const qualify FLT_CHARS.
1105 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1106 * config/tc-cris.h: Likewise.
1108 * config/tc-mmix.c (md_atof): Adjust comment.
1109 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1110 * tc.h: Declare FLT_CHARS and EXP_CHARS.
1112 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1114 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1115 * config/tc-score7.c (s7_gen_reloc): Likewise.
1117 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1119 * config/tc-arm.c (do_t_branch): Change the type of reloc to
1120 bfd_reloc_code_real_type.
1122 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1124 * config/bfin-parse.y (current_inputline): Remove definition.
1125 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1127 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1129 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1132 2016-04-02 Alan Modra <amodra@gmail.com>
1135 * read.c (assign_symbol): Consume rest of line after an error
1136 rather than continuing to process the line.
1138 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1140 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1141 (MAX_FLAG_NAME_LENGTH): ...this.
1142 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1143 * config/tc-arc.c (tokenize_flags): Likewise.
1145 2016-04-01 Alan Modra <amodra@gmail.com>
1147 * cgen.c (weak_operand_overflow_check): Return const char*.
1148 * messages.c (as_internal_value_out_of_range): Formatting.
1149 (as_warn_value_out_of_range): Consify prefix param.
1150 (as_bad_value_out_of_range): Likewise.
1151 * read.c (s_errwarn): Constify msg..
1152 (s_float_space, float_cons): ..and err.
1153 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
1154 ieee_md_atof, vax_md_atof): Update prototypes.
1155 * tc.h (md_atof): Update prototype.
1156 * config/atof-ieee.c (ieee_md_atof): Return const char*.
1157 * config/atof-vax.c (vax_md_atof): Likewise.
1158 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
1159 * config/tc-aarch64.c (md_atof): Return const char*.
1160 * config/tc-alpha.c (s_alpha_section_name): Likewise.
1161 (s_alpha_comm): Constify sec_name.
1162 (section_name): Constify.
1163 (s_alpha_section): Consify name..
1164 (alpha_elf_section_letter): ..and ptr_msg param..
1165 (md_atof): ..and return.
1166 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
1167 * config/tc-arc.c (md_atof): Return const char*.
1168 * config/tc-arm.c (md_atof): Likewise.
1169 * config/tc-avr.c (md_atof): Likewise.
1170 * config/tc-bfin.c (md_atof): Likewise.
1171 * config/tc-cr16.c (md_atof): Likewise.
1172 * config/tc-cris.c (md_atof): Likewise.
1173 * config/tc-crx.c (md_atof): Likewise.
1174 * config/tc-d10v.c (md_atof): Likewise.
1175 * config/tc-d30v.c (md_atof): Likewise.
1176 * config/tc-dlx.c (md_atof): Likewise.
1177 * config/tc-epiphany.c (md_atof): Likewise.
1178 * config/tc-fr30.c (md_atof): Likewise.
1179 * config/tc-frv.c (md_atof): Likewise.
1180 * config/tc-ft32.c (md_atof): Likewise.
1181 * config/tc-h8300.c (md_atof): Likewise.
1182 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
1183 (struct default_space_dict): Likewise.
1184 (create_new_space): Constify name param.
1185 (create_new_subspace): Likewise.
1186 (is_defined_space, is_defined_subspace): Likewise.
1187 (pa_parse_space_stmt): Constify space_name param.
1188 (md_atof): Return const char*.
1189 (pa_spaces_begin): Constify name.
1190 * config/tc-i370.c (md_atof): Return const char*.
1191 * config/tc-i386.c (md_atof): Likewise.
1192 (x86_64_section_letter): Constify ptr_msg param.
1193 * config/tc-i386.h (x86_64_section_letter): Update prototype.
1194 * config/tc-i860.c (struct i860_it): Constify error.
1195 (md_atof): Return const char*.
1196 * config/tc-i960.c (md_atof): Likewise.
1197 * config/tc-ia64.c (md_atof): Likewise.
1198 (ia64_elf_section_letter): Constify ptr_msg param.
1199 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
1200 * config/tc-ip2k.c (md_atof): Return const char*.
1201 * config/tc-iq2000.c (md_atof): Likewise.
1202 * config/tc-lm32.c (md_atof): Likewise.
1203 * config/tc-m32c.c (md_atof): Likewise.
1204 * config/tc-m32r.c (md_atof): Likewise.
1205 * config/tc-m68hc11.c (md_atof): Likewise.
1206 * config/tc-m68k.c (md_atof): Likewise.
1207 * config/tc-mcore.c (md_atof): Likewise.
1208 * config/tc-mep.c (md_atof): Likewise.
1209 (mep_elf_section_letter): Constify ptr_msg param.
1210 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
1211 * config/tc-metag.c (md_atof): Return const char*.
1212 * config/tc-microblaze.c (md_atof): Likewise.
1213 * config/tc-microblaze.h (md_atof): Delete prototype.
1214 * config/tc-mips.c (mips_parse_argument_token): Constify err.
1215 (md_atof): Return const char*.
1216 * config/tc-mmix.c (md_atof): Likewise.
1217 * config/tc-mn10200.c (md_atof): Likewise.
1218 * config/tc-mn10300.c (md_atof): Likewise.
1219 * config/tc-moxie.c (md_atof): Likewise.
1220 * config/tc-msp430.c (md_atof): Likewise.
1221 * config/tc-mt.c (md_atof): Likewise.
1222 * config/tc-nds32.c (md_atof): Likewise.
1223 * config/tc-nios2.c (md_atof): Likewise.
1224 (nios2_elf_section_letter): Constify ptr_msg param.
1225 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
1226 * config/tc-ns32k.c (md_atof): Return const char*.
1227 * config/tc-or1k.c (md_atof): Likewise.
1228 * config/tc-pdp11.c (struct pdp11_code): Constify error.
1229 (md_atof): Return const char*.
1230 * config/tc-pj.c (md_atof): Likewise.
1231 * config/tc-ppc.c (md_atof): Likewise.
1232 * config/tc-rl78.c (md_atof): Likewise.
1233 * config/tc-rx.c (md_atof): Likewise.
1234 * config/tc-s390.c (md_atof): Likewise.
1235 * config/tc-score.c (s3_atof, md_atof): Likewise.
1236 * config/tc-sh.c (md_atof): Likewise.
1237 * config/tc-sparc.c (struct sparc_it): Constify error.
1238 (md_atof): Return const char*.
1239 * config/tc-spu.c (md_atof): Likewise.
1240 * config/tc-tic30.c (md_atof): Likewise.
1241 * config/tc-tic4x.c (md_atof): Likewise.
1242 * config/tc-tic54x.c (md_atof): Likewise.
1243 * config/tc-tic6x.c (md_atof): Likewise.
1244 * config/tc-tilegx.c (md_atof): Likewise.
1245 * config/tc-tilepro.c (md_atof): Likewise.
1246 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
1247 * config/tc-vax.c (md_atof): Likewise.
1248 * config/tc-visium.c (md_atof): Likewise.
1249 * config/tc-xc16x.c (md_atof): Likewise.
1250 * config/tc-xgate.c (md_atof): Likewise.
1251 * config/tc-xstormy16.c (md_atof): Likewise.
1252 * config/tc-xtensa.c (md_atof): Likewise.
1253 * config/tc-z80.c (md_atof): Likewise.
1254 * config/tc-z8k.c (md_atof): Likewise.
1256 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1258 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
1260 (xtensa_section_rename): Make argument type const char *.
1261 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
1263 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1265 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
1268 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1270 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
1272 (m32c_indirect_operand): Likewise.
1273 * config/tc-nds32.c (do_pseudo_b): Likewise.
1274 (do_pseudo_bal): Likewise.
1275 (do_pseudo_ls_bhw): Likewise.
1277 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1279 * as.c (parse_args): Cast literal to char * when assigning to optarg.
1281 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1283 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
1285 * config/tc-sparc.c (s_register): Cast a literal to char * in
1288 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1290 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
1292 * config/tc-m32r.c (expand_debug_syms): Likewise.
1293 * config/tc-msp430.c (msp430_dstoperand): Likewise.
1294 * config/tc-z80.c (md_begin): Likewise.
1295 * stabs.c (stabs_generate_asm_func): Likewise.
1297 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1299 * cgen.c: Modernize the way functions declare arguments.
1300 * config/tc-bfin.c: Likewise.
1301 * config/tc-pdp11.c: Likewise.
1302 * literal.c: Likewise.
1304 * stabs.c: Likewise.
1306 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1308 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1309 variables unsigned char[].
1310 * config/tc-alpha.c (alpha_handle_align): Likewise.
1311 * config/tc-arm.c (arm_handle_align): Likewise.
1312 * config/tc-z80.c: Likewise.
1314 2016-03-30 Nick Clifton <nickc@redhat.com>
1317 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1320 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1322 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1323 * testsuite/gas/elf/elf.exp: Likewise.
1324 * testsuite/gas/all/redef3.d: Allow execution for ARC.
1326 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1328 * testsuite/gas/arc/warn.exp: Fix matching pattern.
1330 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
1332 * testsuite/gas/arc/ext2op.d: New file.
1333 * testsuite/gas/arc/ext2op.s: Likewise.
1334 * testsuite/gas/arc/ext3op.d: Likewise.
1335 * testsuite/gas/arc/ext3op.s: Likewise.
1337 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1339 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1341 * config/tc-alpha.c (md_parse_option): Likewise.
1342 * config/tc-arc.c (md_parse_option): Likewise.
1343 * config/tc-arm.c (struct arm_long_option_table): Likewise.
1344 (md_parse_option): Likewise.
1345 * config/tc-avr.c (md_parse_option): Likewise.
1346 * config/tc-bfin.c (md_parse_option): Likewise.
1347 * config/tc-cr16.c (md_parse_option): Likewise.
1348 * config/tc-cris.c (s_cris_arch): Likewise.
1349 (md_parse_option): Likewise.
1350 * config/tc-crx.c (md_parse_option): Likewise.
1351 * config/tc-d10v.c (md_parse_option): Likewise.
1352 * config/tc-d30v.c (md_parse_option): Likewise.
1353 * config/tc-dlx.c (md_parse_option): Likewise.
1354 * config/tc-epiphany.c (md_parse_option): Likewise.
1355 * config/tc-fr30.c (md_parse_option): Likewise.
1356 * config/tc-frv.c (md_parse_option): Likewise.
1357 * config/tc-ft32.c (md_parse_option): Likewise.
1358 * config/tc-h8300.c (md_parse_option): Likewise.
1359 * config/tc-hppa.c (md_parse_option): Likewise.
1360 * config/tc-i370.c (md_parse_option): Likewise.
1361 * config/tc-i386.c (md_parse_option): Likewise.
1362 * config/tc-i860.c (md_parse_option): Likewise.
1363 * config/tc-i960.c (md_parse_option): Likewise.
1364 * config/tc-ia64.c (md_parse_option): Likewise.
1365 * config/tc-ip2k.c (md_parse_option): Likewise.
1366 * config/tc-iq2000.c (md_parse_option): Likewise.
1367 * config/tc-lm32.c (md_parse_option): Likewise.
1368 * config/tc-m32c.c (md_parse_option): Likewise.
1369 * config/tc-m32r.c (md_parse_option): Likewise.
1370 * config/tc-m68hc11.c (md_parse_option): Likewise.
1371 * config/tc-m68k.c (md_parse_option): Likewise.
1372 * config/tc-mcore.c (md_parse_option): Likewise.
1373 * config/tc-mep.c (md_parse_option): Likewise.
1374 * config/tc-metag.c (struct metag_long_option): Likewise.
1375 (md_parse_option): Likewise.
1376 * config/tc-microblaze.c (md_parse_option): Likewise.
1377 * config/tc-microblaze.h (md_parse_option): Remove prototype.
1378 * config/tc-mips.c (md_parse_option): Adjust.
1379 * config/tc-mmix.c (md_parse_option): Likewise.
1380 * config/tc-mn10200.c (md_parse_option): Likewise.
1381 * config/tc-mn10300.c (md_parse_option): Likewise.
1382 * config/tc-moxie.c (md_parse_option): Likewise.
1383 * config/tc-msp430.c (md_parse_option): Likewise.
1384 * config/tc-mt.c (md_parse_option): Likewise.
1385 * config/tc-nds32.c (md_parse_option): Likewise.
1386 * config/tc-nds32.h (nds32_parse_option): Likewise.
1387 * config/tc-nios2.c (md_parse_option): Likewise.
1388 * config/tc-ns32k.c (md_parse_option): Likewise.
1389 * config/tc-or1k.c (md_parse_option): Likewise.
1390 * config/tc-pdp11.c (md_parse_option): Likewise.
1391 * config/tc-pj.c (md_parse_option): Likewise.
1392 * config/tc-ppc.c (md_parse_option): Likewise.
1393 * config/tc-rl78.c (md_parse_option): Likewise.
1394 * config/tc-rx.c (md_parse_option): Likewise.
1395 * config/tc-s390.c (s390_parse_cpu): Likewise.
1396 * config/tc-score.c (md_parse_option): Likewise.
1397 * config/tc-sh.c (md_parse_option): Likewise.
1398 * config/tc-sparc.c (md_parse_option): Likewise.
1399 * config/tc-spu.c (md_parse_option): Likewise.
1400 * config/tc-tic30.c (md_parse_option): Likewise.
1401 * config/tc-tic4x.c (md_parse_option): Likewise.
1402 * config/tc-tic54x.c (md_parse_option): Likewise.
1403 * config/tc-tic6x.c (md_parse_option): Likewise.
1404 * config/tc-tilegx.c (md_parse_option): Likewise.
1405 * config/tc-tilepro.c (md_parse_option): Likewise.
1406 * config/tc-v850.c (md_parse_option): Likewise.
1407 * config/tc-vax.c (md_parse_option): Likewise.
1408 * config/tc-visium.c (struct visium_long_option_table): Likewise.
1409 * config/tc-xc16x.c (md_parse_option): Likewise.
1410 * config/tc-xgate.c (md_parse_option): Likewise.
1411 * config/tc-xstormy16.c (md_parse_option): Likewise.
1412 * config/tc-xtensa.c (md_parse_option): Likewise.
1413 * config/tc-z80.c (md_parse_option): Likewise.
1414 * config/tc-z8k.c (md_parse_option): Likewise.
1415 * tc.h (md_parse_option): Likewise.
1417 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1419 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1420 * config/tc-hppa.c (fix_new_hppa): Likewise.
1421 (pa_vtable_entry): Likewise.
1422 (pa_vtable_inherit): Likewise.
1423 * config/tc-m68k.c (md_begin): Likewise.
1425 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1427 * config/obj-elf.c (obj_elf_section_name): Return const char *.
1428 * config/obj-elf.h (obj_elf_section_name): Adjust.
1429 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1430 (aarch64_parse_cpu): Likewise.
1431 (aarch64_parse_arch): Likewise.
1432 * config/tc-arm.c (arm_parse_extension): Likewise.
1433 (arm_parse_cpu): Likewise.
1434 (arm_parse_arch): Likewise.
1435 * config/tc-nds32.c: Likewise.
1436 * config/xtensa-relax.c (parse_special_fn): Likewise.
1437 * stabs.c (generate_asm_file): Likewise.
1439 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1441 * config/tc-cr16.c (cr16_assemble): New function.
1442 (md_assemble): Call cr16_assemble.
1444 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1446 * as.c (parse_args): Adjust.
1447 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1448 * config/obj-elf.c (elf_frob_symbol): Adjust.
1450 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1452 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1453 registers to be in the 16..31 range.
1455 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1457 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1460 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1462 * config/tc-visium.c (md_atof): Localize the string returned on
1465 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1467 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1468 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1469 * config/tc-m68hc11.c (md_begin): Likewise.
1470 (print_opcode_list): Likewise.
1471 * config/tc-msp430.c (msp430_section): Likewise.
1472 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1473 (s3_build_dependency_insn_hsh): Likewise.
1474 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1475 (s7_build_dependency_insn_hsh): Likewise.
1476 * config/tc-tic4x.c: Likewise.
1477 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1478 (subsym_get_arg): Likewise.
1479 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1480 (get_directive): Likewise.
1481 (cache_literal_section): Likewise.
1482 * config/xtensa-relax.c: Likewise.
1483 * symbols.c (symbol_create): Likewise.
1484 (local_symbol_make): Likewise.
1485 (symbol_relc_make_expr): Likewise.
1487 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1489 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1492 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1494 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1497 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1499 * config/tc-ia64.c (ia64_do_align): Remove.
1500 (ia64_cons_align): Call do_align () directly.
1501 (dot_proc): Likewise.
1502 (stmt_float_cons): Likewise.
1504 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1506 * listing.c (listing_message): Use XNEW style allocation macros.
1507 * read.c (read_a_source_file): Likewise.
1508 (read_symbol_name): Likewise.
1509 (s_mri_common): Likewise.
1510 (assign_symbol): Likewise.
1511 (s_reloc): Likewise.
1512 (emit_expr_with_reloc): Likewise.
1513 (s_incbin): Likewise.
1514 (s_include): Likewise.
1515 * sb.c (sb_build): Likewise.
1516 (sb_check): Likewise.
1518 2016-03-22 Alan Modra <amodra@gmail.com>
1520 * write.c (record_alignment): Revert 2016-02-18 change.
1522 2016-03-22 Alan Modra <amodra@gmail.com>
1524 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1525 (emit_jsrjmp, tc_gen_reloc): Likewise.
1526 * config/tc-i370.c (i370_macro): Likewise.
1528 2016-03-22 Nick Clifton <nickc@redhat.com>
1530 * configure: Regenerate.
1532 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1534 * testsuite/gas/arc/nps400-0.d: New file.
1535 * testsuite/gas/arc/nps400-0.s: New file.
1536 * testsuite/gas/arc/nps400-1.d: New file.
1537 * testsuite/gas/arc/nps400-1.s: New file.
1539 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1541 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1542 declarations to start of block. Reset code on all flags before
1543 attempting to match them. Handle multiple hits on the same flag.
1545 * testsuite/gas/arc/asm-errors.d: New file.
1546 * testsuite/gas/arc/asm-errors.err: New file.
1547 * testsuite/gas/arc/asm-errors.s: New file.
1549 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1551 * config/tc-arc.c (cpu_types): Add nps400 entry.
1552 (check_zol): Handle nps400.
1554 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1556 * config/tc-arc.c (arc_select_cpu): Remove use of
1559 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1561 * config/tc-arc.c (arc_target): Delay initialisation until
1563 (arc_target_name): Likewise.
1564 (arc_features): Likewise.
1565 (arc_mach_type): Likewise.
1566 (cpu_types): Remove "all" entry.
1567 (arc_select_cpu): New function, most of the content is from...
1568 (md_parse_option): ... here. Call new arc_select_cpu.
1569 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1571 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1573 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1574 * testsuite/gas/arc/inline-data-2.d: New file.
1576 2016-03-21 Nick Clifton <nickc@redhat.com>
1578 * atof-generic.c: Replace use of alloca with call to xmalloc.
1580 * dwarf2dbg.c: Likewise.
1581 * macro.c: Likewise.
1582 * remap.c: Likewise.
1583 * stabs.c: Likewise.
1584 * symbols.c: Likewise.
1585 * config/obj-elf.c: Likewise.
1586 * config/tc-aarch64.c: Likewise.
1587 * config/tc-arc.c: Likewise.
1588 * config/tc-arm.c: Likewise.
1589 * config/tc-avr.c: Likewise.
1590 * config/tc-ia64.c: Likewise.
1591 * config/tc-mips.c: Likewise.
1592 * config/tc-msp430.c: Likewise.
1593 * config/tc-nds32.c: Likewise.
1594 * config/tc-ppc.c: Likewise.
1595 * config/tc-sh.c: Likewise.
1596 * config/tc-tic30.c: Likewise.
1597 * config/tc-tic54x.c: Likewise.
1598 * config/tc-xstormy16.c: Likewise.
1599 * config/te-vms.c: Likewise.
1600 * configure: Regenerate.
1602 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1604 * tc-i386.c (f32_1): Change type to unsigned char[].
1624 (jump_31): Likewise.
1625 (f32_patt): Likewise.
1626 (f16_patt): Likewise.
1635 (alt_patt): Likewise.
1637 2016-03-18 Nick Clifton <nickc@redhat.com>
1639 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1640 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1641 .tlsdescldr and .xword directives.
1644 * testsuite/gas/aarch64/pr19721.s: New test source file.
1645 * testsuite/gas/aarch64/pr19721.d: New test driver file.
1647 * doc/as.texinfo: Place the target specific command line options
1648 into their own man page section.
1650 2016-03-16 Jiong Wang <jiong.wang@arm.com>
1652 * config/tc-arm.c (N_S_32): New.
1653 (N_F_16_32): Likewise.
1654 (N_SUF_32): Support N_F16.
1655 (N_IF_32): Likewise.
1656 (neon_dyadic_misc): Likewise.
1657 (do_neon_cmp): Likewise.
1658 (do_neon_cmp_inv): Likewise.
1659 (do_neon_mul): Likewise.
1660 (do_neon_fcmp_absolute): Likewise.
1661 (do_neon_step): Likewise.
1662 (do_neon_abs_neg): Likewise.
1663 (CVT_FLAVOR_VAR): Likewise.
1664 (do_neon_cvt_1): Likewise.
1665 (do_neon_recip_est): Likewise.
1666 (do_vmaxnm): Likewise.
1667 (do_vrint_1): Likewise.
1668 (neon_check_type): Check architecture support for FP16 extension.
1669 (insns): Update comments.
1670 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1671 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1672 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1673 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1675 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1677 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1680 2016-03-16 Nick Clifton <nickc@redhat.com>
1682 * read.c (emit_expr_with_reloc): Add code check a bignum with
1684 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1686 * testsuite/gas/elf/bignum.s: New test source file.
1687 * testsuite/gas/elf/bignum.d: New test driver file.
1688 * testsuite/gas/elf/elf.exp: Run the new test.
1690 2016-03-15 Ulrich Drepper <drepper@gmail.com>
1692 * doc/c-i386.texi (Register Naming): Update to details of the
1693 latest architecture version.
1695 2016-03-10 Mickael Guene <mickael.guene@st.com>
1698 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1700 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1701 (do_t_mov_cmp): Likewise.
1702 (do_t_add_sub): Protect against bad relocations usage.
1703 (do_t_mov_cmp): Likewise.
1704 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1705 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1706 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1707 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
1709 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1711 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1713 (do_neon_ld_st_lane): Likewise.
1714 (do_neon_ld_dup): Likewise.
1716 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1718 * testsuite/gas/arc/inline-data-1.d: New file.
1719 * testsuite/gas/arc/inline-data-1.s: New file.
1721 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
1723 * config/tc-arm.c (arm_cpus): Add cortex-r8.
1724 * doc/c-arm.texi: Add cortex-r8.
1726 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1728 * config/tc-arc.c: Add const qualifiers.
1729 * config/tc-h8300.c (md_begin): Likewise.
1730 * config/tc-ia64.c (print_prmask): Likewise.
1731 * config/tc-msp430.c (msp430_operands): Likewise.
1732 * config/tc-nds32.c (struct suffix_name): Likewise.
1733 (struct nds32_parse_option_table): Likewise.
1734 (struct nds32_set_option_table): Likewise.
1735 (do_pseudo_pushpopm): Likewise.
1736 (do_pseudo_pushpop_stack): Likewise.
1737 (nds32_relax_relocs): Likewise.
1738 (nds32_flag): Likewise.
1739 (struct nds32_hint_map): Likewise.
1740 (nds32_find_reloc_table): Likewise.
1741 (nds32_match_hint_insn): Likewise.
1742 * config/tc-s390.c: Likewise.
1743 * config/tc-sh.c (get_specific): Likewise.
1744 * config/tc-tic30.c: Likewise.
1745 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
1746 (tic4x_indirect_parse): Likewise.
1747 * config/tc-vax.c (vax_cons): Likewise.
1748 * config/tc-z80.c (struct reg_entry): Likewise.
1749 * config/tc-epiphany.c (md_assemble): Adjust.
1750 (epiphany_assemble): New function.
1751 (epiphany_elf_section_rtn): Call do_align directly.
1752 (epiphany_elf_section_text): Likewise.
1753 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
1754 (ip2k_elf_section_text): Likewise.
1755 * read.c (do_align): Make it not static.
1756 * read.h (do_align): New prototype.
1758 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1760 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
1761 for ARMv8.1 AdvSIMD use.
1762 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
1763 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
1765 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1767 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
1769 (record_feature_use): New.
1770 (mark_feature_used): Use record_feature_use.
1771 (do_neon_qrdmlah): New.
1772 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
1774 (arm_extensions): Put into alphabetical order. Re-indent "simd"
1775 and "rdma" entries. Fix the incorrect merge value for "+rdma".
1776 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
1777 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
1778 Make source file explicit.
1779 * testsuite/gas/arm/armv8-a+rdma.l: New.
1780 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
1781 directives. Fix white-space.
1782 * testsuite/gas/arm/armv8_1-a+simd.d: New.
1784 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1786 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
1788 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1789 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1791 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
1792 (tc_arc_fix_adjustable): Changed default return value to 1.
1793 * testsuite/gas/arc/j.d: Updated expected symbol
1794 * testsuite/gas/arc/jl.d: Likewise
1795 * testsuite/gas/arc/relax-avoid1.d: Likewise
1796 * testsuite/gas/arc/st.d: Likewise
1798 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1800 * config/tc-arc.c: Enable code density instructions for ARC EM.
1802 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1805 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
1807 * as.c (flag_use_elf_stt_common): New.
1808 (show_usage): Add --elf-stt-common=.
1809 (option_values): Add OPTION_ELF_STT_COMMON.
1810 (std_longopts): Add --elf-stt-common=.
1811 (parse_args): Handle --elf-stt-common=.
1812 * as.h (flag_use_elf_stt_common): New.
1813 * config.in: Regenerated.
1814 * configure: Likewise.
1815 * configure.ac: Add --enable-elf-stt-common and define
1816 DEFAULT_GENERATE_ELF_STT_COMMON.
1817 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
1818 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
1819 * doc/as.texinfo: Document --elf-stt-common=.
1820 * testsuite/gas/elf/common3.s: New file.
1821 * testsuite/gas/elf/common3a.d: Likewise.
1822 * testsuite/gas/elf/common3b.d: Likewise.
1823 * testsuite/gas/elf/common4.s: Likewise.
1824 * testsuite/gas/elf/common4a.d: Likewise.
1825 * testsuite/gas/elf/common4b.d: Likewise.
1826 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1827 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1828 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
1830 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
1831 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
1832 --elf-stt-common=no to as.
1833 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
1834 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
1835 --elf-stt-common=no to as.
1836 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
1837 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
1838 of dw2-compress-3 and dw2-compressed-3.
1840 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1842 * as.c (select_emulation_mode): Add const qualifiers.
1844 * config/bfin-defs.h: Likewise.
1845 * config/bfin-parse.y: Likewise.
1846 * config/rx-parse.y: Likewise.
1847 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
1848 (struct aarch64_cpu_option_table): Likewise.
1849 (struct aarch64_arch_option_table): Likewise.
1850 (struct aarch64_option_cpu_value_table): Likewise.
1851 (struct aarch64_long_option_table): Likewise.
1852 (struct aarch64_option_abi_value_table): Likewise.
1853 * config/tc-arm.c (struct reloc_entry): Likewise.
1854 (tc_gen_reloc): Likewise.
1855 (struct arm_option_table): Likewise.
1856 (struct arm_legacy_option_table): Likewise.
1857 (struct arm_cpu_option_table): Likewise.
1858 (struct arm_arch_option_table): Likewise.
1859 (struct arm_option_extension_value_table): Likewise.
1860 (struct arm_option_fpu_value_table): Likewise.
1861 (struct arm_option_value_table): Likewise.
1862 (struct arm_long_option_table): Likewise.
1863 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
1864 (struct mcu_type_s): Likewise.
1865 (struct exp_mod_s): Likewise.
1866 (avr_operand): Likewise.
1867 (avr_operands): Likewise.
1868 * config/tc-d10v.c (md_begin): Likewise.
1869 * config/tc-dlx.c: Likewise.
1870 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
1871 * config/tc-ft32.c (parse_condition): Likewise.
1872 * config/tc-h8300.c (do_a_fix_imm): Likewise.
1873 * config/tc-hppa.c (pa_ip): Likewise.
1874 (hppa_regname_to_dw2regnum): Likewise.
1875 * config/tc-i370.c (i370_elf_suffix): Likewise.
1876 * config/tc-i960.c (struct tabentry): Likewise.
1877 * config/tc-m32r.c: Likewise.
1878 * config/tc-m68k.c: Likewise.
1879 * config/tc-m68k.h: Likewise.
1880 * config/tc-mcore.c (parse_psrmod): Likewise.
1881 * config/tc-metag.c (struct metag_core_option): Likewise.
1882 (struct metag_long_option): Likewise.
1883 * config/tc-microblaze.c: Likewise.
1884 * config/tc-mips.c (macro): Likewise.
1885 * config/tc-mn10200.c: Likewise.
1886 * config/tc-mn10300.c: Likewise.
1887 * config/tc-msp430.c (struct rcodes_s): Likewise.
1888 (struct hcodes_s): Likewise.
1889 (md_parse_option): Likewise.
1890 * config/tc-ns32k.c (struct ns32k_option): Likewise.
1891 (optlist): Likewise.
1892 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
1893 (tc_ppc_regname_to_dw2regnum): Likewise.
1894 * config/tc-ppc.h: Likewise.
1895 * config/tc-rl78.c: Likewise.
1896 * config/tc-rx.c (struct cpu_type): Likewise.
1897 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
1898 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
1899 (sparc_ip): Likewise.
1900 * config/tc-spu.c (insn_fmt_string): Likewise.
1901 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1902 * config/tc-v850.c: Likewise.
1903 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
1904 (struct visium_long_option_table): Likewise.
1905 * config/tc-xgate.c: Likewise.
1906 * config/tc-z8k.c: Likewise.
1907 * read.c (add_include_dir): Likewise.
1910 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1912 * testsuite/gas/all/gas.exp: Change target pattern to cover
1914 * testsuite/gas/all/redef3.d: Likewise.
1915 * testsuite/gas/elf/elf.exp: Likewise.
1917 2016-02-24 Renlin Li <renlin.li@arm.com>
1919 * config/tc-arm.c (BAD_FP16): New error message macro.
1920 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
1921 fp16 scalar instructions.
1922 (neon_check_type): Allow different size from key.
1923 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
1924 (try_vfp_nsyn): Likewise.
1925 (do_vfp_nsyn_mla_mls): Likewise.
1926 (do_vfp_nsyn_fma_fms): Likewise.
1927 (do_vfp_nsyn_ldm_stm): Likewise
1928 (do_vfp_nsyn_sqrt): Likewise
1929 (do_vfp_nsyn_div): Likewise
1930 (do_vfp_nsyn_nmul): Likewise.
1931 (do_vfp_nsyn_cmp): Likewise.
1932 (do_neon_shll): Likewise.
1933 (do_vfp_nsyn_cvt_fpv8): Likewise.
1934 (do_neon_cvttb_2): Likewise.
1935 (do_neon_mov): Likewise.
1936 (do_neon_rshift_round_imm): Likewise.
1937 (do_neon_ldr_str): Likewise.
1938 (do_vfp_nsyn_fpv8): Likewise.
1939 (do_vmaxnm): Likewise.
1940 (do_vrint_1): Likewise.
1941 (insns): New entry for vins, vmovx.
1942 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
1943 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
1944 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
1945 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
1946 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
1947 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
1948 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
1950 2016-02-24 Renlin Li <renlin.li@arm.com>
1952 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
1953 (neon_shape_class): New SC_HALF.
1954 (neon_shape_el): New SE_H.
1955 (neon_shape_el_size): New size for SE_H.
1956 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
1957 (neon_select_shape): Add SE_H support code.
1958 (el_type_of_type_chk): Use N_F_ALL.
1959 (do_vfp_nsyn_cvt): Add SE_H shape support.
1960 (do_neon_cvtz): Likewise.
1961 (do_neon_cvt_1): Likewise.
1962 (do_neon_cvttb_1): Likewise.
1964 2016-02-24 Renlin Li <renlin.li@arm.com>
1966 * testsuite/gas/arm/copro.d: Adjust output.
1967 * testsuite/gas/arm/copro.s: Adjust co-processor num.
1969 2016-02-24 Renlin Li <renlin.li@arm.com>
1971 * testsuite/gas/arm/mask_1.d: New.
1972 * testsuite/gas/arm/mask_1.s: New.
1974 2016-02-24 Renlin Li <renlin.li@arm.com>
1976 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
1977 * testsuite/gas/arm/copro.d: Update.
1979 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1981 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
1982 * doc/c-arm.texi (ARM Options): Document cortex-a32.
1984 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1986 * doc/c-arm.texi (ARM Options): Document cortex-a17.
1988 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1990 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
1993 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1995 * output-file.c (output_file_create): Make file name argument const.
1996 (output_file_close): Likewise.
1997 * output-file.h (output_file_create): Adjust.
1998 (output_file_close): Likewise.
1999 * depend.c (quote_string_for_make): Make src argument const char *.
2000 (register_dependency): Likewise.
2001 (wrap_output): Likewise.
2002 * as.h (register_dependency): Adjust.
2003 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2005 * symbols.c (S_SET_EXTERNAL): Likewise.
2006 * input-scrub.c (as_where): Return the file name.
2007 * as.h (as_where): Adjust prototype.
2008 * app.c (do_scrub_chars): Adjust.
2009 * cond.c (s_elseif): Likewise.
2011 (initialize_cframe): Likewise.
2012 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2013 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2014 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2015 * config/tc-aarch64.c (output_info): Likewise.
2016 * config/tc-ia64.c (md_assemble): Likewise.
2017 (dot_alias): Likewise.
2018 * config/tc-m68k.c (m68k_frob_label): Likewise.
2019 * config/tc-mmix.c (s_bspec): Likewise.
2020 (mmix_handle_mmixal): Likewise.
2021 * config/tc-rx.c (rx_include): Likewise.
2022 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2023 (tic54x_adjust_symtab): Likewise.
2024 * config/tc-xtensa.c (directive_push): Likewise.
2025 (xtensa_sanity_check): Likewise.
2026 (xtensa_relax_frag): Likewise.
2027 (md_convert_frag): Likewise.
2028 (tinsn_to_slotbuf): Likewise.
2029 * dwarf2dbg.c (dwarf2_where): Likewise.
2030 * ecoff.c (add_file): Likewise.
2031 (ecoff_generate_asm_lineno): Likewise.
2032 * expr.c (make_expr_symbol): Likewise.
2033 * frags.c (frag_new): Likewise.
2034 (frag_var_init): Likewise.
2035 * listing.c (listing_newline): Likewise.
2036 * messages.c (identify): Likewise.
2037 (as_show_where): Likewise.
2038 (as_warn_internal): Likewise.
2039 (as_bad_internal): Likewise.
2040 * read.c (s_irp): Likewise.
2041 (s_macro): Likewise.
2042 (s_reloc): Likewise.
2043 * stabs.c (stabs_generate_asm_file): Likewise.
2044 (stabs_generate_asm_lineno): Likewise.
2045 (stabs_generate_asm_func): Likewise.
2046 * write.c (fix_new_internal): Likewise.
2047 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2048 (as_warn_value_out_of_range): Adjust prototype.
2049 (as_bad_value_out_of_range): Adjust prototype.
2050 * messages.c (identify): Make file name argument const char *.
2051 (as_warn_internal): Likewise.
2052 (as_warn_where): Likewise.
2053 (as_bad_internal): Likewise.
2054 (as_bad_where): Likewise.
2055 (as_internal_value_out_of_range): Likewise.
2056 (as_warn_value_out_of_range): Likewise.
2057 (as_bad_value_out_of_range): Likewise.
2058 * as.h (found_comment_file): Change type to const char *.
2059 * cond.c (file_line::file): Likewise.
2060 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2061 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2062 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2063 * config/tc-aarch64.c (output_info): Likewise.
2064 * config/tc-alpha.c (insert_operand): Likewise.
2065 * config/tc-arc.c (insert_operand): Likewise.
2066 * config/tc-d30v.c (check_size): Likewise.
2067 * config/tc-ia64.c (struct alias): Likewise.
2068 * config/tc-m68k.c (struct label_line): Likewise.
2069 * config/tc-mcore.c (md_apply_fix): Likewise.
2070 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2071 * config/tc-mips.c (mips16_immed): Likewise.
2072 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2073 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2074 * config/tc-rx.c (rx_include): Likewise.
2075 * config/tc-s390.c (s390_insert_operand): Likewise.
2076 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2077 (tic54x_adjust_symtab): Likewise.
2078 * config/tc-tilegx.c (insert_operand): Likewise.
2079 (apply_special_operator): Likewise.
2080 * config/tc-tilepro.c (insert_operand): Likewise.
2081 * config/tc-xtensa.c (directive_push): Likewise.
2082 * ecoff.c (add_file): Likewise.
2083 (ecoff_generate_asm_lineno): Likewise.
2084 * listing.c (listing_newline): Likewise.
2085 * read.c (s_irp): Likewise.
2086 * write.c (install_reloc): Likewise.
2087 * write.h (struct fix): Likewise.
2088 * input-file.c (file_name): Change type to const char *.
2089 (saved_file::file_name): Likewise.
2090 (input_file_open): Change type of argument to const char *.
2091 * input-file.h (input_file_open): Adjust.
2092 * input-scrub.c (logical_input_file): change type to const char *.
2093 (physical_input_file): Likewise.
2094 (struct input_save): Adjust.
2095 (input_scrub_push): Adjust.
2096 (input_scrub_begin): Adjust.
2098 * input-scrub.c (input_scrub_new_file): Make file name argument const.
2099 (input_scrub_include_file): Likewise.
2100 (new_logical_line_flags): Likewise.
2101 (new_logical_line): Likewise.
2103 * frags.h (struct frag): Change type of fr_file to const char *.
2104 * expr.c (expr_symbol_where): Change type of file argument to
2106 * expr.h (expr_symbol_where): Likewise.
2107 * config/tc-i370.c (md_apply_fix): adjust.
2108 * config/tc-mmix.c (mmix_md_end): Likewise.
2109 * config/tc-ppc.c (md_apply_fix): Likewise.
2110 * config/tc-s390.c (md_apply_fix): Likewise.
2111 * symbols.c (report_op_error): Likewise.
2112 (resolve_symbol_value): Likewise.
2113 * config/tc-ia64.c (slot::src_file): Change type to const char *.
2114 (rsrc::file): Likewise.
2115 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2117 (xtensa_relax_frag): Likewise.
2118 (md_convert_frag): Likewise.
2119 (tinsn_to_slotbuf): Likewise.
2120 * expr.c (expr_symbol_line): Likewise.
2121 * macro.c (define_macro): Likewise.
2122 * macro.h (macro_struct): Likewise.
2123 * messages.c (as_show_where): Likewise.
2124 * read.c (s_macro): Likewise.
2125 * stabs.c (stabs_generate_asm_file): Likewise.
2126 (generate_asm_file): Likewise.
2127 (stabs_generate_asm_lineno): Likewise.
2128 * write.h (struct reloc_list): Likewise.
2129 * input-scrub.c (as_where): Change return type to const char *.
2130 * as.h (as_wheree): Adjust.
2132 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
2134 * write.c (compress_debug): Move BFD compression bits setting
2136 (write_object_file): Here.
2138 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2140 * config/tc-i386.c (register_number): Check RegVRex.
2141 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2142 with %zmm19 and %zmm3.
2143 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2144 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2146 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2147 Jiong Wang <jiong.wang@arm.com>
2149 * config/tc-arm.c (arm_ext_fp16): New.
2150 (arm_extensions): New entry for "fp16".
2152 2016-02-19 Nick Clifton <nickc@redhat.com>
2155 * read.c (read_a_source_file): Check for assemble_one returning
2156 with input_line_pointer set to NULL.
2158 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2160 * listing.c (rebuffer_line): Change return type to void.
2162 * symbols.c (decode_local_label_name): Make type a const char *.
2163 * listing.c (print_source): Make type of p const char *.
2164 (print_line): Make type of string const char *.
2165 (buffer_line): Return const char *.
2166 (title): Make type const char *.
2167 (subtitle): Likewise.
2168 (listing_listing): Make type of p const char *.
2169 * messages.c (as_internal_value_out_of_range): Make type of prefix
2171 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
2172 and string const char *.
2173 * read.c (_bfd_rel): Make type of name const char *.
2174 * app.c (out_string): Change type to const char *.
2175 (struct app_save::out_string): Likewise.
2177 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
2178 Nick Clifton <nickc@redhat.com>
2180 * read.c (finish_bundle): Avoid recording a negative alignment.
2181 (do_align): Use unsigned values for n, len and max. Only create
2182 a frag if the alignment requirement is greater than the minimum
2183 byte alignment. Avoid recording a negative alignment.
2184 (s_align): Use unsigned values where appropriate.
2185 (bss_alloc): Use an unsigned value for the alignment.
2186 (sizeof_sleb128): Add a comment noting that we encode one octet
2187 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
2188 (emit_leb129_expr): Abort if the emitted encoding was longer than
2190 * read.h (output_leb128): Update prototype.
2191 (sizeof_leb128): Update prototype.
2192 (bss_alloc): Update prototype.
2193 * write.c (record_alignment): Use an unsigned value for the
2194 alignment. Do not record alignments less than the minimum
2195 alignment for a byte.
2196 * write.h (record_alignment): Update prototype.
2198 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2200 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
2201 .init.literal/.fini.literal section name.
2202 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
2203 list of xtensa tests.
2204 * testsuite/gas/xtensa/init-fini-literals.d: New file:
2205 init-fini-literals test result patterns.
2206 * testsuite/gas/xtensa/init-fini-literals.s: New file:
2207 init-fini-literals test.
2209 2016-02-17 Nick Clifton <nickc@redhat.com>
2211 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
2212 devices.csv file as of March 2016.
2214 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
2216 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
2218 (tc_arc_regname_to_dw2regnum): Likewise.
2219 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
2220 (tc_cfi_frame_initial_instructions): Likewise.
2221 (tc_regname_to_dw2regnum): Likewise.
2222 * testsuite/gas/cfi/cfi-arc-1.d: New file.
2223 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
2224 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
2226 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
2228 * doc/internals.texi (S_IS_EXTERN): Remove.
2230 2016-02-16 Nick Clifton <nickc@redhat.com>
2232 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
2235 2016-02-16 Renlin Li <renlin.li@arm.com>
2238 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
2239 * testsuite/gas/aarch64/movw_label.d: New.
2240 * testsuite/gas/aarch64/movw_label.s: New.
2242 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
2245 * config/rx-parse.y (MOV): Opcode generation for index
2246 register addressing mode.
2247 * testsuite/gas/rx/rx.exp: Updated for new testcase.
2248 * testsuite/gas/rx/pr19665.s: New file.
2249 * testsuite/gas/rx/pr19665.s: New file.
2250 * testsuite/gas/rx/mov.d: Update expected output.
2252 2016-02-15 Nick Clifton <nickc@redhat.com>
2254 * doc/as.texinfo (.section): Document that numeric values can now
2255 be used for the flags and type fields of the ELF target's .section
2256 directive. Add notes about the restrictions on setting flags and
2258 * config/obj-elf.c (obj_elf_change_section): Allow known sections
2259 to be given processor specific section types. Allow processor and
2260 application specific flags of a section to be set after
2262 (obj_elf_parse_section_letters): Handle parsing numeric values.
2263 (obj_elf_section_type): Handle parsing numeric values.
2264 (obj_elf_section): Allow numeric type values.
2265 * config/obj-elf.h (obj_elf_change_section): Update prototype.
2266 * testsuite/gas/elf/section10.d: New test.
2267 * testsuite/gas/elf/section10.s: Source file for new test.
2268 * testsuite/gas/elf/elf.exp: Run the new test.
2269 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
2270 the description of the flags produced by readelf.
2271 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
2272 * NEWS: Mention the new feature.
2274 2016-02-11 Nick Clifton <nickc@redhat.com>
2277 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
2278 until it is actually used.
2279 (cfi_set_sections): Set cfi_sections_set to true.
2280 (dot_cfi_startproc): Likewise.
2281 (dot_cfi_endproc): Likewise.
2282 (dot_cfi_fde_data): Likewise.
2283 (cfi_finish): Likewise.
2284 (dot_cfi_sections): Do not set cfi_sections_set.
2285 * doc/as.texinfo (.cfi_sections): Note that targets can provide
2286 their own cfi section name. Also note that the directive can be
2287 reissued provided that CFI generation has not started.
2288 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
2289 .cfi_endproc directives so that the redefinition of .cfi_sections
2290 will trigger the generation of the error message.
2291 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
2292 number of error message.
2294 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
2295 Janek van Oirschot <jvanoirs@synopsys.com>
2297 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2298 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2300 (arc_flags, arc_relax_type): New structure.
2301 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2302 (RELAX_TABLE_ENTRY_MAX): New define.
2303 (relaxation_state, md_relax_table, arc_relaxable_insns)
2304 (arc_num_relaxable_ins): New variable.
2305 (rlx_operand_type, arc_rlx_types): New enums.
2306 (arc_relaxable_ins): New structure.
2307 (OPTION_RELAX): New option.
2308 (arc_insn): New relax member.
2309 (arc_flags): Remove.
2310 (relax_insn_p): New function.
2311 (apply_fixups): Likewise.
2312 (relaxable_operand): Likewise.
2313 (may_relax_expr): Likewise.
2314 (relaxable_flag): Likewise.
2315 (arc_pcrel_adjust): Likewise.
2316 (md_estimate_size_before_relax): Implement.
2317 (md_convert_frag): Likewise.
2318 (md_parse_option): Handle new mrelax option.
2319 (md_show_usage): Likewise.
2320 (assemble_insn): Set relax member.
2321 (emit_insn0): New function.
2322 (emit_insn1): Likewise.
2323 (emit_insn): Handle relaxation case.
2324 * NEWS: Mention the new relaxation option.
2325 * doc/c-arc.texi (ARC Options): Document new mrelax option.
2326 * doc/as.texinfo (Target ARC Options): Likewise.
2327 * testsuite/gas/arc/relax-avoid1.d: New file.
2328 * testsuite/gas/arc/relax-avoid1.s: Likewise.
2329 * testsuite/gas/arc/relax-avoid2.d: Likewise.
2330 * testsuite/gas/arc/relax-avoid2.s: Likewise.
2331 * testsuite/gas/arc/relax-avoid3.d: Likewise.
2332 * testsuite/gas/arc/relax-avoid3.s: Likewise.
2333 * testsuite/gas/arc/relax-b.d: Likewise.
2334 * testsuite/gas/arc/relax-b.s: Likewise.
2336 2016-02-08 Nick Clifton <nickc@redhat.com>
2338 * config/tc-ia64.c (dot_prologue): Fix formatting.
2340 2016-02-04 Nick Clifton <nickc@redhat.com>
2342 * config/obj-elf.c (obj_elf_change_section): Remove support for
2343 ARM NOREAD sections.
2344 * config/tc-arm.c (arm_elf_section_letter): Delete.
2345 * config/tc-arm.h (md_elf_section_letter): Delete.
2346 * doc/c-arm.texi (ARM Section Attribute): Delete section.
2347 * testsuite/gas/arm/section-execute-only.d: Delete.
2348 * testsuite/gas/arm/section-execute-only.s: Delete.
2350 2016-02-04 Nick Clifton <nickc@redhat.com>
2353 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2354 to handle encoding of RRUX instruction.
2355 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2357 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2359 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2361 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2362 substitutions for BFD_RELOC_* as unsigned.
2363 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2364 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2365 * testsuite/gas/xtensa/loc.s: New file: loc test.
2367 2016-02-03 Kevin Buettner <kevinb@redhat.com>
2369 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
2371 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2374 * NEWS: Mention new command line option -mrelax-relocations and
2375 new configure option --enable-x86-relax-relocations for x86
2377 * config.in: Regenerated.
2378 * configure.ac: Add --enable-x86-relax-relocations.
2379 (ac_default_x86_relax_relocations): New. Default to 1 except
2380 for x86 Solaris targets older than Solaris 12.
2381 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2382 * configure: Likewise.
2383 * config/tc-i386.c (generate_relax_relocations): New.
2384 (OPTION_MRELAX_RELOCATIONS): Likewise.
2385 (output_disp): Don't generate relax relocations if
2386 generate_relax_relocations is 0.
2387 (md_longopts): Add -mrelax-relocations.
2388 (md_show_usage): Likewise.
2389 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2390 * doc/c-i386.texi: Document -mrelax-relocations=.
2391 * testsuite/gas/i386/got-no-relax.d: New file.
2392 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2393 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2394 * testsuite/gas/i386/localpic.d: Likewise.
2395 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2396 * testsuite/gas/i386/reloc32.d: Likewise.
2397 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2398 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2399 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2400 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2401 * testsuite/gas/i386/i386.exp: Run got-no-relax and
2402 x86-64-gotpcrel-no-relax.
2404 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2406 * NEWS: Mention new command line option -mfence-as-lock-add=yes
2409 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2411 * NEWS: Remove duplicated marker for 2.26.
2413 2016-02-02 Renlin Li <renlin.li@arm.com>
2415 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2417 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2419 * testsuite/gas/ip2k/allinsn.d: New file.
2420 * testsuite/gas/ip2k/allinsn.s: New file.
2421 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2423 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2425 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2426 some load instructions.
2427 * testsuite/gas/epiphany/allinsn.d: Likewise.
2428 * testsuite/gas/epiphany/regression.d: Likewise.
2430 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2432 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2433 suffixes from instruction mnemonics in expected output.
2434 * testsuite/gas/epiphany/allinsn.d: Likewise.
2435 * testsuite/gas/epiphany/regression.d: Likewise.
2436 * testsuite/gas/epiphany/sample.d: Likewise.
2438 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2440 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2442 * testsuite/gas/epiphany/allinsn.d: Likewise.
2443 * testsuite/gas/epiphany/sample.d: Likewise.
2445 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2447 * testsuite/gas/epiphany/sample.d: Update expected output.
2449 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2451 * config/tc-arc.c (md_apply_fix): Allow addendum.
2452 (arc_reloc_op): Allow complex expressions for tpoff.
2453 (md_apply_fix): Handle resolved TLS local symbol.
2454 * testsuite/gas/arc/tls-relocs1.d: New file.
2455 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2457 2016-02-01 Loria <Loria@phantasia.org>
2460 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2461 efficiency and avoid an LLVM loop optimization bug.
2463 2016-02-01 Nick Clifton <nickc@redhat.com>
2465 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2466 message extending a negative 32-bit value into a larger signed
2467 value on a 32-bit host.
2469 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2472 * configure.ac (compressed_debug_sections): Replace == with =.
2473 * configure: Regenerated.
2475 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2476 H.J. Lu <hongjiu.lu@intel.com>
2478 * config/tc-i386.c (avoid_fence): New.
2479 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2481 (OPTION_FENCE_AS_LOCK_ADD): New.
2482 (md_longopts): Add -mfence-as-lock-add.
2483 (md_parse_option): Handle -mfence-as-lock-add.
2484 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2485 * doc/c-i386.texi (-mfence-as-lock-add): Document.
2486 * testsuite/gas/i386/i386.exp: Run new tests.
2487 * testsuite/gas/i386/fence-as-lock-add.s: New.
2488 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2489 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2490 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2491 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2493 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2495 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2496 * configure: Regenerated.
2498 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2500 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2501 (OPTION_MOMIT_LOCK_PREFIX): This.
2502 (md_longopts): Updated.
2503 (md_parse_option): Likewise.
2505 2016-01-25 Catherine Moore <clm@codesourcery.com>
2507 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2508 if abicalls are in effect.
2509 * testsuite/gas/mips/sdata-gp.s: New test.
2510 * testsuite/gas/mips/sdata-gp.d: New expected output
2511 * testsuite/gas/mips/mips.exp: Run new test.
2513 2016-01-25 Renlin Li <renlin.li@arm.com>
2515 * testsuite/gas/arm/thumb2_it_search.d: New.
2516 * testsuite/gas/arm/thumb2_it_search.s: New.
2518 2016-01-21 Nick Clifton <nickc@redhat.com>
2521 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2522 with arm-netbsdelf target.
2523 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2525 2016-01-20 Nick Clifton <nickc@redhat.com>
2528 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2529 * testsuite/gas/arm/blx-bl-convert.d
2530 * testsuite/gas/arm/plt-1.d: Likewise.
2531 * testsuite/gas/arm/reloc-bad.d: Likewise.
2532 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2533 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2534 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2535 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2538 * doc/as.texinfo (Errors): Correct documentation describing the
2539 interaction of .file and .line with warning and error messages.
2542 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2543 * testsuite/gas/arm/archv8m-main.d: Likewise.
2544 * testsuite/gas/arm/archv8m-base.d: Likewise.
2546 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2548 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2549 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2550 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2552 2016-01-20 Mickael Guene <mickael.guene@st.com>
2553 Terry Guo <terry.guo@arm.com>
2555 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2556 SHF_ARM_NOREAD section flag.
2557 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2559 (arm_elf_section_letter) : Declare it.
2560 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2561 SHF_ARM_NOREAD section flag.
2562 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2564 * testsuite/gas/arm/section-execute-only.s: New test case.
2565 * testsuite/gas/arm/section-execute-only.d: Expected output.
2567 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2569 * config/tc-mips.c (micromips_insn_length): Remove the mention
2570 of 48-bit microMIPS instructions.
2572 2016-01-18 Alan Modra <amodra@gmail.com>
2574 * configure: Regenerate.
2576 2016-01-17 Alan Modra <amodra@gmail.com>
2578 * configure: Regenerate.
2580 2016-01-17 Alan Modra <amodra@gmail.com>
2582 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2584 2016-01-14 Nick Clifton <nickc@redhat.com>
2586 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2587 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2588 * testsuite/gas/rl78/rl78.exp: Run the new test.
2590 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2592 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2593 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2595 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2597 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2599 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2601 * config/tc-h8300.c (get_operand): Remove spurious condition in
2602 test for closing parenthesis.
2604 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
2606 * config/tc-arm.c (arm_ext_v8_2): New.
2608 * testsuite/gas/arm/armv8_2-a.d: New.
2609 * testsuite/gas/arm/armv8_2-a.s: New.
2611 2016-01-12 Alan Modra <amodra@gmail.com>
2613 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2615 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
2617 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2618 xvcmpnesp, xvcmpnesp.>: Delete tests.
2619 * testsuite/gas/ppc/power9.s: Likewise.
2620 * testsuite/gas/ppc/vsx3.d: Likewise.
2621 * testsuite/gas/ppc/vsx3.s: Likewise.
2623 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
2626 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2627 * testsuite/gas/m68k/p13050-1.s: New file.
2628 * testsuite/gas/m68k/p13050-2.d: New file.
2629 * testsuite/gas/m68k/p13050-2.s: New file.
2631 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2633 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2634 * testsuite/gas/arc/add.d: Likewise.
2635 * testsuite/gas/arc/and.d: Likewise.
2636 * testsuite/gas/arc/asl.d: Likewise.
2637 * testsuite/gas/arc/asr.d: Likewise.
2638 * testsuite/gas/arc/bic.d: Likewise.
2639 * testsuite/gas/arc/extb.d: Likewise.
2640 * testsuite/gas/arc/extw.d: Likewise.
2641 * testsuite/gas/arc/j.d: Likewise.
2642 * testsuite/gas/arc/jl.d: Likewise.
2643 * testsuite/gas/arc/ld2.d: Likewise.
2644 * testsuite/gas/arc/lsr.d: Likewise.
2645 * testsuite/gas/arc/mov.d: Likewise.
2646 * testsuite/gas/arc/or.d: Likewise.
2647 * testsuite/gas/arc/pcl-relocs.d: Likewise.
2648 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2649 * testsuite/gas/arc/pic-relocs.d: Likewise.
2650 * testsuite/gas/arc/plt-relocs.d: Likewise.
2651 * testsuite/gas/arc/rlc.d: Likewise.
2652 * testsuite/gas/arc/ror.d: Likewise.
2653 * testsuite/gas/arc/rrc.d: Likewise.
2654 * testsuite/gas/arc/sbc.d: Likewise.
2655 * testsuite/gas/arc/sda-relocs.d: Likewise.
2656 * testsuite/gas/arc/sda-relocs2.d: Likewise.
2657 * testsuite/gas/arc/sexb.d: Likewise.
2658 * testsuite/gas/arc/sexw.d: Likewise.
2659 * testsuite/gas/arc/st.d: Likewise.
2660 * testsuite/gas/arc/sub.d: Likewise.
2661 * testsuite/gas/arc/tls-relocs.d: Likewise.
2662 * testsuite/gas/arc/xor.d: Likewise.
2664 2016-01-01 Alan Modra <amodra@gmail.com>
2666 Update year range in copyright notice of all files.
2668 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2670 Copyright (C) 2016 Free Software Foundation, Inc.
2672 Copying and distribution of this file, with or without modification,
2673 are permitted in any medium without royalty provided the copyright
2674 notice and this notice are preserved.
2680 version-control: never