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