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