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