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