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