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