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