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