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