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