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