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