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