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