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