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