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