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