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