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