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