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