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