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