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