de996f64892a7f6f18a700c60237ca770ecc4cfa
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2
3 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
4 Correct entry for RDMA. Alpha sort entries.
5
6 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
7
8 * config/tc-arc.c (tokenize_flags): Allow greater range of
9 characters into flag names.
10
11 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
12
13 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
14 new de_fault label.
15 (preprocess_operands): Delete.
16 (assemble_tokens): Remove call to preprocess_operands.
17
18 2016-04-07 Nick Clifton <nickc@redhat.com>
19
20 PR gas/19910
21 * config/tc-sparc.c (sparc_ip): Report an error if the expression
22 inside a %-macro could not be fully parsed.
23 * expr.c (integer_constant): Accept and ignore U suffixes to
24 integers.
25 (operand): When a missing closing parenthesis is encountered,
26 report the character that was found instead.
27 * testsuite/gas/mips/tls-ill.l: Update expected error message.
28 * testsuite/gas/sparc/pr19910-1.d: New test driver.
29 * testsuite/gas/sparc/pr19910-1.s: New test.
30 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
31 * testsuite/gas/sparc/pr19910-2.s: New test.
32 * testsuite/gas/sparc/sparc.exp: Run the new tests.
33
34 2016-04-06 Nick Clifton <nickc@redhat.com>
35
36 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
37 an EINT instruction. Warn/fix as necessary.
38 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
39 * testsuite/gas/msp430/bad.l: Update expected messages.
40
41 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
42
43 * testsuite/gas/arc/nps400-1.d: Update expected results.
44 * testsuite/gas/arc/nps400-1.s: Additional test cases.
45
46 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
47
48 * config/tc-arc.c (is_code_density_p): Compare directly the
49 subclass field.
50 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
51 (check_cpu_feature): New function.
52 (find_opcode_match): Use check_cpu_feature function.
53 (preprocess_operands): Likewise.
54 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
55 * testsuite/gas/arc/tdpfp.d: New file.
56 * testsuite/gas/arc/tfpuda.d: Likewise.
57 * testsuite/gas/arc/tfpx.s: Likewise.
58
59 2016-04-05 Jiong Wang <jiong.wang@arm.com>
60
61 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
62 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
63 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
64 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
65 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
66 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
67 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
68 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise for Thumb.
69 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
70
71 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
72
73 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
74 JUMP instructions type.
75 * testsuite/gas/arc/relocs-errors.d: New file.
76 * testsuite/gas/arc/relocs-errors.err: Likewise.
77 * testsuite/gas/arc/relocs-errors.s: Likewise.
78
79 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
80
81 PR gas/19498
82 * testsuite/gas/i386/i386.exp: Run pr19498.
83 * testsuite/gas/i386/pr19498.d: New file.
84 * testsuite/gas/i386/pr19498.s: Likewise.
85
86 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
87
88 * config/tc-arc.h: Include 'opcode/arc.h'.
89 (MAX_INSN_ARGS): Delete.
90 (MAX_INSN_FLGS): Delete.
91
92 2016-04-04 Alan Modra <amodra@gmail.com>
93
94 PR 19498
95 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
96 from function on all paths that set sy_resolving.
97
98 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
99
100 * app.c (app_push): use XNEW macro.
101 * as.c: Likewise.
102 * config/obj-elf.c (obj_elf_change_section): Likewise.
103 (elf_copy_symbol_attributes): Likewise.
104 (obj_elf_size): Likewise.
105 (build_group_lists): Likewise.
106 * config/tc-aarch64.c (add_operand_error_record): Likewise.
107 (md_assemble): Likewise.
108 (tc_gen_reloc): Likewise.
109 (get_upper_str): Likewise.
110 (aarch64_parse_features): Likewise.
111 * config/tc-arm.c (insert_reg_alias): Likewise.
112 (insert_neon_reg_alias): Likewise.
113 (find_or_make_literal_pool): Likewise.
114 (s_arm_elf_cons): Likewise.
115 (add_unwind_opcode): Likewise.
116 (arm_parse_extension): Likewise.
117 * config/tc-avr.c (create_record_for_frag): Likewise.
118 * config/tc-crx.c: Likewise.
119 * config/tc-d30v.c: Likewise.
120 * config/tc-dlx.c (s_proc): Likewise.
121 * config/tc-ft32.c: Likewise.
122 * config/tc-h8300.c: Likewise.
123 * config/tc-hppa.c (pa_proc): Likewise.
124 (create_new_space): Likewise.
125 (create_new_subspace): Likewise.
126 * config/tc-i860.c: Likewise.
127 * config/tc-i960.c: Likewise.
128 * config/tc-ia64.c: Likewise.
129 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
130 (iq2000_record_hi16): Likewise.
131 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
132 * config/tc-m32r.c (debug_sym): Likewise.
133 (m32r_record_hi16): Likewise.
134 * config/tc-m68k.c (m68k_ip): Likewise.
135 (md_begin): Likewise.
136 * config/tc-mcore.c: Likewise.
137 * config/tc-microblaze.c (check_got): Likewise.
138 * config/tc-mips.c (append_insn): Likewise.
139 (s_mipsset): Likewise.
140 (mips_record_label): Likewise.
141 (s_mips_end): Likewise.
142 * config/tc-mmix.c (mmix_frob_file): Likewise.
143 * config/tc-mn10200.c: Likewise.
144 * config/tc-mn10300.c: Likewise.
145 * config/tc-moxie.c: Likewise.
146 * config/tc-msp430.c: Likewise.
147 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
148 * config/tc-ns32k.c: Likewise.
149 * config/tc-or1k.c: Likewise.
150 * config/tc-pdp11.c: Likewise.
151 * config/tc-pj.c (fake_opcode): Likewise.
152 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
153 (ppc_macro): Likewise.
154 (ppc_dwsect): Likewise.
155 (ppc_machine): Likewise.
156 * config/tc-rl78.c (rl78_frag_init): Likewise.
157 * config/tc-rx.c (rx_frag_init): Likewise.
158 * config/tc-s390.c (s390_lit_suffix): Likewise.
159 (s390_machine): Likewise.
160 (s390_machinemode): Likewise.
161 * config/tc-score.c (s3_insert_reg): Likewise.
162 (s3_gen_reloc): Likewise.
163 * config/tc-score7.c (s7_insert_reg): Likewise.
164 (s7_gen_reloc): Likewise.
165 * config/tc-tic30.c (tic30_operand): Likewise.
166 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
167 * config/tc-tic54x.c (stag_add_field): Likewise.
168 (tic54x_struct): Likewise.
169 (tic54x_space): Likewise.
170 (tic54x_field): Likewise.
171 (tic54x_mlib): Likewise.
172 (subsym_substitute): Likewise.
173 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
174 * config/tc-vax.c: Likewise.
175 * config/tc-xc16x.c: Likewise.
176 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
177 (directive_push): Likewise.
178 (xtensa_begin_directive): Likewise.
179 (tokenize_arguments): Likewise.
180 (xtensa_add_literal_sym): Likewise.
181 (new_resource_table): Likewise.
182 (resize_resource_table): Likewise.
183 (emit_single_op): Likewise.
184 (xtensa_create_trampoline_frag): Likewise.
185 (xtensa_maybe_create_literal_pool_frag): Likewise.
186 (xtensa_add_config_info): Likewise.
187 (xtensa_realloc_fixup_cache): Likewise.
188 (add_subseg_info): Likewise.
189 (cache_literal_section): Likewise.
190 (add_xt_block_frags): Likewise.
191 (add_xt_prop_frags): Likewise.
192 (init_op_placement_info_table): Likewise.
193 (build_section_rename): Likewise.
194 * config/tc-z80.c: Likewise.
195 * config/tc-z8k.c: Likewise.
196 * depend.c (register_dependency): Likewise.
197 * dwarf2dbg.c (get_line_subseg): Likewise.
198 (dwarf2_gen_line_info_1): Likewise.
199 (get_filenum): Likewise.
200 * ecoff.c (allocate_scope): Likewise.
201 (allocate_vlinks): Likewise.
202 (allocate_shash): Likewise.
203 (allocate_thash): Likewise.
204 (allocate_tag): Likewise.
205 (allocate_forward): Likewise.
206 (allocate_thead): Likewise.
207 (allocate_lineno_list): Likewise.
208 * expr.c (make_expr_symbol): Likewise.
209 * hash.c (hash_new_sized): Likewise.
210 * input-file.c (input_file_push): Likewise.
211 * listing.c (file_info): Likewise.
212 (listing_newline): Likewise.
213 * macro.c (new_formal): Likewise.
214 (define_macro): Likewise.
215 * remap.c (add_debug_prefix_map): Likewise.
216 * symbols.c (symbol_find_noref): Likewise.
217 (define_dollar_label): Likewise.
218 (fb_label_instance_inc): Likewise.
219 (symbol_relc_make_value): Likewise.
220
221 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
222
223 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
224 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
225 (ppc_znop): Likewise.
226 (ppc_pe_section): Likewise.
227 (ppc_frob_symbol): Likewise.
228 * config/tc-tic30.c (tic30_operand): Likewise.
229 * config/tc-tic4x.c (tic4x_sect): Likewise.
230 (tic4x_usect): Likewise.
231
232 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
233
234 * config/tc-alpha.c: Const qualify FLT_CHARS.
235 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
236 * config/tc-cris.h: Likewise.
237 * expr.c: Likewise.
238 * config/tc-mmix.c (md_atof): Adjust comment.
239 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
240 * tc.h: Declare FLT_CHARS and EXP_CHARS.
241
242 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
243
244 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
245 * config/tc-score7.c (s7_gen_reloc): Likewise.
246
247 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
248
249 * config/tc-arm.c (do_t_branch): Change the type of reloc to
250 bfd_reloc_code_real_type.
251
252 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
253
254 * config/bfin-parse.y (current_inputline): Remove definition.
255 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
256
257 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
258
259 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
260 strings.
261
262 2016-04-02 Alan Modra <amodra@gmail.com>
263
264 PR 19896
265 * read.c (assign_symbol): Consume rest of line after an error
266 rather than continuing to process the line.
267
268 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
269
270 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
271 (MAX_FLAG_NAME_LENGTH): ...this.
272 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
273 * config/tc-arc.c (tokenize_flags): Likewise.
274
275 2016-04-01 Alan Modra <amodra@gmail.com>
276
277 * cgen.c (weak_operand_overflow_check): Return const char*.
278 * messages.c (as_internal_value_out_of_range): Formatting.
279 (as_warn_value_out_of_range): Consify prefix param.
280 (as_bad_value_out_of_range): Likewise.
281 * read.c (s_errwarn): Constify msg..
282 (s_float_space, float_cons): ..and err.
283 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
284 ieee_md_atof, vax_md_atof): Update prototypes.
285 * tc.h (md_atof): Update prototype.
286 * config/atof-ieee.c (ieee_md_atof): Return const char*.
287 * config/atof-vax.c (vax_md_atof): Likewise.
288 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
289 * config/tc-aarch64.c (md_atof): Return const char*.
290 * config/tc-alpha.c (s_alpha_section_name): Likewise.
291 (s_alpha_comm): Constify sec_name.
292 (section_name): Constify.
293 (s_alpha_section): Consify name..
294 (alpha_elf_section_letter): ..and ptr_msg param..
295 (md_atof): ..and return.
296 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
297 * config/tc-arc.c (md_atof): Return const char*.
298 * config/tc-arm.c (md_atof): Likewise.
299 * config/tc-avr.c (md_atof): Likewise.
300 * config/tc-bfin.c (md_atof): Likewise.
301 * config/tc-cr16.c (md_atof): Likewise.
302 * config/tc-cris.c (md_atof): Likewise.
303 * config/tc-crx.c (md_atof): Likewise.
304 * config/tc-d10v.c (md_atof): Likewise.
305 * config/tc-d30v.c (md_atof): Likewise.
306 * config/tc-dlx.c (md_atof): Likewise.
307 * config/tc-epiphany.c (md_atof): Likewise.
308 * config/tc-fr30.c (md_atof): Likewise.
309 * config/tc-frv.c (md_atof): Likewise.
310 * config/tc-ft32.c (md_atof): Likewise.
311 * config/tc-h8300.c (md_atof): Likewise.
312 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
313 (struct default_space_dict): Likewise.
314 (create_new_space): Constify name param.
315 (create_new_subspace): Likewise.
316 (is_defined_space, is_defined_subspace): Likewise.
317 (pa_parse_space_stmt): Constify space_name param.
318 (md_atof): Return const char*.
319 (pa_spaces_begin): Constify name.
320 * config/tc-i370.c (md_atof): Return const char*.
321 * config/tc-i386.c (md_atof): Likewise.
322 (x86_64_section_letter): Constify ptr_msg param.
323 * config/tc-i386.h (x86_64_section_letter): Update prototype.
324 * config/tc-i860.c (struct i860_it): Constify error.
325 (md_atof): Return const char*.
326 * config/tc-i960.c (md_atof): Likewise.
327 * config/tc-ia64.c (md_atof): Likewise.
328 (ia64_elf_section_letter): Constify ptr_msg param.
329 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
330 * config/tc-ip2k.c (md_atof): Return const char*.
331 * config/tc-iq2000.c (md_atof): Likewise.
332 * config/tc-lm32.c (md_atof): Likewise.
333 * config/tc-m32c.c (md_atof): Likewise.
334 * config/tc-m32r.c (md_atof): Likewise.
335 * config/tc-m68hc11.c (md_atof): Likewise.
336 * config/tc-m68k.c (md_atof): Likewise.
337 * config/tc-mcore.c (md_atof): Likewise.
338 * config/tc-mep.c (md_atof): Likewise.
339 (mep_elf_section_letter): Constify ptr_msg param.
340 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
341 * config/tc-metag.c (md_atof): Return const char*.
342 * config/tc-microblaze.c (md_atof): Likewise.
343 * config/tc-microblaze.h (md_atof): Delete prototype.
344 * config/tc-mips.c (mips_parse_argument_token): Constify err.
345 (md_atof): Return const char*.
346 * config/tc-mmix.c (md_atof): Likewise.
347 * config/tc-mn10200.c (md_atof): Likewise.
348 * config/tc-mn10300.c (md_atof): Likewise.
349 * config/tc-moxie.c (md_atof): Likewise.
350 * config/tc-msp430.c (md_atof): Likewise.
351 * config/tc-mt.c (md_atof): Likewise.
352 * config/tc-nds32.c (md_atof): Likewise.
353 * config/tc-nios2.c (md_atof): Likewise.
354 (nios2_elf_section_letter): Constify ptr_msg param.
355 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
356 * config/tc-ns32k.c (md_atof): Return const char*.
357 * config/tc-or1k.c (md_atof): Likewise.
358 * config/tc-pdp11.c (struct pdp11_code): Constify error.
359 (md_atof): Return const char*.
360 * config/tc-pj.c (md_atof): Likewise.
361 * config/tc-ppc.c (md_atof): Likewise.
362 * config/tc-rl78.c (md_atof): Likewise.
363 * config/tc-rx.c (md_atof): Likewise.
364 * config/tc-s390.c (md_atof): Likewise.
365 * config/tc-score.c (s3_atof, md_atof): Likewise.
366 * config/tc-sh.c (md_atof): Likewise.
367 * config/tc-sparc.c (struct sparc_it): Constify error.
368 (md_atof): Return const char*.
369 * config/tc-spu.c (md_atof): Likewise.
370 * config/tc-tic30.c (md_atof): Likewise.
371 * config/tc-tic4x.c (md_atof): Likewise.
372 * config/tc-tic54x.c (md_atof): Likewise.
373 * config/tc-tic6x.c (md_atof): Likewise.
374 * config/tc-tilegx.c (md_atof): Likewise.
375 * config/tc-tilepro.c (md_atof): Likewise.
376 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
377 * config/tc-vax.c (md_atof): Likewise.
378 * config/tc-visium.c (md_atof): Likewise.
379 * config/tc-xc16x.c (md_atof): Likewise.
380 * config/tc-xgate.c (md_atof): Likewise.
381 * config/tc-xstormy16.c (md_atof): Likewise.
382 * config/tc-xtensa.c (md_atof): Likewise.
383 * config/tc-z80.c (md_atof): Likewise.
384 * config/tc-z8k.c (md_atof): Likewise.
385
386 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
387
388 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
389 const.
390 (xtensa_section_rename): Make argument type const char *.
391 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
392
393 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
394
395 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
396 args[0].
397
398 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
399
400 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
401 char *.
402 (m32c_indirect_operand): Likewise.
403 * config/tc-nds32.c (do_pseudo_b): Likewise.
404 (do_pseudo_bal): Likewise.
405 (do_pseudo_ls_bhw): Likewise.
406
407 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
408
409 * as.c (parse_args): Cast literal to char * when assigning to optarg.
410
411 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
412
413 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
414 get_symbol_name ().
415 * config/tc-sparc.c (s_register): Cast a literal to char * in
416 assignment.
417
418 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
419
420 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
421 input_line_pointer.
422 * config/tc-m32r.c (expand_debug_syms): Likewise.
423 * config/tc-msp430.c (msp430_dstoperand): Likewise.
424 * config/tc-z80.c (md_begin): Likewise.
425 * stabs.c (stabs_generate_asm_func): Likewise.
426
427 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
428
429 * cgen.c: Modernize the way functions declare arguments.
430 * config/tc-bfin.c: Likewise.
431 * config/tc-pdp11.c: Likewise.
432 * literal.c: Likewise.
433 * read.c: Likewise.
434 * stabs.c: Likewise.
435
436 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
437
438 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
439 variables unsigned char[].
440 * config/tc-alpha.c (alpha_handle_align): Likewise.
441 * config/tc-arm.c (arm_handle_align): Likewise.
442 * config/tc-z80.c: Likewise.
443
444 2016-03-30 Nick Clifton <nickc@redhat.com>
445
446 PR target/19880
447 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
448 shifting.
449
450 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
451
452 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
453 * testsuite/gas/elf/elf.exp: Likewise.
454 * testsuite/gas/all/redef3.d: Allow execution for ARC.
455
456 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
457
458 * testsuite/gas/arc/warn.exp: Fix matching pattern.
459
460 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
461
462 * testsuite/gas/arc/ext2op.d: New file.
463 * testsuite/gas/arc/ext2op.s: Likewise.
464 * testsuite/gas/arc/ext3op.d: Likewise.
465 * testsuite/gas/arc/ext3op.s: Likewise.
466
467 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
468
469 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
470 qualifier.
471 * config/tc-alpha.c (md_parse_option): Likewise.
472 * config/tc-arc.c (md_parse_option): Likewise.
473 * config/tc-arm.c (struct arm_long_option_table): Likewise.
474 (md_parse_option): Likewise.
475 * config/tc-avr.c (md_parse_option): Likewise.
476 * config/tc-bfin.c (md_parse_option): Likewise.
477 * config/tc-cr16.c (md_parse_option): Likewise.
478 * config/tc-cris.c (s_cris_arch): Likewise.
479 (md_parse_option): Likewise.
480 * config/tc-crx.c (md_parse_option): Likewise.
481 * config/tc-d10v.c (md_parse_option): Likewise.
482 * config/tc-d30v.c (md_parse_option): Likewise.
483 * config/tc-dlx.c (md_parse_option): Likewise.
484 * config/tc-epiphany.c (md_parse_option): Likewise.
485 * config/tc-fr30.c (md_parse_option): Likewise.
486 * config/tc-frv.c (md_parse_option): Likewise.
487 * config/tc-ft32.c (md_parse_option): Likewise.
488 * config/tc-h8300.c (md_parse_option): Likewise.
489 * config/tc-hppa.c (md_parse_option): Likewise.
490 * config/tc-i370.c (md_parse_option): Likewise.
491 * config/tc-i386.c (md_parse_option): Likewise.
492 * config/tc-i860.c (md_parse_option): Likewise.
493 * config/tc-i960.c (md_parse_option): Likewise.
494 * config/tc-ia64.c (md_parse_option): Likewise.
495 * config/tc-ip2k.c (md_parse_option): Likewise.
496 * config/tc-iq2000.c (md_parse_option): Likewise.
497 * config/tc-lm32.c (md_parse_option): Likewise.
498 * config/tc-m32c.c (md_parse_option): Likewise.
499 * config/tc-m32r.c (md_parse_option): Likewise.
500 * config/tc-m68hc11.c (md_parse_option): Likewise.
501 * config/tc-m68k.c (md_parse_option): Likewise.
502 * config/tc-mcore.c (md_parse_option): Likewise.
503 * config/tc-mep.c (md_parse_option): Likewise.
504 * config/tc-metag.c (struct metag_long_option): Likewise.
505 (md_parse_option): Likewise.
506 * config/tc-microblaze.c (md_parse_option): Likewise.
507 * config/tc-microblaze.h (md_parse_option): Remove prototype.
508 * config/tc-mips.c (md_parse_option): Adjust.
509 * config/tc-mmix.c (md_parse_option): Likewise.
510 * config/tc-mn10200.c (md_parse_option): Likewise.
511 * config/tc-mn10300.c (md_parse_option): Likewise.
512 * config/tc-moxie.c (md_parse_option): Likewise.
513 * config/tc-msp430.c (md_parse_option): Likewise.
514 * config/tc-mt.c (md_parse_option): Likewise.
515 * config/tc-nds32.c (md_parse_option): Likewise.
516 * config/tc-nds32.h (nds32_parse_option): Likewise.
517 * config/tc-nios2.c (md_parse_option): Likewise.
518 * config/tc-ns32k.c (md_parse_option): Likewise.
519 * config/tc-or1k.c (md_parse_option): Likewise.
520 * config/tc-pdp11.c (md_parse_option): Likewise.
521 * config/tc-pj.c (md_parse_option): Likewise.
522 * config/tc-ppc.c (md_parse_option): Likewise.
523 * config/tc-rl78.c (md_parse_option): Likewise.
524 * config/tc-rx.c (md_parse_option): Likewise.
525 * config/tc-s390.c (s390_parse_cpu): Likewise.
526 * config/tc-score.c (md_parse_option): Likewise.
527 * config/tc-sh.c (md_parse_option): Likewise.
528 * config/tc-sparc.c (md_parse_option): Likewise.
529 * config/tc-spu.c (md_parse_option): Likewise.
530 * config/tc-tic30.c (md_parse_option): Likewise.
531 * config/tc-tic4x.c (md_parse_option): Likewise.
532 * config/tc-tic54x.c (md_parse_option): Likewise.
533 * config/tc-tic6x.c (md_parse_option): Likewise.
534 * config/tc-tilegx.c (md_parse_option): Likewise.
535 * config/tc-tilepro.c (md_parse_option): Likewise.
536 * config/tc-v850.c (md_parse_option): Likewise.
537 * config/tc-vax.c (md_parse_option): Likewise.
538 * config/tc-visium.c (struct visium_long_option_table): Likewise.
539 * config/tc-xc16x.c (md_parse_option): Likewise.
540 * config/tc-xgate.c (md_parse_option): Likewise.
541 * config/tc-xstormy16.c (md_parse_option): Likewise.
542 * config/tc-xtensa.c (md_parse_option): Likewise.
543 * config/tc-z80.c (md_parse_option): Likewise.
544 * config/tc-z8k.c (md_parse_option): Likewise.
545 * tc.h (md_parse_option): Likewise.
546
547 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
548
549 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
550 * config/tc-hppa.c (fix_new_hppa): Likewise.
551 (pa_vtable_entry): Likewise.
552 (pa_vtable_inherit): Likewise.
553 * config/tc-m68k.c (md_begin): Likewise.
554
555 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
556
557 * config/obj-elf.c (obj_elf_section_name): Return const char *.
558 * config/obj-elf.h (obj_elf_section_name): Adjust.
559 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
560 (aarch64_parse_cpu): Likewise.
561 (aarch64_parse_arch): Likewise.
562 * config/tc-arm.c (arm_parse_extension): Likewise.
563 (arm_parse_cpu): Likewise.
564 (arm_parse_arch): Likewise.
565 * config/tc-nds32.c: Likewise.
566 * config/xtensa-relax.c (parse_special_fn): Likewise.
567 * stabs.c (generate_asm_file): Likewise.
568
569 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
570
571 * config/tc-cr16.c (cr16_assemble): New function.
572 (md_assemble): Call cr16_assemble.
573
574 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
575
576 * as.c (parse_args): Adjust.
577 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
578 * config/obj-elf.c (elf_frob_symbol): Adjust.
579
580 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
581
582 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
583 registers to be in the 16..31 range.
584
585 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
586
587 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
588 frag_var ().
589
590 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
591
592 * config/tc-visium.c (md_atof): Localize the string returned on
593 failure.
594
595 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
596
597 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
598 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
599 * config/tc-m68hc11.c (md_begin): Likewise.
600 (print_opcode_list): Likewise.
601 * config/tc-msp430.c (msp430_section): Likewise.
602 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
603 (s3_build_dependency_insn_hsh): Likewise.
604 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
605 (s7_build_dependency_insn_hsh): Likewise.
606 * config/tc-tic4x.c: Likewise.
607 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
608 (subsym_get_arg): Likewise.
609 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
610 (get_directive): Likewise.
611 (cache_literal_section): Likewise.
612 * config/xtensa-relax.c: Likewise.
613 * symbols.c (symbol_create): Likewise.
614 (local_symbol_make): Likewise.
615 (symbol_relc_make_expr): Likewise.
616
617 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
618
619 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
620 str.
621
622 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
623
624 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
625 call with a switch.
626
627 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
628
629 * config/tc-ia64.c (ia64_do_align): Remove.
630 (ia64_cons_align): Call do_align () directly.
631 (dot_proc): Likewise.
632 (stmt_float_cons): Likewise.
633
634 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
635
636 * listing.c (listing_message): Use XNEW style allocation macros.
637 * read.c (read_a_source_file): Likewise.
638 (read_symbol_name): Likewise.
639 (s_mri_common): Likewise.
640 (assign_symbol): Likewise.
641 (s_reloc): Likewise.
642 (emit_expr_with_reloc): Likewise.
643 (s_incbin): Likewise.
644 (s_include): Likewise.
645 * sb.c (sb_build): Likewise.
646 (sb_check): Likewise.
647
648 2016-03-22 Alan Modra <amodra@gmail.com>
649
650 * write.c (record_alignment): Revert 2016-02-18 change.
651
652 2016-03-22 Alan Modra <amodra@gmail.com>
653
654 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
655 (emit_jsrjmp, tc_gen_reloc): Likewise.
656 * config/tc-i370.c (i370_macro): Likewise.
657
658 2016-03-22 Nick Clifton <nickc@redhat.com>
659
660 * configure: Regenerate.
661
662 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
663
664 * testsuite/gas/arc/nps400-0.d: New file.
665 * testsuite/gas/arc/nps400-0.s: New file.
666 * testsuite/gas/arc/nps400-1.d: New file.
667 * testsuite/gas/arc/nps400-1.s: New file.
668
669 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
670
671 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
672 declarations to start of block. Reset code on all flags before
673 attempting to match them. Handle multiple hits on the same flag.
674 Handle flag class.
675 * testsuite/gas/arc/asm-errors.d: New file.
676 * testsuite/gas/arc/asm-errors.err: New file.
677 * testsuite/gas/arc/asm-errors.s: New file.
678
679 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
680
681 * config/tc-arc.c (cpu_types): Add nps400 entry.
682 (check_zol): Handle nps400.
683
684 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
685
686 * config/tc-arc.c (arc_select_cpu): Remove use of
687 EF_ARC_CPU_GENERIC.
688
689 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
690
691 * config/tc-arc.c (arc_target): Delay initialisation until
692 arc_select_cpu.
693 (arc_target_name): Likewise.
694 (arc_features): Likewise.
695 (arc_mach_type): Likewise.
696 (cpu_types): Remove "all" entry.
697 (arc_select_cpu): New function, most of the content is from...
698 (md_parse_option): ... here. Call new arc_select_cpu.
699 (md_begin): Call arc_select_cpu if needed, default is now arc700.
700
701 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
702
703 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
704 * testsuite/gas/arc/inline-data-2.d: New file.
705
706 2016-03-21 Nick Clifton <nickc@redhat.com>
707
708 * atof-generic.c: Replace use of alloca with call to xmalloc.
709 * cgen.c: Likewise.
710 * dwarf2dbg.c: Likewise.
711 * macro.c: Likewise.
712 * remap.c: Likewise.
713 * stabs.c: Likewise.
714 * symbols.c: Likewise.
715 * config/obj-elf.c: Likewise.
716 * config/tc-aarch64.c: Likewise.
717 * config/tc-arc.c: Likewise.
718 * config/tc-arm.c: Likewise.
719 * config/tc-avr.c: Likewise.
720 * config/tc-ia64.c: Likewise.
721 * config/tc-mips.c: Likewise.
722 * config/tc-msp430.c: Likewise.
723 * config/tc-nds32.c: Likewise.
724 * config/tc-ppc.c: Likewise.
725 * config/tc-sh.c: Likewise.
726 * config/tc-tic30.c: Likewise.
727 * config/tc-tic54x.c: Likewise.
728 * config/tc-xstormy16.c: Likewise.
729 * config/te-vms.c: Likewise.
730 * configure: Regenerate.
731
732 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
733
734 * tc-i386.c (f32_1): Change type to unsigned char[].
735 (f32_2): Likewise.
736 (f32_3): Likewise.
737 (f32_4): Likewise.
738 (f32_5): Likewise.
739 (f32_6): Likewise.
740 (f32_7): Likewise.
741 (f32_8): Likewise.
742 (f32_9): Likewise.
743 (f32_10): Likewise.
744 (f32_11): Likewise.
745 (f32_12): Likewise.
746 (f32_13): Likewise.
747 (f32_14): Likewise.
748 (f16_3): Likewise.
749 (f16_4): Likewise.
750 (f16_5): Likewise.
751 (f16_6): Likewise.
752 (f16_7): Likewise.
753 (f16_8): Likewise.
754 (jump_31): Likewise.
755 (f32_patt): Likewise.
756 (f16_patt): Likewise.
757 (alt_3): Likewise.
758 (alt_4): Likewise.
759 (alt_5): Likewise.
760 (alt_6): Likewise.
761 (alt_7): Likewise.
762 (alt_8): Likewise.
763 (alt_9): Likewise.
764 (alt_10): Likewise.
765 (alt_patt): Likewise.
766
767 2016-03-18 Nick Clifton <nickc@redhat.com>
768
769 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
770 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
771 .tlsdescldr and .xword directives.
772
773 PR target/19721
774 * testsuite/gas/aarch64/pr19721.s: New test source file.
775 * testsuite/gas/aarch64/pr19721.d: New test driver file.
776
777 * doc/as.texinfo: Place the target specific command line options
778 into their own man page section.
779
780 2016-03-16 Jiong Wang <jiong.wang@arm.com>
781
782 * config/tc-arm.c (N_S_32): New.
783 (N_F_16_32): Likewise.
784 (N_SUF_32): Support N_F16.
785 (N_IF_32): Likewise.
786 (neon_dyadic_misc): Likewise.
787 (do_neon_cmp): Likewise.
788 (do_neon_cmp_inv): Likewise.
789 (do_neon_mul): Likewise.
790 (do_neon_fcmp_absolute): Likewise.
791 (do_neon_step): Likewise.
792 (do_neon_abs_neg): Likewise.
793 (CVT_FLAVOR_VAR): Likewise.
794 (do_neon_cvt_1): Likewise.
795 (do_neon_recip_est): Likewise.
796 (do_vmaxnm): Likewise.
797 (do_vrint_1): Likewise.
798 (neon_check_type): Check architecture support for FP16 extension.
799 (insns): Update comments.
800 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
801 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
802 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
803 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
804 arm mode.
805 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
806 thumb mode.
807 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
808 error file.
809
810 2016-03-16 Nick Clifton <nickc@redhat.com>
811
812 * read.c (emit_expr_with_reloc): Add code check a bignum with
813 nbytes == 1.
814 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
815 other than 32-bits.
816 * testsuite/gas/elf/bignum.s: New test source file.
817 * testsuite/gas/elf/bignum.d: New test driver file.
818 * testsuite/gas/elf/elf.exp: Run the new test.
819
820 2016-03-15 Ulrich Drepper <drepper@gmail.com>
821
822 * doc/c-i386.texi (Register Naming): Update to details of the
823 latest architecture version.
824
825 2016-03-10 Mickael Guene <mickael.guene@st.com>
826
827 PR gas/19744
828 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
829 (do_mov): Likewise.
830 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
831 (do_t_mov_cmp): Likewise.
832 (do_t_add_sub): Protect against bad relocations usage.
833 (do_t_mov_cmp): Likewise.
834 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
835 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
836 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
837 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
838
839 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
840
841 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
842 do_alignment.
843 (do_neon_ld_st_lane): Likewise.
844 (do_neon_ld_dup): Likewise.
845
846 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
847
848 * testsuite/gas/arc/inline-data-1.d: New file.
849 * testsuite/gas/arc/inline-data-1.s: New file.
850
851 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
852
853 * config/tc-arm.c (arm_cpus): Add cortex-r8.
854 * doc/c-arm.texi: Add cortex-r8.
855
856 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
857
858 * config/tc-arc.c: Add const qualifiers.
859 * config/tc-h8300.c (md_begin): Likewise.
860 * config/tc-ia64.c (print_prmask): Likewise.
861 * config/tc-msp430.c (msp430_operands): Likewise.
862 * config/tc-nds32.c (struct suffix_name): Likewise.
863 (struct nds32_parse_option_table): Likewise.
864 (struct nds32_set_option_table): Likewise.
865 (do_pseudo_pushpopm): Likewise.
866 (do_pseudo_pushpop_stack): Likewise.
867 (nds32_relax_relocs): Likewise.
868 (nds32_flag): Likewise.
869 (struct nds32_hint_map): Likewise.
870 (nds32_find_reloc_table): Likewise.
871 (nds32_match_hint_insn): Likewise.
872 * config/tc-s390.c: Likewise.
873 * config/tc-sh.c (get_specific): Likewise.
874 * config/tc-tic30.c: Likewise.
875 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
876 (tic4x_indirect_parse): Likewise.
877 * config/tc-vax.c (vax_cons): Likewise.
878 * config/tc-z80.c (struct reg_entry): Likewise.
879 * config/tc-epiphany.c (md_assemble): Adjust.
880 (epiphany_assemble): New function.
881 (epiphany_elf_section_rtn): Call do_align directly.
882 (epiphany_elf_section_text): Likewise.
883 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
884 (ip2k_elf_section_text): Likewise.
885 * read.c (do_align): Make it not static.
886 * read.h (do_align): New prototype.
887
888 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
889
890 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
891 for ARMv8.1 AdvSIMD use.
892 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
893 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
894
895 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
896
897 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
898 feature.
899 (record_feature_use): New.
900 (mark_feature_used): Use record_feature_use.
901 (do_neon_qrdmlah): New.
902 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
903 variants.
904 (arm_extensions): Put into alphabetical order. Re-indent "simd"
905 and "rdma" entries. Fix the incorrect merge value for "+rdma".
906 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
907 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
908 Make source file explicit.
909 * testsuite/gas/arm/armv8-a+rdma.l: New.
910 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
911 directives. Fix white-space.
912 * testsuite/gas/arm/armv8_1-a+simd.d: New.
913
914 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
915
916 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
917
918 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
919 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
920
921 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
922 (tc_arc_fix_adjustable): Changed default return value to 1.
923 * testsuite/gas/arc/j.d: Updated expected symbol
924 * testsuite/gas/arc/jl.d: Likewise
925 * testsuite/gas/arc/relax-avoid1.d: Likewise
926 * testsuite/gas/arc/st.d: Likewise
927
928 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
929
930 * config/tc-arc.c: Enable code density instructions for ARC EM.
931
932 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
933
934 PR ld/19645
935 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
936 for ELF assemblers.
937 * as.c (flag_use_elf_stt_common): New.
938 (show_usage): Add --elf-stt-common=.
939 (option_values): Add OPTION_ELF_STT_COMMON.
940 (std_longopts): Add --elf-stt-common=.
941 (parse_args): Handle --elf-stt-common=.
942 * as.h (flag_use_elf_stt_common): New.
943 * config.in: Regenerated.
944 * configure: Likewise.
945 * configure.ac: Add --enable-elf-stt-common and define
946 DEFAULT_GENERATE_ELF_STT_COMMON.
947 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
948 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
949 * doc/as.texinfo: Document --elf-stt-common=.
950 * testsuite/gas/elf/common3.s: New file.
951 * testsuite/gas/elf/common3a.d: Likewise.
952 * testsuite/gas/elf/common3b.d: Likewise.
953 * testsuite/gas/elf/common4.s: Likewise.
954 * testsuite/gas/elf/common4a.d: Likewise.
955 * testsuite/gas/elf/common4b.d: Likewise.
956 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
957 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
958 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
959 and common4b.
960 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
961 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
962 --elf-stt-common=no to as.
963 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
964 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
965 --elf-stt-common=no to as.
966 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
967 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
968 of dw2-compress-3 and dw2-compressed-3.
969
970 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
971
972 * as.c (select_emulation_mode): Add const qualifiers.
973 * as.h: Likewise.
974 * config/bfin-defs.h: Likewise.
975 * config/bfin-parse.y: Likewise.
976 * config/rx-parse.y: Likewise.
977 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
978 (struct aarch64_cpu_option_table): Likewise.
979 (struct aarch64_arch_option_table): Likewise.
980 (struct aarch64_option_cpu_value_table): Likewise.
981 (struct aarch64_long_option_table): Likewise.
982 (struct aarch64_option_abi_value_table): Likewise.
983 * config/tc-arm.c (struct reloc_entry): Likewise.
984 (tc_gen_reloc): Likewise.
985 (struct arm_option_table): Likewise.
986 (struct arm_legacy_option_table): Likewise.
987 (struct arm_cpu_option_table): Likewise.
988 (struct arm_arch_option_table): Likewise.
989 (struct arm_option_extension_value_table): Likewise.
990 (struct arm_option_fpu_value_table): Likewise.
991 (struct arm_option_value_table): Likewise.
992 (struct arm_long_option_table): Likewise.
993 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
994 (struct mcu_type_s): Likewise.
995 (struct exp_mod_s): Likewise.
996 (avr_operand): Likewise.
997 (avr_operands): Likewise.
998 * config/tc-d10v.c (md_begin): Likewise.
999 * config/tc-dlx.c: Likewise.
1000 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
1001 * config/tc-ft32.c (parse_condition): Likewise.
1002 * config/tc-h8300.c (do_a_fix_imm): Likewise.
1003 * config/tc-hppa.c (pa_ip): Likewise.
1004 (hppa_regname_to_dw2regnum): Likewise.
1005 * config/tc-i370.c (i370_elf_suffix): Likewise.
1006 * config/tc-i960.c (struct tabentry): Likewise.
1007 * config/tc-m32r.c: Likewise.
1008 * config/tc-m68k.c: Likewise.
1009 * config/tc-m68k.h: Likewise.
1010 * config/tc-mcore.c (parse_psrmod): Likewise.
1011 * config/tc-metag.c (struct metag_core_option): Likewise.
1012 (struct metag_long_option): Likewise.
1013 * config/tc-microblaze.c: Likewise.
1014 * config/tc-mips.c (macro): Likewise.
1015 * config/tc-mn10200.c: Likewise.
1016 * config/tc-mn10300.c: Likewise.
1017 * config/tc-msp430.c (struct rcodes_s): Likewise.
1018 (struct hcodes_s): Likewise.
1019 (md_parse_option): Likewise.
1020 * config/tc-ns32k.c (struct ns32k_option): Likewise.
1021 (optlist): Likewise.
1022 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
1023 (tc_ppc_regname_to_dw2regnum): Likewise.
1024 * config/tc-ppc.h: Likewise.
1025 * config/tc-rl78.c: Likewise.
1026 * config/tc-rx.c (struct cpu_type): Likewise.
1027 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
1028 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
1029 (sparc_ip): Likewise.
1030 * config/tc-spu.c (insn_fmt_string): Likewise.
1031 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1032 * config/tc-v850.c: Likewise.
1033 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
1034 (struct visium_long_option_table): Likewise.
1035 * config/tc-xgate.c: Likewise.
1036 * config/tc-z8k.c: Likewise.
1037 * read.c (add_include_dir): Likewise.
1038 * read.h: Likewise.
1039
1040 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1041
1042 * testsuite/gas/all/gas.exp: Change target pattern to cover
1043 arceb-*.
1044 * testsuite/gas/all/redef3.d: Likewise.
1045 * testsuite/gas/elf/elf.exp: Likewise.
1046
1047 2016-02-24 Renlin Li <renlin.li@arm.com>
1048
1049 * config/tc-arm.c (BAD_FP16): New error message macro.
1050 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
1051 fp16 scalar instructions.
1052 (neon_check_type): Allow different size from key.
1053 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
1054 (try_vfp_nsyn): Likewise.
1055 (do_vfp_nsyn_mla_mls): Likewise.
1056 (do_vfp_nsyn_fma_fms): Likewise.
1057 (do_vfp_nsyn_ldm_stm): Likewise
1058 (do_vfp_nsyn_sqrt): Likewise
1059 (do_vfp_nsyn_div): Likewise
1060 (do_vfp_nsyn_nmul): Likewise.
1061 (do_vfp_nsyn_cmp): Likewise.
1062 (do_neon_shll): Likewise.
1063 (do_vfp_nsyn_cvt_fpv8): Likewise.
1064 (do_neon_cvttb_2): Likewise.
1065 (do_neon_mov): Likewise.
1066 (do_neon_rshift_round_imm): Likewise.
1067 (do_neon_ldr_str): Likewise.
1068 (do_vfp_nsyn_fpv8): Likewise.
1069 (do_vmaxnm): Likewise.
1070 (do_vrint_1): Likewise.
1071 (insns): New entry for vins, vmovx.
1072 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
1073 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
1074 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
1075 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
1076 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
1077 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
1078 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
1079
1080 2016-02-24 Renlin Li <renlin.li@arm.com>
1081
1082 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
1083 (neon_shape_class): New SC_HALF.
1084 (neon_shape_el): New SE_H.
1085 (neon_shape_el_size): New size for SE_H.
1086 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
1087 (neon_select_shape): Add SE_H support code.
1088 (el_type_of_type_chk): Use N_F_ALL.
1089 (do_vfp_nsyn_cvt): Add SE_H shape support.
1090 (do_neon_cvtz): Likewise.
1091 (do_neon_cvt_1): Likewise.
1092 (do_neon_cvttb_1): Likewise.
1093
1094 2016-02-24 Renlin Li <renlin.li@arm.com>
1095
1096 * testsuite/gas/arm/copro.d: Adjust output.
1097 * testsuite/gas/arm/copro.s: Adjust co-processor num.
1098
1099 2016-02-24 Renlin Li <renlin.li@arm.com>
1100
1101 * testsuite/gas/arm/mask_1.d: New.
1102 * testsuite/gas/arm/mask_1.s: New.
1103
1104 2016-02-24 Renlin Li <renlin.li@arm.com>
1105
1106 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
1107 * testsuite/gas/arm/copro.d: Update.
1108
1109 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1110
1111 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
1112 * doc/c-arm.texi (ARM Options): Document cortex-a32.
1113
1114 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1115
1116 * doc/c-arm.texi (ARM Options): Document cortex-a17.
1117
1118 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1119
1120 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
1121 hpux.
1122
1123 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1124
1125 * output-file.c (output_file_create): Make file name argument const.
1126 (output_file_close): Likewise.
1127 * output-file.h (output_file_create): Adjust.
1128 (output_file_close): Likewise.
1129 * depend.c (quote_string_for_make): Make src argument const char *.
1130 (register_dependency): Likewise.
1131 (wrap_output): Likewise.
1132 * as.h (register_dependency): Adjust.
1133 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
1134 as_where ();
1135 * symbols.c (S_SET_EXTERNAL): Likewise.
1136 * input-scrub.c (as_where): Return the file name.
1137 * as.h (as_where): Adjust prototype.
1138 * app.c (do_scrub_chars): Adjust.
1139 * cond.c (s_elseif): Likewise.
1140 (s_else): Likewise.
1141 (initialize_cframe): Likewise.
1142 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
1143 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1144 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1145 * config/tc-aarch64.c (output_info): Likewise.
1146 * config/tc-ia64.c (md_assemble): Likewise.
1147 (dot_alias): Likewise.
1148 * config/tc-m68k.c (m68k_frob_label): Likewise.
1149 * config/tc-mmix.c (s_bspec): Likewise.
1150 (mmix_handle_mmixal): Likewise.
1151 * config/tc-rx.c (rx_include): Likewise.
1152 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1153 (tic54x_adjust_symtab): Likewise.
1154 * config/tc-xtensa.c (directive_push): Likewise.
1155 (xtensa_sanity_check): Likewise.
1156 (xtensa_relax_frag): Likewise.
1157 (md_convert_frag): Likewise.
1158 (tinsn_to_slotbuf): Likewise.
1159 * dwarf2dbg.c (dwarf2_where): Likewise.
1160 * ecoff.c (add_file): Likewise.
1161 (ecoff_generate_asm_lineno): Likewise.
1162 * expr.c (make_expr_symbol): Likewise.
1163 * frags.c (frag_new): Likewise.
1164 (frag_var_init): Likewise.
1165 * listing.c (listing_newline): Likewise.
1166 * messages.c (identify): Likewise.
1167 (as_show_where): Likewise.
1168 (as_warn_internal): Likewise.
1169 (as_bad_internal): Likewise.
1170 * read.c (s_irp): Likewise.
1171 (s_macro): Likewise.
1172 (s_reloc): Likewise.
1173 * stabs.c (stabs_generate_asm_file): Likewise.
1174 (stabs_generate_asm_lineno): Likewise.
1175 (stabs_generate_asm_func): Likewise.
1176 * write.c (fix_new_internal): Likewise.
1177 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
1178 (as_warn_value_out_of_range): Adjust prototype.
1179 (as_bad_value_out_of_range): Adjust prototype.
1180 * messages.c (identify): Make file name argument const char *.
1181 (as_warn_internal): Likewise.
1182 (as_warn_where): Likewise.
1183 (as_bad_internal): Likewise.
1184 (as_bad_where): Likewise.
1185 (as_internal_value_out_of_range): Likewise.
1186 (as_warn_value_out_of_range): Likewise.
1187 (as_bad_value_out_of_range): Likewise.
1188 * as.h (found_comment_file): Change type to const char *.
1189 * cond.c (file_line::file): Likewise.
1190 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
1191 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1192 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1193 * config/tc-aarch64.c (output_info): Likewise.
1194 * config/tc-alpha.c (insert_operand): Likewise.
1195 * config/tc-arc.c (insert_operand): Likewise.
1196 * config/tc-d30v.c (check_size): Likewise.
1197 * config/tc-ia64.c (struct alias): Likewise.
1198 * config/tc-m68k.c (struct label_line): Likewise.
1199 * config/tc-mcore.c (md_apply_fix): Likewise.
1200 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
1201 * config/tc-mips.c (mips16_immed): Likewise.
1202 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
1203 * config/tc-ppc.c (ppc_insert_operand): Likewise.
1204 * config/tc-rx.c (rx_include): Likewise.
1205 * config/tc-s390.c (s390_insert_operand): Likewise.
1206 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1207 (tic54x_adjust_symtab): Likewise.
1208 * config/tc-tilegx.c (insert_operand): Likewise.
1209 (apply_special_operator): Likewise.
1210 * config/tc-tilepro.c (insert_operand): Likewise.
1211 * config/tc-xtensa.c (directive_push): Likewise.
1212 * ecoff.c (add_file): Likewise.
1213 (ecoff_generate_asm_lineno): Likewise.
1214 * listing.c (listing_newline): Likewise.
1215 * read.c (s_irp): Likewise.
1216 * write.c (install_reloc): Likewise.
1217 * write.h (struct fix): Likewise.
1218 * input-file.c (file_name): Change type to const char *.
1219 (saved_file::file_name): Likewise.
1220 (input_file_open): Change type of argument to const char *.
1221 * input-file.h (input_file_open): Adjust.
1222 * input-scrub.c (logical_input_file): change type to const char *.
1223 (physical_input_file): Likewise.
1224 (struct input_save): Adjust.
1225 (input_scrub_push): Adjust.
1226 (input_scrub_begin): Adjust.
1227 (as_where): Adjust.
1228 * input-scrub.c (input_scrub_new_file): Make file name argument const.
1229 (input_scrub_include_file): Likewise.
1230 (new_logical_line_flags): Likewise.
1231 (new_logical_line): Likewise.
1232 * as.h: Adjust.
1233 * frags.h (struct frag): Change type of fr_file to const char *.
1234 * expr.c (expr_symbol_where): Change type of file argument to
1235 const char **.
1236 * expr.h (expr_symbol_where): Likewise.
1237 * config/tc-i370.c (md_apply_fix): adjust.
1238 * config/tc-mmix.c (mmix_md_end): Likewise.
1239 * config/tc-ppc.c (md_apply_fix): Likewise.
1240 * config/tc-s390.c (md_apply_fix): Likewise.
1241 * symbols.c (report_op_error): Likewise.
1242 (resolve_symbol_value): Likewise.
1243 * config/tc-ia64.c (slot::src_file): Change type to const char *.
1244 (rsrc::file): Likewise.
1245 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
1246 const char *.
1247 (xtensa_relax_frag): Likewise.
1248 (md_convert_frag): Likewise.
1249 (tinsn_to_slotbuf): Likewise.
1250 * expr.c (expr_symbol_line): Likewise.
1251 * macro.c (define_macro): Likewise.
1252 * macro.h (macro_struct): Likewise.
1253 * messages.c (as_show_where): Likewise.
1254 * read.c (s_macro): Likewise.
1255 * stabs.c (stabs_generate_asm_file): Likewise.
1256 (generate_asm_file): Likewise.
1257 (stabs_generate_asm_lineno): Likewise.
1258 * write.h (struct reloc_list): Likewise.
1259 * input-scrub.c (as_where): Change return type to const char *.
1260 * as.h (as_wheree): Adjust.
1261
1262 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
1263
1264 * write.c (compress_debug): Move BFD compression bits setting
1265 to ...
1266 (write_object_file): Here.
1267
1268 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1269
1270 * config/tc-i386.c (register_number): Check RegVRex.
1271 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
1272 with %zmm19 and %zmm3.
1273 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
1274 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
1275
1276 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
1277 Jiong Wang <jiong.wang@arm.com>
1278
1279 * config/tc-arm.c (arm_ext_fp16): New.
1280 (arm_extensions): New entry for "fp16".
1281
1282 2016-02-19 Nick Clifton <nickc@redhat.com>
1283
1284 PR 19630
1285 * read.c (read_a_source_file): Check for assemble_one returning
1286 with input_line_pointer set to NULL.
1287
1288 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1289
1290 * listing.c (rebuffer_line): Change return type to void.
1291
1292 * symbols.c (decode_local_label_name): Make type a const char *.
1293 * listing.c (print_source): Make type of p const char *.
1294 (print_line): Make type of string const char *.
1295 (buffer_line): Return const char *.
1296 (title): Make type const char *.
1297 (subtitle): Likewise.
1298 (listing_listing): Make type of p const char *.
1299 * messages.c (as_internal_value_out_of_range): Make type of prefix
1300 const char *.
1301 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
1302 and string const char *.
1303 * read.c (_bfd_rel): Make type of name const char *.
1304 * app.c (out_string): Change type to const char *.
1305 (struct app_save::out_string): Likewise.
1306
1307 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
1308 Nick Clifton <nickc@redhat.com>
1309
1310 * read.c (finish_bundle): Avoid recording a negative alignment.
1311 (do_align): Use unsigned values for n, len and max. Only create
1312 a frag if the alignment requirement is greater than the minimum
1313 byte alignment. Avoid recording a negative alignment.
1314 (s_align): Use unsigned values where appropriate.
1315 (bss_alloc): Use an unsigned value for the alignment.
1316 (sizeof_sleb128): Add a comment noting that we encode one octet
1317 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
1318 (emit_leb129_expr): Abort if the emitted encoding was longer than
1319 expected.
1320 * read.h (output_leb128): Update prototype.
1321 (sizeof_leb128): Update prototype.
1322 (bss_alloc): Update prototype.
1323 * write.c (record_alignment): Use an unsigned value for the
1324 alignment. Do not record alignments less than the minimum
1325 alignment for a byte.
1326 * write.h (record_alignment): Update prototype.
1327
1328 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1329
1330 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
1331 .init.literal/.fini.literal section name.
1332 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
1333 list of xtensa tests.
1334 * testsuite/gas/xtensa/init-fini-literals.d: New file:
1335 init-fini-literals test result patterns.
1336 * testsuite/gas/xtensa/init-fini-literals.s: New file:
1337 init-fini-literals test.
1338
1339 2016-02-17 Nick Clifton <nickc@redhat.com>
1340
1341 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
1342 devices.csv file as of March 2016.
1343
1344 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
1345
1346 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
1347 function.
1348 (tc_arc_regname_to_dw2regnum): Likewise.
1349 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
1350 (tc_cfi_frame_initial_instructions): Likewise.
1351 (tc_regname_to_dw2regnum): Likewise.
1352 * testsuite/gas/cfi/cfi-arc-1.d: New file.
1353 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
1354 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
1355
1356 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
1357
1358 * doc/internals.texi (S_IS_EXTERN): Remove.
1359
1360 2016-02-16 Nick Clifton <nickc@redhat.com>
1361
1362 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
1363 update.
1364
1365 2016-02-16 Renlin Li <renlin.li@arm.com>
1366
1367 PR gas/19620
1368 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
1369 * testsuite/gas/aarch64/movw_label.d: New.
1370 * testsuite/gas/aarch64/movw_label.s: New.
1371
1372 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
1373
1374 PR gas/19556
1375 * config/rx-parse.y (MOV): Opcode generation for index
1376 register addressing mode.
1377 * testsuite/gas/rx/rx.exp: Updated for new testcase.
1378 * testsuite/gas/rx/pr19665.s: New file.
1379 * testsuite/gas/rx/pr19665.s: New file.
1380 * testsuite/gas/rx/mov.d: Update expected output.
1381
1382 2016-02-15 Nick Clifton <nickc@redhat.com>
1383
1384 * doc/as.texinfo (.section): Document that numeric values can now
1385 be used for the flags and type fields of the ELF target's .section
1386 directive. Add notes about the restrictions on setting flags and
1387 types.
1388 * config/obj-elf.c (obj_elf_change_section): Allow known sections
1389 to be given processor specific section types. Allow processor and
1390 application specific flags of a section to be set after
1391 definition.
1392 (obj_elf_parse_section_letters): Handle parsing numeric values.
1393 (obj_elf_section_type): Handle parsing numeric values.
1394 (obj_elf_section): Allow numeric type values.
1395 * config/obj-elf.h (obj_elf_change_section): Update prototype.
1396 * testsuite/gas/elf/section10.d: New test.
1397 * testsuite/gas/elf/section10.s: Source file for new test.
1398 * testsuite/gas/elf/elf.exp: Run the new test.
1399 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
1400 the description of the flags produced by readelf.
1401 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1402 * NEWS: Mention the new feature.
1403
1404 2016-02-11 Nick Clifton <nickc@redhat.com>
1405
1406 PR gas/19614
1407 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
1408 until it is actually used.
1409 (cfi_set_sections): Set cfi_sections_set to true.
1410 (dot_cfi_startproc): Likewise.
1411 (dot_cfi_endproc): Likewise.
1412 (dot_cfi_fde_data): Likewise.
1413 (cfi_finish): Likewise.
1414 (dot_cfi_sections): Do not set cfi_sections_set.
1415 * doc/as.texinfo (.cfi_sections): Note that targets can provide
1416 their own cfi section name. Also note that the directive can be
1417 reissued provided that CFI generation has not started.
1418 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
1419 .cfi_endproc directives so that the redefinition of .cfi_sections
1420 will trigger the generation of the error message.
1421 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
1422 number of error message.
1423
1424 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
1425 Janek van Oirschot <jvanoirs@synopsys.com>
1426
1427 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
1428 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
1429 Define.
1430 (arc_flags, arc_relax_type): New structure.
1431 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
1432 (RELAX_TABLE_ENTRY_MAX): New define.
1433 (relaxation_state, md_relax_table, arc_relaxable_insns)
1434 (arc_num_relaxable_ins): New variable.
1435 (rlx_operand_type, arc_rlx_types): New enums.
1436 (arc_relaxable_ins): New structure.
1437 (OPTION_RELAX): New option.
1438 (arc_insn): New relax member.
1439 (arc_flags): Remove.
1440 (relax_insn_p): New function.
1441 (apply_fixups): Likewise.
1442 (relaxable_operand): Likewise.
1443 (may_relax_expr): Likewise.
1444 (relaxable_flag): Likewise.
1445 (arc_pcrel_adjust): Likewise.
1446 (md_estimate_size_before_relax): Implement.
1447 (md_convert_frag): Likewise.
1448 (md_parse_option): Handle new mrelax option.
1449 (md_show_usage): Likewise.
1450 (assemble_insn): Set relax member.
1451 (emit_insn0): New function.
1452 (emit_insn1): Likewise.
1453 (emit_insn): Handle relaxation case.
1454 * NEWS: Mention the new relaxation option.
1455 * doc/c-arc.texi (ARC Options): Document new mrelax option.
1456 * doc/as.texinfo (Target ARC Options): Likewise.
1457 * testsuite/gas/arc/relax-avoid1.d: New file.
1458 * testsuite/gas/arc/relax-avoid1.s: Likewise.
1459 * testsuite/gas/arc/relax-avoid2.d: Likewise.
1460 * testsuite/gas/arc/relax-avoid2.s: Likewise.
1461 * testsuite/gas/arc/relax-avoid3.d: Likewise.
1462 * testsuite/gas/arc/relax-avoid3.s: Likewise.
1463 * testsuite/gas/arc/relax-b.d: Likewise.
1464 * testsuite/gas/arc/relax-b.s: Likewise.
1465
1466 2016-02-08 Nick Clifton <nickc@redhat.com>
1467
1468 * config/tc-ia64.c (dot_prologue): Fix formatting.
1469
1470 2016-02-04 Nick Clifton <nickc@redhat.com>
1471
1472 * config/obj-elf.c (obj_elf_change_section): Remove support for
1473 ARM NOREAD sections.
1474 * config/tc-arm.c (arm_elf_section_letter): Delete.
1475 * config/tc-arm.h (md_elf_section_letter): Delete.
1476 * doc/c-arm.texi (ARM Section Attribute): Delete section.
1477 * testsuite/gas/arm/section-execute-only.d: Delete.
1478 * testsuite/gas/arm/section-execute-only.s: Delete.
1479
1480 2016-02-04 Nick Clifton <nickc@redhat.com>
1481
1482 PR target/19561
1483 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
1484 to handle encoding of RRUX instruction.
1485 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
1486 shift instructions.
1487 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
1488
1489 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
1490
1491 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
1492 substitutions for BFD_RELOC_* as unsigned.
1493 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
1494 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
1495 * testsuite/gas/xtensa/loc.s: New file: loc test.
1496
1497 2016-02-03 Kevin Buettner <kevinb@redhat.com>
1498
1499 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
1500
1501 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1502
1503 PR gas/19520
1504 * NEWS: Mention new command line option -mrelax-relocations and
1505 new configure option --enable-x86-relax-relocations for x86
1506 target.
1507 * config.in: Regenerated.
1508 * configure.ac: Add --enable-x86-relax-relocations.
1509 (ac_default_x86_relax_relocations): New. Default to 1 except
1510 for x86 Solaris targets older than Solaris 12.
1511 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
1512 * configure: Likewise.
1513 * config/tc-i386.c (generate_relax_relocations): New.
1514 (OPTION_MRELAX_RELOCATIONS): Likewise.
1515 (output_disp): Don't generate relax relocations if
1516 generate_relax_relocations is 0.
1517 (md_longopts): Add -mrelax-relocations.
1518 (md_show_usage): Likewise.
1519 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
1520 * doc/c-i386.texi: Document -mrelax-relocations=.
1521 * testsuite/gas/i386/got-no-relax.d: New file.
1522 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
1523 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
1524 * testsuite/gas/i386/localpic.d: Likewise.
1525 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
1526 * testsuite/gas/i386/reloc32.d: Likewise.
1527 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
1528 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
1529 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
1530 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
1531 * testsuite/gas/i386/i386.exp: Run got-no-relax and
1532 x86-64-gotpcrel-no-relax.
1533
1534 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1535
1536 * NEWS: Mention new command line option -mfence-as-lock-add=yes
1537 for x86 target.
1538
1539 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1540
1541 * NEWS: Remove duplicated marker for 2.26.
1542
1543 2016-02-02 Renlin Li <renlin.li@arm.com>
1544
1545 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
1546
1547 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1548
1549 * testsuite/gas/ip2k/allinsn.d: New file.
1550 * testsuite/gas/ip2k/allinsn.s: New file.
1551 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
1552
1553 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1554
1555 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
1556 some load instructions.
1557 * testsuite/gas/epiphany/allinsn.d: Likewise.
1558 * testsuite/gas/epiphany/regression.d: Likewise.
1559
1560 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1561
1562 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
1563 suffixes from instruction mnemonics in expected output.
1564 * testsuite/gas/epiphany/allinsn.d: Likewise.
1565 * testsuite/gas/epiphany/regression.d: Likewise.
1566 * testsuite/gas/epiphany/sample.d: Likewise.
1567
1568 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1569
1570 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
1571 names.
1572 * testsuite/gas/epiphany/allinsn.d: Likewise.
1573 * testsuite/gas/epiphany/sample.d: Likewise.
1574
1575 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1576
1577 * testsuite/gas/epiphany/sample.d: Update expected output.
1578
1579 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1580
1581 * config/tc-arc.c (md_apply_fix): Allow addendum.
1582 (arc_reloc_op): Allow complex expressions for tpoff.
1583 (md_apply_fix): Handle resolved TLS local symbol.
1584
1585 * testsuite/gas/arc/tls-relocs1.d: New file.
1586 * testsuite/gas/arc/tls-relocs1.s: Likewise.
1587
1588 2016-02-01 Loria <Loria@phantasia.org>
1589
1590 PR target/19311
1591 * config/tc-arm.c (encode_arm_immediate): Recode to improve
1592 efficiency and avoid an LLVM loop optimization bug.
1593
1594 2016-02-01 Nick Clifton <nickc@redhat.com>
1595
1596 * config/tc-microblaze.c (parse_imm): Fix compile time warning
1597 message extending a negative 32-bit value into a larger signed
1598 value on a 32-bit host.
1599
1600 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1601
1602 PR gas/19532
1603 * configure.ac (compressed_debug_sections): Replace == with =.
1604 * configure: Regenerated.
1605
1606 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
1607 H.J. Lu <hongjiu.lu@intel.com>
1608
1609 * config/tc-i386.c (avoid_fence): New.
1610 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
1611 is true.
1612 (OPTION_FENCE_AS_LOCK_ADD): New.
1613 (md_longopts): Add -mfence-as-lock-add.
1614 (md_parse_option): Handle -mfence-as-lock-add.
1615 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
1616 * doc/c-i386.texi (-mfence-as-lock-add): Document.
1617 * testsuite/gas/i386/i386.exp: Run new tests.
1618 * testsuite/gas/i386/fence-as-lock-add.s: New.
1619 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
1620 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
1621 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
1622 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
1623
1624 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
1625
1626 * configure.ac (compressed_debug_sections): Remove trailing `]'.
1627 * configure: Regenerated.
1628
1629 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
1630
1631 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
1632 (OPTION_MOMIT_LOCK_PREFIX): This.
1633 (md_longopts): Updated.
1634 (md_parse_option): Likewise.
1635
1636 2016-01-25 Catherine Moore <clm@codesourcery.com>
1637
1638 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
1639 if abicalls are in effect.
1640 * testsuite/gas/mips/sdata-gp.s: New test.
1641 * testsuite/gas/mips/sdata-gp.d: New expected output
1642 * testsuite/gas/mips/mips.exp: Run new test.
1643
1644 2016-01-25 Renlin Li <renlin.li@arm.com>
1645
1646 * testsuite/gas/arm/thumb2_it_search.d: New.
1647 * testsuite/gas/arm/thumb2_it_search.s: New.
1648
1649 2016-01-21 Nick Clifton <nickc@redhat.com>
1650
1651 PR gas/19454
1652 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
1653 with arm-netbsdelf target.
1654 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
1655
1656 2016-01-20 Nick Clifton <nickc@redhat.com>
1657
1658 PR 19456
1659 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
1660 * testsuite/gas/arm/blx-bl-convert.d
1661 * testsuite/gas/arm/plt-1.d: Likewise.
1662 * testsuite/gas/arm/reloc-bad.d: Likewise.
1663 * testsuite/gas/arm/thumb-w-good.d: Likewise.
1664 * testsuite/gas/arm/thumb2_pool.d: Likewise.
1665 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
1666 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
1667
1668 PR 19499
1669 * doc/as.texinfo (Errors): Correct documentation describing the
1670 interaction of .file and .line with warning and error messages.
1671
1672 PR 19458
1673 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
1674 * testsuite/gas/arm/archv8m-main.d: Likewise.
1675 * testsuite/gas/arm/archv8m-base.d: Likewise.
1676
1677 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
1678
1679 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
1680 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
1681 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
1682
1683 2016-01-20 Mickael Guene <mickael.guene@st.com>
1684 Terry Guo <terry.guo@arm.com>
1685
1686 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
1687 SHF_ARM_NOREAD section flag.
1688 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
1689 handle letter 'y'.
1690 (arm_elf_section_letter) : Declare it.
1691 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
1692 SHF_ARM_NOREAD section flag.
1693 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
1694
1695 * testsuite/gas/arm/section-execute-only.s: New test case.
1696 * testsuite/gas/arm/section-execute-only.d: Expected output.
1697
1698 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
1699
1700 * config/tc-mips.c (micromips_insn_length): Remove the mention
1701 of 48-bit microMIPS instructions.
1702
1703 2016-01-18 Alan Modra <amodra@gmail.com>
1704
1705 * configure: Regenerate.
1706
1707 2016-01-17 Alan Modra <amodra@gmail.com>
1708
1709 * configure: Regenerate.
1710
1711 2016-01-17 Alan Modra <amodra@gmail.com>
1712
1713 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
1714
1715 2016-01-14 Nick Clifton <nickc@redhat.com>
1716
1717 * testsuite/gas/rl78/sp-relative-movw.s: New test.
1718 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
1719 * testsuite/gas/rl78/rl78.exp: Run the new test.
1720
1721 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
1722
1723 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
1724 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
1725
1726 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
1727
1728 * config/tc-nios2.c (output_movia): Preset `code' to 0.
1729
1730 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
1731
1732 * config/tc-h8300.c (get_operand): Remove spurious condition in
1733 test for closing parenthesis.
1734
1735 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
1736
1737 * config/tc-arm.c (arm_ext_v8_2): New.
1738 (insns): Add "esb".
1739 * testsuite/gas/arm/armv8_2-a.d: New.
1740 * testsuite/gas/arm/armv8_2-a.s: New.
1741
1742 2016-01-12 Alan Modra <amodra@gmail.com>
1743
1744 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
1745
1746 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
1747
1748 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
1749 xvcmpnesp, xvcmpnesp.>: Delete tests.
1750 * testsuite/gas/ppc/power9.s: Likewise.
1751 * testsuite/gas/ppc/vsx3.d: Likewise.
1752 * testsuite/gas/ppc/vsx3.s: Likewise.
1753
1754 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
1755
1756 PR gas/13050
1757 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
1758 * testsuite/gas/m68k/p13050-1.s: New file.
1759 * testsuite/gas/m68k/p13050-2.d: New file.
1760 * testsuite/gas/m68k/p13050-2.s: New file.
1761
1762 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1763
1764 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
1765 * testsuite/gas/arc/add.d: Likewise.
1766 * testsuite/gas/arc/and.d: Likewise.
1767 * testsuite/gas/arc/asl.d: Likewise.
1768 * testsuite/gas/arc/asr.d: Likewise.
1769 * testsuite/gas/arc/bic.d: Likewise.
1770 * testsuite/gas/arc/extb.d: Likewise.
1771 * testsuite/gas/arc/extw.d: Likewise.
1772 * testsuite/gas/arc/j.d: Likewise.
1773 * testsuite/gas/arc/jl.d: Likewise.
1774 * testsuite/gas/arc/ld2.d: Likewise.
1775 * testsuite/gas/arc/lsr.d: Likewise.
1776 * testsuite/gas/arc/mov.d: Likewise.
1777 * testsuite/gas/arc/or.d: Likewise.
1778 * testsuite/gas/arc/pcl-relocs.d: Likewise.
1779 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
1780 * testsuite/gas/arc/pic-relocs.d: Likewise.
1781 * testsuite/gas/arc/plt-relocs.d: Likewise.
1782 * testsuite/gas/arc/rlc.d: Likewise.
1783 * testsuite/gas/arc/ror.d: Likewise.
1784 * testsuite/gas/arc/rrc.d: Likewise.
1785 * testsuite/gas/arc/sbc.d: Likewise.
1786 * testsuite/gas/arc/sda-relocs.d: Likewise.
1787 * testsuite/gas/arc/sda-relocs2.d: Likewise.
1788 * testsuite/gas/arc/sexb.d: Likewise.
1789 * testsuite/gas/arc/sexw.d: Likewise.
1790 * testsuite/gas/arc/st.d: Likewise.
1791 * testsuite/gas/arc/sub.d: Likewise.
1792 * testsuite/gas/arc/tls-relocs.d: Likewise.
1793 * testsuite/gas/arc/xor.d: Likewise.
1794
1795 2016-01-01 Alan Modra <amodra@gmail.com>
1796
1797 Update year range in copyright notice of all files.
1798
1799 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1800 \f
1801 Copyright (C) 2016 Free Software Foundation, Inc.
1802
1803 Copying and distribution of this file, with or without modification,
1804 are permitted in any medium without royalty provided the copyright
1805 notice and this notice are preserved.
1806
1807 Local Variables:
1808 mode: change-log
1809 left-margin: 8
1810 fill-column: 74
1811 version-control: never
1812 End:
This page took 0.069495 seconds and 3 git commands to generate.