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