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