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