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