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