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