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