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