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