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