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