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