1 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3 * config/tc-arc.c (find_opcode_match): Remove casting away of
5 * config/tc-arc.h (struct arc_flags): Make flgp field const.
7 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
9 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
11 (md_convert_frag): Likewise.
13 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
15 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
16 cached opcode to NULL when we reach a non-matching opcode.
17 * testsuite/gas/arc/asm-errors-2.d: New file.
18 * testsuite/gas/arc/asm-errors-2.err: New file.
19 * testsuite/gas/arc/asm-errors-2.s: New file.
21 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
23 * config/tc-arc.c (tokenize_arguments): Add checks for array
25 * testsuite/gas/arc/asm-errors.s: Addition test line added.
26 * testsuite/gas/arc/asm-errors.err: Update expected results.
28 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
30 * config/tc-rx.c (struct cpu_type): Change the type of a field from
31 int to enum rx_cpu_types.
33 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
35 * config/tc-dlx.c (struct machine_it): change the type of a field from
36 int to bfd_reloc_code_real_type.
37 * config/tc-tic4x.c: Likewise.
39 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
41 * config/tc-v850.c (v850_target_arch): change type to enum
43 * config/tc-v850.h (v850_target_arch): Likewise.
45 2016-05-18 Alan Modra <amodra@gmail.com>
47 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
48 allowed negative range.
49 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
50 * testsuite/gas/ppc/power9.d: Update.
52 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
54 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
55 disassembling and stop skipping targets.
56 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
57 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
58 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
59 instruction for targets that have stronger alignment requirement.
60 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
61 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
62 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
63 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
64 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
65 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
66 * testsuite/gas/arm/archv8m-main.d: Likewise.
67 * testsuite/gas/arm/archv8m.s: Add label.
68 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
69 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
70 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
72 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
74 * config/tc-m32r.c (mach_table): Make static and const.
76 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
78 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
81 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
83 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
85 * config/tc-msp430.c (md_begin): Likewise.
87 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
89 * config/tc-m68hc11.c (fixup8): Change variables type from int to
90 bfd_reloc_code_real_type where appropriate.
92 (fixup8_xg): Likewise.
94 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
96 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
98 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
100 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
101 * testsuite/gas/ppc/power9.s: Likewise.
103 2016-05-13 Alan Modra <amodra@gmail.com>
105 * config/obj-coff.c (weak_uniquify): Delete unused var.
107 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
109 * app.c (app_push): Use XNEW and related macros.
110 * as.c (parse_args): Likewise.
111 * cgen.c (make_right_shifted_expr): Likewise.
112 (gas_cgen_tc_gen_reloc): Likewise.
113 * config/bfin-defs.h: Likewise.
114 * config/bfin-parse.y: Likewise.
115 * config/obj-coff.c (stack_init): Likewise.
116 (stack_push): Likewise.
117 (coff_obj_symbol_new_hook): Likewise.
118 (coff_obj_symbol_clone_hook): Likewise.
119 (add_lineno): Likewise.
120 (coff_frob_symbol): Likewise.
121 * config/obj-elf.c (obj_elf_section_name): Likewise.
122 (build_group_lists): Likewise.
123 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
124 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
125 * config/tc-aarch64.c (insert_reg_alias): Likewise.
126 (find_or_make_literal_pool): Likewise.
127 (add_to_lit_pool): Likewise.
128 (fill_instruction_hash_table): Likewise.
129 * config/tc-alpha.c (load_expression): Likewise.
130 (emit_jsrjmp): Likewise.
131 (s_alpha_ent): Likewise.
132 (s_alpha_end): Likewise.
133 (s_alpha_linkage): Likewise.
134 (md_begin): Likewise.
135 (tc_gen_reloc): Likewise.
136 * config/tc-arc.c (arc_insert_opcode): Likewise.
137 (arc_extcorereg): Likewise.
138 * config/tc-bfin.c: Likewise.
139 * config/tc-cr16.c: Likewise.
140 * config/tc-cris.c: Likewise.
141 * config/tc-crx.c (preprocess_reglist): Likewise.
142 * config/tc-d10v.c: Likewise.
143 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
144 (frv_tomcat_shuffle): Likewise.
145 * config/tc-h8300.c: Likewise.
146 * config/tc-i370.c (i370_macro): Likewise.
147 * config/tc-i386.c (lex_got): Likewise.
148 (md_parse_option): Likewise.
149 * config/tc-ia64.c (alloc_record): Likewise.
150 (set_imask): Likewise.
151 (save_prologue_count): Likewise.
152 (dot_proc): Likewise.
153 (dot_endp): Likewise.
154 (ia64_frob_label): Likewise.
155 (add_qp_imply): Likewise.
156 (add_qp_mutex): Likewise.
157 (mark_resource): Likewise.
158 (dot_alias): Likewise.
159 * config/tc-m68hc11.c: Likewise.
160 * config/tc-m68k.c (m68k_frob_label): Likewise.
162 (mri_control_label): Likewise.
163 (push_mri_control): Likewise.
164 (build_mri_control_operand): Likewise.
165 (s_mri_else): Likewise.
166 (s_mri_break): Likewise.
167 (s_mri_next): Likewise.
168 (s_mri_for): Likewise.
169 (s_mri_endw): Likewise.
170 * config/tc-metag.c (create_mnemonic_htab): Likewise.
171 * config/tc-microblaze.c: Likewise.
172 * config/tc-mmix.c (s_loc): Likewise.
173 * config/tc-nds32.c (nds32_relax_hint): Likewise.
174 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
175 * config/tc-rl78.c: Likewise.
176 * config/tc-rx.c (rx_include): Likewise.
177 * config/tc-sh.c: Likewise.
178 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
179 * config/tc-sparc.c: Likewise.
180 * config/tc-spu.c: Likewise.
181 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
182 (tic6x_start_unwind_section): Likewise.
183 * config/tc-tilegx.c: Likewise.
184 * config/tc-tilepro.c: Likewise.
185 * config/tc-v850.c: Likewise.
186 * config/tc-visium.c: Likewise.
187 * config/tc-xgate.c: Likewise.
188 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
189 (new_resource_table): Likewise.
190 (resize_resource_table): Likewise.
191 (xtensa_create_trampoline_frag): Likewise.
192 (xtensa_maybe_create_literal_pool_frag): Likewise.
193 (cache_literal_section): Likewise.
194 * config/xtensa-relax.c (append_transition): Likewise.
195 (append_condition): Likewise.
196 (append_value_condition): Likewise.
197 (append_constant_value_condition): Likewise.
198 (append_literal_op): Likewise.
199 (append_label_op): Likewise.
200 (append_constant_op): Likewise.
201 (append_field_op): Likewise.
202 (append_user_fn_field_op): Likewise.
203 (enter_opname_n): Likewise.
204 (enter_opname): Likewise.
205 (split_string): Likewise.
206 (parse_insn_templ): Likewise.
207 (clone_req_or_option_list): Likewise.
208 (clone_req_option_list): Likewise.
209 (parse_option_cond): Likewise.
210 (parse_insn_pattern): Likewise.
211 (parse_insn_repl): Likewise.
212 (build_transition): Likewise.
213 (build_transition_table): Likewise.
214 * dw2gencfi.c (alloc_fde_entry): Likewise.
215 (alloc_cfi_insn_data): Likewise.
216 (cfi_add_CFA_remember_state): Likewise.
217 (dot_cfi_escape): Likewise.
218 (dot_cfi_fde_data): Likewise.
219 (select_cie_for_fde): Likewise.
220 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
221 * ecoff.c (ecoff_add_bytes): Likewise.
222 (ecoff_build_debug): Likewise.
223 * input-scrub.c (input_scrub_push): Likewise.
224 (input_scrub_begin): Likewise.
225 (input_scrub_next_buffer): Likewise.
226 * itbl-ops.c (append_insns_as_macros): Likewise.
227 (alloc_entry): Likewise.
228 (alloc_field): Likewise.
229 * listing.c (listing_newline): Likewise.
230 (listing_listing): Likewise.
231 * macro.c (get_any_string): Likewise.
232 (delete_macro): Likewise.
233 * stabs.c (generate_asm_file): Likewise.
234 (stabs_generate_asm_lineno): Likewise.
235 * subsegs.c (subseg_change): Likewise.
236 (subseg_get): Likewise.
237 * symbols.c (define_dollar_label): Likewise.
238 (symbol_relc_make_sym): Likewise.
239 * write.c (write_relocs): Likewise.
241 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
243 * config/obj-coff.c (obj_coff_def): Simplify string copying.
244 (weak_name2altname): Likewise.
245 (weak_uniquify): Likewise.
246 (obj_coff_section): Likewise.
247 (obj_coff_init_stab_section): Likewise.
248 * config/obj-elf.c (obj_elf_section_name): Likewise.
249 (obj_elf_init_stab_section): Likewise.
250 * config/obj-evax.c (evax_shorten_name): Likewise.
251 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
252 * config/tc-aarch64.c (create_register_alias): Likewise.
253 * config/tc-alpha.c (load_expression): Likewise.
254 (s_alpha_file): Likewise.
255 (s_alpha_section_name): Likewise.
256 (tc_gen_reloc): Likewise.
257 * config/tc-arc.c (md_assemble): Likewise.
258 * config/tc-arm.c (create_neon_reg_alias): Likewise.
259 (start_unwind_section): Likewise.
260 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
261 (hppa_elf_mark_end_of_function): Likewise.
262 * config/tc-nios2.c (nios2_modify_arg): Likewise.
263 (nios2_negate_arg): Likewise.
264 * config/tc-rx.c (rx_section): Likewise.
265 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
266 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
267 * config/tc-tic54x.c (tic54x_include): Likewise.
268 (tic54x_macro_info): Likewise.
269 (subsym_get_arg): Likewise.
270 (subsym_substitute): Likewise.
271 (tic54x_start_line_hook): Likewise.
272 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
273 (xg_reverse_shift_count): Likewise.
274 * config/xtensa-relax.c (enter_opname_n): Likewise.
275 (split_string): Likewise.
276 * dwarf2dbg.c (get_filenum): Likewise.
277 (process_entries): Likewise.
278 * expr.c (operand): Likewise.
279 * itbl-ops.c (alloc_entry): Likewise.
280 * listing.c (listing_message): Likewise.
281 (listing_title): Likewise.
282 * macro.c (check_macro): Likewise.
283 * stabs.c (s_xstab): Likewise.
284 * symbols.c (symbol_relc_make_expr): Likewise.
285 * write.c (compress_debug): Likewise.
287 2016-05-12 Nick Clifton <nickc@redhat.com>
290 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
292 2016-05-11 Nick Clifton <nickc@redhat.com>
295 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
296 big endian ARM configurations.
298 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
299 Matthew Fortune <matthew.fortune@imgtec.com>
301 * config/tc-mips.c (options): Add OPTION_DSPR3 and
303 (md_longopts): Likewise.
304 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
305 (mips_ases): Define availability for DSPr3.
306 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
307 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
308 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
310 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
311 .set nodspr3. Fix -mdspr2 formatting.
312 * testsuite/gas/mips/mips32-dspr3.d: New file.
313 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
314 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
316 2016-05-11 Nick Clifton <nickc@redhat.com>
319 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
320 to the pool uses O_constant.
321 * testsuite/gas/arm/pr20068.s: New test.
322 * testsuite/gas/arm/pr20068.d: Test driver.
324 2016-05-11 Nick Clifton <nickc@redhat.com>
326 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
327 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
328 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
329 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
330 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
331 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
332 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
333 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
334 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
336 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
338 * testsuite/gas/i386/i386.exp: Run RDPID tests.
339 * testsuite/gas/i386/prefix.d: Adjust.
340 * testsuite/gas/i386/rdpid.s: New test.
341 * testsuite/gas/i386/rdpid.d: Ditto.
342 * testsuite/gas/i386/rdpid-intel.d: Ditto.
343 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
344 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
345 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
347 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
349 * config/tc-i386.c (cpu_arch): Add RDPID.
350 * doc/c-i386.texi: Document RDPID.
352 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
354 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
355 set branch type of a symbol.
357 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
359 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
360 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
362 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
363 (aeabi_set_public_attributes): Memorize the feature bits of the
364 architecture selected for Tag_CPU_arch. Use it to set
365 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
366 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
367 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
368 * testsuite/gas/arm/arch7em-bad-1.d: This.
369 * testsuite/gas/arm/arch7em-bad-2.d: New file.
370 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
371 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
372 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
373 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
374 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
375 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
376 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
378 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
380 * config/tc-arm.c (struct arm_option_extension_value_table): Make
381 allowed_archs an array with 2 entries.
382 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
383 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
384 (arm_extensions): Use separate entries in allowed_archs when several
385 archs are allowed to use an extension and change ARCH_ANY in
386 ARM_ARCH_NONE in allowed_archs.
387 (arm_parse_extension): Check that, for each allowed_archs entry, all
388 bits are set in the current architecture, ignoring ARM_ANY entries.
389 (s_arm_arch_extension): Likewise.
391 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
393 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
394 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
395 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
396 shared with a non M profile architecture.
397 (do_rn): New function.
398 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
400 (v7m_psrs): Add ARMv8-M security extensions new special registers.
401 (insns): Add ARMv8-M Security Extensions instructions.
402 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
403 arm_ext_v8m_m to decide the profile and the Thumb ISA.
404 * testsuite/gas/arm/archv8m-cmse.s: New file.
405 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
406 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
407 * testsuite/gas/arm/any-cmse.d: Likewise.
408 * testsuite/gas/arm/any-cmse-main.d: Likewise.
409 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
410 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
411 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
412 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
413 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
415 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
417 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
418 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
420 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
422 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
423 (fpu_arch_vfp_v3): Likewise.
424 (fpu_arch_neon_v1): Likewise.
425 (arm_arch_full): Likewise.
426 (parse_neon_el_struct_list): Initialize fields of firsttype.
428 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
430 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
431 (arc_extinsn): Handle new introduced syntax.
432 * testsuite/gas/arc/textinsn1op.d: New file.
433 * testsuite/gas/arc/textinsn1op.s: Likewise.
434 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
436 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
438 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
439 DW_LNS_fixed_advance_pc.
441 2016-04-27 Alan Modra <amodra@gmail.com>
443 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
444 (xmemdup0): New inline function.
446 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
448 * config/tc-mips.c (code_option_type): New enum.
449 (parse_code_option): Return status indicating option type.
450 (s_mipsset): Update `parse_code_option' call site accordingly.
451 Always set register sizes from the ISA with ISA overrides.
452 (s_module): Update `parse_code_option' call site.
453 * testsuite/gas/mips/isa-override-1.d: New test.
454 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
455 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
456 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
457 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
458 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
459 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
460 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
461 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
462 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
463 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
464 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
465 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
466 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
467 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
468 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
469 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
470 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
471 * testsuite/gas/mips/isa-override-2.l: New list test.
472 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
473 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
474 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
475 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
476 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
477 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
478 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
479 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
480 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
481 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
482 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
484 * testsuite/gas/mips/isa-override-1.s: New test source.
485 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
486 * testsuite/gas/mips/isa-override-2.s: New test source.
487 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
488 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
489 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
490 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
491 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
492 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
493 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
494 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
495 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
496 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
497 * testsuite/gas/mips/mips.exp: Run the new tests.
499 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
502 * config/tc-bfin.c: Likewise.
503 * config/tc-ia64.c: Likewise.
504 * config/tc-mep.c: Likewise.
505 * config/tc-metag.c: Likewise.
506 * config/tc-nios2.c: Likewise.
507 * config/tc-rl78.c: Likewise.
509 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
511 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
512 -mcpu. Add cross reference to .cpu directive from -mcpu option.
513 (ARC Directives): Add NPS400 to .cpu directive list.
515 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
517 * config/tc-aarch64.c (aarch64_features): Add "ras".
518 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
519 * testsuite/gas/aarch64/armv8-ras-1.d: New.
520 * testsuite/gas/aarch64/armv8-ras-1.s: New.
521 * testsuite/gas/aarch64/illegal-ras-1.d: New.
522 * testsuite/gas/aarch64/illegal-ras-1.s: New.
524 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
526 * testsuite/gas/arc/nps400-6.d: New file.
527 * testsuite/gas/arc/nps400-6.s: New file.
529 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
531 * testsuite/gas/arc/nps400-4.d: New file.
532 * testsuite/gas/arc/nps400-4.s: New file.
533 * testsuite/gas/arc/nps400-5.d: New file.
534 * testsuite/gas/arc/nps400-5.s: New file.
536 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
538 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
541 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
543 Revert prevous change.
544 * config/tc-arc.c (arc_option): Make .cpu directive
545 case-sensitive again.
547 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
549 * config/tc-arc.c (arc_option): Make .cpu directive
552 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
554 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
556 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
558 * config/tc-mips.c (md_begin): Remove useless assignment.
560 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
562 * Makefile.in: Regenerated with automake 1.11.6.
563 * aclocal.m4: Likewise.
564 * doc/Makefile.in: Likewise.
566 2016-04-15 Alan Modra <amodra@gmail.com>
568 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
570 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
572 * config/tc-nios2.c (nios2_as_options): Make file static.
573 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
574 * config/tc-sparc.c (native_op_table): Likewise.
576 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
578 * config/tc-m32c.c (M32C_Macros): Remove.
579 * config/tc-msp430.c (option_numbers): Likewise.
581 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
583 * testsuite/gas/arc/nps400-3.d: New file.
584 * testsuite/gas/arc/nps400-3.s: New file.
586 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
588 * testsuite/gas/arc/add_s-err.s: Update target pattern.
589 * testsuite/gas/arc/warn.s: Likewise.
590 * testsuite/gas/elf/elf.exp: Run test for arc.
592 2016-04-14 Nick Clifton <nickc@redhat.com>
595 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
596 sections possibly having the SHF_STRINGS flag bit set.
597 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
599 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
601 * config/tc-arc.c (mach_type_specified_p): Change type to
603 (arc_option): Set private flags when parsing cpu pseudo-op.
604 (md_parse_option): Set mach_type_specified_p to TRUE.
606 2016-04-13 Nick Clifton <nickc@redhat.com>
609 * testsuite/gas/v850/pr19937.s: New test.
610 * testsuite/gas/v850/pr19937.d: New test control file.
611 * testsuite/gas/v850/basic.exp: Run the new test.
613 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
614 Andrew Bennett <andrew.bennett@imgtec.com>
616 * config/tc-mips.c (relaxed_branch_length): Use the long
617 sequence where the target is a weak symbol.
618 (relaxed_micromips_32bit_branch_length): Likewise.
619 (relaxed_micromips_16bit_branch_length): Likewise.
620 * testsuite/gas/mips/branch-weak-1.d: New test.
621 * testsuite/gas/mips/branch-weak-2.d: New test.
622 * testsuite/gas/mips/branch-weak-3.d: New test.
623 * testsuite/gas/mips/branch-weak-4.d: New test.
624 * testsuite/gas/mips/branch-weak-5.d: New test.
625 * testsuite/gas/mips/branch-weak.l: New stderr output.
626 * testsuite/gas/mips/branch-weak.s: New test source.
627 * testsuite/gas/mips/mips.exp: Run the new tests.
629 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
631 * config/tc-mips.c (relaxed_branch_length): Use the long
632 sequence where the distance cannot be determined.
633 (relaxed_micromips_32bit_branch_length): Likewise.
634 * testsuite/gas/mips/branch-extern-1.d: New test.
635 * testsuite/gas/mips/branch-extern-2.d: New test.
636 * testsuite/gas/mips/branch-extern-3.d: New test.
637 * testsuite/gas/mips/branch-extern-4.d: New test.
638 * testsuite/gas/mips/branch-extern.l: New stderr output.
639 * testsuite/gas/mips/branch-extern.s: New test source.
640 * testsuite/gas/mips/branch-section-1.d: New test.
641 * testsuite/gas/mips/branch-section-2.d: New test.
642 * testsuite/gas/mips/branch-section-3.d: New test.
643 * testsuite/gas/mips/branch-section-4.d: New test.
644 * testsuite/gas/mips/branch-section.l: New stderr output.
645 * testsuite/gas/mips/branch-section.s: New test source.
646 * testsuite/gas/mips/mips.exp: Run the new tests.
648 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
650 * testsuite/gas/arc/textauxregister.d: New file.
651 * testsuite/gas/arc/textauxregister.s: Likewise.
652 * testsuite/gas/arc/textcondcode.d: Likewise.
653 * testsuite/gas/arc/textcondcode.s: Likewise.
654 * testsuite/gas/arc/textcoreregister.d: Likewise.
655 * testsuite/gas/arc/textcoreregister.s: Likewise.
656 * testsuite/gas/arc/textpseudoop.d: Likewise.
657 * testsuite/gas/arc/textpseudoop.s: Likewise.
658 * testsuite/gas/arc/ld2.d: Update test.
659 * testsuite/gas/arc/st.d: Likewise.
660 * testsuite/gas/arc/taux.d: Likewise.
661 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
662 .extCoreRegister and .extAuxRegister documentation.
663 * config/tc-arc.c (arc_extcorereg): New function.
664 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
665 .extAuxRegister pseudo-ops.
666 (extRegister_t): New type.
667 (ext_condcode, arc_aux_hash): New global variable.
668 (find_opcode_match): Check for extensions.
669 (preprocess_operands): Likewise.
670 (md_begin): Add aux registers in a hash.
671 (assemble_insn): Update use arc_flags member.
672 (tokenize_extregister): New function.
673 (create_extcore_section): Likewise.
674 * config/tc-arc.h (arc_flags): Delete code, add flgp.
676 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
678 * testsuite/gas/arc/noargs_a7.d: New file.
679 * testsuite/gas/arc/noargs_a7.s: Likewise.
680 * testsuite/gas/arc/noargs_hs.d: Likewise.
681 * testsuite/gas/arc/noargs_hs.s: Likewise.
683 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
685 * testsuite/gas/arc/textinsn-errors.d: New File.
686 * testsuite/gas/arc/textinsn-errors.err: Likewise.
687 * testsuite/gas/arc/textinsn-errors.s: Likewise.
688 * testsuite/gas/arc/textinsn2op.d: Likewise.
689 * testsuite/gas/arc/textinsn2op.s: Likewise.
690 * testsuite/gas/arc/textinsn2op01.d: Likewise.
691 * testsuite/gas/arc/textinsn2op01.s: Likewise.
692 * testsuite/gas/arc/textinsn3op.d: Likewise.
693 * testsuite/gas/arc/textinsn3op.s: Likewise.
694 * doc/c-arc.texi (ARC Directives): Add .extInstruction
696 * config/tc-arc.c (arcext_section): New variable.
697 (arc_extinsn): New function.
698 (md_pseudo_table): Add .extInstruction pseudo op.
699 (attributes_t): New type.
700 (suffixclass, syntaxclass, syntaxclassmod): New constant
702 (find_opcode_match): Remove arc_num_opcodes.
703 (md_begin): Likewise.
704 (tokenize_extinsn): New function.
705 (arc_set_ext_seg): Likewise.
706 (create_extinst_section): Likewise.
708 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
710 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
711 (arc_adjust_symtab): New function.
712 * config/tc-arc.h (ARC_FLAG_AUX): Define.
713 (obj_adjust_symtab): Likewise.
714 * testsuite/gas/arc/taux.d: New file.
715 * testsuite/gas/arc/taux.s: Likewise.
717 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
719 * config/tc-mips.c (s_option): Sanitize `.option picX'
721 * testsuite/gas/mips/option-pic-1.d: New test.
722 * testsuite/gas/mips/option-pic-2.l: New list test.
723 * testsuite/gas/mips/option-pic-1.s: New test source.
724 * testsuite/gas/mips/option-pic-2.s: New test source.
725 * testsuite/gas/mips/mips.exp: Run the new tests.
727 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
729 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
731 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
732 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
733 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
734 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
735 * testsuite/gas/mips/mips.exp: Run the new tests.
737 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
739 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
741 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
743 * messages.c (as_bad): Fix a typo in description.
745 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
747 * config/tc-mips.c (mips_check_options): Unify messages.
749 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
751 * config/tc-mips.c (mips_check_options): Use `opts->isa'
754 2016-04-08 Nick Clifton <nickc@redhat.com>
757 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
758 COFF and AOUT sparc targets.
760 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
762 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
763 * testsuite/gas/arc/nps400-2.d: New file.
764 * testsuite/gas/arc/nps400-2.s: New file.
766 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
768 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
770 (arc_opcode_hash_entry_iterator_init): New function.
771 (arc_opcode_hash_entry_iterator_next): New function.
772 (find_opcode_match): Iterate over all arc_opcode entries
773 referenced by the arc_opcode_hash_entry passed in as a parameter.
775 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
777 * config/tc-arc.c (arc_find_opcode): Now returns
778 arc_opcode_hash_entry pointer.
779 (find_opcode_match): Update argument type, extract arc_opcode from
780 incoming arc_opcode_hash_entry.
781 (find_special_case_pseudo): Update return type.
782 (find_special_case_flag): Update return type.
783 (find_special_case): Update return type.
784 (assemble_tokens): Lookup arc_opcode_hash_entry based on
785 instruction mnemonic, then use find_opcode_match to identify
788 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
790 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
791 (arc_find_opcode): New function.
792 (find_special_case_pseudo): Use arc_find_opcode.
793 (find_special_case_flag): Likewise.
794 (assemble_tokens): Likewise.
795 (md_begin): Build hash using struct arc_opcode_hash_entry.
797 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
799 * config/tc-arc.c (arc_option): Prepare string for automatic
801 (declare_register): Likewise.
803 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
805 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
806 Correct entry for RDMA. Alpha sort entries.
808 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
810 * config/tc-arc.c (tokenize_flags): Allow greater range of
811 characters into flag names.
813 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
815 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
817 (preprocess_operands): Delete.
818 (assemble_tokens): Remove call to preprocess_operands.
820 2016-04-07 Nick Clifton <nickc@redhat.com>
823 * config/tc-sparc.c (sparc_ip): Report an error if the expression
824 inside a %-macro could not be fully parsed.
825 * expr.c (integer_constant): Accept and ignore U suffixes to
827 (operand): When a missing closing parenthesis is encountered,
828 report the character that was found instead.
829 * testsuite/gas/mips/tls-ill.l: Update expected error message.
830 * testsuite/gas/sparc/pr19910-1.d: New test driver.
831 * testsuite/gas/sparc/pr19910-1.s: New test.
832 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
833 * testsuite/gas/sparc/pr19910-2.s: New test.
834 * testsuite/gas/sparc/sparc.exp: Run the new tests.
836 2016-04-06 Nick Clifton <nickc@redhat.com>
838 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
839 an EINT instruction. Warn/fix as necessary.
840 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
841 * testsuite/gas/msp430/bad.l: Update expected messages.
843 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
845 * testsuite/gas/arc/nps400-1.d: Update expected results.
846 * testsuite/gas/arc/nps400-1.s: Additional test cases.
848 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
850 * config/tc-arc.c (is_code_density_p): Compare directly the
852 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
853 (check_cpu_feature): New function.
854 (find_opcode_match): Use check_cpu_feature function.
855 (preprocess_operands): Likewise.
856 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
857 * testsuite/gas/arc/tdpfp.d: New file.
858 * testsuite/gas/arc/tfpuda.d: Likewise.
859 * testsuite/gas/arc/tfpx.s: Likewise.
861 2016-04-05 Jiong Wang <jiong.wang@arm.com>
863 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
864 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
865 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
866 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
867 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
868 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
869 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
870 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
872 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
874 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
876 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
877 JUMP instructions type.
878 * testsuite/gas/arc/relocs-errors.d: New file.
879 * testsuite/gas/arc/relocs-errors.err: Likewise.
880 * testsuite/gas/arc/relocs-errors.s: Likewise.
882 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
885 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
886 only if i.disp_encoding != disp_encoding_32bit.
887 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
888 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
889 * gas/testsuite/gas/i386/disp32.d: Updated.
890 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
892 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
895 * testsuite/gas/i386/i386.exp: Run pr19498.
896 * testsuite/gas/i386/pr19498.d: New file.
897 * testsuite/gas/i386/pr19498.s: Likewise.
899 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
901 * config/tc-arc.h: Include 'opcode/arc.h'.
902 (MAX_INSN_ARGS): Delete.
903 (MAX_INSN_FLGS): Delete.
905 2016-04-04 Alan Modra <amodra@gmail.com>
908 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
909 from function on all paths that set sy_resolving.
911 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
913 * app.c (app_push): use XNEW macro.
915 * config/obj-elf.c (obj_elf_change_section): Likewise.
916 (elf_copy_symbol_attributes): Likewise.
917 (obj_elf_size): Likewise.
918 (build_group_lists): Likewise.
919 * config/tc-aarch64.c (add_operand_error_record): Likewise.
920 (md_assemble): Likewise.
921 (tc_gen_reloc): Likewise.
922 (get_upper_str): Likewise.
923 (aarch64_parse_features): Likewise.
924 * config/tc-arm.c (insert_reg_alias): Likewise.
925 (insert_neon_reg_alias): Likewise.
926 (find_or_make_literal_pool): Likewise.
927 (s_arm_elf_cons): Likewise.
928 (add_unwind_opcode): Likewise.
929 (arm_parse_extension): Likewise.
930 * config/tc-avr.c (create_record_for_frag): Likewise.
931 * config/tc-crx.c: Likewise.
932 * config/tc-d30v.c: Likewise.
933 * config/tc-dlx.c (s_proc): Likewise.
934 * config/tc-ft32.c: Likewise.
935 * config/tc-h8300.c: Likewise.
936 * config/tc-hppa.c (pa_proc): Likewise.
937 (create_new_space): Likewise.
938 (create_new_subspace): Likewise.
939 * config/tc-i860.c: Likewise.
940 * config/tc-i960.c: Likewise.
941 * config/tc-ia64.c: Likewise.
942 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
943 (iq2000_record_hi16): Likewise.
944 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
945 * config/tc-m32r.c (debug_sym): Likewise.
946 (m32r_record_hi16): Likewise.
947 * config/tc-m68k.c (m68k_ip): Likewise.
948 (md_begin): Likewise.
949 * config/tc-mcore.c: Likewise.
950 * config/tc-microblaze.c (check_got): Likewise.
951 * config/tc-mips.c (append_insn): Likewise.
952 (s_mipsset): Likewise.
953 (mips_record_label): Likewise.
954 (s_mips_end): Likewise.
955 * config/tc-mmix.c (mmix_frob_file): Likewise.
956 * config/tc-mn10200.c: Likewise.
957 * config/tc-mn10300.c: Likewise.
958 * config/tc-moxie.c: Likewise.
959 * config/tc-msp430.c: Likewise.
960 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
961 * config/tc-ns32k.c: Likewise.
962 * config/tc-or1k.c: Likewise.
963 * config/tc-pdp11.c: Likewise.
964 * config/tc-pj.c (fake_opcode): Likewise.
965 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
966 (ppc_macro): Likewise.
967 (ppc_dwsect): Likewise.
968 (ppc_machine): Likewise.
969 * config/tc-rl78.c (rl78_frag_init): Likewise.
970 * config/tc-rx.c (rx_frag_init): Likewise.
971 * config/tc-s390.c (s390_lit_suffix): Likewise.
972 (s390_machine): Likewise.
973 (s390_machinemode): Likewise.
974 * config/tc-score.c (s3_insert_reg): Likewise.
975 (s3_gen_reloc): Likewise.
976 * config/tc-score7.c (s7_insert_reg): Likewise.
977 (s7_gen_reloc): Likewise.
978 * config/tc-tic30.c (tic30_operand): Likewise.
979 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
980 * config/tc-tic54x.c (stag_add_field): Likewise.
981 (tic54x_struct): Likewise.
982 (tic54x_space): Likewise.
983 (tic54x_field): Likewise.
984 (tic54x_mlib): Likewise.
985 (subsym_substitute): Likewise.
986 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
987 * config/tc-vax.c: Likewise.
988 * config/tc-xc16x.c: Likewise.
989 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
990 (directive_push): Likewise.
991 (xtensa_begin_directive): Likewise.
992 (tokenize_arguments): Likewise.
993 (xtensa_add_literal_sym): Likewise.
994 (new_resource_table): Likewise.
995 (resize_resource_table): Likewise.
996 (emit_single_op): Likewise.
997 (xtensa_create_trampoline_frag): Likewise.
998 (xtensa_maybe_create_literal_pool_frag): Likewise.
999 (xtensa_add_config_info): Likewise.
1000 (xtensa_realloc_fixup_cache): Likewise.
1001 (add_subseg_info): Likewise.
1002 (cache_literal_section): Likewise.
1003 (add_xt_block_frags): Likewise.
1004 (add_xt_prop_frags): Likewise.
1005 (init_op_placement_info_table): Likewise.
1006 (build_section_rename): Likewise.
1007 * config/tc-z80.c: Likewise.
1008 * config/tc-z8k.c: Likewise.
1009 * depend.c (register_dependency): Likewise.
1010 * dwarf2dbg.c (get_line_subseg): Likewise.
1011 (dwarf2_gen_line_info_1): Likewise.
1012 (get_filenum): Likewise.
1013 * ecoff.c (allocate_scope): Likewise.
1014 (allocate_vlinks): Likewise.
1015 (allocate_shash): Likewise.
1016 (allocate_thash): Likewise.
1017 (allocate_tag): Likewise.
1018 (allocate_forward): Likewise.
1019 (allocate_thead): Likewise.
1020 (allocate_lineno_list): Likewise.
1021 * expr.c (make_expr_symbol): Likewise.
1022 * hash.c (hash_new_sized): Likewise.
1023 * input-file.c (input_file_push): Likewise.
1024 * listing.c (file_info): Likewise.
1025 (listing_newline): Likewise.
1026 * macro.c (new_formal): Likewise.
1027 (define_macro): Likewise.
1028 * remap.c (add_debug_prefix_map): Likewise.
1029 * symbols.c (symbol_find_noref): Likewise.
1030 (define_dollar_label): Likewise.
1031 (fb_label_instance_inc): Likewise.
1032 (symbol_relc_make_value): Likewise.
1034 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1036 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1037 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1038 (ppc_znop): Likewise.
1039 (ppc_pe_section): Likewise.
1040 (ppc_frob_symbol): Likewise.
1041 * config/tc-tic30.c (tic30_operand): Likewise.
1042 * config/tc-tic4x.c (tic4x_sect): Likewise.
1043 (tic4x_usect): Likewise.
1045 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1047 * config/tc-alpha.c: Const qualify FLT_CHARS.
1048 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1049 * config/tc-cris.h: Likewise.
1051 * config/tc-mmix.c (md_atof): Adjust comment.
1052 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1053 * tc.h: Declare FLT_CHARS and EXP_CHARS.
1055 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1057 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1058 * config/tc-score7.c (s7_gen_reloc): Likewise.
1060 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1062 * config/tc-arm.c (do_t_branch): Change the type of reloc to
1063 bfd_reloc_code_real_type.
1065 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1067 * config/bfin-parse.y (current_inputline): Remove definition.
1068 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1070 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1072 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1075 2016-04-02 Alan Modra <amodra@gmail.com>
1078 * read.c (assign_symbol): Consume rest of line after an error
1079 rather than continuing to process the line.
1081 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1083 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1084 (MAX_FLAG_NAME_LENGTH): ...this.
1085 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1086 * config/tc-arc.c (tokenize_flags): Likewise.
1088 2016-04-01 Alan Modra <amodra@gmail.com>
1090 * cgen.c (weak_operand_overflow_check): Return const char*.
1091 * messages.c (as_internal_value_out_of_range): Formatting.
1092 (as_warn_value_out_of_range): Consify prefix param.
1093 (as_bad_value_out_of_range): Likewise.
1094 * read.c (s_errwarn): Constify msg..
1095 (s_float_space, float_cons): ..and err.
1096 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
1097 ieee_md_atof, vax_md_atof): Update prototypes.
1098 * tc.h (md_atof): Update prototype.
1099 * config/atof-ieee.c (ieee_md_atof): Return const char*.
1100 * config/atof-vax.c (vax_md_atof): Likewise.
1101 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
1102 * config/tc-aarch64.c (md_atof): Return const char*.
1103 * config/tc-alpha.c (s_alpha_section_name): Likewise.
1104 (s_alpha_comm): Constify sec_name.
1105 (section_name): Constify.
1106 (s_alpha_section): Consify name..
1107 (alpha_elf_section_letter): ..and ptr_msg param..
1108 (md_atof): ..and return.
1109 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
1110 * config/tc-arc.c (md_atof): Return const char*.
1111 * config/tc-arm.c (md_atof): Likewise.
1112 * config/tc-avr.c (md_atof): Likewise.
1113 * config/tc-bfin.c (md_atof): Likewise.
1114 * config/tc-cr16.c (md_atof): Likewise.
1115 * config/tc-cris.c (md_atof): Likewise.
1116 * config/tc-crx.c (md_atof): Likewise.
1117 * config/tc-d10v.c (md_atof): Likewise.
1118 * config/tc-d30v.c (md_atof): Likewise.
1119 * config/tc-dlx.c (md_atof): Likewise.
1120 * config/tc-epiphany.c (md_atof): Likewise.
1121 * config/tc-fr30.c (md_atof): Likewise.
1122 * config/tc-frv.c (md_atof): Likewise.
1123 * config/tc-ft32.c (md_atof): Likewise.
1124 * config/tc-h8300.c (md_atof): Likewise.
1125 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
1126 (struct default_space_dict): Likewise.
1127 (create_new_space): Constify name param.
1128 (create_new_subspace): Likewise.
1129 (is_defined_space, is_defined_subspace): Likewise.
1130 (pa_parse_space_stmt): Constify space_name param.
1131 (md_atof): Return const char*.
1132 (pa_spaces_begin): Constify name.
1133 * config/tc-i370.c (md_atof): Return const char*.
1134 * config/tc-i386.c (md_atof): Likewise.
1135 (x86_64_section_letter): Constify ptr_msg param.
1136 * config/tc-i386.h (x86_64_section_letter): Update prototype.
1137 * config/tc-i860.c (struct i860_it): Constify error.
1138 (md_atof): Return const char*.
1139 * config/tc-i960.c (md_atof): Likewise.
1140 * config/tc-ia64.c (md_atof): Likewise.
1141 (ia64_elf_section_letter): Constify ptr_msg param.
1142 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
1143 * config/tc-ip2k.c (md_atof): Return const char*.
1144 * config/tc-iq2000.c (md_atof): Likewise.
1145 * config/tc-lm32.c (md_atof): Likewise.
1146 * config/tc-m32c.c (md_atof): Likewise.
1147 * config/tc-m32r.c (md_atof): Likewise.
1148 * config/tc-m68hc11.c (md_atof): Likewise.
1149 * config/tc-m68k.c (md_atof): Likewise.
1150 * config/tc-mcore.c (md_atof): Likewise.
1151 * config/tc-mep.c (md_atof): Likewise.
1152 (mep_elf_section_letter): Constify ptr_msg param.
1153 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
1154 * config/tc-metag.c (md_atof): Return const char*.
1155 * config/tc-microblaze.c (md_atof): Likewise.
1156 * config/tc-microblaze.h (md_atof): Delete prototype.
1157 * config/tc-mips.c (mips_parse_argument_token): Constify err.
1158 (md_atof): Return const char*.
1159 * config/tc-mmix.c (md_atof): Likewise.
1160 * config/tc-mn10200.c (md_atof): Likewise.
1161 * config/tc-mn10300.c (md_atof): Likewise.
1162 * config/tc-moxie.c (md_atof): Likewise.
1163 * config/tc-msp430.c (md_atof): Likewise.
1164 * config/tc-mt.c (md_atof): Likewise.
1165 * config/tc-nds32.c (md_atof): Likewise.
1166 * config/tc-nios2.c (md_atof): Likewise.
1167 (nios2_elf_section_letter): Constify ptr_msg param.
1168 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
1169 * config/tc-ns32k.c (md_atof): Return const char*.
1170 * config/tc-or1k.c (md_atof): Likewise.
1171 * config/tc-pdp11.c (struct pdp11_code): Constify error.
1172 (md_atof): Return const char*.
1173 * config/tc-pj.c (md_atof): Likewise.
1174 * config/tc-ppc.c (md_atof): Likewise.
1175 * config/tc-rl78.c (md_atof): Likewise.
1176 * config/tc-rx.c (md_atof): Likewise.
1177 * config/tc-s390.c (md_atof): Likewise.
1178 * config/tc-score.c (s3_atof, md_atof): Likewise.
1179 * config/tc-sh.c (md_atof): Likewise.
1180 * config/tc-sparc.c (struct sparc_it): Constify error.
1181 (md_atof): Return const char*.
1182 * config/tc-spu.c (md_atof): Likewise.
1183 * config/tc-tic30.c (md_atof): Likewise.
1184 * config/tc-tic4x.c (md_atof): Likewise.
1185 * config/tc-tic54x.c (md_atof): Likewise.
1186 * config/tc-tic6x.c (md_atof): Likewise.
1187 * config/tc-tilegx.c (md_atof): Likewise.
1188 * config/tc-tilepro.c (md_atof): Likewise.
1189 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
1190 * config/tc-vax.c (md_atof): Likewise.
1191 * config/tc-visium.c (md_atof): Likewise.
1192 * config/tc-xc16x.c (md_atof): Likewise.
1193 * config/tc-xgate.c (md_atof): Likewise.
1194 * config/tc-xstormy16.c (md_atof): Likewise.
1195 * config/tc-xtensa.c (md_atof): Likewise.
1196 * config/tc-z80.c (md_atof): Likewise.
1197 * config/tc-z8k.c (md_atof): Likewise.
1199 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1201 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
1203 (xtensa_section_rename): Make argument type const char *.
1204 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
1206 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1208 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
1211 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1213 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
1215 (m32c_indirect_operand): Likewise.
1216 * config/tc-nds32.c (do_pseudo_b): Likewise.
1217 (do_pseudo_bal): Likewise.
1218 (do_pseudo_ls_bhw): Likewise.
1220 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1222 * as.c (parse_args): Cast literal to char * when assigning to optarg.
1224 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1226 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
1228 * config/tc-sparc.c (s_register): Cast a literal to char * in
1231 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1233 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
1235 * config/tc-m32r.c (expand_debug_syms): Likewise.
1236 * config/tc-msp430.c (msp430_dstoperand): Likewise.
1237 * config/tc-z80.c (md_begin): Likewise.
1238 * stabs.c (stabs_generate_asm_func): Likewise.
1240 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1242 * cgen.c: Modernize the way functions declare arguments.
1243 * config/tc-bfin.c: Likewise.
1244 * config/tc-pdp11.c: Likewise.
1245 * literal.c: Likewise.
1247 * stabs.c: Likewise.
1249 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1251 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1252 variables unsigned char[].
1253 * config/tc-alpha.c (alpha_handle_align): Likewise.
1254 * config/tc-arm.c (arm_handle_align): Likewise.
1255 * config/tc-z80.c: Likewise.
1257 2016-03-30 Nick Clifton <nickc@redhat.com>
1260 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1263 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1265 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1266 * testsuite/gas/elf/elf.exp: Likewise.
1267 * testsuite/gas/all/redef3.d: Allow execution for ARC.
1269 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1271 * testsuite/gas/arc/warn.exp: Fix matching pattern.
1273 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
1275 * testsuite/gas/arc/ext2op.d: New file.
1276 * testsuite/gas/arc/ext2op.s: Likewise.
1277 * testsuite/gas/arc/ext3op.d: Likewise.
1278 * testsuite/gas/arc/ext3op.s: Likewise.
1280 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1282 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1284 * config/tc-alpha.c (md_parse_option): Likewise.
1285 * config/tc-arc.c (md_parse_option): Likewise.
1286 * config/tc-arm.c (struct arm_long_option_table): Likewise.
1287 (md_parse_option): Likewise.
1288 * config/tc-avr.c (md_parse_option): Likewise.
1289 * config/tc-bfin.c (md_parse_option): Likewise.
1290 * config/tc-cr16.c (md_parse_option): Likewise.
1291 * config/tc-cris.c (s_cris_arch): Likewise.
1292 (md_parse_option): Likewise.
1293 * config/tc-crx.c (md_parse_option): Likewise.
1294 * config/tc-d10v.c (md_parse_option): Likewise.
1295 * config/tc-d30v.c (md_parse_option): Likewise.
1296 * config/tc-dlx.c (md_parse_option): Likewise.
1297 * config/tc-epiphany.c (md_parse_option): Likewise.
1298 * config/tc-fr30.c (md_parse_option): Likewise.
1299 * config/tc-frv.c (md_parse_option): Likewise.
1300 * config/tc-ft32.c (md_parse_option): Likewise.
1301 * config/tc-h8300.c (md_parse_option): Likewise.
1302 * config/tc-hppa.c (md_parse_option): Likewise.
1303 * config/tc-i370.c (md_parse_option): Likewise.
1304 * config/tc-i386.c (md_parse_option): Likewise.
1305 * config/tc-i860.c (md_parse_option): Likewise.
1306 * config/tc-i960.c (md_parse_option): Likewise.
1307 * config/tc-ia64.c (md_parse_option): Likewise.
1308 * config/tc-ip2k.c (md_parse_option): Likewise.
1309 * config/tc-iq2000.c (md_parse_option): Likewise.
1310 * config/tc-lm32.c (md_parse_option): Likewise.
1311 * config/tc-m32c.c (md_parse_option): Likewise.
1312 * config/tc-m32r.c (md_parse_option): Likewise.
1313 * config/tc-m68hc11.c (md_parse_option): Likewise.
1314 * config/tc-m68k.c (md_parse_option): Likewise.
1315 * config/tc-mcore.c (md_parse_option): Likewise.
1316 * config/tc-mep.c (md_parse_option): Likewise.
1317 * config/tc-metag.c (struct metag_long_option): Likewise.
1318 (md_parse_option): Likewise.
1319 * config/tc-microblaze.c (md_parse_option): Likewise.
1320 * config/tc-microblaze.h (md_parse_option): Remove prototype.
1321 * config/tc-mips.c (md_parse_option): Adjust.
1322 * config/tc-mmix.c (md_parse_option): Likewise.
1323 * config/tc-mn10200.c (md_parse_option): Likewise.
1324 * config/tc-mn10300.c (md_parse_option): Likewise.
1325 * config/tc-moxie.c (md_parse_option): Likewise.
1326 * config/tc-msp430.c (md_parse_option): Likewise.
1327 * config/tc-mt.c (md_parse_option): Likewise.
1328 * config/tc-nds32.c (md_parse_option): Likewise.
1329 * config/tc-nds32.h (nds32_parse_option): Likewise.
1330 * config/tc-nios2.c (md_parse_option): Likewise.
1331 * config/tc-ns32k.c (md_parse_option): Likewise.
1332 * config/tc-or1k.c (md_parse_option): Likewise.
1333 * config/tc-pdp11.c (md_parse_option): Likewise.
1334 * config/tc-pj.c (md_parse_option): Likewise.
1335 * config/tc-ppc.c (md_parse_option): Likewise.
1336 * config/tc-rl78.c (md_parse_option): Likewise.
1337 * config/tc-rx.c (md_parse_option): Likewise.
1338 * config/tc-s390.c (s390_parse_cpu): Likewise.
1339 * config/tc-score.c (md_parse_option): Likewise.
1340 * config/tc-sh.c (md_parse_option): Likewise.
1341 * config/tc-sparc.c (md_parse_option): Likewise.
1342 * config/tc-spu.c (md_parse_option): Likewise.
1343 * config/tc-tic30.c (md_parse_option): Likewise.
1344 * config/tc-tic4x.c (md_parse_option): Likewise.
1345 * config/tc-tic54x.c (md_parse_option): Likewise.
1346 * config/tc-tic6x.c (md_parse_option): Likewise.
1347 * config/tc-tilegx.c (md_parse_option): Likewise.
1348 * config/tc-tilepro.c (md_parse_option): Likewise.
1349 * config/tc-v850.c (md_parse_option): Likewise.
1350 * config/tc-vax.c (md_parse_option): Likewise.
1351 * config/tc-visium.c (struct visium_long_option_table): Likewise.
1352 * config/tc-xc16x.c (md_parse_option): Likewise.
1353 * config/tc-xgate.c (md_parse_option): Likewise.
1354 * config/tc-xstormy16.c (md_parse_option): Likewise.
1355 * config/tc-xtensa.c (md_parse_option): Likewise.
1356 * config/tc-z80.c (md_parse_option): Likewise.
1357 * config/tc-z8k.c (md_parse_option): Likewise.
1358 * tc.h (md_parse_option): Likewise.
1360 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1362 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1363 * config/tc-hppa.c (fix_new_hppa): Likewise.
1364 (pa_vtable_entry): Likewise.
1365 (pa_vtable_inherit): Likewise.
1366 * config/tc-m68k.c (md_begin): Likewise.
1368 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1370 * config/obj-elf.c (obj_elf_section_name): Return const char *.
1371 * config/obj-elf.h (obj_elf_section_name): Adjust.
1372 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1373 (aarch64_parse_cpu): Likewise.
1374 (aarch64_parse_arch): Likewise.
1375 * config/tc-arm.c (arm_parse_extension): Likewise.
1376 (arm_parse_cpu): Likewise.
1377 (arm_parse_arch): Likewise.
1378 * config/tc-nds32.c: Likewise.
1379 * config/xtensa-relax.c (parse_special_fn): Likewise.
1380 * stabs.c (generate_asm_file): Likewise.
1382 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1384 * config/tc-cr16.c (cr16_assemble): New function.
1385 (md_assemble): Call cr16_assemble.
1387 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1389 * as.c (parse_args): Adjust.
1390 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1391 * config/obj-elf.c (elf_frob_symbol): Adjust.
1393 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1395 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1396 registers to be in the 16..31 range.
1398 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1400 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1403 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1405 * config/tc-visium.c (md_atof): Localize the string returned on
1408 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1410 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1411 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1412 * config/tc-m68hc11.c (md_begin): Likewise.
1413 (print_opcode_list): Likewise.
1414 * config/tc-msp430.c (msp430_section): Likewise.
1415 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1416 (s3_build_dependency_insn_hsh): Likewise.
1417 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1418 (s7_build_dependency_insn_hsh): Likewise.
1419 * config/tc-tic4x.c: Likewise.
1420 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1421 (subsym_get_arg): Likewise.
1422 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1423 (get_directive): Likewise.
1424 (cache_literal_section): Likewise.
1425 * config/xtensa-relax.c: Likewise.
1426 * symbols.c (symbol_create): Likewise.
1427 (local_symbol_make): Likewise.
1428 (symbol_relc_make_expr): Likewise.
1430 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1432 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1435 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1437 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1440 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1442 * config/tc-ia64.c (ia64_do_align): Remove.
1443 (ia64_cons_align): Call do_align () directly.
1444 (dot_proc): Likewise.
1445 (stmt_float_cons): Likewise.
1447 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1449 * listing.c (listing_message): Use XNEW style allocation macros.
1450 * read.c (read_a_source_file): Likewise.
1451 (read_symbol_name): Likewise.
1452 (s_mri_common): Likewise.
1453 (assign_symbol): Likewise.
1454 (s_reloc): Likewise.
1455 (emit_expr_with_reloc): Likewise.
1456 (s_incbin): Likewise.
1457 (s_include): Likewise.
1458 * sb.c (sb_build): Likewise.
1459 (sb_check): Likewise.
1461 2016-03-22 Alan Modra <amodra@gmail.com>
1463 * write.c (record_alignment): Revert 2016-02-18 change.
1465 2016-03-22 Alan Modra <amodra@gmail.com>
1467 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1468 (emit_jsrjmp, tc_gen_reloc): Likewise.
1469 * config/tc-i370.c (i370_macro): Likewise.
1471 2016-03-22 Nick Clifton <nickc@redhat.com>
1473 * configure: Regenerate.
1475 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1477 * testsuite/gas/arc/nps400-0.d: New file.
1478 * testsuite/gas/arc/nps400-0.s: New file.
1479 * testsuite/gas/arc/nps400-1.d: New file.
1480 * testsuite/gas/arc/nps400-1.s: New file.
1482 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1484 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1485 declarations to start of block. Reset code on all flags before
1486 attempting to match them. Handle multiple hits on the same flag.
1488 * testsuite/gas/arc/asm-errors.d: New file.
1489 * testsuite/gas/arc/asm-errors.err: New file.
1490 * testsuite/gas/arc/asm-errors.s: New file.
1492 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1494 * config/tc-arc.c (cpu_types): Add nps400 entry.
1495 (check_zol): Handle nps400.
1497 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1499 * config/tc-arc.c (arc_select_cpu): Remove use of
1502 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1504 * config/tc-arc.c (arc_target): Delay initialisation until
1506 (arc_target_name): Likewise.
1507 (arc_features): Likewise.
1508 (arc_mach_type): Likewise.
1509 (cpu_types): Remove "all" entry.
1510 (arc_select_cpu): New function, most of the content is from...
1511 (md_parse_option): ... here. Call new arc_select_cpu.
1512 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1514 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1516 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1517 * testsuite/gas/arc/inline-data-2.d: New file.
1519 2016-03-21 Nick Clifton <nickc@redhat.com>
1521 * atof-generic.c: Replace use of alloca with call to xmalloc.
1523 * dwarf2dbg.c: Likewise.
1524 * macro.c: Likewise.
1525 * remap.c: Likewise.
1526 * stabs.c: Likewise.
1527 * symbols.c: Likewise.
1528 * config/obj-elf.c: Likewise.
1529 * config/tc-aarch64.c: Likewise.
1530 * config/tc-arc.c: Likewise.
1531 * config/tc-arm.c: Likewise.
1532 * config/tc-avr.c: Likewise.
1533 * config/tc-ia64.c: Likewise.
1534 * config/tc-mips.c: Likewise.
1535 * config/tc-msp430.c: Likewise.
1536 * config/tc-nds32.c: Likewise.
1537 * config/tc-ppc.c: Likewise.
1538 * config/tc-sh.c: Likewise.
1539 * config/tc-tic30.c: Likewise.
1540 * config/tc-tic54x.c: Likewise.
1541 * config/tc-xstormy16.c: Likewise.
1542 * config/te-vms.c: Likewise.
1543 * configure: Regenerate.
1545 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1547 * tc-i386.c (f32_1): Change type to unsigned char[].
1567 (jump_31): Likewise.
1568 (f32_patt): Likewise.
1569 (f16_patt): Likewise.
1578 (alt_patt): Likewise.
1580 2016-03-18 Nick Clifton <nickc@redhat.com>
1582 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1583 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1584 .tlsdescldr and .xword directives.
1587 * testsuite/gas/aarch64/pr19721.s: New test source file.
1588 * testsuite/gas/aarch64/pr19721.d: New test driver file.
1590 * doc/as.texinfo: Place the target specific command line options
1591 into their own man page section.
1593 2016-03-16 Jiong Wang <jiong.wang@arm.com>
1595 * config/tc-arm.c (N_S_32): New.
1596 (N_F_16_32): Likewise.
1597 (N_SUF_32): Support N_F16.
1598 (N_IF_32): Likewise.
1599 (neon_dyadic_misc): Likewise.
1600 (do_neon_cmp): Likewise.
1601 (do_neon_cmp_inv): Likewise.
1602 (do_neon_mul): Likewise.
1603 (do_neon_fcmp_absolute): Likewise.
1604 (do_neon_step): Likewise.
1605 (do_neon_abs_neg): Likewise.
1606 (CVT_FLAVOR_VAR): Likewise.
1607 (do_neon_cvt_1): Likewise.
1608 (do_neon_recip_est): Likewise.
1609 (do_vmaxnm): Likewise.
1610 (do_vrint_1): Likewise.
1611 (neon_check_type): Check architecture support for FP16 extension.
1612 (insns): Update comments.
1613 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1614 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1615 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1616 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1618 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1620 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1623 2016-03-16 Nick Clifton <nickc@redhat.com>
1625 * read.c (emit_expr_with_reloc): Add code check a bignum with
1627 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1629 * testsuite/gas/elf/bignum.s: New test source file.
1630 * testsuite/gas/elf/bignum.d: New test driver file.
1631 * testsuite/gas/elf/elf.exp: Run the new test.
1633 2016-03-15 Ulrich Drepper <drepper@gmail.com>
1635 * doc/c-i386.texi (Register Naming): Update to details of the
1636 latest architecture version.
1638 2016-03-10 Mickael Guene <mickael.guene@st.com>
1641 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1643 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1644 (do_t_mov_cmp): Likewise.
1645 (do_t_add_sub): Protect against bad relocations usage.
1646 (do_t_mov_cmp): Likewise.
1647 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1648 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1649 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1650 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
1652 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1654 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1656 (do_neon_ld_st_lane): Likewise.
1657 (do_neon_ld_dup): Likewise.
1659 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1661 * testsuite/gas/arc/inline-data-1.d: New file.
1662 * testsuite/gas/arc/inline-data-1.s: New file.
1664 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
1666 * config/tc-arm.c (arm_cpus): Add cortex-r8.
1667 * doc/c-arm.texi: Add cortex-r8.
1669 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1671 * config/tc-arc.c: Add const qualifiers.
1672 * config/tc-h8300.c (md_begin): Likewise.
1673 * config/tc-ia64.c (print_prmask): Likewise.
1674 * config/tc-msp430.c (msp430_operands): Likewise.
1675 * config/tc-nds32.c (struct suffix_name): Likewise.
1676 (struct nds32_parse_option_table): Likewise.
1677 (struct nds32_set_option_table): Likewise.
1678 (do_pseudo_pushpopm): Likewise.
1679 (do_pseudo_pushpop_stack): Likewise.
1680 (nds32_relax_relocs): Likewise.
1681 (nds32_flag): Likewise.
1682 (struct nds32_hint_map): Likewise.
1683 (nds32_find_reloc_table): Likewise.
1684 (nds32_match_hint_insn): Likewise.
1685 * config/tc-s390.c: Likewise.
1686 * config/tc-sh.c (get_specific): Likewise.
1687 * config/tc-tic30.c: Likewise.
1688 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
1689 (tic4x_indirect_parse): Likewise.
1690 * config/tc-vax.c (vax_cons): Likewise.
1691 * config/tc-z80.c (struct reg_entry): Likewise.
1692 * config/tc-epiphany.c (md_assemble): Adjust.
1693 (epiphany_assemble): New function.
1694 (epiphany_elf_section_rtn): Call do_align directly.
1695 (epiphany_elf_section_text): Likewise.
1696 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
1697 (ip2k_elf_section_text): Likewise.
1698 * read.c (do_align): Make it not static.
1699 * read.h (do_align): New prototype.
1701 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1703 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
1704 for ARMv8.1 AdvSIMD use.
1705 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
1706 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
1708 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1710 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
1712 (record_feature_use): New.
1713 (mark_feature_used): Use record_feature_use.
1714 (do_neon_qrdmlah): New.
1715 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
1717 (arm_extensions): Put into alphabetical order. Re-indent "simd"
1718 and "rdma" entries. Fix the incorrect merge value for "+rdma".
1719 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
1720 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
1721 Make source file explicit.
1722 * testsuite/gas/arm/armv8-a+rdma.l: New.
1723 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
1724 directives. Fix white-space.
1725 * testsuite/gas/arm/armv8_1-a+simd.d: New.
1727 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1729 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
1731 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1732 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1734 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
1735 (tc_arc_fix_adjustable): Changed default return value to 1.
1736 * testsuite/gas/arc/j.d: Updated expected symbol
1737 * testsuite/gas/arc/jl.d: Likewise
1738 * testsuite/gas/arc/relax-avoid1.d: Likewise
1739 * testsuite/gas/arc/st.d: Likewise
1741 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1743 * config/tc-arc.c: Enable code density instructions for ARC EM.
1745 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1748 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
1750 * as.c (flag_use_elf_stt_common): New.
1751 (show_usage): Add --elf-stt-common=.
1752 (option_values): Add OPTION_ELF_STT_COMMON.
1753 (std_longopts): Add --elf-stt-common=.
1754 (parse_args): Handle --elf-stt-common=.
1755 * as.h (flag_use_elf_stt_common): New.
1756 * config.in: Regenerated.
1757 * configure: Likewise.
1758 * configure.ac: Add --enable-elf-stt-common and define
1759 DEFAULT_GENERATE_ELF_STT_COMMON.
1760 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
1761 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
1762 * doc/as.texinfo: Document --elf-stt-common=.
1763 * testsuite/gas/elf/common3.s: New file.
1764 * testsuite/gas/elf/common3a.d: Likewise.
1765 * testsuite/gas/elf/common3b.d: Likewise.
1766 * testsuite/gas/elf/common4.s: Likewise.
1767 * testsuite/gas/elf/common4a.d: Likewise.
1768 * testsuite/gas/elf/common4b.d: Likewise.
1769 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1770 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1771 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
1773 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
1774 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
1775 --elf-stt-common=no to as.
1776 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
1777 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
1778 --elf-stt-common=no to as.
1779 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
1780 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
1781 of dw2-compress-3 and dw2-compressed-3.
1783 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1785 * as.c (select_emulation_mode): Add const qualifiers.
1787 * config/bfin-defs.h: Likewise.
1788 * config/bfin-parse.y: Likewise.
1789 * config/rx-parse.y: Likewise.
1790 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
1791 (struct aarch64_cpu_option_table): Likewise.
1792 (struct aarch64_arch_option_table): Likewise.
1793 (struct aarch64_option_cpu_value_table): Likewise.
1794 (struct aarch64_long_option_table): Likewise.
1795 (struct aarch64_option_abi_value_table): Likewise.
1796 * config/tc-arm.c (struct reloc_entry): Likewise.
1797 (tc_gen_reloc): Likewise.
1798 (struct arm_option_table): Likewise.
1799 (struct arm_legacy_option_table): Likewise.
1800 (struct arm_cpu_option_table): Likewise.
1801 (struct arm_arch_option_table): Likewise.
1802 (struct arm_option_extension_value_table): Likewise.
1803 (struct arm_option_fpu_value_table): Likewise.
1804 (struct arm_option_value_table): Likewise.
1805 (struct arm_long_option_table): Likewise.
1806 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
1807 (struct mcu_type_s): Likewise.
1808 (struct exp_mod_s): Likewise.
1809 (avr_operand): Likewise.
1810 (avr_operands): Likewise.
1811 * config/tc-d10v.c (md_begin): Likewise.
1812 * config/tc-dlx.c: Likewise.
1813 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
1814 * config/tc-ft32.c (parse_condition): Likewise.
1815 * config/tc-h8300.c (do_a_fix_imm): Likewise.
1816 * config/tc-hppa.c (pa_ip): Likewise.
1817 (hppa_regname_to_dw2regnum): Likewise.
1818 * config/tc-i370.c (i370_elf_suffix): Likewise.
1819 * config/tc-i960.c (struct tabentry): Likewise.
1820 * config/tc-m32r.c: Likewise.
1821 * config/tc-m68k.c: Likewise.
1822 * config/tc-m68k.h: Likewise.
1823 * config/tc-mcore.c (parse_psrmod): Likewise.
1824 * config/tc-metag.c (struct metag_core_option): Likewise.
1825 (struct metag_long_option): Likewise.
1826 * config/tc-microblaze.c: Likewise.
1827 * config/tc-mips.c (macro): Likewise.
1828 * config/tc-mn10200.c: Likewise.
1829 * config/tc-mn10300.c: Likewise.
1830 * config/tc-msp430.c (struct rcodes_s): Likewise.
1831 (struct hcodes_s): Likewise.
1832 (md_parse_option): Likewise.
1833 * config/tc-ns32k.c (struct ns32k_option): Likewise.
1834 (optlist): Likewise.
1835 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
1836 (tc_ppc_regname_to_dw2regnum): Likewise.
1837 * config/tc-ppc.h: Likewise.
1838 * config/tc-rl78.c: Likewise.
1839 * config/tc-rx.c (struct cpu_type): Likewise.
1840 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
1841 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
1842 (sparc_ip): Likewise.
1843 * config/tc-spu.c (insn_fmt_string): Likewise.
1844 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1845 * config/tc-v850.c: Likewise.
1846 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
1847 (struct visium_long_option_table): Likewise.
1848 * config/tc-xgate.c: Likewise.
1849 * config/tc-z8k.c: Likewise.
1850 * read.c (add_include_dir): Likewise.
1853 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1855 * testsuite/gas/all/gas.exp: Change target pattern to cover
1857 * testsuite/gas/all/redef3.d: Likewise.
1858 * testsuite/gas/elf/elf.exp: Likewise.
1860 2016-02-24 Renlin Li <renlin.li@arm.com>
1862 * config/tc-arm.c (BAD_FP16): New error message macro.
1863 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
1864 fp16 scalar instructions.
1865 (neon_check_type): Allow different size from key.
1866 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
1867 (try_vfp_nsyn): Likewise.
1868 (do_vfp_nsyn_mla_mls): Likewise.
1869 (do_vfp_nsyn_fma_fms): Likewise.
1870 (do_vfp_nsyn_ldm_stm): Likewise
1871 (do_vfp_nsyn_sqrt): Likewise
1872 (do_vfp_nsyn_div): Likewise
1873 (do_vfp_nsyn_nmul): Likewise.
1874 (do_vfp_nsyn_cmp): Likewise.
1875 (do_neon_shll): Likewise.
1876 (do_vfp_nsyn_cvt_fpv8): Likewise.
1877 (do_neon_cvttb_2): Likewise.
1878 (do_neon_mov): Likewise.
1879 (do_neon_rshift_round_imm): Likewise.
1880 (do_neon_ldr_str): Likewise.
1881 (do_vfp_nsyn_fpv8): Likewise.
1882 (do_vmaxnm): Likewise.
1883 (do_vrint_1): Likewise.
1884 (insns): New entry for vins, vmovx.
1885 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
1886 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
1887 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
1888 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
1889 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
1890 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
1891 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
1893 2016-02-24 Renlin Li <renlin.li@arm.com>
1895 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
1896 (neon_shape_class): New SC_HALF.
1897 (neon_shape_el): New SE_H.
1898 (neon_shape_el_size): New size for SE_H.
1899 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
1900 (neon_select_shape): Add SE_H support code.
1901 (el_type_of_type_chk): Use N_F_ALL.
1902 (do_vfp_nsyn_cvt): Add SE_H shape support.
1903 (do_neon_cvtz): Likewise.
1904 (do_neon_cvt_1): Likewise.
1905 (do_neon_cvttb_1): Likewise.
1907 2016-02-24 Renlin Li <renlin.li@arm.com>
1909 * testsuite/gas/arm/copro.d: Adjust output.
1910 * testsuite/gas/arm/copro.s: Adjust co-processor num.
1912 2016-02-24 Renlin Li <renlin.li@arm.com>
1914 * testsuite/gas/arm/mask_1.d: New.
1915 * testsuite/gas/arm/mask_1.s: New.
1917 2016-02-24 Renlin Li <renlin.li@arm.com>
1919 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
1920 * testsuite/gas/arm/copro.d: Update.
1922 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1924 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
1925 * doc/c-arm.texi (ARM Options): Document cortex-a32.
1927 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1929 * doc/c-arm.texi (ARM Options): Document cortex-a17.
1931 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1933 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
1936 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1938 * output-file.c (output_file_create): Make file name argument const.
1939 (output_file_close): Likewise.
1940 * output-file.h (output_file_create): Adjust.
1941 (output_file_close): Likewise.
1942 * depend.c (quote_string_for_make): Make src argument const char *.
1943 (register_dependency): Likewise.
1944 (wrap_output): Likewise.
1945 * as.h (register_dependency): Adjust.
1946 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
1948 * symbols.c (S_SET_EXTERNAL): Likewise.
1949 * input-scrub.c (as_where): Return the file name.
1950 * as.h (as_where): Adjust prototype.
1951 * app.c (do_scrub_chars): Adjust.
1952 * cond.c (s_elseif): Likewise.
1954 (initialize_cframe): Likewise.
1955 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
1956 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1957 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1958 * config/tc-aarch64.c (output_info): Likewise.
1959 * config/tc-ia64.c (md_assemble): Likewise.
1960 (dot_alias): Likewise.
1961 * config/tc-m68k.c (m68k_frob_label): Likewise.
1962 * config/tc-mmix.c (s_bspec): Likewise.
1963 (mmix_handle_mmixal): Likewise.
1964 * config/tc-rx.c (rx_include): Likewise.
1965 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1966 (tic54x_adjust_symtab): Likewise.
1967 * config/tc-xtensa.c (directive_push): Likewise.
1968 (xtensa_sanity_check): Likewise.
1969 (xtensa_relax_frag): Likewise.
1970 (md_convert_frag): Likewise.
1971 (tinsn_to_slotbuf): Likewise.
1972 * dwarf2dbg.c (dwarf2_where): Likewise.
1973 * ecoff.c (add_file): Likewise.
1974 (ecoff_generate_asm_lineno): Likewise.
1975 * expr.c (make_expr_symbol): Likewise.
1976 * frags.c (frag_new): Likewise.
1977 (frag_var_init): Likewise.
1978 * listing.c (listing_newline): Likewise.
1979 * messages.c (identify): Likewise.
1980 (as_show_where): Likewise.
1981 (as_warn_internal): Likewise.
1982 (as_bad_internal): Likewise.
1983 * read.c (s_irp): Likewise.
1984 (s_macro): Likewise.
1985 (s_reloc): Likewise.
1986 * stabs.c (stabs_generate_asm_file): Likewise.
1987 (stabs_generate_asm_lineno): Likewise.
1988 (stabs_generate_asm_func): Likewise.
1989 * write.c (fix_new_internal): Likewise.
1990 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
1991 (as_warn_value_out_of_range): Adjust prototype.
1992 (as_bad_value_out_of_range): Adjust prototype.
1993 * messages.c (identify): Make file name argument const char *.
1994 (as_warn_internal): Likewise.
1995 (as_warn_where): Likewise.
1996 (as_bad_internal): Likewise.
1997 (as_bad_where): Likewise.
1998 (as_internal_value_out_of_range): Likewise.
1999 (as_warn_value_out_of_range): Likewise.
2000 (as_bad_value_out_of_range): Likewise.
2001 * as.h (found_comment_file): Change type to const char *.
2002 * cond.c (file_line::file): Likewise.
2003 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2004 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2005 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2006 * config/tc-aarch64.c (output_info): Likewise.
2007 * config/tc-alpha.c (insert_operand): Likewise.
2008 * config/tc-arc.c (insert_operand): Likewise.
2009 * config/tc-d30v.c (check_size): Likewise.
2010 * config/tc-ia64.c (struct alias): Likewise.
2011 * config/tc-m68k.c (struct label_line): Likewise.
2012 * config/tc-mcore.c (md_apply_fix): Likewise.
2013 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2014 * config/tc-mips.c (mips16_immed): Likewise.
2015 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2016 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2017 * config/tc-rx.c (rx_include): Likewise.
2018 * config/tc-s390.c (s390_insert_operand): Likewise.
2019 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2020 (tic54x_adjust_symtab): Likewise.
2021 * config/tc-tilegx.c (insert_operand): Likewise.
2022 (apply_special_operator): Likewise.
2023 * config/tc-tilepro.c (insert_operand): Likewise.
2024 * config/tc-xtensa.c (directive_push): Likewise.
2025 * ecoff.c (add_file): Likewise.
2026 (ecoff_generate_asm_lineno): Likewise.
2027 * listing.c (listing_newline): Likewise.
2028 * read.c (s_irp): Likewise.
2029 * write.c (install_reloc): Likewise.
2030 * write.h (struct fix): Likewise.
2031 * input-file.c (file_name): Change type to const char *.
2032 (saved_file::file_name): Likewise.
2033 (input_file_open): Change type of argument to const char *.
2034 * input-file.h (input_file_open): Adjust.
2035 * input-scrub.c (logical_input_file): change type to const char *.
2036 (physical_input_file): Likewise.
2037 (struct input_save): Adjust.
2038 (input_scrub_push): Adjust.
2039 (input_scrub_begin): Adjust.
2041 * input-scrub.c (input_scrub_new_file): Make file name argument const.
2042 (input_scrub_include_file): Likewise.
2043 (new_logical_line_flags): Likewise.
2044 (new_logical_line): Likewise.
2046 * frags.h (struct frag): Change type of fr_file to const char *.
2047 * expr.c (expr_symbol_where): Change type of file argument to
2049 * expr.h (expr_symbol_where): Likewise.
2050 * config/tc-i370.c (md_apply_fix): adjust.
2051 * config/tc-mmix.c (mmix_md_end): Likewise.
2052 * config/tc-ppc.c (md_apply_fix): Likewise.
2053 * config/tc-s390.c (md_apply_fix): Likewise.
2054 * symbols.c (report_op_error): Likewise.
2055 (resolve_symbol_value): Likewise.
2056 * config/tc-ia64.c (slot::src_file): Change type to const char *.
2057 (rsrc::file): Likewise.
2058 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2060 (xtensa_relax_frag): Likewise.
2061 (md_convert_frag): Likewise.
2062 (tinsn_to_slotbuf): Likewise.
2063 * expr.c (expr_symbol_line): Likewise.
2064 * macro.c (define_macro): Likewise.
2065 * macro.h (macro_struct): Likewise.
2066 * messages.c (as_show_where): Likewise.
2067 * read.c (s_macro): Likewise.
2068 * stabs.c (stabs_generate_asm_file): Likewise.
2069 (generate_asm_file): Likewise.
2070 (stabs_generate_asm_lineno): Likewise.
2071 * write.h (struct reloc_list): Likewise.
2072 * input-scrub.c (as_where): Change return type to const char *.
2073 * as.h (as_wheree): Adjust.
2075 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
2077 * write.c (compress_debug): Move BFD compression bits setting
2079 (write_object_file): Here.
2081 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2083 * config/tc-i386.c (register_number): Check RegVRex.
2084 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2085 with %zmm19 and %zmm3.
2086 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2087 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2089 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2090 Jiong Wang <jiong.wang@arm.com>
2092 * config/tc-arm.c (arm_ext_fp16): New.
2093 (arm_extensions): New entry for "fp16".
2095 2016-02-19 Nick Clifton <nickc@redhat.com>
2098 * read.c (read_a_source_file): Check for assemble_one returning
2099 with input_line_pointer set to NULL.
2101 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2103 * listing.c (rebuffer_line): Change return type to void.
2105 * symbols.c (decode_local_label_name): Make type a const char *.
2106 * listing.c (print_source): Make type of p const char *.
2107 (print_line): Make type of string const char *.
2108 (buffer_line): Return const char *.
2109 (title): Make type const char *.
2110 (subtitle): Likewise.
2111 (listing_listing): Make type of p const char *.
2112 * messages.c (as_internal_value_out_of_range): Make type of prefix
2114 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
2115 and string const char *.
2116 * read.c (_bfd_rel): Make type of name const char *.
2117 * app.c (out_string): Change type to const char *.
2118 (struct app_save::out_string): Likewise.
2120 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
2121 Nick Clifton <nickc@redhat.com>
2123 * read.c (finish_bundle): Avoid recording a negative alignment.
2124 (do_align): Use unsigned values for n, len and max. Only create
2125 a frag if the alignment requirement is greater than the minimum
2126 byte alignment. Avoid recording a negative alignment.
2127 (s_align): Use unsigned values where appropriate.
2128 (bss_alloc): Use an unsigned value for the alignment.
2129 (sizeof_sleb128): Add a comment noting that we encode one octet
2130 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
2131 (emit_leb129_expr): Abort if the emitted encoding was longer than
2133 * read.h (output_leb128): Update prototype.
2134 (sizeof_leb128): Update prototype.
2135 (bss_alloc): Update prototype.
2136 * write.c (record_alignment): Use an unsigned value for the
2137 alignment. Do not record alignments less than the minimum
2138 alignment for a byte.
2139 * write.h (record_alignment): Update prototype.
2141 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2143 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
2144 .init.literal/.fini.literal section name.
2145 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
2146 list of xtensa tests.
2147 * testsuite/gas/xtensa/init-fini-literals.d: New file:
2148 init-fini-literals test result patterns.
2149 * testsuite/gas/xtensa/init-fini-literals.s: New file:
2150 init-fini-literals test.
2152 2016-02-17 Nick Clifton <nickc@redhat.com>
2154 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
2155 devices.csv file as of March 2016.
2157 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
2159 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
2161 (tc_arc_regname_to_dw2regnum): Likewise.
2162 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
2163 (tc_cfi_frame_initial_instructions): Likewise.
2164 (tc_regname_to_dw2regnum): Likewise.
2165 * testsuite/gas/cfi/cfi-arc-1.d: New file.
2166 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
2167 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
2169 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
2171 * doc/internals.texi (S_IS_EXTERN): Remove.
2173 2016-02-16 Nick Clifton <nickc@redhat.com>
2175 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
2178 2016-02-16 Renlin Li <renlin.li@arm.com>
2181 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
2182 * testsuite/gas/aarch64/movw_label.d: New.
2183 * testsuite/gas/aarch64/movw_label.s: New.
2185 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
2188 * config/rx-parse.y (MOV): Opcode generation for index
2189 register addressing mode.
2190 * testsuite/gas/rx/rx.exp: Updated for new testcase.
2191 * testsuite/gas/rx/pr19665.s: New file.
2192 * testsuite/gas/rx/pr19665.s: New file.
2193 * testsuite/gas/rx/mov.d: Update expected output.
2195 2016-02-15 Nick Clifton <nickc@redhat.com>
2197 * doc/as.texinfo (.section): Document that numeric values can now
2198 be used for the flags and type fields of the ELF target's .section
2199 directive. Add notes about the restrictions on setting flags and
2201 * config/obj-elf.c (obj_elf_change_section): Allow known sections
2202 to be given processor specific section types. Allow processor and
2203 application specific flags of a section to be set after
2205 (obj_elf_parse_section_letters): Handle parsing numeric values.
2206 (obj_elf_section_type): Handle parsing numeric values.
2207 (obj_elf_section): Allow numeric type values.
2208 * config/obj-elf.h (obj_elf_change_section): Update prototype.
2209 * testsuite/gas/elf/section10.d: New test.
2210 * testsuite/gas/elf/section10.s: Source file for new test.
2211 * testsuite/gas/elf/elf.exp: Run the new test.
2212 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
2213 the description of the flags produced by readelf.
2214 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
2215 * NEWS: Mention the new feature.
2217 2016-02-11 Nick Clifton <nickc@redhat.com>
2220 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
2221 until it is actually used.
2222 (cfi_set_sections): Set cfi_sections_set to true.
2223 (dot_cfi_startproc): Likewise.
2224 (dot_cfi_endproc): Likewise.
2225 (dot_cfi_fde_data): Likewise.
2226 (cfi_finish): Likewise.
2227 (dot_cfi_sections): Do not set cfi_sections_set.
2228 * doc/as.texinfo (.cfi_sections): Note that targets can provide
2229 their own cfi section name. Also note that the directive can be
2230 reissued provided that CFI generation has not started.
2231 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
2232 .cfi_endproc directives so that the redefinition of .cfi_sections
2233 will trigger the generation of the error message.
2234 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
2235 number of error message.
2237 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
2238 Janek van Oirschot <jvanoirs@synopsys.com>
2240 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2241 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2243 (arc_flags, arc_relax_type): New structure.
2244 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2245 (RELAX_TABLE_ENTRY_MAX): New define.
2246 (relaxation_state, md_relax_table, arc_relaxable_insns)
2247 (arc_num_relaxable_ins): New variable.
2248 (rlx_operand_type, arc_rlx_types): New enums.
2249 (arc_relaxable_ins): New structure.
2250 (OPTION_RELAX): New option.
2251 (arc_insn): New relax member.
2252 (arc_flags): Remove.
2253 (relax_insn_p): New function.
2254 (apply_fixups): Likewise.
2255 (relaxable_operand): Likewise.
2256 (may_relax_expr): Likewise.
2257 (relaxable_flag): Likewise.
2258 (arc_pcrel_adjust): Likewise.
2259 (md_estimate_size_before_relax): Implement.
2260 (md_convert_frag): Likewise.
2261 (md_parse_option): Handle new mrelax option.
2262 (md_show_usage): Likewise.
2263 (assemble_insn): Set relax member.
2264 (emit_insn0): New function.
2265 (emit_insn1): Likewise.
2266 (emit_insn): Handle relaxation case.
2267 * NEWS: Mention the new relaxation option.
2268 * doc/c-arc.texi (ARC Options): Document new mrelax option.
2269 * doc/as.texinfo (Target ARC Options): Likewise.
2270 * testsuite/gas/arc/relax-avoid1.d: New file.
2271 * testsuite/gas/arc/relax-avoid1.s: Likewise.
2272 * testsuite/gas/arc/relax-avoid2.d: Likewise.
2273 * testsuite/gas/arc/relax-avoid2.s: Likewise.
2274 * testsuite/gas/arc/relax-avoid3.d: Likewise.
2275 * testsuite/gas/arc/relax-avoid3.s: Likewise.
2276 * testsuite/gas/arc/relax-b.d: Likewise.
2277 * testsuite/gas/arc/relax-b.s: Likewise.
2279 2016-02-08 Nick Clifton <nickc@redhat.com>
2281 * config/tc-ia64.c (dot_prologue): Fix formatting.
2283 2016-02-04 Nick Clifton <nickc@redhat.com>
2285 * config/obj-elf.c (obj_elf_change_section): Remove support for
2286 ARM NOREAD sections.
2287 * config/tc-arm.c (arm_elf_section_letter): Delete.
2288 * config/tc-arm.h (md_elf_section_letter): Delete.
2289 * doc/c-arm.texi (ARM Section Attribute): Delete section.
2290 * testsuite/gas/arm/section-execute-only.d: Delete.
2291 * testsuite/gas/arm/section-execute-only.s: Delete.
2293 2016-02-04 Nick Clifton <nickc@redhat.com>
2296 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2297 to handle encoding of RRUX instruction.
2298 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2300 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2302 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2304 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2305 substitutions for BFD_RELOC_* as unsigned.
2306 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2307 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2308 * testsuite/gas/xtensa/loc.s: New file: loc test.
2310 2016-02-03 Kevin Buettner <kevinb@redhat.com>
2312 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
2314 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2317 * NEWS: Mention new command line option -mrelax-relocations and
2318 new configure option --enable-x86-relax-relocations for x86
2320 * config.in: Regenerated.
2321 * configure.ac: Add --enable-x86-relax-relocations.
2322 (ac_default_x86_relax_relocations): New. Default to 1 except
2323 for x86 Solaris targets older than Solaris 12.
2324 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2325 * configure: Likewise.
2326 * config/tc-i386.c (generate_relax_relocations): New.
2327 (OPTION_MRELAX_RELOCATIONS): Likewise.
2328 (output_disp): Don't generate relax relocations if
2329 generate_relax_relocations is 0.
2330 (md_longopts): Add -mrelax-relocations.
2331 (md_show_usage): Likewise.
2332 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2333 * doc/c-i386.texi: Document -mrelax-relocations=.
2334 * testsuite/gas/i386/got-no-relax.d: New file.
2335 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2336 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2337 * testsuite/gas/i386/localpic.d: Likewise.
2338 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2339 * testsuite/gas/i386/reloc32.d: Likewise.
2340 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2341 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2342 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2343 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2344 * testsuite/gas/i386/i386.exp: Run got-no-relax and
2345 x86-64-gotpcrel-no-relax.
2347 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2349 * NEWS: Mention new command line option -mfence-as-lock-add=yes
2352 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2354 * NEWS: Remove duplicated marker for 2.26.
2356 2016-02-02 Renlin Li <renlin.li@arm.com>
2358 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2360 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2362 * testsuite/gas/ip2k/allinsn.d: New file.
2363 * testsuite/gas/ip2k/allinsn.s: New file.
2364 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2366 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2368 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2369 some load instructions.
2370 * testsuite/gas/epiphany/allinsn.d: Likewise.
2371 * testsuite/gas/epiphany/regression.d: Likewise.
2373 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2375 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2376 suffixes from instruction mnemonics in expected output.
2377 * testsuite/gas/epiphany/allinsn.d: Likewise.
2378 * testsuite/gas/epiphany/regression.d: Likewise.
2379 * testsuite/gas/epiphany/sample.d: Likewise.
2381 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2383 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2385 * testsuite/gas/epiphany/allinsn.d: Likewise.
2386 * testsuite/gas/epiphany/sample.d: Likewise.
2388 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2390 * testsuite/gas/epiphany/sample.d: Update expected output.
2392 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2394 * config/tc-arc.c (md_apply_fix): Allow addendum.
2395 (arc_reloc_op): Allow complex expressions for tpoff.
2396 (md_apply_fix): Handle resolved TLS local symbol.
2397 * testsuite/gas/arc/tls-relocs1.d: New file.
2398 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2400 2016-02-01 Loria <Loria@phantasia.org>
2403 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2404 efficiency and avoid an LLVM loop optimization bug.
2406 2016-02-01 Nick Clifton <nickc@redhat.com>
2408 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2409 message extending a negative 32-bit value into a larger signed
2410 value on a 32-bit host.
2412 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2415 * configure.ac (compressed_debug_sections): Replace == with =.
2416 * configure: Regenerated.
2418 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2419 H.J. Lu <hongjiu.lu@intel.com>
2421 * config/tc-i386.c (avoid_fence): New.
2422 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2424 (OPTION_FENCE_AS_LOCK_ADD): New.
2425 (md_longopts): Add -mfence-as-lock-add.
2426 (md_parse_option): Handle -mfence-as-lock-add.
2427 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2428 * doc/c-i386.texi (-mfence-as-lock-add): Document.
2429 * testsuite/gas/i386/i386.exp: Run new tests.
2430 * testsuite/gas/i386/fence-as-lock-add.s: New.
2431 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2432 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2433 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2434 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2436 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2438 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2439 * configure: Regenerated.
2441 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2443 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2444 (OPTION_MOMIT_LOCK_PREFIX): This.
2445 (md_longopts): Updated.
2446 (md_parse_option): Likewise.
2448 2016-01-25 Catherine Moore <clm@codesourcery.com>
2450 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2451 if abicalls are in effect.
2452 * testsuite/gas/mips/sdata-gp.s: New test.
2453 * testsuite/gas/mips/sdata-gp.d: New expected output
2454 * testsuite/gas/mips/mips.exp: Run new test.
2456 2016-01-25 Renlin Li <renlin.li@arm.com>
2458 * testsuite/gas/arm/thumb2_it_search.d: New.
2459 * testsuite/gas/arm/thumb2_it_search.s: New.
2461 2016-01-21 Nick Clifton <nickc@redhat.com>
2464 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2465 with arm-netbsdelf target.
2466 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2468 2016-01-20 Nick Clifton <nickc@redhat.com>
2471 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2472 * testsuite/gas/arm/blx-bl-convert.d
2473 * testsuite/gas/arm/plt-1.d: Likewise.
2474 * testsuite/gas/arm/reloc-bad.d: Likewise.
2475 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2476 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2477 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2478 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2481 * doc/as.texinfo (Errors): Correct documentation describing the
2482 interaction of .file and .line with warning and error messages.
2485 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2486 * testsuite/gas/arm/archv8m-main.d: Likewise.
2487 * testsuite/gas/arm/archv8m-base.d: Likewise.
2489 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2491 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2492 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2493 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2495 2016-01-20 Mickael Guene <mickael.guene@st.com>
2496 Terry Guo <terry.guo@arm.com>
2498 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2499 SHF_ARM_NOREAD section flag.
2500 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2502 (arm_elf_section_letter) : Declare it.
2503 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2504 SHF_ARM_NOREAD section flag.
2505 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2507 * testsuite/gas/arm/section-execute-only.s: New test case.
2508 * testsuite/gas/arm/section-execute-only.d: Expected output.
2510 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2512 * config/tc-mips.c (micromips_insn_length): Remove the mention
2513 of 48-bit microMIPS instructions.
2515 2016-01-18 Alan Modra <amodra@gmail.com>
2517 * configure: Regenerate.
2519 2016-01-17 Alan Modra <amodra@gmail.com>
2521 * configure: Regenerate.
2523 2016-01-17 Alan Modra <amodra@gmail.com>
2525 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2527 2016-01-14 Nick Clifton <nickc@redhat.com>
2529 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2530 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2531 * testsuite/gas/rl78/rl78.exp: Run the new test.
2533 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2535 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2536 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2538 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2540 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2542 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2544 * config/tc-h8300.c (get_operand): Remove spurious condition in
2545 test for closing parenthesis.
2547 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
2549 * config/tc-arm.c (arm_ext_v8_2): New.
2551 * testsuite/gas/arm/armv8_2-a.d: New.
2552 * testsuite/gas/arm/armv8_2-a.s: New.
2554 2016-01-12 Alan Modra <amodra@gmail.com>
2556 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2558 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
2560 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2561 xvcmpnesp, xvcmpnesp.>: Delete tests.
2562 * testsuite/gas/ppc/power9.s: Likewise.
2563 * testsuite/gas/ppc/vsx3.d: Likewise.
2564 * testsuite/gas/ppc/vsx3.s: Likewise.
2566 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
2569 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2570 * testsuite/gas/m68k/p13050-1.s: New file.
2571 * testsuite/gas/m68k/p13050-2.d: New file.
2572 * testsuite/gas/m68k/p13050-2.s: New file.
2574 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2576 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2577 * testsuite/gas/arc/add.d: Likewise.
2578 * testsuite/gas/arc/and.d: Likewise.
2579 * testsuite/gas/arc/asl.d: Likewise.
2580 * testsuite/gas/arc/asr.d: Likewise.
2581 * testsuite/gas/arc/bic.d: Likewise.
2582 * testsuite/gas/arc/extb.d: Likewise.
2583 * testsuite/gas/arc/extw.d: Likewise.
2584 * testsuite/gas/arc/j.d: Likewise.
2585 * testsuite/gas/arc/jl.d: Likewise.
2586 * testsuite/gas/arc/ld2.d: Likewise.
2587 * testsuite/gas/arc/lsr.d: Likewise.
2588 * testsuite/gas/arc/mov.d: Likewise.
2589 * testsuite/gas/arc/or.d: Likewise.
2590 * testsuite/gas/arc/pcl-relocs.d: Likewise.
2591 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2592 * testsuite/gas/arc/pic-relocs.d: Likewise.
2593 * testsuite/gas/arc/plt-relocs.d: Likewise.
2594 * testsuite/gas/arc/rlc.d: Likewise.
2595 * testsuite/gas/arc/ror.d: Likewise.
2596 * testsuite/gas/arc/rrc.d: Likewise.
2597 * testsuite/gas/arc/sbc.d: Likewise.
2598 * testsuite/gas/arc/sda-relocs.d: Likewise.
2599 * testsuite/gas/arc/sda-relocs2.d: Likewise.
2600 * testsuite/gas/arc/sexb.d: Likewise.
2601 * testsuite/gas/arc/sexw.d: Likewise.
2602 * testsuite/gas/arc/st.d: Likewise.
2603 * testsuite/gas/arc/sub.d: Likewise.
2604 * testsuite/gas/arc/tls-relocs.d: Likewise.
2605 * testsuite/gas/arc/xor.d: Likewise.
2607 2016-01-01 Alan Modra <amodra@gmail.com>
2609 Update year range in copyright notice of all files.
2611 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2613 Copyright (C) 2016 Free Software Foundation, Inc.
2615 Copying and distribution of this file, with or without modification,
2616 are permitted in any medium without royalty provided the copyright
2617 notice and this notice are preserved.
2623 version-control: never