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