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