rx: make the type of a variable bfd_reloc_code_real_type
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2
3 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
4 bfd_reloc_code_real_type.
5
6 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
7
8 PR gas/20140
9 * config/tc-i386.c (cpu_flags_match): Require another match
10 for AVX512VL.
11 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
12 x86-64-avx512vl-1 and x86-64-avx512vl-2.
13 * testsuite/gas/i386/avx512vl-1.l: New file.
14 * testsuite/gas/i386/avx512vl-1.s: Likewise.
15 * testsuite/gas/i386/avx512vl-2.l: Likewise.
16 * testsuite/gas/i386/avx512vl-2.s: Likewise.
17 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
18 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
19 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
20 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
21
22 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
23
24 PR gas/20141
25 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
26 * testsuite/gas/i386/x86-64-pr20141.d: New file.
27 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
28
29 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
30
31 * config/tc-i386.c (arch_entry): Remove negated.
32 (noarch_entry): New struct.
33 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
34 (cpu_noarch): New.
35 (set_cpu_arch): Check cpu_noarch after cpu_arch.
36 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
37 cpu_arch.
38 (output_message): New function.
39 (show_arch): Use it. Handle cpu_noarch.
40 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
41 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
42 * testsuite/gas/i386/noavx-1.l: New file.
43 * testsuite/gas/i386/noavx-1.s: Likewise.
44 * testsuite/gas/i386/noavx-2.s: Likewise.
45 * testsuite/gas/i386/noavx-2.l: Likewise.
46 * testsuite/gas/i386/nommx-1.s: Likewise.
47 * testsuite/gas/i386/nommx-1.l: Likewise.
48 * testsuite/gas/i386/nommx-2.s: Likewise.
49 * testsuite/gas/i386/nommx-2.l: Likewise.
50 * testsuite/gas/i386/nommx-3.s: Likewise.
51 * testsuite/gas/i386/nommx-3.l: Likewise.
52 * testsuite/gas/i386/nosse-1.s: Likewise.
53 * testsuite/gas/i386/nosse-1.l: Likewise.
54 * testsuite/gas/i386/nosse-2.s: Likewise.
55 * testsuite/gas/i386/nosse-2.l: Likewise.
56 * testsuite/gas/i386/nosse-3.s: Likewise.
57 * testsuite/gas/i386/nosse-3.l: Likewise.
58
59 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
60
61 PR target/20067
62 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
63 instruction if supported by the currently selected fpu variant.
64 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
65 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
66
67 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
68
69 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
70 jump relocations against MIPS16 or microMIPS symbols on RELA
71 targets.
72 * testsuite/gas/mips/jalx-local.d: New test.
73 * testsuite/gas/mips/jalx-local-n32.d: New test.
74 * testsuite/gas/mips/jalx-local-n64.d: New test.
75 * testsuite/gas/mips/jalx-local.s: New test source.
76 * testsuite/gas/mips/mips.exp: Run the new tests.
77
78 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
79
80 * config/tc-mips.c (md_apply_fix)
81 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
82 code accordingly.
83
84 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
85
86 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
87 operator to operatorT.
88 (map_suffix_reloc_to_operator): Change return type to operatorT.
89
90 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
91
92 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
93
94 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
95
96 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
97 handler_charp to const char *.
98
99 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
100
101 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
102 (ft32_target_format): Likewise.
103 (TARGET_FORMAT): Adjust.
104
105 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
106
107 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
108 (ia64_frob_label): Likewise.
109
110 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
111
112 * config/tc-cr16.c (check_range): Make type of retval op_err.
113 * config/tc-crx.c: Likewise.
114
115 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
116
117 * config/tc-arc.c (md_begin): Add XY registers.
118 (cpu_types): Code density is default off for ARC EM.
119
120 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
121
122 * config/tc-arc.c (attributes_t): Renamed attribute class to
123 attr_class.
124 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
125
126 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
127
128 * configuse.tgt: Add entry for arm-phoenix.
129
130 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
131
132 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
133
134 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
135
136 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
137
138 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
139
140 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
141 (md_begin): Likewise.
142 (encode_condition): Likewise.
143 (encode_cc3): Likewise.
144 (encode_cc2): Likewise.
145 (encode_operand): Likewise.
146 (tic54x_undefined_symbol): Likewise.
147
148 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
149
150 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
151 p6600 entry.
152 * doc/c-mips.texi: Document p6600 -march option.
153
154 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
155
156 PR gas/19600
157 * config/tc-i386.c (md_apply_fix): Preserve addend for
158 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
159 * testsuite/gas/i386/addend.d: New file.
160 * testsuite/gas/i386/addend.s: Likewise.
161 * testsuite/gas/i386/x86-64-addend.d: Likewise.
162 * testsuite/gas/i386/x86-64-addend.s: Likewise.
163 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
164 * testsuite/gas/i386/reloc32.d: Updated.
165
166 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
167
168 * config/tc-mips.c (append_insn): Correct the encoding of a
169 constant argument for microMIPS JALX.
170 (tc_gen_reloc): Correct the encoding of an in-place addend for
171 microMIPS JALX.
172 * testsuite/gas/mips/jalx-addend.d: New test.
173 * testsuite/gas/mips/jalx-addend-n32.d: New test.
174 * testsuite/gas/mips/jalx-addend-n64.d: New test.
175 * testsuite/gas/mips/jalx-imm.d: New test.
176 * testsuite/gas/mips/jalx-imm-n32.d: New test.
177 * testsuite/gas/mips/jalx-imm-n64.d: New test.
178 * testsuite/gas/mips/jalx-addend.s: New test source.
179 * testsuite/gas/mips/jalx-imm.s: New test source.
180 * testsuite/gas/mips/mips.exp: Run the new tests.
181
182 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
183
184 * config/tc-mips.c: Correct tab-after-space formatting mistakes
185 throughout.
186
187 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
188
189 * config/tc-arc.c (find_opcode_match): Remove casting away of
190 const.
191 * config/tc-arc.h (struct arc_flags): Make flgp field const.
192
193 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
194
195 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
196 appropriate.
197 (md_convert_frag): Likewise.
198
199 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
200
201 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
202 cached opcode to NULL when we reach a non-matching opcode.
203 * testsuite/gas/arc/asm-errors-2.d: New file.
204 * testsuite/gas/arc/asm-errors-2.err: New file.
205 * testsuite/gas/arc/asm-errors-2.s: New file.
206
207 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
208
209 * config/tc-arc.c (tokenize_arguments): Add checks for array
210 overflow.
211 * testsuite/gas/arc/asm-errors.s: Addition test line added.
212 * testsuite/gas/arc/asm-errors.err: Update expected results.
213
214 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
215
216 * config/tc-rx.c (struct cpu_type): Change the type of a field from
217 int to enum rx_cpu_types.
218
219 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
220
221 * config/tc-dlx.c (struct machine_it): change the type of a field from
222 int to bfd_reloc_code_real_type.
223 * config/tc-tic4x.c: Likewise.
224
225 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
226
227 * config/tc-v850.c (v850_target_arch): change type to enum
228 bfd_architecture.
229 * config/tc-v850.h (v850_target_arch): Likewise.
230
231 2016-05-18 Alan Modra <amodra@gmail.com>
232
233 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
234 allowed negative range.
235 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
236 * testsuite/gas/ppc/power9.d: Update.
237
238 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
239
240 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
241 disassembling and stop skipping targets.
242 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
243 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
244 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
245 instruction for targets that have stronger alignment requirement.
246 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
247 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
248 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
249 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
250 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
251 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
252 * testsuite/gas/arm/archv8m-main.d: Likewise.
253 * testsuite/gas/arm/archv8m.s: Add label.
254 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
255 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
256 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
257
258 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
259
260 * config/tc-m32r.c (mach_table): Make static and const.
261
262 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
263
264 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
265 definition.
266
267 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
268
269 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
270 defining it.
271 * config/tc-msp430.c (md_begin): Likewise.
272
273 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
274
275 * config/tc-m68hc11.c (fixup8): Change variables type from int to
276 bfd_reloc_code_real_type where appropriate.
277 (fixup16): Likewise.
278 (fixup8_xg): Likewise.
279
280 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
281
282 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
283
284 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
285
286 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
287 * testsuite/gas/ppc/power9.s: Likewise.
288
289 2016-05-13 Alan Modra <amodra@gmail.com>
290
291 * config/obj-coff.c (weak_uniquify): Delete unused var.
292
293 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
294
295 * app.c (app_push): Use XNEW and related macros.
296 * as.c (parse_args): Likewise.
297 * cgen.c (make_right_shifted_expr): Likewise.
298 (gas_cgen_tc_gen_reloc): Likewise.
299 * config/bfin-defs.h: Likewise.
300 * config/bfin-parse.y: Likewise.
301 * config/obj-coff.c (stack_init): Likewise.
302 (stack_push): Likewise.
303 (coff_obj_symbol_new_hook): Likewise.
304 (coff_obj_symbol_clone_hook): Likewise.
305 (add_lineno): Likewise.
306 (coff_frob_symbol): Likewise.
307 * config/obj-elf.c (obj_elf_section_name): Likewise.
308 (build_group_lists): Likewise.
309 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
310 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
311 * config/tc-aarch64.c (insert_reg_alias): Likewise.
312 (find_or_make_literal_pool): Likewise.
313 (add_to_lit_pool): Likewise.
314 (fill_instruction_hash_table): Likewise.
315 * config/tc-alpha.c (load_expression): Likewise.
316 (emit_jsrjmp): Likewise.
317 (s_alpha_ent): Likewise.
318 (s_alpha_end): Likewise.
319 (s_alpha_linkage): Likewise.
320 (md_begin): Likewise.
321 (tc_gen_reloc): Likewise.
322 * config/tc-arc.c (arc_insert_opcode): Likewise.
323 (arc_extcorereg): Likewise.
324 * config/tc-bfin.c: Likewise.
325 * config/tc-cr16.c: Likewise.
326 * config/tc-cris.c: Likewise.
327 * config/tc-crx.c (preprocess_reglist): Likewise.
328 * config/tc-d10v.c: Likewise.
329 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
330 (frv_tomcat_shuffle): Likewise.
331 * config/tc-h8300.c: Likewise.
332 * config/tc-i370.c (i370_macro): Likewise.
333 * config/tc-i386.c (lex_got): Likewise.
334 (md_parse_option): Likewise.
335 * config/tc-ia64.c (alloc_record): Likewise.
336 (set_imask): Likewise.
337 (save_prologue_count): Likewise.
338 (dot_proc): Likewise.
339 (dot_endp): Likewise.
340 (ia64_frob_label): Likewise.
341 (add_qp_imply): Likewise.
342 (add_qp_mutex): Likewise.
343 (mark_resource): Likewise.
344 (dot_alias): Likewise.
345 * config/tc-m68hc11.c: Likewise.
346 * config/tc-m68k.c (m68k_frob_label): Likewise.
347 (s_save): Likewise.
348 (mri_control_label): Likewise.
349 (push_mri_control): Likewise.
350 (build_mri_control_operand): Likewise.
351 (s_mri_else): Likewise.
352 (s_mri_break): Likewise.
353 (s_mri_next): Likewise.
354 (s_mri_for): Likewise.
355 (s_mri_endw): Likewise.
356 * config/tc-metag.c (create_mnemonic_htab): Likewise.
357 * config/tc-microblaze.c: Likewise.
358 * config/tc-mmix.c (s_loc): Likewise.
359 * config/tc-nds32.c (nds32_relax_hint): Likewise.
360 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
361 * config/tc-rl78.c: Likewise.
362 * config/tc-rx.c (rx_include): Likewise.
363 * config/tc-sh.c: Likewise.
364 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
365 * config/tc-sparc.c: Likewise.
366 * config/tc-spu.c: Likewise.
367 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
368 (tic6x_start_unwind_section): Likewise.
369 * config/tc-tilegx.c: Likewise.
370 * config/tc-tilepro.c: Likewise.
371 * config/tc-v850.c: Likewise.
372 * config/tc-visium.c: Likewise.
373 * config/tc-xgate.c: Likewise.
374 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
375 (new_resource_table): Likewise.
376 (resize_resource_table): Likewise.
377 (xtensa_create_trampoline_frag): Likewise.
378 (xtensa_maybe_create_literal_pool_frag): Likewise.
379 (cache_literal_section): Likewise.
380 * config/xtensa-relax.c (append_transition): Likewise.
381 (append_condition): Likewise.
382 (append_value_condition): Likewise.
383 (append_constant_value_condition): Likewise.
384 (append_literal_op): Likewise.
385 (append_label_op): Likewise.
386 (append_constant_op): Likewise.
387 (append_field_op): Likewise.
388 (append_user_fn_field_op): Likewise.
389 (enter_opname_n): Likewise.
390 (enter_opname): Likewise.
391 (split_string): Likewise.
392 (parse_insn_templ): Likewise.
393 (clone_req_or_option_list): Likewise.
394 (clone_req_option_list): Likewise.
395 (parse_option_cond): Likewise.
396 (parse_insn_pattern): Likewise.
397 (parse_insn_repl): Likewise.
398 (build_transition): Likewise.
399 (build_transition_table): Likewise.
400 * dw2gencfi.c (alloc_fde_entry): Likewise.
401 (alloc_cfi_insn_data): Likewise.
402 (cfi_add_CFA_remember_state): Likewise.
403 (dot_cfi_escape): Likewise.
404 (dot_cfi_fde_data): Likewise.
405 (select_cie_for_fde): Likewise.
406 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
407 * ecoff.c (ecoff_add_bytes): Likewise.
408 (ecoff_build_debug): Likewise.
409 * input-scrub.c (input_scrub_push): Likewise.
410 (input_scrub_begin): Likewise.
411 (input_scrub_next_buffer): Likewise.
412 * itbl-ops.c (append_insns_as_macros): Likewise.
413 (alloc_entry): Likewise.
414 (alloc_field): Likewise.
415 * listing.c (listing_newline): Likewise.
416 (listing_listing): Likewise.
417 * macro.c (get_any_string): Likewise.
418 (delete_macro): Likewise.
419 * stabs.c (generate_asm_file): Likewise.
420 (stabs_generate_asm_lineno): Likewise.
421 * subsegs.c (subseg_change): Likewise.
422 (subseg_get): Likewise.
423 * symbols.c (define_dollar_label): Likewise.
424 (symbol_relc_make_sym): Likewise.
425 * write.c (write_relocs): Likewise.
426
427 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
428
429 * config/obj-coff.c (obj_coff_def): Simplify string copying.
430 (weak_name2altname): Likewise.
431 (weak_uniquify): Likewise.
432 (obj_coff_section): Likewise.
433 (obj_coff_init_stab_section): Likewise.
434 * config/obj-elf.c (obj_elf_section_name): Likewise.
435 (obj_elf_init_stab_section): Likewise.
436 * config/obj-evax.c (evax_shorten_name): Likewise.
437 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
438 * config/tc-aarch64.c (create_register_alias): Likewise.
439 * config/tc-alpha.c (load_expression): Likewise.
440 (s_alpha_file): Likewise.
441 (s_alpha_section_name): Likewise.
442 (tc_gen_reloc): Likewise.
443 * config/tc-arc.c (md_assemble): Likewise.
444 * config/tc-arm.c (create_neon_reg_alias): Likewise.
445 (start_unwind_section): Likewise.
446 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
447 (hppa_elf_mark_end_of_function): Likewise.
448 * config/tc-nios2.c (nios2_modify_arg): Likewise.
449 (nios2_negate_arg): Likewise.
450 * config/tc-rx.c (rx_section): Likewise.
451 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
452 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
453 * config/tc-tic54x.c (tic54x_include): Likewise.
454 (tic54x_macro_info): Likewise.
455 (subsym_get_arg): Likewise.
456 (subsym_substitute): Likewise.
457 (tic54x_start_line_hook): Likewise.
458 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
459 (xg_reverse_shift_count): Likewise.
460 * config/xtensa-relax.c (enter_opname_n): Likewise.
461 (split_string): Likewise.
462 * dwarf2dbg.c (get_filenum): Likewise.
463 (process_entries): Likewise.
464 * expr.c (operand): Likewise.
465 * itbl-ops.c (alloc_entry): Likewise.
466 * listing.c (listing_message): Likewise.
467 (listing_title): Likewise.
468 * macro.c (check_macro): Likewise.
469 * stabs.c (s_xstab): Likewise.
470 * symbols.c (symbol_relc_make_expr): Likewise.
471 * write.c (compress_debug): Likewise.
472
473 2016-05-12 Nick Clifton <nickc@redhat.com>
474
475 PR target/20068
476 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
477
478 2016-05-11 Nick Clifton <nickc@redhat.com>
479
480 PR target/20068
481 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
482 big endian ARM configurations.
483
484 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
485 Matthew Fortune <matthew.fortune@imgtec.com>
486
487 * config/tc-mips.c (options): Add OPTION_DSPR3 and
488 OPTION_NO_DSPR3.
489 (md_longopts): Likewise.
490 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
491 (mips_ases): Define availability for DSPr3.
492 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
493 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
494 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
495 formatting.
496 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
497 .set nodspr3. Fix -mdspr2 formatting.
498 * testsuite/gas/mips/mips32-dspr3.d: New file.
499 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
500 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
501
502 2016-05-11 Nick Clifton <nickc@redhat.com>
503
504 PR target/20068
505 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
506 to the pool uses O_constant.
507 * testsuite/gas/arm/pr20068.s: New test.
508 * testsuite/gas/arm/pr20068.d: Test driver.
509
510 2016-05-11 Nick Clifton <nickc@redhat.com>
511
512 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
513 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
514 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
515 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
516 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
517 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
518 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
519 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
520 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
521
522 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
523
524 * testsuite/gas/i386/i386.exp: Run RDPID tests.
525 * testsuite/gas/i386/prefix.d: Adjust.
526 * testsuite/gas/i386/rdpid.s: New test.
527 * testsuite/gas/i386/rdpid.d: Ditto.
528 * testsuite/gas/i386/rdpid-intel.d: Ditto.
529 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
530 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
531 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
532
533 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
534
535 * config/tc-i386.c (cpu_arch): Add RDPID.
536 * doc/c-i386.texi: Document RDPID.
537
538 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
539
540 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
541 set branch type of a symbol.
542
543 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
544
545 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
546 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
547 instructions.
548 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
549 (aeabi_set_public_attributes): Memorize the feature bits of the
550 architecture selected for Tag_CPU_arch. Use it to set
551 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
552 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
553 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
554 * testsuite/gas/arm/arch7em-bad-1.d: This.
555 * testsuite/gas/arm/arch7em-bad-2.d: New file.
556 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
557 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
558 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
559 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
560 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
561 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
562 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
563
564 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
565
566 * config/tc-arm.c (struct arm_option_extension_value_table): Make
567 allowed_archs an array with 2 entries.
568 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
569 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
570 (arm_extensions): Use separate entries in allowed_archs when several
571 archs are allowed to use an extension and change ARCH_ANY in
572 ARM_ARCH_NONE in allowed_archs.
573 (arm_parse_extension): Check that, for each allowed_archs entry, all
574 bits are set in the current architecture, ignoring ARM_ANY entries.
575 (s_arm_arch_extension): Likewise.
576
577 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
578
579 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
580 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
581 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
582 shared with a non M profile architecture.
583 (do_rn): New function.
584 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
585 than arm_ext_v8m.
586 (v7m_psrs): Add ARMv8-M security extensions new special registers.
587 (insns): Add ARMv8-M Security Extensions instructions.
588 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
589 arm_ext_v8m_m to decide the profile and the Thumb ISA.
590 * testsuite/gas/arm/archv8m-cmse.s: New file.
591 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
592 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
593 * testsuite/gas/arm/any-cmse.d: Likewise.
594 * testsuite/gas/arm/any-cmse-main.d: Likewise.
595 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
596 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
597 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
598 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
599 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
600
601 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
602
603 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
604 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
605
606 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
607
608 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
609 (fpu_arch_vfp_v3): Likewise.
610 (fpu_arch_neon_v1): Likewise.
611 (arm_arch_full): Likewise.
612 (parse_neon_el_struct_list): Initialize fields of firsttype.
613
614 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
615
616 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
617 (arc_extinsn): Handle new introduced syntax.
618 * testsuite/gas/arc/textinsn1op.d: New file.
619 * testsuite/gas/arc/textinsn1op.s: Likewise.
620 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
621
622 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
623
624 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
625 DW_LNS_fixed_advance_pc.
626
627 2016-04-27 Alan Modra <amodra@gmail.com>
628
629 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
630 (xmemdup0): New inline function.
631
632 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
633
634 * config/tc-mips.c (code_option_type): New enum.
635 (parse_code_option): Return status indicating option type.
636 (s_mipsset): Update `parse_code_option' call site accordingly.
637 Always set register sizes from the ISA with ISA overrides.
638 (s_module): Update `parse_code_option' call site.
639 * testsuite/gas/mips/isa-override-1.d: New test.
640 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
641 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
642 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
643 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
644 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
645 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
646 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
647 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
648 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
649 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
650 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
651 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
652 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
653 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
654 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
655 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
656 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
657 * testsuite/gas/mips/isa-override-2.l: New list test.
658 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
659 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
660 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
661 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
662 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
663 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
664 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
665 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
666 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
667 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
668 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
669 output.
670 * testsuite/gas/mips/isa-override-1.s: New test source.
671 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
672 * testsuite/gas/mips/isa-override-2.s: New test source.
673 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
674 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
675 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
676 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
677 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
678 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
679 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
680 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
681 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
682 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
683 * testsuite/gas/mips/mips.exp: Run the new tests.
684
685 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
686
687 * cgen.c: Likewise.
688 * config/tc-bfin.c: Likewise.
689 * config/tc-ia64.c: Likewise.
690 * config/tc-mep.c: Likewise.
691 * config/tc-metag.c: Likewise.
692 * config/tc-nios2.c: Likewise.
693 * config/tc-rl78.c: Likewise.
694
695 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
696
697 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
698 -mcpu. Add cross reference to .cpu directive from -mcpu option.
699 (ARC Directives): Add NPS400 to .cpu directive list.
700
701 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
702
703 * config/tc-aarch64.c (aarch64_features): Add "ras".
704 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
705 * testsuite/gas/aarch64/armv8-ras-1.d: New.
706 * testsuite/gas/aarch64/armv8-ras-1.s: New.
707 * testsuite/gas/aarch64/illegal-ras-1.d: New.
708 * testsuite/gas/aarch64/illegal-ras-1.s: New.
709
710 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
711
712 * testsuite/gas/arc/nps400-6.d: New file.
713 * testsuite/gas/arc/nps400-6.s: New file.
714
715 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
716
717 * testsuite/gas/arc/nps400-4.d: New file.
718 * testsuite/gas/arc/nps400-4.s: New file.
719 * testsuite/gas/arc/nps400-5.d: New file.
720 * testsuite/gas/arc/nps400-5.s: New file.
721
722 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
723
724 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
725 documentation.
726
727 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
728
729 Revert prevous change.
730 * config/tc-arc.c (arc_option): Make .cpu directive
731 case-sensitive again.
732
733 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
734
735 * config/tc-arc.c (arc_option): Make .cpu directive
736 case-insensitive.
737
738 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
739
740 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
741
742 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
743
744 * config/tc-mips.c (md_begin): Remove useless assignment.
745
746 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
747
748 * Makefile.in: Regenerated with automake 1.11.6.
749 * aclocal.m4: Likewise.
750 * doc/Makefile.in: Likewise.
751
752 2016-04-15 Alan Modra <amodra@gmail.com>
753
754 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
755
756 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
757
758 * config/tc-nios2.c (nios2_as_options): Make file static.
759 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
760 * config/tc-sparc.c (native_op_table): Likewise.
761
762 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
763
764 * config/tc-m32c.c (M32C_Macros): Remove.
765 * config/tc-msp430.c (option_numbers): Likewise.
766
767 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
768
769 * testsuite/gas/arc/nps400-3.d: New file.
770 * testsuite/gas/arc/nps400-3.s: New file.
771
772 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
773
774 * testsuite/gas/arc/add_s-err.s: Update target pattern.
775 * testsuite/gas/arc/warn.s: Likewise.
776 * testsuite/gas/elf/elf.exp: Run test for arc.
777
778 2016-04-14 Nick Clifton <nickc@redhat.com>
779
780 PR target/19938
781 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
782 sections possibly having the SHF_STRINGS flag bit set.
783 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
784
785 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
786
787 * config/tc-arc.c (mach_type_specified_p): Change type to
788 bfd_boolean.
789 (arc_option): Set private flags when parsing cpu pseudo-op.
790 (md_parse_option): Set mach_type_specified_p to TRUE.
791
792 2016-04-13 Nick Clifton <nickc@redhat.com>
793
794 PR target/19937
795 * testsuite/gas/v850/pr19937.s: New test.
796 * testsuite/gas/v850/pr19937.d: New test control file.
797 * testsuite/gas/v850/basic.exp: Run the new test.
798
799 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
800 Andrew Bennett <andrew.bennett@imgtec.com>
801
802 * config/tc-mips.c (relaxed_branch_length): Use the long
803 sequence where the target is a weak symbol.
804 (relaxed_micromips_32bit_branch_length): Likewise.
805 (relaxed_micromips_16bit_branch_length): Likewise.
806 * testsuite/gas/mips/branch-weak-1.d: New test.
807 * testsuite/gas/mips/branch-weak-2.d: New test.
808 * testsuite/gas/mips/branch-weak-3.d: New test.
809 * testsuite/gas/mips/branch-weak-4.d: New test.
810 * testsuite/gas/mips/branch-weak-5.d: New test.
811 * testsuite/gas/mips/branch-weak.l: New stderr output.
812 * testsuite/gas/mips/branch-weak.s: New test source.
813 * testsuite/gas/mips/mips.exp: Run the new tests.
814
815 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
816
817 * config/tc-mips.c (relaxed_branch_length): Use the long
818 sequence where the distance cannot be determined.
819 (relaxed_micromips_32bit_branch_length): Likewise.
820 * testsuite/gas/mips/branch-extern-1.d: New test.
821 * testsuite/gas/mips/branch-extern-2.d: New test.
822 * testsuite/gas/mips/branch-extern-3.d: New test.
823 * testsuite/gas/mips/branch-extern-4.d: New test.
824 * testsuite/gas/mips/branch-extern.l: New stderr output.
825 * testsuite/gas/mips/branch-extern.s: New test source.
826 * testsuite/gas/mips/branch-section-1.d: New test.
827 * testsuite/gas/mips/branch-section-2.d: New test.
828 * testsuite/gas/mips/branch-section-3.d: New test.
829 * testsuite/gas/mips/branch-section-4.d: New test.
830 * testsuite/gas/mips/branch-section.l: New stderr output.
831 * testsuite/gas/mips/branch-section.s: New test source.
832 * testsuite/gas/mips/mips.exp: Run the new tests.
833
834 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
835
836 * testsuite/gas/arc/textauxregister.d: New file.
837 * testsuite/gas/arc/textauxregister.s: Likewise.
838 * testsuite/gas/arc/textcondcode.d: Likewise.
839 * testsuite/gas/arc/textcondcode.s: Likewise.
840 * testsuite/gas/arc/textcoreregister.d: Likewise.
841 * testsuite/gas/arc/textcoreregister.s: Likewise.
842 * testsuite/gas/arc/textpseudoop.d: Likewise.
843 * testsuite/gas/arc/textpseudoop.s: Likewise.
844 * testsuite/gas/arc/ld2.d: Update test.
845 * testsuite/gas/arc/st.d: Likewise.
846 * testsuite/gas/arc/taux.d: Likewise.
847 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
848 .extCoreRegister and .extAuxRegister documentation.
849 * config/tc-arc.c (arc_extcorereg): New function.
850 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
851 .extAuxRegister pseudo-ops.
852 (extRegister_t): New type.
853 (ext_condcode, arc_aux_hash): New global variable.
854 (find_opcode_match): Check for extensions.
855 (preprocess_operands): Likewise.
856 (md_begin): Add aux registers in a hash.
857 (assemble_insn): Update use arc_flags member.
858 (tokenize_extregister): New function.
859 (create_extcore_section): Likewise.
860 * config/tc-arc.h (arc_flags): Delete code, add flgp.
861
862 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
863
864 * testsuite/gas/arc/noargs_a7.d: New file.
865 * testsuite/gas/arc/noargs_a7.s: Likewise.
866 * testsuite/gas/arc/noargs_hs.d: Likewise.
867 * testsuite/gas/arc/noargs_hs.s: Likewise.
868
869 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
870
871 * testsuite/gas/arc/textinsn-errors.d: New File.
872 * testsuite/gas/arc/textinsn-errors.err: Likewise.
873 * testsuite/gas/arc/textinsn-errors.s: Likewise.
874 * testsuite/gas/arc/textinsn2op.d: Likewise.
875 * testsuite/gas/arc/textinsn2op.s: Likewise.
876 * testsuite/gas/arc/textinsn2op01.d: Likewise.
877 * testsuite/gas/arc/textinsn2op01.s: Likewise.
878 * testsuite/gas/arc/textinsn3op.d: Likewise.
879 * testsuite/gas/arc/textinsn3op.s: Likewise.
880 * doc/c-arc.texi (ARC Directives): Add .extInstruction
881 documentation.
882 * config/tc-arc.c (arcext_section): New variable.
883 (arc_extinsn): New function.
884 (md_pseudo_table): Add .extInstruction pseudo op.
885 (attributes_t): New type.
886 (suffixclass, syntaxclass, syntaxclassmod): New constant
887 structures.
888 (find_opcode_match): Remove arc_num_opcodes.
889 (md_begin): Likewise.
890 (tokenize_extinsn): New function.
891 (arc_set_ext_seg): Likewise.
892 (create_extinst_section): Likewise.
893
894 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
895
896 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
897 (arc_adjust_symtab): New function.
898 * config/tc-arc.h (ARC_FLAG_AUX): Define.
899 (obj_adjust_symtab): Likewise.
900 * testsuite/gas/arc/taux.d: New file.
901 * testsuite/gas/arc/taux.s: Likewise.
902
903 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
904
905 * config/tc-mips.c (s_option): Sanitize `.option picX'
906 pseudo-op.
907 * testsuite/gas/mips/option-pic-1.d: New test.
908 * testsuite/gas/mips/option-pic-2.l: New list test.
909 * testsuite/gas/mips/option-pic-1.s: New test source.
910 * testsuite/gas/mips/option-pic-2.s: New test source.
911 * testsuite/gas/mips/mips.exp: Run the new tests.
912
913 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
914
915 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
916 PIC.
917 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
918 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
919 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
920 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
921 * testsuite/gas/mips/mips.exp: Run the new tests.
922
923 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
924
925 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
926
927 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
928
929 * messages.c (as_bad): Fix a typo in description.
930
931 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
932
933 * config/tc-mips.c (mips_check_options): Unify messages.
934
935 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
936
937 * config/tc-mips.c (mips_check_options): Use `opts->isa'
938 consistently.
939
940 2016-04-08 Nick Clifton <nickc@redhat.com>
941
942 PR target/19910
943 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
944 COFF and AOUT sparc targets.
945
946 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
947
948 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
949 * testsuite/gas/arc/nps400-2.d: New file.
950 * testsuite/gas/arc/nps400-2.s: New file.
951
952 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
953
954 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
955 structure.
956 (arc_opcode_hash_entry_iterator_init): New function.
957 (arc_opcode_hash_entry_iterator_next): New function.
958 (find_opcode_match): Iterate over all arc_opcode entries
959 referenced by the arc_opcode_hash_entry passed in as a parameter.
960
961 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
962
963 * config/tc-arc.c (arc_find_opcode): Now returns
964 arc_opcode_hash_entry pointer.
965 (find_opcode_match): Update argument type, extract arc_opcode from
966 incoming arc_opcode_hash_entry.
967 (find_special_case_pseudo): Update return type.
968 (find_special_case_flag): Update return type.
969 (find_special_case): Update return type.
970 (assemble_tokens): Lookup arc_opcode_hash_entry based on
971 instruction mnemonic, then use find_opcode_match to identify
972 specific arc_opcode.
973
974 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
975
976 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
977 (arc_find_opcode): New function.
978 (find_special_case_pseudo): Use arc_find_opcode.
979 (find_special_case_flag): Likewise.
980 (assemble_tokens): Likewise.
981 (md_begin): Build hash using struct arc_opcode_hash_entry.
982
983 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
984
985 * config/tc-arc.c (arc_option): Prepare string for automatic
986 translation.
987 (declare_register): Likewise.
988
989 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
990
991 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
992 Correct entry for RDMA. Alpha sort entries.
993
994 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
995
996 * config/tc-arc.c (tokenize_flags): Allow greater range of
997 characters into flag names.
998
999 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1000
1001 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1002 new de_fault label.
1003 (preprocess_operands): Delete.
1004 (assemble_tokens): Remove call to preprocess_operands.
1005
1006 2016-04-07 Nick Clifton <nickc@redhat.com>
1007
1008 PR gas/19910
1009 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1010 inside a %-macro could not be fully parsed.
1011 * expr.c (integer_constant): Accept and ignore U suffixes to
1012 integers.
1013 (operand): When a missing closing parenthesis is encountered,
1014 report the character that was found instead.
1015 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1016 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1017 * testsuite/gas/sparc/pr19910-1.s: New test.
1018 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1019 * testsuite/gas/sparc/pr19910-2.s: New test.
1020 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1021
1022 2016-04-06 Nick Clifton <nickc@redhat.com>
1023
1024 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1025 an EINT instruction. Warn/fix as necessary.
1026 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1027 * testsuite/gas/msp430/bad.l: Update expected messages.
1028
1029 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1030
1031 * testsuite/gas/arc/nps400-1.d: Update expected results.
1032 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1033
1034 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1035
1036 * config/tc-arc.c (is_code_density_p): Compare directly the
1037 subclass field.
1038 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1039 (check_cpu_feature): New function.
1040 (find_opcode_match): Use check_cpu_feature function.
1041 (preprocess_operands): Likewise.
1042 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1043 * testsuite/gas/arc/tdpfp.d: New file.
1044 * testsuite/gas/arc/tfpuda.d: Likewise.
1045 * testsuite/gas/arc/tfpx.s: Likewise.
1046
1047 2016-04-05 Jiong Wang <jiong.wang@arm.com>
1048
1049 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1050 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1051 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1052 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1053 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1054 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1055 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
1056 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1057 for Thumb.
1058 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1059
1060 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1061
1062 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
1063 JUMP instructions type.
1064 * testsuite/gas/arc/relocs-errors.d: New file.
1065 * testsuite/gas/arc/relocs-errors.err: Likewise.
1066 * testsuite/gas/arc/relocs-errors.s: Likewise.
1067
1068 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1069
1070 PR gas/19909
1071 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1072 only if i.disp_encoding != disp_encoding_32bit.
1073 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1074 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1075 * gas/testsuite/gas/i386/disp32.d: Updated.
1076 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1077
1078 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1079
1080 PR gas/19498
1081 * testsuite/gas/i386/i386.exp: Run pr19498.
1082 * testsuite/gas/i386/pr19498.d: New file.
1083 * testsuite/gas/i386/pr19498.s: Likewise.
1084
1085 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1086
1087 * config/tc-arc.h: Include 'opcode/arc.h'.
1088 (MAX_INSN_ARGS): Delete.
1089 (MAX_INSN_FLGS): Delete.
1090
1091 2016-04-04 Alan Modra <amodra@gmail.com>
1092
1093 PR 19498
1094 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1095 from function on all paths that set sy_resolving.
1096
1097 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1098
1099 * app.c (app_push): use XNEW macro.
1100 * as.c: Likewise.
1101 * config/obj-elf.c (obj_elf_change_section): Likewise.
1102 (elf_copy_symbol_attributes): Likewise.
1103 (obj_elf_size): Likewise.
1104 (build_group_lists): Likewise.
1105 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1106 (md_assemble): Likewise.
1107 (tc_gen_reloc): Likewise.
1108 (get_upper_str): Likewise.
1109 (aarch64_parse_features): Likewise.
1110 * config/tc-arm.c (insert_reg_alias): Likewise.
1111 (insert_neon_reg_alias): Likewise.
1112 (find_or_make_literal_pool): Likewise.
1113 (s_arm_elf_cons): Likewise.
1114 (add_unwind_opcode): Likewise.
1115 (arm_parse_extension): Likewise.
1116 * config/tc-avr.c (create_record_for_frag): Likewise.
1117 * config/tc-crx.c: Likewise.
1118 * config/tc-d30v.c: Likewise.
1119 * config/tc-dlx.c (s_proc): Likewise.
1120 * config/tc-ft32.c: Likewise.
1121 * config/tc-h8300.c: Likewise.
1122 * config/tc-hppa.c (pa_proc): Likewise.
1123 (create_new_space): Likewise.
1124 (create_new_subspace): Likewise.
1125 * config/tc-i860.c: Likewise.
1126 * config/tc-i960.c: Likewise.
1127 * config/tc-ia64.c: Likewise.
1128 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1129 (iq2000_record_hi16): Likewise.
1130 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1131 * config/tc-m32r.c (debug_sym): Likewise.
1132 (m32r_record_hi16): Likewise.
1133 * config/tc-m68k.c (m68k_ip): Likewise.
1134 (md_begin): Likewise.
1135 * config/tc-mcore.c: Likewise.
1136 * config/tc-microblaze.c (check_got): Likewise.
1137 * config/tc-mips.c (append_insn): Likewise.
1138 (s_mipsset): Likewise.
1139 (mips_record_label): Likewise.
1140 (s_mips_end): Likewise.
1141 * config/tc-mmix.c (mmix_frob_file): Likewise.
1142 * config/tc-mn10200.c: Likewise.
1143 * config/tc-mn10300.c: Likewise.
1144 * config/tc-moxie.c: Likewise.
1145 * config/tc-msp430.c: Likewise.
1146 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1147 * config/tc-ns32k.c: Likewise.
1148 * config/tc-or1k.c: Likewise.
1149 * config/tc-pdp11.c: Likewise.
1150 * config/tc-pj.c (fake_opcode): Likewise.
1151 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1152 (ppc_macro): Likewise.
1153 (ppc_dwsect): Likewise.
1154 (ppc_machine): Likewise.
1155 * config/tc-rl78.c (rl78_frag_init): Likewise.
1156 * config/tc-rx.c (rx_frag_init): Likewise.
1157 * config/tc-s390.c (s390_lit_suffix): Likewise.
1158 (s390_machine): Likewise.
1159 (s390_machinemode): Likewise.
1160 * config/tc-score.c (s3_insert_reg): Likewise.
1161 (s3_gen_reloc): Likewise.
1162 * config/tc-score7.c (s7_insert_reg): Likewise.
1163 (s7_gen_reloc): Likewise.
1164 * config/tc-tic30.c (tic30_operand): Likewise.
1165 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1166 * config/tc-tic54x.c (stag_add_field): Likewise.
1167 (tic54x_struct): Likewise.
1168 (tic54x_space): Likewise.
1169 (tic54x_field): Likewise.
1170 (tic54x_mlib): Likewise.
1171 (subsym_substitute): Likewise.
1172 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1173 * config/tc-vax.c: Likewise.
1174 * config/tc-xc16x.c: Likewise.
1175 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1176 (directive_push): Likewise.
1177 (xtensa_begin_directive): Likewise.
1178 (tokenize_arguments): Likewise.
1179 (xtensa_add_literal_sym): Likewise.
1180 (new_resource_table): Likewise.
1181 (resize_resource_table): Likewise.
1182 (emit_single_op): Likewise.
1183 (xtensa_create_trampoline_frag): Likewise.
1184 (xtensa_maybe_create_literal_pool_frag): Likewise.
1185 (xtensa_add_config_info): Likewise.
1186 (xtensa_realloc_fixup_cache): Likewise.
1187 (add_subseg_info): Likewise.
1188 (cache_literal_section): Likewise.
1189 (add_xt_block_frags): Likewise.
1190 (add_xt_prop_frags): Likewise.
1191 (init_op_placement_info_table): Likewise.
1192 (build_section_rename): Likewise.
1193 * config/tc-z80.c: Likewise.
1194 * config/tc-z8k.c: Likewise.
1195 * depend.c (register_dependency): Likewise.
1196 * dwarf2dbg.c (get_line_subseg): Likewise.
1197 (dwarf2_gen_line_info_1): Likewise.
1198 (get_filenum): Likewise.
1199 * ecoff.c (allocate_scope): Likewise.
1200 (allocate_vlinks): Likewise.
1201 (allocate_shash): Likewise.
1202 (allocate_thash): Likewise.
1203 (allocate_tag): Likewise.
1204 (allocate_forward): Likewise.
1205 (allocate_thead): Likewise.
1206 (allocate_lineno_list): Likewise.
1207 * expr.c (make_expr_symbol): Likewise.
1208 * hash.c (hash_new_sized): Likewise.
1209 * input-file.c (input_file_push): Likewise.
1210 * listing.c (file_info): Likewise.
1211 (listing_newline): Likewise.
1212 * macro.c (new_formal): Likewise.
1213 (define_macro): Likewise.
1214 * remap.c (add_debug_prefix_map): Likewise.
1215 * symbols.c (symbol_find_noref): Likewise.
1216 (define_dollar_label): Likewise.
1217 (fb_label_instance_inc): Likewise.
1218 (symbol_relc_make_value): Likewise.
1219
1220 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1221
1222 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1223 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1224 (ppc_znop): Likewise.
1225 (ppc_pe_section): Likewise.
1226 (ppc_frob_symbol): Likewise.
1227 * config/tc-tic30.c (tic30_operand): Likewise.
1228 * config/tc-tic4x.c (tic4x_sect): Likewise.
1229 (tic4x_usect): Likewise.
1230
1231 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1232
1233 * config/tc-alpha.c: Const qualify FLT_CHARS.
1234 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1235 * config/tc-cris.h: Likewise.
1236 * expr.c: Likewise.
1237 * config/tc-mmix.c (md_atof): Adjust comment.
1238 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1239 * tc.h: Declare FLT_CHARS and EXP_CHARS.
1240
1241 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1242
1243 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1244 * config/tc-score7.c (s7_gen_reloc): Likewise.
1245
1246 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1247
1248 * config/tc-arm.c (do_t_branch): Change the type of reloc to
1249 bfd_reloc_code_real_type.
1250
1251 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1252
1253 * config/bfin-parse.y (current_inputline): Remove definition.
1254 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1255
1256 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1257
1258 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1259 strings.
1260
1261 2016-04-02 Alan Modra <amodra@gmail.com>
1262
1263 PR 19896
1264 * read.c (assign_symbol): Consume rest of line after an error
1265 rather than continuing to process the line.
1266
1267 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1268
1269 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1270 (MAX_FLAG_NAME_LENGTH): ...this.
1271 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1272 * config/tc-arc.c (tokenize_flags): Likewise.
1273
1274 2016-04-01 Alan Modra <amodra@gmail.com>
1275
1276 * cgen.c (weak_operand_overflow_check): Return const char*.
1277 * messages.c (as_internal_value_out_of_range): Formatting.
1278 (as_warn_value_out_of_range): Consify prefix param.
1279 (as_bad_value_out_of_range): Likewise.
1280 * read.c (s_errwarn): Constify msg..
1281 (s_float_space, float_cons): ..and err.
1282 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
1283 ieee_md_atof, vax_md_atof): Update prototypes.
1284 * tc.h (md_atof): Update prototype.
1285 * config/atof-ieee.c (ieee_md_atof): Return const char*.
1286 * config/atof-vax.c (vax_md_atof): Likewise.
1287 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
1288 * config/tc-aarch64.c (md_atof): Return const char*.
1289 * config/tc-alpha.c (s_alpha_section_name): Likewise.
1290 (s_alpha_comm): Constify sec_name.
1291 (section_name): Constify.
1292 (s_alpha_section): Consify name..
1293 (alpha_elf_section_letter): ..and ptr_msg param..
1294 (md_atof): ..and return.
1295 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
1296 * config/tc-arc.c (md_atof): Return const char*.
1297 * config/tc-arm.c (md_atof): Likewise.
1298 * config/tc-avr.c (md_atof): Likewise.
1299 * config/tc-bfin.c (md_atof): Likewise.
1300 * config/tc-cr16.c (md_atof): Likewise.
1301 * config/tc-cris.c (md_atof): Likewise.
1302 * config/tc-crx.c (md_atof): Likewise.
1303 * config/tc-d10v.c (md_atof): Likewise.
1304 * config/tc-d30v.c (md_atof): Likewise.
1305 * config/tc-dlx.c (md_atof): Likewise.
1306 * config/tc-epiphany.c (md_atof): Likewise.
1307 * config/tc-fr30.c (md_atof): Likewise.
1308 * config/tc-frv.c (md_atof): Likewise.
1309 * config/tc-ft32.c (md_atof): Likewise.
1310 * config/tc-h8300.c (md_atof): Likewise.
1311 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
1312 (struct default_space_dict): Likewise.
1313 (create_new_space): Constify name param.
1314 (create_new_subspace): Likewise.
1315 (is_defined_space, is_defined_subspace): Likewise.
1316 (pa_parse_space_stmt): Constify space_name param.
1317 (md_atof): Return const char*.
1318 (pa_spaces_begin): Constify name.
1319 * config/tc-i370.c (md_atof): Return const char*.
1320 * config/tc-i386.c (md_atof): Likewise.
1321 (x86_64_section_letter): Constify ptr_msg param.
1322 * config/tc-i386.h (x86_64_section_letter): Update prototype.
1323 * config/tc-i860.c (struct i860_it): Constify error.
1324 (md_atof): Return const char*.
1325 * config/tc-i960.c (md_atof): Likewise.
1326 * config/tc-ia64.c (md_atof): Likewise.
1327 (ia64_elf_section_letter): Constify ptr_msg param.
1328 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
1329 * config/tc-ip2k.c (md_atof): Return const char*.
1330 * config/tc-iq2000.c (md_atof): Likewise.
1331 * config/tc-lm32.c (md_atof): Likewise.
1332 * config/tc-m32c.c (md_atof): Likewise.
1333 * config/tc-m32r.c (md_atof): Likewise.
1334 * config/tc-m68hc11.c (md_atof): Likewise.
1335 * config/tc-m68k.c (md_atof): Likewise.
1336 * config/tc-mcore.c (md_atof): Likewise.
1337 * config/tc-mep.c (md_atof): Likewise.
1338 (mep_elf_section_letter): Constify ptr_msg param.
1339 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
1340 * config/tc-metag.c (md_atof): Return const char*.
1341 * config/tc-microblaze.c (md_atof): Likewise.
1342 * config/tc-microblaze.h (md_atof): Delete prototype.
1343 * config/tc-mips.c (mips_parse_argument_token): Constify err.
1344 (md_atof): Return const char*.
1345 * config/tc-mmix.c (md_atof): Likewise.
1346 * config/tc-mn10200.c (md_atof): Likewise.
1347 * config/tc-mn10300.c (md_atof): Likewise.
1348 * config/tc-moxie.c (md_atof): Likewise.
1349 * config/tc-msp430.c (md_atof): Likewise.
1350 * config/tc-mt.c (md_atof): Likewise.
1351 * config/tc-nds32.c (md_atof): Likewise.
1352 * config/tc-nios2.c (md_atof): Likewise.
1353 (nios2_elf_section_letter): Constify ptr_msg param.
1354 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
1355 * config/tc-ns32k.c (md_atof): Return const char*.
1356 * config/tc-or1k.c (md_atof): Likewise.
1357 * config/tc-pdp11.c (struct pdp11_code): Constify error.
1358 (md_atof): Return const char*.
1359 * config/tc-pj.c (md_atof): Likewise.
1360 * config/tc-ppc.c (md_atof): Likewise.
1361 * config/tc-rl78.c (md_atof): Likewise.
1362 * config/tc-rx.c (md_atof): Likewise.
1363 * config/tc-s390.c (md_atof): Likewise.
1364 * config/tc-score.c (s3_atof, md_atof): Likewise.
1365 * config/tc-sh.c (md_atof): Likewise.
1366 * config/tc-sparc.c (struct sparc_it): Constify error.
1367 (md_atof): Return const char*.
1368 * config/tc-spu.c (md_atof): Likewise.
1369 * config/tc-tic30.c (md_atof): Likewise.
1370 * config/tc-tic4x.c (md_atof): Likewise.
1371 * config/tc-tic54x.c (md_atof): Likewise.
1372 * config/tc-tic6x.c (md_atof): Likewise.
1373 * config/tc-tilegx.c (md_atof): Likewise.
1374 * config/tc-tilepro.c (md_atof): Likewise.
1375 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
1376 * config/tc-vax.c (md_atof): Likewise.
1377 * config/tc-visium.c (md_atof): Likewise.
1378 * config/tc-xc16x.c (md_atof): Likewise.
1379 * config/tc-xgate.c (md_atof): Likewise.
1380 * config/tc-xstormy16.c (md_atof): Likewise.
1381 * config/tc-xtensa.c (md_atof): Likewise.
1382 * config/tc-z80.c (md_atof): Likewise.
1383 * config/tc-z8k.c (md_atof): Likewise.
1384
1385 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1386
1387 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
1388 const.
1389 (xtensa_section_rename): Make argument type const char *.
1390 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
1391
1392 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1393
1394 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
1395 args[0].
1396
1397 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1398
1399 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
1400 char *.
1401 (m32c_indirect_operand): Likewise.
1402 * config/tc-nds32.c (do_pseudo_b): Likewise.
1403 (do_pseudo_bal): Likewise.
1404 (do_pseudo_ls_bhw): Likewise.
1405
1406 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1407
1408 * as.c (parse_args): Cast literal to char * when assigning to optarg.
1409
1410 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1411
1412 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
1413 get_symbol_name ().
1414 * config/tc-sparc.c (s_register): Cast a literal to char * in
1415 assignment.
1416
1417 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1418
1419 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
1420 input_line_pointer.
1421 * config/tc-m32r.c (expand_debug_syms): Likewise.
1422 * config/tc-msp430.c (msp430_dstoperand): Likewise.
1423 * config/tc-z80.c (md_begin): Likewise.
1424 * stabs.c (stabs_generate_asm_func): Likewise.
1425
1426 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1427
1428 * cgen.c: Modernize the way functions declare arguments.
1429 * config/tc-bfin.c: Likewise.
1430 * config/tc-pdp11.c: Likewise.
1431 * literal.c: Likewise.
1432 * read.c: Likewise.
1433 * stabs.c: Likewise.
1434
1435 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1436
1437 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1438 variables unsigned char[].
1439 * config/tc-alpha.c (alpha_handle_align): Likewise.
1440 * config/tc-arm.c (arm_handle_align): Likewise.
1441 * config/tc-z80.c: Likewise.
1442
1443 2016-03-30 Nick Clifton <nickc@redhat.com>
1444
1445 PR target/19880
1446 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1447 shifting.
1448
1449 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1450
1451 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1452 * testsuite/gas/elf/elf.exp: Likewise.
1453 * testsuite/gas/all/redef3.d: Allow execution for ARC.
1454
1455 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1456
1457 * testsuite/gas/arc/warn.exp: Fix matching pattern.
1458
1459 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
1460
1461 * testsuite/gas/arc/ext2op.d: New file.
1462 * testsuite/gas/arc/ext2op.s: Likewise.
1463 * testsuite/gas/arc/ext3op.d: Likewise.
1464 * testsuite/gas/arc/ext3op.s: Likewise.
1465
1466 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1467
1468 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1469 qualifier.
1470 * config/tc-alpha.c (md_parse_option): Likewise.
1471 * config/tc-arc.c (md_parse_option): Likewise.
1472 * config/tc-arm.c (struct arm_long_option_table): Likewise.
1473 (md_parse_option): Likewise.
1474 * config/tc-avr.c (md_parse_option): Likewise.
1475 * config/tc-bfin.c (md_parse_option): Likewise.
1476 * config/tc-cr16.c (md_parse_option): Likewise.
1477 * config/tc-cris.c (s_cris_arch): Likewise.
1478 (md_parse_option): Likewise.
1479 * config/tc-crx.c (md_parse_option): Likewise.
1480 * config/tc-d10v.c (md_parse_option): Likewise.
1481 * config/tc-d30v.c (md_parse_option): Likewise.
1482 * config/tc-dlx.c (md_parse_option): Likewise.
1483 * config/tc-epiphany.c (md_parse_option): Likewise.
1484 * config/tc-fr30.c (md_parse_option): Likewise.
1485 * config/tc-frv.c (md_parse_option): Likewise.
1486 * config/tc-ft32.c (md_parse_option): Likewise.
1487 * config/tc-h8300.c (md_parse_option): Likewise.
1488 * config/tc-hppa.c (md_parse_option): Likewise.
1489 * config/tc-i370.c (md_parse_option): Likewise.
1490 * config/tc-i386.c (md_parse_option): Likewise.
1491 * config/tc-i860.c (md_parse_option): Likewise.
1492 * config/tc-i960.c (md_parse_option): Likewise.
1493 * config/tc-ia64.c (md_parse_option): Likewise.
1494 * config/tc-ip2k.c (md_parse_option): Likewise.
1495 * config/tc-iq2000.c (md_parse_option): Likewise.
1496 * config/tc-lm32.c (md_parse_option): Likewise.
1497 * config/tc-m32c.c (md_parse_option): Likewise.
1498 * config/tc-m32r.c (md_parse_option): Likewise.
1499 * config/tc-m68hc11.c (md_parse_option): Likewise.
1500 * config/tc-m68k.c (md_parse_option): Likewise.
1501 * config/tc-mcore.c (md_parse_option): Likewise.
1502 * config/tc-mep.c (md_parse_option): Likewise.
1503 * config/tc-metag.c (struct metag_long_option): Likewise.
1504 (md_parse_option): Likewise.
1505 * config/tc-microblaze.c (md_parse_option): Likewise.
1506 * config/tc-microblaze.h (md_parse_option): Remove prototype.
1507 * config/tc-mips.c (md_parse_option): Adjust.
1508 * config/tc-mmix.c (md_parse_option): Likewise.
1509 * config/tc-mn10200.c (md_parse_option): Likewise.
1510 * config/tc-mn10300.c (md_parse_option): Likewise.
1511 * config/tc-moxie.c (md_parse_option): Likewise.
1512 * config/tc-msp430.c (md_parse_option): Likewise.
1513 * config/tc-mt.c (md_parse_option): Likewise.
1514 * config/tc-nds32.c (md_parse_option): Likewise.
1515 * config/tc-nds32.h (nds32_parse_option): Likewise.
1516 * config/tc-nios2.c (md_parse_option): Likewise.
1517 * config/tc-ns32k.c (md_parse_option): Likewise.
1518 * config/tc-or1k.c (md_parse_option): Likewise.
1519 * config/tc-pdp11.c (md_parse_option): Likewise.
1520 * config/tc-pj.c (md_parse_option): Likewise.
1521 * config/tc-ppc.c (md_parse_option): Likewise.
1522 * config/tc-rl78.c (md_parse_option): Likewise.
1523 * config/tc-rx.c (md_parse_option): Likewise.
1524 * config/tc-s390.c (s390_parse_cpu): Likewise.
1525 * config/tc-score.c (md_parse_option): Likewise.
1526 * config/tc-sh.c (md_parse_option): Likewise.
1527 * config/tc-sparc.c (md_parse_option): Likewise.
1528 * config/tc-spu.c (md_parse_option): Likewise.
1529 * config/tc-tic30.c (md_parse_option): Likewise.
1530 * config/tc-tic4x.c (md_parse_option): Likewise.
1531 * config/tc-tic54x.c (md_parse_option): Likewise.
1532 * config/tc-tic6x.c (md_parse_option): Likewise.
1533 * config/tc-tilegx.c (md_parse_option): Likewise.
1534 * config/tc-tilepro.c (md_parse_option): Likewise.
1535 * config/tc-v850.c (md_parse_option): Likewise.
1536 * config/tc-vax.c (md_parse_option): Likewise.
1537 * config/tc-visium.c (struct visium_long_option_table): Likewise.
1538 * config/tc-xc16x.c (md_parse_option): Likewise.
1539 * config/tc-xgate.c (md_parse_option): Likewise.
1540 * config/tc-xstormy16.c (md_parse_option): Likewise.
1541 * config/tc-xtensa.c (md_parse_option): Likewise.
1542 * config/tc-z80.c (md_parse_option): Likewise.
1543 * config/tc-z8k.c (md_parse_option): Likewise.
1544 * tc.h (md_parse_option): Likewise.
1545
1546 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1547
1548 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1549 * config/tc-hppa.c (fix_new_hppa): Likewise.
1550 (pa_vtable_entry): Likewise.
1551 (pa_vtable_inherit): Likewise.
1552 * config/tc-m68k.c (md_begin): Likewise.
1553
1554 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1555
1556 * config/obj-elf.c (obj_elf_section_name): Return const char *.
1557 * config/obj-elf.h (obj_elf_section_name): Adjust.
1558 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1559 (aarch64_parse_cpu): Likewise.
1560 (aarch64_parse_arch): Likewise.
1561 * config/tc-arm.c (arm_parse_extension): Likewise.
1562 (arm_parse_cpu): Likewise.
1563 (arm_parse_arch): Likewise.
1564 * config/tc-nds32.c: Likewise.
1565 * config/xtensa-relax.c (parse_special_fn): Likewise.
1566 * stabs.c (generate_asm_file): Likewise.
1567
1568 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1569
1570 * config/tc-cr16.c (cr16_assemble): New function.
1571 (md_assemble): Call cr16_assemble.
1572
1573 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1574
1575 * as.c (parse_args): Adjust.
1576 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1577 * config/obj-elf.c (elf_frob_symbol): Adjust.
1578
1579 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1580
1581 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1582 registers to be in the 16..31 range.
1583
1584 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1585
1586 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1587 frag_var ().
1588
1589 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1590
1591 * config/tc-visium.c (md_atof): Localize the string returned on
1592 failure.
1593
1594 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1595
1596 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1597 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1598 * config/tc-m68hc11.c (md_begin): Likewise.
1599 (print_opcode_list): Likewise.
1600 * config/tc-msp430.c (msp430_section): Likewise.
1601 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1602 (s3_build_dependency_insn_hsh): Likewise.
1603 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1604 (s7_build_dependency_insn_hsh): Likewise.
1605 * config/tc-tic4x.c: Likewise.
1606 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1607 (subsym_get_arg): Likewise.
1608 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1609 (get_directive): Likewise.
1610 (cache_literal_section): Likewise.
1611 * config/xtensa-relax.c: Likewise.
1612 * symbols.c (symbol_create): Likewise.
1613 (local_symbol_make): Likewise.
1614 (symbol_relc_make_expr): Likewise.
1615
1616 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1617
1618 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1619 str.
1620
1621 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1622
1623 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1624 call with a switch.
1625
1626 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1627
1628 * config/tc-ia64.c (ia64_do_align): Remove.
1629 (ia64_cons_align): Call do_align () directly.
1630 (dot_proc): Likewise.
1631 (stmt_float_cons): Likewise.
1632
1633 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1634
1635 * listing.c (listing_message): Use XNEW style allocation macros.
1636 * read.c (read_a_source_file): Likewise.
1637 (read_symbol_name): Likewise.
1638 (s_mri_common): Likewise.
1639 (assign_symbol): Likewise.
1640 (s_reloc): Likewise.
1641 (emit_expr_with_reloc): Likewise.
1642 (s_incbin): Likewise.
1643 (s_include): Likewise.
1644 * sb.c (sb_build): Likewise.
1645 (sb_check): Likewise.
1646
1647 2016-03-22 Alan Modra <amodra@gmail.com>
1648
1649 * write.c (record_alignment): Revert 2016-02-18 change.
1650
1651 2016-03-22 Alan Modra <amodra@gmail.com>
1652
1653 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1654 (emit_jsrjmp, tc_gen_reloc): Likewise.
1655 * config/tc-i370.c (i370_macro): Likewise.
1656
1657 2016-03-22 Nick Clifton <nickc@redhat.com>
1658
1659 * configure: Regenerate.
1660
1661 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1662
1663 * testsuite/gas/arc/nps400-0.d: New file.
1664 * testsuite/gas/arc/nps400-0.s: New file.
1665 * testsuite/gas/arc/nps400-1.d: New file.
1666 * testsuite/gas/arc/nps400-1.s: New file.
1667
1668 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1669
1670 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1671 declarations to start of block. Reset code on all flags before
1672 attempting to match them. Handle multiple hits on the same flag.
1673 Handle flag class.
1674 * testsuite/gas/arc/asm-errors.d: New file.
1675 * testsuite/gas/arc/asm-errors.err: New file.
1676 * testsuite/gas/arc/asm-errors.s: New file.
1677
1678 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1679
1680 * config/tc-arc.c (cpu_types): Add nps400 entry.
1681 (check_zol): Handle nps400.
1682
1683 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1684
1685 * config/tc-arc.c (arc_select_cpu): Remove use of
1686 EF_ARC_CPU_GENERIC.
1687
1688 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1689
1690 * config/tc-arc.c (arc_target): Delay initialisation until
1691 arc_select_cpu.
1692 (arc_target_name): Likewise.
1693 (arc_features): Likewise.
1694 (arc_mach_type): Likewise.
1695 (cpu_types): Remove "all" entry.
1696 (arc_select_cpu): New function, most of the content is from...
1697 (md_parse_option): ... here. Call new arc_select_cpu.
1698 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1699
1700 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1701
1702 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1703 * testsuite/gas/arc/inline-data-2.d: New file.
1704
1705 2016-03-21 Nick Clifton <nickc@redhat.com>
1706
1707 * atof-generic.c: Replace use of alloca with call to xmalloc.
1708 * cgen.c: Likewise.
1709 * dwarf2dbg.c: Likewise.
1710 * macro.c: Likewise.
1711 * remap.c: Likewise.
1712 * stabs.c: Likewise.
1713 * symbols.c: Likewise.
1714 * config/obj-elf.c: Likewise.
1715 * config/tc-aarch64.c: Likewise.
1716 * config/tc-arc.c: Likewise.
1717 * config/tc-arm.c: Likewise.
1718 * config/tc-avr.c: Likewise.
1719 * config/tc-ia64.c: Likewise.
1720 * config/tc-mips.c: Likewise.
1721 * config/tc-msp430.c: Likewise.
1722 * config/tc-nds32.c: Likewise.
1723 * config/tc-ppc.c: Likewise.
1724 * config/tc-sh.c: Likewise.
1725 * config/tc-tic30.c: Likewise.
1726 * config/tc-tic54x.c: Likewise.
1727 * config/tc-xstormy16.c: Likewise.
1728 * config/te-vms.c: Likewise.
1729 * configure: Regenerate.
1730
1731 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1732
1733 * tc-i386.c (f32_1): Change type to unsigned char[].
1734 (f32_2): Likewise.
1735 (f32_3): Likewise.
1736 (f32_4): Likewise.
1737 (f32_5): Likewise.
1738 (f32_6): Likewise.
1739 (f32_7): Likewise.
1740 (f32_8): Likewise.
1741 (f32_9): Likewise.
1742 (f32_10): Likewise.
1743 (f32_11): Likewise.
1744 (f32_12): Likewise.
1745 (f32_13): Likewise.
1746 (f32_14): Likewise.
1747 (f16_3): Likewise.
1748 (f16_4): Likewise.
1749 (f16_5): Likewise.
1750 (f16_6): Likewise.
1751 (f16_7): Likewise.
1752 (f16_8): Likewise.
1753 (jump_31): Likewise.
1754 (f32_patt): Likewise.
1755 (f16_patt): Likewise.
1756 (alt_3): Likewise.
1757 (alt_4): Likewise.
1758 (alt_5): Likewise.
1759 (alt_6): Likewise.
1760 (alt_7): Likewise.
1761 (alt_8): Likewise.
1762 (alt_9): Likewise.
1763 (alt_10): Likewise.
1764 (alt_patt): Likewise.
1765
1766 2016-03-18 Nick Clifton <nickc@redhat.com>
1767
1768 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1769 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1770 .tlsdescldr and .xword directives.
1771
1772 PR target/19721
1773 * testsuite/gas/aarch64/pr19721.s: New test source file.
1774 * testsuite/gas/aarch64/pr19721.d: New test driver file.
1775
1776 * doc/as.texinfo: Place the target specific command line options
1777 into their own man page section.
1778
1779 2016-03-16 Jiong Wang <jiong.wang@arm.com>
1780
1781 * config/tc-arm.c (N_S_32): New.
1782 (N_F_16_32): Likewise.
1783 (N_SUF_32): Support N_F16.
1784 (N_IF_32): Likewise.
1785 (neon_dyadic_misc): Likewise.
1786 (do_neon_cmp): Likewise.
1787 (do_neon_cmp_inv): Likewise.
1788 (do_neon_mul): Likewise.
1789 (do_neon_fcmp_absolute): Likewise.
1790 (do_neon_step): Likewise.
1791 (do_neon_abs_neg): Likewise.
1792 (CVT_FLAVOR_VAR): Likewise.
1793 (do_neon_cvt_1): Likewise.
1794 (do_neon_recip_est): Likewise.
1795 (do_vmaxnm): Likewise.
1796 (do_vrint_1): Likewise.
1797 (neon_check_type): Check architecture support for FP16 extension.
1798 (insns): Update comments.
1799 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1800 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1801 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1802 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1803 arm mode.
1804 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1805 thumb mode.
1806 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1807 error file.
1808
1809 2016-03-16 Nick Clifton <nickc@redhat.com>
1810
1811 * read.c (emit_expr_with_reloc): Add code check a bignum with
1812 nbytes == 1.
1813 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1814 other than 32-bits.
1815 * testsuite/gas/elf/bignum.s: New test source file.
1816 * testsuite/gas/elf/bignum.d: New test driver file.
1817 * testsuite/gas/elf/elf.exp: Run the new test.
1818
1819 2016-03-15 Ulrich Drepper <drepper@gmail.com>
1820
1821 * doc/c-i386.texi (Register Naming): Update to details of the
1822 latest architecture version.
1823
1824 2016-03-10 Mickael Guene <mickael.guene@st.com>
1825
1826 PR gas/19744
1827 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1828 (do_mov): Likewise.
1829 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1830 (do_t_mov_cmp): Likewise.
1831 (do_t_add_sub): Protect against bad relocations usage.
1832 (do_t_mov_cmp): Likewise.
1833 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1834 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1835 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1836 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
1837
1838 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1839
1840 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1841 do_alignment.
1842 (do_neon_ld_st_lane): Likewise.
1843 (do_neon_ld_dup): Likewise.
1844
1845 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1846
1847 * testsuite/gas/arc/inline-data-1.d: New file.
1848 * testsuite/gas/arc/inline-data-1.s: New file.
1849
1850 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
1851
1852 * config/tc-arm.c (arm_cpus): Add cortex-r8.
1853 * doc/c-arm.texi: Add cortex-r8.
1854
1855 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1856
1857 * config/tc-arc.c: Add const qualifiers.
1858 * config/tc-h8300.c (md_begin): Likewise.
1859 * config/tc-ia64.c (print_prmask): Likewise.
1860 * config/tc-msp430.c (msp430_operands): Likewise.
1861 * config/tc-nds32.c (struct suffix_name): Likewise.
1862 (struct nds32_parse_option_table): Likewise.
1863 (struct nds32_set_option_table): Likewise.
1864 (do_pseudo_pushpopm): Likewise.
1865 (do_pseudo_pushpop_stack): Likewise.
1866 (nds32_relax_relocs): Likewise.
1867 (nds32_flag): Likewise.
1868 (struct nds32_hint_map): Likewise.
1869 (nds32_find_reloc_table): Likewise.
1870 (nds32_match_hint_insn): Likewise.
1871 * config/tc-s390.c: Likewise.
1872 * config/tc-sh.c (get_specific): Likewise.
1873 * config/tc-tic30.c: Likewise.
1874 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
1875 (tic4x_indirect_parse): Likewise.
1876 * config/tc-vax.c (vax_cons): Likewise.
1877 * config/tc-z80.c (struct reg_entry): Likewise.
1878 * config/tc-epiphany.c (md_assemble): Adjust.
1879 (epiphany_assemble): New function.
1880 (epiphany_elf_section_rtn): Call do_align directly.
1881 (epiphany_elf_section_text): Likewise.
1882 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
1883 (ip2k_elf_section_text): Likewise.
1884 * read.c (do_align): Make it not static.
1885 * read.h (do_align): New prototype.
1886
1887 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1888
1889 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
1890 for ARMv8.1 AdvSIMD use.
1891 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
1892 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
1893
1894 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1895
1896 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
1897 feature.
1898 (record_feature_use): New.
1899 (mark_feature_used): Use record_feature_use.
1900 (do_neon_qrdmlah): New.
1901 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
1902 variants.
1903 (arm_extensions): Put into alphabetical order. Re-indent "simd"
1904 and "rdma" entries. Fix the incorrect merge value for "+rdma".
1905 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
1906 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
1907 Make source file explicit.
1908 * testsuite/gas/arm/armv8-a+rdma.l: New.
1909 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
1910 directives. Fix white-space.
1911 * testsuite/gas/arm/armv8_1-a+simd.d: New.
1912
1913 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1914
1915 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
1916
1917 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1918 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1919
1920 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
1921 (tc_arc_fix_adjustable): Changed default return value to 1.
1922 * testsuite/gas/arc/j.d: Updated expected symbol
1923 * testsuite/gas/arc/jl.d: Likewise
1924 * testsuite/gas/arc/relax-avoid1.d: Likewise
1925 * testsuite/gas/arc/st.d: Likewise
1926
1927 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1928
1929 * config/tc-arc.c: Enable code density instructions for ARC EM.
1930
1931 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1932
1933 PR ld/19645
1934 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
1935 for ELF assemblers.
1936 * as.c (flag_use_elf_stt_common): New.
1937 (show_usage): Add --elf-stt-common=.
1938 (option_values): Add OPTION_ELF_STT_COMMON.
1939 (std_longopts): Add --elf-stt-common=.
1940 (parse_args): Handle --elf-stt-common=.
1941 * as.h (flag_use_elf_stt_common): New.
1942 * config.in: Regenerated.
1943 * configure: Likewise.
1944 * configure.ac: Add --enable-elf-stt-common and define
1945 DEFAULT_GENERATE_ELF_STT_COMMON.
1946 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
1947 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
1948 * doc/as.texinfo: Document --elf-stt-common=.
1949 * testsuite/gas/elf/common3.s: New file.
1950 * testsuite/gas/elf/common3a.d: Likewise.
1951 * testsuite/gas/elf/common3b.d: Likewise.
1952 * testsuite/gas/elf/common4.s: Likewise.
1953 * testsuite/gas/elf/common4a.d: Likewise.
1954 * testsuite/gas/elf/common4b.d: Likewise.
1955 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1956 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1957 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
1958 and common4b.
1959 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
1960 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
1961 --elf-stt-common=no to as.
1962 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
1963 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
1964 --elf-stt-common=no to as.
1965 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
1966 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
1967 of dw2-compress-3 and dw2-compressed-3.
1968
1969 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1970
1971 * as.c (select_emulation_mode): Add const qualifiers.
1972 * as.h: Likewise.
1973 * config/bfin-defs.h: Likewise.
1974 * config/bfin-parse.y: Likewise.
1975 * config/rx-parse.y: Likewise.
1976 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
1977 (struct aarch64_cpu_option_table): Likewise.
1978 (struct aarch64_arch_option_table): Likewise.
1979 (struct aarch64_option_cpu_value_table): Likewise.
1980 (struct aarch64_long_option_table): Likewise.
1981 (struct aarch64_option_abi_value_table): Likewise.
1982 * config/tc-arm.c (struct reloc_entry): Likewise.
1983 (tc_gen_reloc): Likewise.
1984 (struct arm_option_table): Likewise.
1985 (struct arm_legacy_option_table): Likewise.
1986 (struct arm_cpu_option_table): Likewise.
1987 (struct arm_arch_option_table): Likewise.
1988 (struct arm_option_extension_value_table): Likewise.
1989 (struct arm_option_fpu_value_table): Likewise.
1990 (struct arm_option_value_table): Likewise.
1991 (struct arm_long_option_table): Likewise.
1992 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
1993 (struct mcu_type_s): Likewise.
1994 (struct exp_mod_s): Likewise.
1995 (avr_operand): Likewise.
1996 (avr_operands): Likewise.
1997 * config/tc-d10v.c (md_begin): Likewise.
1998 * config/tc-dlx.c: Likewise.
1999 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2000 * config/tc-ft32.c (parse_condition): Likewise.
2001 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2002 * config/tc-hppa.c (pa_ip): Likewise.
2003 (hppa_regname_to_dw2regnum): Likewise.
2004 * config/tc-i370.c (i370_elf_suffix): Likewise.
2005 * config/tc-i960.c (struct tabentry): Likewise.
2006 * config/tc-m32r.c: Likewise.
2007 * config/tc-m68k.c: Likewise.
2008 * config/tc-m68k.h: Likewise.
2009 * config/tc-mcore.c (parse_psrmod): Likewise.
2010 * config/tc-metag.c (struct metag_core_option): Likewise.
2011 (struct metag_long_option): Likewise.
2012 * config/tc-microblaze.c: Likewise.
2013 * config/tc-mips.c (macro): Likewise.
2014 * config/tc-mn10200.c: Likewise.
2015 * config/tc-mn10300.c: Likewise.
2016 * config/tc-msp430.c (struct rcodes_s): Likewise.
2017 (struct hcodes_s): Likewise.
2018 (md_parse_option): Likewise.
2019 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2020 (optlist): Likewise.
2021 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2022 (tc_ppc_regname_to_dw2regnum): Likewise.
2023 * config/tc-ppc.h: Likewise.
2024 * config/tc-rl78.c: Likewise.
2025 * config/tc-rx.c (struct cpu_type): Likewise.
2026 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2027 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2028 (sparc_ip): Likewise.
2029 * config/tc-spu.c (insn_fmt_string): Likewise.
2030 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2031 * config/tc-v850.c: Likewise.
2032 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2033 (struct visium_long_option_table): Likewise.
2034 * config/tc-xgate.c: Likewise.
2035 * config/tc-z8k.c: Likewise.
2036 * read.c (add_include_dir): Likewise.
2037 * read.h: Likewise.
2038
2039 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2040
2041 * testsuite/gas/all/gas.exp: Change target pattern to cover
2042 arceb-*.
2043 * testsuite/gas/all/redef3.d: Likewise.
2044 * testsuite/gas/elf/elf.exp: Likewise.
2045
2046 2016-02-24 Renlin Li <renlin.li@arm.com>
2047
2048 * config/tc-arm.c (BAD_FP16): New error message macro.
2049 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2050 fp16 scalar instructions.
2051 (neon_check_type): Allow different size from key.
2052 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2053 (try_vfp_nsyn): Likewise.
2054 (do_vfp_nsyn_mla_mls): Likewise.
2055 (do_vfp_nsyn_fma_fms): Likewise.
2056 (do_vfp_nsyn_ldm_stm): Likewise
2057 (do_vfp_nsyn_sqrt): Likewise
2058 (do_vfp_nsyn_div): Likewise
2059 (do_vfp_nsyn_nmul): Likewise.
2060 (do_vfp_nsyn_cmp): Likewise.
2061 (do_neon_shll): Likewise.
2062 (do_vfp_nsyn_cvt_fpv8): Likewise.
2063 (do_neon_cvttb_2): Likewise.
2064 (do_neon_mov): Likewise.
2065 (do_neon_rshift_round_imm): Likewise.
2066 (do_neon_ldr_str): Likewise.
2067 (do_vfp_nsyn_fpv8): Likewise.
2068 (do_vmaxnm): Likewise.
2069 (do_vrint_1): Likewise.
2070 (insns): New entry for vins, vmovx.
2071 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2072 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2073 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2074 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2075 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2076 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2077 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2078
2079 2016-02-24 Renlin Li <renlin.li@arm.com>
2080
2081 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2082 (neon_shape_class): New SC_HALF.
2083 (neon_shape_el): New SE_H.
2084 (neon_shape_el_size): New size for SE_H.
2085 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2086 (neon_select_shape): Add SE_H support code.
2087 (el_type_of_type_chk): Use N_F_ALL.
2088 (do_vfp_nsyn_cvt): Add SE_H shape support.
2089 (do_neon_cvtz): Likewise.
2090 (do_neon_cvt_1): Likewise.
2091 (do_neon_cvttb_1): Likewise.
2092
2093 2016-02-24 Renlin Li <renlin.li@arm.com>
2094
2095 * testsuite/gas/arm/copro.d: Adjust output.
2096 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2097
2098 2016-02-24 Renlin Li <renlin.li@arm.com>
2099
2100 * testsuite/gas/arm/mask_1.d: New.
2101 * testsuite/gas/arm/mask_1.s: New.
2102
2103 2016-02-24 Renlin Li <renlin.li@arm.com>
2104
2105 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2106 * testsuite/gas/arm/copro.d: Update.
2107
2108 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2109
2110 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2111 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2112
2113 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2114
2115 * doc/c-arm.texi (ARM Options): Document cortex-a17.
2116
2117 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2118
2119 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2120 hpux.
2121
2122 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2123
2124 * output-file.c (output_file_create): Make file name argument const.
2125 (output_file_close): Likewise.
2126 * output-file.h (output_file_create): Adjust.
2127 (output_file_close): Likewise.
2128 * depend.c (quote_string_for_make): Make src argument const char *.
2129 (register_dependency): Likewise.
2130 (wrap_output): Likewise.
2131 * as.h (register_dependency): Adjust.
2132 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2133 as_where ();
2134 * symbols.c (S_SET_EXTERNAL): Likewise.
2135 * input-scrub.c (as_where): Return the file name.
2136 * as.h (as_where): Adjust prototype.
2137 * app.c (do_scrub_chars): Adjust.
2138 * cond.c (s_elseif): Likewise.
2139 (s_else): Likewise.
2140 (initialize_cframe): Likewise.
2141 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2142 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2143 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2144 * config/tc-aarch64.c (output_info): Likewise.
2145 * config/tc-ia64.c (md_assemble): Likewise.
2146 (dot_alias): Likewise.
2147 * config/tc-m68k.c (m68k_frob_label): Likewise.
2148 * config/tc-mmix.c (s_bspec): Likewise.
2149 (mmix_handle_mmixal): Likewise.
2150 * config/tc-rx.c (rx_include): Likewise.
2151 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2152 (tic54x_adjust_symtab): Likewise.
2153 * config/tc-xtensa.c (directive_push): Likewise.
2154 (xtensa_sanity_check): Likewise.
2155 (xtensa_relax_frag): Likewise.
2156 (md_convert_frag): Likewise.
2157 (tinsn_to_slotbuf): Likewise.
2158 * dwarf2dbg.c (dwarf2_where): Likewise.
2159 * ecoff.c (add_file): Likewise.
2160 (ecoff_generate_asm_lineno): Likewise.
2161 * expr.c (make_expr_symbol): Likewise.
2162 * frags.c (frag_new): Likewise.
2163 (frag_var_init): Likewise.
2164 * listing.c (listing_newline): Likewise.
2165 * messages.c (identify): Likewise.
2166 (as_show_where): Likewise.
2167 (as_warn_internal): Likewise.
2168 (as_bad_internal): Likewise.
2169 * read.c (s_irp): Likewise.
2170 (s_macro): Likewise.
2171 (s_reloc): Likewise.
2172 * stabs.c (stabs_generate_asm_file): Likewise.
2173 (stabs_generate_asm_lineno): Likewise.
2174 (stabs_generate_asm_func): Likewise.
2175 * write.c (fix_new_internal): Likewise.
2176 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2177 (as_warn_value_out_of_range): Adjust prototype.
2178 (as_bad_value_out_of_range): Adjust prototype.
2179 * messages.c (identify): Make file name argument const char *.
2180 (as_warn_internal): Likewise.
2181 (as_warn_where): Likewise.
2182 (as_bad_internal): Likewise.
2183 (as_bad_where): Likewise.
2184 (as_internal_value_out_of_range): Likewise.
2185 (as_warn_value_out_of_range): Likewise.
2186 (as_bad_value_out_of_range): Likewise.
2187 * as.h (found_comment_file): Change type to const char *.
2188 * cond.c (file_line::file): Likewise.
2189 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2190 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2191 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2192 * config/tc-aarch64.c (output_info): Likewise.
2193 * config/tc-alpha.c (insert_operand): Likewise.
2194 * config/tc-arc.c (insert_operand): Likewise.
2195 * config/tc-d30v.c (check_size): Likewise.
2196 * config/tc-ia64.c (struct alias): Likewise.
2197 * config/tc-m68k.c (struct label_line): Likewise.
2198 * config/tc-mcore.c (md_apply_fix): Likewise.
2199 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2200 * config/tc-mips.c (mips16_immed): Likewise.
2201 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2202 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2203 * config/tc-rx.c (rx_include): Likewise.
2204 * config/tc-s390.c (s390_insert_operand): Likewise.
2205 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2206 (tic54x_adjust_symtab): Likewise.
2207 * config/tc-tilegx.c (insert_operand): Likewise.
2208 (apply_special_operator): Likewise.
2209 * config/tc-tilepro.c (insert_operand): Likewise.
2210 * config/tc-xtensa.c (directive_push): Likewise.
2211 * ecoff.c (add_file): Likewise.
2212 (ecoff_generate_asm_lineno): Likewise.
2213 * listing.c (listing_newline): Likewise.
2214 * read.c (s_irp): Likewise.
2215 * write.c (install_reloc): Likewise.
2216 * write.h (struct fix): Likewise.
2217 * input-file.c (file_name): Change type to const char *.
2218 (saved_file::file_name): Likewise.
2219 (input_file_open): Change type of argument to const char *.
2220 * input-file.h (input_file_open): Adjust.
2221 * input-scrub.c (logical_input_file): change type to const char *.
2222 (physical_input_file): Likewise.
2223 (struct input_save): Adjust.
2224 (input_scrub_push): Adjust.
2225 (input_scrub_begin): Adjust.
2226 (as_where): Adjust.
2227 * input-scrub.c (input_scrub_new_file): Make file name argument const.
2228 (input_scrub_include_file): Likewise.
2229 (new_logical_line_flags): Likewise.
2230 (new_logical_line): Likewise.
2231 * as.h: Adjust.
2232 * frags.h (struct frag): Change type of fr_file to const char *.
2233 * expr.c (expr_symbol_where): Change type of file argument to
2234 const char **.
2235 * expr.h (expr_symbol_where): Likewise.
2236 * config/tc-i370.c (md_apply_fix): adjust.
2237 * config/tc-mmix.c (mmix_md_end): Likewise.
2238 * config/tc-ppc.c (md_apply_fix): Likewise.
2239 * config/tc-s390.c (md_apply_fix): Likewise.
2240 * symbols.c (report_op_error): Likewise.
2241 (resolve_symbol_value): Likewise.
2242 * config/tc-ia64.c (slot::src_file): Change type to const char *.
2243 (rsrc::file): Likewise.
2244 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2245 const char *.
2246 (xtensa_relax_frag): Likewise.
2247 (md_convert_frag): Likewise.
2248 (tinsn_to_slotbuf): Likewise.
2249 * expr.c (expr_symbol_line): Likewise.
2250 * macro.c (define_macro): Likewise.
2251 * macro.h (macro_struct): Likewise.
2252 * messages.c (as_show_where): Likewise.
2253 * read.c (s_macro): Likewise.
2254 * stabs.c (stabs_generate_asm_file): Likewise.
2255 (generate_asm_file): Likewise.
2256 (stabs_generate_asm_lineno): Likewise.
2257 * write.h (struct reloc_list): Likewise.
2258 * input-scrub.c (as_where): Change return type to const char *.
2259 * as.h (as_wheree): Adjust.
2260
2261 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
2262
2263 * write.c (compress_debug): Move BFD compression bits setting
2264 to ...
2265 (write_object_file): Here.
2266
2267 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2268
2269 * config/tc-i386.c (register_number): Check RegVRex.
2270 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2271 with %zmm19 and %zmm3.
2272 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2273 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2274
2275 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2276 Jiong Wang <jiong.wang@arm.com>
2277
2278 * config/tc-arm.c (arm_ext_fp16): New.
2279 (arm_extensions): New entry for "fp16".
2280
2281 2016-02-19 Nick Clifton <nickc@redhat.com>
2282
2283 PR 19630
2284 * read.c (read_a_source_file): Check for assemble_one returning
2285 with input_line_pointer set to NULL.
2286
2287 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2288
2289 * listing.c (rebuffer_line): Change return type to void.
2290
2291 * symbols.c (decode_local_label_name): Make type a const char *.
2292 * listing.c (print_source): Make type of p const char *.
2293 (print_line): Make type of string const char *.
2294 (buffer_line): Return const char *.
2295 (title): Make type const char *.
2296 (subtitle): Likewise.
2297 (listing_listing): Make type of p const char *.
2298 * messages.c (as_internal_value_out_of_range): Make type of prefix
2299 const char *.
2300 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
2301 and string const char *.
2302 * read.c (_bfd_rel): Make type of name const char *.
2303 * app.c (out_string): Change type to const char *.
2304 (struct app_save::out_string): Likewise.
2305
2306 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
2307 Nick Clifton <nickc@redhat.com>
2308
2309 * read.c (finish_bundle): Avoid recording a negative alignment.
2310 (do_align): Use unsigned values for n, len and max. Only create
2311 a frag if the alignment requirement is greater than the minimum
2312 byte alignment. Avoid recording a negative alignment.
2313 (s_align): Use unsigned values where appropriate.
2314 (bss_alloc): Use an unsigned value for the alignment.
2315 (sizeof_sleb128): Add a comment noting that we encode one octet
2316 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
2317 (emit_leb129_expr): Abort if the emitted encoding was longer than
2318 expected.
2319 * read.h (output_leb128): Update prototype.
2320 (sizeof_leb128): Update prototype.
2321 (bss_alloc): Update prototype.
2322 * write.c (record_alignment): Use an unsigned value for the
2323 alignment. Do not record alignments less than the minimum
2324 alignment for a byte.
2325 * write.h (record_alignment): Update prototype.
2326
2327 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2328
2329 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
2330 .init.literal/.fini.literal section name.
2331 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
2332 list of xtensa tests.
2333 * testsuite/gas/xtensa/init-fini-literals.d: New file:
2334 init-fini-literals test result patterns.
2335 * testsuite/gas/xtensa/init-fini-literals.s: New file:
2336 init-fini-literals test.
2337
2338 2016-02-17 Nick Clifton <nickc@redhat.com>
2339
2340 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
2341 devices.csv file as of March 2016.
2342
2343 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
2344
2345 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
2346 function.
2347 (tc_arc_regname_to_dw2regnum): Likewise.
2348 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
2349 (tc_cfi_frame_initial_instructions): Likewise.
2350 (tc_regname_to_dw2regnum): Likewise.
2351 * testsuite/gas/cfi/cfi-arc-1.d: New file.
2352 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
2353 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
2354
2355 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
2356
2357 * doc/internals.texi (S_IS_EXTERN): Remove.
2358
2359 2016-02-16 Nick Clifton <nickc@redhat.com>
2360
2361 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
2362 update.
2363
2364 2016-02-16 Renlin Li <renlin.li@arm.com>
2365
2366 PR gas/19620
2367 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
2368 * testsuite/gas/aarch64/movw_label.d: New.
2369 * testsuite/gas/aarch64/movw_label.s: New.
2370
2371 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
2372
2373 PR gas/19556
2374 * config/rx-parse.y (MOV): Opcode generation for index
2375 register addressing mode.
2376 * testsuite/gas/rx/rx.exp: Updated for new testcase.
2377 * testsuite/gas/rx/pr19665.s: New file.
2378 * testsuite/gas/rx/pr19665.s: New file.
2379 * testsuite/gas/rx/mov.d: Update expected output.
2380
2381 2016-02-15 Nick Clifton <nickc@redhat.com>
2382
2383 * doc/as.texinfo (.section): Document that numeric values can now
2384 be used for the flags and type fields of the ELF target's .section
2385 directive. Add notes about the restrictions on setting flags and
2386 types.
2387 * config/obj-elf.c (obj_elf_change_section): Allow known sections
2388 to be given processor specific section types. Allow processor and
2389 application specific flags of a section to be set after
2390 definition.
2391 (obj_elf_parse_section_letters): Handle parsing numeric values.
2392 (obj_elf_section_type): Handle parsing numeric values.
2393 (obj_elf_section): Allow numeric type values.
2394 * config/obj-elf.h (obj_elf_change_section): Update prototype.
2395 * testsuite/gas/elf/section10.d: New test.
2396 * testsuite/gas/elf/section10.s: Source file for new test.
2397 * testsuite/gas/elf/elf.exp: Run the new test.
2398 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
2399 the description of the flags produced by readelf.
2400 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
2401 * NEWS: Mention the new feature.
2402
2403 2016-02-11 Nick Clifton <nickc@redhat.com>
2404
2405 PR gas/19614
2406 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
2407 until it is actually used.
2408 (cfi_set_sections): Set cfi_sections_set to true.
2409 (dot_cfi_startproc): Likewise.
2410 (dot_cfi_endproc): Likewise.
2411 (dot_cfi_fde_data): Likewise.
2412 (cfi_finish): Likewise.
2413 (dot_cfi_sections): Do not set cfi_sections_set.
2414 * doc/as.texinfo (.cfi_sections): Note that targets can provide
2415 their own cfi section name. Also note that the directive can be
2416 reissued provided that CFI generation has not started.
2417 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
2418 .cfi_endproc directives so that the redefinition of .cfi_sections
2419 will trigger the generation of the error message.
2420 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
2421 number of error message.
2422
2423 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
2424 Janek van Oirschot <jvanoirs@synopsys.com>
2425
2426 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2427 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2428 Define.
2429 (arc_flags, arc_relax_type): New structure.
2430 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2431 (RELAX_TABLE_ENTRY_MAX): New define.
2432 (relaxation_state, md_relax_table, arc_relaxable_insns)
2433 (arc_num_relaxable_ins): New variable.
2434 (rlx_operand_type, arc_rlx_types): New enums.
2435 (arc_relaxable_ins): New structure.
2436 (OPTION_RELAX): New option.
2437 (arc_insn): New relax member.
2438 (arc_flags): Remove.
2439 (relax_insn_p): New function.
2440 (apply_fixups): Likewise.
2441 (relaxable_operand): Likewise.
2442 (may_relax_expr): Likewise.
2443 (relaxable_flag): Likewise.
2444 (arc_pcrel_adjust): Likewise.
2445 (md_estimate_size_before_relax): Implement.
2446 (md_convert_frag): Likewise.
2447 (md_parse_option): Handle new mrelax option.
2448 (md_show_usage): Likewise.
2449 (assemble_insn): Set relax member.
2450 (emit_insn0): New function.
2451 (emit_insn1): Likewise.
2452 (emit_insn): Handle relaxation case.
2453 * NEWS: Mention the new relaxation option.
2454 * doc/c-arc.texi (ARC Options): Document new mrelax option.
2455 * doc/as.texinfo (Target ARC Options): Likewise.
2456 * testsuite/gas/arc/relax-avoid1.d: New file.
2457 * testsuite/gas/arc/relax-avoid1.s: Likewise.
2458 * testsuite/gas/arc/relax-avoid2.d: Likewise.
2459 * testsuite/gas/arc/relax-avoid2.s: Likewise.
2460 * testsuite/gas/arc/relax-avoid3.d: Likewise.
2461 * testsuite/gas/arc/relax-avoid3.s: Likewise.
2462 * testsuite/gas/arc/relax-b.d: Likewise.
2463 * testsuite/gas/arc/relax-b.s: Likewise.
2464
2465 2016-02-08 Nick Clifton <nickc@redhat.com>
2466
2467 * config/tc-ia64.c (dot_prologue): Fix formatting.
2468
2469 2016-02-04 Nick Clifton <nickc@redhat.com>
2470
2471 * config/obj-elf.c (obj_elf_change_section): Remove support for
2472 ARM NOREAD sections.
2473 * config/tc-arm.c (arm_elf_section_letter): Delete.
2474 * config/tc-arm.h (md_elf_section_letter): Delete.
2475 * doc/c-arm.texi (ARM Section Attribute): Delete section.
2476 * testsuite/gas/arm/section-execute-only.d: Delete.
2477 * testsuite/gas/arm/section-execute-only.s: Delete.
2478
2479 2016-02-04 Nick Clifton <nickc@redhat.com>
2480
2481 PR target/19561
2482 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2483 to handle encoding of RRUX instruction.
2484 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2485 shift instructions.
2486 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2487
2488 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2489
2490 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2491 substitutions for BFD_RELOC_* as unsigned.
2492 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2493 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2494 * testsuite/gas/xtensa/loc.s: New file: loc test.
2495
2496 2016-02-03 Kevin Buettner <kevinb@redhat.com>
2497
2498 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
2499
2500 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2501
2502 PR gas/19520
2503 * NEWS: Mention new command line option -mrelax-relocations and
2504 new configure option --enable-x86-relax-relocations for x86
2505 target.
2506 * config.in: Regenerated.
2507 * configure.ac: Add --enable-x86-relax-relocations.
2508 (ac_default_x86_relax_relocations): New. Default to 1 except
2509 for x86 Solaris targets older than Solaris 12.
2510 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2511 * configure: Likewise.
2512 * config/tc-i386.c (generate_relax_relocations): New.
2513 (OPTION_MRELAX_RELOCATIONS): Likewise.
2514 (output_disp): Don't generate relax relocations if
2515 generate_relax_relocations is 0.
2516 (md_longopts): Add -mrelax-relocations.
2517 (md_show_usage): Likewise.
2518 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2519 * doc/c-i386.texi: Document -mrelax-relocations=.
2520 * testsuite/gas/i386/got-no-relax.d: New file.
2521 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2522 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2523 * testsuite/gas/i386/localpic.d: Likewise.
2524 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2525 * testsuite/gas/i386/reloc32.d: Likewise.
2526 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2527 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2528 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2529 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2530 * testsuite/gas/i386/i386.exp: Run got-no-relax and
2531 x86-64-gotpcrel-no-relax.
2532
2533 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2534
2535 * NEWS: Mention new command line option -mfence-as-lock-add=yes
2536 for x86 target.
2537
2538 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2539
2540 * NEWS: Remove duplicated marker for 2.26.
2541
2542 2016-02-02 Renlin Li <renlin.li@arm.com>
2543
2544 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2545
2546 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2547
2548 * testsuite/gas/ip2k/allinsn.d: New file.
2549 * testsuite/gas/ip2k/allinsn.s: New file.
2550 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2551
2552 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2553
2554 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2555 some load instructions.
2556 * testsuite/gas/epiphany/allinsn.d: Likewise.
2557 * testsuite/gas/epiphany/regression.d: Likewise.
2558
2559 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2560
2561 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2562 suffixes from instruction mnemonics in expected output.
2563 * testsuite/gas/epiphany/allinsn.d: Likewise.
2564 * testsuite/gas/epiphany/regression.d: Likewise.
2565 * testsuite/gas/epiphany/sample.d: Likewise.
2566
2567 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2568
2569 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2570 names.
2571 * testsuite/gas/epiphany/allinsn.d: Likewise.
2572 * testsuite/gas/epiphany/sample.d: Likewise.
2573
2574 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2575
2576 * testsuite/gas/epiphany/sample.d: Update expected output.
2577
2578 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2579
2580 * config/tc-arc.c (md_apply_fix): Allow addendum.
2581 (arc_reloc_op): Allow complex expressions for tpoff.
2582 (md_apply_fix): Handle resolved TLS local symbol.
2583 * testsuite/gas/arc/tls-relocs1.d: New file.
2584 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2585
2586 2016-02-01 Loria <Loria@phantasia.org>
2587
2588 PR target/19311
2589 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2590 efficiency and avoid an LLVM loop optimization bug.
2591
2592 2016-02-01 Nick Clifton <nickc@redhat.com>
2593
2594 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2595 message extending a negative 32-bit value into a larger signed
2596 value on a 32-bit host.
2597
2598 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2599
2600 PR gas/19532
2601 * configure.ac (compressed_debug_sections): Replace == with =.
2602 * configure: Regenerated.
2603
2604 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2605 H.J. Lu <hongjiu.lu@intel.com>
2606
2607 * config/tc-i386.c (avoid_fence): New.
2608 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2609 is true.
2610 (OPTION_FENCE_AS_LOCK_ADD): New.
2611 (md_longopts): Add -mfence-as-lock-add.
2612 (md_parse_option): Handle -mfence-as-lock-add.
2613 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2614 * doc/c-i386.texi (-mfence-as-lock-add): Document.
2615 * testsuite/gas/i386/i386.exp: Run new tests.
2616 * testsuite/gas/i386/fence-as-lock-add.s: New.
2617 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2618 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2619 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2620 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2621
2622 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2623
2624 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2625 * configure: Regenerated.
2626
2627 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2628
2629 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2630 (OPTION_MOMIT_LOCK_PREFIX): This.
2631 (md_longopts): Updated.
2632 (md_parse_option): Likewise.
2633
2634 2016-01-25 Catherine Moore <clm@codesourcery.com>
2635
2636 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2637 if abicalls are in effect.
2638 * testsuite/gas/mips/sdata-gp.s: New test.
2639 * testsuite/gas/mips/sdata-gp.d: New expected output
2640 * testsuite/gas/mips/mips.exp: Run new test.
2641
2642 2016-01-25 Renlin Li <renlin.li@arm.com>
2643
2644 * testsuite/gas/arm/thumb2_it_search.d: New.
2645 * testsuite/gas/arm/thumb2_it_search.s: New.
2646
2647 2016-01-21 Nick Clifton <nickc@redhat.com>
2648
2649 PR gas/19454
2650 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2651 with arm-netbsdelf target.
2652 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2653
2654 2016-01-20 Nick Clifton <nickc@redhat.com>
2655
2656 PR 19456
2657 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2658 * testsuite/gas/arm/blx-bl-convert.d
2659 * testsuite/gas/arm/plt-1.d: Likewise.
2660 * testsuite/gas/arm/reloc-bad.d: Likewise.
2661 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2662 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2663 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2664 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2665
2666 PR 19499
2667 * doc/as.texinfo (Errors): Correct documentation describing the
2668 interaction of .file and .line with warning and error messages.
2669
2670 PR 19458
2671 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2672 * testsuite/gas/arm/archv8m-main.d: Likewise.
2673 * testsuite/gas/arm/archv8m-base.d: Likewise.
2674
2675 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2676
2677 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2678 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2679 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2680
2681 2016-01-20 Mickael Guene <mickael.guene@st.com>
2682 Terry Guo <terry.guo@arm.com>
2683
2684 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2685 SHF_ARM_NOREAD section flag.
2686 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2687 handle letter 'y'.
2688 (arm_elf_section_letter) : Declare it.
2689 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2690 SHF_ARM_NOREAD section flag.
2691 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2692
2693 * testsuite/gas/arm/section-execute-only.s: New test case.
2694 * testsuite/gas/arm/section-execute-only.d: Expected output.
2695
2696 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2697
2698 * config/tc-mips.c (micromips_insn_length): Remove the mention
2699 of 48-bit microMIPS instructions.
2700
2701 2016-01-18 Alan Modra <amodra@gmail.com>
2702
2703 * configure: Regenerate.
2704
2705 2016-01-17 Alan Modra <amodra@gmail.com>
2706
2707 * configure: Regenerate.
2708
2709 2016-01-17 Alan Modra <amodra@gmail.com>
2710
2711 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2712
2713 2016-01-14 Nick Clifton <nickc@redhat.com>
2714
2715 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2716 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2717 * testsuite/gas/rl78/rl78.exp: Run the new test.
2718
2719 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2720
2721 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2722 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2723
2724 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2725
2726 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2727
2728 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2729
2730 * config/tc-h8300.c (get_operand): Remove spurious condition in
2731 test for closing parenthesis.
2732
2733 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
2734
2735 * config/tc-arm.c (arm_ext_v8_2): New.
2736 (insns): Add "esb".
2737 * testsuite/gas/arm/armv8_2-a.d: New.
2738 * testsuite/gas/arm/armv8_2-a.s: New.
2739
2740 2016-01-12 Alan Modra <amodra@gmail.com>
2741
2742 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2743
2744 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
2745
2746 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2747 xvcmpnesp, xvcmpnesp.>: Delete tests.
2748 * testsuite/gas/ppc/power9.s: Likewise.
2749 * testsuite/gas/ppc/vsx3.d: Likewise.
2750 * testsuite/gas/ppc/vsx3.s: Likewise.
2751
2752 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
2753
2754 PR gas/13050
2755 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2756 * testsuite/gas/m68k/p13050-1.s: New file.
2757 * testsuite/gas/m68k/p13050-2.d: New file.
2758 * testsuite/gas/m68k/p13050-2.s: New file.
2759
2760 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2761
2762 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2763 * testsuite/gas/arc/add.d: Likewise.
2764 * testsuite/gas/arc/and.d: Likewise.
2765 * testsuite/gas/arc/asl.d: Likewise.
2766 * testsuite/gas/arc/asr.d: Likewise.
2767 * testsuite/gas/arc/bic.d: Likewise.
2768 * testsuite/gas/arc/extb.d: Likewise.
2769 * testsuite/gas/arc/extw.d: Likewise.
2770 * testsuite/gas/arc/j.d: Likewise.
2771 * testsuite/gas/arc/jl.d: Likewise.
2772 * testsuite/gas/arc/ld2.d: Likewise.
2773 * testsuite/gas/arc/lsr.d: Likewise.
2774 * testsuite/gas/arc/mov.d: Likewise.
2775 * testsuite/gas/arc/or.d: Likewise.
2776 * testsuite/gas/arc/pcl-relocs.d: Likewise.
2777 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2778 * testsuite/gas/arc/pic-relocs.d: Likewise.
2779 * testsuite/gas/arc/plt-relocs.d: Likewise.
2780 * testsuite/gas/arc/rlc.d: Likewise.
2781 * testsuite/gas/arc/ror.d: Likewise.
2782 * testsuite/gas/arc/rrc.d: Likewise.
2783 * testsuite/gas/arc/sbc.d: Likewise.
2784 * testsuite/gas/arc/sda-relocs.d: Likewise.
2785 * testsuite/gas/arc/sda-relocs2.d: Likewise.
2786 * testsuite/gas/arc/sexb.d: Likewise.
2787 * testsuite/gas/arc/sexw.d: Likewise.
2788 * testsuite/gas/arc/st.d: Likewise.
2789 * testsuite/gas/arc/sub.d: Likewise.
2790 * testsuite/gas/arc/tls-relocs.d: Likewise.
2791 * testsuite/gas/arc/xor.d: Likewise.
2792
2793 2016-01-01 Alan Modra <amodra@gmail.com>
2794
2795 Update year range in copyright notice of all files.
2796
2797 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2798 \f
2799 Copyright (C) 2016 Free Software Foundation, Inc.
2800
2801 Copying and distribution of this file, with or without modification,
2802 are permitted in any medium without royalty provided the copyright
2803 notice and this notice are preserved.
2804
2805 Local Variables:
2806 mode: change-log
2807 left-margin: 8
2808 fill-column: 74
2809 version-control: never
2810 End:
This page took 0.089776 seconds and 4 git commands to generate.