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